Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getZone
Explore with Pulumi AI
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)
public static Output<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
fn::invoke:
function: fortios:system/getZone:getZone
arguments:
# arguments dictionary
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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. Get Zone Interface> - 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. Get Zone Tagging> - 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
[]Get
Zone Interface - 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
[]Get
Zone Tagging - 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<Get
Zone Interface> - 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<Get
Zone Tagging> - 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
Get
Zone Interface[] - 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
Get
Zone Tagging[] - 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[Get
Zone Interface] - 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[Get
Zone Tagging] - 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
- Interface
Name This property is required. string - Select interfaces to add to the zone.
- Interface
Name This property is required. string - Select interfaces to add to the zone.
- interface
Name This property is required. String - Select interfaces to add to the zone.
- interface
Name 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.
- interface
Name 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.
This property is required. List<Pulumiverse.Fortios. System. Inputs. Get Zone Tagging Tag> - 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.
This property is required. []GetZone Tagging Tag - 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.
This property is required. List<GetZone Tagging Tag> - 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.
This property is required. GetZone Tagging Tag[] - 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.
This property is required. Sequence[GetZone Tagging Tag] - 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.
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.