public class Client
extends com.aliyun.teaopenapi.Client
_connectTimeout, _credential, _endpoint, _endpointMap, _endpointRule, _endpointType, _headers, _httpProxy, _httpsProxy, _maxIdleConns, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _socks5NetWork, _socks5Proxy, _suffix, _userAgent| 构造器和说明 |
|---|
Client(com.aliyun.teaopenapi.models.Config config) |
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, Map<String,String> endpointMap, String endpoint) throws Exception
Exceptionpublic ListTagResourcesResponse listTagResources(ListTagResourcesRequest request) throws Exception
Exceptionpublic ListTagResourcesResponse listTagResourcesWithOptions(ListTagResourcesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UntagResourcesResponse untagResources(UntagResourcesRequest request) throws Exception
Exceptionpublic UntagResourcesResponse untagResourcesWithOptions(UntagResourcesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ModifyClusterResponse modifyCluster(String ClusterId, ModifyClusterRequest request) throws Exception
Exceptionpublic ModifyClusterResponse modifyClusterWithOptions(String ClusterId, ModifyClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterAttachScriptsResponse describeClusterAttachScripts(String ClusterId, DescribeClusterAttachScriptsRequest request) throws Exception
Exceptionpublic DescribeClusterAttachScriptsResponse describeClusterAttachScriptsWithOptions(String ClusterId, DescribeClusterAttachScriptsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic RemoveClusterNodesResponse removeClusterNodes(String ClusterId, RemoveClusterNodesRequest request) throws Exception
Exceptionpublic RemoveClusterNodesResponse removeClusterNodesWithOptions(String ClusterId, RemoveClusterNodesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeKubernetesVersionMetadataResponse describeKubernetesVersionMetadata(DescribeKubernetesVersionMetadataRequest request) throws Exception
Exceptionpublic DescribeKubernetesVersionMetadataResponse describeKubernetesVersionMetadataWithOptions(DescribeKubernetesVersionMetadataRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterLogsResponse describeClusterLogs(String ClusterId) throws Exception
Exceptionpublic DescribeClusterLogsResponse describeClusterLogsWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateKubernetesTriggerResponse createKubernetesTrigger(CreateKubernetesTriggerRequest request) throws Exception
Exceptionpublic CreateKubernetesTriggerResponse createKubernetesTriggerWithOptions(CreateKubernetesTriggerRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GrantPermissionsResponse grantPermissions(String uid, GrantPermissionsRequest request) throws Exception
Exceptionpublic GrantPermissionsResponse grantPermissionsWithOptions(String uid, GrantPermissionsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterDetailResponse describeClusterDetail(String ClusterId) throws Exception
Exceptionpublic DescribeClusterDetailResponse describeClusterDetailWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic PauseComponentUpgradeResponse pauseComponentUpgrade(String clusterid, String componentid) throws Exception
Exceptionpublic PauseComponentUpgradeResponse pauseComponentUpgradeWithOptions(String clusterid, String componentid, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClustersResponse describeClusters(DescribeClustersRequest request) throws Exception
Exceptionpublic DescribeClustersResponse describeClustersWithOptions(DescribeClustersRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeUserPermissionResponse describeUserPermission(String uid) throws Exception
Exceptionpublic DescribeUserPermissionResponse describeUserPermissionWithOptions(String uid, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ModifyClusterNodePoolResponse modifyClusterNodePool(String ClusterId, String NodepoolId, ModifyClusterNodePoolRequest request) throws Exception
Exceptionpublic ModifyClusterNodePoolResponse modifyClusterNodePoolWithOptions(String ClusterId, String NodepoolId, ModifyClusterNodePoolRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ResumeUpgradeClusterResponse resumeUpgradeCluster(String ClusterId) throws Exception
Exceptionpublic ResumeUpgradeClusterResponse resumeUpgradeClusterWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic OpenAckServiceResponse openAckService(OpenAckServiceRequest request) throws Exception
Exceptionpublic OpenAckServiceResponse openAckServiceWithOptions(OpenAckServiceRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ScaleClusterNodePoolResponse scaleClusterNodePool(String ClusterId, String NodepoolId, ScaleClusterNodePoolRequest request) throws Exception
Exceptionpublic ScaleClusterNodePoolResponse scaleClusterNodePoolWithOptions(String ClusterId, String NodepoolId, ScaleClusterNodePoolRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterNodePoolDetailResponse describeClusterNodePoolDetail(String ClusterId, String NodepoolId) throws Exception
Exceptionpublic DescribeClusterNodePoolDetailResponse describeClusterNodePoolDetailWithOptions(String ClusterId, String NodepoolId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateClusterNodePoolResponse createClusterNodePool(String ClusterId, CreateClusterNodePoolRequest request) throws Exception
Exceptionpublic CreateClusterNodePoolResponse createClusterNodePoolWithOptions(String ClusterId, CreateClusterNodePoolRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterUserKubeconfigResponse describeClusterUserKubeconfig(String ClusterId, DescribeClusterUserKubeconfigRequest request) throws Exception
Exceptionpublic DescribeClusterUserKubeconfigResponse describeClusterUserKubeconfigWithOptions(String ClusterId, DescribeClusterUserKubeconfigRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ScaleClusterResponse scaleCluster(String ClusterId, ScaleClusterRequest request) throws Exception
Exceptionpublic ScaleClusterResponse scaleClusterWithOptions(String ClusterId, ScaleClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterAddonUpgradeStatusResponse describeClusterAddonUpgradeStatus(String ClusterId, String ComponentId) throws Exception
Exceptionpublic DescribeClusterAddonUpgradeStatusResponse describeClusterAddonUpgradeStatusWithOptions(String ClusterId, String ComponentId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeAddonsResponse describeAddons(DescribeAddonsRequest request) throws Exception
Exceptionpublic DescribeAddonsResponse describeAddonsWithOptions(DescribeAddonsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateClusterResponse createCluster(CreateClusterRequest request) throws Exception
Exceptionpublic CreateClusterResponse createClusterWithOptions(CreateClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UpgradeClusterResponse upgradeCluster(String ClusterId, UpgradeClusterRequest request) throws Exception
Exceptionpublic UpgradeClusterResponse upgradeClusterWithOptions(String ClusterId, UpgradeClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CancelWorkflowResponse cancelWorkflow(String workflowName, CancelWorkflowRequest request) throws Exception
Exceptionpublic CancelWorkflowResponse cancelWorkflowWithOptions(String workflowName, CancelWorkflowRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic AttachInstancesResponse attachInstances(String ClusterId, AttachInstancesRequest request) throws Exception
Exceptionpublic AttachInstancesResponse attachInstancesWithOptions(String ClusterId, AttachInstancesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeTemplatesResponse describeTemplates(DescribeTemplatesRequest request) throws Exception
Exceptionpublic DescribeTemplatesResponse describeTemplatesWithOptions(DescribeTemplatesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic PauseClusterUpgradeResponse pauseClusterUpgrade(String ClusterId) throws Exception
Exceptionpublic PauseClusterUpgradeResponse pauseClusterUpgradeWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteTemplateResponse deleteTemplate(String TemplateId) throws Exception
Exceptionpublic DeleteTemplateResponse deleteTemplateWithOptions(String TemplateId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeTemplateAttributeResponse describeTemplateAttribute(String TemplateId, DescribeTemplateAttributeRequest request) throws Exception
Exceptionpublic DescribeTemplateAttributeResponse describeTemplateAttributeWithOptions(String TemplateId, DescribeTemplateAttributeRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateTemplateResponse createTemplate(CreateTemplateRequest request) throws Exception
Exceptionpublic CreateTemplateResponse createTemplateWithOptions(CreateTemplateRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterNodesResponse describeClusterNodes(String ClusterId, DescribeClusterNodesRequest request) throws Exception
Exceptionpublic DescribeClusterNodesResponse describeClusterNodesWithOptions(String ClusterId, DescribeClusterNodesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteClusterResponse deleteCluster(String ClusterId, DeleteClusterRequest request) throws Exception
Exceptionpublic DeleteClusterResponse deleteClusterWithOptions(String ClusterId, DeleteClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CancelComponentUpgradeResponse cancelComponentUpgrade(String clusterId, String componentId) throws Exception
Exceptionpublic CancelComponentUpgradeResponse cancelComponentUpgradeWithOptions(String clusterId, String componentId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic MigrateClusterResponse migrateCluster(String clusterId) throws Exception
Exceptionpublic MigrateClusterResponse migrateClusterWithOptions(String clusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterAddonsVersionResponse describeClusterAddonsVersion(String ClusterId) throws Exception
Exceptionpublic DescribeClusterAddonsVersionResponse describeClusterAddonsVersionWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeExternalAgentResponse describeExternalAgent(String ClusterId, DescribeExternalAgentRequest request) throws Exception
Exceptionpublic DescribeExternalAgentResponse describeExternalAgentWithOptions(String ClusterId, DescribeExternalAgentRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UnInstallClusterAddonsResponse unInstallClusterAddons(String ClusterId, UnInstallClusterAddonsRequest request) throws Exception
Exceptionpublic UnInstallClusterAddonsResponse unInstallClusterAddonsWithOptions(String ClusterId, UnInstallClusterAddonsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ResumeComponentUpgradeResponse resumeComponentUpgrade(String clusterid, String componentid) throws Exception
Exceptionpublic ResumeComponentUpgradeResponse resumeComponentUpgradeWithOptions(String clusterid, String componentid, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClustersV1Response describeClustersV1(DescribeClustersV1Request request) throws Exception
Exceptionpublic DescribeClustersV1Response describeClustersV1WithOptions(DescribeClustersV1Request request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ModifyClusterConfigurationResponse modifyClusterConfiguration(String ClusterId, ModifyClusterConfigurationRequest request) throws Exception
Exceptionpublic ModifyClusterConfigurationResponse modifyClusterConfigurationWithOptions(String ClusterId, ModifyClusterConfigurationRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeTaskInfoResponse describeTaskInfo(String taskId) throws Exception
Exceptionpublic DescribeTaskInfoResponse describeTaskInfoWithOptions(String taskId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescirbeWorkflowResponse descirbeWorkflow(String workflowName) throws Exception
Exceptionpublic DescirbeWorkflowResponse descirbeWorkflowWithOptions(String workflowName, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CancelClusterUpgradeResponse cancelClusterUpgrade(String ClusterId) throws Exception
Exceptionpublic CancelClusterUpgradeResponse cancelClusterUpgradeWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic RemoveWorkflowResponse removeWorkflow(String workflowName) throws Exception
Exceptionpublic RemoveWorkflowResponse removeWorkflowWithOptions(String workflowName, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UpdateTemplateResponse updateTemplate(String TemplateId, UpdateTemplateRequest request) throws Exception
Exceptionpublic UpdateTemplateResponse updateTemplateWithOptions(String TemplateId, UpdateTemplateRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UpgradeClusterAddonsResponse upgradeClusterAddons(String ClusterId, UpgradeClusterAddonsRequest request) throws Exception
Exceptionpublic UpgradeClusterAddonsResponse upgradeClusterAddonsWithOptions(String ClusterId, UpgradeClusterAddonsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterNamespacesResponse describeClusterNamespaces(String ClusterId) throws Exception
Exceptionpublic DescribeClusterNamespacesResponse describeClusterNamespacesWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteKubernetesTriggerResponse deleteKubernetesTrigger(String Id) throws Exception
Exceptionpublic DeleteKubernetesTriggerResponse deleteKubernetesTriggerWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeUserQuotaResponse describeUserQuota() throws Exception
Exceptionpublic DescribeUserQuotaResponse describeUserQuotaWithOptions(Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteClusterNodepoolResponse deleteClusterNodepool(String ClusterId, String NodepoolId) throws Exception
Exceptionpublic DeleteClusterNodepoolResponse deleteClusterNodepoolWithOptions(String ClusterId, String NodepoolId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterAddonsUpgradeStatusResponse describeClusterAddonsUpgradeStatus(String ClusterId, DescribeClusterAddonsUpgradeStatusRequest request) throws Exception
Exceptionpublic DescribeClusterAddonsUpgradeStatusResponse describeClusterAddonsUpgradeStatusWithOptions(String ClusterId, DescribeClusterAddonsUpgradeStatusRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeWorkflowsResponse describeWorkflows() throws Exception
Exceptionpublic DescribeWorkflowsResponse describeWorkflowsWithOptions(Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic InstallClusterAddonsResponse installClusterAddons(String ClusterId, InstallClusterAddonsRequest request) throws Exception
Exceptionpublic InstallClusterAddonsResponse installClusterAddonsWithOptions(String ClusterId, InstallClusterAddonsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterNodePoolsResponse describeClusterNodePools(String ClusterId) throws Exception
Exceptionpublic DescribeClusterNodePoolsResponse describeClusterNodePoolsWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterV2UserKubeconfigResponse describeClusterV2UserKubeconfig(String ClusterId, DescribeClusterV2UserKubeconfigRequest request) throws Exception
Exceptionpublic DescribeClusterV2UserKubeconfigResponse describeClusterV2UserKubeconfigWithOptions(String ClusterId, DescribeClusterV2UserKubeconfigRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic StartWorkflowResponse startWorkflow(StartWorkflowRequest request) throws Exception
Exceptionpublic StartWorkflowResponse startWorkflowWithOptions(StartWorkflowRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ScaleOutClusterResponse scaleOutCluster(String ClusterId, ScaleOutClusterRequest request) throws Exception
Exceptionpublic ScaleOutClusterResponse scaleOutClusterWithOptions(String ClusterId, ScaleOutClusterRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic UpdateK8sClusterUserConfigExpireResponse updateK8sClusterUserConfigExpire(String ClusterId) throws Exception
Exceptionpublic UpdateK8sClusterUserConfigExpireResponse updateK8sClusterUserConfigExpireWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic TagResourcesResponse tagResources(TagResourcesRequest request) throws Exception
Exceptionpublic TagResourcesResponse tagResourcesWithOptions(TagResourcesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ModifyClusterTagsResponse modifyClusterTags(String ClusterId, ModifyClusterTagsRequest request) throws Exception
Exceptionpublic ModifyClusterTagsResponse modifyClusterTagsWithOptions(String ClusterId, ModifyClusterTagsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetKubernetesTriggerResponse getKubernetesTrigger(String ClusterId, GetKubernetesTriggerRequest request) throws Exception
Exceptionpublic GetKubernetesTriggerResponse getKubernetesTriggerWithOptions(String ClusterId, GetKubernetesTriggerRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetUpgradeStatusResponse getUpgradeStatus(String ClusterId) throws Exception
Exceptionpublic GetUpgradeStatusResponse getUpgradeStatusWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DescribeClusterResourcesResponse describeClusterResources(String ClusterId) throws Exception
Exceptionpublic DescribeClusterResourcesResponse describeClusterResourcesWithOptions(String ClusterId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteClusterNodesResponse deleteClusterNodes(String ClusterId, DeleteClusterNodesRequest request) throws Exception
Exceptionpublic DeleteClusterNodesResponse deleteClusterNodesWithOptions(String ClusterId, DeleteClusterNodesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
ExceptionCopyright © 2021. All rights reserved.