/// <summary> /// 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. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='name'> /// The name of the container registry. /// </param> public static RegistryNameStatus CheckNameAvailability(this IRegistriesOperations operations, string name) { return(operations.CheckNameAvailabilityAsync(name).GetAwaiter().GetResult()); }