Skip to main content

drill_resources

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

Overview

Namedrill_resources
TypeResource
Idazure.resilience_management.drill_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.
activeLocationsarrayActive location and zones of the Azure resource.
activePhysicalZonesarrayActive Resource location and physical zones of Azure Resource.
advisorHaRecommendationIdstringAssociated Advisor Recommendation link, if HA is not enabled on this resource.
advisorRecommendationTypeIdstringRecommendation Type Id for the recommendation.
attentionReasonobjectAttention reason if the Status is 'NeedsAttention'.
faultPropertiesobjectFault Properties.
faultStatestringFault State of the Drill resource. Known values are: "SystemNative", "CustomScript", and "NotDefined". (SystemNative, CustomScript, NotDefined)
forceInclusionStatestringForceInclusion status for this resource. Has the customer forceIncluded it?. Known values are: "Enable" and "Disable". (Enable, Disable)
haStatusstringHA status of the Drill resource. Known values are: "Enabled" and "NotEnabled". (Enabled, NotEnabled)
inclusionStatestringInclusion State of the Drill resource in Drill. Known values are: "Excluded" and "Included". (Excluded, Included)
monitoringRbacAssignmentErrorobjectMonitoring RBAC assignment error, if any.
provisioningStatestringProvisioning state. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Updating, Deleting, Accepted)
rbacAssignmentErrorobjectLast RBAC assignment error, if any.
readinessStatestringReadiness State of the Drill resource. Known values are: "Ready" and "NeedsAttention". (Ready, NeedsAttention)
recoveryLocationsarrayList of recovery locations and zones of the Azure resource.
recoveryPhysicalZonesarrayRecovery Resource location and physical zones of HA Azure Resource.
recoveryPlanExclusionReasonstringExclusion reason of the Drill resource in Recovery Plan. Known values are: "ExcludedFromRecoveryPlan" and "ProtectionStatus". (ExcludedFromRecoveryPlan, ProtectionStatus)
recoveryPlanInclusionStatestringInclusion State of the Drill resource in Recovery Plan. Known values are: "Included" and "Excluded". (Included, Excluded)
resourceIdstringARM Id of the underlying resource. Required.
resourceProtectionSolutionTypestringProtection Solution Type of the Drill resource. Known values are: "None", "AzureNative", "AzureSiteRecovery", "CrossZoneVMRecovery", and "CustomRunbook". (None, AzureNative, AzureSiteRecovery, CrossZoneVMRecovery, CustomRunbook)
resourceTypestringType of the Drill resource. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_group_name, drill_name, drill_resource_nameGet a DrillResource.
listselectservice_group_name, drill_name$skipToken, $topList DrillResource resources by Drill.

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_resource_namestringThe name of the DrillResource (GUID). Required.
service_group_namestringThe name of the service group. Required.
$skipTokenstringSkip over when retrieving results. Default value is None.
$topintegerNumber of elements to return when retrieving results. Default value is None.

SELECT examples

Get a DrillResource.

SELECT
id,
name,
activeLocations,
activePhysicalZones,
advisorHaRecommendationId,
advisorRecommendationTypeId,
attentionReason,
faultProperties,
faultState,
forceInclusionState,
haStatus,
inclusionState,
monitoringRbacAssignmentError,
provisioningState,
rbacAssignmentError,
readinessState,
recoveryLocations,
recoveryPhysicalZones,
recoveryPlanExclusionReason,
recoveryPlanInclusionState,
resourceId,
resourceProtectionSolutionType,
resourceType,
systemData,
type
FROM azure.resilience_management.drill_resources
WHERE service_group_name = '{{ service_group_name }}' -- required
AND drill_name = '{{ drill_name }}' -- required
AND drill_resource_name = '{{ drill_resource_name }}' -- required
;