eip

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AddressTransform added in v0.1.5

type AddressTransform struct {
	pulumi.CustomResourceState

	// the instance ID of a normal public network IP to be operated. eg:ins-23mk45jn.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides a resource to create a eip addressTransform

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewAddressTransform(ctx, "addressTransform", &Eip.AddressTransformArgs{
			InstanceId: pulumi.String(""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

eip address_transform can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Eip/addressTransform:AddressTransform address_transform address_transform_id

```

func GetAddressTransform added in v0.1.5

func GetAddressTransform(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddressTransformState, opts ...pulumi.ResourceOption) (*AddressTransform, error)

GetAddressTransform gets an existing AddressTransform 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 NewAddressTransform added in v0.1.5

func NewAddressTransform(ctx *pulumi.Context,
	name string, args *AddressTransformArgs, opts ...pulumi.ResourceOption) (*AddressTransform, error)

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

func (*AddressTransform) ElementType added in v0.1.5

func (*AddressTransform) ElementType() reflect.Type

func (*AddressTransform) ToAddressTransformOutput added in v0.1.5

func (i *AddressTransform) ToAddressTransformOutput() AddressTransformOutput

func (*AddressTransform) ToAddressTransformOutputWithContext added in v0.1.5

func (i *AddressTransform) ToAddressTransformOutputWithContext(ctx context.Context) AddressTransformOutput

type AddressTransformArgs added in v0.1.5

type AddressTransformArgs struct {
	// the instance ID of a normal public network IP to be operated. eg:ins-23mk45jn.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a AddressTransform resource.

func (AddressTransformArgs) ElementType added in v0.1.5

func (AddressTransformArgs) ElementType() reflect.Type

type AddressTransformArray added in v0.1.5

type AddressTransformArray []AddressTransformInput

func (AddressTransformArray) ElementType added in v0.1.5

func (AddressTransformArray) ElementType() reflect.Type

func (AddressTransformArray) ToAddressTransformArrayOutput added in v0.1.5

func (i AddressTransformArray) ToAddressTransformArrayOutput() AddressTransformArrayOutput

func (AddressTransformArray) ToAddressTransformArrayOutputWithContext added in v0.1.5

func (i AddressTransformArray) ToAddressTransformArrayOutputWithContext(ctx context.Context) AddressTransformArrayOutput

type AddressTransformArrayInput added in v0.1.5

type AddressTransformArrayInput interface {
	pulumi.Input

	ToAddressTransformArrayOutput() AddressTransformArrayOutput
	ToAddressTransformArrayOutputWithContext(context.Context) AddressTransformArrayOutput
}

AddressTransformArrayInput is an input type that accepts AddressTransformArray and AddressTransformArrayOutput values. You can construct a concrete instance of `AddressTransformArrayInput` via:

AddressTransformArray{ AddressTransformArgs{...} }

type AddressTransformArrayOutput added in v0.1.5

type AddressTransformArrayOutput struct{ *pulumi.OutputState }

func (AddressTransformArrayOutput) ElementType added in v0.1.5

func (AddressTransformArrayOutput) Index added in v0.1.5

func (AddressTransformArrayOutput) ToAddressTransformArrayOutput added in v0.1.5

func (o AddressTransformArrayOutput) ToAddressTransformArrayOutput() AddressTransformArrayOutput

func (AddressTransformArrayOutput) ToAddressTransformArrayOutputWithContext added in v0.1.5

func (o AddressTransformArrayOutput) ToAddressTransformArrayOutputWithContext(ctx context.Context) AddressTransformArrayOutput

type AddressTransformInput added in v0.1.5

type AddressTransformInput interface {
	pulumi.Input

	ToAddressTransformOutput() AddressTransformOutput
	ToAddressTransformOutputWithContext(ctx context.Context) AddressTransformOutput
}

type AddressTransformMap added in v0.1.5

type AddressTransformMap map[string]AddressTransformInput

func (AddressTransformMap) ElementType added in v0.1.5

func (AddressTransformMap) ElementType() reflect.Type

func (AddressTransformMap) ToAddressTransformMapOutput added in v0.1.5

func (i AddressTransformMap) ToAddressTransformMapOutput() AddressTransformMapOutput

func (AddressTransformMap) ToAddressTransformMapOutputWithContext added in v0.1.5

func (i AddressTransformMap) ToAddressTransformMapOutputWithContext(ctx context.Context) AddressTransformMapOutput

type AddressTransformMapInput added in v0.1.5

type AddressTransformMapInput interface {
	pulumi.Input

	ToAddressTransformMapOutput() AddressTransformMapOutput
	ToAddressTransformMapOutputWithContext(context.Context) AddressTransformMapOutput
}

AddressTransformMapInput is an input type that accepts AddressTransformMap and AddressTransformMapOutput values. You can construct a concrete instance of `AddressTransformMapInput` via:

AddressTransformMap{ "key": AddressTransformArgs{...} }

type AddressTransformMapOutput added in v0.1.5

type AddressTransformMapOutput struct{ *pulumi.OutputState }

func (AddressTransformMapOutput) ElementType added in v0.1.5

func (AddressTransformMapOutput) ElementType() reflect.Type

func (AddressTransformMapOutput) MapIndex added in v0.1.5

func (AddressTransformMapOutput) ToAddressTransformMapOutput added in v0.1.5

func (o AddressTransformMapOutput) ToAddressTransformMapOutput() AddressTransformMapOutput

func (AddressTransformMapOutput) ToAddressTransformMapOutputWithContext added in v0.1.5

func (o AddressTransformMapOutput) ToAddressTransformMapOutputWithContext(ctx context.Context) AddressTransformMapOutput

type AddressTransformOutput added in v0.1.5

type AddressTransformOutput struct{ *pulumi.OutputState }

func (AddressTransformOutput) ElementType added in v0.1.5

func (AddressTransformOutput) ElementType() reflect.Type

func (AddressTransformOutput) InstanceId added in v0.1.5

the instance ID of a normal public network IP to be operated. eg:ins-23mk45jn.

func (AddressTransformOutput) ToAddressTransformOutput added in v0.1.5

func (o AddressTransformOutput) ToAddressTransformOutput() AddressTransformOutput

func (AddressTransformOutput) ToAddressTransformOutputWithContext added in v0.1.5

func (o AddressTransformOutput) ToAddressTransformOutputWithContext(ctx context.Context) AddressTransformOutput

type AddressTransformState added in v0.1.5

type AddressTransformState struct {
	// the instance ID of a normal public network IP to be operated. eg:ins-23mk45jn.
	InstanceId pulumi.StringPtrInput
}

func (AddressTransformState) ElementType added in v0.1.5

func (AddressTransformState) ElementType() reflect.Type

type Association

type Association struct {
	pulumi.CustomResourceState

	// The ID of EIP.
	EipId pulumi.StringOutput `pulumi:"eipId"`
	// The CVM or CLB instance id going to bind with the EIP. This field is conflict with `networkInterfaceId` and `privateIp fields`.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instanceId`.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// Indicates an IP belongs to the `networkInterfaceId`. This field is conflict with `instanceId`.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
}

Provides an eip resource associated with other resource like CVM, ENI and CLB.

> **NOTE:** Please DO NOT define `allocatePublicIp` in `Instance.Instance` resource when using `Eip.Association`.

## Example Usage

## Import

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

```sh

$ pulumi import tencentcloud:Eip/association:Association bar eip-41s6jwy4::ins-34jwj3

```

func GetAssociation

func GetAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssociationState, opts ...pulumi.ResourceOption) (*Association, error)

GetAssociation gets an existing Association 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 NewAssociation

func NewAssociation(ctx *pulumi.Context,
	name string, args *AssociationArgs, opts ...pulumi.ResourceOption) (*Association, error)

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

func (*Association) ElementType

func (*Association) ElementType() reflect.Type

func (*Association) ToAssociationOutput

func (i *Association) ToAssociationOutput() AssociationOutput

func (*Association) ToAssociationOutputWithContext

func (i *Association) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

type AssociationArgs

type AssociationArgs struct {
	// The ID of EIP.
	EipId pulumi.StringInput
	// The CVM or CLB instance id going to bind with the EIP. This field is conflict with `networkInterfaceId` and `privateIp fields`.
	InstanceId pulumi.StringPtrInput
	// Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instanceId`.
	NetworkInterfaceId pulumi.StringPtrInput
	// Indicates an IP belongs to the `networkInterfaceId`. This field is conflict with `instanceId`.
	PrivateIp pulumi.StringPtrInput
}

The set of arguments for constructing a Association resource.

func (AssociationArgs) ElementType

func (AssociationArgs) ElementType() reflect.Type

type AssociationArray

type AssociationArray []AssociationInput

func (AssociationArray) ElementType

func (AssociationArray) ElementType() reflect.Type

func (AssociationArray) ToAssociationArrayOutput

func (i AssociationArray) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArray) ToAssociationArrayOutputWithContext

func (i AssociationArray) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationArrayInput

type AssociationArrayInput interface {
	pulumi.Input

	ToAssociationArrayOutput() AssociationArrayOutput
	ToAssociationArrayOutputWithContext(context.Context) AssociationArrayOutput
}

AssociationArrayInput is an input type that accepts AssociationArray and AssociationArrayOutput values. You can construct a concrete instance of `AssociationArrayInput` via:

AssociationArray{ AssociationArgs{...} }

type AssociationArrayOutput

type AssociationArrayOutput struct{ *pulumi.OutputState }

func (AssociationArrayOutput) ElementType

func (AssociationArrayOutput) ElementType() reflect.Type

func (AssociationArrayOutput) Index

func (AssociationArrayOutput) ToAssociationArrayOutput

func (o AssociationArrayOutput) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArrayOutput) ToAssociationArrayOutputWithContext

