restorable_gremlin_resources
Creates, updates, deletes, gets or lists a restorable_gremlin_resources
resource.
Overview
Name | restorable_gremlin_resources |
Type | Resource |
Id | azure.cosmos_db.restorable_gremlin_resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the ARM resource. |
name | string | The name of the ARM resource. |
databaseName | string | The name of the gremlin database available for restore. |
graphNames | array | The names of the graphs 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 gremlin database and graphs 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 gremlin database and graphs 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,
databaseName,
graphNames,
type
FROM azure.cosmos_db.restorable_gremlin_resources
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';