Documentation
¶
Index ¶
- type Attachment
- type AttachmentArgs
- type AttachmentArray
- type AttachmentArrayInput
- type AttachmentArrayOutput
- func (AttachmentArrayOutput) ElementType() reflect.Type
- func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
- type AttachmentInput
- type AttachmentMap
- type AttachmentMapInput
- type AttachmentMapOutput
- func (AttachmentMapOutput) ElementType() reflect.Type
- func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
- type AttachmentOutput
- func (AttachmentOutput) ElementType() reflect.Type
- func (o AttachmentOutput) EniId() pulumi.StringOutput
- func (o AttachmentOutput) InstanceId() pulumi.StringOutput
- func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
- func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
- type AttachmentState
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceIpv4
- type InstanceIpv4Args
- type InstanceIpv4Array
- type InstanceIpv4ArrayInput
- type InstanceIpv4ArrayOutput
- func (InstanceIpv4ArrayOutput) ElementType() reflect.Type
- func (o InstanceIpv4ArrayOutput) Index(i pulumi.IntInput) InstanceIpv4Output
- func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput
- func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutputWithContext(ctx context.Context) InstanceIpv4ArrayOutput
- type InstanceIpv4Info
- type InstanceIpv4InfoArgs
- type InstanceIpv4InfoArray
- type InstanceIpv4InfoArrayInput
- type InstanceIpv4InfoArrayOutput
- func (InstanceIpv4InfoArrayOutput) ElementType() reflect.Type
- func (o InstanceIpv4InfoArrayOutput) Index(i pulumi.IntInput) InstanceIpv4InfoOutput
- func (o InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutput() InstanceIpv4InfoArrayOutput
- func (o InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutputWithContext(ctx context.Context) InstanceIpv4InfoArrayOutput
- type InstanceIpv4InfoInput
- type InstanceIpv4InfoOutput
- func (o InstanceIpv4InfoOutput) Description() pulumi.StringPtrOutput
- func (InstanceIpv4InfoOutput) ElementType() reflect.Type
- func (o InstanceIpv4InfoOutput) Ip() pulumi.StringPtrOutput
- func (o InstanceIpv4InfoOutput) Primary() pulumi.BoolPtrOutput
- func (o InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutput() InstanceIpv4InfoOutput
- func (o InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutputWithContext(ctx context.Context) InstanceIpv4InfoOutput
- type InstanceIpv4Input
- type InstanceIpv4Output
- func (o InstanceIpv4Output) Description() pulumi.StringPtrOutput
- func (InstanceIpv4Output) ElementType() reflect.Type
- func (o InstanceIpv4Output) Ip() pulumi.StringOutput
- func (o InstanceIpv4Output) Primary() pulumi.BoolOutput
- func (o InstanceIpv4Output) ToInstanceIpv4Output() InstanceIpv4Output
- func (o InstanceIpv4Output) ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) Description() pulumi.StringPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) Ipv4Count() pulumi.IntPtrOutput
- func (o InstanceOutput) Ipv4Infos() InstanceIpv4InfoArrayOutput
- func (o InstanceOutput) Ipv4s() InstanceIpv4ArrayOutput
- func (o InstanceOutput) Mac() pulumi.StringOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) Primary() pulumi.BoolOutput
- func (o InstanceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) SubnetId() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.MapOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) VpcId() pulumi.StringOutput
- type InstanceState
- type Ipv4Address
- type Ipv4AddressArgs
- type Ipv4AddressArray
- type Ipv4AddressArrayInput
- type Ipv4AddressArrayOutput
- func (Ipv4AddressArrayOutput) ElementType() reflect.Type
- func (o Ipv4AddressArrayOutput) Index(i pulumi.IntInput) Ipv4AddressOutput
- func (o Ipv4AddressArrayOutput) ToIpv4AddressArrayOutput() Ipv4AddressArrayOutput
- func (o Ipv4AddressArrayOutput) ToIpv4AddressArrayOutputWithContext(ctx context.Context) Ipv4AddressArrayOutput
- type Ipv4AddressInput
- type Ipv4AddressMap
- type Ipv4AddressMapInput
- type Ipv4AddressMapOutput
- func (Ipv4AddressMapOutput) ElementType() reflect.Type
- func (o Ipv4AddressMapOutput) MapIndex(k pulumi.StringInput) Ipv4AddressOutput
- func (o Ipv4AddressMapOutput) ToIpv4AddressMapOutput() Ipv4AddressMapOutput
- func (o Ipv4AddressMapOutput) ToIpv4AddressMapOutputWithContext(ctx context.Context) Ipv4AddressMapOutput
- type Ipv4AddressOutput
- func (Ipv4AddressOutput) ElementType() reflect.Type
- func (o Ipv4AddressOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o Ipv4AddressOutput) PrivateIpAddresses() Ipv4AddressPrivateIpAddressArrayOutput
- func (o Ipv4AddressOutput) QosLevel() pulumi.StringOutput
- func (o Ipv4AddressOutput) SecondaryPrivateIpAddressCount() pulumi.IntOutput
- func (o Ipv4AddressOutput) ToIpv4AddressOutput() Ipv4AddressOutput
- func (o Ipv4AddressOutput) ToIpv4AddressOutputWithContext(ctx context.Context) Ipv4AddressOutput
- type Ipv4AddressPrivateIpAddress
- type Ipv4AddressPrivateIpAddressArgs
- func (Ipv4AddressPrivateIpAddressArgs) ElementType() reflect.Type
- func (i Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutput() Ipv4AddressPrivateIpAddressOutput
- func (i Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressOutput
- type Ipv4AddressPrivateIpAddressArray
- func (Ipv4AddressPrivateIpAddressArray) ElementType() reflect.Type
- func (i Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutput() Ipv4AddressPrivateIpAddressArrayOutput
- func (i Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressArrayOutput
- type Ipv4AddressPrivateIpAddressArrayInput
- type Ipv4AddressPrivateIpAddressArrayOutput
- func (Ipv4AddressPrivateIpAddressArrayOutput) ElementType() reflect.Type
- func (o Ipv4AddressPrivateIpAddressArrayOutput) Index(i pulumi.IntInput) Ipv4AddressPrivateIpAddressOutput
- func (o Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutput() Ipv4AddressPrivateIpAddressArrayOutput
- func (o Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressArrayOutput
- type Ipv4AddressPrivateIpAddressInput
- type Ipv4AddressPrivateIpAddressOutput
- func (o Ipv4AddressPrivateIpAddressOutput) AddressId() pulumi.StringPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) Description() pulumi.StringPtrOutput
- func (Ipv4AddressPrivateIpAddressOutput) ElementType() reflect.Type
- func (o Ipv4AddressPrivateIpAddressOutput) IsWanIpBlocked() pulumi.BoolPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) Primary() pulumi.BoolPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) PrivateIpAddress() pulumi.StringOutput
- func (o Ipv4AddressPrivateIpAddressOutput) PublicIpAddress() pulumi.StringPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) QosLevel() pulumi.StringPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) State() pulumi.StringPtrOutput
- func (o Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutput() Ipv4AddressPrivateIpAddressOutput
- func (o Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressOutput
- type Ipv4AddressState
- type Ipv6Address
- type Ipv6AddressArgs
- type Ipv6AddressArray
- type Ipv6AddressArrayInput
- type Ipv6AddressArrayOutput
- func (Ipv6AddressArrayOutput) ElementType() reflect.Type
- func (o Ipv6AddressArrayOutput) Index(i pulumi.IntInput) Ipv6AddressOutput
- func (o Ipv6AddressArrayOutput) ToIpv6AddressArrayOutput() Ipv6AddressArrayOutput
- func (o Ipv6AddressArrayOutput) ToIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressArrayOutput
- type Ipv6AddressInput
- type Ipv6AddressIpv6Address
- type Ipv6AddressIpv6AddressArgs
- type Ipv6AddressIpv6AddressArray
- func (Ipv6AddressIpv6AddressArray) ElementType() reflect.Type
- func (i Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutput() Ipv6AddressIpv6AddressArrayOutput
- func (i Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressArrayOutput
- type Ipv6AddressIpv6AddressArrayInput
- type Ipv6AddressIpv6AddressArrayOutput
- func (Ipv6AddressIpv6AddressArrayOutput) ElementType() reflect.Type
- func (o Ipv6AddressIpv6AddressArrayOutput) Index(i pulumi.IntInput) Ipv6AddressIpv6AddressOutput
- func (o Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutput() Ipv6AddressIpv6AddressArrayOutput
- func (o Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressArrayOutput
- type Ipv6AddressIpv6AddressInput
- type Ipv6AddressIpv6AddressOutput
- func (o Ipv6AddressIpv6AddressOutput) Address() pulumi.StringOutput
- func (o Ipv6AddressIpv6AddressOutput) AddressId() pulumi.StringPtrOutput
- func (o Ipv6AddressIpv6AddressOutput) Description() pulumi.StringPtrOutput
- func (Ipv6AddressIpv6AddressOutput) ElementType() reflect.Type
- func (o Ipv6AddressIpv6AddressOutput) IsWanIpBlocked() pulumi.BoolPtrOutput
- func (o Ipv6AddressIpv6AddressOutput) Primary() pulumi.BoolPtrOutput
- func (o Ipv6AddressIpv6AddressOutput) State() pulumi.StringPtrOutput
- func (o Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutput() Ipv6AddressIpv6AddressOutput
- func (o Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressOutput
- type Ipv6AddressMap
- type Ipv6AddressMapInput
- type Ipv6AddressMapOutput
- func (Ipv6AddressMapOutput) ElementType() reflect.Type
- func (o Ipv6AddressMapOutput) MapIndex(k pulumi.StringInput) Ipv6AddressOutput
- func (o Ipv6AddressMapOutput) ToIpv6AddressMapOutput() Ipv6AddressMapOutput
- func (o Ipv6AddressMapOutput) ToIpv6AddressMapOutputWithContext(ctx context.Context) Ipv6AddressMapOutput
- type Ipv6AddressOutput
- func (Ipv6AddressOutput) ElementType() reflect.Type
- func (o Ipv6AddressOutput) Ipv6AddressCount() pulumi.IntOutput
- func (o Ipv6AddressOutput) Ipv6Addresses() Ipv6AddressIpv6AddressArrayOutput
- func (o Ipv6AddressOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o Ipv6AddressOutput) ToIpv6AddressOutput() Ipv6AddressOutput
- func (o Ipv6AddressOutput) ToIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressOutput
- type Ipv6AddressState
- type SgAttachment
- type SgAttachmentArgs
- type SgAttachmentArray
- type SgAttachmentArrayInput
- type SgAttachmentArrayOutput
- func (SgAttachmentArrayOutput) ElementType() reflect.Type
- func (o SgAttachmentArrayOutput) Index(i pulumi.IntInput) SgAttachmentOutput
- func (o SgAttachmentArrayOutput) ToSgAttachmentArrayOutput() SgAttachmentArrayOutput
- func (o SgAttachmentArrayOutput) ToSgAttachmentArrayOutputWithContext(ctx context.Context) SgAttachmentArrayOutput
- type SgAttachmentInput
- type SgAttachmentMap
- type SgAttachmentMapInput
- type SgAttachmentMapOutput
- func (SgAttachmentMapOutput) ElementType() reflect.Type
- func (o SgAttachmentMapOutput) MapIndex(k pulumi.StringInput) SgAttachmentOutput
- func (o SgAttachmentMapOutput) ToSgAttachmentMapOutput() SgAttachmentMapOutput
- func (o SgAttachmentMapOutput) ToSgAttachmentMapOutputWithContext(ctx context.Context) SgAttachmentMapOutput
- type SgAttachmentOutput
- func (SgAttachmentOutput) ElementType() reflect.Type
- func (o SgAttachmentOutput) NetworkInterfaceIds() pulumi.StringOutput
- func (o SgAttachmentOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o SgAttachmentOutput) ToSgAttachmentOutput() SgAttachmentOutput
- func (o SgAttachmentOutput) ToSgAttachmentOutputWithContext(ctx context.Context) SgAttachmentOutput
- type SgAttachmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { pulumi.CustomResourceState // ID of the ENI. EniId pulumi.StringOutput `pulumi:"eniId"` // ID of the instance which bind the ENI. InstanceId pulumi.StringOutput `pulumi:"instanceId"` }
Provides a resource to detailed information of attached backend server to an ENI.
## Import
ENI attachment can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Eni/attachment:Attachment tencentcloud_eni_attachment.foo eni-gtlvkjvz+ins-0h3a5new ```
func GetAttachment ¶
func GetAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)
GetAttachment gets an existing Attachment 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 NewAttachment ¶
func NewAttachment(ctx *pulumi.Context, name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)
NewAttachment registers a new resource with the given unique name, arguments, and options.
func (*Attachment) ElementType ¶
func (*Attachment) ElementType() reflect.Type
func (*Attachment) ToAttachmentOutput ¶
func (i *Attachment) ToAttachmentOutput() AttachmentOutput
func (*Attachment) ToAttachmentOutputWithContext ¶
func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentArgs ¶
type AttachmentArgs struct { // ID of the ENI. EniId pulumi.StringInput // ID of the instance which bind the ENI. InstanceId pulumi.StringInput }
The set of arguments for constructing a Attachment resource.
func (AttachmentArgs) ElementType ¶
func (AttachmentArgs) ElementType() reflect.Type
type AttachmentArray ¶
type AttachmentArray []AttachmentInput
func (AttachmentArray) ElementType ¶
func (AttachmentArray) ElementType() reflect.Type
func (AttachmentArray) ToAttachmentArrayOutput ¶
func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArray) ToAttachmentArrayOutputWithContext ¶
func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentArrayInput ¶
type AttachmentArrayInput interface { pulumi.Input ToAttachmentArrayOutput() AttachmentArrayOutput ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput }
AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:
AttachmentArray{ AttachmentArgs{...} }
type AttachmentArrayOutput ¶
type AttachmentArrayOutput struct{ *pulumi.OutputState }
func (AttachmentArrayOutput) ElementType ¶
func (AttachmentArrayOutput) ElementType() reflect.Type
func (AttachmentArrayOutput) Index ¶
func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutput ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentInput ¶
type AttachmentInput interface { pulumi.Input ToAttachmentOutput() AttachmentOutput ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput }
type AttachmentMap ¶
type AttachmentMap map[string]AttachmentInput
func (AttachmentMap) ElementType ¶
func (AttachmentMap) ElementType() reflect.Type
func (AttachmentMap) ToAttachmentMapOutput ¶
func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMap) ToAttachmentMapOutputWithContext ¶
func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentMapInput ¶
type AttachmentMapInput interface { pulumi.Input ToAttachmentMapOutput() AttachmentMapOutput ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput }
AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:
AttachmentMap{ "key": AttachmentArgs{...} }
type AttachmentMapOutput ¶
type AttachmentMapOutput struct{ *pulumi.OutputState }
func (AttachmentMapOutput) ElementType ¶
func (AttachmentMapOutput) ElementType() reflect.Type
func (AttachmentMapOutput) MapIndex ¶
func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
func (AttachmentMapOutput) ToAttachmentMapOutput ¶
func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMapOutput) ToAttachmentMapOutputWithContext ¶
func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentOutput ¶
type AttachmentOutput struct{ *pulumi.OutputState }
func (AttachmentOutput) ElementType ¶
func (AttachmentOutput) ElementType() reflect.Type
func (AttachmentOutput) EniId ¶
func (o AttachmentOutput) EniId() pulumi.StringOutput
ID of the ENI.
func (AttachmentOutput) InstanceId ¶
func (o AttachmentOutput) InstanceId() pulumi.StringOutput
ID of the instance which bind the ENI.
func (AttachmentOutput) ToAttachmentOutput ¶
func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
func (AttachmentOutput) ToAttachmentOutputWithContext ¶
func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentState ¶
type AttachmentState struct { // ID of the ENI. EniId pulumi.StringPtrInput // ID of the instance which bind the ENI. InstanceId pulumi.StringPtrInput }
func (AttachmentState) ElementType ¶
func (AttachmentState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Creation time of the ENI. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Description of the IP, maximum length 25. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of intranet IPv4s. When it is greater than 1, there is only one primary intranet IP. The others are auxiliary intranet IPs, which conflict with `ipv4s`. Ipv4Count pulumi.IntPtrOutput `pulumi:"ipv4Count"` // An information list of IPv4s. Each element contains the following attributes: Ipv4Infos InstanceIpv4InfoArrayOutput `pulumi:"ipv4Infos"` // Applying for intranet IPv4s collection, conflict with `ipv4Count`. When there are multiple ipv4s, can only be one primary IP, and the maximum length of the array is 30. Each element contains the following attributes: Ipv4s InstanceIpv4ArrayOutput `pulumi:"ipv4s"` // MAC address. Mac pulumi.StringOutput `pulumi:"mac"` // Name of the ENI, maximum length 60. Name pulumi.StringOutput `pulumi:"name"` // Indicates whether the IP is primary. Primary pulumi.BoolOutput `pulumi:"primary"` // A set of security group IDs. SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` // State of the ENI. State pulumi.StringOutput `pulumi:"state"` // ID of the subnet within this vpc. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // Tags of the ENI. Tags pulumi.MapOutput `pulumi:"tags"` // ID of the vpc. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a resource to create an ENI.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Availability" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eni" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Security" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Subnet" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { zones, err := Availability.GetZonesByProduct(ctx, &availability.GetZonesByProductArgs{ Product: "vpc", }, nil) if err != nil { return err } vpc, err := Vpc.NewInstance(ctx, "vpc", &Vpc.InstanceArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } subnet, err := Subnet.NewInstance(ctx, "subnet", &Subnet.InstanceArgs{ AvailabilityZone: pulumi.String(zones.Zones[0].Name), VpcId: vpc.ID(), CidrBlock: pulumi.String("10.0.0.0/16"), IsMulticast: pulumi.Bool(false), }) if err != nil { return err } example1, err := Security.NewGroup(ctx, "example1", &Security.GroupArgs{ Description: pulumi.String("sg desc."), ProjectId: pulumi.Int(0), Tags: pulumi.Map{ "example": pulumi.Any("test"), }, }) if err != nil { return err } example2, err := Security.NewGroup(ctx, "example2", &Security.GroupArgs{ Description: pulumi.String("sg desc."), ProjectId: pulumi.Int(0), Tags: pulumi.Map{ "example": pulumi.Any("test"), }, }) if err != nil { return err } _, err = Eni.NewInstance(ctx, "example", &Eni.InstanceArgs{ VpcId: vpc.ID(), SubnetId: subnet.ID(), Description: pulumi.String("eni desc."), Ipv4Count: pulumi.Int(1), SecurityGroups: pulumi.StringArray{ example1.ID(), example2.ID(), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
ENI can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Eni/instance:Instance tencentcloud_eni.foo eni-qka182br ```
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 IP, maximum length 25. Description pulumi.StringPtrInput // The number of intranet IPv4s. When it is greater than 1, there is only one primary intranet IP. The others are auxiliary intranet IPs, which conflict with `ipv4s`. Ipv4Count pulumi.IntPtrInput // Applying for intranet IPv4s collection, conflict with `ipv4Count`. When there are multiple ipv4s, can only be one primary IP, and the maximum length of the array is 30. Each element contains the following attributes: Ipv4s InstanceIpv4ArrayInput // Name of the ENI, maximum length 60. Name pulumi.StringPtrInput // A set of security group IDs. SecurityGroups pulumi.StringArrayInput // ID of the subnet within this vpc. SubnetId pulumi.StringInput // Tags of the ENI. Tags pulumi.MapInput // 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 InstanceIpv4 ¶
type InstanceIpv4Args ¶
type InstanceIpv4Args struct { // Description of the IP, maximum length 25. Description pulumi.StringPtrInput `pulumi:"description"` // Intranet IP. Ip pulumi.StringInput `pulumi:"ip"` // Indicates whether the IP is primary. Primary pulumi.BoolInput `pulumi:"primary"` }
func (InstanceIpv4Args) ElementType ¶
func (InstanceIpv4Args) ElementType() reflect.Type
func (InstanceIpv4Args) ToInstanceIpv4Output ¶
func (i InstanceIpv4Args) ToInstanceIpv4Output() InstanceIpv4Output
func (InstanceIpv4Args) ToInstanceIpv4OutputWithContext ¶
func (i InstanceIpv4Args) ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output
type InstanceIpv4Array ¶
type InstanceIpv4Array []InstanceIpv4Input
func (InstanceIpv4Array) ElementType ¶
func (InstanceIpv4Array) ElementType() reflect.Type
func (InstanceIpv4Array) ToInstanceIpv4ArrayOutput ¶
func (i InstanceIpv4Array) ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput
func (InstanceIpv4Array) ToInstanceIpv4ArrayOutputWithContext ¶
func (i InstanceIpv4Array) ToInstanceIpv4ArrayOutputWithContext(ctx context.Context) InstanceIpv4ArrayOutput
type InstanceIpv4ArrayInput ¶
type InstanceIpv4ArrayInput interface { pulumi.Input ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput ToInstanceIpv4ArrayOutputWithContext(context.Context) InstanceIpv4ArrayOutput }
InstanceIpv4ArrayInput is an input type that accepts InstanceIpv4Array and InstanceIpv4ArrayOutput values. You can construct a concrete instance of `InstanceIpv4ArrayInput` via:
InstanceIpv4Array{ InstanceIpv4Args{...} }
type InstanceIpv4ArrayOutput ¶
type InstanceIpv4ArrayOutput struct{ *pulumi.OutputState }
func (InstanceIpv4ArrayOutput) ElementType ¶
func (InstanceIpv4ArrayOutput) ElementType() reflect.Type
func (InstanceIpv4ArrayOutput) Index ¶
func (o InstanceIpv4ArrayOutput) Index(i pulumi.IntInput) InstanceIpv4Output
func (InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutput ¶
func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput
func (InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutputWithContext ¶
func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutputWithContext(ctx context.Context) InstanceIpv4ArrayOutput
type InstanceIpv4Info ¶
type InstanceIpv4InfoArgs ¶
type InstanceIpv4InfoArgs struct { // Description of the IP, maximum length 25. Description pulumi.StringPtrInput `pulumi:"description"` // Intranet IP. Ip pulumi.StringPtrInput `pulumi:"ip"` // Indicates whether the IP is primary. Primary pulumi.BoolPtrInput `pulumi:"primary"` }
func (InstanceIpv4InfoArgs) ElementType ¶
func (InstanceIpv4InfoArgs) ElementType() reflect.Type
func (InstanceIpv4InfoArgs) ToInstanceIpv4InfoOutput ¶
func (i InstanceIpv4InfoArgs) ToInstanceIpv4InfoOutput() InstanceIpv4InfoOutput
func (InstanceIpv4InfoArgs) ToInstanceIpv4InfoOutputWithContext ¶
func (i InstanceIpv4InfoArgs) ToInstanceIpv4InfoOutputWithContext(ctx context.Context) InstanceIpv4InfoOutput
type InstanceIpv4InfoArray ¶
type InstanceIpv4InfoArray []InstanceIpv4InfoInput
func (InstanceIpv4InfoArray) ElementType ¶
func (InstanceIpv4InfoArray) ElementType() reflect.Type
func (InstanceIpv4InfoArray) ToInstanceIpv4InfoArrayOutput ¶
func (i InstanceIpv4InfoArray) ToInstanceIpv4InfoArrayOutput() InstanceIpv4InfoArrayOutput
func (InstanceIpv4InfoArray) ToInstanceIpv4InfoArrayOutputWithContext ¶
func (i InstanceIpv4InfoArray) ToInstanceIpv4InfoArrayOutputWithContext(ctx context.Context) InstanceIpv4InfoArrayOutput
type InstanceIpv4InfoArrayInput ¶
type InstanceIpv4InfoArrayInput interface { pulumi.Input ToInstanceIpv4InfoArrayOutput() InstanceIpv4InfoArrayOutput ToInstanceIpv4InfoArrayOutputWithContext(context.Context) InstanceIpv4InfoArrayOutput }
InstanceIpv4InfoArrayInput is an input type that accepts InstanceIpv4InfoArray and InstanceIpv4InfoArrayOutput values. You can construct a concrete instance of `InstanceIpv4InfoArrayInput` via:
InstanceIpv4InfoArray{ InstanceIpv4InfoArgs{...} }
type InstanceIpv4InfoArrayOutput ¶
type InstanceIpv4InfoArrayOutput struct{ *pulumi.OutputState }
func (InstanceIpv4InfoArrayOutput) ElementType ¶
func (InstanceIpv4InfoArrayOutput) ElementType() reflect.Type
func (InstanceIpv4InfoArrayOutput) Index ¶
func (o InstanceIpv4InfoArrayOutput) Index(i pulumi.IntInput) InstanceIpv4InfoOutput
func (InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutput ¶
func (o InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutput() InstanceIpv4InfoArrayOutput
func (InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutputWithContext ¶
func (o InstanceIpv4InfoArrayOutput) ToInstanceIpv4InfoArrayOutputWithContext(ctx context.Context) InstanceIpv4InfoArrayOutput
type InstanceIpv4InfoInput ¶
type InstanceIpv4InfoInput interface { pulumi.Input ToInstanceIpv4InfoOutput() InstanceIpv4InfoOutput ToInstanceIpv4InfoOutputWithContext(context.Context) InstanceIpv4InfoOutput }
InstanceIpv4InfoInput is an input type that accepts InstanceIpv4InfoArgs and InstanceIpv4InfoOutput values. You can construct a concrete instance of `InstanceIpv4InfoInput` via:
InstanceIpv4InfoArgs{...}
type InstanceIpv4InfoOutput ¶
type InstanceIpv4InfoOutput struct{ *pulumi.OutputState }
func (InstanceIpv4InfoOutput) Description ¶
func (o InstanceIpv4InfoOutput) Description() pulumi.StringPtrOutput
Description of the IP, maximum length 25.
func (InstanceIpv4InfoOutput) ElementType ¶
func (InstanceIpv4InfoOutput) ElementType() reflect.Type
func (InstanceIpv4InfoOutput) Ip ¶
func (o InstanceIpv4InfoOutput) Ip() pulumi.StringPtrOutput
Intranet IP.
func (InstanceIpv4InfoOutput) Primary ¶
func (o InstanceIpv4InfoOutput) Primary() pulumi.BoolPtrOutput
Indicates whether the IP is primary.
func (InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutput ¶
func (o InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutput() InstanceIpv4InfoOutput
func (InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutputWithContext ¶
func (o InstanceIpv4InfoOutput) ToInstanceIpv4InfoOutputWithContext(ctx context.Context) InstanceIpv4InfoOutput
type InstanceIpv4Input ¶
type InstanceIpv4Input interface { pulumi.Input ToInstanceIpv4Output() InstanceIpv4Output ToInstanceIpv4OutputWithContext(context.Context) InstanceIpv4Output }
InstanceIpv4Input is an input type that accepts InstanceIpv4Args and InstanceIpv4Output values. You can construct a concrete instance of `InstanceIpv4Input` via:
InstanceIpv4Args{...}
type InstanceIpv4Output ¶
type InstanceIpv4Output struct{ *pulumi.OutputState }
func (InstanceIpv4Output) Description ¶
func (o InstanceIpv4Output) Description() pulumi.StringPtrOutput
Description of the IP, maximum length 25.
func (InstanceIpv4Output) ElementType ¶
func (InstanceIpv4Output) ElementType() reflect.Type
func (InstanceIpv4Output) Primary ¶
func (o InstanceIpv4Output) Primary() pulumi.BoolOutput
Indicates whether the IP is primary.
func (InstanceIpv4Output) ToInstanceIpv4Output ¶
func (o InstanceIpv4Output) ToInstanceIpv4Output() InstanceIpv4Output
func (InstanceIpv4Output) ToInstanceIpv4OutputWithContext ¶
func (o InstanceIpv4Output) ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output
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) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Creation time of the ENI.
func (InstanceOutput) Description ¶
func (o InstanceOutput) Description() pulumi.StringPtrOutput
Description of the IP, maximum length 25.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) Ipv4Count ¶
func (o InstanceOutput) Ipv4Count() pulumi.IntPtrOutput
The number of intranet IPv4s. When it is greater than 1, there is only one primary intranet IP. The others are auxiliary intranet IPs, which conflict with `ipv4s`.
func (InstanceOutput) Ipv4Infos ¶
func (o InstanceOutput) Ipv4Infos() InstanceIpv4InfoArrayOutput
An information list of IPv4s. Each element contains the following attributes:
func (InstanceOutput) Ipv4s ¶
func (o InstanceOutput) Ipv4s() InstanceIpv4ArrayOutput
Applying for intranet IPv4s collection, conflict with `ipv4Count`. When there are multiple ipv4s, can only be one primary IP, and the maximum length of the array is 30. Each element contains the following attributes:
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Name of the ENI, maximum length 60.
func (InstanceOutput) Primary ¶
func (o InstanceOutput) Primary() pulumi.BoolOutput
Indicates whether the IP is primary.
func (InstanceOutput) SecurityGroups ¶
func (o InstanceOutput) SecurityGroups() pulumi.StringArrayOutput
A set of security group IDs.
func (InstanceOutput) SubnetId ¶
func (o InstanceOutput) SubnetId() pulumi.StringOutput
ID of the subnet within this vpc.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // Creation time of the ENI. CreateTime pulumi.StringPtrInput // Description of the IP, maximum length 25. Description pulumi.StringPtrInput // The number of intranet IPv4s. When it is greater than 1, there is only one primary intranet IP. The others are auxiliary intranet IPs, which conflict with `ipv4s`. Ipv4Count pulumi.IntPtrInput // An information list of IPv4s. Each element contains the following attributes: Ipv4Infos InstanceIpv4InfoArrayInput // Applying for intranet IPv4s collection, conflict with `ipv4Count`. When there are multiple ipv4s, can only be one primary IP, and the maximum length of the array is 30. Each element contains the following attributes: Ipv4s InstanceIpv4ArrayInput // MAC address. Mac pulumi.StringPtrInput // Name of the ENI, maximum length 60. Name pulumi.StringPtrInput // Indicates whether the IP is primary. Primary pulumi.BoolPtrInput // A set of security group IDs. SecurityGroups pulumi.StringArrayInput // State of the ENI. State pulumi.StringPtrInput // ID of the subnet within this vpc. SubnetId pulumi.StringPtrInput // Tags of the ENI. Tags pulumi.MapInput // ID of the vpc. VpcId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type Ipv4Address ¶ added in v0.1.9
type Ipv4Address struct { pulumi.CustomResourceState // The ID of the ENI instance, such as `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` // The information on private IP addresses, of which you can specify a maximum of 10 at a time. You should provide either this parameter or SecondaryPrivateIpAddressCount, or both. PrivateIpAddresses Ipv4AddressPrivateIpAddressArrayOutput `pulumi:"privateIpAddresses"` // IP service level. It is used together with `SecondaryPrivateIpAddressCount`. Values: PT` (Gold), `AU` (Silver), `AG `(Bronze) and DEFAULT (Default). QosLevel pulumi.StringOutput `pulumi:"qosLevel"` // The number of newly-applied private IP addresses. You should provide either this parameter or PrivateIpAddresses, or both. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount pulumi.IntOutput `pulumi:"secondaryPrivateIpAddressCount"` }
Provides a resource to create a vpc eniIpv4Address
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eni" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Enis"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { eni, err := Enis.GetInstance(ctx, &enis.GetInstanceArgs{ Name: pulumi.StringRef("Primary ENI"), }, nil) if err != nil { return err } _, err = Eni.NewIpv4Address(ctx, "eniIpv4Address", &Eni.Ipv4AddressArgs{ NetworkInterfaceId: pulumi.String(eni.Enis[0].Id), SecondaryPrivateIpAddressCount: pulumi.Int(3), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
vpc eni_ipv4_address can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Eni/ipv4Address:Ipv4Address eni_ipv4_address eni_id ```
func GetIpv4Address ¶ added in v0.1.9
func GetIpv4Address(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Ipv4AddressState, opts ...pulumi.ResourceOption) (*Ipv4Address, error)
GetIpv4Address gets an existing Ipv4Address 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 NewIpv4Address ¶ added in v0.1.9
func NewIpv4Address(ctx *pulumi.Context, name string, args *Ipv4AddressArgs, opts ...pulumi.ResourceOption) (*Ipv4Address, error)
NewIpv4Address registers a new resource with the given unique name, arguments, and options.
func (*Ipv4Address) ElementType ¶ added in v0.1.9
func (*Ipv4Address) ElementType() reflect.Type
func (*Ipv4Address) ToIpv4AddressOutput ¶ added in v0.1.9
func (i *Ipv4Address) ToIpv4AddressOutput() Ipv4AddressOutput
func (*Ipv4Address) ToIpv4AddressOutputWithContext ¶ added in v0.1.9
func (i *Ipv4Address) ToIpv4AddressOutputWithContext(ctx context.Context) Ipv4AddressOutput
type Ipv4AddressArgs ¶ added in v0.1.9
type Ipv4AddressArgs struct { // The ID of the ENI instance, such as `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringInput // The information on private IP addresses, of which you can specify a maximum of 10 at a time. You should provide either this parameter or SecondaryPrivateIpAddressCount, or both. PrivateIpAddresses Ipv4AddressPrivateIpAddressArrayInput // IP service level. It is used together with `SecondaryPrivateIpAddressCount`. Values: PT` (Gold), `AU` (Silver), `AG `(Bronze) and DEFAULT (Default). QosLevel pulumi.StringPtrInput // The number of newly-applied private IP addresses. You should provide either this parameter or PrivateIpAddresses, or both. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount pulumi.IntPtrInput }
The set of arguments for constructing a Ipv4Address resource.
func (Ipv4AddressArgs) ElementType ¶ added in v0.1.9
func (Ipv4AddressArgs) ElementType() reflect.Type
type Ipv4AddressArray ¶ added in v0.1.9
type Ipv4AddressArray []Ipv4AddressInput
func (Ipv4AddressArray) ElementType ¶ added in v0.1.9
func (Ipv4AddressArray) ElementType() reflect.Type
func (Ipv4AddressArray) ToIpv4AddressArrayOutput ¶ added in v0.1.9
func (i Ipv4AddressArray) ToIpv4AddressArrayOutput() Ipv4AddressArrayOutput
func (Ipv4AddressArray) ToIpv4AddressArrayOutputWithContext ¶ added in v0.1.9
func (i Ipv4AddressArray) ToIpv4AddressArrayOutputWithContext(ctx context.Context) Ipv4AddressArrayOutput
type Ipv4AddressArrayInput ¶ added in v0.1.9
type Ipv4AddressArrayInput interface { pulumi.Input ToIpv4AddressArrayOutput() Ipv4AddressArrayOutput ToIpv4AddressArrayOutputWithContext(context.Context) Ipv4AddressArrayOutput }
Ipv4AddressArrayInput is an input type that accepts Ipv4AddressArray and Ipv4AddressArrayOutput values. You can construct a concrete instance of `Ipv4AddressArrayInput` via:
Ipv4AddressArray{ Ipv4AddressArgs{...} }
type Ipv4AddressArrayOutput ¶ added in v0.1.9
type Ipv4AddressArrayOutput struct{ *pulumi.OutputState }
func (Ipv4AddressArrayOutput) ElementType ¶ added in v0.1.9
func (Ipv4AddressArrayOutput) ElementType() reflect.Type
func (Ipv4AddressArrayOutput) Index ¶ added in v0.1.9
func (o Ipv4AddressArrayOutput) Index(i pulumi.IntInput) Ipv4AddressOutput
func (Ipv4AddressArrayOutput) ToIpv4AddressArrayOutput ¶ added in v0.1.9
func (o Ipv4AddressArrayOutput) ToIpv4AddressArrayOutput() Ipv4AddressArrayOutput
func (Ipv4AddressArrayOutput) ToIpv4AddressArrayOutputWithContext ¶ added in v0.1.9
func (o Ipv4AddressArrayOutput) ToIpv4AddressArrayOutputWithContext(ctx context.Context) Ipv4AddressArrayOutput
type Ipv4AddressInput ¶ added in v0.1.9
type Ipv4AddressInput interface { pulumi.Input ToIpv4AddressOutput() Ipv4AddressOutput ToIpv4AddressOutputWithContext(ctx context.Context) Ipv4AddressOutput }
type Ipv4AddressMap ¶ added in v0.1.9
type Ipv4AddressMap map[string]Ipv4AddressInput
func (Ipv4AddressMap) ElementType ¶ added in v0.1.9
func (Ipv4AddressMap) ElementType() reflect.Type
func (Ipv4AddressMap) ToIpv4AddressMapOutput ¶ added in v0.1.9
func (i Ipv4AddressMap) ToIpv4AddressMapOutput() Ipv4AddressMapOutput
func (Ipv4AddressMap) ToIpv4AddressMapOutputWithContext ¶ added in v0.1.9
func (i Ipv4AddressMap) ToIpv4AddressMapOutputWithContext(ctx context.Context) Ipv4AddressMapOutput
type Ipv4AddressMapInput ¶ added in v0.1.9
type Ipv4AddressMapInput interface { pulumi.Input ToIpv4AddressMapOutput() Ipv4AddressMapOutput ToIpv4AddressMapOutputWithContext(context.Context) Ipv4AddressMapOutput }
Ipv4AddressMapInput is an input type that accepts Ipv4AddressMap and Ipv4AddressMapOutput values. You can construct a concrete instance of `Ipv4AddressMapInput` via:
Ipv4AddressMap{ "key": Ipv4AddressArgs{...} }
type Ipv4AddressMapOutput ¶ added in v0.1.9
type Ipv4AddressMapOutput struct{ *pulumi.OutputState }
func (Ipv4AddressMapOutput) ElementType ¶ added in v0.1.9
func (Ipv4AddressMapOutput) ElementType() reflect.Type
func (Ipv4AddressMapOutput) MapIndex ¶ added in v0.1.9
func (o Ipv4AddressMapOutput) MapIndex(k pulumi.StringInput) Ipv4AddressOutput
func (Ipv4AddressMapOutput) ToIpv4AddressMapOutput ¶ added in v0.1.9
func (o Ipv4AddressMapOutput) ToIpv4AddressMapOutput() Ipv4AddressMapOutput
func (Ipv4AddressMapOutput) ToIpv4AddressMapOutputWithContext ¶ added in v0.1.9
func (o Ipv4AddressMapOutput) ToIpv4AddressMapOutputWithContext(ctx context.Context) Ipv4AddressMapOutput
type Ipv4AddressOutput ¶ added in v0.1.9
type Ipv4AddressOutput struct{ *pulumi.OutputState }
func (Ipv4AddressOutput) ElementType ¶ added in v0.1.9
func (Ipv4AddressOutput) ElementType() reflect.Type
func (Ipv4AddressOutput) NetworkInterfaceId ¶ added in v0.1.9
func (o Ipv4AddressOutput) NetworkInterfaceId() pulumi.StringOutput
The ID of the ENI instance, such as `eni-m6dyj72l`.
func (Ipv4AddressOutput) PrivateIpAddresses ¶ added in v0.1.9
func (o Ipv4AddressOutput) PrivateIpAddresses() Ipv4AddressPrivateIpAddressArrayOutput
The information on private IP addresses, of which you can specify a maximum of 10 at a time. You should provide either this parameter or SecondaryPrivateIpAddressCount, or both.
func (Ipv4AddressOutput) QosLevel ¶ added in v0.1.9
func (o Ipv4AddressOutput) QosLevel() pulumi.StringOutput
IP service level. It is used together with `SecondaryPrivateIpAddressCount`. Values: PT` (Gold), `AU` (Silver), `AG `(Bronze) and DEFAULT (Default).
func (Ipv4AddressOutput) SecondaryPrivateIpAddressCount ¶ added in v0.1.9
func (o Ipv4AddressOutput) SecondaryPrivateIpAddressCount() pulumi.IntOutput
The number of newly-applied private IP addresses. You should provide either this parameter or PrivateIpAddresses, or both. The total number of private IP addresses cannot exceed the quota.
func (Ipv4AddressOutput) ToIpv4AddressOutput ¶ added in v0.1.9
func (o Ipv4AddressOutput) ToIpv4AddressOutput() Ipv4AddressOutput
func (Ipv4AddressOutput) ToIpv4AddressOutputWithContext ¶ added in v0.1.9
func (o Ipv4AddressOutput) ToIpv4AddressOutputWithContext(ctx context.Context) Ipv4AddressOutput
type Ipv4AddressPrivateIpAddress ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddress struct { // EIP instance ID, such as `eip-11112222`. AddressId *string `pulumi:"addressId"` // Private IP description. Description *string `pulumi:"description"` // Whether the public IP is blocked. IsWanIpBlocked *bool `pulumi:"isWanIpBlocked"` // Whether it is a primary IP. Primary *bool `pulumi:"primary"` // Private IP address. PrivateIpAddress string `pulumi:"privateIpAddress"` // Public IP address. PublicIpAddress *string `pulumi:"publicIpAddress"` // IP service level. Values: PT`(Gold),`AU`(Silver),`AG `(Bronze) and DEFAULT` (Default). QosLevel *string `pulumi:"qosLevel"` // IP status: `PENDING`: Creating, `MIGRATING`: Migrating, `DELETING`: Deleting, `AVAILABLE`: Available. State *string `pulumi:"state"` }
type Ipv4AddressPrivateIpAddressArgs ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressArgs struct { // EIP instance ID, such as `eip-11112222`. AddressId pulumi.StringPtrInput `pulumi:"addressId"` // Private IP description. Description pulumi.StringPtrInput `pulumi:"description"` // Whether the public IP is blocked. IsWanIpBlocked pulumi.BoolPtrInput `pulumi:"isWanIpBlocked"` // Whether it is a primary IP. Primary pulumi.BoolPtrInput `pulumi:"primary"` // Private IP address. PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"` // Public IP address. PublicIpAddress pulumi.StringPtrInput `pulumi:"publicIpAddress"` // IP service level. Values: PT`(Gold),`AU`(Silver),`AG `(Bronze) and DEFAULT` (Default). QosLevel pulumi.StringPtrInput `pulumi:"qosLevel"` // IP status: `PENDING`: Creating, `MIGRATING`: Migrating, `DELETING`: Deleting, `AVAILABLE`: Available. State pulumi.StringPtrInput `pulumi:"state"` }
func (Ipv4AddressPrivateIpAddressArgs) ElementType ¶ added in v0.1.9
func (Ipv4AddressPrivateIpAddressArgs) ElementType() reflect.Type
func (Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutput ¶ added in v0.1.9
func (i Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutput() Ipv4AddressPrivateIpAddressOutput
func (Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutputWithContext ¶ added in v0.1.9
func (i Ipv4AddressPrivateIpAddressArgs) ToIpv4AddressPrivateIpAddressOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressOutput
type Ipv4AddressPrivateIpAddressArray ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressArray []Ipv4AddressPrivateIpAddressInput
func (Ipv4AddressPrivateIpAddressArray) ElementType ¶ added in v0.1.9
func (Ipv4AddressPrivateIpAddressArray) ElementType() reflect.Type
func (Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutput ¶ added in v0.1.9
func (i Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutput() Ipv4AddressPrivateIpAddressArrayOutput
func (Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutputWithContext ¶ added in v0.1.9
func (i Ipv4AddressPrivateIpAddressArray) ToIpv4AddressPrivateIpAddressArrayOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressArrayOutput
type Ipv4AddressPrivateIpAddressArrayInput ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressArrayInput interface { pulumi.Input ToIpv4AddressPrivateIpAddressArrayOutput() Ipv4AddressPrivateIpAddressArrayOutput ToIpv4AddressPrivateIpAddressArrayOutputWithContext(context.Context) Ipv4AddressPrivateIpAddressArrayOutput }
Ipv4AddressPrivateIpAddressArrayInput is an input type that accepts Ipv4AddressPrivateIpAddressArray and Ipv4AddressPrivateIpAddressArrayOutput values. You can construct a concrete instance of `Ipv4AddressPrivateIpAddressArrayInput` via:
Ipv4AddressPrivateIpAddressArray{ Ipv4AddressPrivateIpAddressArgs{...} }
type Ipv4AddressPrivateIpAddressArrayOutput ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressArrayOutput struct{ *pulumi.OutputState }
func (Ipv4AddressPrivateIpAddressArrayOutput) ElementType ¶ added in v0.1.9
func (Ipv4AddressPrivateIpAddressArrayOutput) ElementType() reflect.Type
func (Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutput ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutput() Ipv4AddressPrivateIpAddressArrayOutput
func (Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutputWithContext ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressArrayOutput) ToIpv4AddressPrivateIpAddressArrayOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressArrayOutput
type Ipv4AddressPrivateIpAddressInput ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressInput interface { pulumi.Input ToIpv4AddressPrivateIpAddressOutput() Ipv4AddressPrivateIpAddressOutput ToIpv4AddressPrivateIpAddressOutputWithContext(context.Context) Ipv4AddressPrivateIpAddressOutput }
Ipv4AddressPrivateIpAddressInput is an input type that accepts Ipv4AddressPrivateIpAddressArgs and Ipv4AddressPrivateIpAddressOutput values. You can construct a concrete instance of `Ipv4AddressPrivateIpAddressInput` via:
Ipv4AddressPrivateIpAddressArgs{...}
type Ipv4AddressPrivateIpAddressOutput ¶ added in v0.1.9
type Ipv4AddressPrivateIpAddressOutput struct{ *pulumi.OutputState }
func (Ipv4AddressPrivateIpAddressOutput) AddressId ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) AddressId() pulumi.StringPtrOutput
EIP instance ID, such as `eip-11112222`.
func (Ipv4AddressPrivateIpAddressOutput) Description ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) Description() pulumi.StringPtrOutput
Private IP description.
func (Ipv4AddressPrivateIpAddressOutput) ElementType ¶ added in v0.1.9
func (Ipv4AddressPrivateIpAddressOutput) ElementType() reflect.Type
func (Ipv4AddressPrivateIpAddressOutput) IsWanIpBlocked ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) IsWanIpBlocked() pulumi.BoolPtrOutput
Whether the public IP is blocked.
func (Ipv4AddressPrivateIpAddressOutput) Primary ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) Primary() pulumi.BoolPtrOutput
Whether it is a primary IP.
func (Ipv4AddressPrivateIpAddressOutput) PrivateIpAddress ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) PrivateIpAddress() pulumi.StringOutput
Private IP address.
func (Ipv4AddressPrivateIpAddressOutput) PublicIpAddress ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) PublicIpAddress() pulumi.StringPtrOutput
Public IP address.
func (Ipv4AddressPrivateIpAddressOutput) QosLevel ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) QosLevel() pulumi.StringPtrOutput
IP service level. Values: PT`(Gold),`AU`(Silver),`AG `(Bronze) and DEFAULT` (Default).
func (Ipv4AddressPrivateIpAddressOutput) State ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) State() pulumi.StringPtrOutput
IP status: `PENDING`: Creating, `MIGRATING`: Migrating, `DELETING`: Deleting, `AVAILABLE`: Available.
func (Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutput ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutput() Ipv4AddressPrivateIpAddressOutput
func (Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutputWithContext ¶ added in v0.1.9
func (o Ipv4AddressPrivateIpAddressOutput) ToIpv4AddressPrivateIpAddressOutputWithContext(ctx context.Context) Ipv4AddressPrivateIpAddressOutput
type Ipv4AddressState ¶ added in v0.1.9
type Ipv4AddressState struct { // The ID of the ENI instance, such as `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringPtrInput // The information on private IP addresses, of which you can specify a maximum of 10 at a time. You should provide either this parameter or SecondaryPrivateIpAddressCount, or both. PrivateIpAddresses Ipv4AddressPrivateIpAddressArrayInput // IP service level. It is used together with `SecondaryPrivateIpAddressCount`. Values: PT` (Gold), `AU` (Silver), `AG `(Bronze) and DEFAULT (Default). QosLevel pulumi.StringPtrInput // The number of newly-applied private IP addresses. You should provide either this parameter or PrivateIpAddresses, or both. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount pulumi.IntPtrInput }
func (Ipv4AddressState) ElementType ¶ added in v0.1.9
func (Ipv4AddressState) ElementType() reflect.Type
type Ipv6Address ¶ added in v0.1.9
type Ipv6Address struct { pulumi.CustomResourceState // The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter `ipv6Addresses` for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided. Ipv6AddressCount pulumi.IntOutput `pulumi:"ipv6AddressCount"` // The specified `IPv6` address list, up to 10 can be specified at a time. Combined with the input parameter `Ipv6AddressCount` to calculate the quota. Mandatory one with Ipv6AddressCount. Ipv6Addresses Ipv6AddressIpv6AddressArrayOutput `pulumi:"ipv6Addresses"` // ENI instance `ID`, in the form of `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` }
Provides a resource to create a vpc eniIpv6Address
## Import
vpc eni_ipv6_address can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Eni/ipv6Address:Ipv6Address ipv6_eni_address eni_id ```
func GetIpv6Address ¶ added in v0.1.9
func GetIpv6Address(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Ipv6AddressState, opts ...pulumi.ResourceOption) (*Ipv6Address, error)
GetIpv6Address gets an existing Ipv6Address 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 NewIpv6Address ¶ added in v0.1.9
func NewIpv6Address(ctx *pulumi.Context, name string, args *Ipv6AddressArgs, opts ...pulumi.ResourceOption) (*Ipv6Address, error)
NewIpv6Address registers a new resource with the given unique name, arguments, and options.
func (*Ipv6Address) ElementType ¶ added in v0.1.9
func (*Ipv6Address) ElementType() reflect.Type
func (*Ipv6Address) ToIpv6AddressOutput ¶ added in v0.1.9
func (i *Ipv6Address) ToIpv6AddressOutput() Ipv6AddressOutput
func (*Ipv6Address) ToIpv6AddressOutputWithContext ¶ added in v0.1.9
func (i *Ipv6Address) ToIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressOutput
type Ipv6AddressArgs ¶ added in v0.1.9
type Ipv6AddressArgs struct { // The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter `ipv6Addresses` for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided. Ipv6AddressCount pulumi.IntPtrInput // The specified `IPv6` address list, up to 10 can be specified at a time. Combined with the input parameter `Ipv6AddressCount` to calculate the quota. Mandatory one with Ipv6AddressCount. Ipv6Addresses Ipv6AddressIpv6AddressArrayInput // ENI instance `ID`, in the form of `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringInput }
The set of arguments for constructing a Ipv6Address resource.
func (Ipv6AddressArgs) ElementType ¶ added in v0.1.9
func (Ipv6AddressArgs) ElementType() reflect.Type
type Ipv6AddressArray ¶ added in v0.1.9
type Ipv6AddressArray []Ipv6AddressInput
func (Ipv6AddressArray) ElementType ¶ added in v0.1.9
func (Ipv6AddressArray) ElementType() reflect.Type
func (Ipv6AddressArray) ToIpv6AddressArrayOutput ¶ added in v0.1.9
func (i Ipv6AddressArray) ToIpv6AddressArrayOutput() Ipv6AddressArrayOutput
func (Ipv6AddressArray) ToIpv6AddressArrayOutputWithContext ¶ added in v0.1.9
func (i Ipv6AddressArray) ToIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressArrayOutput
type Ipv6AddressArrayInput ¶ added in v0.1.9
type Ipv6AddressArrayInput interface { pulumi.Input ToIpv6AddressArrayOutput() Ipv6AddressArrayOutput ToIpv6AddressArrayOutputWithContext(context.Context) Ipv6AddressArrayOutput }
Ipv6AddressArrayInput is an input type that accepts Ipv6AddressArray and Ipv6AddressArrayOutput values. You can construct a concrete instance of `Ipv6AddressArrayInput` via:
Ipv6AddressArray{ Ipv6AddressArgs{...} }
type Ipv6AddressArrayOutput ¶ added in v0.1.9
type Ipv6AddressArrayOutput struct{ *pulumi.OutputState }
func (Ipv6AddressArrayOutput) ElementType ¶ added in v0.1.9
func (Ipv6AddressArrayOutput) ElementType() reflect.Type
func (Ipv6AddressArrayOutput) Index ¶ added in v0.1.9
func (o Ipv6AddressArrayOutput) Index(i pulumi.IntInput) Ipv6AddressOutput
func (Ipv6AddressArrayOutput) ToIpv6AddressArrayOutput ¶ added in v0.1.9
func (o Ipv6AddressArrayOutput) ToIpv6AddressArrayOutput() Ipv6AddressArrayOutput
func (Ipv6AddressArrayOutput) ToIpv6AddressArrayOutputWithContext ¶ added in v0.1.9
func (o Ipv6AddressArrayOutput) ToIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressArrayOutput
type Ipv6AddressInput ¶ added in v0.1.9
type Ipv6AddressInput interface { pulumi.Input ToIpv6AddressOutput() Ipv6AddressOutput ToIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressOutput }
type Ipv6AddressIpv6Address ¶ added in v0.1.9
type Ipv6AddressIpv6Address struct { // `IPv6` address, in the form of: `3402:4e00:20:100:0:8cd9:2a67:71f3`. Address string `pulumi:"address"` // `EIP` instance `ID`, such as:`eip-hxlqja90`. AddressId *string `pulumi:"addressId"` // Description. Description *string `pulumi:"description"` // Whether the public network IP is blocked. IsWanIpBlocked *bool `pulumi:"isWanIpBlocked"` // Whether to master `IP`. Primary *bool `pulumi:"primary"` // `IPv6` address status: `PENDING`: pending, `MIGRATING`: migrating, `DELETING`: deleting, `AVAILABLE`: available. State *string `pulumi:"state"` }
type Ipv6AddressIpv6AddressArgs ¶ added in v0.1.9
type Ipv6AddressIpv6AddressArgs struct { // `IPv6` address, in the form of: `3402:4e00:20:100:0:8cd9:2a67:71f3`. Address pulumi.StringInput `pulumi:"address"` // `EIP` instance `ID`, such as:`eip-hxlqja90`. AddressId pulumi.StringPtrInput `pulumi:"addressId"` // Description. Description pulumi.StringPtrInput `pulumi:"description"` // Whether the public network IP is blocked. IsWanIpBlocked pulumi.BoolPtrInput `pulumi:"isWanIpBlocked"` // Whether to master `IP`. Primary pulumi.BoolPtrInput `pulumi:"primary"` // `IPv6` address status: `PENDING`: pending, `MIGRATING`: migrating, `DELETING`: deleting, `AVAILABLE`: available. State pulumi.StringPtrInput `pulumi:"state"` }
func (Ipv6AddressIpv6AddressArgs) ElementType ¶ added in v0.1.9
func (Ipv6AddressIpv6AddressArgs) ElementType() reflect.Type
func (Ipv6AddressIpv6AddressArgs) ToIpv6AddressIpv6AddressOutput ¶ added in v0.1.9
func (i Ipv6AddressIpv6AddressArgs) ToIpv6AddressIpv6AddressOutput() Ipv6AddressIpv6AddressOutput
func (Ipv6AddressIpv6AddressArgs) ToIpv6AddressIpv6AddressOutputWithContext ¶ added in v0.1.9
func (i Ipv6AddressIpv6AddressArgs) ToIpv6AddressIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressOutput
type Ipv6AddressIpv6AddressArray ¶ added in v0.1.9
type Ipv6AddressIpv6AddressArray []Ipv6AddressIpv6AddressInput
func (Ipv6AddressIpv6AddressArray) ElementType ¶ added in v0.1.9
func (Ipv6AddressIpv6AddressArray) ElementType() reflect.Type
func (Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutput ¶ added in v0.1.9
func (i Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutput() Ipv6AddressIpv6AddressArrayOutput
func (Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutputWithContext ¶ added in v0.1.9
func (i Ipv6AddressIpv6AddressArray) ToIpv6AddressIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressArrayOutput
type Ipv6AddressIpv6AddressArrayInput ¶ added in v0.1.9
type Ipv6AddressIpv6AddressArrayInput interface { pulumi.Input ToIpv6AddressIpv6AddressArrayOutput() Ipv6AddressIpv6AddressArrayOutput ToIpv6AddressIpv6AddressArrayOutputWithContext(context.Context) Ipv6AddressIpv6AddressArrayOutput }
Ipv6AddressIpv6AddressArrayInput is an input type that accepts Ipv6AddressIpv6AddressArray and Ipv6AddressIpv6AddressArrayOutput values. You can construct a concrete instance of `Ipv6AddressIpv6AddressArrayInput` via:
Ipv6AddressIpv6AddressArray{ Ipv6AddressIpv6AddressArgs{...} }
type Ipv6AddressIpv6AddressArrayOutput ¶ added in v0.1.9
type Ipv6AddressIpv6AddressArrayOutput struct{ *pulumi.OutputState }
func (Ipv6AddressIpv6AddressArrayOutput) ElementType ¶ added in v0.1.9
func (Ipv6AddressIpv6AddressArrayOutput) ElementType() reflect.Type
func (Ipv6AddressIpv6AddressArrayOutput) Index ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressArrayOutput) Index(i pulumi.IntInput) Ipv6AddressIpv6AddressOutput
func (Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutput ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutput() Ipv6AddressIpv6AddressArrayOutput
func (Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutputWithContext ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressArrayOutput) ToIpv6AddressIpv6AddressArrayOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressArrayOutput
type Ipv6AddressIpv6AddressInput ¶ added in v0.1.9
type Ipv6AddressIpv6AddressInput interface { pulumi.Input ToIpv6AddressIpv6AddressOutput() Ipv6AddressIpv6AddressOutput ToIpv6AddressIpv6AddressOutputWithContext(context.Context) Ipv6AddressIpv6AddressOutput }
Ipv6AddressIpv6AddressInput is an input type that accepts Ipv6AddressIpv6AddressArgs and Ipv6AddressIpv6AddressOutput values. You can construct a concrete instance of `Ipv6AddressIpv6AddressInput` via:
Ipv6AddressIpv6AddressArgs{...}
type Ipv6AddressIpv6AddressOutput ¶ added in v0.1.9
type Ipv6AddressIpv6AddressOutput struct{ *pulumi.OutputState }
func (Ipv6AddressIpv6AddressOutput) Address ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) Address() pulumi.StringOutput
`IPv6` address, in the form of: `3402:4e00:20:100:0:8cd9:2a67:71f3`.
func (Ipv6AddressIpv6AddressOutput) AddressId ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) AddressId() pulumi.StringPtrOutput
`EIP` instance `ID`, such as:`eip-hxlqja90`.
func (Ipv6AddressIpv6AddressOutput) Description ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) Description() pulumi.StringPtrOutput
Description.
func (Ipv6AddressIpv6AddressOutput) ElementType ¶ added in v0.1.9
func (Ipv6AddressIpv6AddressOutput) ElementType() reflect.Type
func (Ipv6AddressIpv6AddressOutput) IsWanIpBlocked ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) IsWanIpBlocked() pulumi.BoolPtrOutput
Whether the public network IP is blocked.
func (Ipv6AddressIpv6AddressOutput) Primary ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) Primary() pulumi.BoolPtrOutput
Whether to master `IP`.
func (Ipv6AddressIpv6AddressOutput) State ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) State() pulumi.StringPtrOutput
`IPv6` address status: `PENDING`: pending, `MIGRATING`: migrating, `DELETING`: deleting, `AVAILABLE`: available.
func (Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutput ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutput() Ipv6AddressIpv6AddressOutput
func (Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutputWithContext ¶ added in v0.1.9
func (o Ipv6AddressIpv6AddressOutput) ToIpv6AddressIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressIpv6AddressOutput
type Ipv6AddressMap ¶ added in v0.1.9
type Ipv6AddressMap map[string]Ipv6AddressInput
func (Ipv6AddressMap) ElementType ¶ added in v0.1.9
func (Ipv6AddressMap) ElementType() reflect.Type
func (Ipv6AddressMap) ToIpv6AddressMapOutput ¶ added in v0.1.9
func (i Ipv6AddressMap) ToIpv6AddressMapOutput() Ipv6AddressMapOutput
func (Ipv6AddressMap) ToIpv6AddressMapOutputWithContext ¶ added in v0.1.9
func (i Ipv6AddressMap) ToIpv6AddressMapOutputWithContext(ctx context.Context) Ipv6AddressMapOutput
type Ipv6AddressMapInput ¶ added in v0.1.9
type Ipv6AddressMapInput interface { pulumi.Input ToIpv6AddressMapOutput() Ipv6AddressMapOutput ToIpv6AddressMapOutputWithContext(context.Context) Ipv6AddressMapOutput }
Ipv6AddressMapInput is an input type that accepts Ipv6AddressMap and Ipv6AddressMapOutput values. You can construct a concrete instance of `Ipv6AddressMapInput` via:
Ipv6AddressMap{ "key": Ipv6AddressArgs{...} }
type Ipv6AddressMapOutput ¶ added in v0.1.9
type Ipv6AddressMapOutput struct{ *pulumi.OutputState }
func (Ipv6AddressMapOutput) ElementType ¶ added in v0.1.9
func (Ipv6AddressMapOutput) ElementType() reflect.Type
func (Ipv6AddressMapOutput) MapIndex ¶ added in v0.1.9
func (o Ipv6AddressMapOutput) MapIndex(k pulumi.StringInput) Ipv6AddressOutput
func (Ipv6AddressMapOutput) ToIpv6AddressMapOutput ¶ added in v0.1.9
func (o Ipv6AddressMapOutput) ToIpv6AddressMapOutput() Ipv6AddressMapOutput
func (Ipv6AddressMapOutput) ToIpv6AddressMapOutputWithContext ¶ added in v0.1.9
func (o Ipv6AddressMapOutput) ToIpv6AddressMapOutputWithContext(ctx context.Context) Ipv6AddressMapOutput
type Ipv6AddressOutput ¶ added in v0.1.9
type Ipv6AddressOutput struct{ *pulumi.OutputState }
func (Ipv6AddressOutput) ElementType ¶ added in v0.1.9
func (Ipv6AddressOutput) ElementType() reflect.Type
func (Ipv6AddressOutput) Ipv6AddressCount ¶ added in v0.1.9
func (o Ipv6AddressOutput) Ipv6AddressCount() pulumi.IntOutput
The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter `ipv6Addresses` for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
func (Ipv6AddressOutput) Ipv6Addresses ¶ added in v0.1.9
func (o Ipv6AddressOutput) Ipv6Addresses() Ipv6AddressIpv6AddressArrayOutput
The specified `IPv6` address list, up to 10 can be specified at a time. Combined with the input parameter `Ipv6AddressCount` to calculate the quota. Mandatory one with Ipv6AddressCount.
func (Ipv6AddressOutput) NetworkInterfaceId ¶ added in v0.1.9
func (o Ipv6AddressOutput) NetworkInterfaceId() pulumi.StringOutput
ENI instance `ID`, in the form of `eni-m6dyj72l`.
func (Ipv6AddressOutput) ToIpv6AddressOutput ¶ added in v0.1.9
func (o Ipv6AddressOutput) ToIpv6AddressOutput() Ipv6AddressOutput
func (Ipv6AddressOutput) ToIpv6AddressOutputWithContext ¶ added in v0.1.9
func (o Ipv6AddressOutput) ToIpv6AddressOutputWithContext(ctx context.Context) Ipv6AddressOutput
type Ipv6AddressState ¶ added in v0.1.9
type Ipv6AddressState struct { // The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter `ipv6Addresses` for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided. Ipv6AddressCount pulumi.IntPtrInput // The specified `IPv6` address list, up to 10 can be specified at a time. Combined with the input parameter `Ipv6AddressCount` to calculate the quota. Mandatory one with Ipv6AddressCount. Ipv6Addresses Ipv6AddressIpv6AddressArrayInput // ENI instance `ID`, in the form of `eni-m6dyj72l`. NetworkInterfaceId pulumi.StringPtrInput }
func (Ipv6AddressState) ElementType ¶ added in v0.1.9
func (Ipv6AddressState) ElementType() reflect.Type
type SgAttachment ¶ added in v0.1.5
type SgAttachment struct { pulumi.CustomResourceState // ENI instance ID. Such as:eni-pxir56ns. It Only support set one eni instance now. NetworkInterfaceIds pulumi.StringOutput `pulumi:"networkInterfaceIds"` // Security group instance ID, for example:sg-33ocnj9n, can be obtained through DescribeSecurityGroups. There is a limit of 100 instances per request. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` }
Provides a resource to create a eniSgAttachment
> **Note:** If this resource is used to bind security groups to eni, it cannot be linked to `tentcloudEni` binding security group for simultaneous use.
## Import
vpc eni_sg_attachment can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Eni/sgAttachment:SgAttachment eni_sg_attachment eni_sg_attachment_id ```
func GetSgAttachment ¶ added in v0.1.5
func GetSgAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SgAttachmentState, opts ...pulumi.ResourceOption) (*SgAttachment, error)
GetSgAttachment gets an existing SgAttachment 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 NewSgAttachment ¶ added in v0.1.5
func NewSgAttachment(ctx *pulumi.Context, name string, args *SgAttachmentArgs, opts ...pulumi.ResourceOption) (*SgAttachment, error)
NewSgAttachment registers a new resource with the given unique name, arguments, and options.
func (*SgAttachment) ElementType ¶ added in v0.1.5
func (*SgAttachment) ElementType() reflect.Type
func (*SgAttachment) ToSgAttachmentOutput ¶ added in v0.1.5
func (i *SgAttachment) ToSgAttachmentOutput() SgAttachmentOutput
func (*SgAttachment) ToSgAttachmentOutputWithContext ¶ added in v0.1.5
func (i *SgAttachment) ToSgAttachmentOutputWithContext(ctx context.Context) SgAttachmentOutput
type SgAttachmentArgs ¶ added in v0.1.5
type SgAttachmentArgs struct { // ENI instance ID. Such as:eni-pxir56ns. It Only support set one eni instance now. NetworkInterfaceIds pulumi.StringInput // Security group instance ID, for example:sg-33ocnj9n, can be obtained through DescribeSecurityGroups. There is a limit of 100 instances per request. SecurityGroupIds pulumi.StringArrayInput }
The set of arguments for constructing a SgAttachment resource.
func (SgAttachmentArgs) ElementType ¶ added in v0.1.5
func (SgAttachmentArgs) ElementType() reflect.Type
type SgAttachmentArray ¶ added in v0.1.5
type SgAttachmentArray []SgAttachmentInput
func (SgAttachmentArray) ElementType ¶ added in v0.1.5
func (SgAttachmentArray) ElementType() reflect.Type
func (SgAttachmentArray) ToSgAttachmentArrayOutput ¶ added in v0.1.5
func (i SgAttachmentArray) ToSgAttachmentArrayOutput() SgAttachmentArrayOutput
func (SgAttachmentArray) ToSgAttachmentArrayOutputWithContext ¶ added in v0.1.5
func (i SgAttachmentArray) ToSgAttachmentArrayOutputWithContext(ctx context.Context) SgAttachmentArrayOutput
type SgAttachmentArrayInput ¶ added in v0.1.5
type SgAttachmentArrayInput interface { pulumi.Input ToSgAttachmentArrayOutput() SgAttachmentArrayOutput ToSgAttachmentArrayOutputWithContext(context.Context) SgAttachmentArrayOutput }
SgAttachmentArrayInput is an input type that accepts SgAttachmentArray and SgAttachmentArrayOutput values. You can construct a concrete instance of `SgAttachmentArrayInput` via:
SgAttachmentArray{ SgAttachmentArgs{...} }
type SgAttachmentArrayOutput ¶ added in v0.1.5
type SgAttachmentArrayOutput struct{ *pulumi.OutputState }
func (SgAttachmentArrayOutput) ElementType ¶ added in v0.1.5
func (SgAttachmentArrayOutput) ElementType() reflect.Type
func (SgAttachmentArrayOutput) Index ¶ added in v0.1.5
func (o SgAttachmentArrayOutput) Index(i pulumi.IntInput) SgAttachmentOutput
func (SgAttachmentArrayOutput) ToSgAttachmentArrayOutput ¶ added in v0.1.5
func (o SgAttachmentArrayOutput) ToSgAttachmentArrayOutput() SgAttachmentArrayOutput
func (SgAttachmentArrayOutput) ToSgAttachmentArrayOutputWithContext ¶ added in v0.1.5
func (o SgAttachmentArrayOutput) ToSgAttachmentArrayOutputWithContext(ctx context.Context) SgAttachmentArrayOutput
type SgAttachmentInput ¶ added in v0.1.5
type SgAttachmentInput interface { pulumi.Input ToSgAttachmentOutput() SgAttachmentOutput ToSgAttachmentOutputWithContext(ctx context.Context) SgAttachmentOutput }
type SgAttachmentMap ¶ added in v0.1.5
type SgAttachmentMap map[string]SgAttachmentInput
func (SgAttachmentMap) ElementType ¶ added in v0.1.5
func (SgAttachmentMap) ElementType() reflect.Type
func (SgAttachmentMap) ToSgAttachmentMapOutput ¶ added in v0.1.5
func (i SgAttachmentMap) ToSgAttachmentMapOutput() SgAttachmentMapOutput
func (SgAttachmentMap) ToSgAttachmentMapOutputWithContext ¶ added in v0.1.5
func (i SgAttachmentMap) ToSgAttachmentMapOutputWithContext(ctx context.Context) SgAttachmentMapOutput
type SgAttachmentMapInput ¶ added in v0.1.5
type SgAttachmentMapInput interface { pulumi.Input ToSgAttachmentMapOutput() SgAttachmentMapOutput ToSgAttachmentMapOutputWithContext(context.Context) SgAttachmentMapOutput }
SgAttachmentMapInput is an input type that accepts SgAttachmentMap and SgAttachmentMapOutput values. You can construct a concrete instance of `SgAttachmentMapInput` via:
SgAttachmentMap{ "key": SgAttachmentArgs{...} }
type SgAttachmentMapOutput ¶ added in v0.1.5
type SgAttachmentMapOutput struct{ *pulumi.OutputState }
func (SgAttachmentMapOutput) ElementType ¶ added in v0.1.5
func (SgAttachmentMapOutput) ElementType() reflect.Type
func (SgAttachmentMapOutput) MapIndex ¶ added in v0.1.5
func (o SgAttachmentMapOutput) MapIndex(k pulumi.StringInput) SgAttachmentOutput
func (SgAttachmentMapOutput) ToSgAttachmentMapOutput ¶ added in v0.1.5
func (o SgAttachmentMapOutput) ToSgAttachmentMapOutput() SgAttachmentMapOutput
func (SgAttachmentMapOutput) ToSgAttachmentMapOutputWithContext ¶ added in v0.1.5
func (o SgAttachmentMapOutput) ToSgAttachmentMapOutputWithContext(ctx context.Context) SgAttachmentMapOutput
type SgAttachmentOutput ¶ added in v0.1.5
type SgAttachmentOutput struct{ *pulumi.OutputState }
func (SgAttachmentOutput) ElementType ¶ added in v0.1.5
func (SgAttachmentOutput) ElementType() reflect.Type
func (SgAttachmentOutput) NetworkInterfaceIds ¶ added in v0.1.5
func (o SgAttachmentOutput) NetworkInterfaceIds() pulumi.StringOutput
ENI instance ID. Such as:eni-pxir56ns. It Only support set one eni instance now.
func (SgAttachmentOutput) SecurityGroupIds ¶ added in v0.1.5
func (o SgAttachmentOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security group instance ID, for example:sg-33ocnj9n, can be obtained through DescribeSecurityGroups. There is a limit of 100 instances per request.
func (SgAttachmentOutput) ToSgAttachmentOutput ¶ added in v0.1.5
func (o SgAttachmentOutput) ToSgAttachmentOutput() SgAttachmentOutput
func (SgAttachmentOutput) ToSgAttachmentOutputWithContext ¶ added in v0.1.5
func (o SgAttachmentOutput) ToSgAttachmentOutputWithContext(ctx context.Context) SgAttachmentOutput
type SgAttachmentState ¶ added in v0.1.5
type SgAttachmentState struct { // ENI instance ID. Such as:eni-pxir56ns. It Only support set one eni instance now. NetworkInterfaceIds pulumi.StringPtrInput // Security group instance ID, for example:sg-33ocnj9n, can be obtained through DescribeSecurityGroups. There is a limit of 100 instances per request. SecurityGroupIds pulumi.StringArrayInput }
func (SgAttachmentState) ElementType ¶ added in v0.1.5
func (SgAttachmentState) ElementType() reflect.Type