func (o AssociationArrayOutput) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationInput

type AssociationInput interface {
	pulumi.Input

	ToAssociationOutput() AssociationOutput
	ToAssociationOutputWithContext(ctx context.Context) AssociationOutput
}

type AssociationMap

type AssociationMap map[string]AssociationInput

func (AssociationMap) ElementType

func (AssociationMap) ElementType() reflect.Type

func (AssociationMap) ToAssociationMapOutput

func (i AssociationMap) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMap) ToAssociationMapOutputWithContext

func (i AssociationMap) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationMapInput

type AssociationMapInput interface {
	pulumi.Input

	ToAssociationMapOutput() AssociationMapOutput
	ToAssociationMapOutputWithContext(context.Context) AssociationMapOutput
}

AssociationMapInput is an input type that accepts AssociationMap and AssociationMapOutput values. You can construct a concrete instance of `AssociationMapInput` via:

AssociationMap{ "key": AssociationArgs{...} }

type AssociationMapOutput

type AssociationMapOutput struct{ *pulumi.OutputState }

func (AssociationMapOutput) ElementType

func (AssociationMapOutput) ElementType() reflect.Type

func (AssociationMapOutput) MapIndex

func (AssociationMapOutput) ToAssociationMapOutput

func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMapOutput) ToAssociationMapOutputWithContext

func (o AssociationMapOutput) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationOutput

type AssociationOutput struct{ *pulumi.OutputState }

func (AssociationOutput) EipId

The ID of EIP.

func (AssociationOutput) ElementType

func (AssociationOutput) ElementType() reflect.Type

func (AssociationOutput) InstanceId

func (o AssociationOutput) InstanceId() pulumi.StringOutput

The CVM or CLB instance id going to bind with the EIP. This field is conflict with `networkInterfaceId` and `privateIp fields`.

func (AssociationOutput) NetworkInterfaceId

func (o AssociationOutput) NetworkInterfaceId() pulumi.StringOutput

Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instanceId`.

func (AssociationOutput) PrivateIp

func (o AssociationOutput) PrivateIp() pulumi.StringOutput

Indicates an IP belongs to the `networkInterfaceId`. This field is conflict with `instanceId`.

func (AssociationOutput) ToAssociationOutput

func (o AssociationOutput) ToAssociationOutput() AssociationOutput

func (AssociationOutput) ToAssociationOutputWithContext

func (o AssociationOutput) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

type AssociationState

type AssociationState struct {
	// The ID of EIP.
	EipId pulumi.StringPtrInput
	// The CVM or CLB instance id going to bind with the EIP. This field is conflict with `networkInterfaceId` and `privateIp fields`.
	InstanceId pulumi.StringPtrInput
	// Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instanceId`.
	NetworkInterfaceId pulumi.StringPtrInput
	// Indicates an IP belongs to the `networkInterfaceId`. This field is conflict with `instanceId`.
	PrivateIp pulumi.StringPtrInput
}

