1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. getInternetservicedefinition
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall.getInternetservicedefinition

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    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.GetInternetservicedefinitionEntry>
    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 []GetInternetservicedefinitionEntry
    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<GetInternetservicedefinitionEntry>
    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 GetInternetservicedefinitionEntry[]
    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[GetInternetservicedefinitionEntry]
    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

    CategoryId 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.
    PortRanges List<Pulumiverse.Fortios.Firewall.Inputs.GetInternetservicedefinitionEntryPortRange>
    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).
    SeqNum int
    Entry sequence number.
    CategoryId 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.
    PortRanges []GetInternetservicedefinitionEntryPortRange
    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).
    SeqNum int
    Entry sequence number.
    categoryId 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.
    portRanges List<GetInternetservicedefinitionEntryPortRange>
    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).
    seqNum Integer
    Entry sequence number.
    categoryId 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.
    portRanges GetInternetservicedefinitionEntryPortRange[]
    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).
    seqNum 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[GetInternetservicedefinitionEntryPortRange]
    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.
    categoryId 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.
    portRanges 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).
    seqNum Number
    Entry sequence number.

    GetInternetservicedefinitionEntryPortRange

    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort Integer
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Integer
    Custom entry port range ID.
    startPort Integer
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id number
    Custom entry port range ID.
    startPort number
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    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).
    endPort Number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Number
    Custom entry port range ID.
    startPort Number
    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse