okta.network.Zone
Explore with Pulumi AI
Creates an Okta Network Zone. This resource allows you to create and configure an Okta Network Zone.
Create Zone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
@overload
def Zone(resource_name: str,
args: ZoneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Zone(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
asns: Optional[Sequence[str]] = None,
dynamic_locations: Optional[Sequence[str]] = None,
dynamic_locations_excludes: Optional[Sequence[str]] = None,
dynamic_proxy_type: Optional[str] = None,
gateways: Optional[Sequence[str]] = None,
ip_service_categories_excludes: Optional[Sequence[str]] = None,
ip_service_categories_includes: Optional[Sequence[str]] = None,
name: Optional[str] = None,
proxies: Optional[Sequence[str]] = None,
status: Optional[str] = None,
usage: Optional[str] = None)
func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
type: okta:network:Zone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args ZoneArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var zoneResource = new Okta.Network.Zone("zoneResource", new()
{
Type = "string",
Asns = new[]
{
"string",
},
DynamicLocations = new[]
{
"string",
},
DynamicLocationsExcludes = new[]
{
"string",
},
DynamicProxyType = "string",
Gateways = new[]
{
"string",
},
IpServiceCategoriesExcludes = new[]
{
"string",
},
IpServiceCategoriesIncludes = new[]
{
"string",
},
Name = "string",
Proxies = new[]
{
"string",
},
Status = "string",
Usage = "string",
});
example, err := network.NewZone(ctx, "zoneResource", &network.ZoneArgs{
Type: pulumi.String("string"),
Asns: pulumi.StringArray{
pulumi.String("string"),
},
DynamicLocations: pulumi.StringArray{
pulumi.String("string"),
},
DynamicLocationsExcludes: pulumi.StringArray{
pulumi.String("string"),
},
DynamicProxyType: pulumi.String("string"),
Gateways: pulumi.StringArray{
pulumi.String("string"),
},
IpServiceCategoriesExcludes: pulumi.StringArray{
pulumi.String("string"),
},
IpServiceCategoriesIncludes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Proxies: pulumi.StringArray{
pulumi.String("string"),
},
Status: pulumi.String("string"),
Usage: pulumi.String("string"),
})
var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
.type("string")
.asns("string")
.dynamicLocations("string")
.dynamicLocationsExcludes("string")
.dynamicProxyType("string")
.gateways("string")
.ipServiceCategoriesExcludes("string")
.ipServiceCategoriesIncludes("string")
.name("string")
.proxies("string")
.status("string")
.usage("string")
.build());
zone_resource = okta.network.Zone("zoneResource",
type="string",
asns=["string"],
dynamic_locations=["string"],
dynamic_locations_excludes=["string"],
dynamic_proxy_type="string",
gateways=["string"],
ip_service_categories_excludes=["string"],
ip_service_categories_includes=["string"],
name="string",
proxies=["string"],
status="string",
usage="string")
const zoneResource = new okta.network.Zone("zoneResource", {
type: "string",
asns: ["string"],
dynamicLocations: ["string"],
dynamicLocationsExcludes: ["string"],
dynamicProxyType: "string",
gateways: ["string"],
ipServiceCategoriesExcludes: ["string"],
ipServiceCategoriesIncludes: ["string"],
name: "string",
proxies: ["string"],
status: "string",
usage: "string",
});
type: okta:network:Zone
properties:
asns:
- string
dynamicLocations:
- string
dynamicLocationsExcludes:
- string
dynamicProxyType: string
gateways:
- string
ipServiceCategoriesExcludes:
- string
ipServiceCategoriesIncludes:
- string
name: string
proxies:
- string
status: string
type: string
usage: string
Zone Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Zone resource accepts the following input properties:
- Type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - Asns List<string>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations List<string> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations List<string>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- Dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- Gateways List<string>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- Ip
Service List<string>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- Ip
Service List<string>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- Name string
- Name of the Network Zone Resource
- Proxies List<string>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- Status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - Usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- Type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - Asns []string
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations []string - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations []stringExcludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- Dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- Gateways []string
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- Ip
Service []stringCategories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- Ip
Service []stringCategories Includes - List of ip service included. Use with type
DYNAMIC_V2
- Name string
- Name of the Network Zone Resource
- Proxies []string
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- Status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - Usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- type String
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - asns List<String>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy StringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service List<String>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service List<String>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name String
- Name of the Network Zone Resource
- proxies List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status String
- Network Status - can either be
ACTIVE
orINACTIVE
only - usage String
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - asns string[]
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations string[] - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations string[]Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways string[]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service string[]Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service string[]Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name string
- Name of the Network Zone Resource
- proxies string[]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- type str
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - asns Sequence[str]
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic_
locations Sequence[str] - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic_
locations_ Sequence[str]excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic_
proxy_ strtype - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways Sequence[str]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip_
service_ Sequence[str]categories_ excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip_
service_ Sequence[str]categories_ includes - List of ip service included. Use with type
DYNAMIC_V2
- name str
- Name of the Network Zone Resource
- proxies Sequence[str]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status str
- Network Status - can either be
ACTIVE
orINACTIVE
only - usage str
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- type String
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - asns List<String>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy StringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service List<String>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service List<String>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name String
- Name of the Network Zone Resource
- proxies List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status String
- Network Status - can either be
ACTIVE
orINACTIVE
only - usage String
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
Outputs
All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up 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): Zone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asns: Optional[Sequence[str]] = None,
dynamic_locations: Optional[Sequence[str]] = None,
dynamic_locations_excludes: Optional[Sequence[str]] = None,
dynamic_proxy_type: Optional[str] = None,
gateways: Optional[Sequence[str]] = None,
ip_service_categories_excludes: Optional[Sequence[str]] = None,
ip_service_categories_includes: Optional[Sequence[str]] = None,
name: Optional[str] = None,
proxies: Optional[Sequence[str]] = None,
status: Optional[str] = None,
type: Optional[str] = None,
usage: Optional[str] = None) -> Zone
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Asns List<string>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations List<string> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations List<string>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- Dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- Gateways List<string>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- Ip
Service List<string>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- Ip
Service List<string>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- Name string
- Name of the Network Zone Resource
- Proxies List<string>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- Status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - Type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - Usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- Asns []string
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations []string - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- Dynamic
Locations []stringExcludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- Dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- Gateways []string
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- Ip
Service []stringCategories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- Ip
Service []stringCategories Includes - List of ip service included. Use with type
DYNAMIC_V2
- Name string
- Name of the Network Zone Resource
- Proxies []string
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- Status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - Type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - Usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- asns List<String>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy StringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service List<String>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service List<String>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name String
- Name of the Network Zone Resource
- proxies List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status String
- Network Status - can either be
ACTIVE
orINACTIVE
only - type String
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - usage String
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- asns string[]
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations string[] - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations string[]Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy stringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways string[]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service string[]Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service string[]Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name string
- Name of the Network Zone Resource
- proxies string[]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status string
- Network Status - can either be
ACTIVE
orINACTIVE
only - type string
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - usage string
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- asns Sequence[str]
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic_
locations Sequence[str] - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic_
locations_ Sequence[str]excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic_
proxy_ strtype - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways Sequence[str]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip_
service_ Sequence[str]categories_ excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip_
service_ Sequence[str]categories_ includes - List of ip service included. Use with type
DYNAMIC_V2
- name str
- Name of the Network Zone Resource
- proxies Sequence[str]
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status str
- Network Status - can either be
ACTIVE
orINACTIVE
only - type str
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - usage str
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
- asns List<String>
- List of asns included. Format of each array value: a string representation of an ASN numeric value. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String> - Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC
orDYNAMIC_V2
- dynamic
Locations List<String>Excludes - Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type
DYNAMIC_V2
- dynamic
Proxy StringType - Type of proxy being controlled by this dynamic network zone - can be one of
Any
,TorAnonymizer
orNotTorAnonymizer
. Use with typeDYNAMIC
- gateways List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type
IP
- ip
Service List<String>Categories Excludes - List of ip service excluded. Use with type
DYNAMIC_V2
- ip
Service List<String>Categories Includes - List of ip service included. Use with type
DYNAMIC_V2
- name String
- Name of the Network Zone Resource
- proxies List<String>
- Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if
usage
is set toBLOCKLIST
. Use with typeIP
- status String
- Network Status - can either be
ACTIVE
orINACTIVE
only - type String
- Type of the Network Zone - can be
IP
,DYNAMIC
orDYNAMIC_V2
only - usage String
- Usage of the Network Zone - can be either
POLICY
orBLOCKLIST
. By default, it isPOLICY
Import
$ pulumi import okta:network/zone:Zone example <zone_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.