MockableResilienceManagementArmClient.GetDrillRun Method

Definition

Get a DrillRun.

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