@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/dist/client.d.ts +73 -8
- package/dist/client.js +77 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +79 -8
package/dist/client.d.ts
CHANGED
|
@@ -2927,6 +2927,7 @@ export declare class DescribeSecurityIpsRequest extends $tea.Model {
|
|
|
2927
2927
|
ownerId?: number;
|
|
2928
2928
|
resourceOwnerAccount?: string;
|
|
2929
2929
|
resourceOwnerId?: number;
|
|
2930
|
+
showHDMIps?: boolean;
|
|
2930
2931
|
static names(): {
|
|
2931
2932
|
[key: string]: string;
|
|
2932
2933
|
};
|
|
@@ -7262,7 +7263,8 @@ export default class Client extends OpenApi {
|
|
|
7262
7263
|
*/
|
|
7263
7264
|
checkCloudResourceAuthorized(request: CheckCloudResourceAuthorizedRequest): Promise<CheckCloudResourceAuthorizedResponse>;
|
|
7264
7265
|
/**
|
|
7265
|
-
*
|
|
7266
|
+
* This operation is applicable to replica set instances or sharded cluster instances.
|
|
7267
|
+
* > 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.
|
|
7266
7268
|
*
|
|
7267
7269
|
* @param request CheckRecoveryConditionRequest
|
|
7268
7270
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7270,13 +7272,27 @@ export default class Client extends OpenApi {
|
|
|
7270
7272
|
*/
|
|
7271
7273
|
checkRecoveryConditionWithOptions(request: CheckRecoveryConditionRequest, runtime: $Util.RuntimeOptions): Promise<CheckRecoveryConditionResponse>;
|
|
7272
7274
|
/**
|
|
7273
|
-
*
|
|
7275
|
+
* This operation is applicable to replica set instances or sharded cluster instances.
|
|
7276
|
+
* > 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.
|
|
7274
7277
|
*
|
|
7275
7278
|
* @param request CheckRecoveryConditionRequest
|
|
7276
7279
|
* @return CheckRecoveryConditionResponse
|
|
7277
7280
|
*/
|
|
7278
7281
|
checkRecoveryCondition(request: CheckRecoveryConditionRequest): Promise<CheckRecoveryConditionResponse>;
|
|
7282
|
+
/**
|
|
7283
|
+
* Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
|
|
7284
|
+
*
|
|
7285
|
+
* @param request CreateAccountRequest
|
|
7286
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7287
|
+
* @return CreateAccountResponse
|
|
7288
|
+
*/
|
|
7279
7289
|
createAccountWithOptions(request: CreateAccountRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccountResponse>;
|
|
7290
|
+
/**
|
|
7291
|
+
* Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
|
|
7292
|
+
*
|
|
7293
|
+
* @param request CreateAccountRequest
|
|
7294
|
+
* @return CreateAccountResponse
|
|
7295
|
+
*/
|
|
7280
7296
|
createAccount(request: CreateAccountRequest): Promise<CreateAccountResponse>;
|
|
7281
7297
|
/**
|
|
7282
7298
|
* ## Usage
|
|
@@ -7617,7 +7633,24 @@ export default class Client extends OpenApi {
|
|
|
7617
7633
|
* @return DescribeDBInstanceSSLResponse
|
|
7618
7634
|
*/
|
|
7619
7635
|
describeDBInstanceSSL(request: DescribeDBInstanceSSLRequest): Promise<DescribeDBInstanceSSLResponse>;
|
|
7636
|
+
/**
|
|
7637
|
+
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
7638
|
+
* * The instance is a replica set or sharded cluster instance.
|
|
7639
|
+
* * The instance uses local physical disks to store data.
|
|
7640
|
+
*
|
|
7641
|
+
* @param request DescribeDBInstanceSwitchLogRequest
|
|
7642
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7643
|
+
* @return DescribeDBInstanceSwitchLogResponse
|
|
7644
|
+
*/
|
|
7620
7645
|
describeDBInstanceSwitchLogWithOptions(request: DescribeDBInstanceSwitchLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInstanceSwitchLogResponse>;
|
|
7646
|
+
/**
|
|
7647
|
+
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
7648
|
+
* * The instance is a replica set or sharded cluster instance.
|
|
7649
|
+
* * The instance uses local physical disks to store data.
|
|
7650
|
+
*
|
|
7651
|
+
* @param request DescribeDBInstanceSwitchLogRequest
|
|
7652
|
+
* @return DescribeDBInstanceSwitchLogResponse
|
|
7653
|
+
*/
|
|
7621
7654
|
describeDBInstanceSwitchLog(request: DescribeDBInstanceSwitchLogRequest): Promise<DescribeDBInstanceSwitchLogResponse>;
|
|
7622
7655
|
/**
|
|
7623
7656
|
* > For more information about this function, see [Configure TDE](~~131048~~).
|
|
@@ -7716,7 +7749,20 @@ export default class Client extends OpenApi {
|
|
|
7716
7749
|
describeInstanceAutoRenewalAttribute(request: DescribeInstanceAutoRenewalAttributeRequest): Promise<DescribeInstanceAutoRenewalAttributeResponse>;
|
|
7717
7750
|
describeKernelReleaseNotesWithOptions(request: DescribeKernelReleaseNotesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKernelReleaseNotesResponse>;
|
|
7718
7751
|
describeKernelReleaseNotes(request: DescribeKernelReleaseNotesRequest): Promise<DescribeKernelReleaseNotesResponse>;
|
|
7752
|
+
/**
|
|
7753
|
+
* Queried keys are available only for disk encryption.
|
|
7754
|
+
*
|
|
7755
|
+
* @param request DescribeKmsKeysRequest
|
|
7756
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7757
|
+
* @return DescribeKmsKeysResponse
|
|
7758
|
+
*/
|
|
7719
7759
|
describeKmsKeysWithOptions(request: DescribeKmsKeysRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKmsKeysResponse>;
|
|
7760
|
+
/**
|
|
7761
|
+
* Queried keys are available only for disk encryption.
|
|
7762
|
+
*
|
|
7763
|
+
* @param request DescribeKmsKeysRequest
|
|
7764
|
+
* @return DescribeKmsKeysResponse
|
|
7765
|
+
*/
|
|
7720
7766
|
describeKmsKeys(request: DescribeKmsKeysRequest): Promise<DescribeKmsKeysResponse>;
|
|
7721
7767
|
/**
|
|
7722
7768
|
* This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
@@ -7961,7 +8007,7 @@ export default class Client extends OpenApi {
|
|
|
7961
8007
|
modifyAccountDescription(request: ModifyAccountDescriptionRequest): Promise<ModifyAccountDescriptionResponse>;
|
|
7962
8008
|
/**
|
|
7963
8009
|
* * The instance must be in the running state when you call this operation.
|
|
7964
|
-
* * This operation is applicable only to **general-purpose local-disk**
|
|
8010
|
+
* * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
7965
8011
|
* * 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~~).
|
|
7966
8012
|
*
|
|
7967
8013
|
* @param request ModifyAuditLogFilterRequest
|
|
@@ -7971,7 +8017,7 @@ export default class Client extends OpenApi {
|
|
|
7971
8017
|
modifyAuditLogFilterWithOptions(request: ModifyAuditLogFilterRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAuditLogFilterResponse>;
|
|
7972
8018
|
/**
|
|
7973
8019
|
* * The instance must be in the running state when you call this operation.
|
|
7974
|
-
* * This operation is applicable only to **general-purpose local-disk**
|
|
8020
|
+
* * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
7975
8021
|
* * 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~~).
|
|
7976
8022
|
*
|
|
7977
8023
|
* @param request ModifyAuditLogFilterRequest
|
|
@@ -8153,7 +8199,10 @@ export default class Client extends OpenApi {
|
|
|
8153
8199
|
*/
|
|
8154
8200
|
modifyInstanceAutoRenewalAttribute(request: ModifyInstanceAutoRenewalAttributeRequest): Promise<ModifyInstanceAutoRenewalAttributeResponse>;
|
|
8155
8201
|
/**
|
|
8156
|
-
*
|
|
8202
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
8203
|
+
* * A replica set or sharded cluster instance is used.
|
|
8204
|
+
* * 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.
|
|
8205
|
+
* * 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.
|
|
8157
8206
|
*
|
|
8158
8207
|
* @param request ModifyInstanceVpcAuthModeRequest
|
|
8159
8208
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8161,7 +8210,10 @@ export default class Client extends OpenApi {
|
|
|
8161
8210
|
*/
|
|
8162
8211
|
modifyInstanceVpcAuthModeWithOptions(request: ModifyInstanceVpcAuthModeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceVpcAuthModeResponse>;
|
|
8163
8212
|
/**
|
|
8164
|
-
*
|
|
8213
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
8214
|
+
* * A replica set or sharded cluster instance is used.
|
|
8215
|
+
* * 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.
|
|
8216
|
+
* * 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.
|
|
8165
8217
|
*
|
|
8166
8218
|
* @param request ModifyInstanceVpcAuthModeRequest
|
|
8167
8219
|
* @return ModifyInstanceVpcAuthModeResponse
|
|
@@ -8202,7 +8254,7 @@ export default class Client extends OpenApi {
|
|
|
8202
8254
|
*/
|
|
8203
8255
|
modifyNodeSpecBatch(request: ModifyNodeSpecBatchRequest): Promise<ModifyNodeSpecBatchResponse>;
|
|
8204
8256
|
/**
|
|
8205
|
-
*
|
|
8257
|
+
* ### Precautions
|
|
8206
8258
|
* * The instance must be in the Running state when you call this operation.
|
|
8207
8259
|
* * 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.
|
|
8208
8260
|
*
|
|
@@ -8212,7 +8264,7 @@ export default class Client extends OpenApi {
|
|
|
8212
8264
|
*/
|
|
8213
8265
|
modifyParametersWithOptions(request: ModifyParametersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyParametersResponse>;
|
|
8214
8266
|
/**
|
|
8215
|
-
*
|
|
8267
|
+
* ### Precautions
|
|
8216
8268
|
* * The instance must be in the Running state when you call this operation.
|
|
8217
8269
|
* * 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.
|
|
8218
8270
|
*
|
|
@@ -8252,7 +8304,20 @@ export default class Client extends OpenApi {
|
|
|
8252
8304
|
modifySecurityGroupConfiguration(request: ModifySecurityGroupConfigurationRequest): Promise<ModifySecurityGroupConfigurationResponse>;
|
|
8253
8305
|
modifySecurityIpsWithOptions(request: ModifySecurityIpsRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityIpsResponse>;
|
|
8254
8306
|
modifySecurityIps(request: ModifySecurityIpsRequest): Promise<ModifySecurityIpsResponse>;
|
|
8307
|
+
/**
|
|
8308
|
+
* 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.
|
|
8309
|
+
*
|
|
8310
|
+
* @param request ModifyTaskInfoRequest
|
|
8311
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8312
|
+
* @return ModifyTaskInfoResponse
|
|
8313
|
+
*/
|
|
8255
8314
|
modifyTaskInfoWithOptions(request: ModifyTaskInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTaskInfoResponse>;
|
|
8315
|
+
/**
|
|
8316
|
+
* 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.
|
|
8317
|
+
*
|
|
8318
|
+
* @param request ModifyTaskInfoRequest
|
|
8319
|
+
* @return ModifyTaskInfoResponse
|
|
8320
|
+
*/
|
|
8256
8321
|
modifyTaskInfo(request: ModifyTaskInfoRequest): Promise<ModifyTaskInfoResponse>;
|
|
8257
8322
|
/**
|
|
8258
8323
|
* * This operation can be used to release the internal endpoint of a shard or Configserver node in a sharded cluster instance. For more information, see [Release the endpoint of a shard or Configserver node](~~134067~~).
|
package/dist/client.js
CHANGED
|
@@ -4268,6 +4268,7 @@ class DescribeSecurityIpsRequest extends $tea.Model {
|
|
|
4268
4268
|
ownerId: 'OwnerId',
|
|
4269
4269
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4270
4270
|
resourceOwnerId: 'ResourceOwnerId',
|
|
4271
|
+
showHDMIps: 'ShowHDMIps',
|
|
4271
4272
|
};
|
|
4272
4273
|
}
|
|
4273
4274
|
static types() {
|
|
@@ -4277,6 +4278,7 @@ class DescribeSecurityIpsRequest extends $tea.Model {
|
|
|
4277
4278
|
ownerId: 'number',
|
|
4278
4279
|
resourceOwnerAccount: 'string',
|
|
4279
4280
|
resourceOwnerId: 'number',
|
|
4281
|
+
showHDMIps: 'boolean',
|
|
4280
4282
|
};
|
|
4281
4283
|
}
|
|
4282
4284
|
}
|
|
@@ -10685,7 +10687,8 @@ class Client extends openapi_client_1.default {
|
|
|
10685
10687
|
return await this.checkCloudResourceAuthorizedWithOptions(request, runtime);
|
|
10686
10688
|
}
|
|
10687
10689
|
/**
|
|
10688
|
-
*
|
|
10690
|
+
* This operation is applicable to replica set instances or sharded cluster instances.
|
|
10691
|
+
* > 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.
|
|
10689
10692
|
*
|
|
10690
10693
|
* @param request CheckRecoveryConditionRequest
|
|
10691
10694
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10741,7 +10744,8 @@ class Client extends openapi_client_1.default {
|
|
|
10741
10744
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckRecoveryConditionResponse({}));
|
|
10742
10745
|
}
|
|
10743
10746
|
/**
|
|
10744
|
-
*
|
|
10747
|
+
* This operation is applicable to replica set instances or sharded cluster instances.
|
|
10748
|
+
* > 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.
|
|
10745
10749
|
*
|
|
10746
10750
|
* @param request CheckRecoveryConditionRequest
|
|
10747
10751
|
* @return CheckRecoveryConditionResponse
|
|
@@ -10750,6 +10754,13 @@ class Client extends openapi_client_1.default {
|
|
|
10750
10754
|
let runtime = new $Util.RuntimeOptions({});
|
|
10751
10755
|
return await this.checkRecoveryConditionWithOptions(request, runtime);
|
|
10752
10756
|
}
|
|
10757
|
+
/**
|
|
10758
|
+
* Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
|
|
10759
|
+
*
|
|
10760
|
+
* @param request CreateAccountRequest
|
|
10761
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10762
|
+
* @return CreateAccountResponse
|
|
10763
|
+
*/
|
|
10753
10764
|
async createAccountWithOptions(request, runtime) {
|
|
10754
10765
|
tea_util_1.default.validateModel(request);
|
|
10755
10766
|
let query = {};
|
|
@@ -10790,6 +10801,12 @@ class Client extends openapi_client_1.default {
|
|
|
10790
10801
|
});
|
|
10791
10802
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
10792
10803
|
}
|
|
10804
|
+
/**
|
|
10805
|
+
* Database accounts can be created only for shards in sharded cluster instances that use cloud disks.
|
|
10806
|
+
*
|
|
10807
|
+
* @param request CreateAccountRequest
|
|
10808
|
+
* @return CreateAccountResponse
|
|
10809
|
+
*/
|
|
10793
10810
|
async createAccount(request) {
|
|
10794
10811
|
let runtime = new $Util.RuntimeOptions({});
|
|
10795
10812
|
return await this.createAccountWithOptions(request, runtime);
|
|
@@ -12657,6 +12674,15 @@ class Client extends openapi_client_1.default {
|
|
|
12657
12674
|
let runtime = new $Util.RuntimeOptions({});
|
|
12658
12675
|
return await this.describeDBInstanceSSLWithOptions(request, runtime);
|
|
12659
12676
|
}
|
|
12677
|
+
/**
|
|
12678
|
+
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
12679
|
+
* * The instance is a replica set or sharded cluster instance.
|
|
12680
|
+
* * The instance uses local physical disks to store data.
|
|
12681
|
+
*
|
|
12682
|
+
* @param request DescribeDBInstanceSwitchLogRequest
|
|
12683
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12684
|
+
* @return DescribeDBInstanceSwitchLogResponse
|
|
12685
|
+
*/
|
|
12660
12686
|
async describeDBInstanceSwitchLogWithOptions(request, runtime) {
|
|
12661
12687
|
tea_util_1.default.validateModel(request);
|
|
12662
12688
|
let query = {};
|
|
@@ -12694,6 +12720,14 @@ class Client extends openapi_client_1.default {
|
|
|
12694
12720
|
});
|
|
12695
12721
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInstanceSwitchLogResponse({}));
|
|
12696
12722
|
}
|
|
12723
|
+
/**
|
|
12724
|
+
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
12725
|
+
* * The instance is a replica set or sharded cluster instance.
|
|
12726
|
+
* * The instance uses local physical disks to store data.
|
|
12727
|
+
*
|
|
12728
|
+
* @param request DescribeDBInstanceSwitchLogRequest
|
|
12729
|
+
* @return DescribeDBInstanceSwitchLogResponse
|
|
12730
|
+
*/
|
|
12697
12731
|
async describeDBInstanceSwitchLog(request) {
|
|
12698
12732
|
let runtime = new $Util.RuntimeOptions({});
|
|
12699
12733
|
return await this.describeDBInstanceSwitchLogWithOptions(request, runtime);
|
|
@@ -13302,6 +13336,13 @@ class Client extends openapi_client_1.default {
|
|
|
13302
13336
|
let runtime = new $Util.RuntimeOptions({});
|
|
13303
13337
|
return await this.describeKernelReleaseNotesWithOptions(request, runtime);
|
|
13304
13338
|
}
|
|
13339
|
+
/**
|
|
13340
|
+
* Queried keys are available only for disk encryption.
|
|
13341
|
+
*
|
|
13342
|
+
* @param request DescribeKmsKeysRequest
|
|
13343
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13344
|
+
* @return DescribeKmsKeysResponse
|
|
13345
|
+
*/
|
|
13305
13346
|
async describeKmsKeysWithOptions(request, runtime) {
|
|
13306
13347
|
tea_util_1.default.validateModel(request);
|
|
13307
13348
|
let query = {};
|
|
@@ -13333,6 +13374,12 @@ class Client extends openapi_client_1.default {
|
|
|
13333
13374
|
});
|
|
13334
13375
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKmsKeysResponse({}));
|
|
13335
13376
|
}
|
|
13377
|
+
/**
|
|
13378
|
+
* Queried keys are available only for disk encryption.
|
|
13379
|
+
*
|
|
13380
|
+
* @param request DescribeKmsKeysRequest
|
|
13381
|
+
* @return DescribeKmsKeysResponse
|
|
13382
|
+
*/
|
|
13336
13383
|
async describeKmsKeys(request) {
|
|
13337
13384
|
let runtime = new $Util.RuntimeOptions({});
|
|
13338
13385
|
return await this.describeKmsKeysWithOptions(request, runtime);
|
|
@@ -13951,6 +13998,9 @@ class Client extends openapi_client_1.default {
|
|
|
13951
13998
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
13952
13999
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
13953
14000
|
}
|
|
14001
|
+
if (!tea_util_1.default.isUnset(request.showHDMIps)) {
|
|
14002
|
+
query["ShowHDMIps"] = request.showHDMIps;
|
|
14003
|
+
}
|
|
13954
14004
|
let req = new $OpenApi.OpenApiRequest({
|
|
13955
14005
|
query: openapi_util_1.default.query(query),
|
|
13956
14006
|
});
|
|
@@ -14573,7 +14623,7 @@ class Client extends openapi_client_1.default {
|
|
|
14573
14623
|
}
|
|
14574
14624
|
/**
|
|
14575
14625
|
* * The instance must be in the running state when you call this operation.
|
|
14576
|
-
* * This operation is applicable only to **general-purpose local-disk**
|
|
14626
|
+
* * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
14577
14627
|
* * 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~~).
|
|
14578
14628
|
*
|
|
14579
14629
|
* @param request ModifyAuditLogFilterRequest
|
|
@@ -14622,7 +14672,7 @@ class Client extends openapi_client_1.default {
|
|
|
14622
14672
|
}
|
|
14623
14673
|
/**
|
|
14624
14674
|
* * The instance must be in the running state when you call this operation.
|
|
14625
|
-
* * This operation is applicable only to **general-purpose local-disk**
|
|
14675
|
+
* * This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
14626
14676
|
* * 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~~).
|
|
14627
14677
|
*
|
|
14628
14678
|
* @param request ModifyAuditLogFilterRequest
|
|
@@ -15509,7 +15559,10 @@ class Client extends openapi_client_1.default {
|
|
|
15509
15559
|
return await this.modifyInstanceAutoRenewalAttributeWithOptions(request, runtime);
|
|
15510
15560
|
}
|
|
15511
15561
|
/**
|
|
15512
|
-
*
|
|
15562
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
15563
|
+
* * A replica set or sharded cluster instance is used.
|
|
15564
|
+
* * 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.
|
|
15565
|
+
* * 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.
|
|
15513
15566
|
*
|
|
15514
15567
|
* @param request ModifyInstanceVpcAuthModeRequest
|
|
15515
15568
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15556,7 +15609,10 @@ class Client extends openapi_client_1.default {
|
|
|
15556
15609
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceVpcAuthModeResponse({}));
|
|
15557
15610
|
}
|
|
15558
15611
|
/**
|
|
15559
|
-
*
|
|
15612
|
+
* Before you call this operation, make sure that the following requirements are met:
|
|
15613
|
+
* * A replica set or sharded cluster instance is used.
|
|
15614
|
+
* * 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.
|
|
15615
|
+
* * 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.
|
|
15560
15616
|
*
|
|
15561
15617
|
* @param request ModifyInstanceVpcAuthModeRequest
|
|
15562
15618
|
* @return ModifyInstanceVpcAuthModeResponse
|
|
@@ -15732,7 +15788,7 @@ class Client extends openapi_client_1.default {
|
|
|
15732
15788
|
return await this.modifyNodeSpecBatchWithOptions(request, runtime);
|
|
15733
15789
|
}
|
|
15734
15790
|
/**
|
|
15735
|
-
*
|
|
15791
|
+
* ### Precautions
|
|
15736
15792
|
* * The instance must be in the Running state when you call this operation.
|
|
15737
15793
|
* * 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.
|
|
15738
15794
|
*
|
|
@@ -15787,7 +15843,7 @@ class Client extends openapi_client_1.default {
|
|
|
15787
15843
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyParametersResponse({}));
|
|
15788
15844
|
}
|
|
15789
15845
|
/**
|
|
15790
|
-
*
|
|
15846
|
+
* ### Precautions
|
|
15791
15847
|
* * The instance must be in the Running state when you call this operation.
|
|
15792
15848
|
* * 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.
|
|
15793
15849
|
*
|
|
@@ -15959,6 +16015,13 @@ class Client extends openapi_client_1.default {
|
|
|
15959
16015
|
let runtime = new $Util.RuntimeOptions({});
|
|
15960
16016
|
return await this.modifySecurityIpsWithOptions(request, runtime);
|
|
15961
16017
|
}
|
|
16018
|
+
/**
|
|
16019
|
+
* 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.
|
|
16020
|
+
*
|
|
16021
|
+
* @param request ModifyTaskInfoRequest
|
|
16022
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16023
|
+
* @return ModifyTaskInfoResponse
|
|
16024
|
+
*/
|
|
15962
16025
|
async modifyTaskInfoWithOptions(request, runtime) {
|
|
15963
16026
|
tea_util_1.default.validateModel(request);
|
|
15964
16027
|
let query = {};
|
|
@@ -15999,6 +16062,12 @@ class Client extends openapi_client_1.default {
|
|
|
15999
16062
|
});
|
|
16000
16063
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTaskInfoResponse({}));
|
|
16001
16064
|
}
|
|
16065
|
+
/**
|
|
16066
|
+
* 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.
|
|
16067
|
+
*
|
|
16068
|
+
* @param request ModifyTaskInfoRequest
|
|
16069
|
+
* @return ModifyTaskInfoResponse
|
|
16070
|
+
*/
|
|
16002
16071
|
async modifyTaskInfo(request) {
|
|
16003
16072
|
let runtime = new $Util.RuntimeOptions({});
|
|
16004
16073
|
return await this.modifyTaskInfoWithOptions(request, runtime);
|