@alicloud/dds20151201 5.0.0 → 5.0.1

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/dds20151201",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5516,6 +5516,7 @@ export class DescribeSecurityIpsRequest extends $tea.Model {
5516
5516
  ownerId?: number;
5517
5517
  resourceOwnerAccount?: string;
5518
5518
  resourceOwnerId?: number;
5519
+ showHDMIps?: boolean;
5519
5520
  static names(): { [key: string]: string } {
5520
5521
  return {
5521
5522
  DBInstanceId: 'DBInstanceId',
@@ -5523,6 +5524,7 @@ export class DescribeSecurityIpsRequest extends $tea.Model {
5523
5524
  ownerId: 'OwnerId',
5524
5525
  resourceOwnerAccount: 'ResourceOwnerAccount',
5525
5526
  resourceOwnerId: 'ResourceOwnerId',
5527
+ showHDMIps: 'ShowHDMIps',
5526
5528
  };
5527
5529
  }
5528
5530
 
@@ -5533,6 +5535,7 @@ export class DescribeSecurityIpsRequest extends $tea.Model {
5533
5535
  ownerId: 'number',
5534
5536
  resourceOwnerAccount: 'string',
5535
5537
  resourceOwnerId: 'number',
5538
+ showHDMIps: 'boolean',
5536
5539
  };
5537
5540
  }
5538
5541
 
@@ -13682,7 +13685,8 @@ export default class Client extends OpenApi {
13682
13685
  }
13683
13686
 
