1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. EipAddress
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.ecs.EipAddress

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Import

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

    $ pulumi import alicloud:ecs/eipAddress:EipAddress example <id>
    

    Create EipAddress Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EipAddress(name: string, args?: EipAddressArgs, opts?: CustomResourceOptions);
    @overload
    def EipAddress(resource_name: str,
                   args: Optional[EipAddressArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EipAddress(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   activity_id: Optional[str] = None,
                   address_name: Optional[str] = None,
                   allocation_id: Optional[str] = None,
                   auto_pay: Optional[bool] = None,
                   bandwidth: Optional[str] = None,
                   deletion_protection: Optional[bool] = None,
                   description: Optional[str] = None,
                   high_definition_monitor_log_status: Optional[str] = None,
                   instance_charge_type: Optional[str] = None,
                   internet_charge_type: Optional[str] = None,
                   ip_address: Optional[str] = None,
                   isp: Optional[str] = None,
                   log_project: Optional[str] = None,
                   log_store: Optional[str] = None,
                   mode: Optional[str] = None,
                   name: Optional[str] = None,
                   netmode: Optional[str] = None,
                   payment_type: Optional[str] = None,
                   period: Optional[int] = None,
                   pricing_cycle: Optional[str] = None,
                   public_ip_address_pool_id: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   security_protection_types: Optional[Sequence[str]] = None,
                   tags: Optional[Mapping[str, Any]] = None,
                   zone: Optional[str] = None)
    func NewEipAddress(ctx *Context, name string, args *EipAddressArgs, opts ...ResourceOption) (*EipAddress, error)
    public EipAddress(string name, EipAddressArgs? args = null, CustomResourceOptions? opts = null)
    public EipAddress(String name, EipAddressArgs args)
    public EipAddress(String name, EipAddressArgs args, CustomResourceOptions options)
    
    type: alicloud:ecs:EipAddress
    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 EipAddressArgs
    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 EipAddressArgs
    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 EipAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EipAddressArgs
    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 eipAddressResource = new AliCloud.Ecs.EipAddress("eipAddressResource", new()
    {
        ActivityId = "string",
        AddressName = "string",
        AllocationId = "string",
        AutoPay = false,
        Bandwidth = "string",
        DeletionProtection = false,
        Description = "string",
        HighDefinitionMonitorLogStatus = "string",
        InternetChargeType = "string",
        IpAddress = "string",
        Isp = "string",
        LogProject = "string",
        LogStore = "string",
        Mode = "string",
        Netmode = "string",
        PaymentType = "string",
        Period = 0,
        PricingCycle = "string",
        PublicIpAddressPoolId = "string",
        ResourceGroupId = "string",
        SecurityProtectionTypes = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "any" },
        },
        Zone = "string",
    });
    
    example, err := ecs.NewEipAddress(ctx, "eipAddressResource", &ecs.EipAddressArgs{
    	ActivityId:                     pulumi.String("string"),
    	AddressName:                    pulumi.String("string"),
    	AllocationId:                   pulumi.String("string"),
    	AutoPay:                        pulumi.Bool(false),
    	Bandwidth:                      pulumi.String("string"),
    	DeletionProtection:             pulumi.Bool(false),
    	Description:                    pulumi.String("string"),
    	HighDefinitionMonitorLogStatus: pulumi.String("string"),
    	InternetChargeType:             pulumi.String("string"),
    	IpAddress:                      pulumi.String("string"),
    	Isp:                            pulumi.String("string"),
    	LogProject:                     pulumi.String("string"),
    	LogStore:                       pulumi.String("string"),
    	Mode:                           pulumi.String("string"),
    	Netmode:                        pulumi.String("string"),
    	PaymentType:                    pulumi.String("string"),
    	Period:                         pulumi.Int(0),
    	PricingCycle:                   pulumi.String("string"),
    	PublicIpAddressPoolId:          pulumi.String("string"),
    	ResourceGroupId:                pulumi.String("string"),
    	SecurityProtectionTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Zone: pulumi.String("string"),
    })
    
    var eipAddressResource = new EipAddress("eipAddressResource", EipAddressArgs.builder()
        .activityId("string")
        .addressName("string")
        .allocationId("string")
        .autoPay(false)
        .bandwidth("string")
        .deletionProtection(false)
        .description("string")
        .highDefinitionMonitorLogStatus("string")
        .internetChargeType("string")
        .ipAddress("string")
        .isp("string")
        .logProject("string")
        .logStore("string")
        .mode("string")
        .netmode("string")
        .paymentType("string")
        .period(0)
        .pricingCycle("string")
        .publicIpAddressPoolId("string")
        .resourceGroupId("string")
        .securityProtectionTypes("string")
        .tags(Map.of("string", "any"))
        .zone("string")
        .build());
    
    eip_address_resource = alicloud.ecs.EipAddress("eipAddressResource",
        activity_id="string",
        address_name="string",
        allocation_id="string",
        auto_pay=False,
        bandwidth="string",
        deletion_protection=False,
        description="string",
        high_definition_monitor_log_status="string",
        internet_charge_type="string",
        ip_address="string",
        isp="string",
        log_project="string",
        log_store="string",
        mode="string",
        netmode="string",
        payment_type="string",
        period=0,
        pricing_cycle="string",
        public_ip_address_pool_id="string",
        resource_group_id="string",
        security_protection_types=["string"],
        tags={
            "string": "any",
        },
        zone="string")
    
    const eipAddressResource = new alicloud.ecs.EipAddress("eipAddressResource", {
        activityId: "string",
        addressName: "string",
        allocationId: "string",
        autoPay: false,
        bandwidth: "string",
        deletionProtection: false,
        description: "string",
        highDefinitionMonitorLogStatus: "string",
        internetChargeType: "string",
        ipAddress: "string",
        isp: "string",
        logProject: "string",
        logStore: "string",
        mode: "string",
        netmode: "string",
        paymentType: "string",
        period: 0,
        pricingCycle: "string",
        publicIpAddressPoolId: "string",
        resourceGroupId: "string",
        securityProtectionTypes: ["string"],
        tags: {
            string: "any",
        },
        zone: "string",
    });
    
    type: alicloud:ecs:EipAddress
    properties:
        activityId: string
        addressName: string
        allocationId: string
        autoPay: false
        bandwidth: string
        deletionProtection: false
        description: string
        highDefinitionMonitorLogStatus: string
        internetChargeType: string
        ipAddress: string
        isp: string
        logProject: string
        logStore: string
        mode: string
        netmode: string
        paymentType: string
        period: 0
        pricingCycle: string
        publicIpAddressPoolId: string
        resourceGroupId: string
        securityProtectionTypes:
            - string
        tags:
            string: any
        zone: string
    

    EipAddress 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 EipAddress resource accepts the following input properties:

    ActivityId string
    The promotion code. This parameter is not required.
    AddressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    AllocationId string
    The ID of the EIP instance.
    AutoPay bool
    Specifies whether to enable automatic payment. Valid values:
    Bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    DeletionProtection bool
    Specifies whether to enable deletion protection. Valid values:
    Description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    HighDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    InstanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    IpAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    LogProject string
    The name of the Simple Log Service (SLS) project.
    LogStore string
    The name of the Logstore.
    Mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    Name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    PaymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    Period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    PricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    PublicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    ResourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    SecurityProtectionTypes List<string>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Tags Dictionary<string, object>
    The tag of the resource
    Zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    ActivityId string
    The promotion code. This parameter is not required.
    AddressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    AllocationId string
    The ID of the EIP instance.
    AutoPay bool
    Specifies whether to enable automatic payment. Valid values:
    Bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    DeletionProtection bool
    Specifies whether to enable deletion protection. Valid values:
    Description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    HighDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    InstanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    IpAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    LogProject string
    The name of the Simple Log Service (SLS) project.
    LogStore string
    The name of the Logstore.
    Mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    Name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    PaymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    Period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    PricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    PublicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    ResourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    SecurityProtectionTypes []string
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Tags map[string]interface{}
    The tag of the resource
    Zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String
    The promotion code. This parameter is not required.
    addressName String

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId String
    The ID of the EIP instance.
    autoPay Boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth String

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    deletionProtection Boolean
    Specifies whether to enable deletion protection. Valid values:
    description String

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus String
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType String
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress String
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject String
    The name of the Simple Log Service (SLS) project.
    logStore String
    The name of the Logstore.
    mode String
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name String
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType String

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period Integer
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle String

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId String
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId String

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes List<String>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Map<String,Object>
    The tag of the resource
    zone String

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId string
    The promotion code. This parameter is not required.
    addressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId string
    The ID of the EIP instance.
    autoPay boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    deletionProtection boolean
    Specifies whether to enable deletion protection. Valid values:
    description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject string
    The name of the Simple Log Service (SLS) project.
    logStore string
    The name of the Logstore.
    mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period number
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes string[]
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags {[key: string]: any}
    The tag of the resource
    zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activity_id str
    The promotion code. This parameter is not required.
    address_name str

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocation_id str
    The ID of the EIP instance.
    auto_pay bool
    Specifies whether to enable automatic payment. Valid values:
    bandwidth str

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    deletion_protection bool
    Specifies whether to enable deletion protection. Valid values:
    description str

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    high_definition_monitor_log_status str
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instance_charge_type str
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internet_charge_type str

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ip_address str
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    log_project str
    The name of the Simple Log Service (SLS) project.
    log_store str
    The name of the Logstore.
    mode str
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name str
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode str
    The network type. By default, this value is set to public, which specifies the public network type.
    payment_type str

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricing_cycle str

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    public_ip_address_pool_id str
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resource_group_id str

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    security_protection_types Sequence[str]
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Mapping[str, Any]
    The tag of the resource
    zone str

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String
    The promotion code. This parameter is not required.
    addressName String

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId String
    The ID of the EIP instance.
    autoPay Boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth String

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    deletionProtection Boolean
    Specifies whether to enable deletion protection. Valid values:
    description String

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus String
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType String
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress String
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject String
    The name of the Simple Log Service (SLS) project.
    logStore String
    The name of the Logstore.
    mode String
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name String
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType String

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period Number
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle String

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId String
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId String

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes List<String>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Map<Any>
    The tag of the resource
    zone String

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Outputs

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

    CreateTime string
    The time when the EIP was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The state of the EIP.
    CreateTime string
    The time when the EIP was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The state of the EIP.
    createTime String
    The time when the EIP was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The state of the EIP.
    createTime string
    The time when the EIP was created.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The state of the EIP.
    create_time str
    The time when the EIP was created.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The state of the EIP.
    createTime String
    The time when the EIP was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The state of the EIP.

    Look up Existing EipAddress Resource

    Get an existing EipAddress 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?: EipAddressState, opts?: CustomResourceOptions): EipAddress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activity_id: Optional[str] = None,
            address_name: Optional[str] = None,
            allocation_id: Optional[str] = None,
            auto_pay: Optional[bool] = None,
            bandwidth: Optional[str] = None,
            create_time: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            description: Optional[str] = None,
            high_definition_monitor_log_status: Optional[str] = None,
            instance_charge_type: Optional[str] = None,
            internet_charge_type: Optional[str] = None,
            ip_address: Optional[str] = None,
            isp: Optional[str] = None,
            log_project: Optional[str] = None,
            log_store: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            netmode: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            pricing_cycle: Optional[str] = None,
            public_ip_address_pool_id: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            security_protection_types: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            zone: Optional[str] = None) -> EipAddress
    func GetEipAddress(ctx *Context, name string, id IDInput, state *EipAddressState, opts ...ResourceOption) (*EipAddress, error)
    public static EipAddress Get(string name, Input<string> id, EipAddressState? state, CustomResourceOptions? opts = null)
    public static EipAddress get(String name, Output<String> id, EipAddressState 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:
    ActivityId string
    The promotion code. This parameter is not required.
    AddressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    AllocationId string
    The ID of the EIP instance.
    AutoPay bool
    Specifies whether to enable automatic payment. Valid values:
    Bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    CreateTime string
    The time when the EIP was created.
    DeletionProtection bool
    Specifies whether to enable deletion protection. Valid values:
    Description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    HighDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    InstanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    IpAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    LogProject string
    The name of the Simple Log Service (SLS) project.
    LogStore string
    The name of the Logstore.
    Mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    Name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    PaymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    Period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    PricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    PublicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    ResourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    SecurityProtectionTypes List<string>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Status string
    The state of the EIP.
    Tags Dictionary<string, object>
    The tag of the resource
    Zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    ActivityId string
    The promotion code. This parameter is not required.
    AddressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    AllocationId string
    The ID of the EIP instance.
    AutoPay bool
    Specifies whether to enable automatic payment. Valid values:
    Bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    CreateTime string
    The time when the EIP was created.
    DeletionProtection bool
    Specifies whether to enable deletion protection. Valid values:
    Description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    HighDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    InstanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    IpAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    LogProject string
    The name of the Simple Log Service (SLS) project.
    LogStore string
    The name of the Logstore.
    Mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    Name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    PaymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    Period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    PricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    PublicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    ResourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    SecurityProtectionTypes []string
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Status string
    The state of the EIP.
    Tags map[string]interface{}
    The tag of the resource
    Zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String
    The promotion code. This parameter is not required.
    addressName String

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId String
    The ID of the EIP instance.
    autoPay Boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth String

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    createTime String
    The time when the EIP was created.
    deletionProtection Boolean
    Specifies whether to enable deletion protection. Valid values:
    description String

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus String
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType String
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress String
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject String
    The name of the Simple Log Service (SLS) project.
    logStore String
    The name of the Logstore.
    mode String
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name String
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType String

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period Integer
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle String

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId String
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId String

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes List<String>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status String
    The state of the EIP.
    tags Map<String,Object>
    The tag of the resource
    zone String

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId string
    The promotion code. This parameter is not required.
    addressName string

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId string
    The ID of the EIP instance.
    autoPay boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth string

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    createTime string
    The time when the EIP was created.
    deletionProtection boolean
    Specifies whether to enable deletion protection. Valid values:
    description string

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus string
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType string
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType string

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress string
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject string
    The name of the Simple Log Service (SLS) project.
    logStore string
    The name of the Logstore.
    mode string
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name string
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode string
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType string

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period number
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle string

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId string
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId string

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes string[]
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status string
    The state of the EIP.
    tags {[key: string]: any}
    The tag of the resource
    zone string

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activity_id str
    The promotion code. This parameter is not required.
    address_name str

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocation_id str
    The ID of the EIP instance.
    auto_pay bool
    Specifies whether to enable automatic payment. Valid values:
    bandwidth str

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    create_time str
    The time when the EIP was created.
    deletion_protection bool
    Specifies whether to enable deletion protection. Valid values:
    description str

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    high_definition_monitor_log_status str
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instance_charge_type str
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internet_charge_type str

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ip_address str
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    log_project str
    The name of the Simple Log Service (SLS) project.
    log_store str
    The name of the Logstore.
    mode str
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name str
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode str
    The network type. By default, this value is set to public, which specifies the public network type.
    payment_type str

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period int
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricing_cycle str

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    public_ip_address_pool_id str
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resource_group_id str

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    security_protection_types Sequence[str]
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status str
    The state of the EIP.
    tags Mapping[str, Any]
    The tag of the resource
    zone str

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String
    The promotion code. This parameter is not required.
    addressName String

    The EIP name.

    The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    allocationId String
    The ID of the EIP instance.
    autoPay Boolean
    Specifies whether to enable automatic payment. Valid values:
    bandwidth String

    The maximum bandwidth of the specified EIP. Unit: Mbit/s.

    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByBandwidth, valid values for bandwidth are 1 to 500.
    • When payment_type is set to PayAsYouGo and internet_charge_type is set to PayByTraffic, valid values for bandwidth are 1 to 200.
    • When payment_type is set to Subscription, valid values for bandwidth are 1 to 1000.

    Default value: 5 Mbit /s.

    createTime String
    The time when the EIP was created.
    deletionProtection Boolean
    Specifies whether to enable deletion protection. Valid values:
    description String

    The description of the EIP.

    The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http:// or https://.

    NOTE: You cannot specify this parameter if you create a subscription EIP.

    highDefinitionMonitorLogStatus String
    The status of fine-grained monitoring. Valid values:

    • ON
    • OFF
    instanceChargeType String
    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    The metering method of the EIP. Valid values:

    • PayByBandwidth (default): pay-by-bandwidth.
    • PayByTraffic: pay-by-data-transfer.

    When payment_type is set to Subscription, you must set internet_charge_type to PayByBandwidth.

    When payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    ipAddress String
    The IP address of the EIP. Supports a maximum of 50 EIPs.
    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 The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, 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 the "Line types" section of What is EIP?

    If you are allowed to use single-ISP bandwidth, you can also choose 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.

    logProject String
    The name of the Simple Log Service (SLS) project.
    logStore String
    The name of the Logstore.
    mode String
    The association mode. Valid values:

    • NAT (default): NAT mode
    • MULTI_BINDED: multi-EIP-to-ENI mode
    • BINDED: cut-network interface controller mode
    name String
    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated: Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String
    The network type. By default, this value is set to public, which specifies the public network type.
    paymentType String

    The billing method of the EIP. Valid values:

    • Subscription: subscription
    • PayAsYouGo (default): pay-as-you-go

    If payment_type is set to Subscription, set internet_charge_type to PayByBandwidth. If payment_type is set to PayAsYouGo, set internet_charge_type to PayByBandwidth or PayByTraffic.

    period Number
    Duration of purchase. When the value of pricing_cycle is Month, the value range of period is 1 to 9. When the value of pricing_cycle is Year, the value range of period is 1 to 5. If the value of the payment_type parameter is Subscription, this parameter is required. If the value of the payment_type parameter is PayAsYouGo, this parameter is left blank.
    pricingCycle String

    The billing cycle of the subscription EIP. Valid values:

    • Month (default)
    • Year

    If payment_type is set to Subscription, this parameter is required. If payment_type is set to PayAsYouGo, this parameter is not required.

    publicIpAddressPoolId String
    The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in Manage EIP quotas.
    resourceGroupId String

    The ID of the resource group to which you want to move the resource.

    NOTE: You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see What is resource management?

    securityProtectionTypes List<String>
    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status String
    The state of the EIP.
    tags Map<Any>
    The tag of the resource
    zone String

    The zone of the EIP. When the service type of the IP address pool specified by PublicIpAddressPoolId is CloudBox, the default value is the zone of the IP address pool. For more information, see ListPublicIpAddressPools.

    The following arguments will be discarded. Please use new fields as soon as possible:

    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.57.1 published on Wednesday, Jun 26, 2024 by Pulumi