Documentation ¶
Index ¶
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) Forward() pulumi.StringOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) ProjectId() pulumi.IntOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Type() pulumi.StringOutput
- func (o InstanceOutput) VpcId() pulumi.StringOutput
- type InstanceState
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) 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 (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
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 (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
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) 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 ¶
func (o InstanceOutput) Type() pulumi.StringOutput
The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.
func (InstanceOutput) VpcId ¶
func (o InstanceOutput) VpcId() pulumi.StringOutput
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