@alicloud/cs20151215 3.3.1 → 3.3.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": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5586,6 +5586,7 @@ export class ModifyClusterRequest extends $tea.Model {
5586
5586
  ingressLoadbalancerId?: string;
5587
5587
  instanceDeletionProtection?: boolean;
5588
5588
  maintenanceWindow?: MaintenanceWindow;
5589
+ operationPolicy?: ModifyClusterRequestOperationPolicy;
5589
5590
  resourceGroupId?: string;
5590
5591
  systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
5591
5592
  static names(): { [key: string]: string } {
@@ -5600,6 +5601,7 @@ export class ModifyClusterRequest extends $tea.Model {
5600
5601
  ingressLoadbalancerId: 'ingress_loadbalancer_id',
5601
5602
  instanceDeletionProtection: 'instance_deletion_protection',
5602
5603
  maintenanceWindow: 'maintenance_window',
5604
+ operationPolicy: 'operation_policy',
5603
5605
  resourceGroupId: 'resource_group_id',
5604
5606
  systemEventsLogging: 'system_events_logging',
5605
5607
  };
@@ -5617,6 +5619,7 @@ export class ModifyClusterRequest extends $tea.Model {
5617
5619
  ingressLoadbalancerId: 'string',
5618
5620
  instanceDeletionProtection: 'boolean',
5619
5621
  maintenanceWindow: MaintenanceWindow,
5622
+ operationPolicy: ModifyClusterRequestOperationPolicy,
5620
5623
  resourceGroupId: 'string',
5621
5624
  systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
5622
5625
  };
@@ -12050,6 +12053,47 @@ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
12050
12053
  }
12051
12054
  }
12052
12055
 
12056
+ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
12057
+ channel?: string;
12058
+ enabled?: boolean;
12059
+ static names(): { [key: string]: string } {
12060
+ return {
12061
+ channel: 'channel',
12062
+ enabled: 'enabled',
12063
+ };
12064
+ }
12065
+
12066
+ static types(): { [key: string]: any } {
12067
+ return {
12068
+ channel: 'string',
12069
+ enabled: 'boolean',
12070
+ };
12071
+ }
12072
+
12073
+ constructor(map?: { [key: string]: any }) {
12074
+ super(map);
12075
+ }
12076
+ }
12077
+
12078
+ export class ModifyClusterRequestOperationPolicy extends $tea.Model {
12079
+ clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
12080
+ static names(): { [key: string]: string } {
12081
+ return {
12082
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
12083
+ };
12084
+ }
12085
+
12086
+ static types(): { [key: string]: any } {
12087
+ return {
12088
+ clusterAutoUpgrade: ModifyClusterRequestOperationPolicyClusterAutoUpgrade,
12089
+ };
12090
+ }
12091
+
12092
+ constructor(map?: { [key: string]: any }) {
12093
+ super(map);
12094
+ }
12095
+ }
12096
+
12053
12097
  export class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
12054
12098
  enabled?: boolean;
12055
12099
  loggingProject?: string;
@@ -16193,6 +16237,10 @@ export default class Client extends OpenApi {
16193
16237
  body["maintenance_window"] = request.maintenanceWindow;
16194
16238
  }
16195
16239
 
16240
+ if (!Util.isUnset(request.operationPolicy)) {
16241
+ body["operation_policy"] = request.operationPolicy;
16242
+ }
16243
+
16196
16244
  if (!Util.isUnset(request.resourceGroupId)) {
16197
16245
  body["resource_group_id"] = request.resourceGroupId;
16198
16246
  }