public class CreateDhcpOptionsSetRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateDhcpOptionsSetRequest.CreateDhcpOptionsSetRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
dhcpOptionsSetDescription
The description of the DHCP options set.
|
String |
dhcpOptionsSetName
The name of the DHCP options set.
|
String |
domainName
The root domain.
|
String |
domainNameServers
The IP address of the DNS server.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
ipv6LeaseTime
The lease time of the IPv6 addresses for the DHCP options set.
|
String |
leaseTime
The lease time of the IPv4 addresses for the DHCP options set.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region to which the DHCP options set belongs.
|
String |
resourceGroupId
The ID of the resource group to which the DHCP options set belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateDhcpOptionsSetRequest.CreateDhcpOptionsSetRequestTag> |
tag
The tag of the resource.
|
构造器和说明 |
---|
CreateDhcpOptionsSetRequest() |
@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 token, but you must make sure that the token is unique among different requests. The client 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-88e9fe637760
@NameInMap(value="DhcpOptionsSetDescription") public String dhcpOptionsSetDescription
The description of the DHCP options set.
The description must be 1 to 256 characters in length. It must start with a letter and cannot start with http://
or https://
.
description
@NameInMap(value="DhcpOptionsSetName") public String dhcpOptionsSetName
The name of the DHCP options set.
The name must be 1 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
example:name
@NameInMap(value="DomainName") public String domainName
The root domain. For example, you can set the value to example.com.
After a DHCP options set is associated with a virtual private cloud (VPC), the root domain in the DHCP options set is automatically synchronized with the ECS instances in the VPC.
example:example.com
@NameInMap(value="DomainNameServers") public String domainNameServers
The IP address of the DNS server. You can enter at most four DNS server IP addresses. Separate IP addresses with commas (,).
example:If no IP address is specified, the Elastic Compute Service (ECS) instance uses the IP addresses 100.100.2.136 and 100.100.2.138, which are provided by Alibaba Cloud by default.
192.XX.XX.123
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request.
true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails dry run, an error message is returned. If the request passes the dry run, the DryRunOperation
error code is returned.
false (default): 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.
example:false
@NameInMap(value="Ipv6LeaseTime") public String ipv6LeaseTime
The lease time of the IPv6 addresses for the DHCP options set.
example:When you enter a value, you must also specify the unit.
3650d
@NameInMap(value="LeaseTime") public String leaseTime
The lease time of the IPv4 addresses for the DHCP options set.
example:When you enter a value, you must also specify the unit.
3650d
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region to which the DHCP options set belongs.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the DHCP options set belongs.
example:rg-acfmxazb4ph****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateDhcpOptionsSetRequest.CreateDhcpOptionsSetRequestTag> tag
The tag of the resource.
public static CreateDhcpOptionsSetRequest build(Map<String,?> map) throws Exception
Exception
public CreateDhcpOptionsSetRequest setClientToken(String clientToken)
public String getClientToken()
public CreateDhcpOptionsSetRequest setDhcpOptionsSetDescription(String dhcpOptionsSetDescription)
public String getDhcpOptionsSetDescription()
public CreateDhcpOptionsSetRequest setDhcpOptionsSetName(String dhcpOptionsSetName)
public String getDhcpOptionsSetName()
public CreateDhcpOptionsSetRequest setDomainName(String domainName)
public String getDomainName()
public CreateDhcpOptionsSetRequest setDomainNameServers(String domainNameServers)
public String getDomainNameServers()
public CreateDhcpOptionsSetRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateDhcpOptionsSetRequest setIpv6LeaseTime(String ipv6LeaseTime)
public String getIpv6LeaseTime()
public CreateDhcpOptionsSetRequest setLeaseTime(String leaseTime)
public String getLeaseTime()
public CreateDhcpOptionsSetRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateDhcpOptionsSetRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDhcpOptionsSetRequest setRegionId(String regionId)
public String getRegionId()
public CreateDhcpOptionsSetRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateDhcpOptionsSetRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateDhcpOptionsSetRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateDhcpOptionsSetRequest setTag(List<CreateDhcpOptionsSetRequest.CreateDhcpOptionsSetRequestTag> tag)
public List<CreateDhcpOptionsSetRequest.CreateDhcpOptionsSetRequestTag> getTag()
Copyright © 2024. All rights reserved.