All Products
Search
Document Center

ApsaraDB for MongoDB:List of operations by function

更新時間:Nov 19, 2024
This product(Dds/2015-12-01) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Instance creation or cloning

APITitleDescription
CreateDBInstanceCreateDBInstanceCreates or clones an ApsaraDB for MongoDB replica set instance.
CreateShardingDBInstanceCreateShardingDBInstanceCreates or clones an ApsaraDB for MongoDB sharded cluster instance.

Instance configuration change

APITitleDescription
CreateNodeCreateNodeAdds a shard or mongos node to an ApsaraDB for MongoDB instance.
CreateNodeBatchCreateNodeBatchBatch adds mongos or shard nodes for a sharded cluster instance.
DeleteNodeDeleteNodeDeletes a shard or mongos node from an ApsaraDB for MongoDB sharded cluster instance.
ModifyDBInstanceSpecModifyDBInstanceSpecModifies the specifications or storage space of an ApsaraDB for MongoDB standalone, replica set, or serverless instance. Serverless instances are available only on the China site (aliyun.com).
ModifyNodeSpecModifyNodeSpecChanges the specifications and storage capacity of a node of an ApsaraDB for MongoDB sharded cluster instance.
ModifyNodeSpecBatchModifyNodeSpecBatchChanges the configurations of mongos or shard nodes in an ApsaraDB for MongoDB sharded cluster instance.
ModifyDBInstanceDiskTypeModifyDBInstanceDiskTypeModifies the disk type of an ApsaraDB for MongoDB instance.

Instance management

APITitleDescription
DeleteDBInstanceDeleteDBInstanceReleases an ApsaraDB for MongoDB instance.
ModifyDBInstanceMaintainTimeModifyDBInstanceMaintainTimeModifies the maintenance window of an ApsaraDB for MongoDB instance.
ModifyDBInstanceDescriptionModifyDBInstanceDescriptionModifies the name of an ApsaraDB for MongoDB instance.
ModifyDBInstanceNetExpireTimeModifyDBInstanceNetExpireTimeExtends the retention period of the classic network endpoint of an ApsaraDB for MongoDB instance.
UpgradeDBInstanceEngineVersionUpgradeDBInstanceEngineVersionUpgrades the database version of an ApsaraDB for MongoDB instance.
UpgradeDBInstanceKernelVersionUpgradeDBInstanceKernelVersionUpgrades the minor version of an ApsaraDB for MongoDB instance.
SwitchDBInstanceHASwitchDBInstanceHASwitches the primary and secondary nodes for an ApsaraDB for MongoDB instance.
RestartDBInstanceRestartDBInstanceRestarts an ApsaraDB for MongoDB instance.
DestroyInstanceDestroyInstanceDestroys an ApsaraDB for MongoDB instance.
RestartNodeRestartNodeRestarts a node in an ApsaraDB for MongoDB instance.

Renewal management

APITitleDescription
ModifyInstanceAutoRenewalAttributeModifyInstanceAutoRenewalAttributeEnables or disables auto-renewal for an ApsaraDB for MongoDB instance.
TransformInstanceChargeTypeTransformInstanceChargeTypeChanges the billing method of an instance from pay-as-you-go to subscription or from subscription to pay-as-you-go.
DescribePriceDescribePriceQueries the fees incurred when you create, upgrade, or renew an ApsaraDB for MongoDB instance.
DescribeRenewalPriceDescribeRenewalPriceQueries the price of renewing an ApsaraDB for MongoDB instance for one month.
TransformToPrePaidTransformToPrePaidChanges the billing method of an ApsaraDB for MongoDB instance from pay-as-you-go to subscription.
RenewDBInstanceRenewDBInstanceManually renews an ApsaraDB for MongoDB subscription instance.

Instance information query

