Test-​Azure​Rm​Container​Registry​Name​Availability

Checks the availability of a container registry name.

Syntax

Test-AzureRmContainerRegistryNameAvailability
    [-Name] <String>
    [<CommonParameters>]

Description

The Test-AzureRmContainerRegistryNameAvailability cmdlet checks whether a container registry name is valid and available to use.

Examples

Example 1: Check the availability of a container registry name

PS C:\>Test-AzureRmContainerRegistryNameAvailability -Name 'SomeRegistryName'

NameAvailable Reason Message
------------- ------ -------
         True

This command checks the availability of the container registry name SomeRegistryName.

Required Parameters

-Name

Container Registry Name.

Type:String
Aliases:ContainerRegistryName, RegistryName, ResourceName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

Microsoft.Azure.Management.ContainerRegistry.Models.RegistryNameStatus