@alicloud/ecs20140526 3.0.10 → 3.0.12
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 +4 -0
- package/dist/client.js +14 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +20 -0
package/dist/client.d.ts
CHANGED
|
@@ -2572,6 +2572,7 @@ export declare class CreateKeyPairResponse extends $tea.Model {
|
|
|
2572
2572
|
export declare class CreateLaunchTemplateRequest extends $tea.Model {
|
|
2573
2573
|
systemDisk?: CreateLaunchTemplateRequestSystemDisk;
|
|
2574
2574
|
autoReleaseTime?: string;
|
|
2575
|
+
creditSpecification?: string;
|
|
2575
2576
|
dataDisk?: CreateLaunchTemplateRequestDataDisk[];
|
|
2576
2577
|
deletionProtection?: boolean;
|
|
2577
2578
|
deploymentSetId?: string;
|
|
@@ -2628,6 +2629,7 @@ export declare class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
2628
2629
|
}
|
|
2629
2630
|
export declare class CreateLaunchTemplateResponseBody extends $tea.Model {
|
|
2630
2631
|
launchTemplateId?: string;
|
|
2632
|
+
launchTemplateVersionNumber?: number;
|
|
2631
2633
|
requestId?: string;
|
|
2632
2634
|
static names(): {
|
|
2633
2635
|
[key: string]: string;
|
|
@@ -2658,6 +2660,7 @@ export declare class CreateLaunchTemplateResponse extends $tea.Model {
|
|
|
2658
2660
|
export declare class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
2659
2661
|
systemDisk?: CreateLaunchTemplateVersionRequestSystemDisk;
|
|
2660
2662
|
autoReleaseTime?: string;
|
|
2663
|
+
creditSpecification?: string;
|
|
2661
2664
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
2662
2665
|
deletionProtection?: boolean;
|
|
2663
2666
|
deploymentSetId?: string;
|
|
@@ -24273,6 +24276,7 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
24273
24276
|
export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData extends $tea.Model {
|
|
24274
24277
|
systemDisk?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk;
|
|
24275
24278
|
autoReleaseTime?: string;
|
|
24279
|
+
creditSpecification?: string;
|
|
24276
24280
|
dataDisks?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks;
|
|
24277
24281
|
deletionProtection?: boolean;
|
|
24278
24282
|
deploymentSetId?: string;
|
package/dist/client.js
CHANGED
|
@@ -3785,6 +3785,7 @@ class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
3785
3785
|
return {
|
|
3786
3786
|
systemDisk: 'SystemDisk',
|
|
3787
3787
|
autoReleaseTime: 'AutoReleaseTime',
|
|
3788
|
+
creditSpecification: 'CreditSpecification',
|
|
3788
3789
|
dataDisk: 'DataDisk',
|
|
3789
3790
|
deletionProtection: 'DeletionProtection',
|
|
3790
3791
|
deploymentSetId: 'DeploymentSetId',
|
|
@@ -3835,6 +3836,7 @@ class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
3835
3836
|
return {
|
|
3836
3837
|
systemDisk: CreateLaunchTemplateRequestSystemDisk,
|
|
3837
3838
|
autoReleaseTime: 'string',
|
|
3839
|
+
creditSpecification: 'string',
|
|
3838
3840
|
dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateRequestDataDisk },
|
|
3839
3841
|
deletionProtection: 'boolean',
|
|
3840
3842
|
deploymentSetId: 'string',
|
|
@@ -3890,12 +3892,14 @@ class CreateLaunchTemplateResponseBody extends $tea.Model {
|
|
|
3890
3892
|
static names() {
|
|
3891
3893
|
return {
|
|
3892
3894
|
launchTemplateId: 'LaunchTemplateId',
|
|
3895
|
+
launchTemplateVersionNumber: 'LaunchTemplateVersionNumber',
|
|
3893
3896
|
requestId: 'RequestId',
|
|
3894
3897
|
};
|
|
3895
3898
|
}
|
|
3896
3899
|
static types() {
|
|
3897
3900
|
return {
|
|
3898
3901
|
launchTemplateId: 'string',
|
|
3902
|
+
launchTemplateVersionNumber: 'number',
|
|
3899
3903
|
requestId: 'string',
|
|
3900
3904
|
};
|
|
3901
3905
|
}
|
|
@@ -3929,6 +3933,7 @@ class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
3929
3933
|
return {
|
|
3930
3934
|
systemDisk: 'SystemDisk',
|
|
3931
3935
|
autoReleaseTime: 'AutoReleaseTime',
|
|
3936
|
+
creditSpecification: 'CreditSpecification',
|
|
3932
3937
|
dataDisk: 'DataDisk',
|
|
3933
3938
|
deletionProtection: 'DeletionProtection',
|
|
3934
3939
|
deploymentSetId: 'DeploymentSetId',
|
|
@@ -3978,6 +3983,7 @@ class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
3978
3983
|
return {
|
|
3979
3984
|
systemDisk: CreateLaunchTemplateVersionRequestSystemDisk,
|
|
3980
3985
|
autoReleaseTime: 'string',
|
|
3986
|
+
creditSpecification: 'string',
|
|
3981
3987
|
dataDisk: { 'type': 'array', 'itemType': CreateLaunchTemplateVersionRequestDataDisk },
|
|
3982
3988
|
deletionProtection: 'boolean',
|
|
3983
3989
|
deploymentSetId: 'string',
|
|
@@ -35403,6 +35409,7 @@ class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchT
|
|
|
35403
35409
|
return {
|
|
35404
35410
|
systemDisk: 'SystemDisk',
|
|
35405
35411
|
autoReleaseTime: 'AutoReleaseTime',
|
|
35412
|
+
creditSpecification: 'CreditSpecification',
|
|
35406
35413
|
dataDisks: 'DataDisks',
|
|
35407
35414
|
deletionProtection: 'DeletionProtection',
|
|
35408
35415
|
deploymentSetId: 'DeploymentSetId',
|
|
@@ -35444,6 +35451,7 @@ class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchT
|
|
|
35444
35451
|
return {
|
|
35445
35452
|
systemDisk: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSystemDisk,
|
|
35446
35453
|
autoReleaseTime: 'string',
|
|
35454
|
+
creditSpecification: 'string',
|
|
35447
35455
|
dataDisks: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisks,
|
|
35448
35456
|
deletionProtection: 'boolean',
|
|
35449
35457
|
deploymentSetId: 'string',
|
|
@@ -45751,6 +45759,9 @@ class Client extends openapi_client_1.default {
|
|
|
45751
45759
|
if (!tea_util_1.default.isUnset(request.autoReleaseTime)) {
|
|
45752
45760
|
query["AutoReleaseTime"] = request.autoReleaseTime;
|
|
45753
45761
|
}
|
|
45762
|
+
if (!tea_util_1.default.isUnset(request.creditSpecification)) {
|
|
45763
|
+
query["CreditSpecification"] = request.creditSpecification;
|
|
45764
|
+
}
|
|
45754
45765
|
if (!tea_util_1.default.isUnset(request.dataDisk)) {
|
|
45755
45766
|
query["DataDisk"] = request.dataDisk;
|
|
45756
45767
|
}
|
|
@@ -45934,6 +45945,9 @@ class Client extends openapi_client_1.default {
|
|
|
45934
45945
|
if (!tea_util_1.default.isUnset(request.autoReleaseTime)) {
|
|
45935
45946
|
query["AutoReleaseTime"] = request.autoReleaseTime;
|
|
45936
45947
|
}
|
|
45948
|
+
if (!tea_util_1.default.isUnset(request.creditSpecification)) {
|
|
45949
|
+
query["CreditSpecification"] = request.creditSpecification;
|
|
45950
|
+
}
|
|
45937
45951
|
if (!tea_util_1.default.isUnset(request.dataDisk)) {
|
|
45938
45952
|
query["DataDisk"] = request.dataDisk;
|
|
45939
45953
|
}
|