MockableResilienceManagementArmClient.GetDrillTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.