1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. EipSegmentAddress
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.ecs.EipSegmentAddress

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

    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)
    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.

    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",
    });
    
    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"),
    })
    
    var eipSegmentAddressResource = new EipSegmentAddress("eipSegmentAddressResource", EipSegmentAddressArgs.builder()        
        .eipMask("string")
        .bandwidth("string")
        .internetChargeType("string")
        .isp("string")
        .netmode("string")
        .build());
    
    eip_segment_address_resource = alicloud.ecs.EipSegmentAddress("eipSegmentAddressResource",
        eip_mask="string",
        bandwidth="string",
        internet_charge_type="string",
        isp="string",
        netmode="string")
    
    const eipSegmentAddressResource = new alicloud.ecs.EipSegmentAddress("eipSegmentAddressResource", {
        eipMask: "string",
        bandwidth: "string",
        internetChargeType: "string",
        isp: "string",
        netmode: "string",
    });
    
    type: alicloud:ecs:EipSegmentAddress
    properties:
        bandwidth: string
        eipMask: string
        internetChargeType: string
        isp: string
        netmode: 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:

    EipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    Bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    InternetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    Isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    Netmode string
    The network type. Set the value to public.
    EipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    Bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    InternetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    Isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    Netmode string
    The network type. Set the value to public.
    eipMask String
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    bandwidth String
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    internetChargeType String
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp String
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode String
    The network type. Set the value to public.
    eipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    internetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode string
    The network type. Set the value to public.
    eip_mask str
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    bandwidth str
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    internet_charge_type str
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp str
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode str
    The network type. Set the value to public.
    eipMask String
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    bandwidth String
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    internetChargeType String
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp String
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode String
    The network type. Set the value to public.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EipSegmentAddress resource produces the following output properties:

    CreateTime 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.
    Status string
    The status of the resource.
    CreateTime 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.
    Status string
    The status of the resource.
    createTime 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.
    status String
    The status of the resource.
    createTime 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.
    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.
    status str
    The status of the resource.
    createTime 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.
    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,
            status: 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.
    The following state arguments are supported:
    Bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    CreateTime 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.
    EipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    InternetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    Isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    Netmode string
    The network type. Set the value to public.
    Status string
    The status of the resource.
    Bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    CreateTime 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.
    EipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    InternetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    Isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    Netmode string
    The network type. Set the value to public.
    Status string
    The status of the resource.
    bandwidth String
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    createTime 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.
    eipMask String
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    internetChargeType String
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp String
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode String
    The network type. Set the value to public.
    status String
    The status of the resource.
    bandwidth string
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    createTime 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.
    eipMask string
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    internetChargeType string
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp string
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode string
    The network type. Set the value to public.
    status string
    The status of the resource.
    bandwidth str
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    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
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    internet_charge_type str
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp str
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode str
    The network type. Set the value to public.
    status str
    The status of the resource.
    bandwidth String
    The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
    createTime 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.
    eipMask String
    Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.
    internetChargeType String
    Continuous EIP billing method, valid values:

    • PayByBandwidth (default): Billing based on fixed bandwidth.
    • PayByTraffic: Billing by usage flow.
    isp String
    Line type. Valid values:

    • BGP (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions.
    • BGP_PRO :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types:
    • ChinaTelecom : China Telecom
    • ChinaUnicom : China Unicom
    • ChinaMobile : China Mobile
    • ChinaTelecom_L2 : China Telecom L2
    • ChinaUnicom_L2 : China Unicom L2
    • ChinaMobile_L2 : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is BGP_FinanceCloud.
    netmode String
    The network type. Set the value to public.
    status String
    The status of the resource.

    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.
    alicloud logo
    Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi