MockableResilienceManagementArmClient.GetDrillTarget Method

Definition

Get a DrillResource.

public virtual Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource> GetDrillTarget(Azure.Core.ResourceIdentifier scope, string drillResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDrillTarget : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>
override this.GetDrillTarget : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.DrillTargetResource>
Public Overridable Function GetDrillTarget (scope As ResourceIdentifier, drillResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As 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