1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getZone
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.getZone

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Use this data source to get information on an fortios system zone

    Using getZone

    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 getZone(args: GetZoneArgs, opts?: InvokeOptions): Promise<GetZoneResult>
    function getZoneOutput(args: GetZoneOutputArgs, opts?: InvokeOptions): Output<GetZoneResult>
    def get_zone(name: Optional[str] = None,
                 vdomparam: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetZoneResult
    def get_zone_output(name: Optional[pulumi.Input[str]] = None,
                 vdomparam: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetZoneResult]
    func LookupZone(ctx *Context, args *LookupZoneArgs, opts ...InvokeOption) (*LookupZoneResult, error)
    func LookupZoneOutput(ctx *Context, args *LookupZoneOutputArgs, opts ...InvokeOption) LookupZoneResultOutput

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

    public static class GetZone 
    {
        public static Task<GetZoneResult> InvokeAsync(GetZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetZoneResult> Invoke(GetZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:system/getZone:getZone
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Specify the name of the desired system zone.
    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 system zone.
    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 system zone.
    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 system zone.
    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 system zone.
    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 system zone.
    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.

    getZone Result

    The following output properties are available:

    Description string
    Description.
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces List<Pulumiverse.Fortios.System.Outputs.GetZoneInterface>
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    Intrazone string
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    Name string
    Tag name.
    Taggings List<Pulumiverse.Fortios.System.Outputs.GetZoneTagging>
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    Description string
    Description.
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces []GetZoneInterface
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    Intrazone string
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    Name string
    Tag name.
    Taggings []GetZoneTagging
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    description String
    Description.
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<GetZoneInterface>
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    intrazone String
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    name String
    Tag name.
    taggings List<GetZoneTagging>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String
    description string
    Description.
    id string
    The provider-assigned unique ID for this managed resource.
    interfaces GetZoneInterface[]
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    intrazone string
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    name string
    Tag name.
    taggings GetZoneTagging[]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam string
    description str
    Description.
    id str
    The provider-assigned unique ID for this managed resource.
    interfaces Sequence[GetZoneInterface]
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    intrazone str
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    name str
    Tag name.
    taggings Sequence[GetZoneTagging]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam str
    description String
    Description.
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<Property Map>
    Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined. The structure of interface block is documented below.
    intrazone String
    Allow or deny traffic routing between different interfaces in the same zone (default = deny).
    name String
    Tag name.
    taggings List<Property Map>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String

    Supporting Types

    GetZoneInterface

    InterfaceName string
    Select interfaces to add to the zone.
    InterfaceName string
    Select interfaces to add to the zone.
    interfaceName String
    Select interfaces to add to the zone.
    interfaceName string
    Select interfaces to add to the zone.
    interface_name str
    Select interfaces to add to the zone.
    interfaceName String
    Select interfaces to add to the zone.

    GetZoneTagging

    Category string
    Tag category.
    Name string
    Specify the name of the desired system zone.
    Tags List<Pulumiverse.Fortios.System.Inputs.GetZoneTaggingTag>
    Tags. The structure of tags block is documented below.
    Category string
    Tag category.
    Name string
    Specify the name of the desired system zone.
    Tags []GetZoneTaggingTag
    Tags. The structure of tags block is documented below.
    category String
    Tag category.
    name String
    Specify the name of the desired system zone.
    tags List<GetZoneTaggingTag>
    Tags. The structure of tags block is documented below.
    category string
    Tag category.
    name string
    Specify the name of the desired system zone.
    tags GetZoneTaggingTag[]
    Tags. The structure of tags block is documented below.
    category str
    Tag category.
    name str
    Specify the name of the desired system zone.
    tags Sequence[GetZoneTaggingTag]
    Tags. The structure of tags block is documented below.
    category String
    Tag category.
    name String
    Specify the name of the desired system zone.
    tags List<Property Map>
    Tags. The structure of tags block is documented below.

    GetZoneTaggingTag

    Name string
    Specify the name of the desired system zone.
    Name string
    Specify the name of the desired system zone.
    name String
    Specify the name of the desired system zone.
    name string
    Specify the name of the desired system zone.
    name str
    Specify the name of the desired system zone.
    name String
    Specify the name of the desired system zone.

    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.5 published on Tuesday, Apr 9, 2024 by pulumiverse