public class CreateLoadBalancerRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig |
static class |
CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig |
static class |
CreateLoadBalancerRequest.CreateLoadBalancerRequestTag |
static class |
CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
addressAllocatedMode
The mode used to assign IP addresses to zones of the ALB instance.
|
String |
addressIpVersion
The protocol version.
|
String |
addressType
The type of the address of the ALB instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
deletionProtectionEnabled
Specifies whether to enable deletion protection.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig |
loadBalancerBillingConfig
The configuration of the billing method of the ALB instance.
|
String |
loadBalancerEdition
The edition of the ALB instance.
|
String |
loadBalancerName
The name of the ALB instance.
|
CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig |
modificationProtectionConfig
The configuration of the configuration read-only mode.
|
String |
resourceGroupId
The ID of the resource group.
|
List<CreateLoadBalancerRequest.CreateLoadBalancerRequestTag> |
tag
The tags.
|
String |
vpcId
The ID of the virtual private cloud (VPC) in which you want to create the ALB instance.
|
List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> |
zoneMappings
The zones and the vSwitches in the zones.
|
| 构造器和说明 |
|---|
CreateLoadBalancerRequest() |
@NameInMap(value="AddressAllocatedMode") public String addressAllocatedMode
The mode used to assign IP addresses to zones of the ALB instance. Default value: Dynamic. Valid values:
* **Fixed:** assigns a static IP address to the ALB instance.
* **Dynamic:** dynamically assigns an IP address to each zone of the ALB instance.
@NameInMap(value="AddressIpVersion") public String addressIpVersion
The protocol version. Valid values:
* **IPv4:** IPv4.
* **DualStack:** dual stack.
@NameInMap(value="AddressType") public String addressType
The type of the address of the ALB instance. Valid values:
* **Internet:** The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. In this case, the ALB instance can be accessed over the Internet.
* **Intranet:** The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the VPC in which the ALB instance is deployed.
This parameter is required.
@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 the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters.
> If you do not specify this parameter, the system uses the value of **RequestId** as the value of **ClientToken**. The value of the **RequestId** parameter may be different for each API request.
@NameInMap(value="DeletionProtectionEnabled") public Boolean deletionProtectionEnabled
Specifies whether to enable deletion protection. Default value: false. Valid values:
* **true:** enables deletion protection.
* **false:** disables deletion protection.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Default value: false. Valid values:
* **true:** performs a dry run. The system checks the required parameters, request format, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false:** performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
@NameInMap(value="LoadBalancerBillingConfig") public CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig loadBalancerBillingConfig
The configuration of the billing method of the ALB instance.
This parameter is required.
@NameInMap(value="LoadBalancerEdition") public String loadBalancerEdition
The edition of the ALB instance. The features and billing rules vary based on the edition of the ALB instance. Valid values:
* **Basic:** basic.
* **Standard:** standard.
* **StandardWithWaf:** WAF-enabled.
This parameter is required.
@NameInMap(value="LoadBalancerName") public String loadBalancerName
The name of the ALB instance.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
@NameInMap(value="ModificationProtectionConfig") public CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig modificationProtectionConfig
The configuration of the configuration read-only mode.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
@NameInMap(value="Tag") public List<CreateLoadBalancerRequest.CreateLoadBalancerRequestTag> tag
The tags.
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) in which you want to create the ALB instance.
This parameter is required.
@NameInMap(value="ZoneMappings") public List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> zoneMappings
The zones and the vSwitches in the zones. You must specify at least two zones.
This parameter is required.
public static CreateLoadBalancerRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateLoadBalancerRequest setAddressAllocatedMode(String addressAllocatedMode)
public String getAddressAllocatedMode()
public CreateLoadBalancerRequest setAddressIpVersion(String addressIpVersion)
public String getAddressIpVersion()
public CreateLoadBalancerRequest setAddressType(String addressType)
public String getAddressType()
public CreateLoadBalancerRequest setClientToken(String clientToken)
public String getClientToken()
public CreateLoadBalancerRequest setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
public Boolean getDeletionProtectionEnabled()
public CreateLoadBalancerRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateLoadBalancerRequest setLoadBalancerBillingConfig(CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig loadBalancerBillingConfig)
public CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig getLoadBalancerBillingConfig()
public CreateLoadBalancerRequest setLoadBalancerEdition(String loadBalancerEdition)
public String getLoadBalancerEdition()
public CreateLoadBalancerRequest setLoadBalancerName(String loadBalancerName)
public String getLoadBalancerName()
public CreateLoadBalancerRequest setModificationProtectionConfig(CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig modificationProtectionConfig)
public CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig getModificationProtectionConfig()
public CreateLoadBalancerRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateLoadBalancerRequest setTag(List<CreateLoadBalancerRequest.CreateLoadBalancerRequestTag> tag)
public List<CreateLoadBalancerRequest.CreateLoadBalancerRequestTag> getTag()
public CreateLoadBalancerRequest setVpcId(String vpcId)
public String getVpcId()
public CreateLoadBalancerRequest setZoneMappings(List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> zoneMappings)
public List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> getZoneMappings()
Copyright © 2024. All rights reserved.