eip

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.2

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 GetBandwidthArgs

type GetBandwidthArgs struct {
	// The enterprise project id of the Shared Bandwidth to retrieve.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// The name of the Shared Bandwidth to retrieve.
	Name string `pulumi:"name"`
	// The region in which to obtain the bandwidth. If omitted, the provider-level region will
	// be used.
	Region *string `pulumi:"region"`
	// The size of the Shared Bandwidth to retrieve. The value ranges from 5 Mbit/s to 2000 Mbit/s.
	Size *int `pulumi:"size"`
}

A collection of arguments for invoking getBandwidth.

type GetBandwidthOutputArgs

type GetBandwidthOutputArgs struct {
	// The enterprise project id of the Shared Bandwidth to retrieve.
	EnterpriseProjectId pulumi.StringPtrInput `pulumi:"enterpriseProjectId"`
	// The name of the Shared Bandwidth to retrieve.
	Name pulumi.StringInput `pulumi:"name"`
	// The region in which to obtain the bandwidth. If omitted, the provider-level region will
	// be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The size of the Shared Bandwidth to retrieve. The value ranges from 5 Mbit/s to 2000 Mbit/s.
	Size pulumi.IntPtrInput `pulumi:"size"`
}

A collection of arguments for invoking getBandwidth.

func (GetBandwidthOutputArgs) ElementType

func (GetBandwidthOutputArgs) ElementType() reflect.Type

type GetBandwidthPublicip

type GetBandwidthPublicip struct {
	// The ID of the EIP or IPv6 port that uses the bandwidth.
	Id string `pulumi:"id"`
	// The IPv4 or IPv6 address.
	IpAddress string `pulumi:"ipAddress"`
	// The IP version, either 4 or 6.
	IpVersion int `pulumi:"ipVersion"`
	// The EIP type. Possible values are *5_bgp* (dynamic BGP) and *5_sbgp* (static BGP).
	Type string `pulumi:"type"`
}

type GetBandwidthPublicipArgs

type GetBandwidthPublicipArgs struct {
	// The ID of the EIP or IPv6 port that uses the bandwidth.
	Id pulumi.StringInput `pulumi:"id"`
	// The IPv4 or IPv6 address.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The IP version, either 4 or 6.
	IpVersion pulumi.IntInput `pulumi:"ipVersion"`
	// The EIP type. Possible values are *5_bgp* (dynamic BGP) and *5_sbgp* (static BGP).
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetBandwidthPublicipArgs) ElementType

func (GetBandwidthPublicipArgs) ElementType() reflect.Type

func (GetBandwidthPublicipArgs) ToGetBandwidthPublicipOutput

func (i GetBandwidthPublicipArgs) ToGetBandwidthPublicipOutput() GetBandwidthPublicipOutput

func (GetBandwidthPublicipArgs) ToGetBandwidthPublicipOutputWithContext

func (i GetBandwidthPublicipArgs) ToGetBandwidthPublicipOutputWithContext(ctx context.Context) GetBandwidthPublicipOutput

type GetBandwidthPublicipArray

type GetBandwidthPublicipArray []GetBandwidthPublicipInput

func (GetBandwidthPublicipArray) ElementType

func (GetBandwidthPublicipArray) ElementType() reflect.Type

func (GetBandwidthPublicipArray) ToGetBandwidthPublicipArrayOutput

func (i GetBandwidthPublicipArray) ToGetBandwidthPublicipArrayOutput() GetBandwidthPublicipArrayOutput

func (GetBandwidthPublicipArray) ToGetBandwidthPublicipArrayOutputWithContext

func (i GetBandwidthPublicipArray) ToGetBandwidthPublicipArrayOutputWithContext(ctx context.Context) GetBandwidthPublicipArrayOutput

type GetBandwidthPublicipArrayInput

type GetBandwidthPublicipArrayInput interface {
	pulumi.Input

	ToGetBandwidthPublicipArrayOutput() GetBandwidthPublicipArrayOutput
	ToGetBandwidthPublicipArrayOutputWithContext(context.Context) GetBandwidthPublicipArrayOutput
}

