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)
// 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. 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 string - Select interfaces to add to the zone.
- Interface
Name string - Select interfaces to add to the zone.
- interface
Name String - Select interfaces to add to the zone.
- interface
Name string - Select interfaces to add to the zone.
- interface_
name str - Select interfaces to add to the zone.
- interface
Name String - Select interfaces to add to the zone.
GetZoneTagging
- Category string
- Tag category.
- Name string
- Specify the name of the desired system zone.
- List<Pulumiverse.
Fortios. System. Inputs. Get Zone Tagging Tag> - Tags. The structure of
tags
block is documented below.
- Category string
- Tag category.
- Name string
- Specify the name of the desired system zone.
- []Get
Zone Tagging Tag - Tags. The structure of
tags
block is documented below.
- category String
- Tag category.
- name String
- Specify the name of the desired system zone.
- List<Get
Zone Tagging Tag> - Tags. The structure of
tags
block is documented below.
- category string
- Tag category.
- name string
- Specify the name of the desired system zone.
- Get
Zone Tagging Tag[] - Tags. The structure of
tags
block is documented below.
- category str
- Tag category.
- name str
- Specify the name of the desired system zone.
- Sequence[Get
Zone Tagging Tag] - Tags. The structure of
tags
block is documented below.
- category String
- Tag category.
- name String
- Specify the name of the desired system zone.
- 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.