类 DccClient


  • public class DccClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Dedicated Cloud Compute Service(dcc).
    • 构造器详细资料

      • DccClient

        public DccClient()
        Constructs a new client to invoke service methods on dcc.
      • DccClient

        public DccClient​(BceClientConfiguration clientConfiguration)
        Constructs a new dcc client using the client configuration to access dcc.
        参数:
        clientConfiguration - The dcc client configuration options controlling how this client connects to dcc (e.g. proxy settings, retry counts, etc).
    • 方法详细资料

      • createDcc

        public CreateDccResponse createDcc​(CreateDccRequest request)
        Create a dcc host with specified options. You must fill the field of clientToken,which is especially for keeping idempotent.
        参数:
        request - CreateDccRequest
        返回:
        CreateDccResponse
      • createDccInstanceWithEncryption

        public CreateDccInstanceResponse createDccInstanceWithEncryption​(CreateDccInstanceRequest request)
        Create a dcc instance with specified options. This interface will encrypt the password
        参数:
        request - CreateDccInstanceRequest
        返回:
        CreateDccInstanceResponse
      • dccBindTags

        public void dccBindTags​(DccBindTagsRequest request)
        Bind tags to dcc. Tags will also be bound to instances created on the dcc.
        参数:
        request - DccBindTagsRequest
      • dccUnbindTags

        public void dccUnbindTags​(DccUnbindTagsRequest request)
        Unbind tags from dcc.
        参数:
        request - DccUnbindTagsRequest
      • dccRename

        public void dccRename​(DccRenameRequest request)
        Renaming dcc instance.
        参数:
        request -
      • dccDetail

        public DccModel dccDetail​(DccDetailRequest request)
        Query detail information of a dedicated host.
        参数:
        request - DccDetailRequest
        返回:
        DccModel
      • dccList

        public ListDccResponse dccList​(ListDccRequest request)
        Listing dcc hosts owned by the user. zoneName can be specified in the request to list dcc in the target zone.
        参数:
        request - ListDccRequest
        返回:
        ListDccResponse