public static class CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestResourcePoolOptions
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
List<String> |
privatePoolIds
The IDs of private pools.
|
String |
strategy
Specifies which resource pools to use to create instances.
|
构造器和说明 |
---|
CreateAutoProvisioningGroupRequestResourcePoolOptions() |
@NameInMap(value="PrivatePoolIds") public List<String> privatePoolIds
The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool. You can specify the IDs of only targeted private pools for this parameter.
@NameInMap(value="Strategy") public String strategy
Specifies which resource pools to use to create instances. Resource pools include the public pool and the private pools that are associated with elasticity assurance and capacity reservations in the Active state. Valid values:
Default value: PublicPoolOnly.
example:PrivatePoolFirst
public CreateAutoProvisioningGroupRequestResourcePoolOptions()
public static CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestResourcePoolOptions build(Map<String,?> map) throws Exception
Exception
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestResourcePoolOptions setPrivatePoolIds(List<String> privatePoolIds)
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestResourcePoolOptions setStrategy(String strategy)
public String getStrategy()
Copyright © 2024. All rights reserved.