Пример #1
0
 /// <summary>
 /// Create a named template deployment using a template.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Resources.IDeploymentOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group. The name is case
 /// insensitive.
 /// </param>
 /// <param name='deploymentName'>
 /// Required. The name of the deployment.
 /// </param>
 /// <param name='parameters'>
 /// Required. Additional parameters supplied to the operation.
 /// </param>
 /// <returns>
 /// Template deployment operation create result.
 /// </returns>
 public static Task <DeploymentOperationsCreateResult> CreateOrUpdateAsync(this IDeploymentOperations operations, string resourceGroupName, string deploymentName, BasicDeployment parameters)
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, deploymentName, parameters, CancellationToken.None));
 }