@alicloud/cs20151215 4.7.3 → 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 +15 -2
- package/dist/client.js +27 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +29 -3
package/package.json
CHANGED
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
|
|
|
@@ -17126,7 +17129,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
17126
17129
|
}
|
|
17127
17130
|
}
|
|
17128
17131
|
|
|
17129
|
-
export class
|
|
17132
|
+
export class DeleteAlertContactResponseBodyResult extends $tea.Model {
|
|
17130
17133
|
status?: boolean;
|
|
17131
17134
|
msg?: string;
|
|
17132
17135
|
contactId?: string;
|
|
@@ -17151,6 +17154,25 @@ export class DeleteAlertContactResponseBody extends $tea.Model {
|
|
|
17151
17154
|
}
|
|
17152
17155
|
}
|
|
17153
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
|
+
|
|
17154
17176
|
export class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
17155
17177
|
status?: boolean;
|
|
17156
17178
|
msg?: string;
|
|
@@ -27688,6 +27710,10 @@ export default class Client extends OpenApi {
|
|
|
27688
27710
|
body["kubernetes_version"] = request.kubernetesVersion;
|
|
27689
27711
|
}
|
|
27690
27712
|
|
|
27713
|
+
if (!Util.isUnset(request.loadBalancerId)) {
|
|
27714
|
+
body["load_balancer_id"] = request.loadBalancerId;
|
|
27715
|
+
}
|
|
27716
|
+
|
|
27691
27717
|
if (!Util.isUnset(request.loadBalancerSpec)) {
|
|
27692
27718
|
body["load_balancer_spec"] = request.loadBalancerSpec;
|
|
27693
27719
|
}
|