@alicloud/cs20151215 4.0.10 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +104 -8
- package/dist/client.js +169 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +187 -8
package/dist/client.d.ts
CHANGED
|
@@ -422,6 +422,46 @@ export declare class CheckControlPlaneLogEnableResponse extends $tea.Model {
|
|
|
422
422
|
[key: string]: any;
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
|
+
export declare class CheckServiceRoleRequest extends $tea.Model {
|
|
426
|
+
roles?: CheckServiceRoleRequestRoles[];
|
|
427
|
+
static names(): {
|
|
428
|
+
[key: string]: string;
|
|
429
|
+
};
|
|
430
|
+
static types(): {
|
|
431
|
+
[key: string]: any;
|
|
432
|
+
};
|
|
433
|
+
constructor(map?: {
|
|
434
|
+
[key: string]: any;
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
export declare class CheckServiceRoleResponseBody extends $tea.Model {
|
|
438
|
+
roles?: CheckServiceRoleResponseBodyRoles[];
|
|
439
|
+
static names(): {
|
|
440
|
+
[key: string]: string;
|
|
441
|
+
};
|
|
442
|
+
static types(): {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
};
|
|
445
|
+
constructor(map?: {
|
|
446
|
+
[key: string]: any;
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
export declare class CheckServiceRoleResponse extends $tea.Model {
|
|
450
|
+
headers?: {
|
|
451
|
+
[key: string]: string;
|
|
452
|
+
};
|
|
453
|
+
statusCode?: number;
|
|
454
|
+
body?: CheckServiceRoleResponseBody;
|
|
455
|
+
static names(): {
|
|
456
|
+
[key: string]: string;
|
|
457
|
+
};
|
|
458
|
+
static types(): {
|
|
459
|
+
[key: string]: any;
|
|
460
|
+
};
|
|
461
|
+
constructor(map?: {
|
|
462
|
+
[key: string]: any;
|
|
463
|
+
});
|
|
464
|
+
}
|
|
425
465
|
export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
426
466
|
coolDownDuration?: string;
|
|
427
467
|
daemonsetEvictionForNodes?: boolean;
|
|
@@ -3757,6 +3797,7 @@ export declare class RemoveWorkflowResponse extends $tea.Model {
|
|
|
3757
3797
|
export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
3758
3798
|
autoRestart?: boolean;
|
|
3759
3799
|
nodes?: string[];
|
|
3800
|
+
operations?: RepairClusterNodePoolRequestOperations[];
|
|
3760
3801
|
static names(): {
|
|
3761
3802
|
[key: string]: string;
|
|
3762
3803
|
};
|
|
@@ -4910,6 +4951,32 @@ export declare class AttachInstancesResponseBodyList extends $tea.Model {
|
|
|
4910
4951
|
[key: string]: any;
|
|
4911
4952
|
});
|
|
4912
4953
|
}
|
|
4954
|
+
export declare class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
4955
|
+
name?: string;
|
|
4956
|
+
static names(): {
|
|
4957
|
+
[key: string]: string;
|
|
4958
|
+
};
|
|
4959
|
+
static types(): {
|
|
4960
|
+
[key: string]: any;
|
|
4961
|
+
};
|
|
4962
|
+
constructor(map?: {
|
|
4963
|
+
[key: string]: any;
|
|
4964
|
+
});
|
|
4965
|
+
}
|
|
4966
|
+
export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
4967
|
+
granted?: boolean;
|
|
4968
|
+
message?: string;
|
|
4969
|
+
name?: string;
|
|
4970
|
+
static names(): {
|
|
4971
|
+
[key: string]: string;
|
|
4972
|
+
};
|
|
4973
|
+
static types(): {
|
|
4974
|
+
[key: string]: any;
|
|
4975
|
+
};
|
|
4976
|
+
constructor(map?: {
|
|
4977
|
+
[key: string]: any;
|
|
4978
|
+
});
|
|
4979
|
+
}
|
|
4913
4980
|
export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
4914
4981
|
category?: string;
|
|
4915
4982
|
encrypted?: string;
|
|
@@ -7208,6 +7275,19 @@ export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.M
|
|
|
7208
7275
|
[key: string]: any;
|
|
7209
7276
|
});
|
|
7210
7277
|
}
|
|
7278
|
+
export declare class RepairClusterNodePoolRequestOperations extends $tea.Model {
|
|
7279
|
+
args?: string[];
|
|
7280
|
+
operationId?: string;
|
|
7281
|
+
static names(): {
|
|
7282
|
+
[key: string]: string;
|
|
7283
|
+
};
|
|
7284
|
+
static types(): {
|
|
7285
|
+
[key: string]: any;
|
|
7286
|
+
};
|
|
7287
|
+
constructor(map?: {
|
|
7288
|
+
[key: string]: any;
|
|
7289
|
+
});
|
|
7290
|
+
}
|
|
7211
7291
|
export declare class ScaleClusterRequestTags extends $tea.Model {
|
|
7212
7292
|
key?: string;
|
|
7213
7293
|
static names(): {
|
|
@@ -7466,6 +7546,24 @@ export default class Client extends OpenApi {
|
|
|
7466
7546
|
* @return CheckControlPlaneLogEnableResponse
|
|
7467
7547
|
*/
|
|
7468
7548
|
checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse>;
|
|
7549
|
+
/**
|
|
7550
|
+
* @summary 检查是否授权指定服务角色
|
|
7551
|
+
*
|
|
7552
|
+
* @param request CheckServiceRoleRequest
|
|
7553
|
+
* @param headers map
|
|
7554
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7555
|
+
* @return CheckServiceRoleResponse
|
|
7556
|
+
*/
|
|
7557
|
+
checkServiceRoleWithOptions(request: CheckServiceRoleRequest, headers: {
|
|
7558
|
+
[key: string]: string;
|
|
7559
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckServiceRoleResponse>;
|
|
7560
|
+
/**
|
|
7561
|
+
* @summary 检查是否授权指定服务角色
|
|
7562
|
+
*
|
|
7563
|
+
* @param request CheckServiceRoleRequest
|
|
7564
|
+
* @return CheckServiceRoleResponse
|
|
7565
|
+
*/
|
|
7566
|
+
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
7469
7567
|
/**
|
|
7470
7568
|
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
7471
7569
|
*
|
|
@@ -7519,7 +7617,7 @@ export default class Client extends OpenApi {
|
|
|
7519
7617
|
*/
|
|
7520
7618
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
7521
7619
|
/**
|
|
7522
|
-
* @summary You can
|
|
7620
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
7523
7621
|
*
|
|
7524
7622
|
* @param request CreateClusterNodePoolRequest
|
|
7525
7623
|
* @param headers map
|
|
@@ -7530,7 +7628,7 @@ export default class Client extends OpenApi {
|
|
|
7530
7628
|
[key: string]: string;
|
|
7531
7629
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
|
|
7532
7630
|
/**
|
|
7533
|
-
* @summary You can
|
|
7631
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
7534
7632
|
*
|
|
7535
7633
|
* @param request CreateClusterNodePoolRequest
|
|
7536
7634
|
* @return CreateClusterNodePoolResponse
|
|
@@ -9475,9 +9573,8 @@ export default class Client extends OpenApi {
|
|
|
9475
9573
|
/**
|
|
9476
9574
|
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
9477
9575
|
*
|
|
9478
|
-
* @description
|
|
9479
|
-
*
|
|
9480
|
-
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
9576
|
+
* @description - You can call this operation only with an Alibaba Cloud account.
|
|
9577
|
+
* - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
9481
9578
|
*
|
|
9482
9579
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
9483
9580
|
* @param headers map
|
|
@@ -9490,9 +9587,8 @@ export default class Client extends OpenApi {
|
|
|
9490
9587
|
/**
|
|
9491
9588
|
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
9492
9589
|
*
|
|
9493
|
-
* @description
|
|
9494
|
-
*
|
|
9495
|
-
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
9590
|
+
* @description - You can call this operation only with an Alibaba Cloud account.
|
|
9591
|
+
* - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
9496
9592
|
*
|
|
9497
9593
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
9498
9594
|
* @return UpdateK8sClusterUserConfigExpireResponse
|
package/dist/client.js
CHANGED
|
@@ -26,16 +26,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = void 0;
|
|
29
|
+
exports.DeleteAlertContactShrinkRequest = exports.DeleteAlertContactRequest = exports.CreateTriggerResponse = exports.CreateTriggerResponseBody = exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = exports.CreateKubernetesTriggerRequest = exports.CreateEdgeMachineResponse = exports.CreateEdgeMachineResponseBody = exports.CreateEdgeMachineRequest = exports.CreateClusterNodePoolResponse = exports.CreateClusterNodePoolResponseBody = exports.CreateClusterNodePoolRequest = exports.CreateClusterResponse = exports.CreateClusterResponseBody = exports.CreateClusterRequest = exports.CreateAutoscalingConfigResponse = exports.CreateAutoscalingConfigRequest = exports.CheckServiceRoleResponse = exports.CheckServiceRoleResponseBody = exports.CheckServiceRoleRequest = exports.CheckControlPlaneLogEnableResponse = exports.CheckControlPlaneLogEnableResponseBody = exports.CancelWorkflowResponse = exports.CancelWorkflowRequest = exports.CancelTaskResponse = exports.CancelOperationPlanResponse = exports.CancelOperationPlanResponseBody = exports.CancelComponentUpgradeResponse = exports.CancelClusterUpgradeResponse = exports.AttachInstancesToNodePoolResponse = exports.AttachInstancesToNodePoolResponseBody = exports.AttachInstancesToNodePoolRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.QuotasValue = exports.StandardComponentsValue = exports.Taint = exports.Tag = exports.Runtime = exports.Nodepool = exports.MaintenanceWindow = exports.KubeletConfig = exports.DataDisk = exports.Addon = void 0;
|
|
30
|
+
exports.DescribeClusterEventsResponse = exports.DescribeClusterEventsResponseBody = exports.DescribeClusterEventsRequest = exports.DescribeClusterDetailResponse = exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = exports.DescribeClusterAddonsUpgradeStatusRequest = exports.DescribeClusterAddonUpgradeStatusResponse = exports.DescribeClusterAddonMetadataResponse = exports.DescribeClusterAddonMetadataResponseBody = exports.DescribeClusterAddonMetadataRequest = exports.DescribeClusterAddonInstanceResponse = exports.DescribeClusterAddonInstanceResponseBody = exports.DescribeAddonsResponse = exports.DescribeAddonsResponseBody = exports.DescribeAddonsRequest = exports.DescribeAddonResponse = exports.DescribeAddonResponseBody = exports.DescribeAddonRequest = exports.DescirbeWorkflowResponse = exports.DescirbeWorkflowResponseBody = exports.DeployPolicyInstanceResponse = exports.DeployPolicyInstanceResponseBody = exports.DeployPolicyInstanceRequest = exports.DeleteTriggerResponse = exports.DeleteTemplateResponse = exports.DeletePolicyInstanceResponse = exports.DeletePolicyInstanceResponseBody = exports.DeletePolicyInstanceRequest = exports.DeleteKubernetesTriggerResponse = exports.DeleteEdgeMachineResponse = exports.DeleteEdgeMachineRequest = exports.DeleteClusterNodesResponse = exports.DeleteClusterNodesResponseBody = exports.DeleteClusterNodesRequest = exports.DeleteClusterNodepoolResponse = exports.DeleteClusterNodepoolResponseBody = exports.DeleteClusterNodepoolRequest = exports.DeleteClusterResponse = exports.DeleteClusterResponseBody = exports.DeleteClusterShrinkRequest = exports.DeleteClusterRequest = exports.DeleteAlertContactGroupResponse = exports.DeleteAlertContactGroupShrinkRequest = exports.DeleteAlertContactGroupRequest = exports.DeleteAlertContactResponse = void 0;
|
|
31
|
+
exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = exports.DescribeNodePoolVulsResponse = exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = exports.DescribeExternalAgentRequest = exports.DescribeEventsResponse = exports.DescribeEventsResponseBody = exports.DescribeEventsRequest = exports.DescribeEdgeMachinesResponse = exports.DescribeEdgeMachinesResponseBody = exports.DescribeEdgeMachinesRequest = exports.DescribeEdgeMachineTunnelConfigDetailResponse = exports.DescribeEdgeMachineTunnelConfigDetailResponseBody = exports.DescribeEdgeMachineModelsResponse = exports.DescribeEdgeMachineModelsResponseBody = exports.DescribeEdgeMachineActiveProcessResponse = exports.DescribeEdgeMachineActiveProcessResponseBody = exports.DescribeClustersV1Response = exports.DescribeClustersV1ResponseBody = exports.DescribeClustersV1Request = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.DescribeClusterVulsResponse = exports.DescribeClusterVulsResponseBody = exports.DescribeClusterV2UserKubeconfigResponse = exports.DescribeClusterV2UserKubeconfigResponseBody = exports.DescribeClusterV2UserKubeconfigRequest = exports.DescribeClusterUserKubeconfigResponse = exports.DescribeClusterUserKubeconfigResponseBody = exports.DescribeClusterUserKubeconfigRequest = exports.DescribeClusterTasksResponse = exports.DescribeClusterTasksResponseBody = exports.DescribeClusterTasksRequest = exports.DescribeClusterResourcesResponse = exports.DescribeClusterResourcesRequest = exports.DescribeClusterNodesResponse = exports.DescribeClusterNodesResponseBody = exports.DescribeClusterNodesRequest = exports.DescribeClusterNodePoolsResponse = exports.DescribeClusterNodePoolsResponseBody = exports.DescribeClusterNodePoolsRequest = exports.DescribeClusterNodePoolDetailResponse = exports.DescribeClusterNodePoolDetailResponseBody = exports.DescribeClusterLogsResponse = void 0;
|
|
32
|
+
exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = exports.GetClusterAddonInstanceResponse = exports.GetClusterAddonInstanceResponseBody = exports.FixNodePoolVulsResponse = exports.FixNodePoolVulsResponseBody = exports.FixNodePoolVulsRequest = exports.EdgeClusterAddEdgeMachineResponse = exports.EdgeClusterAddEdgeMachineResponseBody = exports.EdgeClusterAddEdgeMachineRequest = exports.DescribeWorkflowsResponse = exports.DescribeWorkflowsResponseBody = exports.DescribeUserQuotaResponse = exports.DescribeUserQuotaResponseBody = exports.DescribeUserPermissionResponse = exports.DescribeUserClusterNamespacesResponse = exports.DescribeTriggerResponse = exports.DescribeTriggerRequest = exports.DescribeTemplatesResponse = exports.DescribeTemplatesResponseBody = exports.DescribeTemplatesRequest = exports.DescribeTemplateAttributeResponse = exports.DescribeTemplateAttributeRequest = exports.DescribeTaskInfoResponse = exports.DescribeTaskInfoResponseBody = exports.DescribeSubaccountK8sClusterUserConfigResponse = exports.DescribeSubaccountK8sClusterUserConfigResponseBody = exports.DescribeSubaccountK8sClusterUserConfigRequest = exports.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClusterResponse = exports.DescribePolicyGovernanceInClusterResponseBody = void 0;
|
|
33
|
+
exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveWorkflowResponse = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = exports.RemoveClusterNodesRequest = exports.PauseTaskResponse = exports.PauseComponentUpgradeResponse = exports.PauseClusterUpgradeResponse = exports.OpenAckServiceResponse = exports.OpenAckServiceResponseBody = exports.OpenAckServiceRequest = exports.ModifyPolicyInstanceResponse = exports.ModifyPolicyInstanceResponseBody = exports.ModifyPolicyInstanceRequest = exports.ModifyNodePoolNodeConfigResponse = exports.ModifyNodePoolNodeConfigResponseBody = exports.ModifyNodePoolNodeConfigRequest = exports.ModifyClusterTagsResponse = exports.ModifyClusterTagsRequest = exports.ModifyClusterNodePoolResponse = exports.ModifyClusterNodePoolResponseBody = exports.ModifyClusterNodePoolRequest = exports.ModifyClusterConfigurationResponse = exports.ModifyClusterConfigurationRequest = exports.ModifyClusterAddonResponse = exports.ModifyClusterAddonRequest = exports.ModifyClusterResponse = exports.ModifyClusterResponseBody = exports.ModifyClusterRequest = exports.MigrateClusterResponse = exports.MigrateClusterResponseBody = exports.MigrateClusterRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = void 0;
|
|
34
|
+
exports.NodepoolAutoScaling = exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SyncClusterNodePoolResponse = exports.SyncClusterNodePoolResponseBody = exports.StopAlertResponse = exports.StopAlertResponseBody = exports.StopAlertRequest = exports.StartWorkflowResponse = exports.StartWorkflowResponseBody = exports.StartWorkflowRequest = exports.StartAlertResponse = exports.StartAlertResponseBody = exports.StartAlertRequest = exports.ScanClusterVulsResponse = exports.ScanClusterVulsResponseBody = exports.ScaleOutClusterResponse = exports.ScaleOutClusterResponseBody = exports.ScaleOutClusterRequest = exports.ScaleClusterNodePoolResponse = exports.ScaleClusterNodePoolResponseBody = exports.ScaleClusterNodePoolRequest = exports.ScaleClusterResponse = exports.ScaleClusterResponseBody = exports.ScaleClusterRequest = void 0;
|
|
35
|
+
exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteClusterRequestDeleteOptions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyBody = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.CheckServiceRoleResponseBodyRoles = exports.CheckServiceRoleRequestRoles = exports.AttachInstancesResponseBodyList = exports.NodepoolTeeConfig = exports.NodepoolScalingGroup = exports.NodepoolScalingGroupTags = exports.NodepoolScalingGroupSpotPriceLimit = exports.NodepoolScalingGroupPrivatePoolOptions = exports.NodepoolNodepoolInfo = exports.NodepoolNodeConfig = exports.NodepoolManagement = exports.NodepoolManagementUpgradeConfig = exports.NodepoolManagementAutoVulFixPolicy = exports.NodepoolManagementAutoUpgradePolicy = exports.NodepoolManagementAutoRepairPolicy = exports.NodepoolKubernetesConfig = exports.NodepoolInterconnectConfig = void 0;
|
|
36
|
+
exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling = exports.DescribeClusterNodePoolDetailResponseBodyTeeConfig = exports.DescribeClusterNodePoolDetailResponseBodyStatus = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroup = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolDetailResponseBodyNodepoolInfo = exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagement = exports.DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig = void 0;
|
|
37
|
+
exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = exports.GetClusterAddonInstanceResponseBodyLogging = exports.FixNodePoolVulsRequestRolloutPolicy = exports.DescribeWorkflowsResponseBodyJobs = exports.DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota = exports.DescribeUserPermissionResponseBody = exports.DescribeTriggerResponseBody = exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = exports.DescribePolicyInstancesResponseBody = exports.DescribePolicyGovernanceInClusterResponseBodyViolations = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolations = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyOnState = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLog = void 0;
|
|
38
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = exports.ScaleClusterRequestTags = exports.RepairClusterNodePoolRequestOperations = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyNodePoolNodeConfigRequestOsConfig = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = void 0;
|
|
39
39
|
// This file is auto-generated, don't edit it
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
@@ -625,6 +625,58 @@ class CheckControlPlaneLogEnableResponse extends $tea.Model {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
exports.CheckControlPlaneLogEnableResponse = CheckControlPlaneLogEnableResponse;
|
|
628
|
+
class CheckServiceRoleRequest extends $tea.Model {
|
|
629
|
+
static names() {
|
|
630
|
+
return {
|
|
631
|
+
roles: 'roles',
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
static types() {
|
|
635
|
+
return {
|
|
636
|
+
roles: { 'type': 'array', 'itemType': CheckServiceRoleRequestRoles },
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
constructor(map) {
|
|
640
|
+
super(map);
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
exports.CheckServiceRoleRequest = CheckServiceRoleRequest;
|
|
644
|
+
class CheckServiceRoleResponseBody extends $tea.Model {
|
|
645
|
+
static names() {
|
|
646
|
+
return {
|
|
647
|
+
roles: 'roles',
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
static types() {
|
|
651
|
+
return {
|
|
652
|
+
roles: { 'type': 'array', 'itemType': CheckServiceRoleResponseBodyRoles },
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
constructor(map) {
|
|
656
|
+
super(map);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
exports.CheckServiceRoleResponseBody = CheckServiceRoleResponseBody;
|
|
660
|
+
class CheckServiceRoleResponse extends $tea.Model {
|
|
661
|
+
static names() {
|
|
662
|
+
return {
|
|
663
|
+
headers: 'headers',
|
|
664
|
+
statusCode: 'statusCode',
|
|
665
|
+
body: 'body',
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
static types() {
|
|
669
|
+
return {
|
|
670
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
671
|
+
statusCode: 'number',
|
|
672
|
+
body: CheckServiceRoleResponseBody,
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
constructor(map) {
|
|
676
|
+
super(map);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
exports.CheckServiceRoleResponse = CheckServiceRoleResponse;
|
|
628
680
|
class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
629
681
|
static names() {
|
|
630
682
|
return {
|
|
@@ -5178,12 +5230,14 @@ class RepairClusterNodePoolRequest extends $tea.Model {
|
|
|
5178
5230
|
return {
|
|
5179
5231
|
autoRestart: 'auto_restart',
|
|
5180
5232
|
nodes: 'nodes',
|
|
5233
|
+
operations: 'operations',
|
|
5181
5234
|
};
|
|
5182
5235
|
}
|
|
5183
5236
|
static types() {
|
|
5184
5237
|
return {
|
|
5185
5238
|
autoRestart: 'boolean',
|
|
5186
5239
|
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
5240
|
+
operations: { 'type': 'array', 'itemType': RepairClusterNodePoolRequestOperations },
|
|
5187
5241
|
};
|
|
5188
5242
|
}
|
|
5189
5243
|
constructor(map) {
|
|
@@ -6793,6 +6847,42 @@ class AttachInstancesResponseBodyList extends $tea.Model {
|
|
|
6793
6847
|
}
|
|
6794
6848
|
}
|
|
6795
6849
|
exports.AttachInstancesResponseBodyList = AttachInstancesResponseBodyList;
|
|
6850
|
+
class CheckServiceRoleRequestRoles extends $tea.Model {
|
|
6851
|
+
static names() {
|
|
6852
|
+
return {
|
|
6853
|
+
name: 'name',
|
|
6854
|
+
};
|
|
6855
|
+
}
|
|
6856
|
+
static types() {
|
|
6857
|
+
return {
|
|
6858
|
+
name: 'string',
|
|
6859
|
+
};
|
|
6860
|
+
}
|
|
6861
|
+
constructor(map) {
|
|
6862
|
+
super(map);
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
exports.CheckServiceRoleRequestRoles = CheckServiceRoleRequestRoles;
|
|
6866
|
+
class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
6867
|
+
static names() {
|
|
6868
|
+
return {
|
|
6869
|
+
granted: 'granted',
|
|
6870
|
+
message: 'message',
|
|
6871
|
+
name: 'name',
|
|
6872
|
+
};
|
|
6873
|
+
}
|
|
6874
|
+
static types() {
|
|
6875
|
+
return {
|
|
6876
|
+
granted: 'boolean',
|
|
6877
|
+
message: 'string',
|
|
6878
|
+
name: 'string',
|
|
6879
|
+
};
|
|
6880
|
+
}
|
|
6881
|
+
constructor(map) {
|
|
6882
|
+
super(map);
|
|
6883
|
+
}
|
|
6884
|
+
}
|
|
6885
|
+
exports.CheckServiceRoleResponseBodyRoles = CheckServiceRoleResponseBodyRoles;
|
|
6796
6886
|
class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
6797
6887
|
static names() {
|
|
6798
6888
|
return {
|
|
@@ -10273,6 +10363,24 @@ class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
|
|
|
10273
10363
|
}
|
|
10274
10364
|
}
|
|
10275
10365
|
exports.ModifyNodePoolNodeConfigRequestRollingPolicy = ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
10366
|
+
class RepairClusterNodePoolRequestOperations extends $tea.Model {
|
|
10367
|
+
static names() {
|
|
10368
|
+
return {
|
|
10369
|
+
args: 'args',
|
|
10370
|
+
operationId: 'operation_id',
|
|
10371
|
+
};
|
|
10372
|
+
}
|
|
10373
|
+
static types() {
|
|
10374
|
+
return {
|
|
10375
|
+
args: { 'type': 'array', 'itemType': 'string' },
|
|
10376
|
+
operationId: 'string',
|
|
10377
|
+
};
|
|
10378
|
+
}
|
|
10379
|
+
constructor(map) {
|
|
10380
|
+
super(map);
|
|
10381
|
+
}
|
|
10382
|
+
}
|
|
10383
|
+
exports.RepairClusterNodePoolRequestOperations = RepairClusterNodePoolRequestOperations;
|
|
10276
10384
|
class ScaleClusterRequestTags extends $tea.Model {
|
|
10277
10385
|
static names() {
|
|
10278
10386
|
return {
|
|
@@ -10835,6 +10943,48 @@ class Client extends openapi_client_1.default {
|
|
|
10835
10943
|
let headers = {};
|
|
10836
10944
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
10837
10945
|
}
|
|
10946
|
+
/**
|
|
10947
|
+
* @summary 检查是否授权指定服务角色
|
|
10948
|
+
*
|
|
10949
|
+
* @param request CheckServiceRoleRequest
|
|
10950
|
+
* @param headers map
|
|
10951
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10952
|
+
* @return CheckServiceRoleResponse
|
|
10953
|
+
*/
|
|
10954
|
+
async checkServiceRoleWithOptions(request, headers, runtime) {
|
|
10955
|
+
tea_util_1.default.validateModel(request);
|
|
10956
|
+
let body = {};
|
|
10957
|
+
if (!tea_util_1.default.isUnset(request.roles)) {
|
|
10958
|
+
body["roles"] = request.roles;
|
|
10959
|
+
}
|
|
10960
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10961
|
+
headers: headers,
|
|
10962
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
10963
|
+
});
|
|
10964
|
+
let params = new $OpenApi.Params({
|
|
10965
|
+
action: "CheckServiceRole",
|
|
10966
|
+
version: "2015-12-15",
|
|
10967
|
+
protocol: "HTTPS",
|
|
10968
|
+
pathname: `/ram/check-service-role`,
|
|
10969
|
+
method: "POST",
|
|
10970
|
+
authType: "AK",
|
|
10971
|
+
style: "ROA",
|
|
10972
|
+
reqBodyType: "json",
|
|
10973
|
+
bodyType: "json",
|
|
10974
|
+
});
|
|
10975
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
10976
|
+
}
|
|
10977
|
+
/**
|
|
10978
|
+
* @summary 检查是否授权指定服务角色
|
|
10979
|
+
*
|
|
10980
|
+
* @param request CheckServiceRoleRequest
|
|
10981
|
+
* @return CheckServiceRoleResponse
|
|
10982
|
+
*/
|
|
10983
|
+
async checkServiceRole(request) {
|
|
10984
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10985
|
+
let headers = {};
|
|
10986
|
+
return await this.checkServiceRoleWithOptions(request, headers, runtime);
|
|
10987
|
+
}
|
|
10838
10988
|
/**
|
|
10839
10989
|
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
10840
10990
|
*
|
|
@@ -11245,7 +11395,7 @@ class Client extends openapi_client_1.default {
|
|
|
11245
11395
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
11246
11396
|
}
|
|
11247
11397
|
/**
|
|
11248
|
-
* @summary You can
|
|
11398
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
11249
11399
|
*
|
|
11250
11400
|
* @param request CreateClusterNodePoolRequest
|
|
11251
11401
|
* @param headers map
|
|
@@ -11306,7 +11456,7 @@ class Client extends openapi_client_1.default {
|
|
|
11306
11456
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
11307
11457
|
}
|
|
11308
11458
|
/**
|
|
11309
|
-
* @summary You can
|
|
11459
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
11310
11460
|
*
|
|
11311
11461
|
* @param request CreateClusterNodePoolRequest
|
|
11312
11462
|
* @return CreateClusterNodePoolResponse
|
|
@@ -15269,6 +15419,9 @@ class Client extends openapi_client_1.default {
|
|
|
15269
15419
|
if (!tea_util_1.default.isUnset(request.nodes)) {
|
|
15270
15420
|
body["nodes"] = request.nodes;
|
|
15271
15421
|
}
|
|
15422
|
+
if (!tea_util_1.default.isUnset(request.operations)) {
|
|
15423
|
+
body["operations"] = request.operations;
|
|
15424
|
+
}
|
|
15272
15425
|
let req = new $OpenApi.OpenApiRequest({
|
|
15273
15426
|
headers: headers,
|
|
15274
15427
|
body: openapi_util_1.default.parseToMap(body),
|
|
@@ -16190,9 +16343,8 @@ class Client extends openapi_client_1.default {
|
|
|
16190
16343
|
/**
|
|
16191
16344
|
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
16192
16345
|
*
|
|
16193
|
-
* @description
|
|
16194
|
-
*
|
|
16195
|
-
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16346
|
+
* @description - You can call this operation only with an Alibaba Cloud account.
|
|
16347
|
+
* - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16196
16348
|
*
|
|
16197
16349
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16198
16350
|
* @param headers map
|
|
@@ -16228,9 +16380,8 @@ class Client extends openapi_client_1.default {
|
|
|
16228
16380
|
/**
|
|
16229
16381
|
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
16230
16382
|
*
|
|
16231
|
-
* @description
|
|
16232
|
-
*
|
|
16233
|
-
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16383
|
+
* @description - You can call this operation only with an Alibaba Cloud account.
|
|
16384
|
+
* - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16234
16385
|
*
|
|
16235
16386
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16236
16387
|
* @return UpdateK8sClusterUserConfigExpireResponse
|