类 AsGroupClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.as.AsGroupClient
-
public class AsGroupClient extends AbstractBceClient
Provides the client for accessing the Auto Scaling Group(asGroup).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 AsGroupClient()Constructs a new client to invoke service methods on asGroup.AsGroupClient(BceClientConfiguration clientConfiguration)Constructs a new asGroup client using the client configuration to access asGroup.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AdjustAsGroupResponseadjustAsGroup(AdjustAsGroupRequest request)Adjust the number of nodes in the auto scaling groupGroupCreateResponsecreateAsGroup(GroupCreateRequest request)create new auto scaling groupDecreaseAsGroupResponsedecreaseAsGroup(DecreaseAsGroupRequest request)Reduce nodes in the auto scaling groupGetAsGroupResponsegetAsGroup(GetAsGroupRequest request)Query detailed information about a single auto scaling group.IncreaseAsGroupResponseincreaseAsGroup(IncreaseAsGroupRequest request)Add nodes in the specified auto scaling groupListAsGroupResponselistAsGroup(ListAsGroupRequest request)List detailed information of all auto scaling groupsListAsNodeResponselistAsNode(ListAsNodeRequest request)Query the detailed information of the nodes in the specified auto scaling group.voidupdateTemplate(String groupId, TemplateUpdateRequest request)update the template-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
AsGroupClient
public AsGroupClient()
Constructs a new client to invoke service methods on asGroup.
-
AsGroupClient
public AsGroupClient(BceClientConfiguration clientConfiguration)
Constructs a new asGroup client using the client configuration to access asGroup.- 参数:
clientConfiguration- The as client configuration options controlling how this client connects to asGroup (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
listAsGroup
public ListAsGroupResponse listAsGroup(ListAsGroupRequest request)
List detailed information of all auto scaling groups- 参数:
request- The request containing all options for querying the asGroup list.- 返回:
- auto scaling group list
-
getAsGroup
public GetAsGroupResponse getAsGroup(GetAsGroupRequest request)
Query detailed information about a single auto scaling group.- 参数:
request- The request containing all options for querying the information of the specified asGroup.
-
increaseAsGroup
public IncreaseAsGroupResponse increaseAsGroup(IncreaseAsGroupRequest request)
Add nodes in the specified auto scaling group- 参数:
request- The request containing all options for increasing the specified asGroup.- 返回:
- The list of newly added instance IDs and auto scaling group ID
-
createAsGroup
public GroupCreateResponse createAsGroup(GroupCreateRequest request)
create new auto scaling group- 参数:
request- The request containing all options for creating the specified asGroup.- 返回:
- the groupId and orderId
-
updateTemplate
public void updateTemplate(String groupId, TemplateUpdateRequest request)
update the template- 参数:
request- The request containing all options for upating the template
-
decreaseAsGroup
public DecreaseAsGroupResponse decreaseAsGroup(DecreaseAsGroupRequest request)
Reduce nodes in the auto scaling group- 参数:
request- The request containing all options for decreasing the specified asGroup.- 返回:
- Decrease task id
-
adjustAsGroup
public AdjustAsGroupResponse adjustAsGroup(AdjustAsGroupRequest request)
Adjust the number of nodes in the auto scaling group- 参数:
request- The request containing all options for adjusting the specified asGroup.- 返回:
- Adjust task id
-
listAsNode
public ListAsNodeResponse listAsNode(ListAsNodeRequest request)
Query the detailed information of the nodes in the specified auto scaling group.- 参数:
request- The request containing all options for querying the asNode list.- 返回:
- List of node details.
-
-