다음을 통해 공유


ContainerRegistryExtensions.GetContainerRegistries Method

Definition

Overloads

GetContainerRegistries(ResourceGroupResource)

Gets a collection of ContainerRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerRegistries() instead.

GetContainerRegistries(SubscriptionResource, CancellationToken)

Lists all the container registries under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_List
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource

GetContainerRegistries(ResourceGroupResource)

Source:
ContainerRegistryExtensions.cs
Source:
ContainerRegistryExtensions.cs

Gets a collection of ContainerRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerRegistries() instead.

public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryCollection GetContainerRegistries (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerRegistries : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryCollection
<Extension()>
Public Function GetContainerRegistries (resourceGroupResource As ResourceGroupResource) As ContainerRegistryCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ContainerRegistryResources and their operations over a ContainerRegistryResource.

Exceptions

resourceGroupResource is null.

Applies to

GetContainerRegistries(SubscriptionResource, CancellationToken)

Source:
ContainerRegistryExtensions.cs
Source:
ContainerRegistryExtensions.cs

Lists all the container registries under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_List
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
public static Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource> GetContainerRegistries (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerRegistries : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
<Extension()>
Public Function GetContainerRegistries (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerRegistryResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ContainerRegistryResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to