func (AssociationState) ElementType

func (AssociationState) ElementType() reflect.Type

type GetAddressQuotaArgs added in v0.1.5

type GetAddressQuotaArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAddressQuota.

type GetAddressQuotaOutputArgs added in v0.1.5

type GetAddressQuotaOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAddressQuota.

func (GetAddressQuotaOutputArgs) ElementType added in v0.1.5

func (GetAddressQuotaOutputArgs) ElementType() reflect.Type

type GetAddressQuotaQuotaSet added in v0.1.5

type GetAddressQuotaQuotaSet struct {
	// Current count.
	QuotaCurrent int `pulumi:"quotaCurrent"`
	// Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
	QuotaId string `pulumi:"quotaId"`
	// quota count.
	QuotaLimit int `pulumi:"quotaLimit"`
}

type GetAddressQuotaQuotaSetArgs added in v0.1.5

type GetAddressQuotaQuotaSetArgs struct {
	// Current count.
	QuotaCurrent pulumi.IntInput `pulumi:"quotaCurrent"`
	// Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
	QuotaId pulumi.StringInput `pulumi:"quotaId"`
	// quota count.
	QuotaLimit pulumi.IntInput `pulumi:"quotaLimit"`
}

func (GetAddressQuotaQuotaSetArgs) ElementType added in v0.1.5

func (GetAddressQuotaQuotaSetArgs) ToGetAddressQuotaQuotaSetOutput added in v0.1.5

func (i GetAddressQuotaQuotaSetArgs) ToGetAddressQuotaQuotaSetOutput() GetAddressQuotaQuotaSetOutput

func (GetAddressQuotaQuotaSetArgs) ToGetAddressQuotaQuotaSetOutputWithContext added in v0.1.5

func (i GetAddressQuotaQuotaSetArgs) ToGetAddressQuotaQuotaSetOutputWithContext(ctx context.Context) GetAddressQuotaQuotaSetOutput

type GetAddressQuotaQuotaSetArray added in v0.1.5

type GetAddressQuotaQuotaSetArray []GetAddressQuotaQuotaSetInput

func (GetAddressQuotaQuotaSetArray) ElementType added in v0.1.5

func (GetAddressQuotaQuotaSetArray) ToGetAddressQuotaQuotaSetArrayOutput added in v0.1.5

func (i GetAddressQuotaQuotaSetArray) ToGetAddressQuotaQuotaSetArrayOutput() GetAddressQuotaQuotaSetArrayOutput

func (GetAddressQuotaQuotaSetArray) ToGetAddressQuotaQuotaSetArrayOutputWithContext added in v0.1.5

func (i GetAddressQuotaQuotaSetArray) ToGetAddressQuotaQuotaSetArrayOutputWithContext(ctx context.Context) GetAddressQuotaQuotaSetArrayOutput

type GetAddressQuotaQuotaSetArrayInput added in v0.1.5

type GetAddressQuotaQuotaSetArrayInput interface {
	pulumi.Input

	ToGetAddressQuotaQuotaSetArrayOutput() GetAddressQuotaQuotaSetArrayOutput
	ToGetAddressQuotaQuotaSetArrayOutputWithContext(context.Context) GetAddressQuotaQuotaSetArrayOutput
}

GetAddressQuotaQuotaSetArrayInput is an input type that accepts GetAddressQuotaQuotaSetArray and GetAddressQuotaQuotaSetArrayOutput values. You can construct a concrete instance of `GetAddressQuotaQuotaSetArrayInput` via:

GetAddressQuotaQuotaSetArray{ GetAddressQuotaQuotaSetArgs{...} }

type GetAddressQuotaQuotaSetArrayOutput added in v0.1.5

type GetAddressQuotaQuotaSetArrayOutput struct{ *pulumi.OutputState }

func (GetAddressQuotaQuotaSetArrayOutput) ElementType added in v0.1.5

func (GetAddressQuotaQuotaSetArrayOutput) Index added in v0.1.5

func (GetAddressQuotaQuotaSetArrayOutput) ToGetAddressQuotaQuotaSetArrayOutput added in v0.1.5

func (o GetAddressQuotaQuotaSetArrayOutput) ToGetAddressQuotaQuotaSetArrayOutput() GetAddressQuotaQuotaSetArrayOutput

func (GetAddressQuotaQuotaSetArrayOutput) ToGetAddressQuotaQuotaSetArrayOutputWithContext added in v0.1.5

func (o GetAddressQuotaQuotaSetArrayOutput) ToGetAddressQuotaQuotaSetArrayOutputWithContext(ctx context.Context) GetAddressQuotaQuotaSetArrayOutput

type GetAddressQuotaQuotaSetInput added in v0.1.5

type GetAddressQuotaQuotaSetInput interface {
	pulumi.Input

	ToGetAddressQuotaQuotaSetOutput() GetAddressQuotaQuotaSetOutput
	ToGetAddressQuotaQuotaSetOutputWithContext(context.Context) GetAddressQuotaQuotaSetOutput
}

GetAddressQuotaQuotaSetInput is an input type that accepts GetAddressQuotaQuotaSetArgs and GetAddressQuotaQuotaSetOutput values. You can construct a concrete instance of `GetAddressQuotaQuotaSetInput` via:

GetAddressQuotaQuotaSetArgs{...}

type GetAddressQuotaQuotaSetOutput added in v0.1.5

type GetAddressQuotaQuotaSetOutput struct{ *pulumi.OutputState }

func (GetAddressQuotaQuotaSetOutput) ElementType added in v0.1.5

func (GetAddressQuotaQuotaSetOutput) QuotaCurrent added in v0.1.5

