deprecatedlb

package
v0.0.0-...-9153d0a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'.
	Forward pulumi.StringOutput `pulumi:"forward"`
	// The name of the LB.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project id of the LB, unspecified or 0 stands for default project.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// The status of the LB.
	Status pulumi.StringOutput `pulumi:"status"`
	// The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.
	Type pulumi.StringOutput `pulumi:"type"`
	// The VPC ID of the LB, unspecified or 0 stands for CVM basic network.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'.
	Forward pulumi.StringPtrInput
	// The name of the LB.
	Name pulumi.StringPtrInput
	// The project id of the LB, unspecified or 0 stands for default project.
	ProjectId pulumi.IntPtrInput
	// The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.
	Type pulumi.StringInput
	// The VPC ID of the LB, unspecified or 0 stands for CVM basic network.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Forward

func (o InstanceOutput) Forward() pulumi.StringOutput

The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'.

func (InstanceOutput) Name

The name of the LB.

func (InstanceOutput) ProjectId

func (o InstanceOutput) ProjectId() pulumi.IntOutput

The project id of the LB, unspecified or 0 stands for default project.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The status of the LB.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) Type

The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.

func (InstanceOutput) VpcId

The VPC ID of the LB, unspecified or 0 stands for CVM basic network.

type InstanceState

type InstanceState struct {
	// The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'.
	Forward pulumi.StringPtrInput
	// The name of the LB.
	Name pulumi.StringPtrInput
	// The project id of the LB, unspecified or 0 stands for default project.
	ProjectId pulumi.IntPtrInput
	// The status of the LB.
	Status pulumi.StringPtrInput
	// The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.
	Type pulumi.StringPtrInput
	// The VPC ID of the LB, unspecified or 0 stands for CVM basic network.
	VpcId pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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