diff --git a/Directory.Packages.props b/Directory.Packages.props index d9902903798..6a6da834d0e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -38,9 +38,9 @@ - + - + diff --git a/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs b/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs index d3276388db7..11c4d92ed5b 100644 --- a/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs +++ b/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs @@ -168,7 +168,7 @@ public static IResourceBuilder AddAzureCon if (appEnvResource.EnableDashboard) { - var dashboard = new ContainerAppEnvironmentDotnetComponentResource("aspireDashboard", "2024-10-02-preview") + var dashboard = new ContainerAppEnvironmentDotnetComponentResource("aspireDashboard", "2025-10-02-preview") { Name = "aspire-dashboard", ComponentType = "AspireDashboard", diff --git a/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs b/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs index 3ba6954b84b..eaa683558c2 100644 --- a/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs +++ b/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs @@ -110,11 +110,10 @@ private ContainerApp CreateContainerApp() }; containerApp.Configuration = configuration; - const string latestPreview = "2025-02-02-preview"; // these properties are currently only available in preview - // default autoConfigureDataProtection to true for .NET projects if (Resource is ProjectResource) { + const string latestPreview = "2025-10-02-preview"; // this property is currently only available in preview containerApp.ResourceVersion = latestPreview; var value = new BicepValue(true); @@ -125,11 +124,7 @@ private ContainerApp CreateContainerApp() // default kind to functionapp for Azure Functions if (Resource.HasAnnotationOfType()) { - containerApp.ResourceVersion = latestPreview; - - var value = new BicepValue("functionapp"); - ((IBicepValue)value).Self = new BicepValueReference(containerApp, "Kind", ["kind"]); - containerApp.ProvisionableProperties["Kind"] = value; + containerApp.Kind = ContainerAppKind.Functionapp; } return containerApp; diff --git a/tests/Aspire.Hosting.Azure.Tests/AzureContainerAppsTests.cs b/tests/Aspire.Hosting.Azure.Tests/AzureContainerAppsTests.cs index acd4e01168d..ff5d006d8e8 100644 --- a/tests/Aspire.Hosting.Azure.Tests/AzureContainerAppsTests.cs +++ b/tests/Aspire.Hosting.Azure.Tests/AzureContainerAppsTests.cs @@ -1690,11 +1690,11 @@ public void FailForNewContainerAppVersions() { var containerApp = new ContainerApp("app"); - // In order to set autoConfigureDataProtection and kind=functionapp, we need to use a preview API ContainerApp version. - // This test fails on new default versions for ContainerApp so we check if autoConfigureDataProtection/kind exists on the new Azure.Provisioning version. - // Also, we need to ensure the new default version isn't newer than the preview version used to set autoConfigureDataProtection/kind because + // In order to set autoConfigureDataProtection, we need to use a preview API ContainerApp version. + // This test fails on new default versions for ContainerApp so we check if autoConfigureDataProtection exists on the new Azure.Provisioning version. + // Also, we need to ensure the new default version isn't newer than the preview version used to set autoConfigureDataProtection because // callers will get new APIs that may not work with the preview version we are using. - Assert.True(containerApp.ResourceVersion == "2025-01-01", "When we get a new ResourceVersion for ContainerApps, ensure the version used by ContainerAppContext.CreateContainerApp() still works correctly."); + Assert.True(containerApp.ResourceVersion == "2025-07-01", "When we get a new ResourceVersion for ContainerApps, ensure the version used by ContainerAppContext.CreateContainerApp() still works correctly."); } [Fact] diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AddAsExistingResource_RespectsExistingAzureResourceAnnotation_ForAzureContainerAppEnvironmentResource.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AddAsExistingResource_RespectsExistingAzureResourceAnnotation_ForAzureContainerAppEnvironmentResource.verified.bicep index e608680773e..a4dc390a04d 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AddAsExistingResource_RespectsExistingAzureResourceAnnotation_ForAzureContainerAppEnvironmentResource.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AddAsExistingResource_RespectsExistingAzureResourceAnnotation_ForAzureContainerAppEnvironmentResource.verified.bicep @@ -5,7 +5,7 @@ param existing_env_name string param existing_env_rg string -resource test_container_app_env 'Microsoft.App/managedEnvironments@2025-01-01' existing = { +resource test_container_app_env 'Microsoft.App/managedEnvironments@2025-07-01' existing = { name: existing_env_name scope: resourceGroup(existing_env_rg) } \ No newline at end of file diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureLogAnalyticsWorkspace_RespectsExistingWorkspaceInDifferentResourceGroup.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureLogAnalyticsWorkspace_RespectsExistingWorkspaceInDifferentResourceGroup.verified.bicep index 91958a3d32e..dc70c22c517 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureLogAnalyticsWorkspace_RespectsExistingWorkspaceInDifferentResourceGroup.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureLogAnalyticsWorkspace_RespectsExistingWorkspaceInDifferentResourceGroup.verified.bicep @@ -36,7 +36,7 @@ resource log_env_shared 'Microsoft.OperationalInsights/workspaces@2025-02-01' ex scope: resourceGroup(log_env_shared_rg) } -resource app_host 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource app_host 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('apphost${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -57,7 +57,7 @@ resource app_host 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithDelegatedSubnet_ConfiguresVnetConfiguration.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithDelegatedSubnet_ConfiguresVnetConfiguration.verified.bicep index 89b970e4830..14a03d3f091 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithDelegatedSubnet_ConfiguresVnetConfiguration.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithDelegatedSubnet_ConfiguresVnetConfiguration.verified.bicep @@ -40,7 +40,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -64,7 +64,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsDeploymentTargetWithContainerAppToProjectResources.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsDeploymentTargetWithContainerAppToProjectResources.verified.bicep index 817dbb0ef0f..7c403a03bda 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsDeploymentTargetWithContainerAppToProjectResources.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsDeploymentTargetWithContainerAppToProjectResources.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -13,7 +13,7 @@ param api_containerimage string param api_containerport string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=False.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=False.verified.bicep index aa399724567..1b38b2f2fa3 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=False.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=False.verified.bicep @@ -38,7 +38,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -59,7 +59,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' @@ -95,7 +95,7 @@ resource shares_volumes_cache_0 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('managedstoragevolumescache${uniqueString(resourceGroup().id)}', 24) properties: { azureFile: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=True.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=True.verified.bicep index 9cc4a34cfc5..053997260ea 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=True.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=True.verified.bicep @@ -40,7 +40,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: 'cae-${resourceToken}' location: location properties: { @@ -61,7 +61,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' @@ -97,7 +97,7 @@ resource shares_volumes_cache_0 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('${toLower('cache')}-${toLower('Appdata')}', 32) properties: { azureFile: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentWithCompactNamingPreservesUniqueString.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentWithCompactNamingPreservesUniqueString.verified.bicep index fe2f52e7b54..e0ab7783fd4 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentWithCompactNamingPreservesUniqueString.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentWithCompactNamingPreservesUniqueString.verified.bicep @@ -40,7 +40,7 @@ resource my_long_env_name_law 'Microsoft.OperationalInsights/workspaces@2025-02- tags: tags } -resource my_long_env_name 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource my_long_env_name 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('mylongenvname${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -61,7 +61,7 @@ resource my_long_env_name 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' @@ -97,7 +97,7 @@ resource shares_volumes_cache_0 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_cache_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('${toLower('cache')}-${toLower('Appdata')}-${resourceToken}', 32) properties: { azureFile: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsEntrypointAndArgs.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsEntrypointAndArgs.verified.bicep index c5da5f18283..6df247d2449 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsEntrypointAndArgs.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsEntrypointAndArgs.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep index e95063a79e7..ca628900c4a 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureWithParameterReference.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureWithParameterReference.verified.bicep index 63baf6ed234..d2440823dab 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureWithParameterReference.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureWithParameterReference.verified.bicep @@ -9,7 +9,7 @@ param value string param minReplicas string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddDockerfileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddDockerfileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep index 5a8502560f4..5febcc2dc33 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddDockerfileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddDockerfileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param api_containerimage string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddExecutableResourceWithPublishAsDockerFileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddExecutableResourceWithPublishAsDockerFileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep index 12386ee2f89..df1b40d46f0 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddExecutableResourceWithPublishAsDockerFileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddExecutableResourceWithPublishAsDockerFileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep @@ -13,7 +13,7 @@ param api_containerimage string param env string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsBicepGenerationIsIdempotent.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsBicepGenerationIsIdempotent.verified.bicep index 423d4c0c9c6..3cc7e4fd78b 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsBicepGenerationIsIdempotent.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsBicepGenerationIsIdempotent.verified.bicep @@ -33,7 +33,7 @@ resource existingKv_secret 'Microsoft.KeyVault/vaults/secrets@2024-11-01' existi parent: existingKv } -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsMapsPortsForBaitAndSwitchResources.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsMapsPortsForBaitAndSwitchResources.verified.bicep index 4073ca5ca00..7ec2acb46d7 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsMapsPortsForBaitAndSwitchResources.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsMapsPortsForBaitAndSwitchResources.verified.bicep @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param api_containerimage string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.BindMountNamesWithHyphensAreNormalized.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.BindMountNamesWithHyphensAreNormalized.verified.bicep index 19d577ec89f..54f6b907fa4 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.BindMountNamesWithHyphensAreNormalized.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.BindMountNamesWithHyphensAreNormalized.verified.bicep @@ -13,7 +13,7 @@ param with_bind_mount_containerimage string param env_outputs_bindmounts_with_bind_mount_0 string -resource with_bind_mount 'Microsoft.App/containerApps@2025-01-01' = { +resource with_bind_mount 'Microsoft.App/containerApps@2025-07-01' = { name: 'with-bind-mount' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanCustomizeWithProvisioningBuildOptions.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanCustomizeWithProvisioningBuildOptions.verified.bicep index 39216000b22..a8e5901e32d 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanCustomizeWithProvisioningBuildOptions.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanCustomizeWithProvisioningBuildOptions.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api1 'Microsoft.App/containerApps@2025-01-01' = { +resource api1 'Microsoft.App/containerApps@2025-07-01' = { name: 'api1-my' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanPreserveHttpSchemeUsingWithHttpsUpgrade.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanPreserveHttpSchemeUsingWithHttpsUpgrade.verified.bicep index e93d62d9130..286fbfdf414 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanPreserveHttpSchemeUsingWithHttpsUpgrade.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanPreserveHttpSchemeUsingWithHttpsUpgrade.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanReferenceContainerAppEnvironment.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanReferenceContainerAppEnvironment.verified.bicep index 966cdb76460..761c8ee3cfa 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanReferenceContainerAppEnvironment.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanReferenceContainerAppEnvironment.verified.bicep @@ -3,7 +3,7 @@ param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_name string -resource env 'Microsoft.App/managedEnvironments@2025-01-01' existing = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' existing = { name: env_outputs_azure_container_apps_environment_name } diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanTweakContainerAppEnvironmentUsingPublishAsContainerAppOnExecutable.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanTweakContainerAppEnvironmentUsingPublishAsContainerAppOnExecutable.verified.bicep index 5a8502560f4..5febcc2dc33 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanTweakContainerAppEnvironmentUsingPublishAsContainerAppOnExecutable.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanTweakContainerAppEnvironmentUsingPublishAsContainerAppOnExecutable.verified.bicep @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param api_containerimage string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CompactNamingMultipleVolumesHaveUniqueNames.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CompactNamingMultipleVolumesHaveUniqueNames.verified.bicep index 3fe9e593aa4..607feb19989 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CompactNamingMultipleVolumesHaveUniqueNames.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CompactNamingMultipleVolumesHaveUniqueNames.verified.bicep @@ -40,7 +40,7 @@ resource my_ace_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource my_ace 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource my_ace 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('myace${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -61,7 +61,7 @@ resource my_ace 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' @@ -97,7 +97,7 @@ resource shares_volumes_druid_0 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_druid_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_druid_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('${toLower('druid')}-${toLower('druid_shared')}-${resourceToken}', 32) properties: { azureFile: { @@ -119,7 +119,7 @@ resource shares_volumes_druid_1 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_druid_1 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_druid_1 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('${toLower('druid')}-${toLower('coordinator_var')}-${resourceToken}', 32) properties: { azureFile: { @@ -141,7 +141,7 @@ resource shares_bindmounts_druid_0 'Microsoft.Storage/storageAccounts/fileServic parent: storageVolumeFileService } -resource managedStorage_bindmounts_druid_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_bindmounts_druid_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('${toLower('druid')}-${toLower('bm0')}-${resourceToken}', 32) properties: { azureFile: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalBranchWithParameterReference.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalBranchWithParameterReference.verified.bicep index a2ea7208da3..3dc40c0faac 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalBranchWithParameterReference.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalBranchWithParameterReference.verified.bicep @@ -15,7 +15,7 @@ param enable_feature_value string param connection_prefix_value string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalExpressionWithParameterCondition.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalExpressionWithParameterCondition.verified.bicep index e2a1cf8b5f4..9bd70996481 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalExpressionWithParameterCondition.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalExpressionWithParameterCondition.verified.bicep @@ -13,7 +13,7 @@ param api_containerimage string param enable_feature_value string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureCustomDomainMutatesIngress.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureCustomDomainMutatesIngress.verified.bicep index 66341876338..66fcacef818 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureCustomDomainMutatesIngress.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureCustomDomainMutatesIngress.verified.bicep @@ -9,7 +9,7 @@ param certificateName string param customDomain string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureDuplicateCustomDomainMutatesIngress.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureDuplicateCustomDomainMutatesIngress.verified.bicep index b35296a41c1..516427a01fc 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureDuplicateCustomDomainMutatesIngress.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureDuplicateCustomDomainMutatesIngress.verified.bicep @@ -11,7 +11,7 @@ param customDomain string param expectedCertificateName string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureMultipleCustomDomainsMutatesIngress.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureMultipleCustomDomainsMutatesIngress.verified.bicep index 98d360f954f..237f9689da2 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureMultipleCustomDomainsMutatesIngress.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureMultipleCustomDomainsMutatesIngress.verified.bicep @@ -13,7 +13,7 @@ param certificateName2 string param customDomain2 string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#00.verified.bicep index 167d9514c68..c6eff64aca2 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#00.verified.bicep @@ -38,7 +38,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -59,7 +59,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#01.verified.bicep index 817dbb0ef0f..7c403a03bda 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -13,7 +13,7 @@ param api_containerimage string param api_containerport string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#00.verified.bicep index 830a9f66b86..e7bed670938 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#00.verified.bicep @@ -33,7 +33,7 @@ resource customworkspace 'Microsoft.OperationalInsights/workspaces@2025-02-01' e name: customworkspace_outputs_name } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -54,7 +54,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#01.verified.bicep index 817dbb0ef0f..7c403a03bda 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -13,7 +13,7 @@ param api_containerimage string param api_containerport string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardDisabled.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardDisabled.verified.bicep index 32b63ffb715..49ebfaebad4 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardDisabled.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardDisabled.verified.bicep @@ -38,7 +38,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardEnabled.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardEnabled.verified.bicep index a58d538797d..1340440b1f3 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardEnabled.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardEnabled.verified.bicep @@ -38,7 +38,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -59,7 +59,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppWithUppercaseName_ShouldUseLowercaseInManifest.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppWithUppercaseName_ShouldUseLowercaseInManifest.verified.bicep index 1378e530495..861b425950e 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppWithUppercaseName_ShouldUseLowercaseInManifest.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppWithUppercaseName_ShouldUseLowercaseInManifest.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource WebFrontEnd 'Microsoft.App/containerApps@2025-01-01' = { +resource WebFrontEnd 'Microsoft.App/containerApps@2025-07-01' = { name: 'webfrontend' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpIngressUsesPort80EvenWithDifferentDevPort.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpIngressUsesPort80EvenWithDifferentDevPort.verified.bicep index 0a6ed93d5ad..35aff2bdee1 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpIngressUsesPort80EvenWithDifferentDevPort.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpIngressUsesPort80EvenWithDifferentDevPort.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpsIngressUsesPort443EvenWithDifferentDevPort.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpsIngressUsesPort443EvenWithDifferentDevPort.verified.bicep index 4edbff63cbd..bc63d6edb55 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpsIngressUsesPort443EvenWithDifferentDevPort.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpsIngressUsesPort443EvenWithDifferentDevPort.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointWithHttp2SetsTransportToH2.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointWithHttp2SetsTransportToH2.verified.bicep index b247e734602..9bfda75c5f9 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointWithHttp2SetsTransportToH2.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointWithHttp2SetsTransportToH2.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ExternalEndpointBecomesIngress.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ExternalEndpointBecomesIngress.verified.bicep index 0db1a4c2ee5..76299e20b72 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ExternalEndpointBecomesIngress.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ExternalEndpointBecomesIngress.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.FirstHttpEndpointBecomesIngress.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.FirstHttpEndpointBecomesIngress.verified.bicep index 601830bbb1f..b026761ebaa 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.FirstHttpEndpointBecomesIngress.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.FirstHttpEndpointBecomesIngress.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.KeyVaultReferenceHandling.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.KeyVaultReferenceHandling.verified.bicep index b5dbd5f5473..6065da4715b 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.KeyVaultReferenceHandling.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.KeyVaultReferenceHandling.verified.bicep @@ -41,7 +41,7 @@ resource existingKv_secret 'Microsoft.KeyVault/vaults/secrets@2024-11-01' existi parent: existingKv } -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { @@ -119,4 +119,4 @@ resource api 'Microsoft.App/containerApps@2025-01-01' = { '${api_identity_outputs_id}': { } } } -} +} \ No newline at end of file diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#01.verified.txt b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#01.verified.txt index f2a03a24dd8..4023120b67f 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#01.verified.txt +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#01.verified.txt @@ -11,7 +11,7 @@ param my_ace_outputs_volumes_druid_1 string param my_ace_outputs_bindmounts_druid_0 string -resource druid 'Microsoft.App/containerApps@2025-01-01' = { +resource druid 'Microsoft.App/containerApps@2025-07-01' = { name: 'druid' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#03.verified.txt b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#03.verified.txt index ca5c9decddb..d03fabe909a 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#03.verified.txt +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#03.verified.txt @@ -38,7 +38,7 @@ resource my_ace_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource my_ace 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource my_ace 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('myace${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -59,7 +59,7 @@ resource my_ace 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' @@ -95,7 +95,7 @@ resource shares_volumes_druid_0 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_druid_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_druid_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('managedstoragevolumesdruid${uniqueString(resourceGroup().id)}', 24) properties: { azureFile: { @@ -117,7 +117,7 @@ resource shares_volumes_druid_1 'Microsoft.Storage/storageAccounts/fileServices/ parent: storageVolumeFileService } -resource managedStorage_volumes_druid_1 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_volumes_druid_1 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('managedstoragevolumesdruid${uniqueString(resourceGroup().id)}', 24) properties: { azureFile: { @@ -139,7 +139,7 @@ resource shares_bindmounts_druid_0 'Microsoft.Storage/storageAccounts/fileServic parent: storageVolumeFileService } -resource managedStorage_bindmounts_druid_0 'Microsoft.App/managedEnvironments/storages@2025-01-01' = { +resource managedStorage_bindmounts_druid_0 'Microsoft.App/managedEnvironments/storages@2025-07-01' = { name: take('managedstoragebindmountsdruid${uniqueString(resourceGroup().id)}', 24) properties: { azureFile: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.NestedConditionalExpressions.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.NestedConditionalExpressions.verified.bicep index 2848af2685e..16546b2752a 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.NestedConditionalExpressions.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.NestedConditionalExpressions.verified.bicep @@ -15,7 +15,7 @@ param outer_flag_value string param inner_flag_value string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectUsesTheTargetPortAsADefaultPortForFirstHttpEndpoint.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectUsesTheTargetPortAsADefaultPortForFirstHttpEndpoint.verified.bicep index 307a55e5e14..ee8ba65f4f0 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectUsesTheTargetPortAsADefaultPortForFirstHttpEndpoint.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectUsesTheTargetPortAsADefaultPortForFirstHttpEndpoint.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -13,7 +13,7 @@ param api_containerimage string param api_containerport string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypes#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypes#00.verified.bicep index 48969a8f251..3a2b27a0c9d 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypes#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypes#00.verified.bicep @@ -50,7 +50,7 @@ resource pg_kv_connectionstrings__db 'Microsoft.KeyVault/vaults/secrets@2024-11- parent: pg_kv } -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypesAndContainerAppEnvironment#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypesAndContainerAppEnvironment#00.verified.bicep index ed489a1b11d..fa71cc51b4a 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypesAndContainerAppEnvironment#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypesAndContainerAppEnvironment#00.verified.bicep @@ -47,7 +47,7 @@ resource pg_kv_connectionstrings__db 'Microsoft.KeyVault/vaults/secrets@2024-11- parent: pg_kv } -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsAzureContainerAppJobParameterlessConfiguresManualTrigger.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsAzureContainerAppJobParameterlessConfiguresManualTrigger.verified.bicep index ee9b2a68eed..7ce38600b4b 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsAzureContainerAppJobParameterlessConfiguresManualTrigger.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsAzureContainerAppJobParameterlessConfiguresManualTrigger.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource manual_job 'Microsoft.App/jobs@2025-01-01' = { +resource manual_job 'Microsoft.App/jobs@2025-07-01' = { name: 'manual-job' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppInfluencesContainerAppDefinition.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppInfluencesContainerAppDefinition.verified.bicep index 5b128e9439b..3cd3ff951f0 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppInfluencesContainerAppDefinition.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppInfluencesContainerAppDefinition.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJobInfluencesContainerAppDefinition.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJobInfluencesContainerAppDefinition.verified.bicep index 91ad12f35c2..a04d76284e9 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJobInfluencesContainerAppDefinition.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJobInfluencesContainerAppDefinition.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/jobs@2025-01-01' = { +resource api 'Microsoft.App/jobs@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJob_WorksForProjectResource.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJob_WorksForProjectResource.verified.bicep index f18b797b6b5..0855d01bc30 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJob_WorksForProjectResource.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJob_WorksForProjectResource.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param job_containerimage string -resource job 'Microsoft.App/jobs@2025-01-01' = { +resource job 'Microsoft.App/jobs@2025-07-01' = { name: 'job' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsScheduledAzureContainerAppJobConfiguresScheduleTrigger.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsScheduledAzureContainerAppJobConfiguresScheduleTrigger.verified.bicep index 7cf00f6c166..6b0e15bd144 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsScheduledAzureContainerAppJobConfiguresScheduleTrigger.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsScheduledAzureContainerAppJobConfiguresScheduleTrigger.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource scheduled_job 'Microsoft.App/jobs@2025-01-01' = { +resource scheduled_job 'Microsoft.App/jobs@2025-07-01' = { name: 'scheduled-job' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithConditionalConnectionString.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithConditionalConnectionString.verified.bicep index eb14f74e798..ba495936945 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithConditionalConnectionString.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithConditionalConnectionString.verified.bicep @@ -14,7 +14,7 @@ param api_containerimage string @secure() param cache_password_value string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithTlsEnabledConditionalConnectionString.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithTlsEnabledConditionalConnectionString.verified.bicep index 92e9b099639..b0558dd4880 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithTlsEnabledConditionalConnectionString.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithTlsEnabledConditionalConnectionString.verified.bicep @@ -14,7 +14,7 @@ param api_containerimage string @secure() param cache_password_value string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#00.verified.bicep index 11463c3ffb6..f5a7c4084d0 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#00.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#01.verified.bicep index 07c04344778..a5a892a4b03 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -13,7 +13,7 @@ param project1_containerimage string param project1_containerport string -resource project1 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource project1 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'project1' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#00.verified.bicep index 4f187a5b0cd..d025ac2cd67 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#00.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#01.verified.bicep index e76e23ffbfc..1edb29c25c1 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param project1_containerimage string -resource project1 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource project1 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'project1' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#00.verified.bicep index 4f187a5b0cd..d025ac2cd67 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#00.verified.bicep @@ -5,7 +5,7 @@ param env_outputs_azure_container_apps_environment_default_domain string param env_outputs_azure_container_apps_environment_id string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#01.verified.bicep index 89593534a66..bfa8fef6f36 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -11,7 +11,7 @@ param env_outputs_azure_container_registry_managed_identity_id string param project1_containerimage string -resource project1 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource project1 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'project1' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExisting#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExisting#00.verified.bicep index 97e62fe0448..c9a4538104c 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExisting#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExisting#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -15,7 +15,7 @@ param api_identity_outputs_id string param api_identity_outputs_clientid string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingCosmosDB#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingCosmosDB#00.verified.bicep index 78fe67e29a8..147d946e23c 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingCosmosDB#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingCosmosDB#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -17,7 +17,7 @@ param cosmos_outputs_connectionstring string param api_identity_outputs_clientid string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { @@ -77,4 +77,4 @@ resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { '${env_outputs_azure_container_registry_managed_identity_id}': { } } } -} +} \ No newline at end of file diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingRedis#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingRedis#00.verified.bicep index d98f1cb30c9..c918ffd312a 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingRedis#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingRedis#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -19,7 +19,7 @@ param redis_outputs_hostname string param api_identity_outputs_clientid string -resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource api 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'api' location: location properties: { @@ -87,4 +87,4 @@ resource api 'Microsoft.App/containerApps@2025-02-02-preview' = { '${env_outputs_azure_container_registry_managed_identity_id}': { } } } -} +} \ No newline at end of file diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.UnknownManifestExpressionProviderIsHandledWithAllocateParameter.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.UnknownManifestExpressionProviderIsHandledWithAllocateParameter.verified.bicep index 54015353437..73f73f86dc2 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.UnknownManifestExpressionProviderIsHandledWithAllocateParameter.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.UnknownManifestExpressionProviderIsHandledWithAllocateParameter.verified.bicep @@ -7,7 +7,7 @@ param env_outputs_azure_container_apps_environment_id string param customvalue string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.VolumesAndBindMountsAreTranslation.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.VolumesAndBindMountsAreTranslation.verified.bicep index a2806c2fa19..8748fd4ac18 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.VolumesAndBindMountsAreTranslation.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.VolumesAndBindMountsAreTranslation.verified.bicep @@ -11,7 +11,7 @@ param env_outputs_volumes_api_1 string param env_outputs_bindmounts_api_0 string -resource api 'Microsoft.App/containerApps@2025-01-01' = { +resource api 'Microsoft.App/containerApps@2025-07-01' = { name: 'api' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureEnvironmentResourceTests.WhenUsedWithAzureContainerAppsEnvironment_GeneratesProperBicep#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureEnvironmentResourceTests.WhenUsedWithAzureContainerAppsEnvironment_GeneratesProperBicep#01.verified.bicep index a58d538797d..1340440b1f3 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureEnvironmentResourceTests.WhenUsedWithAzureContainerAppsEnvironment_GeneratesProperBicep#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureEnvironmentResourceTests.WhenUsedWithAzureContainerAppsEnvironment_GeneratesProperBicep#01.verified.bicep @@ -38,7 +38,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -59,7 +59,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureFunctionsTests.AddAzureFunctionsProject_WorksWithAddAzureContainerAppsInfrastructure#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureFunctionsTests.AddAzureFunctionsProject_WorksWithAddAzureContainerAppsInfrastructure#00.verified.bicep index 5ed981ca7b4..c7bbe45051c 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureFunctionsTests.AddAzureFunctionsProject_WorksWithAddAzureContainerAppsInfrastructure#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureFunctionsTests.AddAzureFunctionsProject_WorksWithAddAzureContainerAppsInfrastructure#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param env_outputs_azure_container_apps_environment_default_domain string @@ -23,7 +23,7 @@ param funcstorage634f8_outputs_datalakeendpoint string param funcapp_identity_outputs_clientid string -resource funcapp 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource funcapp 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'funcapp' location: location properties: { @@ -129,4 +129,4 @@ resource funcapp 'Microsoft.App/containerApps@2025-02-02-preview' = { } } kind: 'functionapp' -} +} \ No newline at end of file diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep index e75bbbbd588..d6c505c51d6 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep @@ -155,7 +155,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -176,7 +176,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep index e3d1e16e20b..d325ce31029 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep @@ -193,7 +193,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -214,7 +214,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ClearDefaultRoleAssignments_RemovesDeploymentScriptInfra.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ClearDefaultRoleAssignments_RemovesDeploymentScriptInfra.verified.bicep index 8d312d88450..55869a5a089 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ClearDefaultRoleAssignments_RemovesDeploymentScriptInfra.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ClearDefaultRoleAssignments_RemovesDeploymentScriptInfra.verified.bicep @@ -39,7 +39,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -60,7 +60,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep index 6cad2dbdba5..cc90763311c 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep @@ -193,7 +193,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -214,7 +214,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep index 37026f1fdf2..df042ee4ad5 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep @@ -155,7 +155,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -176,7 +176,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep index 6cad2dbdba5..cc90763311c 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep @@ -193,7 +193,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -214,7 +214,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep index 37026f1fdf2..df042ee4ad5 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep @@ -155,7 +155,7 @@ resource env_law 'Microsoft.OperationalInsights/workspaces@2025-02-01' = { tags: tags } -resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { +resource env 'Microsoft.App/managedEnvironments@2025-07-01' = { name: take('env${uniqueString(resourceGroup().id)}', 24) location: location properties: { @@ -176,7 +176,7 @@ resource env 'Microsoft.App/managedEnvironments@2025-01-01' = { tags: tags } -resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-10-02-preview' = { +resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2025-10-02-preview' = { name: 'aspire-dashboard' properties: { componentType: 'AspireDashboard' diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#00.verified.bicep index 9dc04b1efc5..f78c769e554 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param cae_outputs_azure_container_apps_environment_default_domain string @@ -15,7 +15,7 @@ param myidentity_outputs_id string param myidentity_outputs_clientid string -resource myapp 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource myapp 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'myapp' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#01.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#01.verified.bicep index f2ceb593f10..05ffda45e67 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#01.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_MultipleProjects_Works#01.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param cae_outputs_azure_container_apps_environment_default_domain string @@ -15,7 +15,7 @@ param myidentity_outputs_id string param myidentity_outputs_clientid string -resource myapp2 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource myapp2 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'myapp2' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_Works#00.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_Works#00.verified.bicep index 9dc04b1efc5..f78c769e554 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_Works#00.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_WithRoleAssignments_Works#00.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param cae_outputs_azure_container_apps_environment_default_domain string @@ -15,7 +15,7 @@ param myidentity_outputs_id string param myidentity_outputs_clientid string -resource myapp 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource myapp 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'myapp' location: location properties: { diff --git a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_Works.verified.bicep b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_Works.verified.bicep index 9dc04b1efc5..f78c769e554 100644 --- a/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_Works.verified.bicep +++ b/tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureUserAssignedIdentityTests.WithAzureUserAssignedIdentity_Works.verified.bicep @@ -1,4 +1,4 @@ -@description('The location for the resource(s) to be deployed.') +@description('The location for the resource(s) to be deployed.') param location string = resourceGroup().location param cae_outputs_azure_container_apps_environment_default_domain string @@ -15,7 +15,7 @@ param myidentity_outputs_id string param myidentity_outputs_clientid string -resource myapp 'Microsoft.App/containerApps@2025-02-02-preview' = { +resource myapp 'Microsoft.App/containerApps@2025-10-02-preview' = { name: 'myapp' location: location properties: {