Current count.

func (GetAddressQuotaQuotaSetOutput) QuotaId added in v0.1.5

Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.

func (GetAddressQuotaQuotaSetOutput) QuotaLimit added in v0.1.5

quota count.

func (GetAddressQuotaQuotaSetOutput) ToGetAddressQuotaQuotaSetOutput added in v0.1.5

func (o GetAddressQuotaQuotaSetOutput) ToGetAddressQuotaQuotaSetOutput() GetAddressQuotaQuotaSetOutput

func (GetAddressQuotaQuotaSetOutput) ToGetAddressQuotaQuotaSetOutputWithContext added in v0.1.5

func (o GetAddressQuotaQuotaSetOutput) ToGetAddressQuotaQuotaSetOutputWithContext(ctx context.Context) GetAddressQuotaQuotaSetOutput

type GetAddressQuotaResult added in v0.1.5

type GetAddressQuotaResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The specified account EIP quota information.
	QuotaSets        []GetAddressQuotaQuotaSet `pulumi:"quotaSets"`
	ResultOutputFile *string                   `pulumi:"resultOutputFile"`
}

A collection of values returned by getAddressQuota.

func GetAddressQuota added in v0.1.5

func GetAddressQuota(ctx *pulumi.Context, args *GetAddressQuotaArgs, opts ...pulumi.InvokeOption) (*GetAddressQuotaResult, error)

