@alicloud/cs20151215 4.2.1 → 4.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "4.2.1",
3
+ "version": "4.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.8",
24
- "@alicloud/openapi-client": "^0.4.9",
24
+ "@alicloud/openapi-client": "^0.4.10",
25
25
  "@alicloud/openapi-util": "^0.3.2",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
package/src/client.ts CHANGED
@@ -4539,6 +4539,53 @@ export class DescribePolicyInstancesStatusResponse extends $tea.Model {
4539
4539
  }
4540
4540
  }
4541
4541
 
4542
+ export class DescribeResourcesDeleteProtectionRequest extends $tea.Model {
4543
+ namespace?: string;
4544
+ resources?: string;
4545
+ static names(): { [key: string]: string } {
4546
+ return {
4547
+ namespace: 'namespace',
4548
+ resources: 'resources',
4549
+ };
4550
+ }
4551
+
4552
+ static types(): { [key: string]: any } {
4553
+ return {
4554
+ namespace: 'string',
4555
+ resources: 'string',
4556
+ };
4557
+ }
4558
+
4559
+ constructor(map?: { [key: string]: any }) {
4560
+ super(map);
4561
+ }
4562
+ }
4563
+
4564
+ export class DescribeResourcesDeleteProtectionResponse extends $tea.Model {
4565
+ headers?: { [key: string]: string };
4566
+ statusCode?: number;
4567
+ body?: DescribeResourcesDeleteProtectionResponseBody[];
4568
+ static names(): { [key: string]: string } {
4569
+ return {
4570
+ headers: 'headers',
4571
+ statusCode: 'statusCode',
4572
+ body: 'body',
4573
+ };
4574
+ }
4575
+
4576
+ static types(): { [key: string]: any } {
4577
+ return {
4578
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4579
+ statusCode: 'number',
4580
+ body: { 'type': 'array', 'itemType': DescribeResourcesDeleteProtectionResponseBody },
4581
+ };
4582
+ }
4583
+
4584
+ constructor(map?: { [key: string]: any }) {
4585
+ super(map);
4586
+ }
4587
+ }
4588
+
4542
4589
  export class DescribeSubaccountK8sClusterUserConfigRequest extends $tea.Model {
4543
4590
  privateIpAddress?: boolean;
4544
4591
  temporaryDurationMinutes?: number;
@@ -8037,6 +8084,90 @@ export class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
8037
8084
  }
8038
8085
  }
8039
8086
 
