Exemplo n.º 1
0
 /// <summary>
 /// Creates a container registry with the specified parameters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group to which the container registry belongs.
 /// </param>
 /// <param name='registryName'>
 /// The name of the container registry.
 /// </param>
 /// <param name='registry'>
 /// The parameters for creating a container registry.
 /// </param>
 public static Registry Create(this IRegistriesOperations operations, string resourceGroupName, string registryName, Registry registry)
 {
     return(operations.CreateAsync(resourceGroupName, registryName, registry).GetAwaiter().GetResult());
 }