public class CreateLoadBalancerRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
addressIpVersion
The protocol version.
|
String |
addressType
The type of IPv4 address used by the NLB instance.
|
String |
bandwidthPackageId
The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
CreateLoadBalancerRequest.CreateLoadBalancerRequestDeletionProtectionConfig |
deletionProtectionConfig
The configuration of the deletion protection feature.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig |
loadBalancerBillingConfig
The billing settings of the NLB instance.
|
String |
loadBalancerName
The name of the NLB instance.
|
String |
loadBalancerType
The type of the instance.
|
CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig |
modificationProtectionConfig
The configuration of the configuration read-only mode.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
String |
resourceGroupId
The ID of the resource group.
|
List<CreateLoadBalancerRequest.CreateLoadBalancerRequestTag> |
tag
The tags.
|
String |
vpcId
The ID of the VPC where the NLB instance is deployed.
|
List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> |
zoneMappings
The mappings between zones and vSwitches.
|
| 构造器和说明 |
|---|
CreateLoadBalancerRequest() |
@NameInMap(value="AddressIpVersion") public String addressIpVersion
The protocol version. Valid values:
* **ipv4:** IPv4. This is the default value.
* **DualStack:** dual stack.
@NameInMap(value="AddressType") public String addressType
The type of IPv4 address used by the NLB instance. Valid values:
* **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
* **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the virtual private cloud (VPC) where the NLB instance is deployed.
> To enable a public IPv6 address for an NLB instance, call the [EnableLoadBalancerIpv6Internet](~~445878~~) operation.
@NameInMap(value="BandwidthPackageId") public String bandwidthPackageId
The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
@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 make sure that it is unique among different requests. The client token can contain only ASCII characters.
> If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request is different.
@NameInMap(value="DeletionProtectionConfig") public CreateLoadBalancerRequest.CreateLoadBalancerRequestDeletionProtectionConfig deletionProtectionConfig
The configuration of the deletion protection feature.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
* **true**: performs a dry run. The system checks the required parameters, request syntax, and 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. This is the default value. 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 billing settings of the NLB instance.
@NameInMap(value="LoadBalancerName") public String loadBalancerName
The name of the NLB instance.
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The value must start with a letter.
@NameInMap(value="LoadBalancerType") public String loadBalancerType
The type of the instance. Set the value to **network**, which specifies an NLB instance.
@NameInMap(value="ModificationProtectionConfig") public CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig modificationProtectionConfig
The configuration of the configuration read-only mode.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the NLB instance is deployed.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
@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 VPC where the NLB instance is deployed.
@NameInMap(value="ZoneMappings") public List<CreateLoadBalancerRequest.CreateLoadBalancerRequestZoneMappings> zoneMappings
The mappings between zones and vSwitches. You must add at least two zones. You can add a maximum of 10 zones.
public static CreateLoadBalancerRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateLoadBalancerRequest setAddressIpVersion(String addressIpVersion)
public String getAddressIpVersion()
public CreateLoadBalancerRequest setAddressType(String addressType)
public String getAddressType()
public CreateLoadBalancerRequest setBandwidthPackageId(String bandwidthPackageId)
public String getBandwidthPackageId()
public CreateLoadBalancerRequest setClientToken(String clientToken)
public String getClientToken()
public CreateLoadBalancerRequest setDeletionProtectionConfig(CreateLoadBalancerRequest.CreateLoadBalancerRequestDeletionProtectionConfig deletionProtectionConfig)
public CreateLoadBalancerRequest.CreateLoadBalancerRequestDeletionProtectionConfig getDeletionProtectionConfig()
public CreateLoadBalancerRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateLoadBalancerRequest setLoadBalancerBillingConfig(CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig loadBalancerBillingConfig)
public CreateLoadBalancerRequest.CreateLoadBalancerRequestLoadBalancerBillingConfig getLoadBalancerBillingConfig()
public CreateLoadBalancerRequest setLoadBalancerName(String loadBalancerName)
public String getLoadBalancerName()
public CreateLoadBalancerRequest setLoadBalancerType(String loadBalancerType)
public String getLoadBalancerType()
public CreateLoadBalancerRequest setModificationProtectionConfig(CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig modificationProtectionConfig)
public CreateLoadBalancerRequest.CreateLoadBalancerRequestModificationProtectionConfig getModificationProtectionConfig()
public CreateLoadBalancerRequest setRegionId(String regionId)
public String getRegionId()
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 © 2023. All rights reserved.