public class CreateDeploymentSetRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The description of the deployment set.
|
String |
deploymentSetName
The name of the deployment set.
|
String |
description
The emergency solution to use in the situation where instances in the deployment set cannot be evenly distributed to different zones due to resource insufficiency after the instances failover.
|
String |
domain
This parameter is deprecated.
|
String |
granularity
This parameter is deprecated.
|
Long |
groupCount
The deployment strategy.
|
String |
onUnableToRedeployFailedInstance
The region ID of the deployment set.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
Creates a deployment set in a specific region.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
strategy
The deployment strategy.
|
构造器和说明 |
---|
CreateDeploymentSetRequest() |
@NameInMap(value="ClientToken") public String clientToken
The description of the deployment set. The description must be 2 to 256 characters in length and cannot start with http://
or https://
.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="DeploymentSetName") public String deploymentSetName
The name of the deployment set. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http://
or https://
. The name can contain digits, letters, colons (:), underscores (_), and hyphens (-).
testDeploymentSetName
@NameInMap(value="Description") public String description
The emergency solution to use in the situation where instances in the deployment set cannot be evenly distributed to different zones due to resource insufficiency after the instances failover. Valid values:
Default value: CancelMembershipAndStart.
example:testDescription
@NameInMap(value="Domain") public String domain
example:This parameter is deprecated.
Default
@NameInMap(value="Granularity") public String granularity
example:This parameter is deprecated.
host
@NameInMap(value="GroupCount") public Long groupCount
The deployment strategy. Valid values:
Default value: Availability.
example:1
@NameInMap(value="OnUnableToRedeployFailedInstance") public String onUnableToRedeployFailedInstance
The region ID of the deployment set. You can call the DescribeRegions operation to query the most recent list of regions.
example:CancelMembershipAndStart
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
Creates a deployment set in a specific region.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Strategy") public String strategy
The deployment strategy. Valid values:
Default value: Availability.
example:Availability
public static CreateDeploymentSetRequest build(Map<String,?> map) throws Exception
Exception
public CreateDeploymentSetRequest setClientToken(String clientToken)
public String getClientToken()
public CreateDeploymentSetRequest setDeploymentSetName(String deploymentSetName)
public String getDeploymentSetName()
public CreateDeploymentSetRequest setDescription(String description)
public String getDescription()
public CreateDeploymentSetRequest setDomain(String domain)
public String getDomain()
public CreateDeploymentSetRequest setGranularity(String granularity)
public String getGranularity()
public CreateDeploymentSetRequest setGroupCount(Long groupCount)
public Long getGroupCount()
public CreateDeploymentSetRequest setOnUnableToRedeployFailedInstance(String onUnableToRedeployFailedInstance)
public String getOnUnableToRedeployFailedInstance()
public CreateDeploymentSetRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateDeploymentSetRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDeploymentSetRequest setRegionId(String regionId)
public String getRegionId()
public CreateDeploymentSetRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateDeploymentSetRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateDeploymentSetRequest setStrategy(String strategy)
public String getStrategy()
Copyright © 2024. All rights reserved.