Use this data source to query detailed information of vpc addressQuota

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.GetAddressQuota(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAddressQuotaResultOutput added in v0.1.5

type GetAddressQuotaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAddressQuota.

func GetAddressQuotaOutput added in v0.1.5

func (GetAddressQuotaResultOutput) ElementType added in v0.1.5

func (GetAddressQuotaResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetAddressQuotaResultOutput) QuotaSets added in v0.1.5

The specified account EIP quota information.

func (GetAddressQuotaResultOutput) ResultOutputFile added in v0.1.5

func (o GetAddressQuotaResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetAddressQuotaResultOutput) ToGetAddressQuotaResultOutput added in v0.1.5

func (o GetAddressQuotaResultOutput) ToGetAddressQuotaResultOutput() GetAddressQuotaResultOutput

func (GetAddressQuotaResultOutput) ToGetAddressQuotaResultOutputWithContext added in v0.1.5

func (o GetAddressQuotaResultOutput) ToGetAddressQuotaResultOutputWithContext(ctx context.Context) GetAddressQuotaResultOutput

type GetNetworkAccountTypeArgs added in v0.1.5

type GetNetworkAccountTypeArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getNetworkAccountType.

type GetNetworkAccountTypeOutputArgs added in v0.1.5

type GetNetworkAccountTypeOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getNetworkAccountType.

func (GetNetworkAccountTypeOutputArgs) ElementType added in v0.1.5

type GetNetworkAccountTypeResult added in v0.1.5

type GetNetworkAccountTypeResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
	NetworkAccountType string  `pulumi:"networkAccountType"`
	ResultOutputFile   *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getNetworkAccountType.

func GetNetworkAccountType added in v0.1.5

func GetNetworkAccountType(ctx *pulumi.Context, args *GetNetworkAccountTypeArgs, opts ...pulumi.InvokeOption) (*GetNetworkAccountTypeResult, error)

Use this data source to query detailed information of eip networkAccountType

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.GetNetworkAccountType(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNetworkAccountTypeResultOutput added in v0.1.5

type GetNetworkAccountTypeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetworkAccountType.

func GetNetworkAccountTypeOutput added in v0.1.5

func (GetNetworkAccountTypeResultOutput) ElementType added in v0.1.5

func (GetNetworkAccountTypeResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetNetworkAccountTypeResultOutput) NetworkAccountType added in v0.1.5

func (o GetNetworkAccountTypeResultOutput) NetworkAccountType() pulumi.StringOutput

The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.

func (GetNetworkAccountTypeResultOutput) ResultOutputFile added in v0.1.5

func (GetNetworkAccountTypeResultOutput) ToGetNetworkAccountTypeResultOutput added in v0.1.5

func (o GetNetworkAccountTypeResultOutput) ToGetNetworkAccountTypeResultOutput() GetNetworkAccountTypeResultOutput

func (GetNetworkAccountTypeResultOutput) ToGetNetworkAccountTypeResultOutputWithContext added in v0.1.5

func (o GetNetworkAccountTypeResultOutput) ToGetNetworkAccountTypeResultOutputWithContext(ctx context.Context) GetNetworkAccountTypeResultOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// ID of anti DDos package, it must set when `type` is `AntiDDoSEIP`.
	AntiDdosPackageId pulumi.StringOutput `pulumi:"antiDdosPackageId"`
	// The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.
	AnycastZone pulumi.StringPtrOutput `pulumi:"anycastZone"`
	// It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
	//
	// Deprecated: It has been deprecated from version 1.27.0.
	ApplicableForClb pulumi.BoolPtrOutput `pulumi:"applicableForClb"`
	// Auto renew flag.  0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
	AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"`
	// ID of bandwidth package, it will set when `internetChargeType` is `BANDWIDTH_PACKAGE`.
	BandwidthPackageId pulumi.StringOutput `pulumi:"bandwidthPackageId"`
	// Network egress. It defaults to `centerEgress1`. If you want to try the egress feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	Egress pulumi.StringOutput `pulumi:"egress"`
	// The charge type of eip. Valid values: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR`, `BANDWIDTH_PREPAID_BY_MONTH` and `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringOutput `pulumi:"internetChargeType"`
	// The bandwidth limit of EIP, unit is Mbps.
	InternetMaxBandwidthOut pulumi.IntOutput `pulumi:"internetMaxBandwidthOut"`
	// Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.
	InternetServiceProvider pulumi.StringPtrOutput `pulumi:"internetServiceProvider"`
	// The name of eip.
	Name pulumi.StringOutput `pulumi:"name"`
	// Period of instance. Default value: `1`. Valid value: `1`, `2`, `3`, `4`, `6`, `7`, `8`, `9`, `12`, `24`, `36`. NOTES: must set when `internetChargeType` is `BANDWIDTH_PREPAID_BY_MONTH`.
	PrepaidPeriod pulumi.IntPtrOutput `pulumi:"prepaidPeriod"`
	// The elastic IP address.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// The EIP current status.
	Status pulumi.StringOutput `pulumi:"status"`
	// The tags of eip.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The type of eip. Valid value:  `EIP` and `AnycastEIP` and `HighQualityEIP` and `AntiDDoSEIP`. Default is `EIP`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Provides an EIP resource.

## Example Usage ### Paid by the bandwidth package

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewInstance(ctx, "foo", &Eip.InstanceArgs{
			BandwidthPackageId: pulumi.String("bwp-jtvzuky6"),
			InternetChargeType: pulumi.String("BANDWIDTH_PACKAGE"),
			Type:               pulumi.String("EIP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### AntiDDos Eip

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewInstance(ctx, "foo", &Eip.InstanceArgs{
			AntiDdosPackageId:  pulumi.String("xxxxxxxx"),
			BandwidthPackageId: pulumi.String("bwp-4ocyia9s"),
			InternetChargeType: pulumi.String("BANDWIDTH_PACKAGE"),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
			Type: pulumi.String("AntiDDoSEIP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Eip With Network Egress

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewInstance(ctx, "foo", &Eip.InstanceArgs{
			Egress:                  pulumi.String("center_egress2"),
			InternetChargeType:      pulumi.String("BANDWIDTH_PACKAGE"),
			InternetMaxBandwidthOut: pulumi.Int(1),
			InternetServiceProvider: pulumi.String("CMCC"),
			Type:                    pulumi.String("EIP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EIP can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Eip/instance:Instance foo eip-nyvf60va

```

func GetInstance

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

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

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

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

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

type InstanceArgs

type InstanceArgs struct {
	// ID of anti DDos package, it must set when `type` is `AntiDDoSEIP`.
	AntiDdosPackageId pulumi.StringPtrInput
	// The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.
	AnycastZone pulumi.StringPtrInput
	// It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
	//
	// Deprecated: It has been deprecated from version 1.27.0.
	ApplicableForClb pulumi.BoolPtrInput
	// Auto renew flag.  0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
	AutoRenewFlag pulumi.IntPtrInput
	// ID of bandwidth package, it will set when `internetChargeType` is `BANDWIDTH_PACKAGE`.
	BandwidthPackageId pulumi.StringPtrInput
	// Network egress. It defaults to `centerEgress1`. If you want to try the egress feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	Egress pulumi.StringPtrInput
	// The charge type of eip. Valid values: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR`, `BANDWIDTH_PREPAID_BY_MONTH` and `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringPtrInput
	// The bandwidth limit of EIP, unit is Mbps.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.
	InternetServiceProvider pulumi.StringPtrInput
	// The name of eip.
	Name pulumi.StringPtrInput
	// Period of instance. Default value: `1`. Valid value: `1`, `2`, `3`, `4`, `6`, `7`, `8`, `9`, `12`, `24`, `36`. NOTES: must set when `internetChargeType` is `BANDWIDTH_PREPAID_BY_MONTH`.
	PrepaidPeriod pulumi.IntPtrInput
	// The tags of eip.
	Tags pulumi.MapInput
	// The type of eip. Valid value:  `EIP` and `AnycastEIP` and `HighQualityEIP` and `AntiDDoSEIP`. Default is `EIP`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

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

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

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

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

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

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

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

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

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

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

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

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

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

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

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AntiDdosPackageId added in v0.1.8

func (o InstanceOutput) AntiDdosPackageId() pulumi.StringOutput

ID of anti DDos package, it must set when `type` is `AntiDDoSEIP`.

func (InstanceOutput) AnycastZone

func (o InstanceOutput) AnycastZone() pulumi.StringPtrOutput

The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.

func (InstanceOutput) ApplicableForClb deprecated

func (o InstanceOutput) ApplicableForClb() pulumi.BoolPtrOutput

It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.

Deprecated: It has been deprecated from version 1.27.0.

func (InstanceOutput) AutoRenewFlag added in v0.1.3

func (o InstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput

Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.

func (InstanceOutput) BandwidthPackageId added in v0.1.3

func (o InstanceOutput) BandwidthPackageId() pulumi.StringOutput

ID of bandwidth package, it will set when `internetChargeType` is `BANDWIDTH_PACKAGE`.

func (InstanceOutput) Egress added in v0.1.8

func (o InstanceOutput) Egress() pulumi.StringOutput

Network egress. It defaults to `centerEgress1`. If you want to try the egress feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) InternetChargeType

func (o InstanceOutput) InternetChargeType() pulumi.StringOutput

The charge type of eip. Valid values: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR`, `BANDWIDTH_PREPAID_BY_MONTH` and `TRAFFIC_POSTPAID_BY_HOUR`.

func (InstanceOutput) InternetMaxBandwidthOut

func (o InstanceOutput) InternetMaxBandwidthOut() pulumi.IntOutput

The bandwidth limit of EIP, unit is Mbps.

func (InstanceOutput) InternetServiceProvider

func (o InstanceOutput) InternetServiceProvider() pulumi.StringPtrOutput

Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.

func (InstanceOutput) Name

The name of eip.

func (InstanceOutput) PrepaidPeriod added in v0.1.3

func (o InstanceOutput) PrepaidPeriod() pulumi.IntPtrOutput

Period of instance. Default value: `1`. Valid value: `1`, `2`, `3`, `4`, `6`, `7`, `8`, `9`, `12`, `24`, `36`. NOTES: must set when `internetChargeType` is `BANDWIDTH_PREPAID_BY_MONTH`.

func (InstanceOutput) PublicIp

func (o InstanceOutput) PublicIp() pulumi.StringOutput

The elastic IP address.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The EIP current status.

func (InstanceOutput) Tags

func (o InstanceOutput) Tags() pulumi.MapOutput

The tags of eip.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) Type

The type of eip. Valid value: `EIP` and `AnycastEIP` and `HighQualityEIP` and `AntiDDoSEIP`. Default is `EIP`.

type InstanceState

type InstanceState struct {
	// ID of anti DDos package, it must set when `type` is `AntiDDoSEIP`.
	AntiDdosPackageId pulumi.StringPtrInput
	// The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.
	AnycastZone pulumi.StringPtrInput
	// It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
	//
	// Deprecated: It has been deprecated from version 1.27.0.
	ApplicableForClb pulumi.BoolPtrInput
	// Auto renew flag.  0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
	AutoRenewFlag pulumi.IntPtrInput
	// ID of bandwidth package, it will set when `internetChargeType` is `BANDWIDTH_PACKAGE`.
	BandwidthPackageId pulumi.StringPtrInput
	// Network egress. It defaults to `centerEgress1`. If you want to try the egress feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	Egress pulumi.StringPtrInput
	// The charge type of eip. Valid values: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR`, `BANDWIDTH_PREPAID_BY_MONTH` and `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringPtrInput
	// The bandwidth limit of EIP, unit is Mbps.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.
	InternetServiceProvider pulumi.StringPtrInput
	// The name of eip.
	Name pulumi.StringPtrInput
	// Period of instance. Default value: `1`. Valid value: `1`, `2`, `3`, `4`, `6`, `7`, `8`, `9`, `12`, `24`, `36`. NOTES: must set when `internetChargeType` is `BANDWIDTH_PREPAID_BY_MONTH`.
	PrepaidPeriod pulumi.IntPtrInput
	// The elastic IP address.
	PublicIp pulumi.StringPtrInput
	// The EIP current status.
	Status pulumi.StringPtrInput
	// The tags of eip.
	Tags pulumi.MapInput
	// The type of eip. Valid value:  `EIP` and `AnycastEIP` and `HighQualityEIP` and `AntiDDoSEIP`. Default is `EIP`.
	Type pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type NormalAddressReturn added in v0.1.5

type NormalAddressReturn struct {
	pulumi.CustomResourceState

	// The IP address of the EIP, example: 101.35.139.183.
	AddressIps pulumi.StringArrayOutput `pulumi:"addressIps"`
}

Provides a resource to create a vpc normalAddressReturn

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewNormalAddressReturn(ctx, "normalAddressReturn", &Eip.NormalAddressReturnArgs{
			AddressIps: pulumi.StringArray(""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetNormalAddressReturn added in v0.1.5

func GetNormalAddressReturn(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NormalAddressReturnState, opts ...pulumi.ResourceOption) (*NormalAddressReturn, error)

GetNormalAddressReturn gets an existing NormalAddressReturn 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 NewNormalAddressReturn added in v0.1.5

func NewNormalAddressReturn(ctx *pulumi.Context,
	name string, args *NormalAddressReturnArgs, opts ...pulumi.ResourceOption) (*NormalAddressReturn, error)

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

func (*NormalAddressReturn) ElementType added in v0.1.5

func (*NormalAddressReturn) ElementType() reflect.Type

func (*NormalAddressReturn) ToNormalAddressReturnOutput added in v0.1.5

func (i *NormalAddressReturn) ToNormalAddressReturnOutput() NormalAddressReturnOutput

func (*NormalAddressReturn) ToNormalAddressReturnOutputWithContext added in v0.1.5

func (i *NormalAddressReturn) ToNormalAddressReturnOutputWithContext(ctx context.Context) NormalAddressReturnOutput

type NormalAddressReturnArgs added in v0.1.5

type NormalAddressReturnArgs struct {
	// The IP address of the EIP, example: 101.35.139.183.
	AddressIps pulumi.StringArrayInput
}

The set of arguments for constructing a NormalAddressReturn resource.

func (NormalAddressReturnArgs) ElementType added in v0.1.5

func (NormalAddressReturnArgs) ElementType() reflect.Type

type NormalAddressReturnArray added in v0.1.5

type NormalAddressReturnArray []NormalAddressReturnInput

func (NormalAddressReturnArray) ElementType added in v0.1.5

func (NormalAddressReturnArray) ElementType() reflect.Type

func (NormalAddressReturnArray) ToNormalAddressReturnArrayOutput added in v0.1.5

func (i NormalAddressReturnArray) ToNormalAddressReturnArrayOutput() NormalAddressReturnArrayOutput

func (NormalAddressReturnArray) ToNormalAddressReturnArrayOutputWithContext added in v0.1.5

func (i NormalAddressReturnArray) ToNormalAddressReturnArrayOutputWithContext(ctx context.Context) NormalAddressReturnArrayOutput

type NormalAddressReturnArrayInput added in v0.1.5

type NormalAddressReturnArrayInput interface {
	pulumi.Input

	ToNormalAddressReturnArrayOutput() NormalAddressReturnArrayOutput
	ToNormalAddressReturnArrayOutputWithContext(context.Context) NormalAddressReturnArrayOutput
}

NormalAddressReturnArrayInput is an input type that accepts NormalAddressReturnArray and NormalAddressReturnArrayOutput values. You can construct a concrete instance of `NormalAddressReturnArrayInput` via:

NormalAddressReturnArray{ NormalAddressReturnArgs{...} }

type NormalAddressReturnArrayOutput added in v0.1.5

type NormalAddressReturnArrayOutput struct{ *pulumi.OutputState }

func (NormalAddressReturnArrayOutput) ElementType added in v0.1.5

func (NormalAddressReturnArrayOutput) Index added in v0.1.5

func (NormalAddressReturnArrayOutput) ToNormalAddressReturnArrayOutput added in v0.1.5

func (o NormalAddressReturnArrayOutput) ToNormalAddressReturnArrayOutput() NormalAddressReturnArrayOutput

func (NormalAddressReturnArrayOutput) ToNormalAddressReturnArrayOutputWithContext added in v0.1.5

func (o NormalAddressReturnArrayOutput) ToNormalAddressReturnArrayOutputWithContext(ctx context.Context) NormalAddressReturnArrayOutput

type NormalAddressReturnInput added in v0.1.5

type NormalAddressReturnInput interface {
	pulumi.Input

	ToNormalAddressReturnOutput() NormalAddressReturnOutput
	ToNormalAddressReturnOutputWithContext(ctx context.Context) NormalAddressReturnOutput
}

type NormalAddressReturnMap added in v0.1.5

type NormalAddressReturnMap map[string]NormalAddressReturnInput

func (NormalAddressReturnMap) ElementType added in v0.1.5

func (NormalAddressReturnMap) ElementType() reflect.Type

func (NormalAddressReturnMap) ToNormalAddressReturnMapOutput added in v0.1.5

func (i NormalAddressReturnMap) ToNormalAddressReturnMapOutput() NormalAddressReturnMapOutput

func (NormalAddressReturnMap) ToNormalAddressReturnMapOutputWithContext added in v0.1.5

func (i NormalAddressReturnMap) ToNormalAddressReturnMapOutputWithContext(ctx context.Context) NormalAddressReturnMapOutput

type NormalAddressReturnMapInput added in v0.1.5

type NormalAddressReturnMapInput interface {
	pulumi.Input

	ToNormalAddressReturnMapOutput() NormalAddressReturnMapOutput
	ToNormalAddressReturnMapOutputWithContext(context.Context) NormalAddressReturnMapOutput
}

NormalAddressReturnMapInput is an input type that accepts NormalAddressReturnMap and NormalAddressReturnMapOutput values. You can construct a concrete instance of `NormalAddressReturnMapInput` via:

NormalAddressReturnMap{ "key": NormalAddressReturnArgs{...} }

type NormalAddressReturnMapOutput added in v0.1.5

type NormalAddressReturnMapOutput struct{ *pulumi.OutputState }

func (NormalAddressReturnMapOutput) ElementType added in v0.1.5

func (NormalAddressReturnMapOutput) MapIndex added in v0.1.5

func (NormalAddressReturnMapOutput) ToNormalAddressReturnMapOutput added in v0.1.5

func (o NormalAddressReturnMapOutput) ToNormalAddressReturnMapOutput() NormalAddressReturnMapOutput

func (NormalAddressReturnMapOutput) ToNormalAddressReturnMapOutputWithContext added in v0.1.5

func (o NormalAddressReturnMapOutput) ToNormalAddressReturnMapOutputWithContext(ctx context.Context) NormalAddressReturnMapOutput

type NormalAddressReturnOutput added in v0.1.5

type NormalAddressReturnOutput struct{ *pulumi.OutputState }

func (NormalAddressReturnOutput) AddressIps added in v0.1.5

The IP address of the EIP, example: 101.35.139.183.

func (NormalAddressReturnOutput) ElementType added in v0.1.5

func (NormalAddressReturnOutput) ElementType() reflect.Type

func (NormalAddressReturnOutput) ToNormalAddressReturnOutput added in v0.1.5

func (o NormalAddressReturnOutput) ToNormalAddressReturnOutput() NormalAddressReturnOutput

func (NormalAddressReturnOutput) ToNormalAddressReturnOutputWithContext added in v0.1.5

func (o NormalAddressReturnOutput) ToNormalAddressReturnOutputWithContext(ctx context.Context) NormalAddressReturnOutput

type NormalAddressReturnState added in v0.1.5

type NormalAddressReturnState struct {
	// The IP address of the EIP, example: 101.35.139.183.
	AddressIps pulumi.StringArrayInput
}

func (NormalAddressReturnState) ElementType added in v0.1.5

func (NormalAddressReturnState) ElementType() reflect.Type

type PublicAddressAdjust added in v0.1.5

type PublicAddressAdjust struct {
	pulumi.CustomResourceState

	// A unique ID that identifies an EIP instance. The unique ID of EIP is in the form:`eip-erft45fu`.
	AddressId pulumi.StringPtrOutput `pulumi:"addressId"`
	// A unique ID that identifies the CVM instance. The unique ID of CVM is in the form:`ins-osckfnm7`.
	InstanceId pulumi.StringPtrOutput `pulumi:"instanceId"`
}

Provides a resource to create a eip publicAddressAdjust

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Eip"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.NewPublicAddressAdjust(ctx, "publicAddressAdjust", &Eip.PublicAddressAdjustArgs{
			AddressId:  pulumi.String("eip-erft45fu"),
			InstanceId: pulumi.String("ins-cr2rfq78"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetPublicAddressAdjust added in v0.1.5

func GetPublicAddressAdjust(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PublicAddressAdjustState, opts ...pulumi.ResourceOption) (*PublicAddressAdjust, error)

GetPublicAddressAdjust gets an existing PublicAddressAdjust 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 NewPublicAddressAdjust added in v0.1.5

func NewPublicAddressAdjust(ctx *pulumi.Context,
	name string, args *PublicAddressAdjustArgs, opts ...pulumi.ResourceOption) (*PublicAddressAdjust, error)

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

func (*PublicAddressAdjust) ElementType added in v0.1.5

func (*PublicAddressAdjust) ElementType() reflect.Type

func (*PublicAddressAdjust) ToPublicAddressAdjustOutput added in v0.1.5

func (i *PublicAddressAdjust) ToPublicAddressAdjustOutput() PublicAddressAdjustOutput

func (*PublicAddressAdjust) ToPublicAddressAdjustOutputWithContext added in v0.1.5

func (i *PublicAddressAdjust) ToPublicAddressAdjustOutputWithContext(ctx context.Context) PublicAddressAdjustOutput

type PublicAddressAdjustArgs added in v0.1.5

type PublicAddressAdjustArgs struct {
	// A unique ID that identifies an EIP instance. The unique ID of EIP is in the form:`eip-erft45fu`.
	AddressId pulumi.StringPtrInput
	// A unique ID that identifies the CVM instance. The unique ID of CVM is in the form:`ins-osckfnm7`.
	InstanceId pulumi.StringPtrInput
}

The set of arguments for constructing a PublicAddressAdjust resource.

func (PublicAddressAdjustArgs) ElementType added in v0.1.5

func (PublicAddressAdjustArgs) ElementType() reflect.Type

type PublicAddressAdjustArray added in v0.1.5

type PublicAddressAdjustArray []PublicAddressAdjustInput

func (PublicAddressAdjustArray) ElementType added in v0.1.5

func (PublicAddressAdjustArray) ElementType() reflect.Type

func (PublicAddressAdjustArray) ToPublicAddressAdjustArrayOutput added in v0.1.5

func (i PublicAddressAdjustArray) ToPublicAddressAdjustArrayOutput() PublicAddressAdjustArrayOutput

func (PublicAddressAdjustArray) ToPublicAddressAdjustArrayOutputWithContext added in v0.1.5

func (i PublicAddressAdjustArray) ToPublicAddressAdjustArrayOutputWithContext(ctx context.Context) PublicAddressAdjustArrayOutput

type PublicAddressAdjustArrayInput added in v0.1.5

type PublicAddressAdjustArrayInput interface {
	pulumi.Input

	ToPublicAddressAdjustArrayOutput() PublicAddressAdjustArrayOutput
	ToPublicAddressAdjustArrayOutputWithContext(context.Context) PublicAddressAdjustArrayOutput
}

PublicAddressAdjustArrayInput is an input type that accepts PublicAddressAdjustArray and PublicAddressAdjustArrayOutput values. You can construct a concrete instance of `PublicAddressAdjustArrayInput` via:

PublicAddressAdjustArray{ PublicAddressAdjustArgs{...} }

type PublicAddressAdjustArrayOutput added in v0.1.5

type PublicAddressAdjustArrayOutput struct{ *pulumi.OutputState }

func (PublicAddressAdjustArrayOutput) ElementType added in v0.1.5

func (PublicAddressAdjustArrayOutput) Index added in v0.1.5

func (PublicAddressAdjustArrayOutput) ToPublicAddressAdjustArrayOutput added in v0.1.5

func (o PublicAddressAdjustArrayOutput) ToPublicAddressAdjustArrayOutput() PublicAddressAdjustArrayOutput

func (PublicAddressAdjustArrayOutput) ToPublicAddressAdjustArrayOutputWithContext added in v0.1.5

func (o PublicAddressAdjustArrayOutput) ToPublicAddressAdjustArrayOutputWithContext(ctx context.Context) PublicAddressAdjustArrayOutput

type PublicAddressAdjustInput added in v0.1.5

type PublicAddressAdjustInput interface {
	pulumi.Input

	ToPublicAddressAdjustOutput() PublicAddressAdjustOutput
	ToPublicAddressAdjustOutputWithContext(ctx context.Context) PublicAddressAdjustOutput
}

type PublicAddressAdjustMap added in v0.1.5

type PublicAddressAdjustMap map[string]PublicAddressAdjustInput

func (PublicAddressAdjustMap) ElementType added in v0.1.5

func (PublicAddressAdjustMap) ElementType() reflect.Type

func (PublicAddressAdjustMap) ToPublicAddressAdjustMapOutput added in v0.1.5

func (i PublicAddressAdjustMap) ToPublicAddressAdjustMapOutput() PublicAddressAdjustMapOutput

func (PublicAddressAdjustMap) ToPublicAddressAdjustMapOutputWithContext added in v0.1.5

func (i PublicAddressAdjustMap) ToPublicAddressAdjustMapOutputWithContext(ctx context.Context) PublicAddressAdjustMapOutput

type PublicAddressAdjustMapInput added in v0.1.5

type PublicAddressAdjustMapInput interface {
	pulumi.Input

	ToPublicAddressAdjustMapOutput() PublicAddressAdjustMapOutput
	ToPublicAddressAdjustMapOutputWithContext(context.Context) PublicAddressAdjustMapOutput
}

PublicAddressAdjustMapInput is an input type that accepts PublicAddressAdjustMap and PublicAddressAdjustMapOutput values. You can construct a concrete instance of `PublicAddressAdjustMapInput` via:

PublicAddressAdjustMap{ "key": PublicAddressAdjustArgs{...} }

type PublicAddressAdjustMapOutput added in v0.1.5

type PublicAddressAdjustMapOutput struct{ *pulumi.OutputState }

func (PublicAddressAdjustMapOutput) ElementType added in v0.1.5

func (PublicAddressAdjustMapOutput) MapIndex added in v0.1.5

func (PublicAddressAdjustMapOutput) ToPublicAddressAdjustMapOutput added in v0.1.5

func (o PublicAddressAdjustMapOutput) ToPublicAddressAdjustMapOutput() PublicAddressAdjustMapOutput

func (PublicAddressAdjustMapOutput) ToPublicAddressAdjustMapOutputWithContext added in v0.1.5

func (o PublicAddressAdjustMapOutput) ToPublicAddressAdjustMapOutputWithContext(ctx context.Context) PublicAddressAdjustMapOutput

type PublicAddressAdjustOutput added in v0.1.5

type PublicAddressAdjustOutput struct{ *pulumi.OutputState }

func (PublicAddressAdjustOutput) AddressId added in v0.1.5

A unique ID that identifies an EIP instance. The unique ID of EIP is in the form:`eip-erft45fu`.

func (PublicAddressAdjustOutput) ElementType added in v0.1.5

func (PublicAddressAdjustOutput) ElementType() reflect.Type

func (PublicAddressAdjustOutput) InstanceId added in v0.1.5

A unique ID that identifies the CVM instance. The unique ID of CVM is in the form:`ins-osckfnm7`.

func (PublicAddressAdjustOutput) ToPublicAddressAdjustOutput added in v0.1.5

func (o PublicAddressAdjustOutput) ToPublicAddressAdjustOutput() PublicAddressAdjustOutput

func (PublicAddressAdjustOutput) ToPublicAddressAdjustOutputWithContext added in v0.1.5

func (o PublicAddressAdjustOutput) ToPublicAddressAdjustOutputWithContext(ctx context.Context) PublicAddressAdjustOutput

type PublicAddressAdjustState added in v0.1.5

type PublicAddressAdjustState struct {
	// A unique ID that identifies an EIP instance. The unique ID of EIP is in the form:`eip-erft45fu`.
	AddressId pulumi.StringPtrInput
	// A unique ID that identifies the CVM instance. The unique ID of CVM is in the form:`ins-osckfnm7`.
	InstanceId pulumi.StringPtrInput
}

func (PublicAddressAdjustState) ElementType added in v0.1.5

func (PublicAddressAdjustState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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