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

fortios.firewall.getInternetservicecustom

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 internetservicecustom

    Using getInternetservicecustom

    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 getInternetservicecustom(args: GetInternetservicecustomArgs, opts?: InvokeOptions): Promise<GetInternetservicecustomResult>
    function getInternetservicecustomOutput(args: GetInternetservicecustomOutputArgs, opts?: InvokeOptions): Output<GetInternetservicecustomResult>
    def get_internetservicecustom(name: Optional[str] = None,
                                  vdomparam: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetInternetservicecustomResult
    def get_internetservicecustom_output(name: Optional[pulumi.Input[str]] = None,
                                  vdomparam: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetInternetservicecustomResult]
    func LookupInternetservicecustom(ctx *Context, args *LookupInternetservicecustomArgs, opts ...InvokeOption) (*LookupInternetservicecustomResult, error)
    func LookupInternetservicecustomOutput(ctx *Context, args *LookupInternetservicecustomOutputArgs, opts ...InvokeOption) LookupInternetservicecustomResultOutput

    > Note: This function is named LookupInternetservicecustom in the Go SDK.

    public static class GetInternetservicecustom 
    {
        public static Task<GetInternetservicecustomResult> InvokeAsync(GetInternetservicecustomArgs args, InvokeOptions? opts = null)
        public static Output<GetInternetservicecustomResult> Invoke(GetInternetservicecustomInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInternetservicecustomResult> getInternetservicecustom(GetInternetservicecustomArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:firewall/getInternetservicecustom:getInternetservicecustom
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Specify the name of the desired firewall internetservicecustom.
    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.
    Name string
    Specify the name of the desired firewall internetservicecustom.
    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.
    name String
    Specify the name of the desired firewall internetservicecustom.
    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.
    name string
    Specify the name of the desired firewall internetservicecustom.
    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.
    name str
    Specify the name of the desired firewall internetservicecustom.
    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.
    name String
    Specify the name of the desired firewall internetservicecustom.
    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.

    getInternetservicecustom Result

    The following output properties are available:

    Comment string
    Comment.
    Entries List<Pulumiverse.Fortios.Firewall.Outputs.GetInternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Select the destination address6 or address group object from available options.
    Reputation int
    Reputation level of the custom Internet Service.
    Vdomparam string
    Comment string
    Comment.
    Entries []GetInternetservicecustomEntry
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Select the destination address6 or address group object from available options.
    Reputation int
    Reputation level of the custom Internet Service.
    Vdomparam string
    comment String
    Comment.
    entries List<GetInternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Select the destination address6 or address group object from available options.
    reputation Integer
    Reputation level of the custom Internet Service.
    vdomparam String
    comment string
    Comment.
    entries GetInternetservicecustomEntry[]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Select the destination address6 or address group object from available options.
    reputation number
    Reputation level of the custom Internet Service.
    vdomparam string
    comment str
    Comment.
    entries Sequence[GetInternetservicecustomEntry]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Select the destination address6 or address group object from available options.
    reputation int
    Reputation level of the custom Internet Service.
    vdomparam str
    comment String
    Comment.
    entries List<Property Map>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Select the destination address6 or address group object from available options.
    reputation Number
    Reputation level of the custom Internet Service.
    vdomparam String

    Supporting Types

    GetInternetservicecustomEntry

    AddrMode string
    Address mode (IPv4 or IPv6)
    Dst6s List<Pulumiverse.Fortios.Firewall.Inputs.GetInternetservicecustomEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts List<Pulumiverse.Fortios.Firewall.Inputs.GetInternetservicecustomEntryDst>
    Destination address or address group name. The structure of dst block is documented below.
    Id int
    Custom entry port range ID.
    PortRanges List<Pulumiverse.Fortios.Firewall.Inputs.GetInternetservicecustomEntryPortRange>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    AddrMode string
    Address mode (IPv4 or IPv6)
    Dst6s []GetInternetservicecustomEntryDst6
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts []GetInternetservicecustomEntryDst
    Destination address or address group name. The structure of dst block is documented below.
    Id int
    Custom entry port range ID.
    PortRanges []GetInternetservicecustomEntryPortRange
    Port ranges in the custom entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6)
    dst6s List<GetInternetservicecustomEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts List<GetInternetservicecustomEntryDst>
    Destination address or address group name. The structure of dst block is documented below.
    id Integer
    Custom entry port range ID.
    portRanges List<GetInternetservicecustomEntryPortRange>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode string
    Address mode (IPv4 or IPv6)
    dst6s GetInternetservicecustomEntryDst6[]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts GetInternetservicecustomEntryDst[]
    Destination address or address group name. The structure of dst block is documented below.
    id number
    Custom entry port range ID.
    portRanges GetInternetservicecustomEntryPortRange[]
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255).
    addr_mode str
    Address mode (IPv4 or IPv6)
    dst6s Sequence[GetInternetservicecustomEntryDst6]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts Sequence[GetInternetservicecustomEntryDst]
    Destination address or address group name. The structure of dst block is documented below.
    id int
    Custom entry port range ID.
    port_ranges Sequence[GetInternetservicecustomEntryPortRange]
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6)
    dst6s List<Property Map>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts List<Property Map>
    Destination address or address group name. The structure of dst block is documented below.
    id Number
    Custom entry port range ID.
    portRanges List<Property Map>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255).

    GetInternetservicecustomEntryDst

    Name string
    Specify the name of the desired firewall internetservicecustom.
    Name string
    Specify the name of the desired firewall internetservicecustom.
    name String
    Specify the name of the desired firewall internetservicecustom.
    name string
    Specify the name of the desired firewall internetservicecustom.
    name str
    Specify the name of the desired firewall internetservicecustom.
    name String
    Specify the name of the desired firewall internetservicecustom.

    GetInternetservicecustomEntryDst6

    Name string
    Specify the name of the desired firewall internetservicecustom.
    Name string
    Specify the name of the desired firewall internetservicecustom.
    name String
    Specify the name of the desired firewall internetservicecustom.
    name string
    Specify the name of the desired firewall internetservicecustom.
    name str
    Specify the name of the desired firewall internetservicecustom.
    name String
    Specify the name of the desired firewall internetservicecustom.

    GetInternetservicecustomEntryPortRange

    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
    endPort Integer
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    id Integer
    Custom entry port range ID.
    startPort Integer
    Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
    endPort number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    id number
    Custom entry port range ID.
    startPort number
    Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
    end_port int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    id int
    Custom entry port range ID.
    start_port int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
    endPort Number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
    id Number
    Custom entry port range ID.
    startPort Number
    Integer value for starting TCP/UDP/SCTP destination port in range (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