Share via


ContainerRegistryTaskCollection Class

Definition

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

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

Constructors

ContainerRegistryTaskCollection()

Initializes a new instance of the ContainerRegistryTaskCollection 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, ContainerRegistryTaskData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
  • Operation Id: Tasks_Create
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryTaskResource
CreateOrUpdateAsync(WaitUntil, String, ContainerRegistryTaskData, CancellationToken)

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get the properties of a specified task.

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

Lists all the tasks for a specified container registry.

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

Lists all the tasks for a specified container registry.

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

Get the properties of a specified task.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryTaskResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to