fetch_cross_region_restore_job
Creates, updates, deletes, gets or lists a fetch_cross_region_restore_job resource.
Overview
| Name | fetch_cross_region_restore_job |
| Type | Resource |
| Id | azure.data_protection.fetch_cross_region_restore_job |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
activityID | string | Job Activity Id. Required. |
backupInstanceFriendlyName | string | Name of the Backup Instance. Required. |
backupInstanceId | string | ARM ID of the Backup Instance. |
dataSourceId | string | ARM ID of the DataSource. Required. |
dataSourceLocation | string | Location of the DataSource. Required. |
dataSourceName | string | User Friendly Name of the DataSource. Required. |
dataSourceSetName | string | Data Source Set Name of the DataSource. |
dataSourceType | string | Type of DataSource. Required. |
destinationDataStoreName | string | :vartype destination_data_store_name: str |
duration | string | Total run time of the job. ISO 8601 format. |
endTime | string (date-time) | EndTime of the job(in UTC). |
errorDetails | array | A List, detailing the errors related to the job. |
etag | string | :vartype etag: str |
extendedInfo | object | Extended Information about the job. |
isUserTriggered | boolean | Indicated that whether the job is adhoc(true) or scheduled(false). Required. |
operation | string | It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure. Required. |
operationCategory | string | It indicates the type of Job i.e. Backup/Restore/Tiering/Management. Required. |
policyId | string | ARM ID of the policy. |
policyName | string | Name of the policy. |
progressEnabled | boolean | Indicated whether progress is enabled for the job. Required. |
progressUrl | string | Url which contains job's progress. |
rehydrationPriority | string | Priority to be used for rehydration. |
restoreType | string | It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR. |
sourceDataStoreName | string | :vartype source_data_store_name: str |
sourceResourceGroup | string | Resource Group Name of the Datasource. Required. |
sourceSubscriptionID | string | SubscriptionId corresponding to the DataSource. Required. |
startTime | string (date-time) | StartTime of the job(in UTC). Required. |
status | string | Status of the job like InProgress/Completed/Failed/Cancelled/CompletedWithWarnings/Cancelling/Paused. Required. |
subscriptionId | string | Subscription Id of the corresponding backup vault. Required. |
supportedActions | array | List of supported actions. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vaultName | string | Name of the vault. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, location, subscription_id | Fetches the Cross Region Restore Job. |
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 |
|---|---|---|
location | string | The name of the Azure region. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
Fetches the Cross Region Restore Job.
SELECT
id,
name,
activityID,
backupInstanceFriendlyName,
backupInstanceId,
dataSourceId,
dataSourceLocation,
dataSourceName,
dataSourceSetName,
dataSourceType,
destinationDataStoreName,
duration,
endTime,
errorDetails,
etag,
extendedInfo,
isUserTriggered,
operation,
operationCategory,
policyId,
policyName,
progressEnabled,
progressUrl,
rehydrationPriority,
restoreType,
sourceDataStoreName,
sourceResourceGroup,
sourceSubscriptionID,
startTime,
status,
subscriptionId,
supportedActions,
systemData,
type,
vaultName
FROM azure.data_protection.fetch_cross_region_restore_job
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;