MockableLoadTestingArmClient.GetLoadTestMappingAsync Method

Definition

Get a LoadTestMappingResource.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

loadTestMappingName
String

Load Test Mapping name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

loadTestMappingName is null.

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

Applies to