8087
+ export class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
8088
+ enable?: boolean;
8089
+ namespace?: string;
8090
+ resourceType?: string;
8091
+ resources?: string[];
8092
+ static names(): { [key: string]: string } {
8093
+ return {
8094
+ enable: 'enable',
8095
+ namespace: 'namespace',
8096
+ resourceType: 'resource_type',
8097
+ resources: 'resources',
8098
+ };
8099
+ }
8100
+
8101
+ static types(): { [key: string]: any } {
8102
+ return {
8103
+ enable: 'boolean',
8104
+ namespace: 'string',
8105
+ resourceType: 'string',
8106
+ resources: { 'type': 'array', 'itemType': 'string' },
8107
+ };
8108
+ }
8109
+
8110
+ constructor(map?: { [key: string]: any }) {
8111
+ super(map);
8112
+ }
8113
+ }
8114
+
8115
+ export class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
8116
+ namespace?: string;
8117
+ protection?: string;
8118
+ requestId?: string;
8119
+ resourceType?: string;
8120
+ resources?: string[];
8121
+ static names(): { [key: string]: string } {
8122
+ return {
8123
+ namespace: 'namespace',
8124
+ protection: 'protection',
8125
+ requestId: 'requestId',
8126
+ resourceType: 'resource_type',
8127
+ resources: 'resources',
8128
+ };
8129
+ }
8130
+
8131
+ static types(): { [key: string]: any } {
8132
+ return {
8133
+ namespace: 'string',
8134
+ protection: 'string',
8135
+ requestId: 'string',
8136
+ resourceType: 'string',
8137
+ resources: { 'type': 'array', 'itemType': 'string' },
8138
+ };
8139
+ }
8140
+
8141
+ constructor(map?: { [key: string]: any }) {
8142
+ super(map);
8143
+ }
8144
+ }
8145
+
8146
+ export class UpdateResourcesDeleteProtectionResponse extends $tea.Model {
8147
+ headers?: { [key: string]: string };
8148
+ statusCode?: number;
8149
+ body?: UpdateResourcesDeleteProtectionResponseBody;
8150
+ static names(): { [key: string]: string } {
8151
+ return {
8152
+ headers: 'headers',
8153
+ statusCode: 'statusCode',
8154
+ body: 'body',
8155
+ };
8156
+ }
8157
+
8158
+ static types(): { [key: string]: any } {
8159
+ return {
8160
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8161
+ statusCode: 'number',
8162
+ body: UpdateResourcesDeleteProtectionResponseBody,
8163
+ };
8164
+ }
8165
+
8166
+ constructor(map?: { [key: string]: any }) {
8167
+ super(map);
8168
+ }
8169
+ }
8170
+
8040
8171
  export class UpdateTemplateRequest extends $tea.Model {
8041
8172
  description?: string;
8042
8173
  name?: string;
@@ -9304,7 +9435,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9304
9435
  imageId?: string;
9305
9436
  imageType?: string;
9306
9437
  instanceChargeType?: string;
9307
- instancePatterns?: InstancePatterns;
9438
+ instancePatterns?: InstancePatterns[];
9308
9439
  instanceTypes?: string[];
9309
9440
  internetChargeType?: string;
9310
9441
  internetMaxBandwidthOut?: number;
@@ -9401,7 +9532,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9401
9532
  imageId: 'string',
9402
9533
  imageType: 'string',
9403
9534
  instanceChargeType: 'string',
9404
- instancePatterns: InstancePatterns,
9535
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
9405
9536
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
9406
9537
  internetChargeType: 'string',
9407
9538
  internetMaxBandwidthOut: 'number',
@@ -10091,7 +10222,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
10091
10222
  imageId?: string;
10092
10223
  imageType?: string;
10093
10224
  instanceChargeType?: string;
10094
- instancePatterns?: InstancePatterns;
10225
+ instancePatterns?: InstancePatterns[];
10095
10226
  instanceTypes?: string[];
10096
10227
  internetChargeType?: string;
10097
10228
  internetMaxBandwidthOut?: number;
@@ -10192,7 +10323,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
10192
10323
  imageId: 'string',
10193
10324
  imageType: 'string',
10194
10325
  instanceChargeType: 'string',
10195
- instancePatterns: InstancePatterns,
10326
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
10196
10327
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10197
10328
  internetChargeType: 'string',
10198
10329
  internetMaxBandwidthOut: 'number',
@@ -10649,7 +10780,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10649
10780
  imageId?: string;
10650
10781
  imageType?: string;
10651
10782
  instanceChargeType?: string;
10652
- instancePatterns?: InstancePatterns;
10783
+ instancePatterns?: InstancePatterns[];
10653
10784
  instanceTypes?: string[];
10654
10785
  internetChargeType?: string;
10655
10786
  internetMaxBandwidthOut?: number;
@@ -10750,7 +10881,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10750
10881
  imageId: 'string',
10751
10882
  imageType: 'string',
10752
10883
  instanceChargeType: 'string',
10753
- instancePatterns: InstancePatterns,
10884
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
10754
10885
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10755
10886
  internetChargeType: 'string',
10756
10887
  internetMaxBandwidthOut: 'number',
@@ -11788,12 +11919,14 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
11788
11919
  cveList?: string[];
11789
11920
  name?: string;
11790
11921
  necessity?: string;
11922
+ needReboot?: boolean;
11791
11923
  static names(): { [key: string]: string } {
11792
11924
  return {
11793
11925
  aliasName: 'alias_name',
11794
11926
  cveList: 'cve_list',
11795
11927
  name: 'name',
11796
11928
  necessity: 'necessity',
11929
+ needReboot: 'need_reboot',
11797
11930
  };
11798
11931
  }
11799
11932
 
@@ -11803,6 +11936,7 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
11803
11936
  cveList: { 'type': 'array', 'itemType': 'string' },
11804
11937
  name: 'string',
11805
11938
  necessity: 'string',
11939
+ needReboot: 'boolean',
11806
11940
  };
