eip

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 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 Address

type Address struct {
	pulumi.CustomResourceState

	// The peek bandwidth of the EIP.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.
	BillingType pulumi.StringOutput `pulumi:"billingType"`
	// The deleted time of the EIP.
	DeletedTime pulumi.StringOutput `pulumi:"deletedTime"`
	// The description of the EIP.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ip address of the EIP.
	EipAddress pulumi.StringOutput `pulumi:"eipAddress"`
	// The expired time of the EIP.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP`.
	Isp pulumi.StringOutput `pulumi:"isp"`
	// The name of the EIP Address.
	Name pulumi.StringOutput `pulumi:"name"`
	// The overdue time of the EIP.
	OverdueTime pulumi.StringOutput `pulumi:"overdueTime"`
	// The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billingType from PostPaid to PrePaid.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The ProjectName of the EIP.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
	SecurityProtectionTypes pulumi.StringArrayOutput `pulumi:"securityProtectionTypes"`
	// The status of the EIP.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags.
	Tags AddressTagArrayOutput `pulumi:"tags"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eip.NewAddress(ctx, "foo", &eip.AddressArgs{
			Bandwidth:   pulumi.Int(1),
			BillingType: pulumi.String("PostPaidByBandwidth"),
			Description: pulumi.String("acc-test"),
			Isp:         pulumi.String("ChinaUnicom"),
			ProjectName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Eip address can be imported using the id, e.g.

```sh

$ pulumi import volcengine:eip/address:Address default eip-274oj9a8rs9a87fap8sf9515b

```

func GetAddress

func GetAddress(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddressState, opts ...pulumi.ResourceOption) (*Address, error)

GetAddress gets an existing Address 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 NewAddress

func NewAddress(ctx *pulumi.Context,
	name string, args *AddressArgs, opts ...pulumi.ResourceOption) (*Address, error)

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

func (*Address) ElementType

func (*Address) ElementType() reflect.Type

func (*Address) ToAddressOutput

func (i *Address) ToAddressOutput() AddressOutput

func (*Address) ToAddressOutputWithContext

func (i *Address) ToAddressOutputWithContext(ctx context.Context) AddressOutput

type AddressArgs

type AddressArgs struct {
	// The peek bandwidth of the EIP.
	Bandwidth pulumi.IntPtrInput
	// The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.
	BillingType pulumi.StringInput
	// The description of the EIP.
	Description pulumi.StringPtrInput
	// The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP`.
	Isp pulumi.StringPtrInput
	// The name of the EIP Address.
	Name pulumi.StringPtrInput
	// The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billingType from PostPaid to PrePaid.
	Period pulumi.IntPtrInput
	// The ProjectName of the EIP.
	ProjectName pulumi.StringPtrInput
	// Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
	SecurityProtectionTypes pulumi.StringArrayInput
	// Tags.
	Tags AddressTagArrayInput
}

The set of arguments for constructing a Address resource.

func (AddressArgs) ElementType

func (AddressArgs) ElementType() reflect.Type

type AddressArray

type AddressArray []AddressInput

func (AddressArray) ElementType

func (AddressArray) ElementType() reflect.Type

func (AddressArray) ToAddressArrayOutput

func (i AddressArray) ToAddressArrayOutput() AddressArrayOutput

func (AddressArray) ToAddressArrayOutputWithContext

func (i AddressArray) ToAddressArrayOutputWithContext(ctx context.Context) AddressArrayOutput

type AddressArrayInput

type AddressArrayInput interface {
	pulumi.Input

	ToAddressArrayOutput() AddressArrayOutput
	ToAddressArrayOutputWithContext(context.Context) AddressArrayOutput
}

AddressArrayInput is an input type that accepts AddressArray and AddressArrayOutput values. You can construct a concrete instance of `AddressArrayInput` via:

AddressArray{ AddressArgs{...} }

type AddressArrayOutput

type AddressArrayOutput struct{ *pulumi.OutputState }

func (AddressArrayOutput) ElementType

func (AddressArrayOutput) ElementType() reflect.Type

func (AddressArrayOutput) Index

func (AddressArrayOutput) ToAddressArrayOutput

func (o AddressArrayOutput) ToAddressArrayOutput() AddressArrayOutput

func (AddressArrayOutput) ToAddressArrayOutputWithContext

func (o AddressArrayOutput) ToAddressArrayOutputWithContext(ctx context.Context) AddressArrayOutput

type AddressInput

type AddressInput interface {
	pulumi.Input

	ToAddressOutput() AddressOutput
	ToAddressOutputWithContext(ctx context.Context) AddressOutput
}

type AddressMap

type AddressMap map[string]AddressInput

func (AddressMap) ElementType

func (AddressMap) ElementType() reflect.Type

func (AddressMap) ToAddressMapOutput

func (i AddressMap) ToAddressMapOutput() AddressMapOutput

func (AddressMap) ToAddressMapOutputWithContext

func (i AddressMap) ToAddressMapOutputWithContext(ctx context.Context) AddressMapOutput

type AddressMapInput

type AddressMapInput interface {
	pulumi.Input

	ToAddressMapOutput() AddressMapOutput
	ToAddressMapOutputWithContext(context.Context) AddressMapOutput
}

AddressMapInput is an input type that accepts AddressMap and AddressMapOutput values. You can construct a concrete instance of `AddressMapInput` via:

AddressMap{ "key": AddressArgs{...} }

type AddressMapOutput

type AddressMapOutput struct{ *pulumi.OutputState }

func (AddressMapOutput) ElementType

func (AddressMapOutput) ElementType() reflect.Type

func (AddressMapOutput) MapIndex

func (AddressMapOutput) ToAddressMapOutput

func (o AddressMapOutput) ToAddressMapOutput() AddressMapOutput

func (AddressMapOutput) ToAddressMapOutputWithContext

func (o AddressMapOutput) ToAddressMapOutputWithContext(ctx context.Context) AddressMapOutput

type AddressOutput

type AddressOutput struct{ *pulumi.OutputState }

func (AddressOutput) Bandwidth

func (o AddressOutput) Bandwidth() pulumi.IntOutput

The peek bandwidth of the EIP.

func (AddressOutput) BillingType

func (o AddressOutput) BillingType() pulumi.StringOutput

The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.

func (AddressOutput) DeletedTime

func (o AddressOutput) DeletedTime() pulumi.StringOutput

The deleted time of the EIP.

func (AddressOutput) Description

func (o AddressOutput) Description() pulumi.StringPtrOutput

The description of the EIP.

func (AddressOutput) EipAddress

func (o AddressOutput) EipAddress() pulumi.StringOutput

The ip address of the EIP.

func (AddressOutput) ElementType

func (AddressOutput) ElementType() reflect.Type

func (AddressOutput) ExpiredTime

func (o AddressOutput) ExpiredTime() pulumi.StringOutput

The expired time of the EIP.

func (AddressOutput) Isp

The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP`.

func (AddressOutput) Name

The name of the EIP Address.

func (AddressOutput) OverdueTime

func (o AddressOutput) OverdueTime() pulumi.StringOutput

The overdue time of the EIP.

func (AddressOutput) Period

func (o AddressOutput) Period() pulumi.IntPtrOutput

The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billingType from PostPaid to PrePaid.

func (AddressOutput) ProjectName

func (o AddressOutput) ProjectName() pulumi.StringOutput

The ProjectName of the EIP.

func (AddressOutput) SecurityProtectionTypes added in v0.0.23

func (o AddressOutput) SecurityProtectionTypes() pulumi.StringArrayOutput

Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.

func (AddressOutput) Status

func (o AddressOutput) Status() pulumi.StringOutput

The status of the EIP.

func (AddressOutput) Tags

Tags.

func (AddressOutput) ToAddressOutput

func (o AddressOutput) ToAddressOutput() AddressOutput

func (AddressOutput) ToAddressOutputWithContext

func (o AddressOutput) ToAddressOutputWithContext(ctx context.Context) AddressOutput

type AddressState

type AddressState struct {
	// The peek bandwidth of the EIP.
	Bandwidth pulumi.IntPtrInput
	// The billing type of the EIP Address. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.
	BillingType pulumi.StringPtrInput
	// The deleted time of the EIP.
	DeletedTime pulumi.StringPtrInput
	// The description of the EIP.
	Description pulumi.StringPtrInput
	// The ip address of the EIP.
	EipAddress pulumi.StringPtrInput
	// The expired time of the EIP.
	ExpiredTime pulumi.StringPtrInput
	// The ISP of the EIP, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom` or `SingleLine_BGP` or `Static_BGP`.
	Isp pulumi.StringPtrInput
	// The name of the EIP Address.
	Name pulumi.StringPtrInput
	// The overdue time of the EIP.
	OverdueTime pulumi.StringPtrInput
	// The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid Eip or changing the billingType from PostPaid to PrePaid.
	Period pulumi.IntPtrInput
	// The ProjectName of the EIP.
	ProjectName pulumi.StringPtrInput
	// Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
	SecurityProtectionTypes pulumi.StringArrayInput
	// The status of the EIP.
	Status pulumi.StringPtrInput
	// Tags.
	Tags AddressTagArrayInput
}

func (AddressState) ElementType

func (AddressState) ElementType() reflect.Type

type AddressTag

type AddressTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type AddressTagArgs

type AddressTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AddressTagArgs) ElementType

func (AddressTagArgs) ElementType() reflect.Type

func (AddressTagArgs) ToAddressTagOutput

func (i AddressTagArgs) ToAddressTagOutput() AddressTagOutput

func (AddressTagArgs) ToAddressTagOutputWithContext

func (i AddressTagArgs) ToAddressTagOutputWithContext(ctx context.Context) AddressTagOutput

type AddressTagArray

type AddressTagArray []AddressTagInput

func (AddressTagArray) ElementType

func (AddressTagArray) ElementType() reflect.Type

func (AddressTagArray) ToAddressTagArrayOutput

func (i AddressTagArray) ToAddressTagArrayOutput() AddressTagArrayOutput

func (AddressTagArray) ToAddressTagArrayOutputWithContext

func (i AddressTagArray) ToAddressTagArrayOutputWithContext(ctx context.Context) AddressTagArrayOutput

type AddressTagArrayInput

