Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Network
Assembly: Pulumi.Okta.dll
Syntax
public class Zone : CustomResource
Constructors
View SourceZone(String, ZoneArgs, CustomResourceOptions)
Create a Zone resource with the given unique name, arguments, and options.
Declaration
public Zone(string name, ZoneArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ZoneArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDynamicLocations
Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode.
Declaration
public Output<ImmutableArray<string>> DynamicLocations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Gateways
Array of values in CIDR/range form.
Declaration
public Output<ImmutableArray<string>> Gateways { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Name
Name of the Network Zone Resource.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Proxies
Array of values in CIDR/range form.
Declaration
public Output<ImmutableArray<string>> Proxies { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Type
Type of the Network Zone - can either be IP or DYNAMIC only.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ZoneState, CustomResourceOptions)
Get an existing Zone resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Zone Get(string name, Input<string> id, ZoneState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ZoneState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Zone |