168 references to AzureManifestUtils
Aspire.Hosting.Azure.Tests (168)
AzureAppConfigurationExtensionsTests.cs (2)
7using static Aspire.Hosting.Utils.AzureManifestUtils; 126var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureApplicationInsightsExtensionsTests.cs (5)
27var (appInsightsManifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource); 48var appInsightsManifest = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource); 77var (appInsightsManifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource); 112var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource); 127var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource);
AzureAppServiceEnvironmentExtensionsTests.cs (1)
42var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureAppServiceTests.cs (2)
14using static Aspire.Hosting.Utils.AzureManifestUtils; 990AzureManifestUtils.GetManifestWithBicep(resource, skipPreparer: true);
AzureContainerAppEnvironmentExtensionsTests.cs (4)
45var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true); 81var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(containerAppEnvironment.Resource); 149var (_, envBicep) = await AzureManifestUtils.GetManifestWithBicep(containerAppEnvironment.Resource); 150var (_, vnetBicep) = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource);
AzureContainerAppsTests.cs (2)
22using static Aspire.Hosting.Utils.AzureManifestUtils; 1646AzureManifestUtils.GetManifestWithBicep(resource, skipPreparer: true);
AzureContainerRegistryTests.cs (2)
12using static Aspire.Hosting.Utils.AzureManifestUtils; 127var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureCosmosDBExtensionsTests.cs (7)
15using static Aspire.Hosting.Utils.AzureManifestUtils; 352var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 385var manifest = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 456var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 489var manifest = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 521var manifest = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 579var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureEventHubsExtensionsTests.cs (4)
290var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(model, eventHubs.Resource); 293var (ehRolesManifest, ehRolesBicep) = await AzureManifestUtils.GetManifestWithBicep(ehRoles, skipPreparer: true); 323var manifest = await AzureManifestUtils.GetManifestWithBicep(eventHubs.Resource); 651var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureFunctionsTests.cs (2)
14using static Aspire.Hosting.Utils.AzureManifestUtils; 458AzureManifestUtils.GetManifestWithBicep(resource, skipPreparer: true);
AzureKeyVaultTests.cs (11)
21var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(mykv.Resource); 37var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(model, mykv.Resource); 39var (kvRolesManifest, kvRolesBicep) = await AzureManifestUtils.GetManifestWithBicep(kvRoles, skipPreparer: true); 120var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true); 160var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true); 161var (manifest2, bicep2) = await AzureManifestUtils.GetManifestWithBicep(module2.Resource, skipPreparer: true); 189var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true); 237var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(kv.Resource); 252var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(kv.Resource); 286var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(kv.Resource); 384var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureKustoExtensionsTests.cs (2)
7using static Aspire.Hosting.Utils.AzureManifestUtils; 67var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureLogAnalyticsWorkspaceExtensionsTests.cs (2)
20var appInsightsManifest = await AzureManifestUtils.GetManifestWithBicep(logAnalyticsWorkspace.Resource); 62var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureManagedRedisExtensionsTests.cs (1)
8using static Aspire.Hosting.Utils.AzureManifestUtils;
AzureNatGatewayExtensionsTests.cs (3)
41var manifest = await AzureManifestUtils.GetManifestWithBicep(builder.Resources.OfType<AzureNatGatewayResource>().Single()); 55var manifest = await AzureManifestUtils.GetManifestWithBicep(builder.Resources.OfType<AzureNatGatewayResource>().Single()); 92var manifest = await AzureManifestUtils.GetManifestWithBicep(builder.Resources.OfType<AzurePublicIPAddressResource>().Single());
AzureNetworkSecurityGroupExtensionsTests.cs (9)
47var manifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 82await AzureManifestUtils.VerifyAllAzureBicep(builder); 110var manifest = await AzureManifestUtils.GetManifestWithBicep(nsg.Resource); 138await AzureManifestUtils.VerifyAllAzureBicep(builder); 166await AzureManifestUtils.VerifyAllAzureBicep(builder); 257await AzureManifestUtils.VerifyAllAzureBicep(builder); 293var manifest = await AzureManifestUtils.GetManifestWithBicep(nsg.Resource); 317await AzureManifestUtils.VerifyAllAzureBicep(builder); 339await AzureManifestUtils.VerifyAllAzureBicep(builder);
AzureOpenAIExtensionsTests.cs (2)
9using static Aspire.Hosting.Utils.AzureManifestUtils; 265var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzurePostgresExtensionsTests.cs (8)
10using static Aspire.Hosting.Utils.AzureManifestUtils; 41var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource, skipPreparer: true); 44var (postgresRolesManifest, postgresRolesBicep) = await AzureManifestUtils.GetManifestWithBicep(postgresRoles, skipPreparer: true); 98var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource); 446var manifest = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource); 489var manifest = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource); 529var manifest = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource); 646var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzurePrivateEndpointExtensionsTests.cs (5)
79var manifest = await AzureManifestUtils.GetManifestWithBicep(pe.Resource); 96var manifest = await AzureManifestUtils.GetManifestWithBicep(pe.Resource); 177var (_, dnsZoneBicep) = await AzureManifestUtils.GetManifestWithBicep(dnsZones[0]); 178var (_, pe1Bicep) = await AzureManifestUtils.GetManifestWithBicep(pe1.Resource); 179var (_, pe2Bicep) = await AzureManifestUtils.GetManifestWithBicep(pe2.Resource);
AzurePrivateEndpointLockdownTests.cs (11)
23var manifest = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 39var manifest = await AzureManifestUtils.GetManifestWithBicep(sql.Resource); 55var manifest = await AzureManifestUtils.GetManifestWithBicep(postgres.Resource); 71var manifest = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 87var manifest = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 103var manifest = await AzureManifestUtils.GetManifestWithBicep(eventHubs.Resource); 119var manifest = await AzureManifestUtils.GetManifestWithBicep(keyVault.Resource); 135var manifest = await AzureManifestUtils.GetManifestWithBicep(appConfig.Resource); 151var manifest = await AzureManifestUtils.GetManifestWithBicep(search.Resource); 167var manifest = await AzureManifestUtils.GetManifestWithBicep(signalR.Resource); 183var manifest = await AzureManifestUtils.GetManifestWithBicep(webPubSub.Resource);
AzureProvisioningResourceExtensionsTests.cs (1)
48var manifest = await AzureManifestUtils.GetManifestWithBicep(resource1.Resource);
AzureRedisExtensionsTests.cs (5)
9using static Aspire.Hosting.Utils.AzureManifestUtils; 42var (redisRolesManifest, redisRolesBicep) = await AzureManifestUtils.GetManifestWithBicep(redisRoles, skipPreparer: true); 83var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 251var manifest = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 298var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureResourcePreparerTests.cs (1)
11using static Aspire.Hosting.Utils.AzureManifestUtils;
AzureSearchExtensionsTests.cs (2)
8using static Aspire.Hosting.Utils.AzureManifestUtils; 129var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureServiceBusExtensionsTests.cs (5)
14using static Aspire.Hosting.Utils.AzureManifestUtils; 39var manifest = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 64var manifest = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 266var manifest = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 923var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureSignalRExtensionsTests.cs (2)
7using static Aspire.Hosting.Utils.AzureManifestUtils; 99var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureSqlDeploymentScriptTests.cs (1)
7using static Aspire.Hosting.Utils.AzureManifestUtils;
AzureSqlExtensionsTests.cs (4)
46var manifest = await AzureManifestUtils.GetManifestWithBicep(sql.Resource, skipPreparer: true); 248var manifest = await AzureManifestUtils.GetManifestWithBicep(sql.Resource); 279var manifest = await AzureManifestUtils.GetManifestWithBicep(sql.Resource); 330var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureStorageExtensionsTests.cs (6)
11using static Aspire.Hosting.Utils.AzureManifestUtils; 396var manifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 463var storageManifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 548var storageManifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 767var storageManifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 925var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureStoragePrivateEndpointLockdownTests.cs (4)
31var manifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 52var manifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 69var manifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource); 91var manifest = await AzureManifestUtils.GetManifestWithBicep(storage.Resource);
AzureUserAssignedIdentityTests.cs (2)
12using static Aspire.Hosting.Utils.AzureManifestUtils; 365var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
AzureVirtualNetworkExtensionsTests.cs (6)
61var manifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 121var manifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 203var manifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 218var manifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 404var vnetManifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource); 405var nsgManifest = await AzureManifestUtils.GetManifestWithBicep(vnet.Resource.Subnets[0].NetworkSecurityGroup!);
AzureWebPubSubExtensionsTests.cs (9)
8using static Aspire.Hosting.Utils.AzureManifestUtils; 36var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 57var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 102var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 132var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 159var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 211var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 345var manifest = await AzureManifestUtils.GetManifestWithBicep(wps.Resource); 383var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(module.Resource, skipPreparer: true);
ContainerRegistryTests.cs (1)
12using static Aspire.Hosting.Utils.AzureManifestUtils;
ExistingAzureResourceTests.cs (28)
7using static Aspire.Hosting.Utils.AzureManifestUtils; 23var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 40var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 57var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 97var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(serviceBus.Resource); 114var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(storageAccount.Resource); 129var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(storageAccount.Resource); 146var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appConfiguration.Resource); 163var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(eventHubs.Resource); 180var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(keyVault.Resource); 197var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(logAnalytics.Resource); 214var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(postgresSql.Resource); 235var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(postgresSql.Resource); 252var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(search.Resource); 269var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(signalR.Resource); 286var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(webPubSub.Resource); 303var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(sqlServer.Resource); 319var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(sqlServer.Resource); 337var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 354var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 371var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 386var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(redis.Resource); 402var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(appInsights.Resource); 425var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(openAI.Resource); 445var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 466var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(cosmos.Resource); 482var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(acr.Resource); 499var (manifest, bicep) = await AzureManifestUtils.GetManifestWithBicep(acr.Resource);
FoundryExtensionsTests.cs (4)
174var manifest = await AzureManifestUtils.GetManifestWithBicep(model, foundry.Resource); 177var rolesManifest = await AzureManifestUtils.GetManifestWithBicep(model, roles); 209var (_, bicepText) = await AzureManifestUtils.GetManifestWithBicep(model, project.Resource); 231var (_, bicepText) = await AzureManifestUtils.GetManifestWithBicep(model, foundry.Resource);
RoleAssignmentTests.cs (2)
16using static Aspire.Hosting.Utils.AzureManifestUtils; 367AzureManifestUtils.GetManifestWithBicep(resource, skipPreparer: true);