APITitleDescription
DescribeReplicaSetRoleDescribeReplicaSetRoleQueries the role and connection information of an ApsaraDB for MongoDB instance.
DescribeKernelReleaseNotesDescribeKernelReleaseNotesQueries the release notes of the minor versions of an ApsaraDB for MongoDB instance.
DescribeAvailableEngineVersionDescribeAvailableEngineVersionQueries the engine versions to which an ApsaraDB for MongoDB instance can be upgraded.
DescribeDBInstancesDescribeDBInstancesQueries a list of ApsaraDB for MongoDB instances.
DescribeDBInstanceSwitchLogDescribeDBInstanceSwitchLogQueries the primary/secondary switching logs of an ApsaraDB for MongoDB instance.
DescribeDBInstanceAttributeDescribeDBInstanceAttributeQueries the details of an ApsaraDB for MongoDB instance.
DescribeRoleZoneInfoDescribeRoleZoneInfoQueries the role and zone of each node in an ApsaraDB for MongoDB instance.
DescribeInstanceAutoRenewalAttributeDescribeInstanceAutoRenewalAttributeQueries whether auto-renewal is enabled for an ApsaraDB for MongoDB instance.
DescribeActiveOperationTaskCountDescribeActiveOperationTaskCountQueries the number of operation and maintenance tasks on an ApsaraDB for MongoDB instance.
DescribeActiveOperationTasksDescribeActiveOperationTasksQueries the scheduled O\\\&M tasks of an ApsaraDB for MongoDB instance.
DescribeActiveOperationTaskTypeDescribeActiveOperationTaskTypeQueries the types of Operation and Maintenance tasks and the number of tasks of each type for an ApsaraDB for MongoDB instance.
DescribeDBInstancesOverviewDescribeDBInstancesOverviewQueries the overview information of one or more ApsaraDB for MongoDB instances.
DescribeHistoryTasksStatDescribeHistoryTasksStatQueries the overview of a task in the task center.
DescribeHistoryTasksDescribeHistoryTasksQueries a list of tasks in the task center.
ModifyTaskInfoModifyTaskInfoModifies the information of a task in the task center for an ApsaraDB for MongoDB instance.
ModifyActiveOperationTasksModifyActiveOperationTasksModifies the switching time of scheduled O\\\&M tasks for an ApsaraDB for MongoDB instance.

Resource management

APITitleDescription
DescribeAvailableResourceDescribeAvailableResourceQueries the available resources in the specified zone.
EvaluateResourceEvaluateResourceChecks whether sufficient resources are available in a region in which you want to create or upgrade an ApsaraDB for MongoDB instance.
DescribeAvailabilityZonesDescribeAvailabilityZonesQueries a list of the zones that are supported by an ApsaraDB for MongoDB instance.
ModifyResourceGroupModifyResourceGroupMoves an ApsaraDB for MongoDB instance to a specified resource group.

Resource management

APITitleDescription
DescribeRegionsDescribeRegionsQueries all regions and zones supported for an ApsaraDB for MongoDB instance.
MigrateToOtherZoneMigrateToOtherZoneYou can call this operation to migrate an ApsaraDB for MongoDB instance to another zone.
MigrateAvailableZoneMigrateAvailableZoneMigrates an ApsaraDB for MongoDB instance to a specific zone.

Connection management

APITitleDescription
ModifyInstanceVpcAuthModeModifyInstanceVpcAuthModeDisables password-free access over Virtual Private Cloud (VPC) for an ApsaraDB for MongoDB instance.
ModifyDBInstanceNetworkTypeModifyDBInstanceNetworkTypeChanges the network type of an ApsaraDB for MongoDB instance.
ModifyDBInstanceConnectionStringModifyDBInstanceConnectionStringModifies the endpoint that is used to connect to an ApsaraDB for MongoDB instance.
DescribeShardingNetworkAddressDescribeShardingNetworkAddressQueries connection information about an ApsaraDB for MongoDB sharded cluster instance.
AllocatePublicNetworkAddressAllocatePublicNetworkAddressAllocates a public endpoint to an instance.
ReleasePublicNetworkAddressReleasePublicNetworkAddressReleases the public endpoint of an ApsaraDB for MongoDB instance.
AllocateNodePrivateNetworkAddressAllocateNodePrivateNetworkAddressApplies for an internal endpoint for a shard or Configserver node in an ApsaraDB for MongoDB sharded cluster instance.
ReleaseNodePrivateNetworkAddressReleaseNodePrivateNetworkAddressReleases the internal endpoint of a shard or Configserver node in a sharded cluster instance.

Tag management

APITitleDescription
ListTagResourcesListTagResourcesQueries the relationship between ApsaraDB for MongoDB instances and tags.
DescribeTagsDescribeTagsQueries all tags in a region.
TagResourcesTagResourcesBinds tags to ApsaraDB for MongoDB instances.
UntagResourcesUntagResourcesRemoves a tag if the tag is not added to another instance.

Account management

APITitleDescription
CreateAccountCreateAccountCreates an account that is granted read-only permissions for shard nodes in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
ResetAccountPasswordResetAccountPasswordResets the password of the root account in an ApsaraDB for MongoDB instance.
ModifyAccountDescriptionModifyAccountDescriptionModifies the description of the root account in an ApsaraDB for MongoDB instance.
DescribeAccountsDescribeAccountsQueries the database accounts of an ApsaraDB for MongoDB instance.

IP address whitelists and security groups

APITitleDescription
ModifySecurityIpsModifySecurityIpsModifies the IP address whitelists of an ApsaraDB for MongoDB instance.
ModifySecurityGroupConfigurationModifySecurityGroupConfigurationModifies the Elastic Compute Service (ECS) security groups that are associated with an ApsaraDB for MongoDB instance.
DescribeSecurityIpsDescribeSecurityIpsQueries the IP address whitelist of an ApsaraDB for MongoDB instance.
DescribeSecurityGroupConfigurationDescribeSecurityGroupConfigurationQueries the Elastic Compute Service (ECS) security groups that are associated with an ApsaraDB for MongoDB instance.
ModifyGlobalSecurityIPGroupModifyGlobalSecurityIPGroupModifies the global IP whitelist template associated with an ApsaraDB for MongoDB instance.
DescribeGlobalSecurityIPGroupDescribeGlobalSecurityIPGroupQueries the global IP whitelist template of an ApsaraDB for MongoDB instance.
ModifyGlobalSecurityIPGroupNameModifyGlobalSecurityIPGroupNameModifies the name of a global IP whitelist template associated with an ApsaraDB for MongoDB instance.
DescribeGlobalSecurityIPGroupRelationDescribeGlobalSecurityIPGroupRelationQueries the global IP whitelist templates associated with an ApsaraDB for MongoDB instance.
CreateGlobalSecurityIPGroupCreateGlobalSecurityIPGroupCreates a global IP whitelist template.
ModifyGlobalSecurityIPGroupRelationModifyGlobalSecurityIPGroupRelationModifies the mapping between a global whitelist template and an ApsaraDB for MongoDB instance.
DeleteGlobalSecurityIPGroupDeleteGlobalSecurityIPGroupDeletes a global IP whitelist template.

Keys

APITitleDescription
ModifyDBInstanceTDEModifyDBInstanceTDEModifies the transparent data encryption (TDE) status of an ApsaraDB for MongoDB instance.
CheckCloudResourceAuthorizedCheckCloudResourceAuthorizedChecks whether Key Management Service (KMS) keys are authorized to an ApsaraDB for MongoDB instance.
DescribeUserEncryptionKeyListDescribeUserEncryptionKeyListQueries the custom keys of an ApsaraDB for MongoDB instance.
DescribeDBInstanceEncryptionKeyDescribeDBInstanceEncryptionKeyQueries the details of a key for an ApsaraDB for MongoDB instance.
DescribeDBInstanceTDEInfoDescribeDBInstanceTDEInfoQueries whether Transparent Data Encryption (TDE) is enabled for an ApsaraDB for MongoDB instance.
DescribeKmsKeysDescribeKmsKeysQueries Key Management Service (KMS) keys that are available for disk encryption.

SSL encryption

APITitleDescription
ModifyDBInstanceSSLModifyDBInstanceSSLModifies the SSL settings of an ApsaraDB for MongoDB instance.
DescribeDBInstanceSSLDescribeDBInstanceSSLQueries the Secure Sockets Layer (SSL) settings of an ApsaraDB for MongoDB instance.

