public class AllocateEipAddressProRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
String |
bandwidth
The maximum bandwidth of the specified EIP.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
instanceChargeType
The billing method of the EIP.
|
String |
instanceId
The EIP ID.
|
String |
internetChargeType
The metering method of the EIP.
|
String |
ipAddress
The IP address of the EIP.
|
String |
ISP
The line type.
|
String |
netmode
The network type.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
period
The subscription duration.
|
String |
pricingCycle
The billing cycle of the subscription EIP.
|
String |
publicIpAddressPoolId
The ID of the IP address pool.
|
String |
regionId
The ID of the region to which the EIP belongs.
|
String |
resourceGroupId
The ID of the resource group to which the EIP belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<String> |
securityProtectionTypes
The editions of Anti-DDoS.
|
构造器和说明 |
---|
AllocateEipAddressProRequest() |
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to enable automatic payment. Default value: true. Valid values:
This parameter is required if InstanceChargeType is set to PrePaid. This parameter is optional if InstanceChargeType is set to PostPaid.
example:true
@NameInMap(value="Bandwidth") public String bandwidth
The maximum bandwidth of the specified EIP. Unit: Mbit/s.
Default value: 5 Mbit /s.
example:5
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate a token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
0c593ea1-3bea-11e9-b96b-88e9fe6****
@NameInMap(value="ISP") public String ISP
The line type. Valid values:
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:
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to BGP_FinanceCloud.
BGP
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the EIP. Valid values:
Set the value of InternetChargeType to PayByBandwidth if InstanceChargeType is set to PrePaid.
Valid values when InstanceChargeType is set to PostPaid: PayByBandwidth or PayByTraffic.
example:PostPaid
@NameInMap(value="InstanceId") public String instanceId
The EIP ID.
Specify IpAddress or InstanceId. If you leave both parameters empty, the system randomly allocates an EIP.
example:eip-25877c70gddh****
@NameInMap(value="InternetChargeType") public String internetChargeType
The metering method of the EIP. Valid values:
When InstanceChargeType is set to PrePaid, you must set InternetChargeType to PayByBandwidth.
When InstanceChargeType is set to PostPaid, set InternetChargeType to PayByBandwidth or PayByTraffic.
example:PayByBandwidth
@NameInMap(value="IpAddress") public String ipAddress
The IP address of the EIP.
Specify IpAddress or InstanceId. If you leave both parameters empty, the system randomly allocates an EIP.
example:192.0.XX.XX
@NameInMap(value="Netmode") public String netmode
The network type. By default, this value is set to public, which specifies the public network type.
example:public
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Period") public Integer period
The subscription duration.
This parameter is required if InstanceChargeType is set to PrePaid.
Leave this parameter empty if InstanceChargeType is set to PostPaid.
example:1
@NameInMap(value="PricingCycle") public String pricingCycle
The billing cycle of the subscription EIP. Valid values:
This parameter is required if InstanceChargeType is set to PrePaid. This parameter is optional if InstanceChargeType is set to PostPaid.
example:Month
@NameInMap(value="PublicIpAddressPoolId") public String publicIpAddressPoolId
The ID of the IP address pool.
The EIP is allocated from the IP address pool.
By default, you cannot use the IP address pool. To use this feature, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section of Manage EIP quotas.
example:pippool-2vc0kxcedhquybdsz****
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the EIP belongs.
You can call the DescribeRegions operation to query the region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the EIP belongs.
example:rg-resourcegroup****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityProtectionTypes") public List<String> securityProtectionTypes
The editions of Anti-DDoS.
You can configure Anti-DDoS editions for up to 10 EIPs.
public static AllocateEipAddressProRequest build(Map<String,?> map) throws Exception
Exception
public AllocateEipAddressProRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public AllocateEipAddressProRequest setBandwidth(String bandwidth)
public String getBandwidth()
public AllocateEipAddressProRequest setClientToken(String clientToken)
public String getClientToken()
public AllocateEipAddressProRequest setISP(String ISP)
public String getISP()
public AllocateEipAddressProRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public AllocateEipAddressProRequest setInstanceId(String instanceId)
public String getInstanceId()
public AllocateEipAddressProRequest setInternetChargeType(String internetChargeType)
public String getInternetChargeType()
public AllocateEipAddressProRequest setIpAddress(String ipAddress)
public String getIpAddress()
public AllocateEipAddressProRequest setNetmode(String netmode)
public String getNetmode()
public AllocateEipAddressProRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AllocateEipAddressProRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AllocateEipAddressProRequest setPeriod(Integer period)
public Integer getPeriod()
public AllocateEipAddressProRequest setPricingCycle(String pricingCycle)
public String getPricingCycle()
public AllocateEipAddressProRequest setPublicIpAddressPoolId(String publicIpAddressPoolId)
public String getPublicIpAddressPoolId()
public AllocateEipAddressProRequest setRegionId(String regionId)
public String getRegionId()
public AllocateEipAddressProRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public AllocateEipAddressProRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AllocateEipAddressProRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AllocateEipAddressProRequest setSecurityProtectionTypes(List<String> securityProtectionTypes)
Copyright © 2024. All rights reserved.