@alicloud/cs20151215 4.0.4 → 4.0.5
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 +14 -0
- package/dist/client.js +25 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +29 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5706,6 +5706,7 @@ export class MigrateClusterResponse extends $tea.Model {
|
|
|
5706
5706
|
|
|
5707
5707
|
export class ModifyClusterRequest extends $tea.Model {
|
|
5708
5708
|
accessControlList?: string[];
|
|
5709
|
+
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
5709
5710
|
apiServerEip?: boolean;
|
|
5710
5711
|
apiServerEipId?: string;
|
|
5711
5712
|
clusterName?: string;
|
|
@@ -5721,6 +5722,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5721
5722
|
static names(): { [key: string]: string } {
|
|
5722
5723
|
return {
|
|
5723
5724
|
accessControlList: 'access_control_list',
|
|
5725
|
+
apiServerCustomCertSans: 'api_server_custom_cert_sans',
|
|
5724
5726
|
apiServerEip: 'api_server_eip',
|
|
5725
5727
|
apiServerEipId: 'api_server_eip_id',
|
|
5726
5728
|
clusterName: 'cluster_name',
|
|
@@ -5739,6 +5741,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5739
5741
|
static types(): { [key: string]: any } {
|
|
5740
5742
|
return {
|
|
5741
5743
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
5744
|
+
apiServerCustomCertSans: ModifyClusterRequestApiServerCustomCertSans,
|
|
5742
5745
|
apiServerEip: 'boolean',
|
|
5743
5746
|
apiServerEipId: 'string',
|
|
5744
5747
|
clusterName: 'string',
|
|
@@ -12459,6 +12462,28 @@ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
12459
12462
|
}
|
|
12460
12463
|
}
|
|
12461
12464
|
|
|
12465
|
+
export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
12466
|
+
action?: string;
|
|
12467
|
+
subjectAlternativeNames?: string[];
|
|
12468
|
+
static names(): { [key: string]: string } {
|
|
12469
|
+
return {
|
|
12470
|
+
action: 'action',
|
|
12471
|
+
subjectAlternativeNames: 'subject_alternative_names',
|
|
12472
|
+
};
|
|
12473
|
+
}
|
|
12474
|
+
|
|
12475
|
+
static types(): { [key: string]: any } {
|
|
12476
|
+
return {
|
|
12477
|
+
action: 'string',
|
|
12478
|
+
subjectAlternativeNames: { 'type': 'array', 'itemType': 'string' },
|
|
12479
|
+
};
|
|
12480
|
+
}
|
|
12481
|
+
|
|
12482
|
+
constructor(map?: { [key: string]: any }) {
|
|
12483
|
+
super(map);
|
|
12484
|
+
}
|
|
12485
|
+
}
|
|
12486
|
+
|
|
12462
12487
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
12463
12488
|
channel?: string;
|
|
12464
12489
|
enabled?: boolean;
|
|
@@ -16832,6 +16857,10 @@ export default class Client extends OpenApi {
|
|
|
16832
16857
|
body["access_control_list"] = request.accessControlList;
|
|
16833
16858
|
}
|
|
16834
16859
|
|
|
16860
|
+
if (!Util.isUnset(request.apiServerCustomCertSans)) {
|
|
16861
|
+
body["api_server_custom_cert_sans"] = request.apiServerCustomCertSans;
|
|
16862
|
+
}
|
|
16863
|
+
|
|
16835
16864
|
if (!Util.isUnset(request.apiServerEip)) {
|
|
16836
16865
|
body["api_server_eip"] = request.apiServerEip;
|
|
16837
16866
|
}
|