/// <summary> /// Creates a replication for 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='replicationName'> /// The name of the replication. /// </param> /// <param name='replication'> /// The parameters for creating a replication. /// </param> public static Replication BeginCreate(this IReplicationsOperations operations, string resourceGroupName, string registryName, string replicationName, Replication replication) { return(operations.BeginCreateAsync(resourceGroupName, registryName, replicationName, replication).GetAwaiter().GetResult()); }
/// <summary> /// Creates a replication for 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='replicationName'> /// The name of the replication. /// </param> /// <param name='location'> /// The location of the resource. This cannot be changed after the resource is /// created. /// </param> /// <param name='tags'> /// The tags of the resource. /// </param> public static Replication BeginCreate(this IReplicationsOperations operations, string resourceGroupName, string registryName, string replicationName, string location, IDictionary <string, string> tags = default(IDictionary <string, string>)) { return(operations.BeginCreateAsync(resourceGroupName, registryName, replicationName, location, tags).GetAwaiter().GetResult()); }