Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.firewall.getInternetservicedefinition
Explore with Pulumi AI
Use this data source to get information on an fortios firewall internetservicedefinition
Using getInternetservicedefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInternetservicedefinition(args: GetInternetservicedefinitionArgs, opts?: InvokeOptions): Promise<GetInternetservicedefinitionResult>
function getInternetservicedefinitionOutput(args: GetInternetservicedefinitionOutputArgs, opts?: InvokeOptions): Output<GetInternetservicedefinitionResult>
def get_internetservicedefinition(fosid: Optional[int] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInternetservicedefinitionResult
def get_internetservicedefinition_output(fosid: Optional[pulumi.Input[int]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInternetservicedefinitionResult]
func LookupInternetservicedefinition(ctx *Context, args *LookupInternetservicedefinitionArgs, opts ...InvokeOption) (*LookupInternetservicedefinitionResult, error)
func LookupInternetservicedefinitionOutput(ctx *Context, args *LookupInternetservicedefinitionOutputArgs, opts ...InvokeOption) LookupInternetservicedefinitionResultOutput
> Note: This function is named LookupInternetservicedefinition
in the Go SDK.
public static class GetInternetservicedefinition
{
public static Task<GetInternetservicedefinitionResult> InvokeAsync(GetInternetservicedefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetInternetservicedefinitionResult> Invoke(GetInternetservicedefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInternetservicedefinitionResult> getInternetservicedefinition(GetInternetservicedefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:firewall/getInternetservicedefinition:getInternetservicedefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Fosid int
- Specify the fosid of the desired firewall internetservicedefinition.
- Vdomparam string
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Fosid int
- Specify the fosid of the desired firewall internetservicedefinition.
- Vdomparam string
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid Integer
- Specify the fosid of the desired firewall internetservicedefinition.
- vdomparam String
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid number
- Specify the fosid of the desired firewall internetservicedefinition.
- vdomparam string
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid int
- Specify the fosid of the desired firewall internetservicedefinition.
- vdomparam str
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid Number
- Specify the fosid of the desired firewall internetservicedefinition.
- vdomparam String
- Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
getInternetservicedefinition Result
The following output properties are available:
- Entries
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Internetservicedefinition Entry> - Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - Fosid int
- Internet Service application list ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vdomparam string
- Entries
[]Get
Internetservicedefinition Entry - Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - Fosid int
- Internet Service application list ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vdomparam string
- entries
List<Get
Internetservicedefinition Entry> - Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - fosid Integer
- Internet Service application list ID.
- id String
- The provider-assigned unique ID for this managed resource.
- vdomparam String
- entries
Get
Internetservicedefinition Entry[] - Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - fosid number
- Internet Service application list ID.
- id string
- The provider-assigned unique ID for this managed resource.
- vdomparam string
- entries
Sequence[Get
Internetservicedefinition Entry] - Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - fosid int
- Internet Service application list ID.
- id str
- The provider-assigned unique ID for this managed resource.
- vdomparam str
- entries List<Property Map>
- Protocol and port information in an Internet Service entry. The structure of
entry
block is documented below. - fosid Number
- Internet Service application list ID.
- id String
- The provider-assigned unique ID for this managed resource.
- vdomparam String
Supporting Types
GetInternetservicedefinitionEntry
- Category
Id int - Internet Service category ID.
- Name string
- Internet Service name.
- Port int
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- Port
Ranges List<Pulumiverse.Fortios. Firewall. Inputs. Get Internetservicedefinition Entry Port Range> - Port ranges in the definition entry. The structure of
port_range
block is documented below. - Protocol int
- Integer value for the protocol type as defined by IANA (0 - 255).
- Seq
Num int - Entry sequence number.
- Category
Id int - Internet Service category ID.
- Name string
- Internet Service name.
- Port int
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- Port
Ranges []GetInternetservicedefinition Entry Port Range - Port ranges in the definition entry. The structure of
port_range
block is documented below. - Protocol int
- Integer value for the protocol type as defined by IANA (0 - 255).
- Seq
Num int - Entry sequence number.
- category
Id Integer - Internet Service category ID.
- name String
- Internet Service name.
- port Integer
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- port
Ranges List<GetInternetservicedefinition Entry Port Range> - Port ranges in the definition entry. The structure of
port_range
block is documented below. - protocol Integer
- Integer value for the protocol type as defined by IANA (0 - 255).
- seq
Num Integer - Entry sequence number.
- category
Id number - Internet Service category ID.
- name string
- Internet Service name.
- port number
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- port
Ranges GetInternetservicedefinition Entry Port Range[] - Port ranges in the definition entry. The structure of
port_range
block is documented below. - protocol number
- Integer value for the protocol type as defined by IANA (0 - 255).
- seq
Num number - Entry sequence number.
- category_
id int - Internet Service category ID.
- name str
- Internet Service name.
- port int
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- port_
ranges Sequence[GetInternetservicedefinition Entry Port Range] - Port ranges in the definition entry. The structure of
port_range
block is documented below. - protocol int
- Integer value for the protocol type as defined by IANA (0 - 255).
- seq_
num int - Entry sequence number.
- category
Id Number - Internet Service category ID.
- name String
- Internet Service name.
- port Number
- Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535). 0 means undefined.
- port
Ranges List<Property Map> - Port ranges in the definition entry. The structure of
port_range
block is documented below. - protocol Number
- Integer value for the protocol type as defined by IANA (0 - 255).
- seq
Num Number - Entry sequence number.
GetInternetservicedefinitionEntryPortRange
- end_
port int - Ending TCP/UDP/SCTP destination port (1 to 65535).
- id int
- Custom entry port range ID.
- start_
port int - Starting TCP/UDP/SCTP destination port (1 to 65535).
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.