共用方式為


ContainerRegistryTaskRunCollection Class

Definition

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

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

Constructors

ContainerRegistryTaskRunCollection()

Initializes a new instance of the ContainerRegistryTaskRunCollection 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

CreateOrUpdate(WaitUntil, String, ContainerRegistryTaskRunData, CancellationToken)

Creates a task run for a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
  • Operation Id: TaskRuns_Create
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskRunResource
CreateOrUpdateAsync(WaitUntil, String, ContainerRegistryTaskRunData, CancellationToken)

Creates a task run for a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
  • Operation Id: TaskRuns_Create
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskRunResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the detailed information for a given task run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
  • Operation Id: TaskRuns_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskRunResource
GetAll(CancellationToken)

Lists all the task runs for a specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns
  • Operation Id: TaskRuns_List
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskRunResource
GetAllAsync(CancellationToken)

Lists all the task runs for a specified container registry.

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

Gets the detailed information for a given task run.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
  • Operation Id: TaskRuns_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskRunResource
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<ContainerRegistryTaskRunResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryTaskRunResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to