drill_run_resources
Creates, updates, deletes, gets or lists a drill_run_resources resource.
Overview
| Name | drill_run_resources |
| Type | Resource |
| Id | azure.resilience_management.drill_run_resources |
Fields
The following fields are returned by SELECT queries:
- get
- list
| 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. |
duration | string | The time elapsed during the execution of this job. |
endTime | string (date-time) | The end time of the job execution. |
errorDetails | object | Details of any errors that occurred during the execution of this job. |
jobExtendedInfo | object | Additional information about the job. |
jobId | string | Id of the Job under which this job-resource exists. |
jobResourceType | string | Discriminator for the Job object hierarchy. Required. Drill Run job resource. |
operation | string | The operation that this job is intended to perform. |
provisioningState | string | The provisioning state of the Drill Run Resource. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Updating, Deleting, Accepted) |
resourceId | string | The resource for which this job was created. This is typically the resource that the job is intended to manage or operate on. |
retryDetails | array | Details of any retries that have been attempted for this job. |
startTime | string (date-time) | The start time of the job execution. |
status | string | The current status of the job execution. Known values are: "NotApplicable", "NotStarted", "Pending", "InProgress", "Completed", "CompletedWithWarnings", "Failed", "Skipped", "Cancelling", "Cancelled", and "Paused". (NotApplicable, NotStarted, Pending, InProgress, Completed, CompletedWithWarnings, Failed, Skipped, Cancelling, Cancelled, Paused) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
taskId | string | Id of the job-task to which this job resource is associated. |
taskName | string | Friendly name of the job-task to which this job resource is associated. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
userComments | array | User Comments. |
| 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. |
duration | string | The time elapsed during the execution of this job. |
endTime | string (date-time) | The end time of the job execution. |
errorDetails | object | Details of any errors that occurred during the execution of this job. |
jobExtendedInfo | object | Additional information about the job. |
jobId | string | Id of the Job under which this job-resource exists. |
jobResourceType | string | Discriminator for the Job object hierarchy. Required. Drill Run job resource. |
operation | string | The operation that this job is intended to perform. |
provisioningState | string | The provisioning state of the Drill Run Resource. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Updating, Deleting, Accepted) |
resourceId | string | The resource for which this job was created. This is typically the resource that the job is intended to manage or operate on. |
retryDetails | array | Details of any retries that have been attempted for this job. |
startTime | string (date-time) | The start time of the job execution. |
status | string | The current status of the job execution. Known values are: "NotApplicable", "NotStarted", "Pending", "InProgress", "Completed", "CompletedWithWarnings", "Failed", "Skipped", "Cancelling", "Cancelled", and "Paused". (NotApplicable, NotStarted, Pending, InProgress, Completed, CompletedWithWarnings, Failed, Skipped, Cancelling, Cancelled, Paused) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
taskId | string | Id of the job-task to which this job resource is associated. |
taskName | string | Friendly name of the job-task to which this job resource is associated. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
userComments | array | User Comments. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_group_name, drill_name, drill_run_name, drill_run_resource_name | Get a DrillRunResource. | |
list | select | service_group_name, drill_name, drill_run_name | List DrillRunResource resources by DrillRun. |
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 |
|---|---|---|
drill_name | string | The name of the Drill. Required. |
drill_run_name | string | The name of the DrillRun (GUID). Required. |
drill_run_resource_name | string | The unique name (GUID) of the recovery job resource. Required. |
service_group_name | string | The name of the service group. Required. |
SELECT examples
- get
- list
Get a DrillRunResource.
SELECT
id,
name,
duration,
endTime,
errorDetails,
jobExtendedInfo,
jobId,
jobResourceType,
operation,
provisioningState,
resourceId,
retryDetails,
startTime,
status,
systemData,
taskId,
taskName,
type,
userComments
FROM azure.resilience_management.drill_run_resources
WHERE service_group_name = '{{ service_group_name }}' -- required
AND drill_name = '{{ drill_name }}' -- required
AND drill_run_name = '{{ drill_run_name }}' -- required
AND drill_run_resource_name = '{{ drill_run_resource_name }}' -- required
;
List DrillRunResource resources by DrillRun.
SELECT
id,
name,
duration,
endTime,
errorDetails,
jobExtendedInfo,
jobId,
jobResourceType,
operation,
provisioningState,
resourceId,
retryDetails,
startTime,
status,
systemData,
taskId,
taskName,
type,
userComments
FROM azure.resilience_management.drill_run_resources
WHERE service_group_name = '{{ service_group_name }}' -- required
AND drill_name = '{{ drill_name }}' -- required
AND drill_run_name = '{{ drill_run_name }}' -- required
;