MockableResilienceManagementArmClient.GetDrillRunAsync Method

Definition

Get a DrillRun.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

drillRunName
String

The name of the DrillRun (GUID).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

drillRunName is null.

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

Applies to