Condividi tramite


ContainerRegistryCollection Class

Definition

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

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

Constructors

ContainerRegistryCollection()

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

Creates a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Create
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
CreateOrUpdateAsync(WaitUntil, String, ContainerRegistryData, CancellationToken)

Creates a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Create
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
Get(String, CancellationToken)

Gets the properties of the specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
GetAll(CancellationToken)

Lists all the container registries under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_ListByResourceGroup
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
GetAllAsync(CancellationToken)

Lists all the container registries under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_ListByResourceGroup
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
GetAsync(String, CancellationToken)

Gets the properties of the specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  • Operation Id: Registries_Get
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
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<ContainerRegistryResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to