Audit logs

APITitleDescription
ModifyAuditLogFilterModifyAuditLogFilterQueries the types of logs collected by the audit log feature of an ApsaraDB for MongoDB instance.
ModifyAuditPolicyModifyAuditPolicyEnables or disables the audit log feature or configures the log storage duration for an ApsaraDB for MongoDB instance.
DescribeAuditRecordsDescribeAuditRecordsQueries the audit logs of an ApsaraDB for MongoDB instance.
DescribeAuditPolicyDescribeAuditPolicyQueries whether the audit log feature is enabled for an ApsaraDB for MongoDB instance.
DescribeAuditLogFilterDescribeAuditLogFilterQueries the types of entries in the audit log collected for an ApsaraDB for MongoDB instance.
DescribeMongoDBLogConfigDescribeMongoDBLogConfigQueries the logging configurations of an ApsaraDB for MongoDB instance.

Log management

APITitleDescription
DescribeSlowLogRecordsDescribeSlowLogRecordsQueries the details of entries in slow query logs of an ApsaraDB for MongoDB instance.
DescribeErrorLogRecordsDescribeErrorLogRecordsQueries entries in error logs of an ApsaraDB for MongoDB instance.
DescribeRunningLogRecordsDescribeRunningLogRecordsQueries entries in operational logs of an ApsaraDB for MongoDB instance.

Performance monitoring management

APITitleDescription
ModifyDBInstanceMonitorModifyDBInstanceMonitorYou can call this operation to set the monitoring granularity for an ApsaraDB for MongoDB instance.
DescribeDBInstancePerformanceDescribeDBInstancePerformanceQueries the performance data of an ApsaraDB for MongoDB instance.
DescribeDBInstanceMonitorDescribeDBInstanceMonitorQueries the collection frequency of monitoring data for an ApsaraDB for MongoDB instance.

Parameter management

APITitleDescription
ModifyParametersModifyParametersModifies the parameters of an ApsaraDB for MongoDB instance.
DescribeParameterModificationHistoryDescribeParameterModificationHistoryQueries the parameter modification records of an ApsaraDB for MongoDB instance.
DescribeParameterTemplatesDescribeParameterTemplatesQueries the list of default parameter templates for ApsaraDB for MongoDB instances.
DescribeParametersDescribeParametersQueries the parameter settings of an ApsaraDB for MongoDB instance.

Backup and restoration

APITitleDescription
CreateBackupCreateBackupCreates a backup set for an ApsaraDB for MongoDB instance.
ModifyBackupPolicyModifyBackupPolicyModifies a backup policy for an ApsaraDB for MongoDB instance.
DescribeBackupPolicyDescribeBackupPolicyQueries the backup policy of an ApsaraDB for MongoDB instance.
DescribeBackupsDescribeBackupsQueries the backup sets of an ApsaraDB for MongoDB instance.
DescribeBackupDBsDescribeBackupDBsQueries the databases at a specified time or the databases in a specified backup set before you restore a database for an ApsaraDB for MongoDB instance.
DescribeRestoreDBInstanceListDescribeRestoreDBInstanceListQueries ApsaraDB for MongoDB instances whose backups are restored within seven days.
CheckRecoveryConditionCheckRecoveryConditionQueries whether the data of an ApsaraDB for MongoDB instance can be restored.
TransferClusterBackupTransferClusterBackupSwitches 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.
DescribeClusterBackupsDescribeClusterBackupsQueries the backup sets of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
DescribeClusterRecoverTimeDescribeClusterRecoverTimeQueries the time range to which you can restore the data of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.
DescribeBackupStorageDescribeBackupStorageQueries the storage used for backup in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks. Note that you are charged only for the backup-used storage of each shard in a sharded cluster instance. You can call this operation only to query the storage used by a single shard in the instance for backup.
DescribeBackupTasksDescribeBackupTasksQueries backup tasks running in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks.
DescribeInstanceRecoverTimeDescribeInstanceRecoverTimeQueries the time required to restore the data of an ApsaraDB for MongoDB replica set instance that uses cloud disks.