type AddressTagArrayInput interface {
	pulumi.Input

	ToAddressTagArrayOutput() AddressTagArrayOutput
	ToAddressTagArrayOutputWithContext(context.Context) AddressTagArrayOutput
}

AddressTagArrayInput is an input type that accepts AddressTagArray and AddressTagArrayOutput values. You can construct a concrete instance of `AddressTagArrayInput` via:

AddressTagArray{ AddressTagArgs{...} }

type AddressTagArrayOutput

type AddressTagArrayOutput struct{ *pulumi.OutputState }

func (AddressTagArrayOutput) ElementType

func (AddressTagArrayOutput) ElementType() reflect.Type

func (AddressTagArrayOutput) Index

func (AddressTagArrayOutput) ToAddressTagArrayOutput

func (o AddressTagArrayOutput) ToAddressTagArrayOutput() AddressTagArrayOutput

func (AddressTagArrayOutput) ToAddressTagArrayOutputWithContext

func (o AddressTagArrayOutput) ToAddressTagArrayOutputWithContext(ctx context.Context) AddressTagArrayOutput

type AddressTagInput

type AddressTagInput interface {
	pulumi.Input

	ToAddressTagOutput() AddressTagOutput
	ToAddressTagOutputWithContext(context.Context) AddressTagOutput
}

AddressTagInput is an input type that accepts AddressTagArgs and AddressTagOutput values. You can construct a concrete instance of `AddressTagInput` via:

AddressTagArgs{...}

type AddressTagOutput

type AddressTagOutput struct{ *pulumi.OutputState }

func (AddressTagOutput) ElementType

func (AddressTagOutput) ElementType() reflect.Type

func (AddressTagOutput) Key

The Key of Tags.

func (AddressTagOutput) ToAddressTagOutput

func (o AddressTagOutput) ToAddressTagOutput() AddressTagOutput

func (AddressTagOutput) ToAddressTagOutputWithContext

func (o AddressTagOutput) ToAddressTagOutputWithContext(ctx context.Context) AddressTagOutput

func (AddressTagOutput) Value

The Value of Tags.

type AddressesAddress

type AddressesAddress struct {
	// The id of the EIP address.
	AllocationId string `pulumi:"allocationId"`
	// The allocation time of the EIP.
	AllocationTime string `pulumi:"allocationTime"`
	// The peek bandwidth of the EIP.
	Bandwidth int `pulumi:"bandwidth"`
	// The id of the bandwidth package.
	BandwidthPackageId string `pulumi:"bandwidthPackageId"`
	// The billing type of the EIP.
	BillingType string `pulumi:"billingType"`
	// The business status of the EIP.
	BusinessStatus string `pulumi:"businessStatus"`
	// The deleted time of the EIP.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of the EIP.
	Description string `pulumi:"description"`
	// The EIP ip address of the EIP.
	EipAddress string `pulumi:"eipAddress"`
	// The expired time of the EIP.
	ExpiredTime string `pulumi:"expiredTime"`
	// The id of the EIP address.
	Id string `pulumi:"id"`
	// The instance id which be associated to the EIP.
	InstanceId string `pulumi:"instanceId"`
	// The type of the associated instance.
	InstanceType string `pulumi:"instanceType"`
	// An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`.
	Isp string `pulumi:"isp"`
	// The lock reason of the EIP.
	LockReason string `pulumi:"lockReason"`
	// A name of EIP.
	Name string `pulumi:"name"`
	// The overdue time of the EIP.
	OverdueTime string `pulumi:"overdueTime"`
	// The ProjectName of EIP.
	ProjectName string `pulumi:"projectName"`
	// Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced`.
	SecurityProtectionTypes []string `pulumi:"securityProtectionTypes"`
	// A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`.
	Status string `pulumi:"status"`
	// Tags.
	Tags []AddressesAddressTag `pulumi:"tags"`
	// The last update time of the EIP.
	UpdatedAt string `pulumi:"updatedAt"`
}

type AddressesAddressArgs

