DrillTargetCollection.Get(String, CancellationToken) Method

Definition

Get a DrillResource

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/drills/{drillName}/drillResources/{drillResourceName}.
  • Operation Id. : DrillResources_Get.
  • Default Api Version. : 2026-04-01-preview.
public virtual Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource> Get(string drillResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>
Public Overridable Function Get (drillResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DrillTargetResource)

Parameters

drillResourceName
String

The name of the DrillResource (GUID).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

drillResourceName is null.

drillResourceName is an empty string, and was expected to be non-empty.

Applies to