alicloud.ecs.EipSegmentAddress
Explore with Pulumi AI
Provides a EIP Segment Address resource.
For information about EIP Segment Address and how to use it, see What is Segment Address.
NOTE: Available since v1.207.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.ecs.EipSegmentAddress("default", {
eipMask: "28",
bandwidth: "5",
isp: "BGP",
internetChargeType: "PayByBandwidth",
netmode: "public",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.ecs.EipSegmentAddress("default",
eip_mask="28",
bandwidth="5",
isp="BGP",
internet_charge_type="PayByBandwidth",
netmode="public")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"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, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := ecs.NewEipSegmentAddress(ctx, "default", &ecs.EipSegmentAddressArgs{
EipMask: pulumi.String("28"),
Bandwidth: pulumi.String("5"),
Isp: pulumi.String("BGP"),
InternetChargeType: pulumi.String("PayByBandwidth"),
Netmode: pulumi.String("public"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.Ecs.EipSegmentAddress("default", new()
{
EipMask = "28",
Bandwidth = "5",
Isp = "BGP",
InternetChargeType = "PayByBandwidth",
Netmode = "public",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EipSegmentAddress;
import com.pulumi.alicloud.ecs.EipSegmentAddressArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new EipSegmentAddress("default", EipSegmentAddressArgs.builder()
.eipMask("28")
.bandwidth("5")
.isp("BGP")
.internetChargeType("PayByBandwidth")
.netmode("public")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:ecs:EipSegmentAddress
properties:
eipMask: '28'
bandwidth: '5'
isp: BGP
internetChargeType: PayByBandwidth
netmode: public
Create EipSegmentAddress Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EipSegmentAddress(name: string, args: EipSegmentAddressArgs, opts?: CustomResourceOptions);
@overload
def EipSegmentAddress(resource_name: str,
args: EipSegmentAddressArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EipSegmentAddress(resource_name: str,
opts: Optional[ResourceOptions] = None,
eip_mask: Optional[str] = None,
bandwidth: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
netmode: Optional[str] = None,
resource_group_id: Optional[str] = None,
zone: Optional[str] = None)
func NewEipSegmentAddress(ctx *Context, name string, args EipSegmentAddressArgs, opts ...ResourceOption) (*EipSegmentAddress, error)
public EipSegmentAddress(string name, EipSegmentAddressArgs args, CustomResourceOptions? opts = null)
public EipSegmentAddress(String name, EipSegmentAddressArgs args)
public EipSegmentAddress(String name, EipSegmentAddressArgs args, CustomResourceOptions options)
type: alicloud:ecs:EipSegmentAddress
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EipSegmentAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EipSegmentAddressArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EipSegmentAddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EipSegmentAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EipSegmentAddressArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var eipSegmentAddressResource = new AliCloud.Ecs.EipSegmentAddress("eipSegmentAddressResource", new()
{
EipMask = "string",
Bandwidth = "string",
InternetChargeType = "string",
Isp = "string",
Netmode = "string",
ResourceGroupId = "string",
Zone = "string",
});
example, err := ecs.NewEipSegmentAddress(ctx, "eipSegmentAddressResource", &ecs.EipSegmentAddressArgs{
EipMask: pulumi.String("string"),
Bandwidth: pulumi.String("string"),
InternetChargeType: pulumi.String("string"),
Isp: pulumi.String("string"),
Netmode: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var eipSegmentAddressResource = new EipSegmentAddress("eipSegmentAddressResource", EipSegmentAddressArgs.builder()
.eipMask("string")
.bandwidth("string")
.internetChargeType("string")
.isp("string")
.netmode("string")
.resourceGroupId("string")
.zone("string")
.build());
eip_segment_address_resource = alicloud.ecs.EipSegmentAddress("eipSegmentAddressResource",
eip_mask="string",
bandwidth="string",
internet_charge_type="string",
isp="string",
netmode="string",
resource_group_id="string",
zone="string")
const eipSegmentAddressResource = new alicloud.ecs.EipSegmentAddress("eipSegmentAddressResource", {
eipMask: "string",
bandwidth: "string",
internetChargeType: "string",
isp: "string",
netmode: "string",
resourceGroupId: "string",
zone: "string",
});
type: alicloud:ecs:EipSegmentAddress
properties:
bandwidth: string
eipMask: string
internetChargeType: string
isp: string
netmode: string
resourceGroupId: string
zone: string
EipSegmentAddress Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EipSegmentAddress resource accepts the following input properties:
- Eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- Bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- Internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- Isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- Netmode string
- The network type. Set the value to
public
, which specifies the public network type. - Resource
Group stringId - The resource group ID.
- Zone string
- The zone of the contiguous EIP group.
- Eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- Bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- Internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- Isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- Netmode string
- The network type. Set the value to
public
, which specifies the public network type. - Resource
Group stringId - The resource group ID.
- Zone string
- The zone of the contiguous EIP group.
- eip
Mask String - The subnet mask of the contiguous EIP group. Valid values:
- bandwidth String
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- internet
Charge StringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp String
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode String
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group StringId - The resource group ID.
- zone String
- The zone of the contiguous EIP group.
- eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode string
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group stringId - The resource group ID.
- zone string
- The zone of the contiguous EIP group.
- eip_
mask str - The subnet mask of the contiguous EIP group. Valid values:
- bandwidth str
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- internet_
charge_ strtype - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp str
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode str
- The network type. Set the value to
public
, which specifies the public network type. - resource_
group_ strid - The resource group ID.
- zone str
- The zone of the contiguous EIP group.
- eip
Mask String - The subnet mask of the contiguous EIP group. Valid values:
- bandwidth String
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- internet
Charge StringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp String
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode String
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group StringId - The resource group ID.
- zone String
- The zone of the contiguous EIP group.
Outputs
All input properties are implicitly available as output properties. Additionally, the EipSegmentAddress resource produces the following output properties:
- Create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Segment
Address stringName - The name of the contiguous Elastic IP address group.
- Status string
- The status of the resource
- Create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Segment
Address stringName - The name of the contiguous Elastic IP address group.
- Status string
- The status of the resource
- create
Time String - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Address StringName - The name of the contiguous Elastic IP address group.
- status String
- The status of the resource
- create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id string
- The provider-assigned unique ID for this managed resource.
- segment
Address stringName - The name of the contiguous Elastic IP address group.
- status string
- The status of the resource
- create_
time str - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id str
- The provider-assigned unique ID for this managed resource.
- segment_
address_ strname - The name of the contiguous Elastic IP address group.
- status str
- The status of the resource
- create
Time String - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Address StringName - The name of the contiguous Elastic IP address group.
- status String
- The status of the resource
Look up Existing EipSegmentAddress Resource
Get an existing EipSegmentAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EipSegmentAddressState, opts?: CustomResourceOptions): EipSegmentAddress
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[str] = None,
create_time: Optional[str] = None,
eip_mask: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
netmode: Optional[str] = None,
resource_group_id: Optional[str] = None,
segment_address_name: Optional[str] = None,
status: Optional[str] = None,
zone: Optional[str] = None) -> EipSegmentAddress
func GetEipSegmentAddress(ctx *Context, name string, id IDInput, state *EipSegmentAddressState, opts ...ResourceOption) (*EipSegmentAddress, error)
public static EipSegmentAddress Get(string name, Input<string> id, EipSegmentAddressState? state, CustomResourceOptions? opts = null)
public static EipSegmentAddress get(String name, Output<String> id, EipSegmentAddressState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- Create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- Internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- Isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- Netmode string
- The network type. Set the value to
public
, which specifies the public network type. - Resource
Group stringId - The resource group ID.
- Segment
Address stringName - The name of the contiguous Elastic IP address group.
- Status string
- The status of the resource
- Zone string
- The zone of the contiguous EIP group.
- Bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- Create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- Internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- Isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- Netmode string
- The network type. Set the value to
public
, which specifies the public network type. - Resource
Group stringId - The resource group ID.
- Segment
Address stringName - The name of the contiguous Elastic IP address group.
- Status string
- The status of the resource
- Zone string
- The zone of the contiguous EIP group.
- bandwidth String
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- create
Time String - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- eip
Mask String - The subnet mask of the contiguous EIP group. Valid values:
- internet
Charge StringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp String
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode String
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group StringId - The resource group ID.
- segment
Address StringName - The name of the contiguous Elastic IP address group.
- status String
- The status of the resource
- zone String
- The zone of the contiguous EIP group.
- bandwidth string
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- create
Time string - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- eip
Mask string - The subnet mask of the contiguous EIP group. Valid values:
- internet
Charge stringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp string
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode string
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group stringId - The resource group ID.
- segment
Address stringName - The name of the contiguous Elastic IP address group.
- status string
- The status of the resource
- zone string
- The zone of the contiguous EIP group.
- bandwidth str
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- create_
time str - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- eip_
mask str - The subnet mask of the contiguous EIP group. Valid values:
- internet_
charge_ strtype - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp str
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode str
- The network type. Set the value to
public
, which specifies the public network type. - resource_
group_ strid - The resource group ID.
- segment_
address_ strname - The name of the contiguous Elastic IP address group.
- status str
- The status of the resource
- zone str
- The zone of the contiguous EIP group.
- bandwidth String
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
- Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByBandwidth
:1
to500
.**** - Valid values when
InstanceChargeType
is set toPostPaid
andInternetChargeType
is set toPayByTraffic
:1
to200
.**** - Valid values when
InstanceChargeType
is set toPrePaid
:1
to1000
.****
Default value:
5
. Unit: Mbit/s.- Valid values when
- create
Time String - The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- eip
Mask String - The subnet mask of the contiguous EIP group. Valid values:
- internet
Charge StringType - The metering method of the contiguous EIP group. Valid values:
PayByBandwidth
(default)PayByTraffic
- isp String
The line type. Valid values:
BGP
(default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.BGP_PRO
: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see EIP line types.
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
ChinaTelecom
ChinaUnicom
ChinaMobile
ChinaTelecom_L2
ChinaUnicom_L2
ChinaMobile_L2
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to
BGP_FinanceCloud
.- netmode String
- The network type. Set the value to
public
, which specifies the public network type. - resource
Group StringId - The resource group ID.
- segment
Address StringName - The name of the contiguous Elastic IP address group.
- status String
- The status of the resource
- zone String
- The zone of the contiguous EIP group.
Import
EIP Segment Address can be imported using the id, e.g.
$ pulumi import alicloud:ecs/eipSegmentAddress:EipSegmentAddress example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.