DrillRunTargetCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a DrillRunResource
- Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillRuns/{drillRunName}/drillRunResources/{drillRunResourceName}.
- Operation Id. : DrillRunResources_Get.
- Default Api Version. : 2026-04-01-preview.
public virtual Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillRunTargetResource> Get(string drillRunResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillRunTargetResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillRunTargetResource>
Public Overridable Function Get (drillRunResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DrillRunTargetResource)
Parameters
- drillRunResourceName
- String
The unique name (GUID) of the recovery job resource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
drillRunResourceName is null.
drillRunResourceName is an empty string, and was expected to be non-empty.