type AddressesAddressArgs struct {
	// The id of the EIP address.
	AllocationId pulumi.StringInput `pulumi:"allocationId"`
	// The allocation time of the EIP.
	AllocationTime pulumi.StringInput `pulumi:"allocationTime"`
	// The peek bandwidth of the EIP.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The id of the bandwidth package.
	BandwidthPackageId pulumi.StringInput `pulumi:"bandwidthPackageId"`
	// The billing type of the EIP.
	BillingType pulumi.StringInput `pulumi:"billingType"`
	// The business status of the EIP.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The deleted time of the EIP.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of the EIP.
	Description pulumi.StringInput `pulumi:"description"`
	// The EIP ip address of the EIP.
	EipAddress pulumi.StringInput `pulumi:"eipAddress"`
	// The expired time of the EIP.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The id of the EIP address.
	Id pulumi.StringInput `pulumi:"id"`
	// The instance id which be associated to the EIP.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The type of the associated instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`.
	Isp pulumi.StringInput `pulumi:"isp"`
	// The lock reason of the EIP.
	LockReason pulumi.StringInput `pulumi:"lockReason"`
	// A name of EIP.
	Name pulumi.StringInput `pulumi:"name"`
	// The overdue time of the EIP.
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// The ProjectName of EIP.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced`.
	SecurityProtectionTypes pulumi.StringArrayInput `pulumi:"securityProtectionTypes"`
	// A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`.
	Status pulumi.StringInput `pulumi:"status"`
	// Tags.
	Tags AddressesAddressTagArrayInput `pulumi:"tags"`
	// The last update time of the EIP.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (AddressesAddressArgs) ElementType

func (AddressesAddressArgs) ElementType() reflect.Type

func (AddressesAddressArgs) ToAddressesAddressOutput

func (i AddressesAddressArgs) ToAddressesAddressOutput() AddressesAddressOutput

func (AddressesAddressArgs) ToAddressesAddressOutputWithContext

func (i AddressesAddressArgs) ToAddressesAddressOutputWithContext(ctx context.Context) AddressesAddressOutput

type AddressesAddressArray

type AddressesAddressArray []AddressesAddressInput

func (AddressesAddressArray) ElementType

func (AddressesAddressArray) ElementType() reflect.Type

func (AddressesAddressArray) ToAddressesAddressArrayOutput

func (i AddressesAddressArray) ToAddressesAddressArrayOutput() AddressesAddressArrayOutput

func (AddressesAddressArray) ToAddressesAddressArrayOutputWithContext

func (i AddressesAddressArray) ToAddressesAddressArrayOutputWithContext(ctx context.Context) AddressesAddressArrayOutput

type AddressesAddressArrayInput

type AddressesAddressArrayInput interface {
	pulumi.Input

	ToAddressesAddressArrayOutput() AddressesAddressArrayOutput
	ToAddressesAddressArrayOutputWithContext(context.Context) AddressesAddressArrayOutput
}

AddressesAddressArrayInput is an input type that accepts AddressesAddressArray and AddressesAddressArrayOutput values. You can construct a concrete instance of `AddressesAddressArrayInput` via:

AddressesAddressArray{ AddressesAddressArgs{...} }

type AddressesAddressArrayOutput

type AddressesAddressArrayOutput struct{ *pulumi.OutputState }

func (AddressesAddressArrayOutput) ElementType

func (AddressesAddressArrayOutput) Index

func (AddressesAddressArrayOutput) ToAddressesAddressArrayOutput

func (o AddressesAddressArrayOutput) ToAddressesAddressArrayOutput() AddressesAddressArrayOutput

func (AddressesAddressArrayOutput) ToAddressesAddressArrayOutputWithContext

func (o AddressesAddressArrayOutput) ToAddressesAddressArrayOutputWithContext(ctx context.Context) AddressesAddressArrayOutput

type AddressesAddressInput

type AddressesAddressInput interface {
	pulumi.Input

	ToAddressesAddressOutput() AddressesAddressOutput
	ToAddressesAddressOutputWithContext(context.Context) AddressesAddressOutput
}

AddressesAddressInput is an input type that accepts AddressesAddressArgs and AddressesAddressOutput values. You can construct a concrete instance of `AddressesAddressInput` via:

AddressesAddressArgs{...}

type AddressesAddressOutput

type AddressesAddressOutput struct{ *pulumi.OutputState }

func (AddressesAddressOutput) AllocationId

func (o AddressesAddressOutput) AllocationId() pulumi.StringOutput

The id of the EIP address.

func (AddressesAddressOutput) AllocationTime

func (o AddressesAddressOutput) AllocationTime() pulumi.StringOutput

The allocation time of the EIP.

func (AddressesAddressOutput) Bandwidth

func (o AddressesAddressOutput) Bandwidth() pulumi.IntOutput

The peek bandwidth of the EIP.

func (AddressesAddressOutput) BandwidthPackageId added in v0.0.23

func (o AddressesAddressOutput) BandwidthPackageId() pulumi.StringOutput

The id of the bandwidth package.

func (AddressesAddressOutput) BillingType

func (o AddressesAddressOutput) BillingType() pulumi.StringOutput

The billing type of the EIP.

func (AddressesAddressOutput) BusinessStatus

func (o AddressesAddressOutput) BusinessStatus() pulumi.StringOutput

The business status of the EIP.

func (AddressesAddressOutput) DeletedTime

func (o AddressesAddressOutput) DeletedTime() pulumi.StringOutput

The deleted time of the EIP.

func (AddressesAddressOutput) Description

func (o AddressesAddressOutput) Description() pulumi.StringOutput

The description of the EIP.

func (AddressesAddressOutput) EipAddress

The EIP ip address of the EIP.

func (AddressesAddressOutput) ElementType

func (AddressesAddressOutput) ElementType() reflect.Type

func (AddressesAddressOutput) ExpiredTime

func (o AddressesAddressOutput) ExpiredTime() pulumi.StringOutput

The expired time of the EIP.

func (AddressesAddressOutput) Id

The id of the EIP address.

func (AddressesAddressOutput) InstanceId

The instance id which be associated to the EIP.

func (AddressesAddressOutput) InstanceType

func (o AddressesAddressOutput) InstanceType() pulumi.StringOutput

The type of the associated instance.

func (AddressesAddressOutput) Isp

An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`.

func (AddressesAddressOutput) LockReason

The lock reason of the EIP.

func (AddressesAddressOutput) Name

A name of EIP.

func (AddressesAddressOutput) OverdueTime

func (o AddressesAddressOutput) OverdueTime() pulumi.StringOutput

The overdue time of the EIP.

func (AddressesAddressOutput) ProjectName

func (o AddressesAddressOutput) ProjectName() pulumi.StringOutput

The ProjectName of EIP.

func (AddressesAddressOutput) SecurityProtectionTypes added in v0.0.23

func (o AddressesAddressOutput) SecurityProtectionTypes() pulumi.StringArrayOutput

Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced`.

func (AddressesAddressOutput) Status

A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`.

func (AddressesAddressOutput) Tags

Tags.

func (AddressesAddressOutput) ToAddressesAddressOutput

func (o AddressesAddressOutput) ToAddressesAddressOutput() AddressesAddressOutput

func (AddressesAddressOutput) ToAddressesAddressOutputWithContext

func (o AddressesAddressOutput) ToAddressesAddressOutputWithContext(ctx context.Context) AddressesAddressOutput

func (AddressesAddressOutput) UpdatedAt

The last update time of the EIP.

type AddressesAddressTag

type AddressesAddressTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type AddressesAddressTagArgs

type AddressesAddressTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AddressesAddressTagArgs) ElementType

func (AddressesAddressTagArgs) ElementType() reflect.Type

func (AddressesAddressTagArgs) ToAddressesAddressTagOutput

func (i AddressesAddressTagArgs) ToAddressesAddressTagOutput() AddressesAddressTagOutput

func (AddressesAddressTagArgs) ToAddressesAddressTagOutputWithContext

func (i AddressesAddressTagArgs) ToAddressesAddressTagOutputWithContext(ctx context.Context) AddressesAddressTagOutput

type AddressesAddressTagArray

type AddressesAddressTagArray []AddressesAddressTagInput

func (AddressesAddressTagArray) ElementType

func (AddressesAddressTagArray) ElementType() reflect.Type

func (AddressesAddressTagArray) ToAddressesAddressTagArrayOutput

func (i AddressesAddressTagArray) ToAddressesAddressTagArrayOutput() AddressesAddressTagArrayOutput

func (AddressesAddressTagArray) ToAddressesAddressTagArrayOutputWithContext

func (i AddressesAddressTagArray) ToAddressesAddressTagArrayOutputWithContext(ctx context.Context) AddressesAddressTagArrayOutput

type AddressesAddressTagArrayInput

type AddressesAddressTagArrayInput interface {
	pulumi.Input

	ToAddressesAddressTagArrayOutput() AddressesAddressTagArrayOutput
	ToAddressesAddressTagArrayOutputWithContext(context.Context) AddressesAddressTagArrayOutput
}

AddressesAddressTagArrayInput is an input type that accepts AddressesAddressTagArray and AddressesAddressTagArrayOutput values. You can construct a concrete instance of `AddressesAddressTagArrayInput` via:

AddressesAddressTagArray{ AddressesAddressTagArgs{...} }

type AddressesAddressTagArrayOutput

type AddressesAddressTagArrayOutput struct{ *pulumi.OutputState }

func (AddressesAddressTagArrayOutput) ElementType

func (AddressesAddressTagArrayOutput) Index

func (AddressesAddressTagArrayOutput) ToAddressesAddressTagArrayOutput

func (o AddressesAddressTagArrayOutput) ToAddressesAddressTagArrayOutput() AddressesAddressTagArrayOutput

func (AddressesAddressTagArrayOutput) ToAddressesAddressTagArrayOutputWithContext

func (o AddressesAddressTagArrayOutput) ToAddressesAddressTagArrayOutputWithContext(ctx context.Context) AddressesAddressTagArrayOutput

type AddressesAddressTagInput

type AddressesAddressTagInput interface {
	pulumi.Input

	ToAddressesAddressTagOutput() AddressesAddressTagOutput
	ToAddressesAddressTagOutputWithContext(context.Context) AddressesAddressTagOutput
}

AddressesAddressTagInput is an input type that accepts AddressesAddressTagArgs and AddressesAddressTagOutput values. You can construct a concrete instance of `AddressesAddressTagInput` via:

AddressesAddressTagArgs{...}

type AddressesAddressTagOutput

type AddressesAddressTagOutput struct{ *pulumi.OutputState }

func (AddressesAddressTagOutput) ElementType

func (AddressesAddressTagOutput) ElementType() reflect.Type

func (AddressesAddressTagOutput) Key

The Key of Tags.

func (AddressesAddressTagOutput) ToAddressesAddressTagOutput

func (o AddressesAddressTagOutput) ToAddressesAddressTagOutput() AddressesAddressTagOutput

func (AddressesAddressTagOutput) ToAddressesAddressTagOutputWithContext

func (o AddressesAddressTagOutput) ToAddressesAddressTagOutputWithContext(ctx context.Context) AddressesAddressTagOutput

func (AddressesAddressTagOutput) Value

The Value of Tags.

type AddressesArgs

type AddressesArgs struct {
	// An id of associated instance.
	AssociatedInstanceId *string `pulumi:"associatedInstanceId"`
	// A type of associated instance, the value can be `Nat`, `NetworkInterface`, `ClbInstance`, `AlbInstance`, `HaVip` or `EcsInstance`.
	AssociatedInstanceType *string `pulumi:"associatedInstanceType"`
	// A list of EIP ip address that you want to query.
	EipAddresses []string `pulumi:"eipAddresses"`
	// A list of EIP allocation ids.
	Ids []string `pulumi:"ids"`
	// An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`.
	Isp *string `pulumi:"isp"`
	// A name of EIP.
	Name *string `pulumi:"name"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ProjectName of EIP.
	ProjectName *string `pulumi:"projectName"`
	// A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`.
	Status *string `pulumi:"status"`
	// Tags.
	Tags []AddressesTag `pulumi:"tags"`
}

