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

fortios.system.getZone

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 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>
Copy
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]
Copy
func LookupZone(ctx *Context, args *LookupZoneArgs, opts ...InvokeOption) (*LookupZoneResult, error)
func LookupZoneOutput(ctx *Context, args *LookupZoneOutputArgs, opts ...InvokeOption) LookupZoneResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
public static Output<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/getZone:getZone
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specify the name of the desired system zone.
Vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Specify the name of the desired system zone.
Vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Specify the name of the desired system zone.
vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Specify the name of the desired system zone.
vdomparam Changes to this property will trigger replacement. 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 This property is required. str
Specify the name of the desired system zone.
vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Specify the name of the desired system zone.
vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Select interfaces to add to the zone.
InterfaceName This property is required. string
Select interfaces to add to the zone.
interfaceName This property is required. String
Select interfaces to add to the zone.
interfaceName This property is required. string
Select interfaces to add to the zone.
interface_name This property is required. str
Select interfaces to add to the zone.
interfaceName This property is required. String
Select interfaces to add to the zone.

GetZoneTagging

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

GetZoneTaggingTag

Name This property is required. string
Specify the name of the desired system zone.
Name This property is required. string
Specify the name of the desired system zone.
name This property is required. String
Specify the name of the desired system zone.
name This property is required. string
Specify the name of the desired system zone.
name This property is required. str
Specify the name of the desired system zone.
name This property is required. 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 v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse