restorable_mongodb_resources
Creates, updates, deletes, gets or lists a restorable_mongodb_resources
resource.
Overview
Name | restorable_mongodb_resources |
Type | Resource |
Id | azure.cosmos_db.restorable_mongodb_resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the ARM resource. |
name | string | The name of the ARM resource. |
collectionNames | array | The names of the collections available for restore. |
databaseName | string | The name of the database available for restore. |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | instanceId, location, subscriptionId | Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. |
SELECT
examples
Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
SELECT
id,
name,
collectionNames,
databaseName,
type
FROM azure.cosmos_db.restorable_mongodb_resources
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';