@alicloud/cs20151215 4.7.2 → 4.7.4
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 +28 -2
- package/dist/client.js +48 -6
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +55 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.11",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -2107,6 +2107,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2107
2107
|
* 1.16.9-aliyun.1
|
|
2108
2108
|
*/
|
|
2109
2109
|
kubernetesVersion?: string;
|
|
2110
|
+
loadBalancerId?: string;
|
|
2110
2111
|
/**
|
|
2111
2112
|
* @remarks
|
|
2112
2113
|
* The specification of the Server Load Balancer (SLB) instance. Valid values:
|
|
@@ -2806,6 +2807,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2806
2807
|
keepInstanceName: 'keep_instance_name',
|
|
2807
2808
|
keyPair: 'key_pair',
|
|
2808
2809
|
kubernetesVersion: 'kubernetes_version',
|
|
2810
|
+
loadBalancerId: 'load_balancer_id',
|
|
2809
2811
|
loadBalancerSpec: 'load_balancer_spec',
|
|
2810
2812
|
loggingType: 'logging_type',
|
|
2811
2813
|
loginPassword: 'login_password',
|
|
@@ -2902,6 +2904,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
2902
2904
|
keepInstanceName: 'boolean',
|
|
2903
2905
|
keyPair: 'string',
|
|
2904
2906
|
kubernetesVersion: 'string',
|
|
2907
|
+
loadBalancerId: 'string',
|
|
2905
2908
|
loadBalancerSpec: 'string',
|
|
2906
2909
|
loggingType: 'string',
|
|
2907
2910
|
loginPassword: 'string',
|
|
@@ -3948,7 +3951,7 @@ export class DeleteAlertContactShrinkRequest extends $tea.Model {
|
|
|
3948
3951
|
export class DeleteAlertContactResponse extends $tea.Model {
|
|
3949
3952
|
headers?: { [key: string]: string };
|
|
3950
3953
|
statusCode?: number;
|
|
3951
|
-
body?: DeleteAlertContactResponseBody
|
|
3954
|
+
body?: DeleteAlertContactResponseBody;
|
|
3952
3955
|
static names(): { [key: string]: string } {
|
|
3953
3956
|
return {
|
|
3954
3957
|
headers: 'headers',
|
|
@@ -3961,7 +3964,7 @@ export class DeleteAlertContactResponse extends $tea.Model {
|
|
|
3961
3964
|
return {
|
|
3962
3965
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3963
3966
|
statusCode: 'number',
|
|
3964
|
-
body:
|
|
3967
|
+
body: DeleteAlertContactResponseBody,
|
|
3965
3968
|
};
|
|
3966
3969
|
}
|
|
3967
3970
|
|
|
@@ -14418,6 +14421,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14418
14421
|
* 1.16.9-aliyun.1
|
|
14419
14422
|
*/
|
|
14420
14423
|
nextVersion?: string;
|
|
14424
|
+
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
14421
14425
|
/**
|
|
14422
14426
|
* @remarks
|
|
14423
14427
|
* This parameter is discontinued. Specify the Kubernetes version by using the next_version parameter.
|
|
@@ -14433,6 +14437,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14433
14437
|
componentName: 'component_name',
|
|
14434
14438
|
masterOnly: 'master_only',
|
|
14435
14439
|
nextVersion: 'next_version',
|
|
14440
|
+
rollingPolicy: 'rolling_policy',
|
|
14436
14441
|
version: 'version',
|
|
14437
14442
|
};
|
|
14438
14443
|
}
|
|
@@ -14442,6 +14447,7 @@ export class UpgradeClusterRequest extends $tea.Model {
|
|
|
14442
14447
|
componentName: 'string',
|
|
14443
14448
|
masterOnly: 'boolean',
|
|
14444
14449
|
nextVersion: 'string',
|
|
14450
|
+
rollingPolicy: UpgradeClusterRequestRollingPolicy,
|
|
14445
14451
|
version: 'string',
|
|
14446
14452
|
};
|
|
14447
14453
|
}
|
|
@@ -17123,7 +17129,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
17123
17129
|
}
|
|
17124
17130
|
}
|
|
17125
17131
|
|
|
17126
|
-
export class
|
|
17132
|
+
export class DeleteAlertContactResponseBodyResult extends $tea.Model {
|
|
17127
17133
|
status?: boolean;
|
|
17128
17134
|
msg?: string;
|
|
17129
17135
|
contactId?: string;
|
|
@@ -17148,6 +17154,25 @@ export class DeleteAlertContactResponseBody extends $tea.Model {
|
|
|
17148
17154
|
}
|
|
17149
17155
|
}
|
|
17150
17156
|
|
|
17157
|
+
export class DeleteAlertContactResponseBody extends $tea.Model {
|
|
17158
|
+
result?: DeleteAlertContactResponseBodyResult[];
|
|
17159
|
+
static names(): { [key: string]: string } {
|
|
17160
|
+
return {
|
|
17161
|
+
result: 'result',
|
|
17162
|
+
};
|
|
17163
|
+
}
|
|
17164
|
+
|
|
17165
|
+
static types(): { [key: string]: any } {
|
|
17166
|
+
return {
|
|
17167
|
+
result: { 'type': 'array', 'itemType': DeleteAlertContactResponseBodyResult },
|
|
17168
|
+
};
|
|
17169
|
+
}
|
|
17170
|
+
|
|
17171
|
+
constructor(map?: { [key: string]: any }) {
|
|
17172
|
+
super(map);
|
|
17173
|
+
}
|
|
17174
|
+
}
|
|
17175
|
+
|
|
17151
17176
|
export class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
17152
17177
|
status?: boolean;
|
|
17153
17178
|
msg?: string;
|
|
@@ -26724,6 +26749,25 @@ export class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
26724
26749
|
}
|
|
26725
26750
|
}
|
|
26726
26751
|
|
|
26752
|
+
export class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
26753
|
+
maxParallelism?: number;
|
|
26754
|
+
static names(): { [key: string]: string } {
|
|
26755
|
+
return {
|
|
26756
|
+
maxParallelism: 'max_parallelism',
|
|
26757
|
+
};
|
|
26758
|
+
}
|
|
26759
|
+
|
|
26760
|
+
static types(): { [key: string]: any } {
|
|
26761
|
+
return {
|
|
26762
|
+
maxParallelism: 'number',
|
|
26763
|
+
};
|
|
26764
|
+
}
|
|
26765
|
+
|
|
26766
|
+
constructor(map?: { [key: string]: any }) {
|
|
26767
|
+
super(map);
|
|
26768
|
+
}
|
|
26769
|
+
}
|
|
26770
|
+
|
|
26727
26771
|
export class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
26728
26772
|
/**
|
|
26729
26773
|
* @remarks
|
|
@@ -27666,6 +27710,10 @@ export default class Client extends OpenApi {
|
|
|
27666
27710
|
body["kubernetes_version"] = request.kubernetesVersion;
|
|
27667
27711
|
}
|
|
27668
27712
|
|
|
27713
|
+
if (!Util.isUnset(request.loadBalancerId)) {
|
|
27714
|
+
body["load_balancer_id"] = request.loadBalancerId;
|
|
27715
|
+
}
|
|
27716
|
+
|
|
27669
27717
|
if (!Util.isUnset(request.loadBalancerSpec)) {
|
|
27670
27718
|
body["load_balancer_spec"] = request.loadBalancerSpec;
|
|
27671
27719
|
}
|
|
@@ -34115,6 +34163,10 @@ export default class Client extends OpenApi {
|
|
|
34115
34163
|
body["next_version"] = request.nextVersion;
|
|
34116
34164
|
}
|
|
34117
34165
|
|
|
34166
|
+
if (!Util.isUnset(request.rollingPolicy)) {
|
|
34167
|
+
body["rolling_policy"] = request.rollingPolicy;
|
|
34168
|
+
}
|
|
34169
|
+
|
|
34118
34170
|
if (!Util.isUnset(request.version)) {
|
|
34119
34171
|
body["version"] = request.version;
|
|
34120
34172
|
}
|