Exemplo n.º 1
0
 /// <summary>
 /// creates a vnet and deploys a template to a resource group with given parameters
 /// </summary>
 /// <param name="this"></param>
 /// <param name="resourceGroupName"></param>
 /// <param name="parameters"></param>
 /// <param name="region"></param>
 /// <param name="templatePath"></param>
 /// <param name="log"></param>
 internal static void DeployResourcesToGroup(this IAzure @this, string resourceGroupName,
                                             Parameters parameters,
                                             string region, string templatePath, Action <string> log)
 {
     if ([email protected](resourceGroupName, out var resourceGroup))
     {
         return;
     }
     @this.DeployTemplate(resourceGroup.Name, parameters.DeploymentName, templatePath,
                          parameters.CreateJson(), log);
 }