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 perform only a dry run, without performing the actual 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 to add to the dedicated host cluster.
|
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, colons (:), underscores (_), periods (.), and hyphens (-).
This parameter is left empty by default.
example:myDDHCluster
@NameInMap(value="Description") public String description
The description of the dedicated host cluster. The description must be 2 to 256 characters in length and cannot start with http://
or https://
.
This parameter is left empty by default.
example:This-is-my-DDHCluster
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.Default value: false.
example: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 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 to assign the dedicated host cluster.
example:rg-bp67acfmxazb4p****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateDedicatedHostClusterRequest.CreateDedicatedHostClusterRequestTag> tag
The tags to add to the dedicated host cluster.
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone in which to create the dedicated host cluster. You can call the DescribeZones operation to query the most recent zone list.
This parameter is required.
example:cn-hangzhou-f
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 © 2024. All rights reserved.