Skip to content

Commit 8f7ac2e

Browse files
[create-pull-request] automated change
1 parent 5a2acad commit 8f7ac2e

File tree

52 files changed

+846
-539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+846
-539
lines changed

src/Aspire.Hosting.Azure.AppConfiguration/api/Aspire.Hosting.Azure.AppConfiguration.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class AzureAppConfigurationExtensions
1212
{
13-
[AspireExport("addAzureAppConfiguration", Description = "Adds an Azure App Configuration resource")]
13+
[AspireExport(Description = "Adds an Azure App Configuration resource")]
1414
public static ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationResource> AddAzureAppConfiguration(this IDistributedApplicationBuilder builder, string name) { throw null; }
1515

16-
[AspireExport("runAsEmulator", Description = "Configures Azure App Configuration to run with the local emulator", RunSyncOnBackgroundThread = true)]
16+
[AspireExport(Description = "Configures Azure App Configuration to run with the local emulator", RunSyncOnBackgroundThread = true)]
1717
public static ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationResource> RunAsEmulator(this ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationResource> builder, System.Action<ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource>>? configureEmulator = null) { throw null; }
1818

19-
[AspireExport("withDataBindMount", Description = "Adds a data bind mount for the App Configuration emulator")]
19+
[AspireExport(Description = "Adds a data bind mount for the App Configuration emulator")]
2020
public static ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> WithDataBindMount(this ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> builder, string? path = null) { throw null; }
2121

22-
[AspireExport("withDataVolume", Description = "Adds a data volume for the App Configuration emulator")]
22+
[AspireExport(Description = "Adds a data volume for the App Configuration emulator")]
2323
public static ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> WithDataVolume(this ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> builder, string? name = null) { throw null; }
2424

25-
[AspireExport("withHostPort", Description = "Sets the host port for the App Configuration emulator")]
25+
[AspireExport(Description = "Sets the host port for the App Configuration emulator")]
2626
public static ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> WithHostPort(this ApplicationModel.IResourceBuilder<Azure.AzureAppConfigurationEmulatorResource> builder, int? port) { throw null; }
2727

2828
[AspireExportIgnore(Reason = "AppConfigurationBuiltInRole is an Azure.Provisioning type not compatible with ATS. Use the AzureAppConfigurationRole-based overload instead.")]
@@ -40,7 +40,7 @@ public AzureAppConfigurationEmulatorResource(AzureAppConfigurationResource inner
4040
public override ApplicationModel.ResourceAnnotationCollection Annotations { get { throw null; } }
4141
}
4242

43-
public partial class AzureAppConfigurationResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences, ApplicationModel.IResourceWithEndpoints, IAzurePrivateEndpointTarget
43+
public partial class AzureAppConfigurationResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IExpressionValue, ApplicationModel.IValueProvider, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueWithReferences, ApplicationModel.IResourceWithEndpoints, IAzurePrivateEndpointTarget
4444
{
4545
public AzureAppConfigurationResource(string name, System.Action<AzureResourceInfrastructure> configureInfrastructure) : base(default!, default!) { }
4646

src/Aspire.Hosting.Azure.AppContainers/api/Aspire.Hosting.Azure.AppContainers.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@ public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerApp<T>
2424

2525
public static partial class AzureContainerAppExtensions
2626
{
27-
[AspireExport("addAzureContainerAppEnvironment", Description = "Adds an Azure Container App Environment resource")]
27+
[AspireExport(Description = "Adds an Azure Container App Environment resource")]
2828
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> AddAzureContainerAppEnvironment(this IDistributedApplicationBuilder builder, string name) { throw null; }
2929

3030
[System.Obsolete("Use AddAzureContainerAppEnvironment instead. This method will be removed in a future version.")]
3131
public static IDistributedApplicationBuilder AddAzureContainerAppsInfrastructure(this IDistributedApplicationBuilder builder) { throw null; }
3232

33-
[AspireExport("withAzdResourceNaming", Description = "Configures resources to use azd naming conventions")]
33+
[AspireExport(Description = "Configures resources to use azd naming conventions")]
3434
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithAzdResourceNaming(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder) { throw null; }
3535

36-
[AspireExport("withAzureLogAnalyticsWorkspace", Description = "Configures the container app environment to use a specific Log Analytics Workspace")]
36+
[AspireExport(Description = "Configures the container app environment to use a specific Log Analytics Workspace")]
3737
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithAzureLogAnalyticsWorkspace(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder, ApplicationModel.IResourceBuilder<Azure.AzureLogAnalyticsWorkspaceResource> workspaceBuilder) { throw null; }
3838

39-
[AspireExport("withCompactResourceNaming", Description = "Configures resources to use compact naming for length-constrained Azure resources")]
39+
[AspireExport(Description = "Configures resources to use compact naming for length-constrained Azure resources")]
4040
[System.Diagnostics.CodeAnalysis.Experimental("ASPIREACANAMING001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
4141
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithCompactResourceNaming(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder) { throw null; }
4242

43-
[AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the container app environment")]
43+
[AspireExport(Description = "Configures whether the Aspire dashboard is included in the container app environment")]
4444
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithDashboard(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder, bool enable = true) { throw null; }
4545

46-
[AspireExport("withHttpsUpgrade", Description = "Configures whether HTTP endpoints are upgraded to HTTPS")]
46+
[AspireExport(Description = "Configures whether HTTP endpoints are upgraded to HTTPS")]
4747
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithHttpsUpgrade(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder, bool upgrade = true) { throw null; }
4848
}
4949

@@ -56,7 +56,7 @@ public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerApp<T>
5656

5757
public static partial class ContainerAppExtensions
5858
{
59-
[AspireExportIgnore(Reason = "Extends ContainerApp (Azure.Provisioning type) which is not an IResourceBuilder<T> target, so the ATS codegen cannot generate a wrapper class for it.")]
59+
[AspireExport(Description = "Configures the custom domain for the container app")]
6060
[System.Diagnostics.CodeAnalysis.Experimental("ASPIREACADOMAINS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
6161
public static void ConfigureCustomDomain(this global::Azure.Provisioning.AppContainers.ContainerApp app, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> customDomain, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> certificateName) { }
6262

@@ -65,7 +65,7 @@ public static void ConfigureCustomDomain(this global::Azure.Provisioning.AppCont
6565
public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerAppJob<T>(this ApplicationModel.IResourceBuilder<T> resource, System.Action<Azure.AzureResourceInfrastructure, global::Azure.Provisioning.AppContainers.ContainerAppJob> configure)
6666
where T : ApplicationModel.IComputeResource { throw null; }
6767

68-
[AspireExport("publishAsAzureContainerAppJob", Description = "Configures the compute resource as a manually triggered Azure Container App Job")]
68+
[AspireExport(Description = "Configures the compute resource as a manually triggered Azure Container App Job")]
6969
[System.Diagnostics.CodeAnalysis.Experimental("ASPIREAZURE002", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
7070
public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerAppJob<T>(this ApplicationModel.IResourceBuilder<T> resource)
7171
where T : ApplicationModel.IComputeResource { throw null; }

src/Aspire.Hosting.Azure.AppService/api/Aspire.Hosting.Azure.AppService.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class AzureAppServiceComputeResourceExtensions
1212
{
13-
[AspireExport("publishAsAzureAppServiceWebsite", Description = "Publishes the compute resource as an Azure App Service website or deployment slot")]
13+
[AspireExport(Description = "Publishes the compute resource as an Azure App Service website or deployment slot")]
1414
public static ApplicationModel.IResourceBuilder<T> PublishAsAzureAppServiceWebsite<T>(this ApplicationModel.IResourceBuilder<T> builder, System.Action<Azure.AzureResourceInfrastructure, global::Azure.Provisioning.AppService.WebSite>? configure = null, System.Action<Azure.AzureResourceInfrastructure, global::Azure.Provisioning.AppService.WebSiteSlot>? configureSlot = null)
1515
where T : ApplicationModel.IComputeResource { throw null; }
1616

17-
[AspireExport("skipEnvironmentVariableNameChecks", Description = "Skips Azure App Service environment variable name validation for the compute resource")]
17+
[AspireExport(Description = "Skips Azure App Service environment variable name validation for the compute resource")]
1818
public static ApplicationModel.IResourceBuilder<T> SkipEnvironmentVariableNameChecks<T>(this ApplicationModel.IResourceBuilder<T> builder)
1919
where T : ApplicationModel.IComputeResource { throw null; }
2020
}
2121

2222
public static partial class AzureAppServiceEnvironmentExtensions
2323
{
24-
[AspireExport("addAzureAppServiceEnvironment", Description = "Adds an Azure App Service environment resource")]
24+
[AspireExport(Description = "Adds an Azure App Service environment resource")]
2525
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> AddAzureAppServiceEnvironment(this IDistributedApplicationBuilder builder, string name) { throw null; }
2626

2727
[AspireExport("withAzureApplicationInsightsLocationParameter", Description = "Enables Azure Application Insights for the Azure App Service environment using a location parameter")]
@@ -33,16 +33,16 @@ public static partial class AzureAppServiceEnvironmentExtensions
3333
[AspireExport("withAzureApplicationInsightsLocation", Description = "Enables Azure Application Insights for the Azure App Service environment with a specific location")]
3434
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> WithAzureApplicationInsights(this ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> builder, string applicationInsightsLocation) { throw null; }
3535

36-
[AspireExport("withAzureApplicationInsights", Description = "Enables Azure Application Insights for the Azure App Service environment")]
36+
[AspireExport(Description = "Enables Azure Application Insights for the Azure App Service environment")]
3737
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> WithAzureApplicationInsights(this ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> builder) { throw null; }
3838

39-
[AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the Azure App Service environment")]
39+
[AspireExport(Description = "Configures whether the Aspire dashboard is included in the Azure App Service environment")]
4040
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> WithDashboard(this ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> builder, bool enable = true) { throw null; }
4141

4242
[AspireExport("withDeploymentSlotParameter", Description = "Configures the deployment slot for all Azure App Services in the environment using a parameter")]
4343
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> WithDeploymentSlot(this ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> deploymentSlot) { throw null; }
4444

45-
[AspireExport("withDeploymentSlot", Description = "Configures the deployment slot for all Azure App Services in the environment")]
45+
[AspireExport(Description = "Configures the deployment slot for all Azure App Services in the environment")]
4646
public static ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> WithDeploymentSlot(this ApplicationModel.IResourceBuilder<Azure.AzureAppServiceEnvironmentResource> builder, string deploymentSlot) { throw null; }
4747
}
4848
}

src/Aspire.Hosting.Azure.ApplicationInsights/api/Aspire.Hosting.Azure.ApplicationInsights.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ public static partial class AzureApplicationInsightsExtensions
1313
[AspireExportIgnore(Reason = "logAnalyticsWorkspace parameter cannot be made optional in ATS. Use the single-parameter overload with WithLogAnalyticsWorkspace instead.")]
1414
public static ApplicationModel.IResourceBuilder<Azure.AzureApplicationInsightsResource> AddAzureApplicationInsights(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder<Azure.AzureLogAnalyticsWorkspaceResource>? logAnalyticsWorkspace) { throw null; }
1515

16-
[AspireExport("addAzureApplicationInsights", Description = "Adds an Azure Application Insights resource")]
16+
[AspireExport(Description = "Adds an Azure Application Insights resource")]
1717
public static ApplicationModel.IResourceBuilder<Azure.AzureApplicationInsightsResource> AddAzureApplicationInsights(this IDistributedApplicationBuilder builder, string name) { throw null; }
1818

19-
[AspireExport("withLogAnalyticsWorkspace", Description = "Configures the Application Insights resource to use a Log Analytics Workspace")]
19+
[AspireExport(Description = "Configures the Application Insights resource to use a Log Analytics Workspace")]
2020
public static ApplicationModel.IResourceBuilder<Azure.AzureApplicationInsightsResource> WithLogAnalyticsWorkspace(this ApplicationModel.IResourceBuilder<Azure.AzureApplicationInsightsResource> builder, ApplicationModel.IResourceBuilder<Azure.AzureLogAnalyticsWorkspaceResource> logAnalyticsWorkspace) { throw null; }
2121

2222
[AspireExportIgnore(Reason = "BicepOutputReference is not ATS-compatible. Use the IResourceBuilder<AzureLogAnalyticsWorkspaceResource> overload instead.")]
@@ -26,7 +26,7 @@ public static partial class AzureApplicationInsightsExtensions
2626

2727
namespace Aspire.Hosting.Azure
2828
{
29-
public partial class AzureApplicationInsightsResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences
29+
public partial class AzureApplicationInsightsResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IExpressionValue, ApplicationModel.IValueProvider, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueWithReferences
3030
{
3131
public AzureApplicationInsightsResource(string name, System.Action<AzureResourceInfrastructure> configureInfrastructure) : base(default!, default!) { }
3232

0 commit comments

Comments
 (0)