Share via


ContainerRegistryPipelineRunCollection.GetAsync Method

Definition

Gets the detailed information for a given pipeline run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}
  • Operation Id: PipelineRuns_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ContainerRegistryPipelineRunResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPipelineRunResource>> GetAsync(string pipelineRunName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPipelineRunResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPipelineRunResource>>
Public Overridable Function GetAsync (pipelineRunName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRegistryPipelineRunResource))

Parameters

pipelineRunName
String

The name of the pipeline run.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

pipelineRunName is null.

Applies to