public class CreateDedicatedHostClusterRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
dedicatedHostClusterName
The name of the dedicated host cluster.
|
String |
description
The description of the dedicated host cluster.
|
Boolean |
dryRun
Specifies whether to check the validity of the request without actually making the request.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region in which to create the dedicated host cluster.
|
String |
resourceGroupId
The ID of the resource group to which to assign the dedicated host cluster.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag> |
tag
The tags of the resource.
|
String |
zoneId
The ID of the zone in which to create the dedicated host cluster.
|
构造器和说明 |
---|
CreateDedicatedHostClusterRequest() |
@NameInMap(value="DedicatedHostClusterName") public String dedicatedHostClusterName
The name of the dedicated host cluster. The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter. It cannot contain `http://` or `https://`.
This parameter is empty by default.
@NameInMap(value="Description") public String description
The description of the dedicated host cluster. The description must be 2 to 256 characters in length. It cannot start with `http://` or `https://`.
This parameter is empty by default.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to check the validity of the request without actually making the request. Valid values:
* true: The validity of the request is checked but the request is not made. Check items include whether your AccessKey pair is valid, whether RAM users are authorized, and whether the required parameters are specified. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
* false: The validity of the request is checked. If the check succeeds, a 2XX HTTP status code is returned and the request is made.
Default value: false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region in which to create the dedicated host cluster. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which to assign the dedicated host cluster.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag> tag
The tags of the resource. You can enter most at 20 tags for the resource.
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone in which to create the dedicated host cluster. You can call the [DescribeZones](~~25610~~) operation to query the most recent zone list.
public static CreateDedicatedHostClusterRequest build(Map<String,?> map) throws Exception
Exception
public CreateDedicatedHostClusterRequest setDedicatedHostClusterName(String dedicatedHostClusterName)
public String getDedicatedHostClusterName()
public CreateDedicatedHostClusterRequest setDescription(String description)
public String getDescription()
public CreateDedicatedHostClusterRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateDedicatedHostClusterRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateDedicatedHostClusterRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDedicatedHostClusterRequest setRegionId(String regionId)
public String getRegionId()
public CreateDedicatedHostClusterRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateDedicatedHostClusterRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateDedicatedHostClusterRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateDedicatedHostClusterRequest setTag(List<CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag> tag)
public List<CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag> getTag()
public CreateDedicatedHostClusterRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.