@alicloud/ecd20200930 4.3.0 → 4.4.0
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 +2 -0
- package/dist/client.js +7 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -0
package/dist/client.d.ts
CHANGED
|
@@ -18878,6 +18878,7 @@ export declare class CreateDesktopsRequest extends $dara.Model {
|
|
|
18878
18878
|
*/
|
|
18879
18879
|
regionId?: string;
|
|
18880
18880
|
resourceGroupId?: string;
|
|
18881
|
+
savingPlanId?: string;
|
|
18881
18882
|
snapshotPolicyId?: string;
|
|
18882
18883
|
/**
|
|
18883
18884
|
* @remarks
|
|
@@ -19201,6 +19202,7 @@ export declare class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
19201
19202
|
*/
|
|
19202
19203
|
regionId?: string;
|
|
19203
19204
|
resourceGroupId?: string;
|
|
19205
|
+
savingPlanId?: string;
|
|
19204
19206
|
snapshotPolicyId?: string;
|
|
19205
19207
|
/**
|
|
19206
19208
|
* @remarks
|
package/dist/client.js
CHANGED
|
@@ -9369,6 +9369,7 @@ class CreateDesktopsRequest extends $dara.Model {
|
|
|
9369
9369
|
promotionId: 'PromotionId',
|
|
9370
9370
|
regionId: 'RegionId',
|
|
9371
9371
|
resourceGroupId: 'ResourceGroupId',
|
|
9372
|
+
savingPlanId: 'SavingPlanId',
|
|
9372
9373
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
9373
9374
|
tag: 'Tag',
|
|
9374
9375
|
timerGroupId: 'TimerGroupId',
|
|
@@ -9405,6 +9406,7 @@ class CreateDesktopsRequest extends $dara.Model {
|
|
|
9405
9406
|
promotionId: 'string',
|
|
9406
9407
|
regionId: 'string',
|
|
9407
9408
|
resourceGroupId: 'string',
|
|
9409
|
+
savingPlanId: 'string',
|
|
9408
9410
|
snapshotPolicyId: 'string',
|
|
9409
9411
|
tag: { 'type': 'array', 'itemType': CreateDesktopsRequestTag },
|
|
9410
9412
|
timerGroupId: 'string',
|
|
@@ -9471,6 +9473,7 @@ class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
9471
9473
|
promotionId: 'PromotionId',
|
|
9472
9474
|
regionId: 'RegionId',
|
|
9473
9475
|
resourceGroupId: 'ResourceGroupId',
|
|
9476
|
+
savingPlanId: 'SavingPlanId',
|
|
9474
9477
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
9475
9478
|
tag: 'Tag',
|
|
9476
9479
|
timerGroupId: 'TimerGroupId',
|
|
@@ -9507,6 +9510,7 @@ class CreateDesktopsShrinkRequest extends $dara.Model {
|
|
|
9507
9510
|
promotionId: 'string',
|
|
9508
9511
|
regionId: 'string',
|
|
9509
9512
|
resourceGroupId: 'string',
|
|
9513
|
+
savingPlanId: 'string',
|
|
9510
9514
|
snapshotPolicyId: 'string',
|
|
9511
9515
|
tag: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestTag },
|
|
9512
9516
|
timerGroupId: 'string',
|
|
@@ -27386,6 +27390,9 @@ class Client extends openapi_core_1.default {
|
|
|
27386
27390
|
if (!$dara.isNull(request.resourceGroupId)) {
|
|
27387
27391
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
27388
27392
|
}
|
|
27393
|
+
if (!$dara.isNull(request.savingPlanId)) {
|
|
27394
|
+
query["SavingPlanId"] = request.savingPlanId;
|
|
27395
|
+
}
|
|
27389
27396
|
if (!$dara.isNull(request.snapshotPolicyId)) {
|
|
27390
27397
|
query["SnapshotPolicyId"] = request.snapshotPolicyId;
|
|
27391
27398
|
}
|