operation_status_backup_vault_context
Creates, updates, deletes, gets or lists an operation_status_backup_vault_context resource.
Overview
| Name | operation_status_backup_vault_context |
| Type | Resource |
| Id | azure.data_protection.operation_status_backup_vault_context |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | It should match what is used to GET the operation result. |
name | string | It must match the last segment of the "id" field, and will typically be a GUID / system generated value. |
endTime | string (date-time) | End time of the operation. |
error | object | Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines. The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section. |
objectType | string | This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. Required. Default value is None. |
startTime | string (date-time) | Start time of the operation. |
status | string | :vartype status: str |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, vault_name, operation_id, subscription_id | Gets the operation status for an operation over a BackupVault's context. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
operation_id | string | Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
vault_name | string | The name of the BackupVaultResource. Required. |
SELECT examples
- get
Gets the operation status for an operation over a BackupVault's context.
SELECT
id,
name,
endTime,
error,
objectType,
startTime,
status
FROM azure.data_protection.operation_status_backup_vault_context
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;