Share via


ContainerRegistryExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ContainerRegistry.

public static class ContainerRegistryExtensions
type ContainerRegistryExtensions = class
Public Module ContainerRegistryExtensions
Inheritance
ContainerRegistryExtensions

Methods

CheckContainerRegistryNameAvailability(SubscriptionResource, ContainerRegistryNameAvailabilityContent, CancellationToken)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability
  • Operation Id: Registries_CheckNameAvailability
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
CheckContainerRegistryNameAvailabilityAsync(SubscriptionResource, ContainerRegistryNameAvailabilityContent, CancellationToken)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability
  • Operation Id: Registries_CheckNameAvailability
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
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
GetContainerRegistriesAsync(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
GetContainerRegistry(ResourceGroupResource, 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
GetContainerRegistryAgentPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryAgentPoolResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryAgentPoolResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryAgentPoolResource(ResourceIdentifier) instead.

GetContainerRegistryAsync(ResourceGroupResource, 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
GetContainerRegistryPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetContainerRegistryPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryPrivateLinkResource(ResourceIdentifier) instead.

GetContainerRegistryReplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryReplicationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryReplicationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryReplicationResource(ResourceIdentifier) instead.

GetContainerRegistryResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ContainerRegistryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryResource(ResourceIdentifier) instead.

GetContainerRegistryRunResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryRunResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryRunResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryRunResource(ResourceIdentifier) instead.

GetContainerRegistryTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryTaskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryTaskResource(ResourceIdentifier) instead.

GetContainerRegistryTaskRunResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryTaskRunResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryTaskRunResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryTaskRunResource(ResourceIdentifier) instead.

GetContainerRegistryTokenResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryTokenResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryTokenResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryTokenResource(ResourceIdentifier) instead.

GetContainerRegistryWebhookResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerRegistryWebhookResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContainerRegistryWebhookResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerRegistryWebhookResource(ResourceIdentifier) instead.

GetScopeMapResource(ArmClient, ResourceIdentifier)

Gets an object representing a ScopeMapResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ScopeMapResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetScopeMapResource(ResourceIdentifier) instead.

Applies to