GetBandwidthPublicipArrayInput is an input type that accepts GetBandwidthPublicipArray and GetBandwidthPublicipArrayOutput values. You can construct a concrete instance of `GetBandwidthPublicipArrayInput` via:

GetBandwidthPublicipArray{ GetBandwidthPublicipArgs{...} }

type GetBandwidthPublicipArrayOutput

type GetBandwidthPublicipArrayOutput struct{ *pulumi.OutputState }

func (GetBandwidthPublicipArrayOutput) ElementType

func (GetBandwidthPublicipArrayOutput) Index

func (GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutput

func (o GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutput() GetBandwidthPublicipArrayOutput

func (GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutputWithContext

func (o GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutputWithContext(ctx context.Context) GetBandwidthPublicipArrayOutput

type GetBandwidthPublicipInput

type GetBandwidthPublicipInput interface {
	pulumi.Input

	ToGetBandwidthPublicipOutput() GetBandwidthPublicipOutput
	ToGetBandwidthPublicipOutputWithContext(context.Context) GetBandwidthPublicipOutput
}

GetBandwidthPublicipInput is an input type that accepts GetBandwidthPublicipArgs and GetBandwidthPublicipOutput values. You can construct a concrete instance of `GetBandwidthPublicipInput` via:

GetBandwidthPublicipArgs{...}

type GetBandwidthPublicipOutput

type GetBandwidthPublicipOutput struct{ *pulumi.OutputState }

func (GetBandwidthPublicipOutput) ElementType

func (GetBandwidthPublicipOutput) ElementType() reflect.Type

func (GetBandwidthPublicipOutput) Id

The ID of the EIP or IPv6 port that uses the bandwidth.

func (GetBandwidthPublicipOutput) IpAddress

The IPv4 or IPv6 address.

func (GetBandwidthPublicipOutput) IpVersion

The IP version, either 4 or 6.

func (GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutput

func (o GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutput() GetBandwidthPublicipOutput

func (GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutputWithContext

func (o GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutputWithContext(ctx context.Context) GetBandwidthPublicipOutput

func (GetBandwidthPublicipOutput) Type

The EIP type. Possible values are *5_bgp* (dynamic BGP) and *5_sbgp* (static BGP).

type GetBandwidthResult

type GetBandwidthResult struct {
	// Indicates the bandwidth type.
	BandwidthType string `pulumi:"bandwidthType"`
	// Indicates whether the billing is based on traffic, bandwidth, or 95th percentile bandwidth (enhanced).
	ChargeMode          string `pulumi:"chargeMode"`
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// An array of EIPs that use the bandwidth. The object includes the following:
	Publicips []GetBandwidthPublicip `pulumi:"publicips"`
	Region    string                 `pulumi:"region"`
	// Indicates whether the bandwidth is shared or dedicated.
	ShareType string `pulumi:"shareType"`
	Size      int    `pulumi:"size"`
	// Indicates the bandwidth status.
	Status string `pulumi:"status"`
}

A collection of values returned by getBandwidth.

func GetBandwidth

func GetBandwidth(ctx *pulumi.Context, args *GetBandwidthArgs, opts ...pulumi.InvokeOption) (*GetBandwidthResult, error)

Provides details about a specific bandwidth.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Eip"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Eip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		bandwidthName := cfg.RequireObject("bandwidthName")
		_, err := Eip.GetBandwidth(ctx, &eip.GetBandwidthArgs{
			Name: bandwidthName,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBandwidthResultOutput

type GetBandwidthResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBandwidth.

func (GetBandwidthResultOutput) BandwidthType

func (o GetBandwidthResultOutput) BandwidthType() pulumi.StringOutput

Indicates the bandwidth type.

func (GetBandwidthResultOutput) ChargeMode

Indicates whether the billing is based on traffic, bandwidth, or 95th percentile bandwidth (enhanced).

func (GetBandwidthResultOutput) ElementType

func (GetBandwidthResultOutput) ElementType() reflect.Type

func (GetBandwidthResultOutput) EnterpriseProjectId

func (o GetBandwidthResultOutput) EnterpriseProjectId() pulumi.StringOutput

func (GetBandwidthResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBandwidthResultOutput) Name

func (GetBandwidthResultOutput) Publicips

An array of EIPs that use the bandwidth. The object includes the following:

func (GetBandwidthResultOutput) Region

func (GetBandwidthResultOutput) ShareType

Indicates whether the bandwidth is shared or dedicated.

func (GetBandwidthResultOutput) Size

func (GetBandwidthResultOutput) Status

Indicates the bandwidth status.

func (GetBandwidthResultOutput) ToGetBandwidthResultOutput

func (o GetBandwidthResultOutput) ToGetBandwidthResultOutput() GetBandwidthResultOutput

func (GetBandwidthResultOutput) ToGetBandwidthResultOutputWithContext

func (o GetBandwidthResultOutput) ToGetBandwidthResultOutputWithContext(ctx context.Context) GetBandwidthResultOutput

type GetEipArgs

type GetEipArgs struct {
	// Specifies the enterprise project id of the EIP.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// Specifies the port id of the EIP.
	PortId *string `pulumi:"portId"`
	// Specifies the public **IPv4** address of the EIP.
	PublicIp *string `pulumi:"publicIp"`
	// Specifies the region in which to obtain the EIP.
	// If omitted, the provider-level region will be used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getEip.

type GetEipOutputArgs

type GetEipOutputArgs struct {
	// Specifies the enterprise project id of the EIP.
	EnterpriseProjectId pulumi.StringPtrInput `pulumi:"enterpriseProjectId"`
	// Specifies the port id of the EIP.
	PortId pulumi.StringPtrInput `pulumi:"portId"`
	// Specifies the public **IPv4** address of the EIP.
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	// Specifies the region in which to obtain the EIP.
	// If omitted, the provider-level region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getEip.

func (GetEipOutputArgs) ElementType

func (GetEipOutputArgs) ElementType() reflect.Type

type GetEipResult

type GetEipResult struct {
	// The bandwidth id of the EIP.
	BandwidthId string `pulumi:"bandwidthId"`
	// The bandwidth share type of the EIP.
	BandwidthShareType string `pulumi:"bandwidthShareType"`
	// The bandwidth size of the EIP.
	BandwidthSize       int    `pulumi:"bandwidthSize"`
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The IP version, either 4 or 6.
	IpVersion int `pulumi:"ipVersion"`
	// The IPv6 address of the EIP.
	Ipv6Address string `pulumi:"ipv6Address"`
	PortId      string `pulumi:"portId"`
	// The private ip of the EIP.
	PrivateIp string `pulumi:"privateIp"`
	PublicIp  string `pulumi:"publicIp"`
	Region    string `pulumi:"region"`
	// The status of the EIP.
	Status string `pulumi:"status"`
	// The type of the EIP.
	Type string `pulumi:"type"`
}

A collection of values returned by getEip.

func GetEip

func GetEip(ctx *pulumi.Context, args *GetEipArgs, opts ...pulumi.InvokeOption) (*GetEipResult, error)

Use this data source to get the details of an available EIP.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Eip"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Eip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Eip.GetEip(ctx, &eip.GetEipArgs{
			PublicIp: pulumi.StringRef("123.60.208.163"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEipResultOutput

type GetEipResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEip.

func GetEipOutput

func GetEipOutput(ctx *pulumi.Context, args GetEipOutputArgs, opts ...pulumi.InvokeOption) GetEipResultOutput

func (GetEipResultOutput) BandwidthId

func (o GetEipResultOutput) BandwidthId() pulumi.StringOutput

The bandwidth id of the EIP.

func (GetEipResultOutput) BandwidthShareType

func (o GetEipResultOutput) BandwidthShareType() pulumi.StringOutput

The bandwidth share type of the EIP.

func (GetEipResultOutput) BandwidthSize

func (o GetEipResultOutput) BandwidthSize() pulumi.IntOutput

The bandwidth size of the EIP.

func (GetEipResultOutput) ElementType

func (GetEipResultOutput) ElementType() reflect.Type

func (GetEipResultOutput) EnterpriseProjectId

func (o GetEipResultOutput) EnterpriseProjectId() pulumi.StringOutput

func (GetEipResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEipResultOutput) IpVersion

func (o GetEipResultOutput) IpVersion() pulumi.IntOutput

The IP version, either 4 or 6.

func (GetEipResultOutput) Ipv6Address

func (o GetEipResultOutput) Ipv6Address() pulumi.StringOutput

The IPv6 address of the EIP.

func (GetEipResultOutput) PortId

func (GetEipResultOutput) PrivateIp

func (o GetEipResultOutput) PrivateIp() pulumi.StringOutput

The private ip of the EIP.

func (GetEipResultOutput) PublicIp

func (o GetEipResultOutput) PublicIp() pulumi.StringOutput

func (GetEipResultOutput) Region

func (GetEipResultOutput) Status

The status of the EIP.

func (GetEipResultOutput) ToGetEipResultOutput

func (o GetEipResultOutput) ToGetEipResultOutput() GetEipResultOutput

func (GetEipResultOutput) ToGetEipResultOutputWithContext

func (o GetEipResultOutput) ToGetEipResultOutputWithContext(ctx context.Context) GetEipResultOutput

func (GetEipResultOutput) Type

The type of the EIP.

type GetEipsArgs

type GetEipsArgs struct {
	// Specifies the enterprise project ID which the desired EIP belongs to.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// Specifies an array of one or more IDs of the desired EIP.
	Ids []string `pulumi:"ids"`
	// Specifies ip version of the desired EIP. The options are:
	// + `4`: IPv4.
	// + `6`: IPv6.
	IpVersion *int `pulumi:"ipVersion"`
	// Specifies an array of one or more port ids which bound to the desired EIP.
	PortIds []string `pulumi:"portIds"`
	// Specifies an array of one or more public ip addresses of the desired EIP.
	PublicIps []string `pulumi:"publicIps"`
	// Specifies the region in which to obtain the EIP. If omitted, the provider-level region
	// will be used.
	Region *string `pulumi:"region"`
	// Specifies the included key/value pairs which associated with the desired EIP.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getEips.

type GetEipsEip

type GetEipsEip struct {
	// The bandwidth id of the EIP.
	BandwidthId string `pulumi:"bandwidthId"`
	// The bandwidth name of the EIP.
	BandwidthName string `pulumi:"bandwidthName"`
	// The bandwidth share type of the EIP.
	BandwidthShareType string `pulumi:"bandwidthShareType"`
	// The bandwidth size of the EIP.
	BandwidthSize int `pulumi:"bandwidthSize"`
	// Specifies the enterprise project ID which the desired EIP belongs to.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// The ID of the EIP.
	Id string `pulumi:"id"`
	// Specifies ip version of the desired EIP. The options are:
	// + `4`: IPv4.
	// + `6`: IPv6.
	IpVersion int `pulumi:"ipVersion"`
	// The name of the EIP.
	Name string `pulumi:"name"`
	// The port id bound to the EIP.
	PortId string `pulumi:"portId"`
	// The private ip address of the EIP.
	PrivateIp string `pulumi:"privateIp"`
	// The public ip address of the EIP.
	PublicIp string `pulumi:"publicIp"`
	// The public ipv6 address of the EIP.
	PublicIpv6 string `pulumi:"publicIpv6"`
	// The status of the EIP.
	Status string `pulumi:"status"`
	// Specifies the included key/value pairs which associated with the desired EIP.
	Tags map[string]string `pulumi:"tags"`
	// The type of the EIP.
	Type string `pulumi:"type"`
}

type GetEipsEipArgs

type GetEipsEipArgs struct {
	// The bandwidth id of the EIP.
	BandwidthId pulumi.StringInput `pulumi:"bandwidthId"`
	// The bandwidth name of the EIP.
	BandwidthName pulumi.StringInput `pulumi:"bandwidthName"`
	// The bandwidth share type of the EIP.
	BandwidthShareType pulumi.StringInput `pulumi:"bandwidthShareType"`
	// The bandwidth size of the EIP.
	BandwidthSize pulumi.IntInput `pulumi:"bandwidthSize"`
	// Specifies the enterprise project ID which the desired EIP belongs to.
	EnterpriseProjectId pulumi.StringInput `pulumi:"enterpriseProjectId"`
	// The ID of the EIP.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies ip version of the desired EIP. The options are:
	// + `4`: IPv4.
	// + `6`: IPv6.
	IpVersion pulumi.IntInput `pulumi:"ipVersion"`
	// The name of the EIP.
	Name pulumi.StringInput `pulumi:"name"`
	// The port id bound to the EIP.
	PortId pulumi.StringInput `pulumi:"portId"`
	// The private ip address of the EIP.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// The public ip address of the EIP.
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	// The public ipv6 address of the EIP.
	PublicIpv6 pulumi.StringInput `pulumi:"publicIpv6"`
	// The status of the EIP.
	Status pulumi.StringInput `pulumi:"status"`
	// Specifies the included key/value pairs which associated with the desired EIP.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// The type of the EIP.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetEipsEipArgs) ElementType

func (GetEipsEipArgs) ElementType() reflect.Type

func (GetEipsEipArgs) ToGetEipsEipOutput

func (i GetEipsEipArgs) ToGetEipsEipOutput() GetEipsEipOutput

func (GetEipsEipArgs) ToGetEipsEipOutputWithContext

func (i GetEipsEipArgs) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput

type GetEipsEipArray

type GetEipsEipArray []GetEipsEipInput

func (GetEipsEipArray) ElementType

func (GetEipsEipArray) ElementType() reflect.Type

func (GetEipsEipArray) ToGetEipsEipArrayOutput

func (i GetEipsEipArray) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput

func (GetEipsEipArray) ToGetEipsEipArrayOutputWithContext

func (i GetEipsEipArray) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput

type GetEipsEipArrayInput

type GetEipsEipArrayInput interface {
	pulumi.Input

	ToGetEipsEipArrayOutput() GetEipsEipArrayOutput
	ToGetEipsEipArrayOutputWithContext(context.Context) GetEipsEipArrayOutput
}

GetEipsEipArrayInput is an input type that accepts GetEipsEipArray and GetEipsEipArrayOutput values. You can construct a concrete instance of `GetEipsEipArrayInput` via:

GetEipsEipArray{ GetEipsEipArgs{...} }

type GetEipsEipArrayOutput

type GetEipsEipArrayOutput struct{ *pulumi.OutputState }

func (GetEipsEipArrayOutput) ElementType

func (GetEipsEipArrayOutput) ElementType() reflect.Type

func (GetEipsEipArrayOutput) Index

func (GetEipsEipArrayOutput) ToGetEipsEipArrayOutput

func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput

func (GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext

func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput

type GetEipsEipInput

type GetEipsEipInput interface {
	pulumi.Input

	ToGetEipsEipOutput() GetEipsEipOutput
	ToGetEipsEipOutputWithContext(context.Context) GetEipsEipOutput
}

GetEipsEipInput is an input type that accepts GetEipsEipArgs and GetEipsEipOutput values. You can construct a concrete instance of `GetEipsEipInput` via:

GetEipsEipArgs{...}

type GetEipsEipOutput

type GetEipsEipOutput struct{ *pulumi.OutputState }

func (GetEipsEipOutput) BandwidthId

func (o GetEipsEipOutput) BandwidthId() pulumi.StringOutput

The bandwidth id of the EIP.

func (GetEipsEipOutput) BandwidthName

func (o GetEipsEipOutput) BandwidthName() pulumi.StringOutput

The bandwidth name of the EIP.

func (GetEipsEipOutput) BandwidthShareType

func (o GetEipsEipOutput) BandwidthShareType() pulumi.StringOutput

The bandwidth share type of the EIP.

func (GetEipsEipOutput) BandwidthSize

func (o GetEipsEipOutput) BandwidthSize() pulumi.IntOutput

The bandwidth size of the EIP.

func (GetEipsEipOutput) ElementType

func (GetEipsEipOutput) ElementType() reflect.Type

func (GetEipsEipOutput) EnterpriseProjectId

func (o GetEipsEipOutput) EnterpriseProjectId() pulumi.StringOutput

Specifies the enterprise project ID which the desired EIP belongs to.

func (GetEipsEipOutput) Id

The ID of the EIP.

func (GetEipsEipOutput) IpVersion

func (o GetEipsEipOutput) IpVersion() pulumi.IntOutput

Specifies ip version of the desired EIP. The options are: + `4`: IPv4. + `6`: IPv6.

func (GetEipsEipOutput) Name

The name of the EIP.

func (GetEipsEipOutput) PortId

The port id bound to the EIP.

func (GetEipsEipOutput) PrivateIp

func (o GetEipsEipOutput) PrivateIp() pulumi.StringOutput

The private ip address of the EIP.

func (GetEipsEipOutput) PublicIp

func (o GetEipsEipOutput) PublicIp() pulumi.StringOutput

The public ip address of the EIP.

func (GetEipsEipOutput) PublicIpv6

func (o GetEipsEipOutput) PublicIpv6() pulumi.StringOutput

The public ipv6 address of the EIP.

func (GetEipsEipOutput) Status

The status of the EIP.

func (GetEipsEipOutput) Tags

Specifies the included key/value pairs which associated with the desired EIP.

func (GetEipsEipOutput) ToGetEipsEipOutput

func (o GetEipsEipOutput) ToGetEipsEipOutput() GetEipsEipOutput

func (GetEipsEipOutput) ToGetEipsEipOutputWithContext

func (o GetEipsEipOutput) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput

func (GetEipsEipOutput) Type

The type of the EIP.

type GetEipsOutputArgs

type GetEipsOutputArgs struct {
	// Specifies the enterprise project ID which the desired EIP belongs to.
	EnterpriseProjectId pulumi.StringPtrInput `pulumi:"enterpriseProjectId"`
	// Specifies an array of one or more IDs of the desired EIP.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Specifies ip version of the desired EIP. The options are:
	// + `4`: IPv4.
	// + `6`: IPv6.
	IpVersion pulumi.IntPtrInput `pulumi:"ipVersion"`
	// Specifies an array of one or more port ids which bound to the desired EIP.
	PortIds pulumi.StringArrayInput `pulumi:"portIds"`
	// Specifies an array of one or more public ip addresses of the desired EIP.
	PublicIps pulumi.StringArrayInput `pulumi:"publicIps"`
	// Specifies the region in which to obtain the EIP. If omitted, the provider-level region
	// will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the included key/value pairs which associated with the desired EIP.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getEips.

func (GetEipsOutputArgs) ElementType

func (GetEipsOutputArgs) ElementType() reflect.Type

type GetEipsResult

type GetEipsResult struct {
	// Indicates a list of all EIPs found. Structure is documented below.
	Eips []GetEipsEip `pulumi:"eips"`
	// The the enterprise project ID of the EIP.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The ip version of the EIP.
	IpVersion *int     `pulumi:"ipVersion"`
	PortIds   []string `pulumi:"portIds"`
	PublicIps []string `pulumi:"publicIps"`
	Region    string   `pulumi:"region"`
	// The key/value pairs which associated with the EIP.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getEips.

func GetEips

func GetEips(ctx *pulumi.Context, args *GetEipsArgs, opts ...pulumi.InvokeOption) (*GetEipsResult, error)

Use this data source to get a list of EIPs.

type GetEipsResultOutput

type GetEipsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEips.

func (GetEipsResultOutput) Eips

Indicates a list of all EIPs found. Structure is documented below.

func (GetEipsResultOutput) ElementType

func (GetEipsResultOutput) ElementType() reflect.Type

func (GetEipsResultOutput) EnterpriseProjectId

func (o GetEipsResultOutput) EnterpriseProjectId() pulumi.StringPtrOutput

The the enterprise project ID of the EIP.

func (GetEipsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEipsResultOutput) Ids

func (GetEipsResultOutput) IpVersion

func (o GetEipsResultOutput) IpVersion() pulumi.IntPtrOutput

The ip version of the EIP.

func (GetEipsResultOutput) PortIds

func (GetEipsResultOutput) PublicIps

func (GetEipsResultOutput) Region

func (GetEipsResultOutput) Tags

The key/value pairs which associated with the EIP.

func (GetEipsResultOutput) ToGetEipsResultOutput

func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput

func (GetEipsResultOutput) ToGetEipsResultOutputWithContext

func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput

Jump to

Keyboard shortcuts

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