List backups and restores for each node in a given cluster, for the last 7 days.
{- "clusterDataCentres": [
- {
- "id": "615395a6-fa3f-4d15-a77e-921554be16d2",
- "name": "AWS_VPC_US_EAST_1",
- "nodes": [
- {
- "events": [
- {
- "end": 1683529496718,
- "progress": 1,
- "start": 1683529496290,
- "state": "COMPLETED",
- "type": "mongodb-full-backup"
}, - {
- "end": 1683590610150,
- "progress": 1,
- "start": 1683590609378,
- "state": "COMPLETED",
- "type": "mongodb-full-backup"
}, - {
- "end": 1683590612722,
- "progress": 1,
- "start": 1683590609401,
- "state": "COMPLETED",
- "type": "mongodb-incremental-backup"
}, - {
- "end": 1683590912818,
- "progress": 1,
- "start": 1683590912327,
- "state": "COMPLETED",
- "type": "mongodb-incremental-backup"
}
], - "id": "8fccd341-30c4-4457-8fd0-7fb635c490ad",
- "privateAddress": "10.0.178.18",
- "publicAddress": "3.226.4.242"
}, - {
- "events": [
- {
- "end": 1683529472086,
- "progress": 1,
- "start": 1683529471635,
- "state": "COMPLETED",
- "type": "mongodb-full-backup"
}, - {
- "end": 1683529768899,
- "progress": 1,
- "start": 1683529768430,
- "state": "COMPLETED",
- "type": "mongodb-incremental-backup"
}, - {
- "end": 1683590611855,
- "progress": 1,
- "start": 1683590608993,
- "state": "COMPLETED",
- "type": "mongodb-incremental-backup"
}, - {
- "end": 1683590610166,
- "progress": 1,
- "start": 1683590609302,
- "state": "COMPLETED",
- "type": "mongodb-full-backup"
}
], - "id": "6568c12b-2bb9-4ff5-ad05-7fa01209b9bb",
- "privateAddress": "10.0.91.223",
- "publicAddress": "35.169.30.226"
}, - {
- "events": [ ],
- "id": "f85740bf-fd21-4618-aafd-d5555df9ac28",
- "privateAddress": "10.0.57.89",
- "publicAddress": "3.221.85.177"
}
]
}
], - "id": "7dd06b80-effb-42ca-bc61-9e0897d92746",
- "name": "example-cluster"
}
Successfully retrieved compatible node sizes for MongoDB.
[- {
- "cloudProviderNodeSizes": [
- {
- "nodeSizes": [
- "m5xl-400-v2",
- "r5xl-2000-v2"
], - "cloudProvider": "AWS_VPC",
- "document": "string"
}
]
}
]
Successfully retrieved versions of MongoDB.
[- {
- "applicationVersions": [
- {
- "application": "[APPLICATION]",
- "versions": [
- "1.0.0",
- "1.0.1"
]
}
]
}
]
MongoDB cluster certificates are returned as a .zip file. The file contains an X.509 cluster Certificate Authority certificate in JKS file, an X.509 cluster Certificate Authority certificate in PEM-encoded (ASCII) format, and an X.509 cluster Certificate Authority certificate in DER-encoded (binary) format.
Successfully create the MongoDB cluster's certificate
MongoDB Cluster Restore requested
{- "cdcConfigs": [
- {
- "cdcId": "a8c32b20-c8f0-11e7-abc4-cec278b6b50a",
- "customVpcSettings": {
- "network": "10.0.0.0/16",
- "vpcId": "vpc-002512aa"
}, - "restoreMode": "CUSTOM_VPC"
}
], - "clusterId": "c0e5e2ff-affe-444c-bdca-707c7b48aaad",
- "pointInTime": 1420070400000,
- "restoredClusterId": "b8a32a20-d8e0-11a7-def4-sdc278a6a50b",
- "restoredClusterName": "my-restored-cluster"
}
{- "cdcConfigs": [
- {
- "cdcId": "a8c32b20-c8f0-11e7-abc4-cec278b6b50a",
- "customVpcSettings": {
- "network": "10.0.0.0/16",
- "vpcId": "vpc-002512aa"
}, - "restoreMode": "CUSTOM_VPC"
}
], - "clusterId": "c0e5e2ff-affe-444c-bdca-707c7b48aaad",
- "pointInTime": 1420070400000,
- "restoredClusterId": "b8a32a20-d8e0-11a7-def4-sdc278a6a50b",
- "restoredClusterName": "my-restored-cluster"
}
pciComplianceMode required | boolean Creates a PCI compliant cluster, see PCI Compliance. |
Array of objects (TwoFactorDeleteSettingsV2) <= 1 items | |
mongodbInitCommands | Array of strings List of command objects to run against the admin database on cluster creation. Equivalent to running db.adminCommand() |
mongodbVersion required | string[0-9]+\.[0-9]+\.[0-9]+ Version of MongoDB to run on the cluster. Available versions:
|
required | Array of objects (MongodbDataCentreV2) = 1 items List of data centre settings. |
currentClusterOperationStatus | string (CurrentClusterOperationStatusV2) Indicates if the cluster is currently performing any restructuring operation such as being created or resized |
privateNetworkCluster required | boolean Creates the cluster with private network only, see Private Network Clusters. |
name required | string [ 3 .. 48 ] characters [a-zA-Z0-9][a-zA-Z0-9_-]* Name of the cluster. |
Array of objects (KeyValuePair) Key/Value pairs of mongod configuration options to override from the platform defaults | |
slaTier required | string (SlaTierV2) SLA Tier of the cluster. Non-production clusters may receive lower priority support and reduced SLAs. Production tier is not available when using Developer class nodes. See SLA Tier for more information. |
MongoDB Cluster provisioning requested.
{- "dataCentres": [
- {
- "cloudProvider": "AWS_VPC",
- "name": "AWS_VPC_US_EAST_1",
- "network": "10.0.0.0/16",
- "nodeSize": "MNG-DEV-t3.medium-80",
- "numberOfNodes": 3,
- "region": "US_EAST_1"
}
], - "mongodbVersion": "[x.y.z]",
- "name": "MyMongoDBCluster",
- "pciComplianceMode": false,
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION"
}
{- "dataCentres": [
- {
- "cloudProvider": "AWS_VPC",
- "name": "AWS_VPC_US_EAST_1",
- "network": "10.0.0.0/16",
- "nodeSize": "MNG-DEV-t3.medium-80",
- "numberOfNodes": 3,
- "region": "US_EAST_1"
}
], - "mongodbVersion": "[x.y.z]",
- "name": "MyMongoDBCluster",
- "pciComplianceMode": false,
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION"
}
MongoDB cluster details retrieved.
{- "dataCentres": [
- {
- "cloudProvider": "AWS_VPC",
- "name": "AWS_VPC_US_EAST_1",
- "network": "10.0.0.0/16",
- "nodeSize": "MNG-DEV-t3.medium-80",
- "numberOfNodes": 3,
- "region": "US_EAST_1"
}
], - "mongodbVersion": "[x.y.z]",
- "name": "MyMongoDBCluster",
- "pciComplianceMode": false,
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION"
}
MongoDB cluster update request accepted.
Mongodb cluster not found
{- "dataCentres": [
- {
- "nodeSize": "MNG-DEV-t3.medium-80"
}
]
}
{- "dataCentres": [
- {
- "cloudProvider": "AWS_VPC",
- "name": "AWS_VPC_US_EAST_1",
- "network": "10.0.0.0/16",
- "nodeSize": "MNG-DEV-t3.medium-80",
- "numberOfNodes": 3,
- "region": "US_EAST_1"
}
], - "mongodbVersion": "[x.y.z]",
- "name": "MyMongoDBCluster",
- "pciComplianceMode": false,
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION"
}