Documentation
¶
Index ¶
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) Description() pulumi.StringPtrOutput
- func (o InstanceOutput) ElasticIp() pulumi.StringOutput
- func (o InstanceOutput) ElasticPort() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) NatId() pulumi.StringOutput
- func (o InstanceOutput) PrivateIp() pulumi.StringOutput
- func (o InstanceOutput) PrivatePort() pulumi.StringOutput
- func (o InstanceOutput) Protocol() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- 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 // Description of the NAT forward. Description pulumi.StringPtrOutput `pulumi:"description"` // Network address of the EIP. ElasticIp pulumi.StringOutput `pulumi:"elasticIp"` // Port of the EIP. ElasticPort pulumi.StringOutput `pulumi:"elasticPort"` // ID of the NAT gateway. NatId pulumi.StringOutput `pulumi:"natId"` // Network address of the backend service. PrivateIp pulumi.StringOutput `pulumi:"privateIp"` // Port of intranet. PrivatePort pulumi.StringOutput `pulumi:"privatePort"` // Type of the network protocol. Valid value: `TCP` and `UDP`. Protocol pulumi.StringOutput `pulumi:"protocol"` // ID of the VPC. 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 { // Description of the NAT forward. Description pulumi.StringPtrInput // Network address of the EIP. ElasticIp pulumi.StringInput // Port of the EIP. ElasticPort pulumi.StringInput // ID of the NAT gateway. NatId pulumi.StringInput // Network address of the backend service. PrivateIp pulumi.StringInput // Port of intranet. PrivatePort pulumi.StringInput // Type of the network protocol. Valid value: `TCP` and `UDP`. Protocol pulumi.StringInput // ID of the VPC. VpcId pulumi.StringInput }
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) Description ¶
func (o InstanceOutput) Description() pulumi.StringPtrOutput
Description of the NAT forward.
func (InstanceOutput) ElasticIp ¶
func (o InstanceOutput) ElasticIp() pulumi.StringOutput
Network address of the EIP.
func (InstanceOutput) ElasticPort ¶
func (o InstanceOutput) ElasticPort() pulumi.StringOutput
Port of the EIP.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) NatId ¶
func (o InstanceOutput) NatId() pulumi.StringOutput
ID of the NAT gateway.
func (InstanceOutput) PrivateIp ¶
func (o InstanceOutput) PrivateIp() pulumi.StringOutput
Network address of the backend service.
func (InstanceOutput) PrivatePort ¶
func (o InstanceOutput) PrivatePort() pulumi.StringOutput
Port of intranet.
func (InstanceOutput) Protocol ¶
func (o InstanceOutput) Protocol() pulumi.StringOutput
Type of the network protocol. Valid value: `TCP` and `UDP`.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // Description of the NAT forward. Description pulumi.StringPtrInput // Network address of the EIP. ElasticIp pulumi.StringPtrInput // Port of the EIP. ElasticPort pulumi.StringPtrInput // ID of the NAT gateway. NatId pulumi.StringPtrInput // Network address of the backend service. PrivateIp pulumi.StringPtrInput // Port of intranet. PrivatePort pulumi.StringPtrInput // Type of the network protocol. Valid value: `TCP` and `UDP`. Protocol pulumi.StringPtrInput // ID of the VPC. VpcId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type