类 AsGroupClient


  • public class AsGroupClient
    extends AbstractBceClient
    Provides the client for accessing the Auto Scaling Group(asGroup).
    • 构造器详细资料

      • 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.