network

package
v4.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// Format of each array value: a string representation of an ASN numeric value
	Asns pulumi.StringArrayOutput `pulumi:"asns"`
	// Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode
	DynamicLocations pulumi.StringArrayOutput `pulumi:"dynamicLocations"`
	// Type of proxy being controlled by this network zone
	DynamicProxyType pulumi.StringPtrOutput `pulumi:"dynamicProxyType"`
	// 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
	Gateways pulumi.StringArrayOutput `pulumi:"gateways"`
	// Name of the Network Zone Resource
	Name pulumi.StringOutput `pulumi:"name"`
	// 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
	Proxies pulumi.StringArrayOutput `pulumi:"proxies"`
	// Network Status - can either be ACTIVE or INACTIVE only
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// Type of the Network Zone - can either be IP or DYNAMIC only
	Type pulumi.StringOutput `pulumi:"type"`
	// Zone's purpose: POLICY or BLOCKLIST
	Usage pulumi.StringPtrOutput `pulumi:"usage"`
}

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

NewZone registers a new resource with the given unique name, arguments, and options.

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToOutput added in v4.4.0

func (i *Zone) ToOutput(ctx context.Context) pulumix.Output[*Zone]

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// Format of each array value: a string representation of an ASN numeric value
	Asns pulumi.StringArrayInput
	// Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode
	DynamicLocations pulumi.StringArrayInput
	// Type of proxy being controlled by this network zone
	DynamicProxyType pulumi.StringPtrInput
	// 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
	Gateways pulumi.StringArrayInput
	// Name of the Network Zone Resource
	Name pulumi.StringPtrInput
	// 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
	Proxies pulumi.StringArrayInput
	// Network Status - can either be ACTIVE or INACTIVE only
	Status pulumi.StringPtrInput
	// Type of the Network Zone - can either be IP or DYNAMIC only
	Type pulumi.StringInput
	// Zone's purpose: POLICY or BLOCKLIST
	Usage pulumi.StringPtrInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToOutput added in v4.4.0

func (i ZoneArray) ToOutput(ctx context.Context) pulumix.Output[[]*Zone]

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToOutput added in v4.4.0

func (o ZoneArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Zone]

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToOutput added in v4.4.0

func (i ZoneMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Zone]

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToOutput added in v4.4.0

func (o ZoneMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Zone]

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) Asns

Format of each array value: a string representation of an ASN numeric value

func (ZoneOutput) DynamicLocations

func (o ZoneOutput) DynamicLocations() pulumi.StringArrayOutput

Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode

func (ZoneOutput) DynamicProxyType

func (o ZoneOutput) DynamicProxyType() pulumi.StringPtrOutput

Type of proxy being controlled by this network zone

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) Gateways

func (o ZoneOutput) Gateways() pulumi.StringArrayOutput

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

func (ZoneOutput) Name

func (o ZoneOutput) Name() pulumi.StringOutput

Name of the Network Zone Resource

func (ZoneOutput) Proxies

func (o ZoneOutput) Proxies() pulumi.StringArrayOutput

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

func (ZoneOutput) Status added in v4.0.5

func (o ZoneOutput) Status() pulumi.StringPtrOutput

Network Status - can either be ACTIVE or INACTIVE only

func (ZoneOutput) ToOutput added in v4.4.0

func (o ZoneOutput) ToOutput(ctx context.Context) pulumix.Output[*Zone]

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

func (ZoneOutput) Type

func (o ZoneOutput) Type() pulumi.StringOutput

Type of the Network Zone - can either be IP or DYNAMIC only

func (ZoneOutput) Usage

func (o ZoneOutput) Usage() pulumi.StringPtrOutput

Zone's purpose: POLICY or BLOCKLIST

type ZoneState

type ZoneState struct {
	// Format of each array value: a string representation of an ASN numeric value
	Asns pulumi.StringArrayInput
	// Array of locations ISO-3166-1(2). Format code: countryCode OR countryCode-regionCode
	DynamicLocations pulumi.StringArrayInput
	// Type of proxy being controlled by this network zone
	DynamicProxyType pulumi.StringPtrInput
	// 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
	Gateways pulumi.StringArrayInput
	// Name of the Network Zone Resource
	Name pulumi.StringPtrInput
	// 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
	Proxies pulumi.StringArrayInput
	// Network Status - can either be ACTIVE or INACTIVE only
	Status pulumi.StringPtrInput
	// Type of the Network Zone - can either be IP or DYNAMIC only
	Type pulumi.StringPtrInput
	// Zone's purpose: POLICY or BLOCKLIST
	Usage pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL