com.baidubce.services.as
Class AsGroupClient

java.lang.Object
  extended by com.baidubce.AbstractBceClient
      extended by com.baidubce.services.as.AsGroupClient

public class AsGroupClient
extends AbstractBceClient

Provides the client for accessing the Auto Scaling Group(asGroup).


Field Summary
 
Fields inherited from class com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
 
Constructor Summary
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.
 
Method Summary
 AdjustAsGroupResponse adjustAsGroup(AdjustAsGroupRequest request)
          Adjust the number of nodes in the auto scaling group
 DecreaseAsGroupResponse decreaseAsGroup(DecreaseAsGroupRequest request)
          Reduce nodes in the auto scaling group
 GetAsGroupResponse getAsGroup(GetAsGroupRequest request)
          Query detailed information about a single auto scaling group.
 IncreaseAsGroupResponse increaseAsGroup(IncreaseAsGroupRequest request)
          Add nodes in the specified auto scaling group
 ListAsGroupResponse listAsGroup(ListAsGroupRequest request)
          List detailed information of all auto scaling groups
 ListAsNodeResponse listAsNode(ListAsNodeRequest request)
          Query the detailed information of the nodes in the specified auto scaling group.
 
Methods inherited from class com.baidubce.AbstractBceClient
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Parameters:
clientConfiguration - The as client configuration options controlling how this client connects to asGroup (e.g. proxy settings, retry counts, etc).
Method Detail

listAsGroup

public ListAsGroupResponse listAsGroup(ListAsGroupRequest request)
List detailed information of all auto scaling groups

Parameters:
request - The request containing all options for querying the asGroup list.
Returns:
auto scaling group list

getAsGroup

public GetAsGroupResponse getAsGroup(GetAsGroupRequest request)
Query detailed information about a single auto scaling group.

Parameters:
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

Parameters:
request - The request containing all options for increasing the specified asGroup.
Returns:
The list of newly added instance IDs and auto scaling group ID

decreaseAsGroup

public DecreaseAsGroupResponse decreaseAsGroup(DecreaseAsGroupRequest request)
Reduce nodes in the auto scaling group

Parameters:
request - The request containing all options for decreasing the specified asGroup.
Returns:
Decrease task id

adjustAsGroup

public AdjustAsGroupResponse adjustAsGroup(AdjustAsGroupRequest request)
Adjust the number of nodes in the auto scaling group

Parameters:
request - The request containing all options for adjusting the specified asGroup.
Returns:
Adjust task id

listAsNode

public ListAsNodeResponse listAsNode(ListAsNodeRequest request)
Query the detailed information of the nodes in the specified auto scaling group.

Parameters:
request - The request containing all options for querying the asNode list.
Returns:
List of node details.


Copyright © 2020. All rights reserved.