13684
13687
  /**
13685
- * You can call this operation to check whether an ApsaraDB for MongoDB instance meets the data recovery conditions.
13688
+ * This operation is applicable to replica set instances or sharded cluster instances.
13689
+ * > After you confirm that the data recovery conditions are met by calling this operation, you can call the [CreateDBInstance](~~61763~~) operation to restore data to a new instance.
13686
13690
  *
13687
13691
  * @param request CheckRecoveryConditionRequest
13688
13692
  * @param runtime runtime options for this request RuntimeOptions
@@ -13749,7 +13753,8 @@ export default class Client extends OpenApi {
13749
13753
  }
13750
13754
 
13751
13755
  /**
13752
- * You can call this operation to check whether an ApsaraDB for MongoDB instance meets the data recovery conditions.
13756
+ * This operation is applicable to replica set instances or sharded cluster instances.
13757
+ * > After you confirm that the data recovery conditions are met by calling this operation, you can call the [CreateDBInstance](~~61763~~) operation to restore data to a new instance.
13753
13758
  *
13754
13759
  * @param request CheckRecoveryConditionRequest
13755
13760
  * @return CheckRecoveryConditionResponse
@@ -13759,6 +13764,13 @@ export default class Client extends OpenApi {
13759
13764
  return await this.checkRecoveryConditionWithOptions(request, runtime);
13760
13765
  }
13761
13766
 
13767
+ /**
13768
+ * Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
13769
+ *
13770
+ * @param request CreateAccountRequest
13771
+ * @param runtime runtime options for this request RuntimeOptions
13772
+ * @return CreateAccountResponse
13773
+ */
13762
13774
  async createAccountWithOptions(request: CreateAccountRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccountResponse> {
13763
13775
  Util.validateModel(request);
13764
13776
  let query = { };
@@ -13807,6 +13819,12 @@ export default class Client extends OpenApi {
13807
13819
  return $tea.cast<CreateAccountResponse>(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
13808
13820
  }
13809
13821
 
13822
+ /**
13823
+ * Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
13824
+ *
13825
+ * @param request CreateAccountRequest
13826
+ * @return CreateAccountResponse
13827
+ */
13810
13828
  async createAccount(request: CreateAccountRequest): Promise<CreateAccountResponse> {
13811
13829
  let runtime = new $Util.RuntimeOptions({ });
13812
13830
  return await this.createAccountWithOptions(request, runtime);
@@ -16038,6 +16056,15 @@ export default class Client extends OpenApi {
16038
16056
  return await this.describeDBInstanceSSLWithOptions(request, runtime);
16039
16057
  }
16040
16058
 
16059
+ /**
16060
+ * Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
16061
+ * * The instance is a replica set or sharded cluster instance.
16062
+ * * The instance uses local physical disks to store data.
16063
+ *
16064
+ * @param request DescribeDBInstanceSwitchLogRequest
16065
+ * @param runtime runtime options for this request RuntimeOptions
16066
+ * @return DescribeDBInstanceSwitchLogResponse
16067
+ */
16041
16068
  async describeDBInstanceSwitchLogWithOptions(request: DescribeDBInstanceSwitchLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInstanceSwitchLogResponse> {
16042
16069
  Util.validateModel(request);
16043
16070
  let query = { };
@@ -16082,6 +16109,14 @@ export default class Client extends OpenApi {
16082
16109
  return $tea.cast<DescribeDBInstanceSwitchLogResponse>(await this.callApi(params, req, runtime), new DescribeDBInstanceSwitchLogResponse({}));
16083
16110
  }
16084
16111
 
16112
+ /**
16113
+ * Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
16114
+ * * The instance is a replica set or sharded cluster instance.
16115
+ * * The instance uses local physical disks to store data.
16116
+ *
16117
+ * @param request DescribeDBInstanceSwitchLogRequest
16118
+ * @return DescribeDBInstanceSwitchLogResponse
16119
+ */
16085
16120
  async describeDBInstanceSwitchLog(request: DescribeDBInstanceSwitchLogRequest): Promise<DescribeDBInstanceSwitchLogResponse> {
16086
16121
  let runtime = new $Util.RuntimeOptions({ });
16087
16122
  return await this.describeDBInstanceSwitchLogWithOptions(request, runtime);
@@ -16810,6 +16845,13 @@ export default class Client extends OpenApi {
16810
16845
  return await this.describeKernelReleaseNotesWithOptions(request, runtime);
16811
16846
  }
16812
16847
 
16848
+ /**
16849
+ * Queried keys are available only for disk encryption.
16850
+ *
16851
+ * @param request DescribeKmsKeysRequest
16852
+ * @param runtime runtime options for this request RuntimeOptions
16853
+ * @return DescribeKmsKeysResponse
16854
+ */
16813
16855
  async describeKmsKeysWithOptions(request: DescribeKmsKeysRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKmsKeysResponse> {
16814
16856
  Util.validateModel(request);
16815
16857
  let query = { };
@@ -16846,6 +16888,12 @@ export default class Client extends OpenApi {
16846
16888
  return $tea.cast<DescribeKmsKeysResponse>(await this.callApi(params, req, runtime), new DescribeKmsKeysResponse({}));
16847
16889
  }
16848
16890
 
16891
+ /**
16892
+ * Queried keys are available only for disk encryption.
16893
+ *
16894
+ * @param request DescribeKmsKeysRequest
16895
+ * @return DescribeKmsKeysResponse
16896
+ */
16849
16897
  async describeKmsKeys(request: DescribeKmsKeysRequest): Promise<DescribeKmsKeysResponse> {
16850
16898
  let runtime = new $Util.RuntimeOptions({ });
16851
16899
  return await this.describeKmsKeysWithOptions(request, runtime);
@@ -17577,6 +17625,10 @@ export default class Client extends OpenApi {
17577
17625
  query["ResourceOwnerId"] = request.resourceOwnerId;
17578
17626
  }
17579
17627
 
17628
+ if (!Util.isUnset(request.showHDMIps)) {
17629
+ query["ShowHDMIps"] = request.showHDMIps;
17630
+ }
17631
+
17580
17632
  let req = new $OpenApi.OpenApiRequest({
17581
17633
  query: OpenApiUtil.query(query),
17582
17634
  });
@@ -18308,7 +18360,7 @@ export default class Client extends OpenApi {
18308
18360
 
18309
18361
  /**
18310
18362
  * * The instance must be in the running state when you call this operation.
18311
- * * This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
18363
+ * * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
18312
18364
  * * You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](~~48990~~).
18313
18365
  *
18314
18366
  * @param request ModifyAuditLogFilterRequest
@@ -18365,7 +18417,7 @@ export default class Client extends OpenApi {
18365
18417
 
18366
18418
  /**
18367
18419
  * * The instance must be in the running state when you call this operation.
18368
- * * This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
18420
+ * * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
18369
18421
  * * You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](~~48990~~).
18370
18422
  *
18371
18423
  * @param request ModifyAuditLogFilterRequest
@@ -19412,7 +19464,10 @@ export default class Client extends OpenApi {
19412
19464
  }
19413
19465
 
19414
19466
  /**
19415
- * You can call this operation to enable or disable password-free access from the same VPC as an ApsaraDB for MongoDB instance.
19467
+ * Before you call this operation, make sure that the following requirements are met:
19468
+ * * A replica set or sharded cluster instance is used.
19469
+ * * The database version of the instance is 4.0 (with the minor version of mongodb\\_20190408\\_3.0.11 or later) or 4.2. You can call the [DescribeDBInstanceAttribute](~~62010~~) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](~~67608~~) operation to upgrade the database engine.
19470
+ * * The instance is in a VPC. If the network type is Classic Network, you can call the [ModifyDBInstanceNetworkType](~~62138~~) operation to switch the network type to VPC.
19416
19471
  *
19417
19472
  * @param request ModifyInstanceVpcAuthModeRequest
19418
19473
  * @param runtime runtime options for this request RuntimeOptions
@@ -19467,7 +19522,10 @@ export default class Client extends OpenApi {
19467
19522
  }
19468
19523
 
19469
19524
  /**
19470
- * You can call this operation to enable or disable password-free access from the same VPC as an ApsaraDB for MongoDB instance.
19525
+ * Before you call this operation, make sure that the following requirements are met:
19526
+ * * A replica set or sharded cluster instance is used.
19527
+ * * The database version of the instance is 4.0 (with the minor version of mongodb\\_20190408\\_3.0.11 or later) or 4.2. You can call the [DescribeDBInstanceAttribute](~~62010~~) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](~~67608~~) operation to upgrade the database engine.
19528
+ * * The instance is in a VPC. If the network type is Classic Network, you can call the [ModifyDBInstanceNetworkType](~~62138~~) operation to switch the network type to VPC.
19471
19529
  *
19472
19530
  * @param request ModifyInstanceVpcAuthModeRequest
19473
19531
  * @return ModifyInstanceVpcAuthModeResponse
@@ -19678,7 +19736,7 @@ export default class Client extends OpenApi {
19678
19736
  }
19679
19737
 
19680
19738
  /**
19681
- * ## Precautions
19739
+ * ### Precautions
19682
19740
  * * The instance must be in the Running state when you call this operation.
19683
19741
  * * If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](~~67618~~) operation to query the parameters that take effect only after the instance is restarted.
19684
19742
  *
@@ -19743,7 +19801,7 @@ export default class Client extends OpenApi {
19743
19801
  }
19744
19802
 
19745
19803
  /**
19746
- * ## Precautions
19804
+ * ### Precautions
19747
19805
  * * The instance must be in the Running state when you call this operation.
19748
19806
  * * If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](~~67618~~) operation to query the parameters that take effect only after the instance is restarted.
19749
19807
  *
@@ -19944,6 +20002,13 @@ export default class Client extends OpenApi {
19944
20002
  return await this.modifySecurityIpsWithOptions(request, runtime);
19945
20003
  }
19946
20004
 
20005
+ /**
20006
+ * The actions performed by this operation for a task vary based on the current state of the task. The supported actions for a task can be obtained from the value of the actionInfo parameter in the DescribeHistoryTasks operation.
20007
+ *
20008
+ * @param request ModifyTaskInfoRequest
20009
+ * @param runtime runtime options for this request RuntimeOptions
20010
+ * @return ModifyTaskInfoResponse
20011
+ */
19947
20012
  async modifyTaskInfoWithOptions(request: ModifyTaskInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTaskInfoResponse> {
19948
20013
  Util.validateModel(request);
19949
20014
  let query = { };
@@ -19992,6 +20057,12 @@ export default class Client extends OpenApi {
19992
20057
  return $tea.cast<ModifyTaskInfoResponse>(await this.callApi(params, req, runtime), new ModifyTaskInfoResponse({}));
19993
20058
  }
19994
20059
 
20060
+ /**
20061
+ * The actions performed by this operation for a task vary based on the current state of the task. The supported actions for a task can be obtained from the value of the actionInfo parameter in the DescribeHistoryTasks operation.
20062
+ *
20063
+ * @param request ModifyTaskInfoRequest
20064
+ * @return ModifyTaskInfoResponse
20065
+ */
19995
20066
  async modifyTaskInfo(request: ModifyTaskInfoRequest): Promise<ModifyTaskInfoResponse> {
19996
20067
  let runtime = new $Util.RuntimeOptions({ });
19997
20068
  return await this.modifyTaskInfoWithOptions(request, runtime);