MockableResilienceManagementArmClient.GetDrillTargetAsync Method

Definition

Get a DrillResource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>> GetDrillTargetAsync(Azure.Core.ResourceIdentifier scope, string drillResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDrillTargetAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>>
override this.GetDrillTargetAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>>
Public Overridable Function GetDrillTargetAsync (scope As ResourceIdentifier, drillResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DrillTargetResource))

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

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