Exemple #1
0
 public async Task DeployKeyVaultOverride()
 {
     //Note that this test also shows how to use nameFromTemplate to pass any parameters that are name in the arm template.
     var manager = new ArmTemplateManager(mockup.Get <IShellRunner>());
     await manager.ResourceGroupDeployment(TestOverrideRg, "KeyVaultTemplate/template.json", "KeyVaultTemplate/parameters.json", new { tenant = config.TenantId, nameFromTemplate = "threax-prov-override-kv" } /*In the template this is just name. Have to use nameFromTemplate to pass that value. This does not seem to be documented anywhere.*/);
 }
Exemple #2
0
 public async Task DeployKeyVault()
 {
     var manager = new ArmTemplateManager(mockup.Get <IShellRunner>());
     await manager.ResourceGroupDeployment(TestRg, "KeyVaultTemplate/template.json", "KeyVaultTemplate/parameters.json", new { tenant = config.TenantId });
 }