@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/dist/client.d.ts +26 -0
- package/dist/client.js +39 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +48 -0
package/dist/client.d.ts
CHANGED
|
@@ -3208,6 +3208,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
3208
3208
|
ingressLoadbalancerId?: string;
|
|
3209
3209
|
instanceDeletionProtection?: boolean;
|
|
3210
3210
|
maintenanceWindow?: MaintenanceWindow;
|
|
3211
|
+
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
3211
3212
|
resourceGroupId?: string;
|
|
3212
3213
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
3213
3214
|
static names(): {
|
|
@@ -6635,6 +6636,31 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
|
|
|
6635
6636
|
[key: string]: any;
|
|
6636
6637
|
});
|
|
6637
6638
|
}
|
|
6639
|
+
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
6640
|
+
channel?: string;
|
|
6641
|
+
enabled?: boolean;
|
|
6642
|
+
static names(): {
|
|
6643
|
+
[key: string]: string;
|
|
6644
|
+
};
|
|
6645
|
+
static types(): {
|
|
6646
|
+
[key: string]: any;
|
|
6647
|
+
};
|
|
6648
|
+
constructor(map?: {
|
|
6649
|
+
[key: string]: any;
|
|
6650
|
+
});
|
|
6651
|
+
}
|
|
6652
|
+
export declare class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
6653
|
+
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
6654
|
+
static names(): {
|
|
6655
|
+
[key: string]: string;
|
|
6656
|
+
};
|
|
6657
|
+
static types(): {
|
|
6658
|
+
[key: string]: any;
|
|
6659
|
+
};
|
|
6660
|
+
constructor(map?: {
|
|
6661
|
+
[key: string]: any;
|
|
6662
|
+
});
|
|
6663
|
+
}
|
|
6638
6664
|
export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
6639
6665
|
enabled?: boolean;
|
|
6640
6666
|
loggingProject?: string;
|
package/dist/client.js
CHANGED
|
@@ -4413,6 +4413,7 @@ class ModifyClusterRequest extends $tea.Model {
|
|
|
4413
4413
|
ingressLoadbalancerId: 'ingress_loadbalancer_id',
|
|
4414
4414
|
instanceDeletionProtection: 'instance_deletion_protection',
|
|
4415
4415
|
maintenanceWindow: 'maintenance_window',
|
|
4416
|
+
operationPolicy: 'operation_policy',
|
|
4416
4417
|
resourceGroupId: 'resource_group_id',
|
|
4417
4418
|
systemEventsLogging: 'system_events_logging',
|
|
4418
4419
|
};
|
|
@@ -4429,6 +4430,7 @@ class ModifyClusterRequest extends $tea.Model {
|
|
|
4429
4430
|
ingressLoadbalancerId: 'string',
|
|
4430
4431
|
instanceDeletionProtection: 'boolean',
|
|
4431
4432
|
maintenanceWindow: MaintenanceWindow,
|
|
4433
|
+
operationPolicy: ModifyClusterRequestOperationPolicy,
|
|
4432
4434
|
resourceGroupId: 'string',
|
|
4433
4435
|
systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
|
|
4434
4436
|
};
|
|
@@ -9417,6 +9419,40 @@ class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
9417
9419
|
}
|
|
9418
9420
|
}
|
|
9419
9421
|
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
9422
|
+
class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
9423
|
+
constructor(map) {
|
|
9424
|
+
super(map);
|
|
9425
|
+
}
|
|
9426
|
+
static names() {
|
|
9427
|
+
return {
|
|
9428
|
+
channel: 'channel',
|
|
9429
|
+
enabled: 'enabled',
|
|
9430
|
+
};
|
|
9431
|
+
}
|
|
9432
|
+
static types() {
|
|
9433
|
+
return {
|
|
9434
|
+
channel: 'string',
|
|
9435
|
+
enabled: 'boolean',
|
|
9436
|
+
};
|
|
9437
|
+
}
|
|
9438
|
+
}
|
|
9439
|
+
exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
9440
|
+
class ModifyClusterRequestOperationPolicy extends $tea.Model {
|
|
9441
|
+
constructor(map) {
|
|
9442
|
+
super(map);
|
|
9443
|
+
}
|
|
9444
|
+
static names() {
|
|
9445
|
+
return {
|
|
9446
|
+
clusterAutoUpgrade: 'cluster_auto_upgrade',
|
|
9447
|
+
};
|
|
9448
|
+
}
|
|
9449
|
+
static types() {
|
|
9450
|
+
return {
|
|
9451
|
+
clusterAutoUpgrade: ModifyClusterRequestOperationPolicyClusterAutoUpgrade,
|
|
9452
|
+
};
|
|
9453
|
+
}
|
|
9454
|
+
}
|
|
9455
|
+
exports.ModifyClusterRequestOperationPolicy = ModifyClusterRequestOperationPolicy;
|
|
9420
9456
|
class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
9421
9457
|
constructor(map) {
|
|
9422
9458
|
super(map);
|
|
@@ -12967,6 +13003,9 @@ class Client extends openapi_client_1.default {
|
|
|
12967
13003
|
if (!tea_util_1.default.isUnset(request.maintenanceWindow)) {
|
|
12968
13004
|
body["maintenance_window"] = request.maintenanceWindow;
|
|
12969
13005
|
}
|
|
13006
|
+
if (!tea_util_1.default.isUnset(request.operationPolicy)) {
|
|
13007
|
+
body["operation_policy"] = request.operationPolicy;
|
|
13008
|
+
}
|
|
12970
13009
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
12971
13010
|
body["resource_group_id"] = request.resourceGroupId;
|
|
12972
13011
|
}
|