Skip to main content

drill_run_resources

Creates, updates, deletes, gets or lists a drill_run_resources resource.

Overview

Namedrill_run_resources
TypeResource
Idazure.resilience_management.drill_run_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
durationstringThe time elapsed during the execution of this job.
endTimestring (date-time)The end time of the job execution.
errorDetailsobjectDetails of any errors that occurred during the execution of this job.
jobExtendedInfoobjectAdditional information about the job.
jobIdstringId of the Job under which this job-resource exists.
jobResourceTypestringDiscriminator for the Job object hierarchy. Required. Drill Run job resource.
operationstringThe operation that this job is intended to perform.
provisioningStatestringThe 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)
resourceIdstringThe resource for which this job was created. This is typically the resource that the job is intended to manage or operate on.
retryDetailsarrayDetails of any retries that have been attempted for this job.
startTimestring (date-time)The start time of the job execution.
statusstringThe 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)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
taskIdstringId of the job-task to which this job resource is associated.
taskNamestringFriendly name of the job-task to which this job resource is associated.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
userCommentsarrayUser Comments.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_group_name, drill_name, drill_run_name, drill_run_resource_nameGet a DrillRunResource.
listselectservice_group_name, drill_name, drill_run_nameList 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.

NameDatatypeDescription
drill_namestringThe name of the Drill. Required.
drill_run_namestringThe name of the DrillRun (GUID). Required.
drill_run_resource_namestringThe unique name (GUID) of the recovery job resource. Required.
service_group_namestringThe name of the service group. Required.

SELECT examples

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
;