alicloud.ecs.EipAddress
Explore with Pulumi AI
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, str]] = 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", "string" },
},
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.StringMap{
"string": pulumi.String("string"),
},
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", "string"))
.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": "string",
},
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: "string",
},
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: string
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:
- Activity
Id string - The promotion code. This parameter is not required.
- Address
Name 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.
- Allocation
Id string - The ID of the EIP instance.
- Auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- Deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- High
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- Instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- Internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Ip
Address 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
.- Log
Project string - The name of the Simple Log Service (SLS) project.
- Log
Store string - The name of the Logstore.
- Mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- Name string
- . Field 'name' has been deprecated from 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. - Payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - Pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- Public
Ip stringAddress Pool Id - 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 stringId 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 List<string>Types - 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).
- Dictionary<string, string>
- 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 string - The promotion code. This parameter is not required.
- Address
Name 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.
- Allocation
Id string - The ID of the EIP instance.
- Auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- Deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- High
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- Instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- Internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Ip
Address 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
.- Log
Project string - The name of the Simple Log Service (SLS) project.
- Log
Store string - The name of the Logstore.
- Mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- Name string
- . Field 'name' has been deprecated from 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. - Payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - Pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- Public
Ip stringAddress Pool Id - 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 stringId 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 []stringTypes - 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).
- map[string]string
- 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 String - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id String - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition StringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge StringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge StringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project String - The name of the Simple Log Service (SLS) project.
- log
Store String - The name of the Logstore.
- mode String
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name String
- . Field 'name' has been deprecated from 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. - payment
Type String The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period Integer
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle String The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip StringAddress Pool Id - 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 StringId 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 List<String>Types - 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).
- Map<String,String>
- 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 string - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id string - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project string - The name of the Simple Log Service (SLS) project.
- log
Store string - The name of the Logstore.
- mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name string
- . Field 'name' has been deprecated from 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. - payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period number
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip stringAddress Pool Id - 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 stringId 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 string[]Types - 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).
- {[key: string]: string}
- 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high_
definition_ strmonitor_ log_ status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance_
charge_ strtype - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet_
charge_ strtype The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- 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 modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name str
- . Field 'name' has been deprecated from 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
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, 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 toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public_
ip_ straddress_ pool_ id - 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_ strid 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_ Sequence[str]types - 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).
- Mapping[str, str]
- 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:
- activity
Id String - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id String - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition StringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge StringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge StringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project String - The name of the Simple Log Service (SLS) project.
- log
Store String - The name of the Logstore.
- mode String
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name String
- . Field 'name' has been deprecated from 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. - payment
Type String The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period Number
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle String The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip StringAddress Pool Id - 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 StringId 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 List<String>Types - 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).
- Map<String>
- 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:
- Create
Time 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 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 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 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.
- create
Time 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, str]] = 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.
- Activity
Id string - The promotion code. This parameter is not required.
- Address
Name 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.
- Allocation
Id string - The ID of the EIP instance.
- Auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- Create
Time string - The time when the EIP was created.
- Deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- High
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- Instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- Internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Ip
Address 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
.- Log
Project string - The name of the Simple Log Service (SLS) project.
- Log
Store string - The name of the Logstore.
- Mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- Name string
- . Field 'name' has been deprecated from 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. - Payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - Pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- Public
Ip stringAddress Pool Id - 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 stringId 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 List<string>Types - 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.
- Dictionary<string, string>
- 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 string - The promotion code. This parameter is not required.
- Address
Name 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.
- Allocation
Id string - The ID of the EIP instance.
- Auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- Create
Time string - The time when the EIP was created.
- Deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- High
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- Instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- Internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Ip
Address 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
.- Log
Project string - The name of the Simple Log Service (SLS) project.
- Log
Store string - The name of the Logstore.
- Mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- Name string
- . Field 'name' has been deprecated from 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. - Payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- Period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - Pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- Public
Ip stringAddress Pool Id - 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 stringId 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 []stringTypes - 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.
- map[string]string
- 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 String - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id String - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- create
Time String - The time when the EIP was created.
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition StringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge StringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge StringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project String - The name of the Simple Log Service (SLS) project.
- log
Store String - The name of the Logstore.
- mode String
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name String
- . Field 'name' has been deprecated from 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. - payment
Type String The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period Integer
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle String The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip StringAddress Pool Id - 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 StringId 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 List<String>Types - 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.
- Map<String,String>
- 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 string - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id string - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- create
Time string - The time when the EIP was created.
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition stringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge stringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge stringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project string - The name of the Simple Log Service (SLS) project.
- log
Store string - The name of the Logstore.
- mode string
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name string
- . Field 'name' has been deprecated from 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. - payment
Type string The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period number
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle string The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip stringAddress Pool Id - 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 stringId 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 string[]Types - 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.
- {[key: string]: string}
- 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high_
definition_ strmonitor_ log_ status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance_
charge_ strtype - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet_
charge_ strtype The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- 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 modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name str
- . Field 'name' has been deprecated from 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
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period int
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, 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 toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public_
ip_ straddress_ pool_ id - 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_ strid 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_ Sequence[str]types - 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.
- Mapping[str, str]
- 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:
- activity
Id String - The promotion code. This parameter is not required.
- address
Name 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.
- allocation
Id String - The ID of the EIP instance.
- auto
Pay 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 toPayAsYouGo
andinternet_charge_type
is set toPayByBandwidth
, valid values forbandwidth
are1
to500
. - When
payment_type
is set toPayAsYouGo
andinternet_charge_type
is set toPayByTraffic
, valid values forbandwidth
are1
to200
. - When
payment_type
is set toSubscription
, valid values forbandwidth
are1
to1000
.
Default value:
5
Mbit /s.- When
- create
Time String - The time when the EIP was created.
- deletion
Protection 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://
orhttps://
.NOTE: You cannot specify this parameter if you create a subscription EIP.
- high
Definition StringMonitor Log Status - The status of fine-grained monitoring. Valid values:
ON
OFF
- instance
Charge StringType - . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
- internet
Charge StringType The metering method of the EIP. Valid values:
PayByBandwidth
(default): pay-by-bandwidth.PayByTraffic
: pay-by-data-transfer.
When
payment_type
is set toSubscription
, you must setinternet_charge_type
toPayByBandwidth
.When
payment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- ip
Address 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
.- log
Project String - The name of the Simple Log Service (SLS) project.
- log
Store String - The name of the Logstore.
- mode String
- The association mode. Valid values:
NAT
(default): NAT modeMULTI_BINDED
: multi-EIP-to-ENI modeBINDED
: cut-network interface controller mode
- name String
- . Field 'name' has been deprecated from 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. - payment
Type String The billing method of the EIP. Valid values:
Subscription
: subscriptionPayAsYouGo
(default): pay-as-you-go
If
payment_type
is set toSubscription
, setinternet_charge_type
toPayByBandwidth
. Ifpayment_type
is set toPayAsYouGo
, setinternet_charge_type
toPayByBandwidth
orPayByTraffic
.- period Number
- Duration of purchase. When the value of
pricing_cycle
isMonth
, the value range ofperiod
is1
to9
. When the value ofpricing_cycle
isYear
, the value range ofperiod
is1
to5
. If the value of thepayment_type
parameter isSubscription
, this parameter is required. If the value of thepayment_type
parameter isPayAsYouGo
, this parameter is left blank. - pricing
Cycle String The billing cycle of the subscription EIP. Valid values:
Month
(default)Year
If
payment_type
is set toSubscription
, this parameter is required. Ifpayment_type
is set toPayAsYouGo
, this parameter is not required.- public
Ip StringAddress Pool Id - 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 StringId 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 List<String>Types - 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.
- Map<String>
- 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.