Język

ExecutionPlanRunCollection.GetIfExistsAsync(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlatformValidation/cloudValidations/{cloudValidationName}/validationExecutionPlans/{validationExecutionPlanName}/executionPlanRuns/{executionPlanRunName}.
  • Operation Id. : ExecutionPlanRuns_Get.
  • Default Api Version. : 2026-08-01-preview.
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlatformValidation.ExecutionPlanRunResource>> GetIfExistsAsync(string executionPlanRunName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlatformValidation.ExecutionPlanRunResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlatformValidation.ExecutionPlanRunResource>>
Public Overridable Function GetIfExistsAsync (executionPlanRunName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ExecutionPlanRunResource))

Parameters

executionPlanRunName
String

The name of the ExecutionPlanRun.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

executionPlanRunName is null.

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

Applies to