Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Zone
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Network
Assembly: Pulumi.Okta.dll
Syntax
public class Zone : CustomResource

Constructors

View Source

Zone(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 Source

DynamicLocations

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>>
View Source

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>>
View Source

Name

Name of the Network Zone Resource.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.