11807
11941
  }
11808
11942
 
@@ -12141,6 +12275,34 @@ export class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $t
12141
12275
  }
12142
12276
  }
12143
12277
 
12278
+ export class DescribeResourcesDeleteProtectionResponseBody extends $tea.Model {
12279
+ name?: string;
12280
+ namespace?: string;
12281
+ resource?: string;
12282
+ protection?: boolean;
12283
+ static names(): { [key: string]: string } {
12284
+ return {
12285
+ name: 'name',
12286
+ namespace: 'namespace',
12287
+ resource: 'resource',
12288
+ protection: 'protection',
12289
+ };
12290
+ }
12291
+
12292
+ static types(): { [key: string]: any } {
12293
+ return {
12294
+ name: 'string',
12295
+ namespace: 'string',
12296
+ resource: 'string',
12297
+ protection: 'boolean',
12298
+ };
12299
+ }
12300
+
12301
+ constructor(map?: { [key: string]: any }) {
12302
+ super(map);
12303
+ }
12304
+ }
12305
+
12144
12306
  export class DescribeTaskInfoResponseBodyError extends $tea.Model {
12145
12307
  code?: string;
12146
12308
  message?: string;
@@ -13319,7 +13481,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
13319
13481
  imageId?: string;
13320
13482
  imageType?: string;
13321
13483
  instanceChargeType?: string;
13322
- instancePatterns?: InstancePatterns;
13484
+ instancePatterns?: InstancePatterns[];
13323
13485
  instanceTypes?: string[];
13324
13486
  internetChargeType?: string;
13325
13487
  internetMaxBandwidthOut?: number;
@@ -13402,7 +13564,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
13402
13564
  imageId: 'string',
13403
13565
  imageType: 'string',
13404
13566
  instanceChargeType: 'string',
13405
- instancePatterns: InstancePatterns,
13567
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
13406
13568
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
13407
13569
  internetChargeType: 'string',
13408
13570
  internetMaxBandwidthOut: 'number',
@@ -13977,12 +14139,15 @@ export default class Client extends OpenApi {
13977
14139
  }
13978
14140
 
13979
14141
  /**
14142
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
14143
+ *
13980
14144
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
13981
14145
  *
13982
14146
  * @param headers map
13983
14147
  * @param runtime runtime options for this request RuntimeOptions
13984
14148
  * @return CancelComponentUpgradeResponse
13985
14149
  */
14150
+ // Deprecated
13986
14151
  async cancelComponentUpgradeWithOptions(clusterId: string, componentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse> {
13987
14152
  let req = new $OpenApi.OpenApiRequest({
13988
14153
  headers: headers,
@@ -14002,10 +14167,13 @@ export default class Client extends OpenApi {
14002
14167
  }
14003
14168
 
14004
14169
  /**
14170
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
14171
+ *
14005
14172
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
14006
14173
  *
14007
14174
  * @return CancelComponentUpgradeResponse
14008
14175
  */
14176
+ // Deprecated
14009
14177
  async cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse> {
14010
14178
  let runtime = new $Util.RuntimeOptions({ });
14011
14179
  let headers : {[key: string ]: string} = { };
@@ -17310,6 +17478,55 @@ export default class Client extends OpenApi {
17310
17478
  return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
17311
17479
  }
17312
17480
 
17481
+ /**
17482
+ * @summary 修改资源删除保护配置
17483
+ *
17484
+ * @param request DescribeResourcesDeleteProtectionRequest
17485
+ * @param headers map
17486
+ * @param runtime runtime options for this request RuntimeOptions
17487
+ * @return DescribeResourcesDeleteProtectionResponse
17488
+ */
17489
+ async describeResourcesDeleteProtectionWithOptions(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesDeleteProtectionResponse> {
17490
+ Util.validateModel(request);
17491
+ let query : {[key: string ]: any} = { };
17492
+ if (!Util.isUnset(request.namespace)) {
17493
+ query["namespace"] = request.namespace;
17494
+ }
17495
+
17496
+ if (!Util.isUnset(request.resources)) {
17497
+ query["resources"] = request.resources;
17498
+ }
17499
+
17500
+ let req = new $OpenApi.OpenApiRequest({
17501
+ headers: headers,
17502
+ query: OpenApiUtil.query(query),
17503
+ });
17504
+ let params = new $OpenApi.Params({
17505
+ action: "DescribeResourcesDeleteProtection",
17506
+ version: "2015-12-15",
17507
+ protocol: "HTTPS",
17508
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(ClusterId)}/resources/${OpenApiUtil.getEncodeParam(ResourceType)}/protection`,
17509
+ method: "GET",
17510
+ authType: "AK",
17511
+ style: "ROA",
17512
+ reqBodyType: "json",
17513
+ bodyType: "array",
17514
+ });
17515
+ return $tea.cast<DescribeResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
17516
+ }
17517
+
17518
+ /**
17519
+ * @summary 修改资源删除保护配置
17520
+ *
17521
+ * @param request DescribeResourcesDeleteProtectionRequest
17522
+ * @return DescribeResourcesDeleteProtectionResponse
17523
+ */
17524
+ async describeResourcesDeleteProtection(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest): Promise<DescribeResourcesDeleteProtectionResponse> {
17525
+ let runtime = new $Util.RuntimeOptions({ });
17526
+ let headers : {[key: string ]: string} = { };
17527
+ return await this.describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime);
17528
+ }
17529
+
17313
17530
  /**
17314
17531
  * @summary Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
17315
17532
  *
@@ -18028,12 +18245,15 @@ export default class Client extends OpenApi {
18028
18245
  }
18029
18246
 
18030
18247
  /**
18248
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
18249
+ *
18031
18250
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
18032
18251
  *
18033
18252
  * @param headers map
18034
18253
  * @param runtime runtime options for this request RuntimeOptions
18035
18254
  * @return GetUpgradeStatusResponse
18036
18255
  */
18256
+ // Deprecated
18037
18257
  async getUpgradeStatusWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse> {
18038
18258
  let req = new $OpenApi.OpenApiRequest({
18039
18259
  headers: headers,
@@ -18053,10 +18273,13 @@ export default class Client extends OpenApi {
18053
18273
  }
18054
18274
 
18055
18275
  /**
18276
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
18277
+ *
18056
18278
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
18057
18279
  *
18058
18280
  * @return GetUpgradeStatusResponse
18059
18281
  */
18282
+ // Deprecated
18060
18283
  async getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse> {
18061
18284
  let runtime = new $Util.RuntimeOptions({ });
18062
18285
  let headers : {[key: string ]: string} = { };
@@ -18990,12 +19213,15 @@ export default class Client extends OpenApi {
18990
19213
  }
18991
19214
 
18992
19215
  /**
19216
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
19217
+ *
18993
19218
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
18994
19219
  *
18995
19220
  * @param headers map
18996
19221
  * @param runtime runtime options for this request RuntimeOptions
18997
19222
  * @return PauseComponentUpgradeResponse
18998
19223
  */
19224
+ // Deprecated
18999
19225
  async pauseComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse> {
19000
19226
  let req = new $OpenApi.OpenApiRequest({
19001
19227
  headers: headers,
@@ -19015,10 +19241,13 @@ export default class Client extends OpenApi {
19015
19241
  }
19016
19242
 
19017
19243
  /**
19244
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
19245
+ *
19018
19246
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
19019
19247
  *
19020
19248
  * @return PauseComponentUpgradeResponse
19021
19249
  */
19250
+ // Deprecated
19022
19251
  async pauseComponentUpgrade(clusterid: string, componentid: string): Promise<PauseComponentUpgradeResponse> {
19023
19252
  let runtime = new $Util.RuntimeOptions({ });
19024
19253
  let headers : {[key: string ]: string} = { };
@@ -19307,12 +19536,15 @@ export default class Client extends OpenApi {
19307
19536
  }
19308
19537
 
19309
19538
  /**
19539
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
19540
+ *
19310
19541
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
19311
19542
  *
19312
19543
  * @param headers map
19313
19544
  * @param runtime runtime options for this request RuntimeOptions
19314
19545
  * @return ResumeComponentUpgradeResponse
19315
19546
  */
19547
+ // Deprecated
19316
19548
  async resumeComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse> {
19317
19549
  let req = new $OpenApi.OpenApiRequest({
19318
19550
  headers: headers,
@@ -19332,10 +19564,13 @@ export default class Client extends OpenApi {
19332
19564
  }
19333
19565
 
19334
19566
  /**
19567
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
19568
+ *
19335
19569
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
19336
19570
  *
19337
19571
  * @return ResumeComponentUpgradeResponse
19338
19572
  */
19573
+ // Deprecated
19339
19574
  async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
19340
19575
  let runtime = new $Util.RuntimeOptions({ });
19341
19576
  let headers : {[key: string ]: string} = { };
@@ -20373,6 +20608,63 @@ export default class Client extends OpenApi {
20373
20608
  return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
20374
20609
  }
20375
20610
 
20611
+ /**
20612
+ * @summary 修改资源删除保护配置
20613
+ *
20614
+ * @param request UpdateResourcesDeleteProtectionRequest
20615
+ * @param headers map
20616
+ * @param runtime runtime options for this request RuntimeOptions
20617
+ * @return UpdateResourcesDeleteProtectionResponse
20618
+ */
20619
+ async updateResourcesDeleteProtectionWithOptions(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse> {
20620
+ Util.validateModel(request);
20621
+ let body : {[key: string ]: any} = { };
20622
+ if (!Util.isUnset(request.enable)) {
20623
+ body["enable"] = request.enable;
20624
+ }
20625
+
20626
+ if (!Util.isUnset(request.namespace)) {
20627
+ body["namespace"] = request.namespace;
20628
+ }
20629
+
20630
+ if (!Util.isUnset(request.resourceType)) {
20631
+ body["resource_type"] = request.resourceType;
20632
+ }
20633
+
20634
+ if (!Util.isUnset(request.resources)) {
20635
+ body["resources"] = request.resources;
20636
+ }
20637
+
20638
+ let req = new $OpenApi.OpenApiRequest({
20639
+ headers: headers,
20640
+ body: OpenApiUtil.parseToMap(body),
20641
+ });
20642
+ let params = new $OpenApi.Params({
20643
+ action: "UpdateResourcesDeleteProtection",
20644
+ version: "2015-12-15",
20645
+ protocol: "HTTPS",
20646
+ pathname: `/clusters/${OpenApiUtil.getEncodeParam(ClusterId)}/resources/protection`,
20647
+ method: "PUT",
20648
+ authType: "AK",
20649
+ style: "ROA",
20650
+ reqBodyType: "json",
20651
+ bodyType: "json",
20652
+ });
20653
+ return $tea.cast<UpdateResourcesDeleteProtectionResponse>(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
20654
+ }
20655
+
20656
+ /**
20657
+ * @summary 修改资源删除保护配置
20658
+ *
20659
+ * @param request UpdateResourcesDeleteProtectionRequest
20660
+ * @return UpdateResourcesDeleteProtectionResponse
20661
+ */
20662
+ async updateResourcesDeleteProtection(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest): Promise<UpdateResourcesDeleteProtectionResponse> {
20663
+ let runtime = new $Util.RuntimeOptions({ });
20664
+ let headers : {[key: string ]: string} = { };
20665
+ return await this.updateResourcesDeleteProtectionWithOptions(ClusterId, request, headers, runtime);
20666
+ }
20667
+
20376
20668
  /**
20377
20669
  * @summary Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
20378
20670
  *