Zone
Creates an Okta Network Zone.
This resource allows you to create and configure an Okta Network Zone.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Network.Zone("example", new Okta.Network.ZoneArgs
{
Gateways =
{
"1.2.3.4/24",
"2.3.4.5-2.3.4.15",
},
Proxies =
{
"2.2.3.4/24",
"3.3.4.5-3.3.4.15",
},
Type = "IP",
});
}
}
Coming soon!
import pulumi
import pulumi_okta as okta
example = okta.network.Zone("example",
gateways=[
"1.2.3.4/24",
"2.3.4.5-2.3.4.15",
],
proxies=[
"2.2.3.4/24",
"3.3.4.5-3.3.4.15",
],
type="IP")import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.network.Zone("example", {
gateways: [
"1.2.3.4/24",
"2.3.4.5-2.3.4.15",
],
proxies: [
"2.2.3.4/24",
"3.3.4.5-3.3.4.15",
],
type: "IP",
});Create a Zone Resource
new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);def Zone(resource_name, opts=None, dynamic_locations=None, gateways=None, name=None, proxies=None, type=None, __props__=None);public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Zone Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Zone resource accepts the following input properties:
- Type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- Dynamic
Locations List<string> Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- Gateways List<string>
Array of values in CIDR/range form.
- Name string
Name of the Network Zone Resource.
- Proxies List<string>
Array of values in CIDR/range form.
- Type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- Dynamic
Locations []string Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- Gateways []string
Array of values in CIDR/range form.
- Name string
Name of the Network Zone Resource.
- Proxies []string
Array of values in CIDR/range form.
- type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- dynamic
Locations string[] Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- gateways string[]
Array of values in CIDR/range form.
- name string
Name of the Network Zone Resource.
- proxies string[]
Array of values in CIDR/range form.
- type str
Type of the Network Zone - can either be IP or DYNAMIC only.
- dynamic_
locations List[str] Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- gateways List[str]
Array of values in CIDR/range form.
- name str
Name of the Network Zone Resource.
- proxies List[str]
Array of values in CIDR/range form.
Outputs
All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:
Look up an Existing Zone Resource
Get an existing Zone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZoneState, opts?: CustomResourceOptions): Zonestatic get(resource_name, id, opts=None, dynamic_locations=None, gateways=None, name=None, proxies=None, type=None, __props__=None);public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Dynamic
Locations List<string> Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- Gateways List<string>
Array of values in CIDR/range form.
- Name string
Name of the Network Zone Resource.
- Proxies List<string>
Array of values in CIDR/range form.
- Type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- Dynamic
Locations []string Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- Gateways []string
Array of values in CIDR/range form.
- Name string
Name of the Network Zone Resource.
- Proxies []string
Array of values in CIDR/range form.
- Type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- dynamic
Locations string[] Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- gateways string[]
Array of values in CIDR/range form.
- name string
Name of the Network Zone Resource.
- proxies string[]
Array of values in CIDR/range form.
- type string
Type of the Network Zone - can either be IP or DYNAMIC only.
- dynamic_
locations List[str] Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
- gateways List[str]
Array of values in CIDR/range form.
- name str
Name of the Network Zone Resource.
- proxies List[str]
Array of values in CIDR/range form.
- type str
Type of the Network Zone - can either be IP or DYNAMIC only.
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.