@alicloud/dds20151201 8.3.0 → 8.4.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 +561 -428
- package/dist/client.js +674 -430
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateDbinstanceSrvNetworkAddressRequest.d.ts +16 -0
- package/dist/models/AllocateDbinstanceSrvNetworkAddressRequest.js.map +1 -1
- package/dist/models/AllocateDbinstanceSrvNetworkAddressResponseBody.d.ts +3 -0
- package/dist/models/AllocateDbinstanceSrvNetworkAddressResponseBody.js.map +1 -1
- package/dist/models/AllocateNodePrivateNetworkAddressRequest.d.ts +8 -7
- package/dist/models/AllocateNodePrivateNetworkAddressRequest.js.map +1 -1
- package/dist/models/CancelActiveOperationTasksRequest.d.ts +5 -0
- package/dist/models/CancelActiveOperationTasksRequest.js.map +1 -1
- package/dist/models/CancelActiveOperationTasksResponseBody.d.ts +6 -0
- package/dist/models/CancelActiveOperationTasksResponseBody.js.map +1 -1
- package/dist/models/CheckCloudResourceAuthorizedResponseBody.d.ts +6 -4
- package/dist/models/CheckCloudResourceAuthorizedResponseBody.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +6 -4
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateBackupRequest.d.ts +22 -4
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +6 -1
- package/dist/models/CreateBackupResponseBody.js.map +1 -1
- package/dist/models/CreateDbinstanceRequest.d.ts +212 -139
- package/dist/models/CreateDbinstanceRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceResponseBody.d.ts +3 -3
- package/dist/models/CreateGlobalSecurityIpgroupRequest.d.ts +5 -3
- package/dist/models/CreateGlobalSecurityIpgroupRequest.js.map +1 -1
- package/dist/models/CreateGlobalSecurityIpgroupResponseBody.d.ts +5 -3
- package/dist/models/CreateGlobalSecurityIpgroupResponseBody.js.map +1 -1
- package/dist/models/CreateNodeBatchRequest.d.ts +24 -8
- package/dist/models/CreateNodeBatchRequest.js.map +1 -1
- package/dist/models/CreateNodeRequest.d.ts +59 -34
- package/dist/models/CreateNodeRequest.js +6 -0
- package/dist/models/CreateNodeRequest.js.map +1 -1
- package/dist/models/CreateNodeRoleTagRequest.d.ts +7 -0
- package/dist/models/CreateNodeRoleTagRequest.js.map +1 -1
- package/dist/models/CreateNodeRoleTagResponseBody.d.ts +3 -0
- package/dist/models/CreateNodeRoleTagResponseBody.js.map +1 -1
- package/dist/models/CreateShardingDbinstanceRequest.d.ts +205 -157
- package/dist/models/CreateShardingDbinstanceRequest.js.map +1 -1
- package/dist/models/DeleteBackupRequest.d.ts +4 -0
- package/dist/models/DeleteBackupRequest.js.map +1 -1
- package/dist/models/DeleteBackupResponseBody.d.ts +3 -0
- package/dist/models/DeleteBackupResponseBody.js.map +1 -1
- package/dist/models/DeleteDbinstanceRequest.d.ts +1 -1
- package/dist/models/DeleteGlobalSecurityIpgroupRequest.d.ts +8 -6
- package/dist/models/DeleteGlobalSecurityIpgroupRequest.js.map +1 -1
- package/dist/models/DeleteGlobalSecurityIpgroupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +0 -48
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveOperationMaintenanceConfigResponseBody.d.ts +30 -17
- package/dist/models/DescribeActiveOperationMaintenanceConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskCountResponseBody.d.ts +3 -2
- package/dist/models/DescribeActiveOperationTaskCountResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskRegionRequest.d.ts +10 -8
- package/dist/models/DescribeActiveOperationTaskRegionRequest.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskRegionResponseBody.d.ts +3 -3
- package/dist/models/DescribeActiveOperationTaskRequest.d.ts +4 -1
- package/dist/models/DescribeActiveOperationTaskRequest.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskResponseBody.d.ts +8 -0
- package/dist/models/DescribeActiveOperationTaskResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskTypeRequest.d.ts +3 -2
- package/dist/models/DescribeActiveOperationTaskTypeRequest.js.map +1 -1
- package/dist/models/DescribeActiveOperationTaskTypeResponseBody.d.ts +4 -3
- package/dist/models/DescribeActiveOperationTaskTypeResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveOperationTasksRequest.d.ts +55 -30
- package/dist/models/DescribeActiveOperationTasksRequest.js.map +1 -1
- package/dist/models/DescribeActiveOperationTasksResponseBody.d.ts +92 -56
- package/dist/models/DescribeActiveOperationTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeAuditLogFilterRequest.d.ts +5 -3
- package/dist/models/DescribeAuditLogFilterRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogFilterResponseBody.d.ts +13 -7
- package/dist/models/DescribeAuditLogFilterResponseBody.js.map +1 -1
- package/dist/models/DescribeAuditPolicyResponseBody.d.ts +5 -4
- package/dist/models/DescribeAuditPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeAuditRecordsRequest.d.ts +21 -20
- package/dist/models/DescribeAuditRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditRecordsResponseBody.d.ts +3 -70
- package/dist/models/DescribeAuditRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailabilityZonesRequest.d.ts +36 -23
- package/dist/models/DescribeAvailabilityZonesRequest.js.map +1 -1
- package/dist/models/DescribeAvailabilityZonesResponseBody.d.ts +3 -2
- package/dist/models/DescribeAvailabilityZonesResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableEngineVersionResponseBody.d.ts +0 -6
- package/dist/models/DescribeAvailableEngineVersionResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +15 -9
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -115
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupDbsRequest.d.ts +4 -4
- package/dist/models/DescribeBackupDbsResponseBody.d.ts +0 -11
- package/dist/models/DescribeBackupDbsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupPolicyRequest.d.ts +5 -4
- package/dist/models/DescribeBackupPolicyRequest.js.map +1 -1
- package/dist/models/DescribeBackupPolicyResponseBody.d.ts +99 -56
- package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupStorageRequest.d.ts +2 -2
- package/dist/models/DescribeBackupStorageResponseBody.d.ts +4 -4
- package/dist/models/DescribeBackupTasksRequest.d.ts +2 -2
- package/dist/models/DescribeBackupTasksResponseBody.d.ts +15 -11
- package/dist/models/DescribeBackupTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +30 -17
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +8 -140
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBinlogFilesRequest.d.ts +117 -0
- package/dist/models/DescribeBinlogFilesRequest.js +86 -0
- package/dist/models/DescribeBinlogFilesRequest.js.map +1 -0
- package/dist/models/DescribeBinlogFilesResponse.d.ts +19 -0
- package/dist/models/DescribeBinlogFilesResponse.js +69 -0
- package/dist/models/DescribeBinlogFilesResponse.js.map +1 -0
- package/dist/models/DescribeBinlogFilesResponseBody.d.ts +84 -0
- package/dist/models/DescribeBinlogFilesResponseBody.js +134 -0
- package/dist/models/DescribeBinlogFilesResponseBody.js.map +1 -0
- package/dist/models/DescribeClusterBackupsRequest.d.ts +29 -18
- package/dist/models/DescribeClusterBackupsRequest.js.map +1 -1
- package/dist/models/DescribeClusterBackupsResponseBody.d.ts +76 -50
- package/dist/models/DescribeClusterBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterRecoverTimeRequest.d.ts +23 -1
- package/dist/models/DescribeClusterRecoverTimeRequest.js +2 -0
- package/dist/models/DescribeClusterRecoverTimeRequest.js.map +1 -1
- package/dist/models/DescribeClusterRecoverTimeResponseBody.d.ts +5 -6
- package/dist/models/DescribeClusterRecoverTimeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceAttributeRequest.d.ts +8 -7
- package/dist/models/DescribeDbinstanceAttributeRequest.js.map +1 -1
- package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +40 -850
- package/dist/models/DescribeDbinstanceAttributeResponseBody.js +59 -1
- package/dist/models/DescribeDbinstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceEncryptionKeyResponseBody.d.ts +3 -2
- package/dist/models/DescribeDbinstanceEncryptionKeyResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancePerformanceRequest.d.ts +26 -15
- package/dist/models/DescribeDbinstancePerformanceRequest.js.map +1 -1
- package/dist/models/DescribeDbinstancePerformanceResponseBody.d.ts +2 -47
- package/dist/models/DescribeDbinstancePerformanceResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceSpecInfoRequest.d.ts +10 -0
- package/dist/models/DescribeDbinstanceSpecInfoRequest.js.map +1 -1
- package/dist/models/DescribeDbinstanceSpecInfoResponseBody.d.ts +16 -0
- package/dist/models/DescribeDbinstanceSpecInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceSslresponseBody.d.ts +16 -4
- package/dist/models/DescribeDbinstanceSslresponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceSwitchLogResponseBody.d.ts +12 -7
- package/dist/models/DescribeDbinstanceSwitchLogResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceTdeinfoResponseBody.d.ts +16 -15
- package/dist/models/DescribeDbinstanceTdeinfoResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancesOverviewRequest.d.ts +38 -26
- package/dist/models/DescribeDbinstancesOverviewRequest.js.map +1 -1
- package/dist/models/DescribeDbinstancesOverviewResponseBody.d.ts +82 -58
- package/dist/models/DescribeDbinstancesOverviewResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancesRequest.d.ts +78 -51
- package/dist/models/DescribeDbinstancesRequest.js.map +1 -1
- package/dist/models/DescribeDbinstancesResponseBody.d.ts +3 -372
- package/dist/models/DescribeDbinstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeErrorLogRecordsRequest.d.ts +9 -7
- package/dist/models/DescribeErrorLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeErrorLogRecordsResponseBody.d.ts +0 -49
- package/dist/models/DescribeErrorLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalSecurityIpgroupRelationRequest.d.ts +1 -1
- package/dist/models/DescribeGlobalSecurityIpgroupRelationResponseBody.d.ts +6 -6
- package/dist/models/DescribeHistoryTasksRequest.d.ts +58 -30
- package/dist/models/DescribeHistoryTasksRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksResponseBody.d.ts +85 -53
- package/dist/models/DescribeHistoryTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceAutoRenewalAttributeRequest.d.ts +4 -3
- package/dist/models/DescribeInstanceAutoRenewalAttributeRequest.js.map +1 -1
- package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.d.ts +0 -48
- package/dist/models/DescribeInstanceAutoRenewalAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceRecoverTimeRequest.d.ts +22 -0
- package/dist/models/DescribeInstanceRecoverTimeRequest.js +2 -0
- package/dist/models/DescribeInstanceRecoverTimeRequest.js.map +1 -1
- package/dist/models/DescribeInstanceRecoverTimeResponseBody.d.ts +5 -6
- package/dist/models/DescribeInstanceRecoverTimeResponseBody.js.map +1 -1
- package/dist/models/DescribeKernelReleaseNotesRequest.d.ts +1 -1
- package/dist/models/DescribeKernelReleaseNotesResponseBody.d.ts +0 -18
- package/dist/models/DescribeKernelReleaseNotesResponseBody.js.map +1 -1
- package/dist/models/DescribeMongoDblogConfigRequest.d.ts +1 -1
- package/dist/models/DescribeMongoDblogConfigResponseBody.d.ts +41 -19
- package/dist/models/DescribeMongoDblogConfigResponseBody.js +4 -0
- package/dist/models/DescribeMongoDblogConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeParameterModificationHistoryRequest.d.ts +11 -8
- package/dist/models/DescribeParameterModificationHistoryRequest.js.map +1 -1
- package/dist/models/DescribeParameterModificationHistoryResponseBody.d.ts +0 -32
- package/dist/models/DescribeParameterModificationHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeParameterTemplatesRequest.d.ts +22 -14
- package/dist/models/DescribeParameterTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeParameterTemplatesResponseBody.d.ts +4 -56
- package/dist/models/DescribeParameterTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeParametersRequest.d.ts +7 -5
- package/dist/models/DescribeParametersRequest.js.map +1 -1
- package/dist/models/DescribeParametersResponseBody.d.ts +0 -115
- package/dist/models/DescribeParametersResponseBody.js.map +1 -1
- package/dist/models/DescribePriceRequest.d.ts +37 -25
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +36 -711
- package/dist/models/DescribePriceResponseBody.js +7 -0
- package/dist/models/DescribePriceResponseBody.js.map +1 -1
- package/dist/models/DescribeRdsVpcsRequest.d.ts +6 -0
- package/dist/models/DescribeRdsVpcsRequest.js.map +1 -1
- package/dist/models/DescribeRdsVpcsResponseBody.d.ts +73 -2
- package/dist/models/DescribeRdsVpcsResponseBody.js.map +1 -1
- package/dist/models/DescribeRdsVswitchsRequest.d.ts +9 -0
- package/dist/models/DescribeRdsVswitchsRequest.js.map +1 -1
- package/dist/models/DescribeRdsVswitchsResponseBody.d.ts +46 -1
- package/dist/models/DescribeRdsVswitchsResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +4 -3
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +0 -67
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeRenewalPriceRequest.d.ts +8 -4
- package/dist/models/DescribeRenewalPriceRequest.js.map +1 -1
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +14 -94
- package/dist/models/DescribeRenewalPriceResponseBody.js +7 -0
- package/dist/models/DescribeRenewalPriceResponseBody.js.map +1 -1
- package/dist/models/DescribeReplicaSetRoleResponseBody.d.ts +9 -57
- package/dist/models/DescribeReplicaSetRoleResponseBody.js +2 -0
- package/dist/models/DescribeReplicaSetRoleResponseBody.js.map +1 -1
- package/dist/models/DescribeRestoreDbinstanceListRequest.d.ts +2 -2
- package/dist/models/DescribeRestoreDbinstanceListResponseBody.d.ts +0 -107
- package/dist/models/DescribeRestoreDbinstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeRoleTagStatusRequest.d.ts +2 -0
- package/dist/models/DescribeRoleTagStatusRequest.js.map +1 -1
- package/dist/models/DescribeRoleTagStatusResponseBody.d.ts +19 -0
- package/dist/models/DescribeRoleTagStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRoleZoneInfoResponseBody.d.ts +0 -50
- package/dist/models/DescribeRoleZoneInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeRunningLogRecordsRequest.d.ts +19 -20
- package/dist/models/DescribeRunningLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeRunningLogRecordsResponseBody.d.ts +4 -36
- package/dist/models/DescribeRunningLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupConfigurationResponseBody.d.ts +0 -28
- package/dist/models/DescribeSecurityGroupConfigurationResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityIpsResponseBody.d.ts +0 -25
- package/dist/models/DescribeSecurityIpsResponseBody.js.map +1 -1
- package/dist/models/DescribeShardingNetworkAddressRequest.d.ts +15 -2
- package/dist/models/DescribeShardingNetworkAddressRequest.js.map +1 -1
- package/dist/models/DescribeShardingNetworkAddressResponseBody.d.ts +5 -164
- package/dist/models/DescribeShardingNetworkAddressResponseBody.js +2 -0
- package/dist/models/DescribeShardingNetworkAddressResponseBody.js.map +1 -1
- package/dist/models/DescribeSlowLogRecordsRequest.d.ts +8 -6
- package/dist/models/DescribeSlowLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeSlowLogRecordsResponseBody.d.ts +0 -74
- package/dist/models/DescribeSlowLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeTagsRequest.d.ts +1 -1
- package/dist/models/DescribeTagsResponseBody.d.ts +5 -2
- package/dist/models/DescribeTagsResponseBody.js.map +1 -1
- package/dist/models/DescribeUserEncryptionKeyListRequest.d.ts +13 -2
- package/dist/models/DescribeUserEncryptionKeyListRequest.js.map +1 -1
- package/dist/models/DescribeUserEncryptionKeyListResponseBody.d.ts +1 -5
- package/dist/models/DescribeUserEncryptionKeyListResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcsForMongoDbrequest.d.ts +15 -0
- package/dist/models/DescribeVpcsForMongoDbrequest.js.map +1 -1
- package/dist/models/DescribeVpcsForMongoDbresponseBody.d.ts +80 -2
- package/dist/models/DescribeVpcsForMongoDbresponseBody.js.map +1 -1
- package/dist/models/EvaluateResourceRequest.d.ts +51 -37
- package/dist/models/EvaluateResourceRequest.js.map +1 -1
- package/dist/models/EvaluateResourceResponseBody.d.ts +7 -6
- package/dist/models/EvaluateResourceResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -33
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/MigrateAvailableZoneRequest.d.ts +5 -4
- package/dist/models/MigrateAvailableZoneRequest.js.map +1 -1
- package/dist/models/MigrateToOtherZoneRequest.d.ts +8 -6
- package/dist/models/MigrateToOtherZoneRequest.js.map +1 -1
- package/dist/models/ModifyAccountDescriptionRequest.d.ts +9 -6
- package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
- package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.d.ts +27 -0
- package/dist/models/ModifyActiveOperationMaintenanceConfigRequest.js.map +1 -1
- package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.d.ts +3 -0
- package/dist/models/ModifyActiveOperationMaintenanceConfigResponseBody.js.map +1 -1
- package/dist/models/ModifyAuditLogFilterRequest.d.ts +16 -9
- package/dist/models/ModifyAuditLogFilterRequest.js.map +1 -1
- package/dist/models/ModifyAuditPolicyRequest.d.ts +25 -9
- package/dist/models/ModifyAuditPolicyRequest.js +2 -0
- package/dist/models/ModifyAuditPolicyRequest.js.map +1 -1
- package/dist/models/ModifyBackupExpireTimeRequest.d.ts +13 -0
- package/dist/models/ModifyBackupExpireTimeRequest.js.map +1 -1
- package/dist/models/ModifyBackupExpireTimeResponseBody.d.ts +15 -0
- package/dist/models/ModifyBackupExpireTimeResponseBody.js.map +1 -1
- package/dist/models/ModifyBackupPolicyRequest.d.ts +128 -93
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceAttributeRequest.d.ts +9 -0
- package/dist/models/ModifyDbinstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceAttributeResponseBody.d.ts +3 -0
- package/dist/models/ModifyDbinstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyDbinstanceConfigRequest.d.ts +6 -0
- package/dist/models/ModifyDbinstanceConfigRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceConfigResponseBody.d.ts +3 -0
- package/dist/models/ModifyDbinstanceConfigResponseBody.js.map +1 -1
- package/dist/models/ModifyDbinstanceConnectionStringRequest.d.ts +23 -12
- package/dist/models/ModifyDbinstanceConnectionStringRequest.js +6 -0
- package/dist/models/ModifyDbinstanceConnectionStringRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.d.ts +2 -1
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js +2 -0
- package/dist/models/ModifyDbinstanceConnectionStringResponseBody.js.map +1 -1
- package/dist/models/ModifyDbinstanceDescriptionRequest.d.ts +5 -5
- package/dist/models/ModifyDbinstanceDiskTypeRequest.d.ts +28 -16
- package/dist/models/ModifyDbinstanceDiskTypeRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceMaintainTimeRequest.d.ts +1 -1
- package/dist/models/ModifyDbinstanceNetworkTypeRequest.d.ts +14 -20
- package/dist/models/ModifyDbinstanceNetworkTypeRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceSpecRequest.d.ts +125 -42
- package/dist/models/ModifyDbinstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifyDbinstanceSslrequest.d.ts +39 -5
- package/dist/models/ModifyDbinstanceSslrequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceSslresponseBody.d.ts +1 -1
- package/dist/models/ModifyDbinstanceTderequest.d.ts +33 -7
- package/dist/models/ModifyDbinstanceTderequest.js.map +1 -1
- package/dist/models/ModifyGlobalSecurityIpgroupNameRequest.d.ts +5 -3
- package/dist/models/ModifyGlobalSecurityIpgroupNameRequest.js.map +1 -1
- package/dist/models/ModifyInstanceVpcAuthModeRequest.d.ts +2 -2
- package/dist/models/ModifyNodeSpecBatchRequest.d.ts +114 -19
- package/dist/models/ModifyNodeSpecBatchRequest.js.map +1 -1
- package/dist/models/ModifyNodeSpecRequest.d.ts +75 -22
- package/dist/models/ModifyNodeSpecRequest.js.map +1 -1
- package/dist/models/ModifyNodeSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifyParametersRequest.d.ts +23 -10
- package/dist/models/ModifyParametersRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupConfigurationRequest.d.ts +3 -2
- package/dist/models/ModifySecurityGroupConfigurationRequest.js.map +1 -1
- package/dist/models/ModifySecurityIpsRequest.d.ts +8 -5
- package/dist/models/ModifySecurityIpsRequest.js.map +1 -1
- package/dist/models/ModifySrvNetworkAddressRequest.d.ts +20 -0
- package/dist/models/ModifySrvNetworkAddressRequest.js.map +1 -1
- package/dist/models/ModifySrvNetworkAddressResponseBody.d.ts +3 -0
- package/dist/models/ModifySrvNetworkAddressResponseBody.js.map +1 -1
- package/dist/models/ReleaseNodePrivateNetworkAddressRequest.d.ts +17 -9
- package/dist/models/ReleaseNodePrivateNetworkAddressRequest.js.map +1 -1
- package/dist/models/ReleasePublicNetworkAddressRequest.d.ts +8 -6
- package/dist/models/ReleasePublicNetworkAddressRequest.js.map +1 -1
- package/dist/models/RenewDbinstanceRequest.d.ts +10 -7
- package/dist/models/RenewDbinstanceRequest.js.map +1 -1
- package/dist/models/ResetAccountPasswordRequest.d.ts +6 -4
- package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
- package/dist/models/RestartDbinstanceRequest.d.ts +14 -2
- package/dist/models/RestartDbinstanceRequest.js +2 -0
- package/dist/models/RestartDbinstanceRequest.js.map +1 -1
- package/dist/models/RestartNodeRequest.d.ts +19 -5
- package/dist/models/RestartNodeRequest.js.map +1 -1
- package/dist/models/SwitchDbinstanceHarequest.d.ts +5 -4
- package/dist/models/SwitchDbinstanceHarequest.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +4 -2
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TransformInstanceChargeTypeRequest.d.ts +17 -13
- package/dist/models/TransformInstanceChargeTypeRequest.js.map +1 -1
- package/dist/models/TransformToPrePaidRequest.d.ts +9 -7
- package/dist/models/TransformToPrePaidRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +8 -4
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UpgradeDbinstanceEngineVersionRequest.d.ts +4 -3
- package/dist/models/UpgradeDbinstanceEngineVersionRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +32 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +707 -436
- package/src/models/AllocateDbinstanceSrvNetworkAddressRequest.ts +16 -0
- package/src/models/AllocateDbinstanceSrvNetworkAddressResponseBody.ts +3 -0
- package/src/models/AllocateNodePrivateNetworkAddressRequest.ts +9 -8
- package/src/models/CancelActiveOperationTasksRequest.ts +5 -0
- package/src/models/CancelActiveOperationTasksResponseBody.ts +6 -0
- package/src/models/CheckCloudResourceAuthorizedResponseBody.ts +6 -4
- package/src/models/CreateAccountRequest.ts +6 -4
- package/src/models/CreateBackupRequest.ts +22 -4
- package/src/models/CreateBackupResponseBody.ts +6 -1
- package/src/models/CreateDbinstanceRequest.ts +212 -139
- package/src/models/CreateDbinstanceResponseBody.ts +3 -3
- package/src/models/CreateGlobalSecurityIpgroupRequest.ts +5 -3
- package/src/models/CreateGlobalSecurityIpgroupResponseBody.ts +5 -3
- package/src/models/CreateNodeBatchRequest.ts +33 -17
- package/src/models/CreateNodeRequest.ts +65 -34
- package/src/models/CreateNodeRoleTagRequest.ts +7 -0
- package/src/models/CreateNodeRoleTagResponseBody.ts +3 -0
- package/src/models/CreateShardingDbinstanceRequest.ts +208 -160
- package/src/models/DeleteBackupRequest.ts +4 -0
- package/src/models/DeleteBackupResponseBody.ts +3 -0
- package/src/models/DeleteDbinstanceRequest.ts +1 -1
- package/src/models/DeleteGlobalSecurityIpgroupRequest.ts +8 -6
- package/src/models/DeleteGlobalSecurityIpgroupResponseBody.ts +1 -1
- package/src/models/DescribeAccountsResponseBody.ts +0 -48
- package/src/models/DescribeActiveOperationMaintenanceConfigResponseBody.ts +30 -17
- package/src/models/DescribeActiveOperationTaskCountResponseBody.ts +3 -2
- package/src/models/DescribeActiveOperationTaskRegionRequest.ts +10 -8
- package/src/models/DescribeActiveOperationTaskRegionResponseBody.ts +3 -3
- package/src/models/DescribeActiveOperationTaskRequest.ts +5 -2
- package/src/models/DescribeActiveOperationTaskResponseBody.ts +8 -0
- package/src/models/DescribeActiveOperationTaskTypeRequest.ts +3 -2
- package/src/models/DescribeActiveOperationTaskTypeResponseBody.ts +4 -3
- package/src/models/DescribeActiveOperationTasksRequest.ts +55 -30
- package/src/models/DescribeActiveOperationTasksResponseBody.ts +92 -56
- package/src/models/DescribeAuditLogFilterRequest.ts +5 -3
- package/src/models/DescribeAuditLogFilterResponseBody.ts +13 -7
- package/src/models/DescribeAuditPolicyResponseBody.ts +5 -4
- package/src/models/DescribeAuditRecordsRequest.ts +21 -20
- package/src/models/DescribeAuditRecordsResponseBody.ts +3 -70
- package/src/models/DescribeAvailabilityZonesRequest.ts +36 -23
- package/src/models/DescribeAvailabilityZonesResponseBody.ts +3 -2
- package/src/models/DescribeAvailableEngineVersionResponseBody.ts +0 -6
- package/src/models/DescribeAvailableResourceRequest.ts +15 -9
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -115
- package/src/models/DescribeBackupDbsRequest.ts +6 -6
- package/src/models/DescribeBackupDbsResponseBody.ts +0 -11
- package/src/models/DescribeBackupPolicyRequest.ts +5 -4
- package/src/models/DescribeBackupPolicyResponseBody.ts +100 -57
- package/src/models/DescribeBackupStorageRequest.ts +2 -2
- package/src/models/DescribeBackupStorageResponseBody.ts +4 -4
- package/src/models/DescribeBackupTasksRequest.ts +2 -2
- package/src/models/DescribeBackupTasksResponseBody.ts +15 -11
- package/src/models/DescribeBackupsRequest.ts +30 -17
- package/src/models/DescribeBackupsResponseBody.ts +8 -140
- package/src/models/DescribeBinlogFilesRequest.ts +158 -0
- package/src/models/DescribeBinlogFilesResponse.ts +40 -0
- package/src/models/DescribeBinlogFilesResponseBody.ts +155 -0
- package/src/models/DescribeClusterBackupsRequest.ts +30 -19
- package/src/models/DescribeClusterBackupsResponseBody.ts +76 -50
- package/src/models/DescribeClusterRecoverTimeRequest.ts +25 -1
- package/src/models/DescribeClusterRecoverTimeResponseBody.ts +5 -6
- package/src/models/DescribeDbinstanceAttributeRequest.ts +8 -7
- package/src/models/DescribeDbinstanceAttributeResponseBody.ts +82 -852
- package/src/models/DescribeDbinstanceEncryptionKeyResponseBody.ts +3 -2
- package/src/models/DescribeDbinstancePerformanceRequest.ts +26 -15
- package/src/models/DescribeDbinstancePerformanceResponseBody.ts +2 -47
- package/src/models/DescribeDbinstanceSpecInfoRequest.ts +10 -0
- package/src/models/DescribeDbinstanceSpecInfoResponseBody.ts +16 -0
- package/src/models/DescribeDbinstanceSslresponseBody.ts +16 -4
- package/src/models/DescribeDbinstanceSwitchLogResponseBody.ts +12 -7
- package/src/models/DescribeDbinstanceTdeinfoResponseBody.ts +16 -15
- package/src/models/DescribeDbinstancesOverviewRequest.ts +39 -27
- package/src/models/DescribeDbinstancesOverviewResponseBody.ts +83 -59
- package/src/models/DescribeDbinstancesRequest.ts +78 -51
- package/src/models/DescribeDbinstancesResponseBody.ts +3 -372
- package/src/models/DescribeErrorLogRecordsRequest.ts +9 -7
- package/src/models/DescribeErrorLogRecordsResponseBody.ts +0 -49
- package/src/models/DescribeGlobalSecurityIpgroupRelationRequest.ts +1 -1
- package/src/models/DescribeGlobalSecurityIpgroupRelationResponseBody.ts +6 -6
- package/src/models/DescribeHistoryTasksRequest.ts +58 -30
- package/src/models/DescribeHistoryTasksResponseBody.ts +85 -53
- package/src/models/DescribeInstanceAutoRenewalAttributeRequest.ts +4 -3
- package/src/models/DescribeInstanceAutoRenewalAttributeResponseBody.ts +0 -48
- package/src/models/DescribeInstanceRecoverTimeRequest.ts +24 -0
- package/src/models/DescribeInstanceRecoverTimeResponseBody.ts +5 -6
- package/src/models/DescribeKernelReleaseNotesRequest.ts +1 -1
- package/src/models/DescribeKernelReleaseNotesResponseBody.ts +0 -18
- package/src/models/DescribeMongoDblogConfigRequest.ts +1 -1
- package/src/models/DescribeMongoDblogConfigResponseBody.ts +45 -19
- package/src/models/DescribeParameterModificationHistoryRequest.ts +11 -8
- package/src/models/DescribeParameterModificationHistoryResponseBody.ts +0 -32
- package/src/models/DescribeParameterTemplatesRequest.ts +22 -14
- package/src/models/DescribeParameterTemplatesResponseBody.ts +4 -56
- package/src/models/DescribeParametersRequest.ts +7 -5
- package/src/models/DescribeParametersResponseBody.ts +0 -115
- package/src/models/DescribePriceRequest.ts +37 -25
- package/src/models/DescribePriceResponseBody.ts +41 -711
- package/src/models/DescribeRdsVpcsRequest.ts +6 -0
- package/src/models/DescribeRdsVpcsResponseBody.ts +73 -2
- package/src/models/DescribeRdsVswitchsRequest.ts +9 -0
- package/src/models/DescribeRdsVswitchsResponseBody.ts +46 -1
- package/src/models/DescribeRegionsRequest.ts +4 -3
- package/src/models/DescribeRegionsResponseBody.ts +0 -67
- package/src/models/DescribeRenewalPriceRequest.ts +8 -4
- package/src/models/DescribeRenewalPriceResponseBody.ts +19 -94
- package/src/models/DescribeReplicaSetRoleResponseBody.ts +11 -57
- package/src/models/DescribeRestoreDbinstanceListRequest.ts +2 -2
- package/src/models/DescribeRestoreDbinstanceListResponseBody.ts +0 -107
- package/src/models/DescribeRoleTagStatusRequest.ts +2 -0
- package/src/models/DescribeRoleTagStatusResponseBody.ts +19 -0
- package/src/models/DescribeRoleZoneInfoResponseBody.ts +0 -50
- package/src/models/DescribeRunningLogRecordsRequest.ts +19 -20
- package/src/models/DescribeRunningLogRecordsResponseBody.ts +4 -36
- package/src/models/DescribeSecurityGroupConfigurationResponseBody.ts +0 -28
- package/src/models/DescribeSecurityIpsResponseBody.ts +0 -25
- package/src/models/DescribeShardingNetworkAddressRequest.ts +15 -2
- package/src/models/DescribeShardingNetworkAddressResponseBody.ts +7 -164
- package/src/models/DescribeSlowLogRecordsRequest.ts +9 -7
- package/src/models/DescribeSlowLogRecordsResponseBody.ts +0 -74
- package/src/models/DescribeTagsRequest.ts +1 -1
- package/src/models/DescribeTagsResponseBody.ts +5 -2
- package/src/models/DescribeUserEncryptionKeyListRequest.ts +13 -2
- package/src/models/DescribeUserEncryptionKeyListResponseBody.ts +1 -5
- package/src/models/DescribeVpcsForMongoDbrequest.ts +15 -0
- package/src/models/DescribeVpcsForMongoDbresponseBody.ts +80 -2
- package/src/models/EvaluateResourceRequest.ts +51 -37
- package/src/models/EvaluateResourceResponseBody.ts +7 -6
- package/src/models/ListTagResourcesRequest.ts +4 -4
- package/src/models/ListTagResourcesResponseBody.ts +1 -33
- package/src/models/MigrateAvailableZoneRequest.ts +6 -5
- package/src/models/MigrateToOtherZoneRequest.ts +8 -6
- package/src/models/ModifyAccountDescriptionRequest.ts +9 -6
- package/src/models/ModifyActiveOperationMaintenanceConfigRequest.ts +27 -0
- package/src/models/ModifyActiveOperationMaintenanceConfigResponseBody.ts +3 -0
- package/src/models/ModifyAuditLogFilterRequest.ts +16 -9
- package/src/models/ModifyAuditPolicyRequest.ts +27 -9
- package/src/models/ModifyBackupExpireTimeRequest.ts +13 -0
- package/src/models/ModifyBackupExpireTimeResponseBody.ts +15 -0
- package/src/models/ModifyBackupPolicyRequest.ts +130 -95
- package/src/models/ModifyDbinstanceAttributeRequest.ts +9 -0
- package/src/models/ModifyDbinstanceAttributeResponseBody.ts +3 -0
- package/src/models/ModifyDbinstanceConfigRequest.ts +6 -0
- package/src/models/ModifyDbinstanceConfigResponseBody.ts +3 -0
- package/src/models/ModifyDbinstanceConnectionStringRequest.ts +29 -12
- package/src/models/ModifyDbinstanceConnectionStringResponseBody.ts +4 -1
- package/src/models/ModifyDbinstanceDescriptionRequest.ts +6 -6
- package/src/models/ModifyDbinstanceDiskTypeRequest.ts +28 -16
- package/src/models/ModifyDbinstanceMaintainTimeRequest.ts +1 -1
- package/src/models/ModifyDbinstanceNetworkTypeRequest.ts +14 -20
- package/src/models/ModifyDbinstanceSpecRequest.ts +125 -42
- package/src/models/ModifyDbinstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifyDbinstanceSslrequest.ts +39 -5
- package/src/models/ModifyDbinstanceSslresponseBody.ts +1 -1
- package/src/models/ModifyDbinstanceTderequest.ts +33 -7
- package/src/models/ModifyGlobalSecurityIpgroupNameRequest.ts +5 -3
- package/src/models/ModifyInstanceVpcAuthModeRequest.ts +2 -2
- package/src/models/ModifyNodeSpecBatchRequest.ts +114 -19
- package/src/models/ModifyNodeSpecRequest.ts +75 -22
- package/src/models/ModifyNodeSpecResponseBody.ts +2 -2
- package/src/models/ModifyParametersRequest.ts +23 -10
- package/src/models/ModifySecurityGroupConfigurationRequest.ts +3 -2
- package/src/models/ModifySecurityIpsRequest.ts +8 -5
- package/src/models/ModifySrvNetworkAddressRequest.ts +20 -0
- package/src/models/ModifySrvNetworkAddressResponseBody.ts +3 -0
- package/src/models/ReleaseNodePrivateNetworkAddressRequest.ts +17 -9
- package/src/models/ReleasePublicNetworkAddressRequest.ts +8 -6
- package/src/models/RenewDbinstanceRequest.ts +10 -7
- package/src/models/ResetAccountPasswordRequest.ts +6 -4
- package/src/models/RestartDbinstanceRequest.ts +16 -2
- package/src/models/RestartNodeRequest.ts +19 -5
- package/src/models/SwitchDbinstanceHarequest.ts +6 -5
- package/src/models/TagResourcesRequest.ts +4 -2
- package/src/models/TransformInstanceChargeTypeRequest.ts +17 -13
- package/src/models/TransformToPrePaidRequest.ts +9 -7
- package/src/models/UntagResourcesRequest.ts +9 -5
- package/src/models/UpgradeDbinstanceEngineVersionRequest.ts +4 -3
- package/src/models/model.ts +7 -0
package/dist/client.js
CHANGED
|
@@ -50,7 +50,7 @@ class Client extends openapi_core_1.default {
|
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
52
|
this._endpointMap = {
|
|
53
|
-
'cn-qingdao': "mongodb.aliyuncs.com",
|
|
53
|
+
'cn-qingdao': "mongodb.cn-qingdao.aliyuncs.com",
|
|
54
54
|
'cn-beijing': "mongodb.aliyuncs.com",
|
|
55
55
|
'cn-zhangjiakou': "mongodb.cn-zhangjiakou.aliyuncs.com",
|
|
56
56
|
'cn-huhehaote': "mongodb.cn-huhehaote.aliyuncs.com",
|
|
@@ -78,7 +78,7 @@ class Client extends openapi_core_1.default {
|
|
|
78
78
|
'cn-shenzhen-finance-1': "mongodb.cn-shenzhen-finance-1.aliyuncs.com",
|
|
79
79
|
'cn-north-2-gov-1': "mongodb.cn-north-2-gov-1.aliyuncs.com",
|
|
80
80
|
'ap-northeast-2-pop': "mongodb.aliyuncs.com",
|
|
81
|
-
'cn-beijing-finance-1': "mongodb.aliyuncs.com",
|
|
81
|
+
'cn-beijing-finance-1': "mongodb.cn-beijing-finance-1.aliyuncs.com",
|
|
82
82
|
'cn-beijing-finance-pop': "mongodb.aliyuncs.com",
|
|
83
83
|
'cn-beijing-gov-1': "mongodb.aliyuncs.com",
|
|
84
84
|
'cn-beijing-nu16-b01': "mongodb.aliyuncs.com",
|
|
@@ -109,6 +109,21 @@ class Client extends openapi_core_1.default {
|
|
|
109
109
|
'cn-zhengzhou-nebula-1': "mongodb.aliyuncs.com",
|
|
110
110
|
'eu-west-1-oxs': "mongodb.aliyuncs.com",
|
|
111
111
|
'rus-west-1-pop': "mongodb.aliyuncs.com",
|
|
112
|
+
'us-southeast-1': "mongodb.us-southeast-1.aliyuncs.com",
|
|
113
|
+
'na-south-1': "mongodb.na-south-1.aliyuncs.com",
|
|
114
|
+
'me-central-1': "mongodb.me-central-1.aliyuncs.com",
|
|
115
|
+
'eu-west-2': "mongodb.eu-west-2.aliyuncs.com",
|
|
116
|
+
'cn-zhongwei': "mongodb.cn-zhongwei.aliyuncs.com",
|
|
117
|
+
'cn-zhengzhou-jva': "mongodb.cn-zhengzhou-jva.aliyuncs.com",
|
|
118
|
+
'cn-wulanchabu-gic-1': "mongodb.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
119
|
+
'cn-wuhan-lr': "mongodb.cn-wuhan-lr.aliyuncs.com",
|
|
120
|
+
'cn-nanjing': "mongodb.cn-nanjing.aliyuncs.com",
|
|
121
|
+
'cn-heyuan-acdr-1': "mongodb.cn-heyuan-acdr-1.aliyuncs.com",
|
|
122
|
+
'cn-fuzhou': "mongodb.cn-fuzhou.aliyuncs.com",
|
|
123
|
+
'ap-southeast-8': "mongodb.ap-southeast-8.aliyuncs.com",
|
|
124
|
+
'ap-southeast-7': "mongodb.ap-southeast-7.aliyuncs.com",
|
|
125
|
+
'ap-southeast-6': "mongodb.ap-southeast-6.aliyuncs.com",
|
|
126
|
+
'ap-northeast-2': "mongodb.ap-northeast-2.aliyuncs.com",
|
|
112
127
|
};
|
|
113
128
|
this.checkConfig(config);
|
|
114
129
|
this._endpoint = this.getEndpoint("dds", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -123,6 +138,11 @@ class Client extends openapi_core_1.default {
|
|
|
123
138
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
124
139
|
}
|
|
125
140
|
/**
|
|
141
|
+
* Applies for an SRV connection string for an ApsaraDB for MongoDB instance.
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
* Applicable only to cloud disk-based replica set and sharded cluster instances.
|
|
145
|
+
*
|
|
126
146
|
* @param request - AllocateDBInstanceSrvNetworkAddressRequest
|
|
127
147
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
128
148
|
* @returns AllocateDBInstanceSrvNetworkAddressResponse
|
|
@@ -168,6 +188,11 @@ class Client extends openapi_core_1.default {
|
|
|
168
188
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AllocateDBInstanceSrvNetworkAddressResponse({}));
|
|
169
189
|
}
|
|
170
190
|
/**
|
|
191
|
+
* Applies for an SRV connection string for an ApsaraDB for MongoDB instance.
|
|
192
|
+
*
|
|
193
|
+
* @remarks
|
|
194
|
+
* Applicable only to cloud disk-based replica set and sharded cluster instances.
|
|
195
|
+
*
|
|
171
196
|
* @param request - AllocateDBInstanceSrvNetworkAddressRequest
|
|
172
197
|
* @returns AllocateDBInstanceSrvNetworkAddressResponse
|
|
173
198
|
*/
|
|
@@ -180,7 +205,7 @@ class Client extends openapi_core_1.default {
|
|
|
180
205
|
*
|
|
181
206
|
* @remarks
|
|
182
207
|
* This operation is applicable only to sharded cluster instances. For more information, see [Apply for an endpoint for a shard or Configserver node](https://help.aliyun.com/document_detail/134037.html).
|
|
183
|
-
* >
|
|
208
|
+
* > The allocated endpoints can be used only for internal access. To gain Internet access, you must call the [AllocatePublicNetworkAddress](https://help.aliyun.com/document_detail/67602.html) operation to apply for public endpoints.
|
|
184
209
|
*
|
|
185
210
|
* @param request - AllocateNodePrivateNetworkAddressRequest
|
|
186
211
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -237,7 +262,7 @@ class Client extends openapi_core_1.default {
|
|
|
237
262
|
*
|
|
238
263
|
* @remarks
|
|
239
264
|
* This operation is applicable only to sharded cluster instances. For more information, see [Apply for an endpoint for a shard or Configserver node](https://help.aliyun.com/document_detail/134037.html).
|
|
240
|
-
* >
|
|
265
|
+
* > The allocated endpoints can be used only for internal access. To gain Internet access, you must call the [AllocatePublicNetworkAddress](https://help.aliyun.com/document_detail/67602.html) operation to apply for public endpoints.
|
|
241
266
|
*
|
|
242
267
|
* @param request - AllocateNodePrivateNetworkAddressRequest
|
|
243
268
|
* @returns AllocateNodePrivateNetworkAddressResponse
|
|
@@ -301,6 +326,14 @@ class Client extends openapi_core_1.default {
|
|
|
301
326
|
return await this.allocatePublicNetworkAddressWithOptions(request, runtime);
|
|
302
327
|
}
|
|
303
328
|
/**
|
|
329
|
+
* Cancels Operations and Maintenance (O&M) events in a batch.
|
|
330
|
+
*
|
|
331
|
+
* @remarks
|
|
332
|
+
* An O\\&M event cannot be canceled in the following scenarios:
|
|
333
|
+
* - The event is not cancelable if the value of the AllowCancel parameter is 0.
|
|
334
|
+
* - The scheduled start time of the O\\&M event has passed.
|
|
335
|
+
* - The status of the O\\&M event is not Pending if the value of the Status parameter is not 3.
|
|
336
|
+
*
|
|
304
337
|
* @param request - CancelActiveOperationTasksRequest
|
|
305
338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
306
339
|
* @returns CancelActiveOperationTasksResponse
|
|
@@ -343,6 +376,14 @@ class Client extends openapi_core_1.default {
|
|
|
343
376
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelActiveOperationTasksResponse({}));
|
|
344
377
|
}
|
|
345
378
|
/**
|
|
379
|
+
* Cancels Operations and Maintenance (O&M) events in a batch.
|
|
380
|
+
*
|
|
381
|
+
* @remarks
|
|
382
|
+
* An O\\&M event cannot be canceled in the following scenarios:
|
|
383
|
+
* - The event is not cancelable if the value of the AllowCancel parameter is 0.
|
|
384
|
+
* - The scheduled start time of the O\\&M event has passed.
|
|
385
|
+
* - The status of the O\\&M event is not Pending if the value of the Status parameter is not 3.
|
|
386
|
+
*
|
|
346
387
|
* @param request - CancelActiveOperationTasksRequest
|
|
347
388
|
* @returns CancelActiveOperationTasksResponse
|
|
348
389
|
*/
|
|
@@ -351,7 +392,7 @@ class Client extends openapi_core_1.default {
|
|
|
351
392
|
return await this.cancelActiveOperationTasksWithOptions(request, runtime);
|
|
352
393
|
}
|
|
353
394
|
/**
|
|
354
|
-
*
|
|
395
|
+
* Checks whether Key Management Service (KMS) keys are authorized to an ApsaraDB for MongoDB instance.
|
|
355
396
|
*
|
|
356
397
|
* @remarks
|
|
357
398
|
* Before you enable Transparent Data Encryption (TDE) by calling the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation, you can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.
|
|
@@ -398,7 +439,7 @@ class Client extends openapi_core_1.default {
|
|
|
398
439
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckCloudResourceAuthorizedResponse({}));
|
|
399
440
|
}
|
|
400
441
|
/**
|
|
401
|
-
*
|
|
442
|
+
* Checks whether Key Management Service (KMS) keys are authorized to an ApsaraDB for MongoDB instance.
|
|
402
443
|
*
|
|
403
444
|
* @remarks
|
|
404
445
|
* Before you enable Transparent Data Encryption (TDE) by calling the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation, you can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.
|
|
@@ -500,7 +541,7 @@ class Client extends openapi_core_1.default {
|
|
|
500
541
|
return await this.checkRecoveryConditionWithOptions(request, runtime);
|
|
501
542
|
}
|
|
502
543
|
/**
|
|
503
|
-
*
|
|
544
|
+
* Checks whether a service-linked role (SLR) is created for an instance.
|
|
504
545
|
*
|
|
505
546
|
* @param request - CheckServiceLinkedRoleRequest
|
|
506
547
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -535,7 +576,7 @@ class Client extends openapi_core_1.default {
|
|
|
535
576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckServiceLinkedRoleResponse({}));
|
|
536
577
|
}
|
|
537
578
|
/**
|
|
538
|
-
*
|
|
579
|
+
* Checks whether a service-linked role (SLR) is created for an instance.
|
|
539
580
|
*
|
|
540
581
|
* @param request - CheckServiceLinkedRoleRequest
|
|
541
582
|
* @returns CheckServiceLinkedRoleResponse
|
|
@@ -548,8 +589,8 @@ class Client extends openapi_core_1.default {
|
|
|
548
589
|
* Creates an account that is granted read-only permissions for shard nodes in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
549
590
|
*
|
|
550
591
|
* @remarks
|
|
551
|
-
*
|
|
552
|
-
*
|
|
592
|
+
* - You can create an account for shard nodes only in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
593
|
+
* - The account is granted read-only permissions.
|
|
553
594
|
*
|
|
554
595
|
* @param request - CreateAccountRequest
|
|
555
596
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -602,8 +643,8 @@ class Client extends openapi_core_1.default {
|
|
|
602
643
|
* Creates an account that is granted read-only permissions for shard nodes in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
603
644
|
*
|
|
604
645
|
* @remarks
|
|
605
|
-
*
|
|
606
|
-
*
|
|
646
|
+
* - You can create an account for shard nodes only in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
647
|
+
* - The account is granted read-only permissions.
|
|
607
648
|
*
|
|
608
649
|
* @param request - CreateAccountRequest
|
|
609
650
|
* @returns CreateAccountResponse
|
|
@@ -613,10 +654,10 @@ class Client extends openapi_core_1.default {
|
|
|
613
654
|
return await this.createAccountWithOptions(request, runtime);
|
|
614
655
|
}
|
|
615
656
|
/**
|
|
616
|
-
* Creates a backup
|
|
657
|
+
* Creates a backup for a MongoDB instance.
|
|
617
658
|
*
|
|
618
659
|
* @remarks
|
|
619
|
-
*
|
|
660
|
+
* The instance must be in the Running state.
|
|
620
661
|
*
|
|
621
662
|
* @param request - CreateBackupRequest
|
|
622
663
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -663,10 +704,10 @@ class Client extends openapi_core_1.default {
|
|
|
663
704
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBackupResponse({}));
|
|
664
705
|
}
|
|
665
706
|
/**
|
|
666
|
-
* Creates a backup
|
|
707
|
+
* Creates a backup for a MongoDB instance.
|
|
667
708
|
*
|
|
668
709
|
* @remarks
|
|
669
|
-
*
|
|
710
|
+
* The instance must be in the Running state.
|
|
670
711
|
*
|
|
671
712
|
* @param request - CreateBackupRequest
|
|
672
713
|
* @returns CreateBackupResponse
|
|
@@ -679,9 +720,9 @@ class Client extends openapi_core_1.default {
|
|
|
679
720
|
* Creates or clones an ApsaraDB for MongoDB replica set instance.
|
|
680
721
|
*
|
|
681
722
|
* @remarks
|
|
682
|
-
*
|
|
683
|
-
* For more information about the instance types of ApsaraDB for MongoDB
|
|
684
|
-
* To create sharded cluster
|
|
723
|
+
* Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
724
|
+
* For more information about the instance types of ApsaraDB for MongoDB, see [Instance types]().
|
|
725
|
+
* To create a sharded cluster instance, call the [CreateShardingDBInstance]() operation.
|
|
685
726
|
*
|
|
686
727
|
* @param request - CreateDBInstanceRequest
|
|
687
728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -833,9 +874,9 @@ class Client extends openapi_core_1.default {
|
|
|
833
874
|
* Creates or clones an ApsaraDB for MongoDB replica set instance.
|
|
834
875
|
*
|
|
835
876
|
* @remarks
|
|
836
|
-
*
|
|
837
|
-
* For more information about the instance types of ApsaraDB for MongoDB
|
|
838
|
-
* To create sharded cluster
|
|
877
|
+
* Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
878
|
+
* For more information about the instance types of ApsaraDB for MongoDB, see [Instance types]().
|
|
879
|
+
* To create a sharded cluster instance, call the [CreateShardingDBInstance]() operation.
|
|
839
880
|
*
|
|
840
881
|
* @param request - CreateDBInstanceRequest
|
|
841
882
|
* @returns CreateDBInstanceResponse
|
|
@@ -905,10 +946,10 @@ class Client extends openapi_core_1.default {
|
|
|
905
946
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
906
947
|
}
|
|
907
948
|
/**
|
|
908
|
-
* Adds a shard or mongos node to an ApsaraDB for MongoDB instance.
|
|
949
|
+
* Adds a shard node or a mongos node to an ApsaraDB for MongoDB sharded cluster instance.
|
|
909
950
|
*
|
|
910
951
|
* @remarks
|
|
911
|
-
* Before
|
|
952
|
+
* Before calling this operation, ensure you are familiar with the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
912
953
|
* This operation applies only to sharded cluster instances.
|
|
913
954
|
*
|
|
914
955
|
* @param request - CreateNodeRequest
|
|
@@ -963,6 +1004,15 @@ class Client extends openapi_core_1.default {
|
|
|
963
1004
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
964
1005
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
965
1006
|
}
|
|
1007
|
+
if (!$dara.isNull(request.searchDBInstanceClass)) {
|
|
1008
|
+
query["SearchDBInstanceClass"] = request.searchDBInstanceClass;
|
|
1009
|
+
}
|
|
1010
|
+
if (!$dara.isNull(request.searchNodeCount)) {
|
|
1011
|
+
query["SearchNodeCount"] = request.searchNodeCount;
|
|
1012
|
+
}
|
|
1013
|
+
if (!$dara.isNull(request.searchStorage)) {
|
|
1014
|
+
query["SearchStorage"] = request.searchStorage;
|
|
1015
|
+
}
|
|
966
1016
|
if (!$dara.isNull(request.shardDirect)) {
|
|
967
1017
|
query["ShardDirect"] = request.shardDirect;
|
|
968
1018
|
}
|
|
@@ -983,10 +1033,10 @@ class Client extends openapi_core_1.default {
|
|
|
983
1033
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNodeResponse({}));
|
|
984
1034
|
}
|
|
985
1035
|
/**
|
|
986
|
-
* Adds a shard or mongos node to an ApsaraDB for MongoDB instance.
|
|
1036
|
+
* Adds a shard node or a mongos node to an ApsaraDB for MongoDB sharded cluster instance.
|
|
987
1037
|
*
|
|
988
1038
|
* @remarks
|
|
989
|
-
* Before
|
|
1039
|
+
* Before calling this operation, ensure you are familiar with the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
990
1040
|
* This operation applies only to sharded cluster instances.
|
|
991
1041
|
*
|
|
992
1042
|
* @param request - CreateNodeRequest
|
|
@@ -1083,6 +1133,8 @@ class Client extends openapi_core_1.default {
|
|
|
1083
1133
|
return await this.createNodeBatchWithOptions(request, runtime);
|
|
1084
1134
|
}
|
|
1085
1135
|
/**
|
|
1136
|
+
* Creates a role tag for an instance node.
|
|
1137
|
+
*
|
|
1086
1138
|
* @param request - CreateNodeRoleTagRequest
|
|
1087
1139
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1088
1140
|
* @returns CreateNodeRoleTagResponse
|
|
@@ -1125,6 +1177,8 @@ class Client extends openapi_core_1.default {
|
|
|
1125
1177
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNodeRoleTagResponse({}));
|
|
1126
1178
|
}
|
|
1127
1179
|
/**
|
|
1180
|
+
* Creates a role tag for an instance node.
|
|
1181
|
+
*
|
|
1128
1182
|
* @param request - CreateNodeRoleTagRequest
|
|
1129
1183
|
* @returns CreateNodeRoleTagResponse
|
|
1130
1184
|
*/
|
|
@@ -1133,12 +1187,12 @@ class Client extends openapi_core_1.default {
|
|
|
1133
1187
|
return await this.createNodeRoleTagWithOptions(request, runtime);
|
|
1134
1188
|
}
|
|
1135
1189
|
/**
|
|
1136
|
-
* Creates or clones
|
|
1190
|
+
* Creates or clones a MongoDB sharded cluster instance.
|
|
1137
1191
|
*
|
|
1138
1192
|
* @remarks
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1193
|
+
* - Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
1194
|
+
* - For more information about the instance types of ApsaraDB for MongoDB, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
1195
|
+
* - To create a standalone or replica set instance, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation.
|
|
1142
1196
|
*
|
|
1143
1197
|
* @param request - CreateShardingDBInstanceRequest
|
|
1144
1198
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1278,12 +1332,12 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1332
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateShardingDBInstanceResponse({}));
|
|
1279
1333
|
}
|
|
1280
1334
|
/**
|
|
1281
|
-
* Creates or clones
|
|
1335
|
+
* Creates or clones a MongoDB sharded cluster instance.
|
|
1282
1336
|
*
|
|
1283
1337
|
* @remarks
|
|
1284
|
-
*
|
|
1285
|
-
*
|
|
1286
|
-
*
|
|
1338
|
+
* - Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
1339
|
+
* - For more information about the instance types of ApsaraDB for MongoDB, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
1340
|
+
* - To create a standalone or replica set instance, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation.
|
|
1287
1341
|
*
|
|
1288
1342
|
* @param request - CreateShardingDBInstanceRequest
|
|
1289
1343
|
* @returns CreateShardingDBInstanceResponse
|
|
@@ -1293,7 +1347,11 @@ class Client extends openapi_core_1.default {
|
|
|
1293
1347
|
return await this.createShardingDBInstanceWithOptions(request, runtime);
|
|
1294
1348
|
}
|
|
1295
1349
|
/**
|
|
1296
|
-
*
|
|
1350
|
+
* Deletes a MongoDB backup set.
|
|
1351
|
+
*
|
|
1352
|
+
* @remarks
|
|
1353
|
+
* You can delete only manual backups.
|
|
1354
|
+
* This operation supports only MongoDB instances that use cloud disks.
|
|
1297
1355
|
*
|
|
1298
1356
|
* @param request - DeleteBackupRequest
|
|
1299
1357
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1337,7 +1395,11 @@ class Client extends openapi_core_1.default {
|
|
|
1337
1395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteBackupResponse({}));
|
|
1338
1396
|
}
|
|
1339
1397
|
/**
|
|
1340
|
-
*
|
|
1398
|
+
* Deletes a MongoDB backup set.
|
|
1399
|
+
*
|
|
1400
|
+
* @remarks
|
|
1401
|
+
* You can delete only manual backups.
|
|
1402
|
+
* This operation supports only MongoDB instances that use cloud disks.
|
|
1341
1403
|
*
|
|
1342
1404
|
* @param request - DeleteBackupRequest
|
|
1343
1405
|
* @returns DeleteBackupResponse
|
|
@@ -1347,13 +1409,13 @@ class Client extends openapi_core_1.default {
|
|
|
1347
1409
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
1348
1410
|
}
|
|
1349
1411
|
/**
|
|
1350
|
-
* Releases
|
|
1412
|
+
* Releases a pay-as-you-go MongoDB instance.
|
|
1351
1413
|
*
|
|
1352
1414
|
* @remarks
|
|
1353
|
-
*
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
* > After an instance is released,
|
|
1415
|
+
* The instance must meet the following conditions:
|
|
1416
|
+
* - The instance status is running.
|
|
1417
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
1418
|
+
* > After an instance is released, its data cannot be recovered. Proceed with caution.
|
|
1357
1419
|
*
|
|
1358
1420
|
* @param request - DeleteDBInstanceRequest
|
|
1359
1421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1397,13 +1459,13 @@ class Client extends openapi_core_1.default {
|
|
|
1397
1459
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDBInstanceResponse({}));
|
|
1398
1460
|
}
|
|
1399
1461
|
/**
|
|
1400
|
-
* Releases
|
|
1462
|
+
* Releases a pay-as-you-go MongoDB instance.
|
|
1401
1463
|
*
|
|
1402
1464
|
* @remarks
|
|
1403
|
-
*
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1406
|
-
* > After an instance is released,
|
|
1465
|
+
* The instance must meet the following conditions:
|
|
1466
|
+
* - The instance status is running.
|
|
1467
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
1468
|
+
* > After an instance is released, its data cannot be recovered. Proceed with caution.
|
|
1407
1469
|
*
|
|
1408
1470
|
* @param request - DeleteDBInstanceRequest
|
|
1409
1471
|
* @returns DeleteDBInstanceResponse
|
|
@@ -1413,7 +1475,7 @@ class Client extends openapi_core_1.default {
|
|
|
1413
1475
|
return await this.deleteDBInstanceWithOptions(request, runtime);
|
|
1414
1476
|
}
|
|
1415
1477
|
/**
|
|
1416
|
-
* Deletes a global IP whitelist template.
|
|
1478
|
+
* Deletes a global IP address whitelist template.
|
|
1417
1479
|
*
|
|
1418
1480
|
* @param request - DeleteGlobalSecurityIPGroupRequest
|
|
1419
1481
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1463,7 +1525,7 @@ class Client extends openapi_core_1.default {
|
|
|
1463
1525
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGlobalSecurityIPGroupResponse({}));
|
|
1464
1526
|
}
|
|
1465
1527
|
/**
|
|
1466
|
-
* Deletes a global IP whitelist template.
|
|
1528
|
+
* Deletes a global IP address whitelist template.
|
|
1467
1529
|
*
|
|
1468
1530
|
* @param request - DeleteGlobalSecurityIPGroupRequest
|
|
1469
1531
|
* @returns DeleteGlobalSecurityIPGroupResponse
|
|
@@ -1477,10 +1539,10 @@ class Client extends openapi_core_1.default {
|
|
|
1477
1539
|
*
|
|
1478
1540
|
* @remarks
|
|
1479
1541
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
*
|
|
1483
|
-
*
|
|
1542
|
+
* - The instance is in the Running state.
|
|
1543
|
+
* - The instance is a sharded cluster instance.
|
|
1544
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
1545
|
+
* - The number of the shard or mongos nodes in the instance is greater than two.
|
|
1484
1546
|
*
|
|
1485
1547
|
* @param request - DeleteNodeRequest
|
|
1486
1548
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1531,10 +1593,10 @@ class Client extends openapi_core_1.default {
|
|
|
1531
1593
|
*
|
|
1532
1594
|
* @remarks
|
|
1533
1595
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
1534
|
-
*
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1596
|
+
* - The instance is in the Running state.
|
|
1597
|
+
* - The instance is a sharded cluster instance.
|
|
1598
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
1599
|
+
* - The number of the shard or mongos nodes in the instance is greater than two.
|
|
1538
1600
|
*
|
|
1539
1601
|
* @param request - DeleteNodeRequest
|
|
1540
1602
|
* @returns DeleteNodeResponse
|
|
@@ -1546,9 +1608,6 @@ class Client extends openapi_core_1.default {
|
|
|
1546
1608
|
/**
|
|
1547
1609
|
* Queries the database accounts of an ApsaraDB for MongoDB instance.
|
|
1548
1610
|
*
|
|
1549
|
-
* @remarks
|
|
1550
|
-
* > This operation can be used to query only the information of the root account.
|
|
1551
|
-
*
|
|
1552
1611
|
* @param request - DescribeAccountsRequest
|
|
1553
1612
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1554
1613
|
* @returns DescribeAccountsResponse
|
|
@@ -1593,9 +1652,6 @@ class Client extends openapi_core_1.default {
|
|
|
1593
1652
|
/**
|
|
1594
1653
|
* Queries the database accounts of an ApsaraDB for MongoDB instance.
|
|
1595
1654
|
*
|
|
1596
|
-
* @remarks
|
|
1597
|
-
* > This operation can be used to query only the information of the root account.
|
|
1598
|
-
*
|
|
1599
1655
|
* @param request - DescribeAccountsRequest
|
|
1600
1656
|
* @returns DescribeAccountsResponse
|
|
1601
1657
|
*/
|
|
@@ -1604,6 +1660,8 @@ class Client extends openapi_core_1.default {
|
|
|
1604
1660
|
return await this.describeAccountsWithOptions(request, runtime);
|
|
1605
1661
|
}
|
|
1606
1662
|
/**
|
|
1663
|
+
* Queries the Operation and Maintenance (O&M) task configuration for a MongoDB instance.
|
|
1664
|
+
*
|
|
1607
1665
|
* @param request - DescribeActiveOperationMaintenanceConfigRequest
|
|
1608
1666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1609
1667
|
* @returns DescribeActiveOperationMaintenanceConfigResponse
|
|
@@ -1640,6 +1698,8 @@ class Client extends openapi_core_1.default {
|
|
|
1640
1698
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeActiveOperationMaintenanceConfigResponse({}));
|
|
1641
1699
|
}
|
|
1642
1700
|
/**
|
|
1701
|
+
* Queries the Operation and Maintenance (O&M) task configuration for a MongoDB instance.
|
|
1702
|
+
*
|
|
1643
1703
|
* @param request - DescribeActiveOperationMaintenanceConfigRequest
|
|
1644
1704
|
* @returns DescribeActiveOperationMaintenanceConfigResponse
|
|
1645
1705
|
*/
|
|
@@ -1648,7 +1708,7 @@ class Client extends openapi_core_1.default {
|
|
|
1648
1708
|
return await this.describeActiveOperationMaintenanceConfigWithOptions(request, runtime);
|
|
1649
1709
|
}
|
|
1650
1710
|
/**
|
|
1651
|
-
* Queries the detailed information about
|
|
1711
|
+
* Queries the detailed information about tasks of an ApsaraDB for MongoDB instance.
|
|
1652
1712
|
*
|
|
1653
1713
|
* @param request - DescribeActiveOperationTaskRequest
|
|
1654
1714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1704,7 +1764,7 @@ class Client extends openapi_core_1.default {
|
|
|
1704
1764
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeActiveOperationTaskResponse({}));
|
|
1705
1765
|
}
|
|
1706
1766
|
/**
|
|
1707
|
-
* Queries the detailed information about
|
|
1767
|
+
* Queries the detailed information about tasks of an ApsaraDB for MongoDB instance.
|
|
1708
1768
|
*
|
|
1709
1769
|
* @param request - DescribeActiveOperationTaskRequest
|
|
1710
1770
|
* @returns DescribeActiveOperationTaskResponse
|
|
@@ -1765,6 +1825,8 @@ class Client extends openapi_core_1.default {
|
|
|
1765
1825
|
return await this.describeActiveOperationTaskCountWithOptions(request, runtime);
|
|
1766
1826
|
}
|
|
1767
1827
|
/**
|
|
1828
|
+
* Queries the types and number of O&M tasks for a MongoDB instance.
|
|
1829
|
+
*
|
|
1768
1830
|
* @param request - DescribeActiveOperationTaskRegionRequest
|
|
1769
1831
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1770
1832
|
* @returns DescribeActiveOperationTaskRegionResponse
|
|
@@ -1807,6 +1869,8 @@ class Client extends openapi_core_1.default {
|
|
|
1807
1869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeActiveOperationTaskRegionResponse({}));
|
|
1808
1870
|
}
|
|
1809
1871
|
/**
|
|
1872
|
+
* Queries the types and number of O&M tasks for a MongoDB instance.
|
|
1873
|
+
*
|
|
1810
1874
|
* @param request - DescribeActiveOperationTaskRegionRequest
|
|
1811
1875
|
* @returns DescribeActiveOperationTaskRegionResponse
|
|
1812
1876
|
*/
|
|
@@ -1875,7 +1939,7 @@ class Client extends openapi_core_1.default {
|
|
|
1875
1939
|
return await this.describeActiveOperationTaskTypeWithOptions(request, runtime);
|
|
1876
1940
|
}
|
|
1877
1941
|
/**
|
|
1878
|
-
* Queries
|
|
1942
|
+
* Queries O&M task details for MongoDB instances.
|
|
1879
1943
|
*
|
|
1880
1944
|
* @param request - DescribeActiveOperationTasksRequest
|
|
1881
1945
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1949,7 +2013,7 @@ class Client extends openapi_core_1.default {
|
|
|
1949
2013
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeActiveOperationTasksResponse({}));
|
|
1950
2014
|
}
|
|
1951
2015
|
/**
|
|
1952
|
-
* Queries
|
|
2016
|
+
* Queries O&M task details for MongoDB instances.
|
|
1953
2017
|
*
|
|
1954
2018
|
* @param request - DescribeActiveOperationTasksRequest
|
|
1955
2019
|
* @returns DescribeActiveOperationTasksResponse
|
|
@@ -1959,12 +2023,12 @@ class Client extends openapi_core_1.default {
|
|
|
1959
2023
|
return await this.describeActiveOperationTasksWithOptions(request, runtime);
|
|
1960
2024
|
}
|
|
1961
2025
|
/**
|
|
1962
|
-
* Queries the
|
|
2026
|
+
* Queries the audit log types collected for a MongoDB instance.
|
|
1963
2027
|
*
|
|
1964
2028
|
* @remarks
|
|
1965
|
-
*
|
|
1966
|
-
*
|
|
1967
|
-
*
|
|
2029
|
+
* - The instance must be in the running state when you call this operation.
|
|
2030
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
2031
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
1968
2032
|
*
|
|
1969
2033
|
* @param request - DescribeAuditLogFilterRequest
|
|
1970
2034
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2008,12 +2072,12 @@ class Client extends openapi_core_1.default {
|
|
|
2008
2072
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditLogFilterResponse({}));
|
|
2009
2073
|
}
|
|
2010
2074
|
/**
|
|
2011
|
-
* Queries the
|
|
2075
|
+
* Queries the audit log types collected for a MongoDB instance.
|
|
2012
2076
|
*
|
|
2013
2077
|
* @remarks
|
|
2014
|
-
*
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2078
|
+
* - The instance must be in the running state when you call this operation.
|
|
2079
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
2080
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
2017
2081
|
*
|
|
2018
2082
|
* @param request - DescribeAuditLogFilterRequest
|
|
2019
2083
|
* @returns DescribeAuditLogFilterResponse
|
|
@@ -2023,12 +2087,12 @@ class Client extends openapi_core_1.default {
|
|
|
2023
2087
|
return await this.describeAuditLogFilterWithOptions(request, runtime);
|
|
2024
2088
|
}
|
|
2025
2089
|
/**
|
|
2026
|
-
*
|
|
2090
|
+
* Checks whether audit logging is enabled for a MongoDB instance.
|
|
2027
2091
|
*
|
|
2028
2092
|
* @remarks
|
|
2029
|
-
*
|
|
2030
|
-
*
|
|
2031
|
-
*
|
|
2093
|
+
* - The instance must be in the running state.
|
|
2094
|
+
* - This operation is available only for **General-purpose Local Disk Edition** and **Dedicated Local Disk Edition** instances.
|
|
2095
|
+
* - You can call this operation up to 30 times per minute. Calls that exceed this limit are throttled. To make frequent calls, use Log Service. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
2032
2096
|
*
|
|
2033
2097
|
* @param request - DescribeAuditPolicyRequest
|
|
2034
2098
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2069,12 +2133,12 @@ class Client extends openapi_core_1.default {
|
|
|
2069
2133
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditPolicyResponse({}));
|
|
2070
2134
|
}
|
|
2071
2135
|
/**
|
|
2072
|
-
*
|
|
2136
|
+
* Checks whether audit logging is enabled for a MongoDB instance.
|
|
2073
2137
|
*
|
|
2074
2138
|
* @remarks
|
|
2075
|
-
*
|
|
2076
|
-
*
|
|
2077
|
-
*
|
|
2139
|
+
* - The instance must be in the running state.
|
|
2140
|
+
* - This operation is available only for **General-purpose Local Disk Edition** and **Dedicated Local Disk Edition** instances.
|
|
2141
|
+
* - You can call this operation up to 30 times per minute. Calls that exceed this limit are throttled. To make frequent calls, use Log Service. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
2078
2142
|
*
|
|
2079
2143
|
* @param request - DescribeAuditPolicyRequest
|
|
2080
2144
|
* @returns DescribeAuditPolicyResponse
|
|
@@ -2084,12 +2148,12 @@ class Client extends openapi_core_1.default {
|
|
|
2084
2148
|
return await this.describeAuditPolicyWithOptions(request, runtime);
|
|
2085
2149
|
}
|
|
2086
2150
|
/**
|
|
2087
|
-
* Queries
|
|
2151
|
+
* Queries audit log entries for a MongoDB instance.
|
|
2088
2152
|
*
|
|
2089
2153
|
* @remarks
|
|
2090
|
-
*
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2154
|
+
* - When you call this operation, ensure that the audit log feature of the instance is enabled. Otherwise, the operation returns an empty audit log.
|
|
2155
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
2156
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
2093
2157
|
*
|
|
2094
2158
|
* @param request - DescribeAuditRecordsRequest
|
|
2095
2159
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2163,12 +2227,12 @@ class Client extends openapi_core_1.default {
|
|
|
2163
2227
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditRecordsResponse({}));
|
|
2164
2228
|
}
|
|
2165
2229
|
/**
|
|
2166
|
-
* Queries
|
|
2230
|
+
* Queries audit log entries for a MongoDB instance.
|
|
2167
2231
|
*
|
|
2168
2232
|
* @remarks
|
|
2169
|
-
*
|
|
2170
|
-
*
|
|
2171
|
-
*
|
|
2233
|
+
* - When you call this operation, ensure that the audit log feature of the instance is enabled. Otherwise, the operation returns an empty audit log.
|
|
2234
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
2235
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
2172
2236
|
*
|
|
2173
2237
|
* @param request - DescribeAuditRecordsRequest
|
|
2174
2238
|
* @returns DescribeAuditRecordsResponse
|
|
@@ -2277,7 +2341,7 @@ class Client extends openapi_core_1.default {
|
|
|
2277
2341
|
return await this.describeAvailabilityZonesWithOptions(request, runtime);
|
|
2278
2342
|
}
|
|
2279
2343
|
/**
|
|
2280
|
-
*
|
|
2344
|
+
* Queries the engine versions to which an ApsaraDB for MongoDB instance can be upgraded.
|
|
2281
2345
|
*
|
|
2282
2346
|
* @param request - DescribeAvailableEngineVersionRequest
|
|
2283
2347
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2318,7 +2382,7 @@ class Client extends openapi_core_1.default {
|
|
|
2318
2382
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAvailableEngineVersionResponse({}));
|
|
2319
2383
|
}
|
|
2320
2384
|
/**
|
|
2321
|
-
*
|
|
2385
|
+
* Queries the engine versions to which an ApsaraDB for MongoDB instance can be upgraded.
|
|
2322
2386
|
*
|
|
2323
2387
|
* @param request - DescribeAvailableEngineVersionRequest
|
|
2324
2388
|
* @returns DescribeAvailableEngineVersionResponse
|
|
@@ -2408,11 +2472,11 @@ class Client extends openapi_core_1.default {
|
|
|
2408
2472
|
* @remarks
|
|
2409
2473
|
* You can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore a database for an ApsaraDB for MongoDB instance. For more information, see [Restore one database of an ApsaraDB for MongoDB instance](https://help.aliyun.com/document_detail/112274.html).
|
|
2410
2474
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
2411
|
-
*
|
|
2412
|
-
*
|
|
2413
|
-
*
|
|
2414
|
-
*
|
|
2415
|
-
*
|
|
2475
|
+
* - The instance was created after March 26, 2019.
|
|
2476
|
+
* - The instance is located in the China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), or Singapore region. Other regions are not supported.
|
|
2477
|
+
* - The instance is a replica set instance.
|
|
2478
|
+
* - The instance runs MongoDB 3.4, MongoDB 4.0, or MongoDB 4.2. In addition, the instance uses local disks to store data.
|
|
2479
|
+
* - The storage engine of the instance is WiredTiger.
|
|
2416
2480
|
*
|
|
2417
2481
|
* @param request - DescribeBackupDBsRequest
|
|
2418
2482
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2476,11 +2540,11 @@ class Client extends openapi_core_1.default {
|
|
|
2476
2540
|
* @remarks
|
|
2477
2541
|
* You can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore a database for an ApsaraDB for MongoDB instance. For more information, see [Restore one database of an ApsaraDB for MongoDB instance](https://help.aliyun.com/document_detail/112274.html).
|
|
2478
2542
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
2479
|
-
*
|
|
2480
|
-
*
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
2483
|
-
*
|
|
2543
|
+
* - The instance was created after March 26, 2019.
|
|
2544
|
+
* - The instance is located in the China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), or Singapore region. Other regions are not supported.
|
|
2545
|
+
* - The instance is a replica set instance.
|
|
2546
|
+
* - The instance runs MongoDB 3.4, MongoDB 4.0, or MongoDB 4.2. In addition, the instance uses local disks to store data.
|
|
2547
|
+
* - The storage engine of the instance is WiredTiger.
|
|
2484
2548
|
*
|
|
2485
2549
|
* @param request - DescribeBackupDBsRequest
|
|
2486
2550
|
* @returns DescribeBackupDBsResponse
|
|
@@ -2490,7 +2554,7 @@ class Client extends openapi_core_1.default {
|
|
|
2490
2554
|
return await this.describeBackupDBsWithOptions(request, runtime);
|
|
2491
2555
|
}
|
|
2492
2556
|
/**
|
|
2493
|
-
* Queries the backup policy of
|
|
2557
|
+
* Queries the backup policy of a MongoDB instance.
|
|
2494
2558
|
*
|
|
2495
2559
|
* @param request - DescribeBackupPolicyRequest
|
|
2496
2560
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2540,7 +2604,7 @@ class Client extends openapi_core_1.default {
|
|
|
2540
2604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupPolicyResponse({}));
|
|
2541
2605
|
}
|
|
2542
2606
|
/**
|
|
2543
|
-
* Queries the backup policy of
|
|
2607
|
+
* Queries the backup policy of a MongoDB instance.
|
|
2544
2608
|
*
|
|
2545
2609
|
* @param request - DescribeBackupPolicyRequest
|
|
2546
2610
|
* @returns DescribeBackupPolicyResponse
|
|
@@ -2550,7 +2614,10 @@ class Client extends openapi_core_1.default {
|
|
|
2550
2614
|
return await this.describeBackupPolicyWithOptions(request, runtime);
|
|
2551
2615
|
}
|
|
2552
2616
|
/**
|
|
2553
|
-
* Queries the
|
|
2617
|
+
* Queries the backup usage for a MongoDB replica set or sharded cluster instance that uses cloud disks.
|
|
2618
|
+
*
|
|
2619
|
+
* @remarks
|
|
2620
|
+
* Backup usage for a sharded cluster is billed on a per-shard basis. You can use this operation to query the backup usage for a single shard.
|
|
2554
2621
|
*
|
|
2555
2622
|
* @param request - DescribeBackupStorageRequest
|
|
2556
2623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2597,7 +2664,10 @@ class Client extends openapi_core_1.default {
|
|
|
2597
2664
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupStorageResponse({}));
|
|
2598
2665
|
}
|
|
2599
2666
|
/**
|
|
2600
|
-
* Queries the
|
|
2667
|
+
* Queries the backup usage for a MongoDB replica set or sharded cluster instance that uses cloud disks.
|
|
2668
|
+
*
|
|
2669
|
+
* @remarks
|
|
2670
|
+
* Backup usage for a sharded cluster is billed on a per-shard basis. You can use this operation to query the backup usage for a single shard.
|
|
2601
2671
|
*
|
|
2602
2672
|
* @param request - DescribeBackupStorageRequest
|
|
2603
2673
|
* @returns DescribeBackupStorageResponse
|
|
@@ -2607,7 +2677,7 @@ class Client extends openapi_core_1.default {
|
|
|
2607
2677
|
return await this.describeBackupStorageWithOptions(request, runtime);
|
|
2608
2678
|
}
|
|
2609
2679
|
/**
|
|
2610
|
-
* Queries backup
|
|
2680
|
+
* Queries ongoing backup jobs for MongoDB ReplicaSet or sharded cluster instances that use cloud disks.
|
|
2611
2681
|
*
|
|
2612
2682
|
* @param request - DescribeBackupTasksRequest
|
|
2613
2683
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2654,7 +2724,7 @@ class Client extends openapi_core_1.default {
|
|
|
2654
2724
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupTasksResponse({}));
|
|
2655
2725
|
}
|
|
2656
2726
|
/**
|
|
2657
|
-
* Queries backup
|
|
2727
|
+
* Queries ongoing backup jobs for MongoDB ReplicaSet or sharded cluster instances that use cloud disks.
|
|
2658
2728
|
*
|
|
2659
2729
|
* @param request - DescribeBackupTasksRequest
|
|
2660
2730
|
* @returns DescribeBackupTasksResponse
|
|
@@ -2664,7 +2734,7 @@ class Client extends openapi_core_1.default {
|
|
|
2664
2734
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
2665
2735
|
}
|
|
2666
2736
|
/**
|
|
2667
|
-
* Queries the
|
|
2737
|
+
* Queries the backups of a MongoDB instance.
|
|
2668
2738
|
*
|
|
2669
2739
|
* @param request - DescribeBackupsRequest
|
|
2670
2740
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2735,7 +2805,7 @@ class Client extends openapi_core_1.default {
|
|
|
2735
2805
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupsResponse({}));
|
|
2736
2806
|
}
|
|
2737
2807
|
/**
|
|
2738
|
-
* Queries the
|
|
2808
|
+
* Queries the backups of a MongoDB instance.
|
|
2739
2809
|
*
|
|
2740
2810
|
* @param request - DescribeBackupsRequest
|
|
2741
2811
|
* @returns DescribeBackupsResponse
|
|
@@ -2745,11 +2815,92 @@ class Client extends openapi_core_1.default {
|
|
|
2745
2815
|
return await this.describeBackupsWithOptions(request, runtime);
|
|
2746
2816
|
}
|
|
2747
2817
|
/**
|
|
2748
|
-
*
|
|
2818
|
+
* Query log backup files for an ApsaraDB for MongoDB instance.
|
|
2819
|
+
*
|
|
2820
|
+
* @param request - DescribeBinlogFilesRequest
|
|
2821
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2822
|
+
* @returns DescribeBinlogFilesResponse
|
|
2823
|
+
*/
|
|
2824
|
+
async describeBinlogFilesWithOptions(request, runtime) {
|
|
2825
|
+
request.validate();
|
|
2826
|
+
let query = {};
|
|
2827
|
+
if (!$dara.isNull(request.binlogId)) {
|
|
2828
|
+
query["BinlogId"] = request.binlogId;
|
|
2829
|
+
}
|
|
2830
|
+
if (!$dara.isNull(request.DBInstanceId)) {
|
|
2831
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
2832
|
+
}
|
|
2833
|
+
if (!$dara.isNull(request.destRegion)) {
|
|
2834
|
+
query["DestRegion"] = request.destRegion;
|
|
2835
|
+
}
|
|
2836
|
+
if (!$dara.isNull(request.endTime)) {
|
|
2837
|
+
query["EndTime"] = request.endTime;
|
|
2838
|
+
}
|
|
2839
|
+
if (!$dara.isNull(request.nodeId)) {
|
|
2840
|
+
query["NodeId"] = request.nodeId;
|
|
2841
|
+
}
|
|
2842
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
2843
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
2844
|
+
}
|
|
2845
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2846
|
+
query["OwnerId"] = request.ownerId;
|
|
2847
|
+
}
|
|
2848
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2849
|
+
query["PageNumber"] = request.pageNumber;
|
|
2850
|
+
}
|
|
2851
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2852
|
+
query["PageSize"] = request.pageSize;
|
|
2853
|
+
}
|
|
2854
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2855
|
+
query["RegionId"] = request.regionId;
|
|
2856
|
+
}
|
|
2857
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
2858
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
2859
|
+
}
|
|
2860
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2861
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2862
|
+
}
|
|
2863
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2864
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2865
|
+
}
|
|
2866
|
+
if (!$dara.isNull(request.srcRegion)) {
|
|
2867
|
+
query["SrcRegion"] = request.srcRegion;
|
|
2868
|
+
}
|
|
2869
|
+
if (!$dara.isNull(request.startTime)) {
|
|
2870
|
+
query["StartTime"] = request.startTime;
|
|
2871
|
+
}
|
|
2872
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2873
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2874
|
+
});
|
|
2875
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2876
|
+
action: "DescribeBinlogFiles",
|
|
2877
|
+
version: "2015-12-01",
|
|
2878
|
+
protocol: "HTTPS",
|
|
2879
|
+
pathname: "/",
|
|
2880
|
+
method: "POST",
|
|
2881
|
+
authType: "AK",
|
|
2882
|
+
style: "RPC",
|
|
2883
|
+
reqBodyType: "formData",
|
|
2884
|
+
bodyType: "json",
|
|
2885
|
+
});
|
|
2886
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBinlogFilesResponse({}));
|
|
2887
|
+
}
|
|
2888
|
+
/**
|
|
2889
|
+
* Query log backup files for an ApsaraDB for MongoDB instance.
|
|
2890
|
+
*
|
|
2891
|
+
* @param request - DescribeBinlogFilesRequest
|
|
2892
|
+
* @returns DescribeBinlogFilesResponse
|
|
2893
|
+
*/
|
|
2894
|
+
async describeBinlogFiles(request) {
|
|
2895
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2896
|
+
return await this.describeBinlogFilesWithOptions(request, runtime);
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* Queries the cluster backup sets for an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
2749
2900
|
*
|
|
2750
2901
|
* @remarks
|
|
2751
|
-
* For
|
|
2752
|
-
*
|
|
2902
|
+
* For sharded cluster instances that use cloud disks and were created before October 19, 2023, you must first call the [TransferClusterBackup](https://help.aliyun.com/document_detail/2587931.html) operation to convert shard backups to cluster backups.
|
|
2903
|
+
* Sharded cluster instances that use cloud disks and were created after October 19, 2023 use cluster backups by default.
|
|
2753
2904
|
*
|
|
2754
2905
|
* @param request - DescribeClusterBackupsRequest
|
|
2755
2906
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2820,11 +2971,11 @@ class Client extends openapi_core_1.default {
|
|
|
2820
2971
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterBackupsResponse({}));
|
|
2821
2972
|
}
|
|
2822
2973
|
/**
|
|
2823
|
-
* Queries the backup sets
|
|
2974
|
+
* Queries the cluster backup sets for an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
|
|
2824
2975
|
*
|
|
2825
2976
|
* @remarks
|
|
2826
|
-
* For
|
|
2827
|
-
*
|
|
2977
|
+
* For sharded cluster instances that use cloud disks and were created before October 19, 2023, you must first call the [TransferClusterBackup](https://help.aliyun.com/document_detail/2587931.html) operation to convert shard backups to cluster backups.
|
|
2978
|
+
* Sharded cluster instances that use cloud disks and were created after October 19, 2023 use cluster backups by default.
|
|
2828
2979
|
*
|
|
2829
2980
|
* @param request - DescribeClusterBackupsRequest
|
|
2830
2981
|
* @returns DescribeClusterBackupsResponse
|
|
@@ -2834,11 +2985,11 @@ class Client extends openapi_core_1.default {
|
|
|
2834
2985
|
return await this.describeClusterBackupsWithOptions(request, runtime);
|
|
2835
2986
|
}
|
|
2836
2987
|
/**
|
|
2837
|
-
* Queries the time range
|
|
2988
|
+
* Queries the restorable time range of a sharded cluster instance that uses cloud disks in ApsaraDB for MongoDB.
|
|
2838
2989
|
*
|
|
2839
2990
|
* @remarks
|
|
2840
|
-
*
|
|
2841
|
-
*
|
|
2991
|
+
* - The MongoDB instance must be a sharded cluster instance that runs major engine version 4.4 or later and uses standard SSDs as the storage pattern.
|
|
2992
|
+
* - Only instances created before October 19, 2023 need to invoke the TransferClusterBackup operation to switch to the cluster backup mode. Instances that have been switched to the cluster backup mode or sharded cluster instances with cloud disks created on or after October 19, 2023 can directly invoke this operation.
|
|
2842
2993
|
*
|
|
2843
2994
|
* @param request - DescribeClusterRecoverTimeRequest
|
|
2844
2995
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2853,6 +3004,9 @@ class Client extends openapi_core_1.default {
|
|
|
2853
3004
|
if (!$dara.isNull(request.destRegion)) {
|
|
2854
3005
|
query["DestRegion"] = request.destRegion;
|
|
2855
3006
|
}
|
|
3007
|
+
if (!$dara.isNull(request.onlyDbTableRecovery)) {
|
|
3008
|
+
query["OnlyDbTableRecovery"] = request.onlyDbTableRecovery;
|
|
3009
|
+
}
|
|
2856
3010
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
2857
3011
|
query["OwnerAccount"] = request.ownerAccount;
|
|
2858
3012
|
}
|
|
@@ -2888,11 +3042,11 @@ class Client extends openapi_core_1.default {
|
|
|
2888
3042
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterRecoverTimeResponse({}));
|
|
2889
3043
|
}
|
|
2890
3044
|
/**
|
|
2891
|
-
* Queries the time range
|
|
3045
|
+
* Queries the restorable time range of a sharded cluster instance that uses cloud disks in ApsaraDB for MongoDB.
|
|
2892
3046
|
*
|
|
2893
3047
|
* @remarks
|
|
2894
|
-
*
|
|
2895
|
-
*
|
|
3048
|
+
* - The MongoDB instance must be a sharded cluster instance that runs major engine version 4.4 or later and uses standard SSDs as the storage pattern.
|
|
3049
|
+
* - Only instances created before October 19, 2023 need to invoke the TransferClusterBackup operation to switch to the cluster backup mode. Instances that have been switched to the cluster backup mode or sharded cluster instances with cloud disks created on or after October 19, 2023 can directly invoke this operation.
|
|
2896
3050
|
*
|
|
2897
3051
|
* @param request - DescribeClusterRecoverTimeRequest
|
|
2898
3052
|
* @returns DescribeClusterRecoverTimeResponse
|
|
@@ -2902,7 +3056,7 @@ class Client extends openapi_core_1.default {
|
|
|
2902
3056
|
return await this.describeClusterRecoverTimeWithOptions(request, runtime);
|
|
2903
3057
|
}
|
|
2904
3058
|
/**
|
|
2905
|
-
* Queries
|
|
3059
|
+
* Queries information about an ApsaraDB for MongoDB instance.
|
|
2906
3060
|
*
|
|
2907
3061
|
* @param request - DescribeDBInstanceAttributeRequest
|
|
2908
3062
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2955,7 +3109,7 @@ class Client extends openapi_core_1.default {
|
|
|
2955
3109
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstanceAttributeResponse({}));
|
|
2956
3110
|
}
|
|
2957
3111
|
/**
|
|
2958
|
-
* Queries
|
|
3112
|
+
* Queries information about an ApsaraDB for MongoDB instance.
|
|
2959
3113
|
*
|
|
2960
3114
|
* @param request - DescribeDBInstanceAttributeRequest
|
|
2961
3115
|
* @returns DescribeDBInstanceAttributeResponse
|
|
@@ -2965,7 +3119,7 @@ class Client extends openapi_core_1.default {
|
|
|
2965
3119
|
return await this.describeDBInstanceAttributeWithOptions(request, runtime);
|
|
2966
3120
|
}
|
|
2967
3121
|
/**
|
|
2968
|
-
* Queries the
|
|
3122
|
+
* Queries the encryption key of a MongoDB instance.
|
|
2969
3123
|
*
|
|
2970
3124
|
* @remarks
|
|
2971
3125
|
* When you call the DescribeDBInstanceEncryptionKey operation, the instance must have transparent data encryption (TDE) enabled in BYOK mode. You can call the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation to enable TDE.
|
|
@@ -3012,7 +3166,7 @@ class Client extends openapi_core_1.default {
|
|
|
3012
3166
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstanceEncryptionKeyResponse({}));
|
|
3013
3167
|
}
|
|
3014
3168
|
/**
|
|
3015
|
-
* Queries the
|
|
3169
|
+
* Queries the encryption key of a MongoDB instance.
|
|
3016
3170
|
*
|
|
3017
3171
|
* @remarks
|
|
3018
3172
|
* When you call the DescribeDBInstanceEncryptionKey operation, the instance must have transparent data encryption (TDE) enabled in BYOK mode. You can call the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation to enable TDE.
|
|
@@ -3076,7 +3230,7 @@ class Client extends openapi_core_1.default {
|
|
|
3076
3230
|
return await this.describeDBInstanceMonitorWithOptions(request, runtime);
|
|
3077
3231
|
}
|
|
3078
3232
|
/**
|
|
3079
|
-
* Queries the performance data of
|
|
3233
|
+
* Queries the performance data of a MongoDB instance.
|
|
3080
3234
|
*
|
|
3081
3235
|
* @param request - DescribeDBInstancePerformanceRequest
|
|
3082
3236
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3141,7 +3295,7 @@ class Client extends openapi_core_1.default {
|
|
|
3141
3295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstancePerformanceResponse({}));
|
|
3142
3296
|
}
|
|
3143
3297
|
/**
|
|
3144
|
-
* Queries the performance data of
|
|
3298
|
+
* Queries the performance data of a MongoDB instance.
|
|
3145
3299
|
*
|
|
3146
3300
|
* @param request - DescribeDBInstancePerformanceRequest
|
|
3147
3301
|
* @returns DescribeDBInstancePerformanceResponse
|
|
@@ -3151,13 +3305,14 @@ class Client extends openapi_core_1.default {
|
|
|
3151
3305
|
return await this.describeDBInstancePerformanceWithOptions(request, runtime);
|
|
3152
3306
|
}
|
|
3153
3307
|
/**
|
|
3154
|
-
*
|
|
3308
|
+
* Query SSL configuration details for a MongoDB instance.
|
|
3155
3309
|
*
|
|
3156
3310
|
* @remarks
|
|
3157
|
-
*
|
|
3158
|
-
*
|
|
3159
|
-
*
|
|
3160
|
-
*
|
|
3311
|
+
* To use this operation, the instance must meet the following requirements:
|
|
3312
|
+
* - The instance status is Running.
|
|
3313
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
3314
|
+
* - The replica set instance must be version 3.4 or later.
|
|
3315
|
+
* - The sharded cluster instance must use Enhanced SSDs (ESSDs).
|
|
3161
3316
|
*
|
|
3162
3317
|
* @param request - DescribeDBInstanceSSLRequest
|
|
3163
3318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3198,13 +3353,14 @@ class Client extends openapi_core_1.default {
|
|
|
3198
3353
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstanceSSLResponse({}));
|
|
3199
3354
|
}
|
|
3200
3355
|
/**
|
|
3201
|
-
*
|
|
3356
|
+
* Query SSL configuration details for a MongoDB instance.
|
|
3202
3357
|
*
|
|
3203
3358
|
* @remarks
|
|
3204
|
-
*
|
|
3205
|
-
*
|
|
3206
|
-
*
|
|
3207
|
-
*
|
|
3359
|
+
* To use this operation, the instance must meet the following requirements:
|
|
3360
|
+
* - The instance status is Running.
|
|
3361
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
3362
|
+
* - The replica set instance must be version 3.4 or later.
|
|
3363
|
+
* - The sharded cluster instance must use Enhanced SSDs (ESSDs).
|
|
3208
3364
|
*
|
|
3209
3365
|
* @param request - DescribeDBInstanceSSLRequest
|
|
3210
3366
|
* @returns DescribeDBInstanceSSLResponse
|
|
@@ -3214,7 +3370,7 @@ class Client extends openapi_core_1.default {
|
|
|
3214
3370
|
return await this.describeDBInstanceSSLWithOptions(request, runtime);
|
|
3215
3371
|
}
|
|
3216
3372
|
/**
|
|
3217
|
-
*
|
|
3373
|
+
* Gets instance type details.
|
|
3218
3374
|
*
|
|
3219
3375
|
* @param request - DescribeDBInstanceSpecInfoRequest
|
|
3220
3376
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3258,7 +3414,7 @@ class Client extends openapi_core_1.default {
|
|
|
3258
3414
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstanceSpecInfoResponse({}));
|
|
3259
3415
|
}
|
|
3260
3416
|
/**
|
|
3261
|
-
*
|
|
3417
|
+
* Gets instance type details.
|
|
3262
3418
|
*
|
|
3263
3419
|
* @param request - DescribeDBInstanceSpecInfoRequest
|
|
3264
3420
|
* @returns DescribeDBInstanceSpecInfoResponse
|
|
@@ -3272,8 +3428,8 @@ class Client extends openapi_core_1.default {
|
|
|
3272
3428
|
*
|
|
3273
3429
|
* @remarks
|
|
3274
3430
|
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
3275
|
-
*
|
|
3276
|
-
*
|
|
3431
|
+
* - The instance is a replica set or sharded cluster instance.
|
|
3432
|
+
* - The instance uses local physical disks to store data.
|
|
3277
3433
|
*
|
|
3278
3434
|
* @param request - DescribeDBInstanceSwitchLogRequest
|
|
3279
3435
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3321,8 +3477,8 @@ class Client extends openapi_core_1.default {
|
|
|
3321
3477
|
*
|
|
3322
3478
|
* @remarks
|
|
3323
3479
|
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
3324
|
-
*
|
|
3325
|
-
*
|
|
3480
|
+
* - The instance is a replica set or sharded cluster instance.
|
|
3481
|
+
* - The instance uses local physical disks to store data.
|
|
3326
3482
|
*
|
|
3327
3483
|
* @param request - DescribeDBInstanceSwitchLogRequest
|
|
3328
3484
|
* @returns DescribeDBInstanceSwitchLogResponse
|
|
@@ -3335,11 +3491,11 @@ class Client extends openapi_core_1.default {
|
|
|
3335
3491
|
* Queries whether Transparent Data Encryption (TDE) is enabled for an ApsaraDB for MongoDB instance.
|
|
3336
3492
|
*
|
|
3337
3493
|
* @remarks
|
|
3338
|
-
* >
|
|
3339
|
-
*
|
|
3340
|
-
*
|
|
3341
|
-
*
|
|
3342
|
-
*
|
|
3494
|
+
* > For more information about this feature, see [Settings for transparent data encryption TDE](https://help.aliyun.com/document_detail/131048.html).
|
|
3495
|
+
* When you invoke this operation, the instance must meet the following conditions:
|
|
3496
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
3497
|
+
* - The storage DPI engine of the instance is WiredTiger.
|
|
3498
|
+
* - The database DPI engine version of the instance is 4.0 or 4.2. If the database DPI engine version is earlier than the required version, you can invoke the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database DPI engine version.
|
|
3343
3499
|
*
|
|
3344
3500
|
* @param request - DescribeDBInstanceTDEInfoRequest
|
|
3345
3501
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3383,11 +3539,11 @@ class Client extends openapi_core_1.default {
|
|
|
3383
3539
|
* Queries whether Transparent Data Encryption (TDE) is enabled for an ApsaraDB for MongoDB instance.
|
|
3384
3540
|
*
|
|
3385
3541
|
* @remarks
|
|
3386
|
-
* >
|
|
3387
|
-
*
|
|
3388
|
-
*
|
|
3389
|
-
*
|
|
3390
|
-
*
|
|
3542
|
+
* > For more information about this feature, see [Settings for transparent data encryption TDE](https://help.aliyun.com/document_detail/131048.html).
|
|
3543
|
+
* When you invoke this operation, the instance must meet the following conditions:
|
|
3544
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
3545
|
+
* - The storage DPI engine of the instance is WiredTiger.
|
|
3546
|
+
* - The database DPI engine version of the instance is 4.0 or 4.2. If the database DPI engine version is earlier than the required version, you can invoke the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database DPI engine version.
|
|
3391
3547
|
*
|
|
3392
3548
|
* @param request - DescribeDBInstanceTDEInfoRequest
|
|
3393
3549
|
* @returns DescribeDBInstanceTDEInfoResponse
|
|
@@ -3397,10 +3553,11 @@ class Client extends openapi_core_1.default {
|
|
|
3397
3553
|
return await this.describeDBInstanceTDEInfoWithOptions(request, runtime);
|
|
3398
3554
|
}
|
|
3399
3555
|
/**
|
|
3400
|
-
* Queries a list of
|
|
3556
|
+
* Queries a list of MongoDB instances.
|
|
3401
3557
|
*
|
|
3402
3558
|
* @remarks
|
|
3403
|
-
*
|
|
3559
|
+
* <props="china">By default, this operation queries a list of replica set instances, which includes standalone instances. If you do not specify the **DBInstanceType** request parameter, the default value is **replicate**. To query a list of sharded cluster instances, set **DBInstanceType** to **sharding**. To query a list of serverless instances, set **DBInstanceType** to **serverless**.
|
|
3560
|
+
* <props="intl">By default, this operation queries a list of replica set instances, which includes standalone instances. If you do not specify the **DBInstanceType** request parameter, the default value is **replicate**. To query a list of sharded cluster instances, set **DBInstanceType** to **sharding**.
|
|
3404
3561
|
*
|
|
3405
3562
|
* @param request - DescribeDBInstancesRequest
|
|
3406
3563
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3504,10 +3661,11 @@ class Client extends openapi_core_1.default {
|
|
|
3504
3661
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstancesResponse({}));
|
|
3505
3662
|
}
|
|
3506
3663
|
/**
|
|
3507
|
-
* Queries a list of
|
|
3664
|
+
* Queries a list of MongoDB instances.
|
|
3508
3665
|
*
|
|
3509
3666
|
* @remarks
|
|
3510
|
-
*
|
|
3667
|
+
* <props="china">By default, this operation queries a list of replica set instances, which includes standalone instances. If you do not specify the **DBInstanceType** request parameter, the default value is **replicate**. To query a list of sharded cluster instances, set **DBInstanceType** to **sharding**. To query a list of serverless instances, set **DBInstanceType** to **serverless**.
|
|
3668
|
+
* <props="intl">By default, this operation queries a list of replica set instances, which includes standalone instances. If you do not specify the **DBInstanceType** request parameter, the default value is **replicate**. To query a list of sharded cluster instances, set **DBInstanceType** to **sharding**.
|
|
3511
3669
|
*
|
|
3512
3670
|
* @param request - DescribeDBInstancesRequest
|
|
3513
3671
|
* @returns DescribeDBInstancesResponse
|
|
@@ -3517,11 +3675,11 @@ class Client extends openapi_core_1.default {
|
|
|
3517
3675
|
return await this.describeDBInstancesWithOptions(request, runtime);
|
|
3518
3676
|
}
|
|
3519
3677
|
/**
|
|
3520
|
-
* Queries the overview
|
|
3678
|
+
* Queries the overview of one or more ApsaraDB for MongoDB instances.
|
|
3521
3679
|
*
|
|
3522
3680
|
* @remarks
|
|
3523
|
-
*
|
|
3524
|
-
*
|
|
3681
|
+
* - If you do not specify any instances, the operation returns overview information for all instances in the destination region associated with your Alibaba Cloud account.
|
|
3682
|
+
* - The results of this operation are not paginated.
|
|
3525
3683
|
*
|
|
3526
3684
|
* @param request - DescribeDBInstancesOverviewRequest
|
|
3527
3685
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3598,11 +3756,11 @@ class Client extends openapi_core_1.default {
|
|
|
3598
3756
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstancesOverviewResponse({}));
|
|
3599
3757
|
}
|
|
3600
3758
|
/**
|
|
3601
|
-
* Queries the overview
|
|
3759
|
+
* Queries the overview of one or more ApsaraDB for MongoDB instances.
|
|
3602
3760
|
*
|
|
3603
3761
|
* @remarks
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3762
|
+
* - If you do not specify any instances, the operation returns overview information for all instances in the destination region associated with your Alibaba Cloud account.
|
|
3763
|
+
* - The results of this operation are not paginated.
|
|
3606
3764
|
*
|
|
3607
3765
|
* @param request - DescribeDBInstancesOverviewRequest
|
|
3608
3766
|
* @returns DescribeDBInstancesOverviewResponse
|
|
@@ -3612,11 +3770,11 @@ class Client extends openapi_core_1.default {
|
|
|
3612
3770
|
return await this.describeDBInstancesOverviewWithOptions(request, runtime);
|
|
3613
3771
|
}
|
|
3614
3772
|
/**
|
|
3615
|
-
* Queries
|
|
3773
|
+
* Queries error log entries for a MongoDB instance.
|
|
3616
3774
|
*
|
|
3617
3775
|
* @remarks
|
|
3618
|
-
*
|
|
3619
|
-
*
|
|
3776
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
3777
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
3620
3778
|
*
|
|
3621
3779
|
* @param request - DescribeErrorLogRecordsRequest
|
|
3622
3780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3687,11 +3845,11 @@ class Client extends openapi_core_1.default {
|
|
|
3687
3845
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeErrorLogRecordsResponse({}));
|
|
3688
3846
|
}
|
|
3689
3847
|
/**
|
|
3690
|
-
* Queries
|
|
3848
|
+
* Queries error log entries for a MongoDB instance.
|
|
3691
3849
|
*
|
|
3692
3850
|
* @remarks
|
|
3693
|
-
*
|
|
3694
|
-
*
|
|
3851
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
3852
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
3695
3853
|
*
|
|
3696
3854
|
* @param request - DescribeErrorLogRecordsRequest
|
|
3697
3855
|
* @returns DescribeErrorLogRecordsResponse
|
|
@@ -3737,7 +3895,7 @@ class Client extends openapi_core_1.default {
|
|
|
3737
3895
|
return await this.describeGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
3738
3896
|
}
|
|
3739
3897
|
/**
|
|
3740
|
-
* Queries the
|
|
3898
|
+
* Queries the mapping between an instance and a global IP address whitelist template.
|
|
3741
3899
|
*
|
|
3742
3900
|
* @param request - DescribeGlobalSecurityIPGroupRelationRequest
|
|
3743
3901
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3781,7 +3939,7 @@ class Client extends openapi_core_1.default {
|
|
|
3781
3939
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
3782
3940
|
}
|
|
3783
3941
|
/**
|
|
3784
|
-
* Queries the
|
|
3942
|
+
* Queries the mapping between an instance and a global IP address whitelist template.
|
|
3785
3943
|
*
|
|
3786
3944
|
* @param request - DescribeGlobalSecurityIPGroupRelationRequest
|
|
3787
3945
|
* @returns DescribeGlobalSecurityIPGroupRelationResponse
|
|
@@ -3944,7 +4102,7 @@ class Client extends openapi_core_1.default {
|
|
|
3944
4102
|
return await this.describeHistoryTasksStatWithOptions(request, runtime);
|
|
3945
4103
|
}
|
|
3946
4104
|
/**
|
|
3947
|
-
*
|
|
4105
|
+
* Queries the auto-renewal status of MongoDB instances.
|
|
3948
4106
|
*
|
|
3949
4107
|
* @remarks
|
|
3950
4108
|
* This operation is applicable to subscription instances.
|
|
@@ -4000,7 +4158,7 @@ class Client extends openapi_core_1.default {
|
|
|
4000
4158
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceAutoRenewalAttributeResponse({}));
|
|
4001
4159
|
}
|
|
4002
4160
|
/**
|
|
4003
|
-
*
|
|
4161
|
+
* Queries the auto-renewal status of MongoDB instances.
|
|
4004
4162
|
*
|
|
4005
4163
|
* @remarks
|
|
4006
4164
|
* This operation is applicable to subscription instances.
|
|
@@ -4013,7 +4171,7 @@ class Client extends openapi_core_1.default {
|
|
|
4013
4171
|
return await this.describeInstanceAutoRenewalAttributeWithOptions(request, runtime);
|
|
4014
4172
|
}
|
|
4015
4173
|
/**
|
|
4016
|
-
* Queries the time
|
|
4174
|
+
* Queries the restorable time ranges of an ApsaraDB for MongoDB replica set instance with cloud disks.
|
|
4017
4175
|
*
|
|
4018
4176
|
* @param request - DescribeInstanceRecoverTimeRequest
|
|
4019
4177
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4028,6 +4186,9 @@ class Client extends openapi_core_1.default {
|
|
|
4028
4186
|
if (!$dara.isNull(request.destRegion)) {
|
|
4029
4187
|
query["DestRegion"] = request.destRegion;
|
|
4030
4188
|
}
|
|
4189
|
+
if (!$dara.isNull(request.onlyDbTableRecovery)) {
|
|
4190
|
+
query["OnlyDbTableRecovery"] = request.onlyDbTableRecovery;
|
|
4191
|
+
}
|
|
4031
4192
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
4032
4193
|
query["OwnerAccount"] = request.ownerAccount;
|
|
4033
4194
|
}
|
|
@@ -4066,7 +4227,7 @@ class Client extends openapi_core_1.default {
|
|
|
4066
4227
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceRecoverTimeResponse({}));
|
|
4067
4228
|
}
|
|
4068
4229
|
/**
|
|
4069
|
-
* Queries the time
|
|
4230
|
+
* Queries the restorable time ranges of an ApsaraDB for MongoDB replica set instance with cloud disks.
|
|
4070
4231
|
*
|
|
4071
4232
|
* @param request - DescribeInstanceRecoverTimeRequest
|
|
4072
4233
|
* @returns DescribeInstanceRecoverTimeResponse
|
|
@@ -4181,13 +4342,13 @@ class Client extends openapi_core_1.default {
|
|
|
4181
4342
|
return await this.describeKmsKeysWithOptions(request, runtime);
|
|
4182
4343
|
}
|
|
4183
4344
|
/**
|
|
4184
|
-
*
|
|
4345
|
+
* You can view the configuration of MongoDB Log Service.
|
|
4185
4346
|
*
|
|
4186
4347
|
* @remarks
|
|
4187
|
-
* This
|
|
4188
|
-
*
|
|
4189
|
-
*
|
|
4190
|
-
*
|
|
4348
|
+
* This API applies to General-purpose and Dedicated instances that use local disks.
|
|
4349
|
+
* You can enable the audit log feature for ApsaraDB for MongoDB as needed. For more information, see [Enable audit logs](https://help.aliyun.com/document_detail/59903.html).
|
|
4350
|
+
* - As of January 6, 2022, the official version of the audit log feature is being rolled out to all regions. New requests for the free trial version are no longer accepted. For more information, see [[Notice\\] ApsaraDB for MongoDB launches pay-as-you-go audit logs and discontinues the free trial](~~377480~~).
|
|
4351
|
+
* - The official version of the audit log feature is pay-as-you-go. Charges are based on storage usage and retention period. For pricing details, see <props="china">[ApsaraDB for MongoDB pricing](https://www.aliyun.com/price/product?#/mongodb/detail/badds)<props="intl">[ApsaraDB for MongoDB pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).
|
|
4191
4352
|
*
|
|
4192
4353
|
* @param request - DescribeMongoDBLogConfigRequest
|
|
4193
4354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4228,13 +4389,13 @@ class Client extends openapi_core_1.default {
|
|
|
4228
4389
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMongoDBLogConfigResponse({}));
|
|
4229
4390
|
}
|
|
4230
4391
|
/**
|
|
4231
|
-
*
|
|
4392
|
+
* You can view the configuration of MongoDB Log Service.
|
|
4232
4393
|
*
|
|
4233
4394
|
* @remarks
|
|
4234
|
-
* This
|
|
4235
|
-
*
|
|
4236
|
-
*
|
|
4237
|
-
*
|
|
4395
|
+
* This API applies to General-purpose and Dedicated instances that use local disks.
|
|
4396
|
+
* You can enable the audit log feature for ApsaraDB for MongoDB as needed. For more information, see [Enable audit logs](https://help.aliyun.com/document_detail/59903.html).
|
|
4397
|
+
* - As of January 6, 2022, the official version of the audit log feature is being rolled out to all regions. New requests for the free trial version are no longer accepted. For more information, see [[Notice\\] ApsaraDB for MongoDB launches pay-as-you-go audit logs and discontinues the free trial](~~377480~~).
|
|
4398
|
+
* - The official version of the audit log feature is pay-as-you-go. Charges are based on storage usage and retention period. For pricing details, see <props="china">[ApsaraDB for MongoDB pricing](https://www.aliyun.com/price/product?#/mongodb/detail/badds)<props="intl">[ApsaraDB for MongoDB pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).
|
|
4238
4399
|
*
|
|
4239
4400
|
* @param request - DescribeMongoDBLogConfigRequest
|
|
4240
4401
|
* @returns DescribeMongoDBLogConfigResponse
|
|
@@ -4307,7 +4468,7 @@ class Client extends openapi_core_1.default {
|
|
|
4307
4468
|
return await this.describeParameterModificationHistoryWithOptions(request, runtime);
|
|
4308
4469
|
}
|
|
4309
4470
|
/**
|
|
4310
|
-
* Queries the
|
|
4471
|
+
* Queries the default parameter templates for MongoDB instances.
|
|
4311
4472
|
*
|
|
4312
4473
|
* @param request - DescribeParameterTemplatesRequest
|
|
4313
4474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4357,7 +4518,7 @@ class Client extends openapi_core_1.default {
|
|
|
4357
4518
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeParameterTemplatesResponse({}));
|
|
4358
4519
|
}
|
|
4359
4520
|
/**
|
|
4360
|
-
* Queries the
|
|
4521
|
+
* Queries the default parameter templates for MongoDB instances.
|
|
4361
4522
|
*
|
|
4362
4523
|
* @param request - DescribeParameterTemplatesRequest
|
|
4363
4524
|
* @returns DescribeParameterTemplatesResponse
|
|
@@ -4427,7 +4588,7 @@ class Client extends openapi_core_1.default {
|
|
|
4427
4588
|
return await this.describeParametersWithOptions(request, runtime);
|
|
4428
4589
|
}
|
|
4429
4590
|
/**
|
|
4430
|
-
*
|
|
4591
|
+
* Query prices.
|
|
4431
4592
|
*
|
|
4432
4593
|
* @param request - DescribePriceRequest
|
|
4433
4594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4492,7 +4653,7 @@ class Client extends openapi_core_1.default {
|
|
|
4492
4653
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePriceResponse({}));
|
|
4493
4654
|
}
|
|
4494
4655
|
/**
|
|
4495
|
-
*
|
|
4656
|
+
* Query prices.
|
|
4496
4657
|
*
|
|
4497
4658
|
* @param request - DescribePriceRequest
|
|
4498
4659
|
* @returns DescribePriceResponse
|
|
@@ -4502,6 +4663,11 @@ class Client extends openapi_core_1.default {
|
|
|
4502
4663
|
return await this.describePriceWithOptions(request, runtime);
|
|
4503
4664
|
}
|
|
4504
4665
|
/**
|
|
4666
|
+
* Retrieves a list of vSwitches.
|
|
4667
|
+
*
|
|
4668
|
+
* @remarks
|
|
4669
|
+
* Queries the vSwitches that are available in a specified region and zone. Use this before creating an ApsaraDB for MongoDB instance to select a vSwitch.
|
|
4670
|
+
*
|
|
4505
4671
|
* @param request - DescribeRdsVSwitchsRequest
|
|
4506
4672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4507
4673
|
* @returns DescribeRdsVSwitchsResponse
|
|
@@ -4547,6 +4713,11 @@ class Client extends openapi_core_1.default {
|
|
|
4547
4713
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRdsVSwitchsResponse({}));
|
|
4548
4714
|
}
|
|
4549
4715
|
/**
|
|
4716
|
+
* Retrieves a list of vSwitches.
|
|
4717
|
+
*
|
|
4718
|
+
* @remarks
|
|
4719
|
+
* Queries the vSwitches that are available in a specified region and zone. Use this before creating an ApsaraDB for MongoDB instance to select a vSwitch.
|
|
4720
|
+
*
|
|
4550
4721
|
* @param request - DescribeRdsVSwitchsRequest
|
|
4551
4722
|
* @returns DescribeRdsVSwitchsResponse
|
|
4552
4723
|
*/
|
|
@@ -4555,6 +4726,11 @@ class Client extends openapi_core_1.default {
|
|
|
4555
4726
|
return await this.describeRdsVSwitchsWithOptions(request, runtime);
|
|
4556
4727
|
}
|
|
4557
4728
|
/**
|
|
4729
|
+
* Retrieves a list of VPCs.
|
|
4730
|
+
*
|
|
4731
|
+
* @remarks
|
|
4732
|
+
* Queries available VPCs in a specified region and zone. Use this before creating an ApsaraDB for MongoDB instance to select a VPC.
|
|
4733
|
+
*
|
|
4558
4734
|
* @param request - DescribeRdsVpcsRequest
|
|
4559
4735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4560
4736
|
* @returns DescribeRdsVpcsResponse
|
|
@@ -4597,6 +4773,11 @@ class Client extends openapi_core_1.default {
|
|
|
4597
4773
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRdsVpcsResponse({}));
|
|
4598
4774
|
}
|
|
4599
4775
|
/**
|
|
4776
|
+
* Retrieves a list of VPCs.
|
|
4777
|
+
*
|
|
4778
|
+
* @remarks
|
|
4779
|
+
* Queries available VPCs in a specified region and zone. Use this before creating an ApsaraDB for MongoDB instance to select a VPC.
|
|
4780
|
+
*
|
|
4600
4781
|
* @param request - DescribeRdsVpcsRequest
|
|
4601
4782
|
* @returns DescribeRdsVpcsResponse
|
|
4602
4783
|
*/
|
|
@@ -4608,7 +4789,7 @@ class Client extends openapi_core_1.default {
|
|
|
4608
4789
|
* Queries all regions and zones supported for an ApsaraDB for MongoDB instance.
|
|
4609
4790
|
*
|
|
4610
4791
|
* @remarks
|
|
4611
|
-
* >
|
|
4792
|
+
* > To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation.
|
|
4612
4793
|
*
|
|
4613
4794
|
* @param request - DescribeRegionsRequest
|
|
4614
4795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4655,7 +4836,7 @@ class Client extends openapi_core_1.default {
|
|
|
4655
4836
|
* Queries all regions and zones supported for an ApsaraDB for MongoDB instance.
|
|
4656
4837
|
*
|
|
4657
4838
|
* @remarks
|
|
4658
|
-
* >
|
|
4839
|
+
* > To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation.
|
|
4659
4840
|
*
|
|
4660
4841
|
* @param request - DescribeRegionsRequest
|
|
4661
4842
|
* @returns DescribeRegionsResponse
|
|
@@ -4665,10 +4846,10 @@ class Client extends openapi_core_1.default {
|
|
|
4665
4846
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
4666
4847
|
}
|
|
4667
4848
|
/**
|
|
4668
|
-
*
|
|
4849
|
+
* Get the price to renew a specific MongoDB instance for one month.
|
|
4669
4850
|
*
|
|
4670
4851
|
* @remarks
|
|
4671
|
-
* This operation
|
|
4852
|
+
* This operation applies to subscription MongoDB instances.
|
|
4672
4853
|
*
|
|
4673
4854
|
* @param request - DescribeRenewalPriceRequest
|
|
4674
4855
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4715,10 +4896,10 @@ class Client extends openapi_core_1.default {
|
|
|
4715
4896
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
|
|
4716
4897
|
}
|
|
4717
4898
|
/**
|
|
4718
|
-
*
|
|
4899
|
+
* Get the price to renew a specific MongoDB instance for one month.
|
|
4719
4900
|
*
|
|
4720
4901
|
* @remarks
|
|
4721
|
-
* This operation
|
|
4902
|
+
* This operation applies to subscription MongoDB instances.
|
|
4722
4903
|
*
|
|
4723
4904
|
* @param request - DescribeRenewalPriceRequest
|
|
4724
4905
|
* @returns DescribeRenewalPriceResponse
|
|
@@ -4728,10 +4909,10 @@ class Client extends openapi_core_1.default {
|
|
|
4728
4909
|
return await this.describeRenewalPriceWithOptions(request, runtime);
|
|
4729
4910
|
}
|
|
4730
4911
|
/**
|
|
4731
|
-
*
|
|
4912
|
+
* Retrieves the role information and connection details for a MongoDB instance.
|
|
4732
4913
|
*
|
|
4733
4914
|
* @remarks
|
|
4734
|
-
* This operation
|
|
4915
|
+
* This operation applies to replica set instances and single-node instances. It does not apply to sharded cluster instances.
|
|
4735
4916
|
*
|
|
4736
4917
|
* @param request - DescribeReplicaSetRoleRequest
|
|
4737
4918
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4772,10 +4953,10 @@ class Client extends openapi_core_1.default {
|
|
|
4772
4953
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeReplicaSetRoleResponse({}));
|
|
4773
4954
|
}
|
|
4774
4955
|
/**
|
|
4775
|
-
*
|
|
4956
|
+
* Retrieves the role information and connection details for a MongoDB instance.
|
|
4776
4957
|
*
|
|
4777
4958
|
* @remarks
|
|
4778
|
-
* This operation
|
|
4959
|
+
* This operation applies to replica set instances and single-node instances. It does not apply to sharded cluster instances.
|
|
4779
4960
|
*
|
|
4780
4961
|
* @param request - DescribeReplicaSetRoleRequest
|
|
4781
4962
|
* @returns DescribeReplicaSetRoleResponse
|
|
@@ -4845,6 +5026,8 @@ class Client extends openapi_core_1.default {
|
|
|
4845
5026
|
return await this.describeRestoreDBInstanceListWithOptions(request, runtime);
|
|
4846
5027
|
}
|
|
4847
5028
|
/**
|
|
5029
|
+
* Describes the status of a tag for a node.
|
|
5030
|
+
*
|
|
4848
5031
|
* @param request - DescribeRoleTagStatusRequest
|
|
4849
5032
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4850
5033
|
* @returns DescribeRoleTagStatusResponse
|
|
@@ -4884,6 +5067,8 @@ class Client extends openapi_core_1.default {
|
|
|
4884
5067
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRoleTagStatusResponse({}));
|
|
4885
5068
|
}
|
|
4886
5069
|
/**
|
|
5070
|
+
* Describes the status of a tag for a node.
|
|
5071
|
+
*
|
|
4887
5072
|
* @param request - DescribeRoleTagStatusRequest
|
|
4888
5073
|
* @returns DescribeRoleTagStatusResponse
|
|
4889
5074
|
*/
|
|
@@ -4951,11 +5136,11 @@ class Client extends openapi_core_1.default {
|
|
|
4951
5136
|
return await this.describeRoleZoneInfoWithOptions(request, runtime);
|
|
4952
5137
|
}
|
|
4953
5138
|
/**
|
|
4954
|
-
*
|
|
5139
|
+
* View the running logs for a MongoDB instance.
|
|
4955
5140
|
*
|
|
4956
5141
|
* @remarks
|
|
4957
|
-
*
|
|
4958
|
-
*
|
|
5142
|
+
* - This API is for instances with the following specification types: **general-purpose local disk**, **dedicated local disk**, and **cloud disk**.
|
|
5143
|
+
* - This API is limited to 30 calls per minute. Exceeding this limit triggers rate limiting, so avoid high-frequency calls. For high-frequency operations, use Logstore. For more information, see [Manage Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
4959
5144
|
*
|
|
4960
5145
|
* @param request - DescribeRunningLogRecordsRequest
|
|
4961
5146
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5032,11 +5217,11 @@ class Client extends openapi_core_1.default {
|
|
|
5032
5217
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRunningLogRecordsResponse({}));
|
|
5033
5218
|
}
|
|
5034
5219
|
/**
|
|
5035
|
-
*
|
|
5220
|
+
* View the running logs for a MongoDB instance.
|
|
5036
5221
|
*
|
|
5037
5222
|
* @remarks
|
|
5038
|
-
*
|
|
5039
|
-
*
|
|
5223
|
+
* - This API is for instances with the following specification types: **general-purpose local disk**, **dedicated local disk**, and **cloud disk**.
|
|
5224
|
+
* - This API is limited to 30 calls per minute. Exceeding this limit triggers rate limiting, so avoid high-frequency calls. For high-frequency operations, use Logstore. For more information, see [Manage Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
5040
5225
|
*
|
|
5041
5226
|
* @param request - DescribeRunningLogRecordsRequest
|
|
5042
5227
|
* @returns DescribeRunningLogRecordsResponse
|
|
@@ -5046,7 +5231,7 @@ class Client extends openapi_core_1.default {
|
|
|
5046
5231
|
return await this.describeRunningLogRecordsWithOptions(request, runtime);
|
|
5047
5232
|
}
|
|
5048
5233
|
/**
|
|
5049
|
-
*
|
|
5234
|
+
* Queries the Elastic Compute Service (ECS) security groups that are associated with an ApsaraDB for MongoDB instance.
|
|
5050
5235
|
*
|
|
5051
5236
|
* @param request - DescribeSecurityGroupConfigurationRequest
|
|
5052
5237
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5087,7 +5272,7 @@ class Client extends openapi_core_1.default {
|
|
|
5087
5272
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSecurityGroupConfigurationResponse({}));
|
|
5088
5273
|
}
|
|
5089
5274
|
/**
|
|
5090
|
-
*
|
|
5275
|
+
* Queries the Elastic Compute Service (ECS) security groups that are associated with an ApsaraDB for MongoDB instance.
|
|
5091
5276
|
*
|
|
5092
5277
|
* @param request - DescribeSecurityGroupConfigurationRequest
|
|
5093
5278
|
* @returns DescribeSecurityGroupConfigurationResponse
|
|
@@ -5097,7 +5282,7 @@ class Client extends openapi_core_1.default {
|
|
|
5097
5282
|
return await this.describeSecurityGroupConfigurationWithOptions(request, runtime);
|
|
5098
5283
|
}
|
|
5099
5284
|
/**
|
|
5100
|
-
*
|
|
5285
|
+
* Retrieves the IP whitelists of an ApsaraDB for MongoDB instance.
|
|
5101
5286
|
*
|
|
5102
5287
|
* @param request - DescribeSecurityIpsRequest
|
|
5103
5288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5141,7 +5326,7 @@ class Client extends openapi_core_1.default {
|
|
|
5141
5326
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSecurityIpsResponse({}));
|
|
5142
5327
|
}
|
|
5143
5328
|
/**
|
|
5144
|
-
*
|
|
5329
|
+
* Retrieves the IP whitelists of an ApsaraDB for MongoDB instance.
|
|
5145
5330
|
*
|
|
5146
5331
|
* @param request - DescribeSecurityIpsRequest
|
|
5147
5332
|
* @returns DescribeSecurityIpsResponse
|
|
@@ -5151,10 +5336,10 @@ class Client extends openapi_core_1.default {
|
|
|
5151
5336
|
return await this.describeSecurityIpsWithOptions(request, runtime);
|
|
5152
5337
|
}
|
|
5153
5338
|
/**
|
|
5154
|
-
*
|
|
5339
|
+
* Retrieves the connection information for a MongoDB sharded cluster instance.
|
|
5155
5340
|
*
|
|
5156
5341
|
* @remarks
|
|
5157
|
-
* This
|
|
5342
|
+
* This API is for sharded cluster instances only.
|
|
5158
5343
|
*
|
|
5159
5344
|
* @param request - DescribeShardingNetworkAddressRequest
|
|
5160
5345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5201,10 +5386,10 @@ class Client extends openapi_core_1.default {
|
|
|
5201
5386
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeShardingNetworkAddressResponse({}));
|
|
5202
5387
|
}
|
|
5203
5388
|
/**
|
|
5204
|
-
*
|
|
5389
|
+
* Retrieves the connection information for a MongoDB sharded cluster instance.
|
|
5205
5390
|
*
|
|
5206
5391
|
* @remarks
|
|
5207
|
-
* This
|
|
5392
|
+
* This API is for sharded cluster instances only.
|
|
5208
5393
|
*
|
|
5209
5394
|
* @param request - DescribeShardingNetworkAddressRequest
|
|
5210
5395
|
* @returns DescribeShardingNetworkAddressResponse
|
|
@@ -5214,11 +5399,11 @@ class Client extends openapi_core_1.default {
|
|
|
5214
5399
|
return await this.describeShardingNetworkAddressWithOptions(request, runtime);
|
|
5215
5400
|
}
|
|
5216
5401
|
/**
|
|
5217
|
-
* Queries
|
|
5402
|
+
* Queries slow query log entries for a MongoDB instance.
|
|
5218
5403
|
*
|
|
5219
5404
|
* @remarks
|
|
5220
|
-
*
|
|
5221
|
-
*
|
|
5405
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
5406
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
5222
5407
|
*
|
|
5223
5408
|
* @param request - DescribeSlowLogRecordsRequest
|
|
5224
5409
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5289,11 +5474,11 @@ class Client extends openapi_core_1.default {
|
|
|
5289
5474
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSlowLogRecordsResponse({}));
|
|
5290
5475
|
}
|
|
5291
5476
|
/**
|
|
5292
|
-
* Queries
|
|
5477
|
+
* Queries slow query log entries for a MongoDB instance.
|
|
5293
5478
|
*
|
|
5294
5479
|
* @remarks
|
|
5295
|
-
*
|
|
5296
|
-
*
|
|
5480
|
+
* - This operation is applicable only to **general-purpose local-disk** and **dedicated local-disk** instances.
|
|
5481
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
5297
5482
|
*
|
|
5298
5483
|
* @param request - DescribeSlowLogRecordsRequest
|
|
5299
5484
|
* @returns DescribeSlowLogRecordsResponse
|
|
@@ -5363,10 +5548,10 @@ class Client extends openapi_core_1.default {
|
|
|
5363
5548
|
return await this.describeTagsWithOptions(request, runtime);
|
|
5364
5549
|
}
|
|
5365
5550
|
/**
|
|
5366
|
-
* Queries the
|
|
5551
|
+
* Queries the custom keys for an instance.
|
|
5367
5552
|
*
|
|
5368
5553
|
* @remarks
|
|
5369
|
-
* You can use the custom
|
|
5554
|
+
* You can use the custom keys returned by this operation to enable transparent data encryption (TDE). For more information, see [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html).
|
|
5370
5555
|
*
|
|
5371
5556
|
* @param request - DescribeUserEncryptionKeyListRequest
|
|
5372
5557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5413,10 +5598,10 @@ class Client extends openapi_core_1.default {
|
|
|
5413
5598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserEncryptionKeyListResponse({}));
|
|
5414
5599
|
}
|
|
5415
5600
|
/**
|
|
5416
|
-
* Queries the
|
|
5601
|
+
* Queries the custom keys for an instance.
|
|
5417
5602
|
*
|
|
5418
5603
|
* @remarks
|
|
5419
|
-
* You can use the custom
|
|
5604
|
+
* You can use the custom keys returned by this operation to enable transparent data encryption (TDE). For more information, see [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html).
|
|
5420
5605
|
*
|
|
5421
5606
|
* @param request - DescribeUserEncryptionKeyListRequest
|
|
5422
5607
|
* @returns DescribeUserEncryptionKeyListResponse
|
|
@@ -5426,6 +5611,8 @@ class Client extends openapi_core_1.default {
|
|
|
5426
5611
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
5427
5612
|
}
|
|
5428
5613
|
/**
|
|
5614
|
+
* Queries a paginated list of VPCs.
|
|
5615
|
+
*
|
|
5429
5616
|
* @param request - DescribeVpcsForMongoDBRequest
|
|
5430
5617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5431
5618
|
* @returns DescribeVpcsForMongoDBResponse
|
|
@@ -5477,6 +5664,8 @@ class Client extends openapi_core_1.default {
|
|
|
5477
5664
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcsForMongoDBResponse({}));
|
|
5478
5665
|
}
|
|
5479
5666
|
/**
|
|
5667
|
+
* Queries a paginated list of VPCs.
|
|
5668
|
+
*
|
|
5480
5669
|
* @param request - DescribeVpcsForMongoDBRequest
|
|
5481
5670
|
* @returns DescribeVpcsForMongoDBResponse
|
|
5482
5671
|
*/
|
|
@@ -5561,11 +5750,11 @@ class Client extends openapi_core_1.default {
|
|
|
5561
5750
|
return await this.destroyInstanceWithOptions(request, runtime);
|
|
5562
5751
|
}
|
|
5563
5752
|
/**
|
|
5564
|
-
*
|
|
5753
|
+
* Evaluate resource availability before purchasing a new instance or changing the configuration of an existing instance.
|
|
5565
5754
|
*
|
|
5566
5755
|
* @remarks
|
|
5567
|
-
*
|
|
5568
|
-
* > You can call this operation
|
|
5756
|
+
* Evaluate resource availability for MongoDB replica set instances and sharded cluster instances. Supported scenarios include purchasing a new instance, changing an instance configuration, and adding nodes to a sharded cluster.
|
|
5757
|
+
* > You can call this operation up to 200 times per minute. Calls that exceed this limit are subject to traffic throttling.
|
|
5569
5758
|
*
|
|
5570
5759
|
* @param request - EvaluateResourceRequest
|
|
5571
5760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5633,11 +5822,11 @@ class Client extends openapi_core_1.default {
|
|
|
5633
5822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EvaluateResourceResponse({}));
|
|
5634
5823
|
}
|
|
5635
5824
|
/**
|
|
5636
|
-
*
|
|
5825
|
+
* Evaluate resource availability before purchasing a new instance or changing the configuration of an existing instance.
|
|
5637
5826
|
*
|
|
5638
5827
|
* @remarks
|
|
5639
|
-
*
|
|
5640
|
-
* > You can call this operation
|
|
5828
|
+
* Evaluate resource availability for MongoDB replica set instances and sharded cluster instances. Supported scenarios include purchasing a new instance, changing an instance configuration, and adding nodes to a sharded cluster.
|
|
5829
|
+
* > You can call this operation up to 200 times per minute. Calls that exceed this limit are subject to traffic throttling.
|
|
5641
5830
|
*
|
|
5642
5831
|
* @param request - EvaluateResourceRequest
|
|
5643
5832
|
* @returns EvaluateResourceResponse
|
|
@@ -5713,11 +5902,11 @@ class Client extends openapi_core_1.default {
|
|
|
5713
5902
|
* Migrates an ApsaraDB for MongoDB instance to a specific zone.
|
|
5714
5903
|
*
|
|
5715
5904
|
* @remarks
|
|
5716
|
-
*
|
|
5717
|
-
*
|
|
5718
|
-
*
|
|
5719
|
-
*
|
|
5720
|
-
*
|
|
5905
|
+
* - This operation is available only for replica set instances that run MongoDB 4.2 or earlier and sharded cluster instances.
|
|
5906
|
+
* - If you have applied for a public endpoint for the ApsaraDB for MongoDB instance, you must call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint before you call the MigrateAvailableZone operation.
|
|
5907
|
+
* - Transparent data encryption (TDE) is disabled for the ApsaraDB for MongoDB instance.
|
|
5908
|
+
* - The source zone and the destination zone belong to the same region.
|
|
5909
|
+
* - A vSwitch is created in the destination zone. This prerequisite must be met if the instance resides in a virtual private cloud (VPC). For more information about how to create a vSwitch, see [Work with vSwitches](https://help.aliyun.com/document_detail/65387.html).
|
|
5721
5910
|
*
|
|
5722
5911
|
* @param request - MigrateAvailableZoneRequest
|
|
5723
5912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5776,11 +5965,11 @@ class Client extends openapi_core_1.default {
|
|
|
5776
5965
|
* Migrates an ApsaraDB for MongoDB instance to a specific zone.
|
|
5777
5966
|
*
|
|
5778
5967
|
* @remarks
|
|
5779
|
-
*
|
|
5780
|
-
*
|
|
5781
|
-
*
|
|
5782
|
-
*
|
|
5783
|
-
*
|
|
5968
|
+
* - This operation is available only for replica set instances that run MongoDB 4.2 or earlier and sharded cluster instances.
|
|
5969
|
+
* - If you have applied for a public endpoint for the ApsaraDB for MongoDB instance, you must call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint before you call the MigrateAvailableZone operation.
|
|
5970
|
+
* - Transparent data encryption (TDE) is disabled for the ApsaraDB for MongoDB instance.
|
|
5971
|
+
* - The source zone and the destination zone belong to the same region.
|
|
5972
|
+
* - A vSwitch is created in the destination zone. This prerequisite must be met if the instance resides in a virtual private cloud (VPC). For more information about how to create a vSwitch, see [Work with vSwitches](https://help.aliyun.com/document_detail/65387.html).
|
|
5784
5973
|
*
|
|
5785
5974
|
* @param request - MigrateAvailableZoneRequest
|
|
5786
5975
|
* @returns MigrateAvailableZoneResponse
|
|
@@ -5790,11 +5979,11 @@ class Client extends openapi_core_1.default {
|
|
|
5790
5979
|
return await this.migrateAvailableZoneWithOptions(request, runtime);
|
|
5791
5980
|
}
|
|
5792
5981
|
/**
|
|
5793
|
-
*
|
|
5982
|
+
* Migrates an ApsaraDB for MongoDB instance to another zone.
|
|
5794
5983
|
*
|
|
5795
5984
|
* @remarks
|
|
5796
5985
|
* This operation is applicable only to replica set instances, but not to standalone instances or sharded cluster instances.
|
|
5797
|
-
* >
|
|
5986
|
+
* > If you have applied for a public endpoint of the instance, you must first call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint.
|
|
5798
5987
|
*
|
|
5799
5988
|
* @param request - MigrateToOtherZoneRequest
|
|
5800
5989
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5844,11 +6033,11 @@ class Client extends openapi_core_1.default {
|
|
|
5844
6033
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateToOtherZoneResponse({}));
|
|
5845
6034
|
}
|
|
5846
6035
|
/**
|
|
5847
|
-
*
|
|
6036
|
+
* Migrates an ApsaraDB for MongoDB instance to another zone.
|
|
5848
6037
|
*
|
|
5849
6038
|
* @remarks
|
|
5850
6039
|
* This operation is applicable only to replica set instances, but not to standalone instances or sharded cluster instances.
|
|
5851
|
-
* >
|
|
6040
|
+
* > If you have applied for a public endpoint of the instance, you must first call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint.
|
|
5852
6041
|
*
|
|
5853
6042
|
* @param request - MigrateToOtherZoneRequest
|
|
5854
6043
|
* @returns MigrateToOtherZoneResponse
|
|
@@ -5860,6 +6049,9 @@ class Client extends openapi_core_1.default {
|
|
|
5860
6049
|
/**
|
|
5861
6050
|
* Modifies the description of the root account in an ApsaraDB for MongoDB instance.
|
|
5862
6051
|
*
|
|
6052
|
+
* @remarks
|
|
6053
|
+
* This operation is not supported for sharded cluster instances.
|
|
6054
|
+
*
|
|
5863
6055
|
* @param request - ModifyAccountDescriptionRequest
|
|
5864
6056
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5865
6057
|
* @returns ModifyAccountDescriptionResponse
|
|
@@ -5910,6 +6102,9 @@ class Client extends openapi_core_1.default {
|
|
|
5910
6102
|
/**
|
|
5911
6103
|
* Modifies the description of the root account in an ApsaraDB for MongoDB instance.
|
|
5912
6104
|
*
|
|
6105
|
+
* @remarks
|
|
6106
|
+
* This operation is not supported for sharded cluster instances.
|
|
6107
|
+
*
|
|
5913
6108
|
* @param request - ModifyAccountDescriptionRequest
|
|
5914
6109
|
* @returns ModifyAccountDescriptionResponse
|
|
5915
6110
|
*/
|
|
@@ -5918,6 +6113,8 @@ class Client extends openapi_core_1.default {
|
|
|
5918
6113
|
return await this.modifyAccountDescriptionWithOptions(request, runtime);
|
|
5919
6114
|
}
|
|
5920
6115
|
/**
|
|
6116
|
+
* Modifies the Operations and Maintenance (O&M) task configuration for a MongoDB instance.
|
|
6117
|
+
*
|
|
5921
6118
|
* @param request - ModifyActiveOperationMaintenanceConfigRequest
|
|
5922
6119
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5923
6120
|
* @returns ModifyActiveOperationMaintenanceConfigResponse
|
|
@@ -5969,6 +6166,8 @@ class Client extends openapi_core_1.default {
|
|
|
5969
6166
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyActiveOperationMaintenanceConfigResponse({}));
|
|
5970
6167
|
}
|
|
5971
6168
|
/**
|
|
6169
|
+
* Modifies the Operations and Maintenance (O&M) task configuration for a MongoDB instance.
|
|
6170
|
+
*
|
|
5972
6171
|
* @param request - ModifyActiveOperationMaintenanceConfigRequest
|
|
5973
6172
|
* @returns ModifyActiveOperationMaintenanceConfigResponse
|
|
5974
6173
|
*/
|
|
@@ -5977,7 +6176,7 @@ class Client extends openapi_core_1.default {
|
|
|
5977
6176
|
return await this.modifyActiveOperationMaintenanceConfigWithOptions(request, runtime);
|
|
5978
6177
|
}
|
|
5979
6178
|
/**
|
|
5980
|
-
* Modifies the switching time of scheduled O
|
|
6179
|
+
* Modifies the switching time of scheduled O\\\\\\\\\\\\&M tasks for an ApsaraDB for MongoDB instance.
|
|
5981
6180
|
*
|
|
5982
6181
|
* @param request - ModifyActiveOperationTasksRequest
|
|
5983
6182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6027,7 +6226,7 @@ class Client extends openapi_core_1.default {
|
|
|
6027
6226
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyActiveOperationTasksResponse({}));
|
|
6028
6227
|
}
|
|
6029
6228
|
/**
|
|
6030
|
-
* Modifies the switching time of scheduled O
|
|
6229
|
+
* Modifies the switching time of scheduled O\\\\\\\\\\\\&M tasks for an ApsaraDB for MongoDB instance.
|
|
6031
6230
|
*
|
|
6032
6231
|
* @param request - ModifyActiveOperationTasksRequest
|
|
6033
6232
|
* @returns ModifyActiveOperationTasksResponse
|
|
@@ -6037,12 +6236,12 @@ class Client extends openapi_core_1.default {
|
|
|
6037
6236
|
return await this.modifyActiveOperationTasksWithOptions(request, runtime);
|
|
6038
6237
|
}
|
|
6039
6238
|
/**
|
|
6040
|
-
*
|
|
6239
|
+
* Modifies the audit log types collected for a MongoDB instance.
|
|
6041
6240
|
*
|
|
6042
6241
|
* @remarks
|
|
6043
|
-
*
|
|
6044
|
-
*
|
|
6045
|
-
*
|
|
6242
|
+
* - The instance must be in the running state when you call this operation.
|
|
6243
|
+
* - This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
6244
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
6046
6245
|
*
|
|
6047
6246
|
* @param request - ModifyAuditLogFilterRequest
|
|
6048
6247
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6089,12 +6288,12 @@ class Client extends openapi_core_1.default {
|
|
|
6089
6288
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAuditLogFilterResponse({}));
|
|
6090
6289
|
}
|
|
6091
6290
|
/**
|
|
6092
|
-
*
|
|
6291
|
+
* Modifies the audit log types collected for a MongoDB instance.
|
|
6093
6292
|
*
|
|
6094
6293
|
* @remarks
|
|
6095
|
-
*
|
|
6096
|
-
*
|
|
6097
|
-
*
|
|
6294
|
+
* - The instance must be in the running state when you call this operation.
|
|
6295
|
+
* - This operation is applicable only to **general-purpose local-disk** or **dedicated local-disk** instances.
|
|
6296
|
+
* - 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](https://help.aliyun.com/document_detail/48990.html).
|
|
6098
6297
|
*
|
|
6099
6298
|
* @param request - ModifyAuditLogFilterRequest
|
|
6100
6299
|
* @returns ModifyAuditLogFilterResponse
|
|
@@ -6104,11 +6303,10 @@ class Client extends openapi_core_1.default {
|
|
|
6104
6303
|
return await this.modifyAuditLogFilterWithOptions(request, runtime);
|
|
6105
6304
|
}
|
|
6106
6305
|
/**
|
|
6107
|
-
* Enables or disables the audit log
|
|
6306
|
+
* Enables or disables the audit log for a MongoDB instance, or modifies the log retention period.
|
|
6108
6307
|
*
|
|
6109
6308
|
* @remarks
|
|
6110
|
-
*
|
|
6111
|
-
* * 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](https://help.aliyun.com/document_detail/48990.html).
|
|
6309
|
+
* - You can call this operation up to 30 times per minute. The system throttles calls that exceed this limit. Avoid calling this operation frequently. If you need to make frequent calls, use Logstore. For more information, see [Manage Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
6112
6310
|
*
|
|
6113
6311
|
* @param request - ModifyAuditPolicyRequest
|
|
6114
6312
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6126,6 +6324,9 @@ class Client extends openapi_core_1.default {
|
|
|
6126
6324
|
if (!$dara.isNull(request.DBInstanceId)) {
|
|
6127
6325
|
query["DBInstanceId"] = request.DBInstanceId;
|
|
6128
6326
|
}
|
|
6327
|
+
if (!$dara.isNull(request.hotStoragePeriod)) {
|
|
6328
|
+
query["HotStoragePeriod"] = request.hotStoragePeriod;
|
|
6329
|
+
}
|
|
6129
6330
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
6130
6331
|
query["OwnerAccount"] = request.ownerAccount;
|
|
6131
6332
|
}
|
|
@@ -6161,11 +6362,10 @@ class Client extends openapi_core_1.default {
|
|
|
6161
6362
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAuditPolicyResponse({}));
|
|
6162
6363
|
}
|
|
6163
6364
|
/**
|
|
6164
|
-
* Enables or disables the audit log
|
|
6365
|
+
* Enables or disables the audit log for a MongoDB instance, or modifies the log retention period.
|
|
6165
6366
|
*
|
|
6166
6367
|
* @remarks
|
|
6167
|
-
*
|
|
6168
|
-
* * 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](https://help.aliyun.com/document_detail/48990.html).
|
|
6368
|
+
* - You can call this operation up to 30 times per minute. The system throttles calls that exceed this limit. Avoid calling this operation frequently. If you need to make frequent calls, use Logstore. For more information, see [Manage Logstore](https://help.aliyun.com/document_detail/48990.html).
|
|
6169
6369
|
*
|
|
6170
6370
|
* @param request - ModifyAuditPolicyRequest
|
|
6171
6371
|
* @returns ModifyAuditPolicyResponse
|
|
@@ -6175,7 +6375,11 @@ class Client extends openapi_core_1.default {
|
|
|
6175
6375
|
return await this.modifyAuditPolicyWithOptions(request, runtime);
|
|
6176
6376
|
}
|
|
6177
6377
|
/**
|
|
6178
|
-
*
|
|
6378
|
+
* Modifies the time-to-live (TTL) of a MongoDB backup set.
|
|
6379
|
+
*
|
|
6380
|
+
* @remarks
|
|
6381
|
+
* You can modify the TTL only for manual backups.
|
|
6382
|
+
* This operation is applicable only to MongoDB instances that use cloud disks.
|
|
6179
6383
|
*
|
|
6180
6384
|
* @param request - ModifyBackupExpireTimeRequest
|
|
6181
6385
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6222,7 +6426,11 @@ class Client extends openapi_core_1.default {
|
|
|
6222
6426
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupExpireTimeResponse({}));
|
|
6223
6427
|
}
|
|
6224
6428
|
/**
|
|
6225
|
-
*
|
|
6429
|
+
* Modifies the time-to-live (TTL) of a MongoDB backup set.
|
|
6430
|
+
*
|
|
6431
|
+
* @remarks
|
|
6432
|
+
* You can modify the TTL only for manual backups.
|
|
6433
|
+
* This operation is applicable only to MongoDB instances that use cloud disks.
|
|
6226
6434
|
*
|
|
6227
6435
|
* @param request - ModifyBackupExpireTimeRequest
|
|
6228
6436
|
* @returns ModifyBackupExpireTimeResponse
|
|
@@ -6232,10 +6440,10 @@ class Client extends openapi_core_1.default {
|
|
|
6232
6440
|
return await this.modifyBackupExpireTimeWithOptions(request, runtime);
|
|
6233
6441
|
}
|
|
6234
6442
|
/**
|
|
6235
|
-
* Modifies
|
|
6443
|
+
* Modifies the backup policy of a MongoDB instance.
|
|
6236
6444
|
*
|
|
6237
6445
|
* @remarks
|
|
6238
|
-
*
|
|
6446
|
+
* Geo-redundancy is available only for replica set instances and sharded cluster instances that use cloud disks.
|
|
6239
6447
|
*
|
|
6240
6448
|
* @param request - ModifyBackupPolicyRequest
|
|
6241
6449
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6336,10 +6544,10 @@ class Client extends openapi_core_1.default {
|
|
|
6336
6544
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupPolicyResponse({}));
|
|
6337
6545
|
}
|
|
6338
6546
|
/**
|
|
6339
|
-
* Modifies
|
|
6547
|
+
* Modifies the backup policy of a MongoDB instance.
|
|
6340
6548
|
*
|
|
6341
6549
|
* @remarks
|
|
6342
|
-
*
|
|
6550
|
+
* Geo-redundancy is available only for replica set instances and sharded cluster instances that use cloud disks.
|
|
6343
6551
|
*
|
|
6344
6552
|
* @param request - ModifyBackupPolicyRequest
|
|
6345
6553
|
* @returns ModifyBackupPolicyResponse
|
|
@@ -6349,6 +6557,11 @@ class Client extends openapi_core_1.default {
|
|
|
6349
6557
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
6350
6558
|
}
|
|
6351
6559
|
/**
|
|
6560
|
+
* Modifies instance release protection configuration.
|
|
6561
|
+
*
|
|
6562
|
+
* @remarks
|
|
6563
|
+
* This operation is applicable only to pay-as-you-go instances.
|
|
6564
|
+
*
|
|
6352
6565
|
* @param request - ModifyDBInstanceAttributeRequest
|
|
6353
6566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6354
6567
|
* @returns ModifyDBInstanceAttributeResponse
|
|
@@ -6391,6 +6604,11 @@ class Client extends openapi_core_1.default {
|
|
|
6391
6604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceAttributeResponse({}));
|
|
6392
6605
|
}
|
|
6393
6606
|
/**
|
|
6607
|
+
* Modifies instance release protection configuration.
|
|
6608
|
+
*
|
|
6609
|
+
* @remarks
|
|
6610
|
+
* This operation is applicable only to pay-as-you-go instances.
|
|
6611
|
+
*
|
|
6394
6612
|
* @param request - ModifyDBInstanceAttributeRequest
|
|
6395
6613
|
* @returns ModifyDBInstanceAttributeResponse
|
|
6396
6614
|
*/
|
|
@@ -6399,7 +6617,7 @@ class Client extends openapi_core_1.default {
|
|
|
6399
6617
|
return await this.modifyDBInstanceAttributeWithOptions(request, runtime);
|
|
6400
6618
|
}
|
|
6401
6619
|
/**
|
|
6402
|
-
*
|
|
6620
|
+
* Modifies instance configuration
|
|
6403
6621
|
*
|
|
6404
6622
|
* @param request - ModifyDBInstanceConfigRequest
|
|
6405
6623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6446,7 +6664,7 @@ class Client extends openapi_core_1.default {
|
|
|
6446
6664
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceConfigResponse({}));
|
|
6447
6665
|
}
|
|
6448
6666
|
/**
|
|
6449
|
-
*
|
|
6667
|
+
* Modifies instance configuration
|
|
6450
6668
|
*
|
|
6451
6669
|
* @param request - ModifyDBInstanceConfigRequest
|
|
6452
6670
|
* @returns ModifyDBInstanceConfigResponse
|
|
@@ -6456,12 +6674,12 @@ class Client extends openapi_core_1.default {
|
|
|
6456
6674
|
return await this.modifyDBInstanceConfigWithOptions(request, runtime);
|
|
6457
6675
|
}
|
|
6458
6676
|
/**
|
|
6459
|
-
* Modifies the
|
|
6677
|
+
* Modifies the connection address and port of a MongoDB instance.
|
|
6460
6678
|
*
|
|
6461
6679
|
* @remarks
|
|
6462
|
-
* You can modify the connection
|
|
6463
|
-
*
|
|
6464
|
-
*
|
|
6680
|
+
* You can modify the connection address and port for the following instance types:
|
|
6681
|
+
* - You can modify the connection address and port for instances that use local disks or cloud disks.
|
|
6682
|
+
* - For sharded cluster instances, you can modify only the connection address of Mongos nodes.
|
|
6465
6683
|
*
|
|
6466
6684
|
* @param request - ModifyDBInstanceConnectionStringRequest
|
|
6467
6685
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6476,6 +6694,12 @@ class Client extends openapi_core_1.default {
|
|
|
6476
6694
|
if (!$dara.isNull(request.DBInstanceId)) {
|
|
6477
6695
|
query["DBInstanceId"] = request.DBInstanceId;
|
|
6478
6696
|
}
|
|
6697
|
+
if (!$dara.isNull(request.forceModifySuffix)) {
|
|
6698
|
+
query["ForceModifySuffix"] = request.forceModifySuffix;
|
|
6699
|
+
}
|
|
6700
|
+
if (!$dara.isNull(request.networkType)) {
|
|
6701
|
+
query["NetworkType"] = request.networkType;
|
|
6702
|
+
}
|
|
6479
6703
|
if (!$dara.isNull(request.newConnectionString)) {
|
|
6480
6704
|
query["NewConnectionString"] = request.newConnectionString;
|
|
6481
6705
|
}
|
|
@@ -6491,6 +6715,9 @@ class Client extends openapi_core_1.default {
|
|
|
6491
6715
|
if (!$dara.isNull(request.ownerId)) {
|
|
6492
6716
|
query["OwnerId"] = request.ownerId;
|
|
6493
6717
|
}
|
|
6718
|
+
if (!$dara.isNull(request.portModifyOnly)) {
|
|
6719
|
+
query["PortModifyOnly"] = request.portModifyOnly;
|
|
6720
|
+
}
|
|
6494
6721
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6495
6722
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6496
6723
|
}
|
|
@@ -6514,12 +6741,12 @@ class Client extends openapi_core_1.default {
|
|
|
6514
6741
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceConnectionStringResponse({}));
|
|
6515
6742
|
}
|
|
6516
6743
|
/**
|
|
6517
|
-
* Modifies the
|
|
6744
|
+
* Modifies the connection address and port of a MongoDB instance.
|
|
6518
6745
|
*
|
|
6519
6746
|
* @remarks
|
|
6520
|
-
* You can modify the connection
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6747
|
+
* You can modify the connection address and port for the following instance types:
|
|
6748
|
+
* - You can modify the connection address and port for instances that use local disks or cloud disks.
|
|
6749
|
+
* - For sharded cluster instances, you can modify only the connection address of Mongos nodes.
|
|
6523
6750
|
*
|
|
6524
6751
|
* @param request - ModifyDBInstanceConnectionStringRequest
|
|
6525
6752
|
* @returns ModifyDBInstanceConnectionStringResponse
|
|
@@ -6588,6 +6815,11 @@ class Client extends openapi_core_1.default {
|
|
|
6588
6815
|
/**
|
|
6589
6816
|
* Modifies the disk type of an ApsaraDB for MongoDB instance.
|
|
6590
6817
|
*
|
|
6818
|
+
* @remarks
|
|
6819
|
+
* - This feature is not supported for instances with less than 40 GB of disk space.
|
|
6820
|
+
* - You can change the disk type only to an ESSD AutoPL disk (cloud_auto).
|
|
6821
|
+
* - The interval between two consecutive modifications to the provisioned input/output operations per second (IOPS) of an instance must be longer than one hour. For more information, see [Modify the performance of an ESSD AutoPL disk](https://help.aliyun.com/document_detail/413275.html).
|
|
6822
|
+
*
|
|
6591
6823
|
* @param request - ModifyDBInstanceDiskTypeRequest
|
|
6592
6824
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6593
6825
|
* @returns ModifyDBInstanceDiskTypeResponse
|
|
@@ -6644,6 +6876,11 @@ class Client extends openapi_core_1.default {
|
|
|
6644
6876
|
/**
|
|
6645
6877
|
* Modifies the disk type of an ApsaraDB for MongoDB instance.
|
|
6646
6878
|
*
|
|
6879
|
+
* @remarks
|
|
6880
|
+
* - This feature is not supported for instances with less than 40 GB of disk space.
|
|
6881
|
+
* - You can change the disk type only to an ESSD AutoPL disk (cloud_auto).
|
|
6882
|
+
* - The interval between two consecutive modifications to the provisioned input/output operations per second (IOPS) of an instance must be longer than one hour. For more information, see [Modify the performance of an ESSD AutoPL disk](https://help.aliyun.com/document_detail/413275.html).
|
|
6883
|
+
*
|
|
6647
6884
|
* @param request - ModifyDBInstanceDiskTypeRequest
|
|
6648
6885
|
* @returns ModifyDBInstanceDiskTypeResponse
|
|
6649
6886
|
*/
|
|
@@ -6709,13 +6946,13 @@ class Client extends openapi_core_1.default {
|
|
|
6709
6946
|
return await this.modifyDBInstanceMaintainTimeWithOptions(request, runtime);
|
|
6710
6947
|
}
|
|
6711
6948
|
/**
|
|
6712
|
-
*
|
|
6949
|
+
* Set the monitoring collection granularity for a MongoDB instance.
|
|
6713
6950
|
*
|
|
6714
6951
|
* @remarks
|
|
6715
|
-
* >
|
|
6716
|
-
*
|
|
6717
|
-
*
|
|
6718
|
-
*
|
|
6952
|
+
* > Due to changes in the monitoring collection granularity adjustment feature, this operation is only applicable to the previous version of the MongoDB console.
|
|
6953
|
+
* To use this operation, the instance must meet the following requirements:
|
|
6954
|
+
* - A replica set or sharded cluster instance is used.
|
|
6955
|
+
* - MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
6719
6956
|
*
|
|
6720
6957
|
* @param request - ModifyDBInstanceMonitorRequest
|
|
6721
6958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6759,13 +6996,13 @@ class Client extends openapi_core_1.default {
|
|
|
6759
6996
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceMonitorResponse({}));
|
|
6760
6997
|
}
|
|
6761
6998
|
/**
|
|
6762
|
-
*
|
|
6999
|
+
* Set the monitoring collection granularity for a MongoDB instance.
|
|
6763
7000
|
*
|
|
6764
7001
|
* @remarks
|
|
6765
|
-
* >
|
|
6766
|
-
*
|
|
6767
|
-
*
|
|
6768
|
-
*
|
|
7002
|
+
* > Due to changes in the monitoring collection granularity adjustment feature, this operation is only applicable to the previous version of the MongoDB console.
|
|
7003
|
+
* To use this operation, the instance must meet the following requirements:
|
|
7004
|
+
* - A replica set or sharded cluster instance is used.
|
|
7005
|
+
* - MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
|
|
6769
7006
|
*
|
|
6770
7007
|
* @param request - ModifyDBInstanceMonitorRequest
|
|
6771
7008
|
* @returns ModifyDBInstanceMonitorResponse
|
|
@@ -6779,9 +7016,9 @@ class Client extends openapi_core_1.default {
|
|
|
6779
7016
|
*
|
|
6780
7017
|
* @remarks
|
|
6781
7018
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
6782
|
-
*
|
|
6783
|
-
*
|
|
6784
|
-
* >
|
|
7019
|
+
* - The instance is in the Running state.
|
|
7020
|
+
* - The network of the instance is in hybrid access mode.
|
|
7021
|
+
* > This operation is supported by replica set instances and sharded cluster instances. This operation is not supported by standalone instances.
|
|
6785
7022
|
*
|
|
6786
7023
|
* @param request - ModifyDBInstanceNetExpireTimeRequest
|
|
6787
7024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6832,9 +7069,9 @@ class Client extends openapi_core_1.default {
|
|
|
6832
7069
|
*
|
|
6833
7070
|
* @remarks
|
|
6834
7071
|
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
6835
|
-
*
|
|
6836
|
-
*
|
|
6837
|
-
* >
|
|
7072
|
+
* - The instance is in the Running state.
|
|
7073
|
+
* - The network of the instance is in hybrid access mode.
|
|
7074
|
+
* > This operation is supported by replica set instances and sharded cluster instances. This operation is not supported by standalone instances.
|
|
6838
7075
|
*
|
|
6839
7076
|
* @param request - ModifyDBInstanceNetExpireTimeRequest
|
|
6840
7077
|
* @returns ModifyDBInstanceNetExpireTimeResponse
|
|
@@ -6844,10 +7081,11 @@ class Client extends openapi_core_1.default {
|
|
|
6844
7081
|
return await this.modifyDBInstanceNetExpireTimeWithOptions(request, runtime);
|
|
6845
7082
|
}
|
|
6846
7083
|
/**
|
|
6847
|
-
*
|
|
7084
|
+
* Switches the network type of a MongoDB instance.
|
|
6848
7085
|
*
|
|
6849
7086
|
* @remarks
|
|
6850
|
-
* This operation
|
|
7087
|
+
* - This operation applies to replica set instances and sharded cluster instances. Single-node instances are not supported. Only the transform from the classic network type to the VPC network type is supported.
|
|
7088
|
+
* - This operation supports only instances that run MongoDB 4.2 or earlier and use local disks.
|
|
6851
7089
|
*
|
|
6852
7090
|
* @param request - ModifyDBInstanceNetworkTypeRequest
|
|
6853
7091
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6906,10 +7144,11 @@ class Client extends openapi_core_1.default {
|
|
|
6906
7144
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceNetworkTypeResponse({}));
|
|
6907
7145
|
}
|
|
6908
7146
|
/**
|
|
6909
|
-
*
|
|
7147
|
+
* Switches the network type of a MongoDB instance.
|
|
6910
7148
|
*
|
|
6911
7149
|
* @remarks
|
|
6912
|
-
* This operation
|
|
7150
|
+
* - This operation applies to replica set instances and sharded cluster instances. Single-node instances are not supported. Only the transform from the classic network type to the VPC network type is supported.
|
|
7151
|
+
* - This operation supports only instances that run MongoDB 4.2 or earlier and use local disks.
|
|
6913
7152
|
*
|
|
6914
7153
|
* @param request - ModifyDBInstanceNetworkTypeRequest
|
|
6915
7154
|
* @returns ModifyDBInstanceNetworkTypeResponse
|
|
@@ -6919,15 +7158,15 @@ class Client extends openapi_core_1.default {
|
|
|
6919
7158
|
return await this.modifyDBInstanceNetworkTypeWithOptions(request, runtime);
|
|
6920
7159
|
}
|
|
6921
7160
|
/**
|
|
6922
|
-
* Modifies the SSL
|
|
7161
|
+
* Modifies the SSL configuration of a MongoDB instance.
|
|
6923
7162
|
*
|
|
6924
7163
|
* @remarks
|
|
6925
|
-
*
|
|
6926
|
-
*
|
|
6927
|
-
*
|
|
6928
|
-
*
|
|
6929
|
-
*
|
|
6930
|
-
* >
|
|
7164
|
+
* Before you call the ModifyDBInstanceSSL operation, make sure that the instance meets the following requirements:
|
|
7165
|
+
* - The instance is in the running state.
|
|
7166
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
7167
|
+
* - The replica set instance is version 3.4 or later.
|
|
7168
|
+
* - The sharded cluster instance uses enhanced solid-state drives (ESSDs).
|
|
7169
|
+
* > Enabling, updating, or disabling SSL restarts the instance. We recommend that you perform these operations during off-peak hours.
|
|
6931
7170
|
*
|
|
6932
7171
|
* @param request - ModifyDBInstanceSSLRequest
|
|
6933
7172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6977,15 +7216,15 @@ class Client extends openapi_core_1.default {
|
|
|
6977
7216
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceSSLResponse({}));
|
|
6978
7217
|
}
|
|
6979
7218
|
/**
|
|
6980
|
-
* Modifies the SSL
|
|
7219
|
+
* Modifies the SSL configuration of a MongoDB instance.
|
|
6981
7220
|
*
|
|
6982
7221
|
* @remarks
|
|
6983
|
-
*
|
|
6984
|
-
*
|
|
6985
|
-
*
|
|
6986
|
-
*
|
|
6987
|
-
*
|
|
6988
|
-
* >
|
|
7222
|
+
* Before you call the ModifyDBInstanceSSL operation, make sure that the instance meets the following requirements:
|
|
7223
|
+
* - The instance is in the running state.
|
|
7224
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
7225
|
+
* - The replica set instance is version 3.4 or later.
|
|
7226
|
+
* - The sharded cluster instance uses enhanced solid-state drives (ESSDs).
|
|
7227
|
+
* > Enabling, updating, or disabling SSL restarts the instance. We recommend that you perform these operations during off-peak hours.
|
|
6989
7228
|
*
|
|
6990
7229
|
* @param request - ModifyDBInstanceSSLRequest
|
|
6991
7230
|
* @returns ModifyDBInstanceSSLResponse
|
|
@@ -6995,11 +7234,11 @@ class Client extends openapi_core_1.default {
|
|
|
6995
7234
|
return await this.modifyDBInstanceSSLWithOptions(request, runtime);
|
|
6996
7235
|
}
|
|
6997
7236
|
/**
|
|
6998
|
-
*
|
|
7237
|
+
* Changes the instance type or storage space for ApsaraDB for MongoDB standalone, replica set, or serverless instances. Serverless instances are exclusive to the Alibaba Cloud China website.
|
|
6999
7238
|
*
|
|
7000
7239
|
* @remarks
|
|
7001
|
-
* Before
|
|
7002
|
-
* This operation applies only to standalone and replica set instances. To
|
|
7240
|
+
* Before calling this operation, make sure you understand the billing method and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
7241
|
+
* This operation applies only to ApsaraDB for MongoDB<props="china"> standalone instances, replica set instances, and Serverless instances<props="intl"> standalone instances and replica set instances. To change the configuration of a sharded cluster instance, call the [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html), [CreateNode](https://help.aliyun.com/document_detail/61911.html), [DeleteNode](https://help.aliyun.com/document_detail/61922.html), or [ModifyNodeSpecBatch](https://help.aliyun.com/document_detail/61816.html) operations.
|
|
7003
7242
|
*
|
|
7004
7243
|
* @param request - ModifyDBInstanceSpecRequest
|
|
7005
7244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7091,11 +7330,11 @@ class Client extends openapi_core_1.default {
|
|
|
7091
7330
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceSpecResponse({}));
|
|
7092
7331
|
}
|
|
7093
7332
|
/**
|
|
7094
|
-
*
|
|
7333
|
+
* Changes the instance type or storage space for ApsaraDB for MongoDB standalone, replica set, or serverless instances. Serverless instances are exclusive to the Alibaba Cloud China website.
|
|
7095
7334
|
*
|
|
7096
7335
|
* @remarks
|
|
7097
|
-
* Before
|
|
7098
|
-
* This operation applies only to standalone and replica set instances. To
|
|
7336
|
+
* Before calling this operation, make sure you understand the billing method and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
7337
|
+
* This operation applies only to ApsaraDB for MongoDB<props="china"> standalone instances, replica set instances, and Serverless instances<props="intl"> standalone instances and replica set instances. To change the configuration of a sharded cluster instance, call the [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html), [CreateNode](https://help.aliyun.com/document_detail/61911.html), [DeleteNode](https://help.aliyun.com/document_detail/61922.html), or [ModifyNodeSpecBatch](https://help.aliyun.com/document_detail/61816.html) operations.
|
|
7099
7338
|
*
|
|
7100
7339
|
* @param request - ModifyDBInstanceSpecRequest
|
|
7101
7340
|
* @returns ModifyDBInstanceSpecResponse
|
|
@@ -7105,16 +7344,16 @@ class Client extends openapi_core_1.default {
|
|
|
7105
7344
|
return await this.modifyDBInstanceSpecWithOptions(request, runtime);
|
|
7106
7345
|
}
|
|
7107
7346
|
/**
|
|
7108
|
-
* Modifies the
|
|
7347
|
+
* Modifies the Transparent Data Encryption (TDE) status of a MongoDB instance.
|
|
7109
7348
|
*
|
|
7110
7349
|
* @remarks
|
|
7111
|
-
*
|
|
7112
|
-
* >
|
|
7113
|
-
* Before you call this operation, make sure that the
|
|
7114
|
-
*
|
|
7115
|
-
*
|
|
7116
|
-
*
|
|
7117
|
-
*
|
|
7350
|
+
* Transparent Data Encryption (TDE) provides real-time I/O encryption and decryption for data files. Data is encrypted before it is written to a disk and decrypted when it is read from the disk into memory. For more information, see [Configure TDE](https://help.aliyun.com/document_detail/131048.html).
|
|
7351
|
+
* > You cannot disable TDE after it is enabled.
|
|
7352
|
+
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
7353
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
7354
|
+
* - The instance uses the WiredTiger storage engine.
|
|
7355
|
+
* - The instance uses local disks.
|
|
7356
|
+
* - The instance runs MongoDB 4.0 or 4.2. If the instance runs an earlier version, you must upgrade the database version by calling the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation.
|
|
7118
7357
|
*
|
|
7119
7358
|
* @param request - ModifyDBInstanceTDERequest
|
|
7120
7359
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7170,16 +7409,16 @@ class Client extends openapi_core_1.default {
|
|
|
7170
7409
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceTDEResponse({}));
|
|
7171
7410
|
}
|
|
7172
7411
|
/**
|
|
7173
|
-
* Modifies the
|
|
7412
|
+
* Modifies the Transparent Data Encryption (TDE) status of a MongoDB instance.
|
|
7174
7413
|
*
|
|
7175
7414
|
* @remarks
|
|
7176
|
-
*
|
|
7177
|
-
* >
|
|
7178
|
-
* Before you call this operation, make sure that the
|
|
7179
|
-
*
|
|
7180
|
-
*
|
|
7181
|
-
*
|
|
7182
|
-
*
|
|
7415
|
+
* Transparent Data Encryption (TDE) provides real-time I/O encryption and decryption for data files. Data is encrypted before it is written to a disk and decrypted when it is read from the disk into memory. For more information, see [Configure TDE](https://help.aliyun.com/document_detail/131048.html).
|
|
7416
|
+
* > You cannot disable TDE after it is enabled.
|
|
7417
|
+
* Before you call this operation, make sure that the instance meets the following requirements:
|
|
7418
|
+
* - The instance is a replica set instance or a sharded cluster instance.
|
|
7419
|
+
* - The instance uses the WiredTiger storage engine.
|
|
7420
|
+
* - The instance uses local disks.
|
|
7421
|
+
* - The instance runs MongoDB 4.0 or 4.2. If the instance runs an earlier version, you must upgrade the database version by calling the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation.
|
|
7183
7422
|
*
|
|
7184
7423
|
* @param request - ModifyDBInstanceTDERequest
|
|
7185
7424
|
* @returns ModifyDBInstanceTDEResponse
|
|
@@ -7437,10 +7676,10 @@ class Client extends openapi_core_1.default {
|
|
|
7437
7676
|
*
|
|
7438
7677
|
* @remarks
|
|
7439
7678
|
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
7440
|
-
*
|
|
7441
|
-
*
|
|
7442
|
-
*
|
|
7443
|
-
*
|
|
7679
|
+
* - The instance is a replica set or sharded cluster instance.
|
|
7680
|
+
* - The database engine 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](https://help.aliyun.com/document_detail/62010.html) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine version of the instance.
|
|
7681
|
+
* - The network type of the instance must be VPC. If the network type of the instance is classic network, you must call the [ModifyDBInstanceNetworkType](https://help.aliyun.com/document_detail/62138.html) operation to change the network type to VPC.
|
|
7682
|
+
* - You can only disable but not enable password-free access over VPC.
|
|
7444
7683
|
*
|
|
7445
7684
|
* @param request - ModifyInstanceVpcAuthModeRequest
|
|
7446
7685
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7491,10 +7730,10 @@ class Client extends openapi_core_1.default {
|
|
|
7491
7730
|
*
|
|
7492
7731
|
* @remarks
|
|
7493
7732
|
* Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
7494
|
-
*
|
|
7495
|
-
*
|
|
7496
|
-
*
|
|
7497
|
-
*
|
|
7733
|
+
* - The instance is a replica set or sharded cluster instance.
|
|
7734
|
+
* - The database engine 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](https://help.aliyun.com/document_detail/62010.html) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine version of the instance.
|
|
7735
|
+
* - The network type of the instance must be VPC. If the network type of the instance is classic network, you must call the [ModifyDBInstanceNetworkType](https://help.aliyun.com/document_detail/62138.html) operation to change the network type to VPC.
|
|
7736
|
+
* - You can only disable but not enable password-free access over VPC.
|
|
7498
7737
|
*
|
|
7499
7738
|
* @param request - ModifyInstanceVpcAuthModeRequest
|
|
7500
7739
|
* @returns ModifyInstanceVpcAuthModeResponse
|
|
@@ -7504,10 +7743,10 @@ class Client extends openapi_core_1.default {
|
|
|
7504
7743
|
return await this.modifyInstanceVpcAuthModeWithOptions(request, runtime);
|
|
7505
7744
|
}
|
|
7506
7745
|
/**
|
|
7507
|
-
* Changes the
|
|
7746
|
+
* Changes the instance type and storage space of a node in a MongoDB sharded cluster instance.
|
|
7508
7747
|
*
|
|
7509
7748
|
* @remarks
|
|
7510
|
-
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of
|
|
7749
|
+
* Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of MongoDB.
|
|
7511
7750
|
* > This operation is applicable only to sharded cluster instances.
|
|
7512
7751
|
*
|
|
7513
7752
|
* @param request - ModifyNodeSpecRequest
|
|
@@ -7597,10 +7836,10 @@ class Client extends openapi_core_1.default {
|
|
|
7597
7836
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyNodeSpecResponse({}));
|
|
7598
7837
|
}
|
|
7599
7838
|
/**
|
|
7600
|
-
* Changes the
|
|
7839
|
+
* Changes the instance type and storage space of a node in a MongoDB sharded cluster instance.
|
|
7601
7840
|
*
|
|
7602
7841
|
* @remarks
|
|
7603
|
-
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of
|
|
7842
|
+
* Before you call this operation, make sure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of MongoDB.
|
|
7604
7843
|
* > This operation is applicable only to sharded cluster instances.
|
|
7605
7844
|
*
|
|
7606
7845
|
* @param request - ModifyNodeSpecRequest
|
|
@@ -7611,12 +7850,12 @@ class Client extends openapi_core_1.default {
|
|
|
7611
7850
|
return await this.modifyNodeSpecWithOptions(request, runtime);
|
|
7612
7851
|
}
|
|
7613
7852
|
/**
|
|
7614
|
-
* Changes the
|
|
7853
|
+
* Changes the configuration of one or more Mongos or shard nodes in an ApsaraDB for MongoDB sharded cluster instance.
|
|
7615
7854
|
*
|
|
7616
7855
|
* @remarks
|
|
7617
|
-
*
|
|
7618
|
-
* This operation
|
|
7619
|
-
* When you upgrade or downgrade
|
|
7856
|
+
* Before you call this operation, ensure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
7857
|
+
* This operation applies only to ApsaraDB for MongoDB sharded cluster instances.
|
|
7858
|
+
* When you upgrade or downgrade multiple sharded cluster instances in a batch, the target instance types are subject to certain constraints. For example, if you expand storage capacity, the target capacity must be greater than or equal to the current capacity. If the instances have different instance types, the system randomly selects the instance type of one instance and applies its constraints to the entire batch. This may cause the upgrade or downgrade to fail. If you cannot upgrade or downgrade instances in a batch, you can use the ModifyNodeSpec operation to change the configuration of a single sharded cluster instance.
|
|
7620
7859
|
*
|
|
7621
7860
|
* @param request - ModifyNodeSpecBatchRequest
|
|
7622
7861
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7693,12 +7932,12 @@ class Client extends openapi_core_1.default {
|
|
|
7693
7932
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyNodeSpecBatchResponse({}));
|
|
7694
7933
|
}
|
|
7695
7934
|
/**
|
|
7696
|
-
* Changes the
|
|
7935
|
+
* Changes the configuration of one or more Mongos or shard nodes in an ApsaraDB for MongoDB sharded cluster instance.
|
|
7697
7936
|
*
|
|
7698
7937
|
* @remarks
|
|
7699
|
-
*
|
|
7700
|
-
* This operation
|
|
7701
|
-
* When you upgrade or downgrade
|
|
7938
|
+
* Before you call this operation, ensure that you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/mongodb/detail)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.
|
|
7939
|
+
* This operation applies only to ApsaraDB for MongoDB sharded cluster instances.
|
|
7940
|
+
* When you upgrade or downgrade multiple sharded cluster instances in a batch, the target instance types are subject to certain constraints. For example, if you expand storage capacity, the target capacity must be greater than or equal to the current capacity. If the instances have different instance types, the system randomly selects the instance type of one instance and applies its constraints to the entire batch. This may cause the upgrade or downgrade to fail. If you cannot upgrade or downgrade instances in a batch, you can use the ModifyNodeSpec operation to change the configuration of a single sharded cluster instance.
|
|
7702
7941
|
*
|
|
7703
7942
|
* @param request - ModifyNodeSpecBatchRequest
|
|
7704
7943
|
* @returns ModifyNodeSpecBatchResponse
|
|
@@ -7711,8 +7950,8 @@ class Client extends openapi_core_1.default {
|
|
|
7711
7950
|
* Modifies the parameters of an ApsaraDB for MongoDB instance.
|
|
7712
7951
|
*
|
|
7713
7952
|
* @remarks
|
|
7714
|
-
*
|
|
7715
|
-
*
|
|
7953
|
+
* - When you call this operation, the instance status must be running.
|
|
7954
|
+
* - If you call this operation to modify specific instance parameters that require a restart to take effect, the instance is automatically restarted after the operation is called. You can call the [DescribeParameterTemplates](https://help.aliyun.com/document_detail/67618.html) operation to identify which parameters require an instance restart to take effect after modification.
|
|
7716
7955
|
*
|
|
7717
7956
|
* @param request - ModifyParametersRequest
|
|
7718
7957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7771,8 +8010,8 @@ class Client extends openapi_core_1.default {
|
|
|
7771
8010
|
* Modifies the parameters of an ApsaraDB for MongoDB instance.
|
|
7772
8011
|
*
|
|
7773
8012
|
* @remarks
|
|
7774
|
-
*
|
|
7775
|
-
*
|
|
8013
|
+
* - When you call this operation, the instance status must be running.
|
|
8014
|
+
* - If you call this operation to modify specific instance parameters that require a restart to take effect, the instance is automatically restarted after the operation is called. You can call the [DescribeParameterTemplates](https://help.aliyun.com/document_detail/67618.html) operation to identify which parameters require an instance restart to take effect after modification.
|
|
7776
8015
|
*
|
|
7777
8016
|
* @param request - ModifyParametersRequest
|
|
7778
8017
|
* @returns ModifyParametersResponse
|
|
@@ -7845,10 +8084,10 @@ class Client extends openapi_core_1.default {
|
|
|
7845
8084
|
return await this.modifyResourceGroupWithOptions(request, runtime);
|
|
7846
8085
|
}
|
|
7847
8086
|
/**
|
|
7848
|
-
*
|
|
8087
|
+
* Modifies the ECS security group bound to an ApsaraDB for MongoDB instance.
|
|
7849
8088
|
*
|
|
7850
8089
|
* @remarks
|
|
7851
|
-
* >
|
|
8090
|
+
* > For a sharded cluster instance, the bound ECS security group takes effect only for mongos nodes.
|
|
7852
8091
|
*
|
|
7853
8092
|
* @param request - ModifySecurityGroupConfigurationRequest
|
|
7854
8093
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7892,10 +8131,10 @@ class Client extends openapi_core_1.default {
|
|
|
7892
8131
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySecurityGroupConfigurationResponse({}));
|
|
7893
8132
|
}
|
|
7894
8133
|
/**
|
|
7895
|
-
*
|
|
8134
|
+
* Modifies the ECS security group bound to an ApsaraDB for MongoDB instance.
|
|
7896
8135
|
*
|
|
7897
8136
|
* @remarks
|
|
7898
|
-
* >
|
|
8137
|
+
* > For a sharded cluster instance, the bound ECS security group takes effect only for mongos nodes.
|
|
7899
8138
|
*
|
|
7900
8139
|
* @param request - ModifySecurityGroupConfigurationRequest
|
|
7901
8140
|
* @returns ModifySecurityGroupConfigurationResponse
|
|
@@ -7968,7 +8207,10 @@ class Client extends openapi_core_1.default {
|
|
|
7968
8207
|
return await this.modifySecurityIpsWithOptions(request, runtime);
|
|
7969
8208
|
}
|
|
7970
8209
|
/**
|
|
7971
|
-
*
|
|
8210
|
+
* Modifies the SRV connection address of a MongoDB instance.
|
|
8211
|
+
*
|
|
8212
|
+
* @remarks
|
|
8213
|
+
* This operation applies only to replica set instances and sharded cluster instances that use disks.
|
|
7972
8214
|
*
|
|
7973
8215
|
* @param request - ModifySrvNetworkAddressRequest
|
|
7974
8216
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8015,7 +8257,10 @@ class Client extends openapi_core_1.default {
|
|
|
8015
8257
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySrvNetworkAddressResponse({}));
|
|
8016
8258
|
}
|
|
8017
8259
|
/**
|
|
8018
|
-
*
|
|
8260
|
+
* Modifies the SRV connection address of a MongoDB instance.
|
|
8261
|
+
*
|
|
8262
|
+
* @remarks
|
|
8263
|
+
* This operation applies only to replica set instances and sharded cluster instances that use disks.
|
|
8019
8264
|
*
|
|
8020
8265
|
* @param request - ModifySrvNetworkAddressRequest
|
|
8021
8266
|
* @returns ModifySrvNetworkAddressResponse
|
|
@@ -8088,11 +8333,11 @@ class Client extends openapi_core_1.default {
|
|
|
8088
8333
|
return await this.modifyTaskInfoWithOptions(request, runtime);
|
|
8089
8334
|
}
|
|
8090
8335
|
/**
|
|
8091
|
-
* Releases the internal endpoint of a shard or Configserver node
|
|
8336
|
+
* Releases the internal endpoint of a shard or Configserver node for a sharded cluster instance.
|
|
8092
8337
|
*
|
|
8093
8338
|
* @remarks
|
|
8094
|
-
*
|
|
8095
|
-
*
|
|
8339
|
+
* - This operation releases the internal endpoint of a shard or Configserver node for a sharded cluster instance. For more information, see [Release the endpoint of a shard or Configserver node](https://help.aliyun.com/document_detail/134067.html).
|
|
8340
|
+
* - To release the public endpoint of a shard or Configserver node for a sharded cluster instance, call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation.
|
|
8096
8341
|
*
|
|
8097
8342
|
* @param request - ReleaseNodePrivateNetworkAddressRequest
|
|
8098
8343
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8142,11 +8387,11 @@ class Client extends openapi_core_1.default {
|
|
|
8142
8387
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReleaseNodePrivateNetworkAddressResponse({}));
|
|
8143
8388
|
}
|
|
8144
8389
|
/**
|
|
8145
|
-
* Releases the internal endpoint of a shard or Configserver node
|
|
8390
|
+
* Releases the internal endpoint of a shard or Configserver node for a sharded cluster instance.
|
|
8146
8391
|
*
|
|
8147
8392
|
* @remarks
|
|
8148
|
-
*
|
|
8149
|
-
*
|
|
8393
|
+
* - This operation releases the internal endpoint of a shard or Configserver node for a sharded cluster instance. For more information, see [Release the endpoint of a shard or Configserver node](https://help.aliyun.com/document_detail/134067.html).
|
|
8394
|
+
* - To release the public endpoint of a shard or Configserver node for a sharded cluster instance, call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation.
|
|
8150
8395
|
*
|
|
8151
8396
|
* @param request - ReleaseNodePrivateNetworkAddressRequest
|
|
8152
8397
|
* @returns ReleaseNodePrivateNetworkAddressResponse
|
|
@@ -8292,9 +8537,6 @@ class Client extends openapi_core_1.default {
|
|
|
8292
8537
|
/**
|
|
8293
8538
|
* Resets the password of the root account in an ApsaraDB for MongoDB instance.
|
|
8294
8539
|
*
|
|
8295
|
-
* @remarks
|
|
8296
|
-
* > This operation can be used to reset only the password of the root account of an instance.
|
|
8297
|
-
*
|
|
8298
8540
|
* @param request - ResetAccountPasswordRequest
|
|
8299
8541
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8300
8542
|
* @returns ResetAccountPasswordResponse
|
|
@@ -8345,9 +8587,6 @@ class Client extends openapi_core_1.default {
|
|
|
8345
8587
|
/**
|
|
8346
8588
|
* Resets the password of the root account in an ApsaraDB for MongoDB instance.
|
|
8347
8589
|
*
|
|
8348
|
-
* @remarks
|
|
8349
|
-
* > This operation can be used to reset only the password of the root account of an instance.
|
|
8350
|
-
*
|
|
8351
8590
|
* @param request - ResetAccountPasswordRequest
|
|
8352
8591
|
* @returns ResetAccountPasswordResponse
|
|
8353
8592
|
*/
|
|
@@ -8359,7 +8598,7 @@ class Client extends openapi_core_1.default {
|
|
|
8359
8598
|
* Restarts an ApsaraDB for MongoDB instance.
|
|
8360
8599
|
*
|
|
8361
8600
|
* @remarks
|
|
8362
|
-
*
|
|
8601
|
+
* You can call this operation to restart an instance. You can also restart a shard or Mongos node in a sharded cluster instance.
|
|
8363
8602
|
*
|
|
8364
8603
|
* @param request - RestartDBInstanceRequest
|
|
8365
8604
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8374,6 +8613,9 @@ class Client extends openapi_core_1.default {
|
|
|
8374
8613
|
if (!$dara.isNull(request.nodeId)) {
|
|
8375
8614
|
query["NodeId"] = request.nodeId;
|
|
8376
8615
|
}
|
|
8616
|
+
if (!$dara.isNull(request.nodeType)) {
|
|
8617
|
+
query["NodeType"] = request.nodeType;
|
|
8618
|
+
}
|
|
8377
8619
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
8378
8620
|
query["OwnerAccount"] = request.ownerAccount;
|
|
8379
8621
|
}
|
|
@@ -8409,7 +8651,7 @@ class Client extends openapi_core_1.default {
|
|
|
8409
8651
|
* Restarts an ApsaraDB for MongoDB instance.
|
|
8410
8652
|
*
|
|
8411
8653
|
* @remarks
|
|
8412
|
-
*
|
|
8654
|
+
* You can call this operation to restart an instance. You can also restart a shard or Mongos node in a sharded cluster instance.
|
|
8413
8655
|
*
|
|
8414
8656
|
* @param request - RestartDBInstanceRequest
|
|
8415
8657
|
* @returns RestartDBInstanceResponse
|
|
@@ -8419,13 +8661,12 @@ class Client extends openapi_core_1.default {
|
|
|
8419
8661
|
return await this.restartDBInstanceWithOptions(request, runtime);
|
|
8420
8662
|
}
|
|
8421
8663
|
/**
|
|
8422
|
-
* Restarts a node
|
|
8664
|
+
* Restarts a single node of a MongoDB instance.
|
|
8423
8665
|
*
|
|
8424
8666
|
* @remarks
|
|
8425
|
-
*
|
|
8426
|
-
*
|
|
8427
|
-
*
|
|
8428
|
-
* * The instance is a replica set or sharded cluster instance of the standard edition.
|
|
8667
|
+
* Limitations:
|
|
8668
|
+
* - The instance must be in the Running state.
|
|
8669
|
+
* - The instance must be a standard replica set instance or a sharded cluster instance.
|
|
8429
8670
|
*
|
|
8430
8671
|
* @param request - RestartNodeRequest
|
|
8431
8672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8475,13 +8716,12 @@ class Client extends openapi_core_1.default {
|
|
|
8475
8716
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartNodeResponse({}));
|
|
8476
8717
|
}
|
|
8477
8718
|
/**
|
|
8478
|
-
* Restarts a node
|
|
8719
|
+
* Restarts a single node of a MongoDB instance.
|
|
8479
8720
|
*
|
|
8480
8721
|
* @remarks
|
|
8481
|
-
*
|
|
8482
|
-
*
|
|
8483
|
-
*
|
|
8484
|
-
* * The instance is a replica set or sharded cluster instance of the standard edition.
|
|
8722
|
+
* Limitations:
|
|
8723
|
+
* - The instance must be in the Running state.
|
|
8724
|
+
* - The instance must be a standard replica set instance or a sharded cluster instance.
|
|
8485
8725
|
*
|
|
8486
8726
|
* @param request - RestartNodeRequest
|
|
8487
8727
|
* @returns RestartNodeResponse
|
|
@@ -8496,8 +8736,8 @@ class Client extends openapi_core_1.default {
|
|
|
8496
8736
|
* @remarks
|
|
8497
8737
|
* The instance must be running when you call this operation.
|
|
8498
8738
|
* >
|
|
8499
|
-
*
|
|
8500
|
-
*
|
|
8739
|
+
* - This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.
|
|
8740
|
+
* - On replica set instances, the switch is performed between instances. On sharded cluster instances, the switch is performed between shards.
|
|
8501
8741
|
*
|
|
8502
8742
|
* @param request - SwitchDBInstanceHARequest
|
|
8503
8743
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8552,8 +8792,8 @@ class Client extends openapi_core_1.default {
|
|
|
8552
8792
|
* @remarks
|
|
8553
8793
|
* The instance must be running when you call this operation.
|
|
8554
8794
|
* >
|
|
8555
|
-
*
|
|
8556
|
-
*
|
|
8795
|
+
* - This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.
|
|
8796
|
+
* - On replica set instances, the switch is performed between instances. On sharded cluster instances, the switch is performed between shards.
|
|
8557
8797
|
*
|
|
8558
8798
|
* @param request - SwitchDBInstanceHARequest
|
|
8559
8799
|
* @returns SwitchDBInstanceHAResponse
|
|
@@ -8567,11 +8807,11 @@ class Client extends openapi_core_1.default {
|
|
|
8567
8807
|
*
|
|
8568
8808
|
* @remarks
|
|
8569
8809
|
* If you have a large number of instances, you can create multiple tags, bind the tags to the instances, and filter the instances by tag.
|
|
8570
|
-
*
|
|
8571
|
-
*
|
|
8572
|
-
*
|
|
8573
|
-
*
|
|
8574
|
-
*
|
|
8810
|
+
* - A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.
|
|
8811
|
+
* - If the tag that you specify does not exist, this tag is automatically created and bound to the specified instance.
|
|
8812
|
+
* - If a tag that has the same key is already bound to the instance, the new tag overwrites the existing tag.
|
|
8813
|
+
* - You can bind up to 20 tags to each instance.
|
|
8814
|
+
* - You can bind tags to up to 50 instances each time you call the operation.
|
|
8575
8815
|
*
|
|
8576
8816
|
* @param request - TagResourcesRequest
|
|
8577
8817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8628,11 +8868,11 @@ class Client extends openapi_core_1.default {
|
|
|
8628
8868
|
*
|
|
8629
8869
|
* @remarks
|
|
8630
8870
|
* If you have a large number of instances, you can create multiple tags, bind the tags to the instances, and filter the instances by tag.
|
|
8631
|
-
*
|
|
8632
|
-
*
|
|
8633
|
-
*
|
|
8634
|
-
*
|
|
8635
|
-
*
|
|
8871
|
+
* - A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.
|
|
8872
|
+
* - If the tag that you specify does not exist, this tag is automatically created and bound to the specified instance.
|
|
8873
|
+
* - If a tag that has the same key is already bound to the instance, the new tag overwrites the existing tag.
|
|
8874
|
+
* - You can bind up to 20 tags to each instance.
|
|
8875
|
+
* - You can bind tags to up to 50 instances each time you call the operation.
|
|
8636
8876
|
*
|
|
8637
8877
|
* @param request - TagResourcesRequest
|
|
8638
8878
|
* @returns TagResourcesResponse
|
|
@@ -8645,8 +8885,8 @@ class Client extends openapi_core_1.default {
|
|
|
8645
8885
|
* Switches the backup mode of an ApsaraDB for MongoDB sharded cluster instance to the cluster backup mode. After the instance is switched to the cluster backup mode, the instance supports high-frequency backup.
|
|
8646
8886
|
*
|
|
8647
8887
|
* @remarks
|
|
8648
|
-
*
|
|
8649
|
-
*
|
|
8888
|
+
* - The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.
|
|
8889
|
+
* - You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. Cloud disk-based sharded cluster instances that are created on or after October 19, 2023 are set to the cluster backup mode by default.
|
|
8650
8890
|
*
|
|
8651
8891
|
* @param request - TransferClusterBackupRequest
|
|
8652
8892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8690,8 +8930,8 @@ class Client extends openapi_core_1.default {
|
|
|
8690
8930
|
* Switches the backup mode of an ApsaraDB for MongoDB sharded cluster instance to the cluster backup mode. After the instance is switched to the cluster backup mode, the instance supports high-frequency backup.
|
|
8691
8931
|
*
|
|
8692
8932
|
* @remarks
|
|
8693
|
-
*
|
|
8694
|
-
*
|
|
8933
|
+
* - The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.
|
|
8934
|
+
* - You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. Cloud disk-based sharded cluster instances that are created on or after October 19, 2023 are set to the cluster backup mode by default.
|
|
8695
8935
|
*
|
|
8696
8936
|
* @param request - TransferClusterBackupRequest
|
|
8697
8937
|
* @returns TransferClusterBackupResponse
|
|
@@ -8706,9 +8946,9 @@ class Client extends openapi_core_1.default {
|
|
|
8706
8946
|
* @remarks
|
|
8707
8947
|
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB
|
|
8708
8948
|
* Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
8709
|
-
*
|
|
8710
|
-
*
|
|
8711
|
-
*
|
|
8949
|
+
* - The instance is in the Running state.
|
|
8950
|
+
* - Your instance has no unpaid billing method change orders.
|
|
8951
|
+
* - The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
8712
8952
|
* > To change the billing method of an instance whose instance type is no longer available to purchase, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to change the instance type first.
|
|
8713
8953
|
*
|
|
8714
8954
|
* @param request - TransformInstanceChargeTypeRequest
|
|
@@ -8776,9 +9016,9 @@ class Client extends openapi_core_1.default {
|
|
|
8776
9016
|
* @remarks
|
|
8777
9017
|
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB
|
|
8778
9018
|
* Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
8779
|
-
*
|
|
8780
|
-
*
|
|
8781
|
-
*
|
|
9019
|
+
* - The instance is in the Running state.
|
|
9020
|
+
* - Your instance has no unpaid billing method change orders.
|
|
9021
|
+
* - The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
8782
9022
|
* > To change the billing method of an instance whose instance type is no longer available to purchase, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to change the instance type first.
|
|
8783
9023
|
*
|
|
8784
9024
|
* @param request - TransformInstanceChargeTypeRequest
|
|
@@ -8795,11 +9035,11 @@ class Client extends openapi_core_1.default {
|
|
|
8795
9035
|
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).
|
|
8796
9036
|
* A subscription instance cannot be changed to a pay-as-you-go instance. To avoid wasting resources, proceed with caution.
|
|
8797
9037
|
* Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
8798
|
-
*
|
|
8799
|
-
*
|
|
8800
|
-
*
|
|
8801
|
-
*
|
|
8802
|
-
* >
|
|
9038
|
+
* - The instance is in the running state.
|
|
9039
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
9040
|
+
* - The instance has no unpaid subscription orders.
|
|
9041
|
+
* - The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
9042
|
+
* > To change the billing method of an instance whose instance type is no longer available to subscription, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to first change the instance type.
|
|
8803
9043
|
*
|
|
8804
9044
|
* @param request - TransformToPrePaidRequest
|
|
8805
9045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8861,11 +9101,11 @@ class Client extends openapi_core_1.default {
|
|
|
8861
9101
|
* Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).
|
|
8862
9102
|
* A subscription instance cannot be changed to a pay-as-you-go instance. To avoid wasting resources, proceed with caution.
|
|
8863
9103
|
* Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:
|
|
8864
|
-
*
|
|
8865
|
-
*
|
|
8866
|
-
*
|
|
8867
|
-
*
|
|
8868
|
-
* >
|
|
9104
|
+
* - The instance is in the running state.
|
|
9105
|
+
* - The billing method of the instance is pay-as-you-go.
|
|
9106
|
+
* - The instance has no unpaid subscription orders.
|
|
9107
|
+
* - The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
|
|
9108
|
+
* > To change the billing method of an instance whose instance type is no longer available to subscription, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to first change the instance type.
|
|
8869
9109
|
*
|
|
8870
9110
|
* @param request - TransformToPrePaidRequest
|
|
8871
9111
|
* @returns TransformToPrePaidResponse
|
|
@@ -8879,8 +9119,8 @@ class Client extends openapi_core_1.default {
|
|
|
8879
9119
|
*
|
|
8880
9120
|
* @remarks
|
|
8881
9121
|
* >
|
|
8882
|
-
*
|
|
8883
|
-
*
|
|
9122
|
+
* - You can remove up to 20 tags at a time.
|
|
9123
|
+
* - If you remove a tag from all instances, the tag is automatically deleted.
|
|
8884
9124
|
*
|
|
8885
9125
|
* @param request - UntagResourcesRequest
|
|
8886
9126
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8940,8 +9180,8 @@ class Client extends openapi_core_1.default {
|
|
|
8940
9180
|
*
|
|
8941
9181
|
* @remarks
|
|
8942
9182
|
* >
|
|
8943
|
-
*
|
|
8944
|
-
*
|
|
9183
|
+
* - You can remove up to 20 tags at a time.
|
|
9184
|
+
* - If you remove a tag from all instances, the tag is automatically deleted.
|
|
8945
9185
|
*
|
|
8946
9186
|
* @param request - UntagResourcesRequest
|
|
8947
9187
|
* @returns UntagResourcesResponse
|
|
@@ -8955,9 +9195,11 @@ class Client extends openapi_core_1.default {
|
|
|
8955
9195
|
*
|
|
8956
9196
|
* @remarks
|
|
8957
9197
|
* The instance must be in the running state when you call this operation.
|
|
8958
|
-
* >
|
|
8959
|
-
* >
|
|
8960
|
-
* >
|
|
9198
|
+
* > - The available database versions depend on the storage engine used by the instance. For more information, see [Upgrades of MongoDB major versions](https://help.aliyun.com/document_detail/398673.html). You can also call the [DescribeAvailableEngineVersion](https://help.aliyun.com/document_detail/141355.html) operation to query the available database versions.
|
|
9199
|
+
* >
|
|
9200
|
+
* > - You cannot downgrade the MongoDB version of an instance after you upgrade it.
|
|
9201
|
+
* >
|
|
9202
|
+
* > - The instance is automatically restarted for two to three times during the upgrade process. Make sure that you upgrade the instance during off-peak hours.
|
|
8961
9203
|
*
|
|
8962
9204
|
* @param request - UpgradeDBInstanceEngineVersionRequest
|
|
8963
9205
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9008,9 +9250,11 @@ class Client extends openapi_core_1.default {
|
|
|
9008
9250
|
*
|
|
9009
9251
|
* @remarks
|
|
9010
9252
|
* The instance must be in the running state when you call this operation.
|
|
9011
|
-
* >
|
|
9012
|
-
* >
|
|
9013
|
-
* >
|
|
9253
|
+
* > - The available database versions depend on the storage engine used by the instance. For more information, see [Upgrades of MongoDB major versions](https://help.aliyun.com/document_detail/398673.html). You can also call the [DescribeAvailableEngineVersion](https://help.aliyun.com/document_detail/141355.html) operation to query the available database versions.
|
|
9254
|
+
* >
|
|
9255
|
+
* > - You cannot downgrade the MongoDB version of an instance after you upgrade it.
|
|
9256
|
+
* >
|
|
9257
|
+
* > - The instance is automatically restarted for two to three times during the upgrade process. Make sure that you upgrade the instance during off-peak hours.
|
|
9014
9258
|
*
|
|
9015
9259
|
* @param request - UpgradeDBInstanceEngineVersionRequest
|
|
9016
9260
|
* @returns UpgradeDBInstanceEngineVersionResponse
|