A collection of arguments for invoking Addresses.

type AddressesOutputArgs

type AddressesOutputArgs struct {
	// An id of associated instance.
	AssociatedInstanceId pulumi.StringPtrInput `pulumi:"associatedInstanceId"`
	// A type of associated instance, the value can be `Nat`, `NetworkInterface`, `ClbInstance`, `AlbInstance`, `HaVip` or `EcsInstance`.
	AssociatedInstanceType pulumi.StringPtrInput `pulumi:"associatedInstanceType"`
	// A list of EIP ip address that you want to query.
	EipAddresses pulumi.StringArrayInput `pulumi:"eipAddresses"`
	// A list of EIP allocation ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// An ISP of EIP Address, the value can be `BGP` or `ChinaMobile` or `ChinaUnicom` or `ChinaTelecom`.
	Isp pulumi.StringPtrInput `pulumi:"isp"`
	// A name of EIP.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ProjectName of EIP.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// A status of EIP, the value can be `Attaching` or `Detaching` or `Attached` or `Available`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Tags.
	Tags AddressesTagArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking Addresses.

func (AddressesOutputArgs) ElementType

func (AddressesOutputArgs) ElementType() reflect.Type

type AddressesResult

type AddressesResult struct {
	// The collection of EIP addresses.
	Addresses              []AddressesAddress `pulumi:"addresses"`
	AssociatedInstanceId   *string            `pulumi:"associatedInstanceId"`
	AssociatedInstanceType *string            `pulumi:"associatedInstanceType"`
	EipAddresses           []string           `pulumi:"eipAddresses"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The ISP of EIP Address.
	Isp *string `pulumi:"isp"`
	// The name of the EIP.
	Name       *string `pulumi:"name"`
	OutputFile *string `pulumi:"outputFile"`
	// The ProjectName of the EIP.
	ProjectName *string `pulumi:"projectName"`
	// The status of the EIP.
	Status *string `pulumi:"status"`
	// Tags.
	Tags []AddressesTag `pulumi:"tags"`
	// The total count of EIP addresses query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Addresses.

func Addresses

func Addresses(ctx *pulumi.Context, args *AddressesArgs, opts ...pulumi.InvokeOption) (*AddressesResult, error)

Use this data source to query detailed information of eip addresses ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooAddress, err := eip.NewAddress(ctx, "fooAddress", &eip.AddressArgs{
			BillingType: pulumi.String("PostPaidByTraffic"),
		})
		if err != nil {
			return err
		}
		_ = eip.AddressesOutput(ctx, eip.AddressesOutputArgs{
			Ids: pulumi.StringArray{
				fooAddress.ID(),
			},
		}, nil)
		return nil
	})
}

```

type AddressesResultOutput

type AddressesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Addresses.

func (AddressesResultOutput) Addresses

The collection of EIP addresses.

func (AddressesResultOutput) AssociatedInstanceId

func (o AddressesResultOutput) AssociatedInstanceId() pulumi.StringPtrOutput

func (AddressesResultOutput) AssociatedInstanceType

func (o AddressesResultOutput) AssociatedInstanceType() pulumi.StringPtrOutput

func (AddressesResultOutput) EipAddresses

func (AddressesResultOutput) ElementType

func (AddressesResultOutput) ElementType() reflect.Type

func (AddressesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (AddressesResultOutput) Ids

func (AddressesResultOutput) Isp

The ISP of EIP Address.

func (AddressesResultOutput) Name

The name of the EIP.

func (AddressesResultOutput) OutputFile

func (AddressesResultOutput) ProjectName

The ProjectName of the EIP.

func (AddressesResultOutput) Status

The status of the EIP.

func (AddressesResultOutput) Tags

Tags.

func (AddressesResultOutput) ToAddressesResultOutput

func (o AddressesResultOutput) ToAddressesResultOutput() AddressesResultOutput

func (AddressesResultOutput) ToAddressesResultOutputWithContext

func (o AddressesResultOutput) ToAddressesResultOutputWithContext(ctx context.Context) AddressesResultOutput

func (AddressesResultOutput) TotalCount

func (o AddressesResultOutput) TotalCount() pulumi.IntOutput

The total count of EIP addresses query.

type AddressesTag

type AddressesTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type AddressesTagArgs

type AddressesTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AddressesTagArgs) ElementType

func (AddressesTagArgs) ElementType() reflect.Type

func (AddressesTagArgs) ToAddressesTagOutput

func (i AddressesTagArgs) ToAddressesTagOutput() AddressesTagOutput

func (AddressesTagArgs) ToAddressesTagOutputWithContext

func (i AddressesTagArgs) ToAddressesTagOutputWithContext(ctx context.Context) AddressesTagOutput

type AddressesTagArray

type AddressesTagArray []AddressesTagInput

func (AddressesTagArray) ElementType

func (AddressesTagArray) ElementType() reflect.Type

func (AddressesTagArray) ToAddressesTagArrayOutput

func (i AddressesTagArray) ToAddressesTagArrayOutput() AddressesTagArrayOutput

func (AddressesTagArray) ToAddressesTagArrayOutputWithContext

func (i AddressesTagArray) ToAddressesTagArrayOutputWithContext(ctx context.Context) AddressesTagArrayOutput

type AddressesTagArrayInput

type AddressesTagArrayInput interface {
	pulumi.Input

	ToAddressesTagArrayOutput() AddressesTagArrayOutput
	ToAddressesTagArrayOutputWithContext(context.Context) AddressesTagArrayOutput
}

AddressesTagArrayInput is an input type that accepts AddressesTagArray and AddressesTagArrayOutput values. You can construct a concrete instance of `AddressesTagArrayInput` via:

AddressesTagArray{ AddressesTagArgs{...} }

type AddressesTagArrayOutput

type AddressesTagArrayOutput struct{ *pulumi.OutputState }

func (AddressesTagArrayOutput) ElementType

func (AddressesTagArrayOutput) ElementType() reflect.Type

func (AddressesTagArrayOutput) Index

func (AddressesTagArrayOutput) ToAddressesTagArrayOutput

func (o AddressesTagArrayOutput) ToAddressesTagArrayOutput() AddressesTagArrayOutput

func (AddressesTagArrayOutput) ToAddressesTagArrayOutputWithContext

func (o AddressesTagArrayOutput) ToAddressesTagArrayOutputWithContext(ctx context.Context) AddressesTagArrayOutput

type AddressesTagInput

type AddressesTagInput interface {
	pulumi.Input

	ToAddressesTagOutput() AddressesTagOutput
	ToAddressesTagOutputWithContext(context.Context) AddressesTagOutput
}

AddressesTagInput is an input type that accepts AddressesTagArgs and AddressesTagOutput values. You can construct a concrete instance of `AddressesTagInput` via:

AddressesTagArgs{...}

type AddressesTagOutput

type AddressesTagOutput struct{ *pulumi.OutputState }

func (AddressesTagOutput) ElementType

func (AddressesTagOutput) ElementType() reflect.Type

func (AddressesTagOutput) Key

The Key of Tags.

func (AddressesTagOutput) ToAddressesTagOutput

func (o AddressesTagOutput) ToAddressesTagOutput() AddressesTagOutput

func (AddressesTagOutput) ToAddressesTagOutputWithContext

func (o AddressesTagOutput) ToAddressesTagOutputWithContext(ctx context.Context) AddressesTagOutput

func (AddressesTagOutput) Value

The Value of Tags.

type Associate

type Associate struct {
	pulumi.CustomResourceState

	// The allocation id of the EIP.
	AllocationId pulumi.StringOutput `pulumi:"allocationId"`
	// The instance id which be associated to the EIP.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The private IP address of the instance will be associated to the EIP.
	PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"`
}

Provides a resource to manage eip associate ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			VpcId:             fooVpc.ID(),
			SecurityGroupName: pulumi.String("acc-test-security-group"),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1.large"),
			InstanceName:       pulumi.String("acc-test-ecs-name"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		fooAddress, err := eip.NewAddress(ctx, "fooAddress", &eip.AddressArgs{
			BillingType: pulumi.String("PostPaidByTraffic"),
		})
		if err != nil {
			return err
		}
		_, err = eip.NewAssociate(ctx, "fooAssociate", &eip.AssociateArgs{
			AllocationId: fooAddress.ID(),
			InstanceId:   fooInstance.ID(),
			InstanceType: pulumi.String("EcsInstance"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Eip associate can be imported using the eip allocation_id:instance_id, e.g.

```sh

$ pulumi import volcengine:eip/associate:Associate default eip-274oj9a8rs9a87fap8sf9515b:i-cm9t9ug9lggu79yr5tcw

```

func GetAssociate

func GetAssociate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssociateState, opts ...pulumi.ResourceOption) (*Associate, error)

GetAssociate gets an existing Associate 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 NewAssociate

func NewAssociate(ctx *pulumi.Context,
	name string, args *AssociateArgs, opts ...pulumi.ResourceOption) (*Associate, error)

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

func (*Associate) ElementType

func (*Associate) ElementType() reflect.Type

func (*Associate) ToAssociateOutput

func (i *Associate) ToAssociateOutput() AssociateOutput

func (*Associate) ToAssociateOutputWithContext

func (i *Associate) ToAssociateOutputWithContext(ctx context.Context) AssociateOutput

type AssociateArgs

type AssociateArgs struct {
	// The allocation id of the EIP.
	AllocationId pulumi.StringInput
	// The instance id which be associated to the EIP.
	InstanceId pulumi.StringInput
	// The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.
	InstanceType pulumi.StringInput
	// The private IP address of the instance will be associated to the EIP.
	PrivateIpAddress pulumi.StringPtrInput
}

The set of arguments for constructing a Associate resource.

func (AssociateArgs) ElementType

func (AssociateArgs) ElementType() reflect.Type

type AssociateArray

type AssociateArray []AssociateInput

func (AssociateArray) ElementType

func (AssociateArray) ElementType() reflect.Type

func (AssociateArray) ToAssociateArrayOutput

func (i AssociateArray) ToAssociateArrayOutput() AssociateArrayOutput

func (AssociateArray) ToAssociateArrayOutputWithContext

func (i AssociateArray) ToAssociateArrayOutputWithContext(ctx context.Context) AssociateArrayOutput

type AssociateArrayInput

type AssociateArrayInput interface {
	pulumi.Input

	ToAssociateArrayOutput() AssociateArrayOutput
	ToAssociateArrayOutputWithContext(context.Context) AssociateArrayOutput
}

AssociateArrayInput is an input type that accepts AssociateArray and AssociateArrayOutput values. You can construct a concrete instance of `AssociateArrayInput` via:

AssociateArray{ AssociateArgs{...} }

type AssociateArrayOutput

type AssociateArrayOutput struct{ *pulumi.OutputState }

func (AssociateArrayOutput) ElementType

func (AssociateArrayOutput) ElementType() reflect.Type

func (AssociateArrayOutput) Index

func (AssociateArrayOutput) ToAssociateArrayOutput

func (o AssociateArrayOutput) ToAssociateArrayOutput() AssociateArrayOutput

func (AssociateArrayOutput) ToAssociateArrayOutputWithContext

func (o AssociateArrayOutput) ToAssociateArrayOutputWithContext(ctx context.Context) AssociateArrayOutput

type AssociateInput

type AssociateInput interface {
	pulumi.Input

	ToAssociateOutput() AssociateOutput
	ToAssociateOutputWithContext(ctx context.Context) AssociateOutput
}

type AssociateMap

type AssociateMap map[string]AssociateInput

func (AssociateMap) ElementType

func (AssociateMap) ElementType() reflect.Type

func (AssociateMap) ToAssociateMapOutput

func (i AssociateMap) ToAssociateMapOutput() AssociateMapOutput

func (AssociateMap) ToAssociateMapOutputWithContext

func (i AssociateMap) ToAssociateMapOutputWithContext(ctx context.Context) AssociateMapOutput

type AssociateMapInput

type AssociateMapInput interface {
	pulumi.Input

	ToAssociateMapOutput() AssociateMapOutput
	ToAssociateMapOutputWithContext(context.Context) AssociateMapOutput
}

AssociateMapInput is an input type that accepts AssociateMap and AssociateMapOutput values. You can construct a concrete instance of `AssociateMapInput` via:

AssociateMap{ "key": AssociateArgs{...} }

type AssociateMapOutput

type AssociateMapOutput struct{ *pulumi.OutputState }

func (AssociateMapOutput) ElementType

func (AssociateMapOutput) ElementType() reflect.Type

func (AssociateMapOutput) MapIndex

func (AssociateMapOutput) ToAssociateMapOutput

func (o AssociateMapOutput) ToAssociateMapOutput() AssociateMapOutput

func (AssociateMapOutput) ToAssociateMapOutputWithContext

func (o AssociateMapOutput) ToAssociateMapOutputWithContext(ctx context.Context) AssociateMapOutput

type AssociateOutput

type AssociateOutput struct{ *pulumi.OutputState }

func (AssociateOutput) AllocationId

func (o AssociateOutput) AllocationId() pulumi.StringOutput

The allocation id of the EIP.

func (AssociateOutput) ElementType

func (AssociateOutput) ElementType() reflect.Type

func (AssociateOutput) InstanceId

func (o AssociateOutput) InstanceId() pulumi.StringOutput

The instance id which be associated to the EIP.

func (AssociateOutput) InstanceType

func (o AssociateOutput) InstanceType() pulumi.StringOutput

The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.

func (AssociateOutput) PrivateIpAddress

func (o AssociateOutput) PrivateIpAddress() pulumi.StringOutput

The private IP address of the instance will be associated to the EIP.

func (AssociateOutput) ToAssociateOutput

func (o AssociateOutput) ToAssociateOutput() AssociateOutput

func (AssociateOutput) ToAssociateOutputWithContext

func (o AssociateOutput) ToAssociateOutputWithContext(ctx context.Context) AssociateOutput

type AssociateState

type AssociateState struct {
	// The allocation id of the EIP.
	AllocationId pulumi.StringPtrInput
	// The instance id which be associated to the EIP.
	InstanceId pulumi.StringPtrInput
	// The type of the associated instance,the value is `Nat` or `NetworkInterface` or `ClbInstance` or `EcsInstance` or `HaVip`.
	InstanceType pulumi.StringPtrInput
	// The private IP address of the instance will be associated to the EIP.
	PrivateIpAddress pulumi.StringPtrInput
}

func (AssociateState) ElementType

func (AssociateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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