共用方式為


ContainerRegistryRunCollection Class

Definition

A class representing a collection of ContainerRegistryRunResource and their operations. Each ContainerRegistryRunResource in the collection will belong to the same instance of ContainerRegistryResource. To get a ContainerRegistryRunCollection instance call the GetContainerRegistryRuns method from an instance of ContainerRegistryResource.

public class ContainerRegistryRunCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunResource>
type ContainerRegistryRunCollection = class
    inherit ArmCollection
    interface seq<ContainerRegistryRunResource>
    interface IEnumerable
    interface IAsyncEnumerable<ContainerRegistryRunResource>
Public Class ContainerRegistryRunCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ContainerRegistryRunResource), IEnumerable(Of ContainerRegistryRunResource)
Inheritance
ContainerRegistryRunCollection
Implements

Constructors

ContainerRegistryRunCollection()

Initializes a new instance of the ContainerRegistryRunCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
Get(String, CancellationToken)

Gets the detailed information for a given run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
GetAll(String, Nullable<Int32>, CancellationToken)

Gets all the runs for a registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs
  • Operation Id: Runs_List
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
GetAllAsync(String, Nullable<Int32>, CancellationToken)

Gets all the runs for a registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs
  • Operation Id: Runs_List
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
GetAsync(String, CancellationToken)

Gets the detailed information for a given run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
  • Operation Id: Runs_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryRunResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ContainerRegistryRunResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryRunResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to