Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type GetBandwidthArgs
- type GetBandwidthOutputArgs
- type GetBandwidthPublicip
- type GetBandwidthPublicipArgs
- type GetBandwidthPublicipArray
- type GetBandwidthPublicipArrayInput
- type GetBandwidthPublicipArrayOutput
- func (GetBandwidthPublicipArrayOutput) ElementType() reflect.Type
- func (o GetBandwidthPublicipArrayOutput) Index(i pulumi.IntInput) GetBandwidthPublicipOutput
- func (o GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutput() GetBandwidthPublicipArrayOutput
- func (o GetBandwidthPublicipArrayOutput) ToGetBandwidthPublicipArrayOutputWithContext(ctx context.Context) GetBandwidthPublicipArrayOutput
- type GetBandwidthPublicipInput
- type GetBandwidthPublicipOutput
- func (GetBandwidthPublicipOutput) ElementType() reflect.Type
- func (o GetBandwidthPublicipOutput) Id() pulumi.StringOutput
- func (o GetBandwidthPublicipOutput) IpAddress() pulumi.StringOutput
- func (o GetBandwidthPublicipOutput) IpVersion() pulumi.IntOutput
- func (o GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutput() GetBandwidthPublicipOutput
- func (o GetBandwidthPublicipOutput) ToGetBandwidthPublicipOutputWithContext(ctx context.Context) GetBandwidthPublicipOutput
- func (o GetBandwidthPublicipOutput) Type() pulumi.StringOutput
- type GetBandwidthResult
- type GetBandwidthResultOutput
- func (o GetBandwidthResultOutput) BandwidthType() pulumi.StringOutput
- func (o GetBandwidthResultOutput) ChargeMode() pulumi.StringOutput
- func (GetBandwidthResultOutput) ElementType() reflect.Type
- func (o GetBandwidthResultOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o GetBandwidthResultOutput) Id() pulumi.StringOutput
- func (o GetBandwidthResultOutput) Name() pulumi.StringOutput
- func (o GetBandwidthResultOutput) Publicips() GetBandwidthPublicipArrayOutput
- func (o GetBandwidthResultOutput) Region() pulumi.StringOutput
- func (o GetBandwidthResultOutput) ShareType() pulumi.StringOutput
- func (o GetBandwidthResultOutput) Size() pulumi.IntOutput
- func (o GetBandwidthResultOutput) Status() pulumi.StringOutput
- func (o GetBandwidthResultOutput) ToGetBandwidthResultOutput() GetBandwidthResultOutput
- func (o GetBandwidthResultOutput) ToGetBandwidthResultOutputWithContext(ctx context.Context) GetBandwidthResultOutput
- type GetEipArgs
- type GetEipOutputArgs
- type GetEipResult
- type GetEipResultOutput
- func (o GetEipResultOutput) BandwidthId() pulumi.StringOutput
- func (o GetEipResultOutput) BandwidthShareType() pulumi.StringOutput
- func (o GetEipResultOutput) BandwidthSize() pulumi.IntOutput
- func (GetEipResultOutput) ElementType() reflect.Type
- func (o GetEipResultOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o GetEipResultOutput) Id() pulumi.StringOutput
- func (o GetEipResultOutput) IpVersion() pulumi.IntOutput
- func (o GetEipResultOutput) Ipv6Address() pulumi.StringOutput
- func (o GetEipResultOutput) PortId() pulumi.StringOutput
- func (o GetEipResultOutput) PrivateIp() pulumi.StringOutput
- func (o GetEipResultOutput) PublicIp() pulumi.StringOutput
- func (o GetEipResultOutput) Region() pulumi.StringOutput
- func (o GetEipResultOutput) Status() pulumi.StringOutput
- func (o GetEipResultOutput) ToGetEipResultOutput() GetEipResultOutput
- func (o GetEipResultOutput) ToGetEipResultOutputWithContext(ctx context.Context) GetEipResultOutput
- func (o GetEipResultOutput) Type() pulumi.StringOutput
- type GetEipsArgs
- type GetEipsEip
- type GetEipsEipArgs
- type GetEipsEipArray
- type GetEipsEipArrayInput
- type GetEipsEipArrayOutput
- func (GetEipsEipArrayOutput) ElementType() reflect.Type
- func (o GetEipsEipArrayOutput) Index(i pulumi.IntInput) GetEipsEipOutput
- func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput
- func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput
- type GetEipsEipInput
- type GetEipsEipOutput
- func (o GetEipsEipOutput) BandwidthId() pulumi.StringOutput
- func (o GetEipsEipOutput) BandwidthName() pulumi.StringOutput
- func (o GetEipsEipOutput) BandwidthShareType() pulumi.StringOutput
- func (o GetEipsEipOutput) BandwidthSize() pulumi.IntOutput
- func (GetEipsEipOutput) ElementType() reflect.Type
- func (o GetEipsEipOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o GetEipsEipOutput) Id() pulumi.StringOutput
- func (o GetEipsEipOutput) IpVersion() pulumi.IntOutput
- func (o GetEipsEipOutput) Name() pulumi.StringOutput
- func (o GetEipsEipOutput) PortId() pulumi.StringOutput
- func (o GetEipsEipOutput) PrivateIp() pulumi.StringOutput
- func (o GetEipsEipOutput) PublicIp() pulumi.StringOutput
- func (o GetEipsEipOutput) PublicIpv6() pulumi.StringOutput
- func (o GetEipsEipOutput) Status() pulumi.StringOutput
- func (o GetEipsEipOutput) Tags() pulumi.StringMapOutput
- func (o GetEipsEipOutput) ToGetEipsEipOutput() GetEipsEipOutput
- func (o GetEipsEipOutput) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput
- func (o GetEipsEipOutput) Type() pulumi.StringOutput
- type GetEipsOutputArgs
- type GetEipsResult
- type GetEipsResultOutput
- func (o GetEipsResultOutput) Eips() GetEipsEipArrayOutput
- func (GetEipsResultOutput) ElementType() reflect.Type
- func (o GetEipsResultOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) Id() pulumi.StringOutput
- func (o GetEipsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) IpVersion() pulumi.IntPtrOutput
- func (o GetEipsResultOutput) PortIds() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) PublicIps() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) Region() pulumi.StringOutput
- func (o GetEipsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
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) ElementType() reflect.Type
func (GetBandwidthPublicipArrayOutput) Index ¶
func (o GetBandwidthPublicipArrayOutput) Index(i pulumi.IntInput) GetBandwidthPublicipOutput
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 ¶
func (o GetBandwidthPublicipOutput) Id() pulumi.StringOutput
The ID of the EIP or IPv6 port that uses the bandwidth.
func (GetBandwidthPublicipOutput) IpAddress ¶
func (o GetBandwidthPublicipOutput) IpAddress() pulumi.StringOutput
The IPv4 or IPv6 address.
func (GetBandwidthPublicipOutput) IpVersion ¶
func (o GetBandwidthPublicipOutput) IpVersion() pulumi.IntOutput
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 ¶
func (o GetBandwidthPublicipOutput) Type() pulumi.StringOutput
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. 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 GetBandwidthOutput ¶
func GetBandwidthOutput(ctx *pulumi.Context, args GetBandwidthOutputArgs, opts ...pulumi.InvokeOption) GetBandwidthResultOutput
func (GetBandwidthResultOutput) BandwidthType ¶
func (o GetBandwidthResultOutput) BandwidthType() pulumi.StringOutput
Indicates the bandwidth type.
func (GetBandwidthResultOutput) ChargeMode ¶
func (o GetBandwidthResultOutput) ChargeMode() pulumi.StringOutput
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 ¶
func (o GetBandwidthResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetBandwidthResultOutput) Name ¶
func (o GetBandwidthResultOutput) Name() pulumi.StringOutput
func (GetBandwidthResultOutput) Publicips ¶
func (o GetBandwidthResultOutput) Publicips() GetBandwidthPublicipArrayOutput
An array of EIPs that use the bandwidth. The object includes the following:
func (GetBandwidthResultOutput) Region ¶
func (o GetBandwidthResultOutput) Region() pulumi.StringOutput
func (GetBandwidthResultOutput) ShareType ¶
func (o GetBandwidthResultOutput) ShareType() pulumi.StringOutput
Indicates whether the bandwidth is shared or dedicated.
func (GetBandwidthResultOutput) Size ¶
func (o GetBandwidthResultOutput) Size() pulumi.IntOutput
func (GetBandwidthResultOutput) Status ¶
func (o GetBandwidthResultOutput) Status() pulumi.StringOutput
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"` 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 ¶
func (o GetEipResultOutput) Id() pulumi.StringOutput
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 (o GetEipResultOutput) PortId() pulumi.StringOutput
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 (o GetEipResultOutput) Region() pulumi.StringOutput
func (GetEipResultOutput) Status ¶
func (o GetEipResultOutput) Status() pulumi.StringOutput
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 ¶
func (o GetEipResultOutput) Type() pulumi.StringOutput
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"` 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"` 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 (o GetEipsEipArrayOutput) Index(i pulumi.IntInput) GetEipsEipOutput
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) IpVersion ¶
func (o GetEipsEipOutput) IpVersion() pulumi.IntOutput
Specifies ip version of the desired EIP. The options are: + `4`: IPv4. + `6`: IPv6.
func (GetEipsEipOutput) Name ¶
func (o GetEipsEipOutput) Name() pulumi.StringOutput
The name of the EIP.
func (GetEipsEipOutput) PortId ¶
func (o GetEipsEipOutput) PortId() pulumi.StringOutput
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 ¶
func (o GetEipsEipOutput) Status() pulumi.StringOutput
The status of the EIP.
func (GetEipsEipOutput) Tags ¶
func (o GetEipsEipOutput) Tags() pulumi.StringMapOutput
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 ¶
func (o GetEipsEipOutput) Type() pulumi.StringOutput
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 GetEipsOutput ¶
func GetEipsOutput(ctx *pulumi.Context, args GetEipsOutputArgs, opts ...pulumi.InvokeOption) GetEipsResultOutput
func (GetEipsResultOutput) Eips ¶
func (o GetEipsResultOutput) Eips() GetEipsEipArrayOutput
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 ¶
func (o GetEipsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEipsResultOutput) Ids ¶
func (o GetEipsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEipsResultOutput) IpVersion ¶
func (o GetEipsResultOutput) IpVersion() pulumi.IntPtrOutput
The ip version of the EIP.
func (GetEipsResultOutput) PortIds ¶
func (o GetEipsResultOutput) PortIds() pulumi.StringArrayOutput
func (GetEipsResultOutput) PublicIps ¶
func (o GetEipsResultOutput) PublicIps() pulumi.StringArrayOutput
func (GetEipsResultOutput) Region ¶
func (o GetEipsResultOutput) Region() pulumi.StringOutput
func (GetEipsResultOutput) Tags ¶
func (o GetEipsResultOutput) Tags() pulumi.StringMapOutput
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