@alicloud/ecs20140526 3.0.7 → 3.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecs20140526",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -19519,6 +19519,7 @@ export class DescribeSecurityGroupsResponse extends $tea.Model {
19519
19519
 
19520
19520
  export class DescribeSendFileResultsRequest extends $tea.Model {
19521
19521
  instanceId?: string;
19522
+ invocationStatus?: string;
19522
19523
  invokeId?: string;
19523
19524
  name?: string;
19524
19525
  ownerAccount?: string;
@@ -19533,6 +19534,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
19533
19534
  static names(): { [key: string]: string } {
19534
19535
  return {
19535
19536
  instanceId: 'InstanceId',
19537
+ invocationStatus: 'InvocationStatus',
19536
19538
  invokeId: 'InvokeId',
19537
19539
  name: 'Name',
19538
19540
  ownerAccount: 'OwnerAccount',
@@ -19550,6 +19552,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
19550
19552
  static types(): { [key: string]: any } {
19551
19553
  return {
19552
19554
  instanceId: 'string',
19555
+ invocationStatus: 'string',
19553
19556
  invokeId: 'string',
19554
19557
  name: 'string',
19555
19558
  ownerAccount: 'string',
@@ -29071,6 +29074,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29071
29074
  ownerId?: number;
29072
29075
  resourceOwnerAccount?: string;
29073
29076
  resourceOwnerId?: number;
29077
+ retentionDays?: number;
29074
29078
  snapshotId?: string;
29075
29079
  snapshotName?: string;
29076
29080
  static names(): { [key: string]: string } {
@@ -29081,6 +29085,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29081
29085
  ownerId: 'OwnerId',
29082
29086
  resourceOwnerAccount: 'ResourceOwnerAccount',
29083
29087
  resourceOwnerId: 'ResourceOwnerId',
29088
+ retentionDays: 'RetentionDays',
29084
29089
  snapshotId: 'SnapshotId',
29085
29090
  snapshotName: 'SnapshotName',
29086
29091
  };
@@ -29094,6 +29099,7 @@ export class ModifySnapshotAttributeRequest extends $tea.Model {
29094
29099
  ownerId: 'number',
29095
29100
  resourceOwnerAccount: 'string',
29096
29101
  resourceOwnerId: 'number',
29102
+ retentionDays: 'number',
29097
29103
  snapshotId: 'string',
29098
29104
  snapshotName: 'string',
29099
29105
  };
@@ -33137,6 +33143,7 @@ export class StartInstancesResponse extends $tea.Model {
33137
33143
  }
33138
33144
 
33139
33145
  export class StartTerminalSessionRequest extends $tea.Model {
33146
+ commandLine?: string;
33140
33147
  instanceId?: string[];
33141
33148
  ownerAccount?: string;
33142
33149
  ownerId?: number;
@@ -33144,8 +33151,10 @@ export class StartTerminalSessionRequest extends $tea.Model {
33144
33151
  regionId?: string;
33145
33152
  resourceOwnerAccount?: string;
33146
33153
  resourceOwnerId?: number;
33154
+ targetServer?: string;
33147
33155
  static names(): { [key: string]: string } {
33148
33156
  return {
33157
+ commandLine: 'CommandLine',
33149
33158
  instanceId: 'InstanceId',
33150
33159
  ownerAccount: 'OwnerAccount',
33151
33160
  ownerId: 'OwnerId',
@@ -33153,11 +33162,13 @@ export class StartTerminalSessionRequest extends $tea.Model {
33153
33162
  regionId: 'RegionId',
33154
33163
  resourceOwnerAccount: 'ResourceOwnerAccount',
33155
33164
  resourceOwnerId: 'ResourceOwnerId',
33165
+ targetServer: 'TargetServer',
33156
33166
  };
33157
33167
  }
33158
33168
 
33159
33169
  static types(): { [key: string]: any } {
33160
33170
  return {
33171
+ commandLine: 'string',
33161
33172
  instanceId: { 'type': 'array', 'itemType': 'string' },
33162
33173
  ownerAccount: 'string',
33163
33174
  ownerId: 'number',
@@ -33165,6 +33176,7 @@ export class StartTerminalSessionRequest extends $tea.Model {
33165
33176
  regionId: 'string',
33166
33177
  resourceOwnerAccount: 'string',
33167
33178
  resourceOwnerId: 'number',
33179
+ targetServer: 'string',
33168
33180
  };
33169
33181
  }
33170
33182
 
@@ -49506,6 +49518,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49506
49518
  }
49507
49519
 
49508
49520
  export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot extends $tea.Model {
49521
+ available?: boolean;
49509
49522
  instantAccess?: boolean;
49510
49523
  instantAccessRetentionDays?: number;
49511
49524
  progress?: string;
@@ -49515,6 +49528,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49515
49528
  tags?: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags;
49516
49529
  static names(): { [key: string]: string } {
49517
49530
  return {
49531
+ available: 'Available',
49518
49532
  instantAccess: 'InstantAccess',
49519
49533
  instantAccessRetentionDays: 'InstantAccessRetentionDays',
49520
49534
  progress: 'Progress',
@@ -49527,6 +49541,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapsh
49527
49541
 
49528
49542
  static types(): { [key: string]: any } {
49529
49543
  return {
49544
+ available: 'boolean',
49530
49545
  instantAccess: 'boolean',
49531
49546
  instantAccessRetentionDays: 'number',
49532
49547
  progress: 'string',
@@ -49912,6 +49927,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshotTags extends $tea.Mod
49912
49927
  }
49913
49928
 
49914
49929
  export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49930
+ available?: boolean;
49915
49931
  category?: string;
49916
49932
  creationTime?: string;
49917
49933
  description?: string;
@@ -49940,6 +49956,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49940
49956
  usage?: string;
49941
49957
  static names(): { [key: string]: string } {
49942
49958
  return {
49959
+ available: 'Available',
49943
49960
  category: 'Category',
49944
49961
  creationTime: 'CreationTime',
49945
49962
  description: 'Description',
@@ -49971,6 +49988,7 @@ export class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
49971
49988
 
49972
49989
  static types(): { [key: string]: any } {
49973
49990
  return {
49991
+ available: 'boolean',
49974
49992
  category: 'string',
49975
49993
  creationTime: 'string',
49976
49994
  description: 'string',
@@ -54445,7 +54463,7 @@ export default class Client extends OpenApi {
54445
54463
  }
54446
54464
 
54447
54465
  /**
54448
- * @deprecated
54466
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
54449
54467
  *
54450
54468
  * @param request AssociateEipAddressRequest
54451
54469
  * @param runtime runtime options for this request RuntimeOptions
@@ -54505,7 +54523,7 @@ export default class Client extends OpenApi {
54505
54523
  }
54506
54524
 
54507
54525
  /**
54508
- * @deprecated
54526
+ * @deprecated : AssociateEipAddress is deprecated, please use Vpc::2016-04-28::AssociateEipAddress instead.
54509
54527
  *
54510
54528
  * @param request AssociateEipAddressRequest
54511
54529
  * @return AssociateEipAddressResponse
@@ -56026,9 +56044,9 @@ export default class Client extends OpenApi {
56026
56044
 
56027
56045
  /**
56028
56046
  * When you call this operation, take note of the following items:
56029
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56030
- * * Encrypted snapshots cannot be copied.
56031
- * * Local snapshots cannot be copied.
56047
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56048
+ * - Encrypted snapshots cannot be copied.
56049
+ * - Local snapshots cannot be copied.
56032
56050
  *
56033
56051
  * @param request CopySnapshotRequest
56034
56052
  * @param runtime runtime options for this request RuntimeOptions
@@ -56116,9 +56134,9 @@ export default class Client extends OpenApi {
56116
56134
 
56117
56135
  /**
56118
56136
  * When you call this operation, take note of the following items:
56119
- * * New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56120
- * * Encrypted snapshots cannot be copied.
56121
- * * Local snapshots cannot be copied.
56137
+ * - New snapshots (copies) cannot be used to roll back disks from which the source snapshots (originals) were created.
56138
+ * - Encrypted snapshots cannot be copied.
56139
+ * - Local snapshots cannot be copied.
56122
56140
  *
56123
56141
  * @param request CopySnapshotRequest
56124
56142
  * @return CopySnapshotResponse
@@ -61849,7 +61867,7 @@ export default class Client extends OpenApi {
61849
61867
  }
61850
61868
 
61851
61869
  /**
61852
- * @deprecated
61870
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
61853
61871
  *
61854
61872
  * @param request DeleteNetworkInterfacePermissionRequest
61855
61873
  * @param runtime runtime options for this request RuntimeOptions
@@ -61909,7 +61927,7 @@ export default class Client extends OpenApi {
61909
61927
  }
61910
61928
 
61911
61929
  /**
61912
- * @deprecated
61930
+ * @deprecated : DeleteNetworkInterfacePermission is deprecated, please use Ecs::2014-05-26::DeleteNetworkInterface instead.
61913
61931
  *
61914
61932
  * @param request DeleteNetworkInterfacePermissionRequest
61915
61933
  * @return DeleteNetworkInterfacePermissionResponse
@@ -70176,6 +70194,10 @@ export default class Client extends OpenApi {
70176
70194
  query["InstanceId"] = request.instanceId;
70177
70195
  }
70178
70196
 
70197
+ if (!Util.isUnset(request.invocationStatus)) {
70198
+ query["InvocationStatus"] = request.invocationStatus;
70199
+ }
70200
+
70179
70201
  if (!Util.isUnset(request.invokeId)) {
70180
70202
  query["InvokeId"] = request.invokeId;
70181
70203
  }
@@ -78492,6 +78514,10 @@ export default class Client extends OpenApi {
78492
78514
  query["ResourceOwnerId"] = request.resourceOwnerId;
78493
78515
  }
78494
78516
 
78517
+ if (!Util.isUnset(request.retentionDays)) {
78518
+ query["RetentionDays"] = request.retentionDays;
78519
+ }
78520
+
78495
78521
  if (!Util.isUnset(request.snapshotId)) {
78496
78522
  query["SnapshotId"] = request.snapshotId;
78497
78523
  }
@@ -82243,6 +82269,10 @@ export default class Client extends OpenApi {
82243
82269
  async startTerminalSessionWithOptions(request: StartTerminalSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartTerminalSessionResponse> {
82244
82270
  Util.validateModel(request);
82245
82271
  let query = { };
82272
+ if (!Util.isUnset(request.commandLine)) {
82273
+ query["CommandLine"] = request.commandLine;
82274
+ }
82275
+
82246
82276
  if (!Util.isUnset(request.instanceId)) {
82247
82277
  query["InstanceId"] = request.instanceId;
82248
82278
  }
@@ -82275,6 +82305,10 @@ export default class Client extends OpenApi {
82275
82305
  query["ResourceOwnerId"] = request.resourceOwnerId;
82276
82306
  }
82277
82307
 
82308
+ if (!Util.isUnset(request.targetServer)) {
82309
+ query["TargetServer"] = request.targetServer;
82310
+ }
82311
+
82278
82312
  let req = new $OpenApi.OpenApiRequest({
82279
82313
  query: OpenApiUtil.query(query),
82280
82314
  });