UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

67 lines (66 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information on an fortios system zone */ export declare function getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * Specify the name of the desired system zone. */ name: 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. */ vdomparam?: string; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { /** * Description. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * 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. */ readonly interfaces: outputs.system.GetZoneInterface[]; /** * Allow or deny traffic routing between different interfaces in the same zone (default = deny). */ readonly intrazone: string; /** * Tag name. */ readonly name: string; /** * Config object tagging. The structure of `tagging` block is documented below. */ readonly taggings: outputs.system.GetZoneTagging[]; readonly vdomparam?: string; } /** * Use this data source to get information on an fortios system zone */ export declare function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * Specify the name of the desired system zone. */ name: pulumi.Input<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. */ vdomparam?: pulumi.Input<string>; }