@alicloud/cs20151215 4.5.0 → 4.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -8710,13 +8710,40 @@ export class UpgradeClusterAddonsRequest extends $tea.Model {
8710
8710
  }
8711
8711
  }
8712
8712
 
8713
+ export class UpgradeClusterAddonsResponseBody extends $tea.Model {
8714
+ clusterId?: string;
8715
+ requestId?: string;
8716
+ taskId?: string;
8717
+ static names(): { [key: string]: string } {
8718
+ return {
8719
+ clusterId: 'cluster_id',
8720
+ requestId: 'request_id',
8721
+ taskId: 'task_id',
8722
+ };
8723
+ }
8724
+
8725
+ static types(): { [key: string]: any } {
8726
+ return {
8727
+ clusterId: 'string',
8728
+ requestId: 'string',
8729
+ taskId: 'string',
8730
+ };
8731
+ }
8732
+
8733
+ constructor(map?: { [key: string]: any }) {
8734
+ super(map);
8735
+ }
8736
+ }
8737
+
8713
8738
  export class UpgradeClusterAddonsResponse extends $tea.Model {
8714
8739
  headers?: { [key: string]: string };
8715
8740
  statusCode?: number;
8741
+ body?: UpgradeClusterAddonsResponseBody;
8716
8742
  static names(): { [key: string]: string } {
8717
8743
  return {
8718
8744
  headers: 'headers',
8719
8745
  statusCode: 'statusCode',
8746
+ body: 'body',
8720
8747
  };
8721
8748
  }
8722
8749
 
@@ -8724,6 +8751,7 @@ export class UpgradeClusterAddonsResponse extends $tea.Model {
8724
8751
  return {
8725
8752
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8726
8753
  statusCode: 'number',
8754
+ body: UpgradeClusterAddonsResponseBody,
8727
8755
  };
8728
8756
  }
8729
8757
 
@@ -9185,6 +9213,7 @@ export class NodepoolScalingGroup extends $tea.Model {
9185
9213
  periodUnit?: string;
9186
9214
  platform?: string;
9187
9215
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
9216
+ ramRoleName?: string;
9188
9217
  rdsInstances?: string[];
9189
9218
  scalingPolicy?: string;
9190
9219
  securityGroupId?: string;
@@ -9228,6 +9257,7 @@ export class NodepoolScalingGroup extends $tea.Model {
9228
9257
  periodUnit: 'period_unit',
9229
9258
  platform: 'platform',
9230
9259
  privatePoolOptions: 'private_pool_options',
9260
+ ramRoleName: 'ram_role_name',
9231
9261
  rdsInstances: 'rds_instances',
9232
9262
  scalingPolicy: 'scaling_policy',
9233
9263
  securityGroupId: 'security_group_id',
@@ -9274,6 +9304,7 @@ export class NodepoolScalingGroup extends $tea.Model {
9274
9304
  periodUnit: 'string',
9275
9305
  platform: 'string',
9276
9306
  privatePoolOptions: NodepoolScalingGroupPrivatePoolOptions,
9307
+ ramRoleName: 'string',
9277
9308
  rdsInstances: { 'type': 'array', 'itemType': 'string' },
9278
9309
  scalingPolicy: 'string',
9279
9310
  securityGroupId: 'string',
@@ -14863,7 +14894,12 @@ export default class Client extends OpenApi {
14863
14894
  }
14864
14895
 
14865
14896
  /**
14866
- * @summary 清理某个用户在某个集群的证书以及权限
14897
+ * @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
14898
+ *
14899
+ * @description >
14900
+ * * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
14901
+ * * You cannot revoke the permissions of an Alibaba Cloud account.
14902
+ * * You cannot revoke the permissions of the account that you use to call this operation.
14867
14903
  *
14868
14904
  * @param request CleanClusterUserPermissionsRequest
14869
14905
  * @param headers map
@@ -14896,7 +14932,12 @@ export default class Client extends OpenApi {
14896
14932
  }
14897
14933
 
14898
14934
  /**
14899
- * @summary 清理某个用户在某个集群的证书以及权限
14935
+ * @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
14936
+ *
14937
+ * @description >
14938
+ * * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
14939
+ * * You cannot revoke the permissions of an Alibaba Cloud account.
14940
+ * * You cannot revoke the permissions of the account that you use to call this operation.
14900
14941
  *
14901
14942
  * @param request CleanClusterUserPermissionsRequest
14902
14943
  * @return CleanClusterUserPermissionsResponse
@@ -14908,7 +14949,11 @@ export default class Client extends OpenApi {
14908
14949
  }
14909
14950
 
14910
14951
  /**
14911
- * @summary 清除某个用户的证书以及相关RBAC权限
14952
+ * @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
14953
+ *
14954
+ * @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
14955
+ * >- You cannot revoke the permissions of an Alibaba Cloud account.
14956
+ * >- You cannot revoke the permissions of the account that you use to call this operation.
14912
14957
  *
14913
14958
  * @param tmpReq CleanUserPermissionsRequest
14914
14959
  * @param headers map
@@ -14951,7 +14996,11 @@ export default class Client extends OpenApi {
14951
14996
  }
14952
14997
 
14953
14998
  /**
14954
- * @summary 清除某个用户的证书以及相关RBAC权限
14999
+ * @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
15000
+ *
15001
+ * @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
15002
+ * >- You cannot revoke the permissions of an Alibaba Cloud account.
15003
+ * >- You cannot revoke the permissions of the account that you use to call this operation.
14955
15004
  *
14956
15005
  * @param request CleanUserPermissionsRequest
14957
15006
  * @return CleanUserPermissionsResponse
@@ -19109,7 +19158,11 @@ export default class Client extends OpenApi {
19109
19158
  }
19110
19159
 
19111
19160
  /**
19112
- * @summary 获取当前集群已下发的用户Kubeconfig的状态列表
19161
+ * @summary You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
19162
+ *
19163
+ * @description >
19164
+ * * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
19165
+ * * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
19113
19166
  *
19114
19167
  * @param request ListClusterKubeconfigStatesRequest
19115
19168
  * @param headers map
@@ -19146,7 +19199,11 @@ export default class Client extends OpenApi {
19146
19199
  }
19147
19200
 
19148
19201
  /**
19149
- * @summary 获取当前集群已下发的用户Kubeconfig的状态列表
19202
+ * @summary You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
19203
+ *
19204
+ * @description >
19205
+ * * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
19206
+ * * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
19150
19207
  *
19151
19208
  * @param request ListClusterKubeconfigStatesRequest
19152
19209
  * @return ListClusterKubeconfigStatesResponse
@@ -19278,7 +19335,9 @@ export default class Client extends OpenApi {
19278
19335
  }
19279
19336
 
19280
19337
  /**
19281
- * @summary 查询单用户所有集群的证书状态
19338
+ * @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
19339
+ *
19340
+ * @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
19282
19341
  *
19283
19342
  * @param request ListUserKubeConfigStatesRequest
19284
19343
  * @param headers map
@@ -19315,7 +19374,9 @@ export default class Client extends OpenApi {
19315
19374
  }
19316
19375
 
19317
19376
  /**
19318
- * @summary 查询单用户所有集群的证书状态
19377
+ * @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
19378
+ *
19379
+ * @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
19319
19380
  *
19320
19381
  * @param request ListUserKubeConfigStatesRequest
19321
19382
  * @return ListUserKubeConfigStatesResponse
@@ -21145,7 +21206,9 @@ export default class Client extends OpenApi {
21145
21206
  }
21146
21207
 
21147
21208
  /**
21148
- * @summary 更新集群审计日志配置
21209
+ * @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
21210
+ *
21211
+ * @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
21149
21212
  *
21150
21213
  * @param request UpdateClusterAuditLogConfigRequest
21151
21214
  * @param headers map
@@ -21182,7 +21245,9 @@ export default class Client extends OpenApi {
21182
21245
  }
21183
21246
 
21184
21247
  /**
21185
- * @summary 更新集群审计日志配置
21248
+ * @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
21249
+ *
21250
+ * @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
21186
21251
  *
21187
21252
  * @param request UpdateClusterAuditLogConfigRequest
21188
21253
  * @return UpdateClusterAuditLogConfigResponse
@@ -21587,7 +21652,7 @@ export default class Client extends OpenApi {
21587
21652
  authType: "AK",
21588
21653
  style: "ROA",
21589
21654
  reqBodyType: "json",
21590
- bodyType: "none",
21655
+ bodyType: "json",
21591
21656
  });
21592
21657
  return $tea.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
21593
21658
  }