diff --git a/src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationExtensions.cs b/src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationExtensions.cs
index 4ece173c837..8694183e7d5 100644
--- a/src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationExtensions.cs
+++ b/src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationExtensions.cs
@@ -29,7 +29,7 @@ public static class AzureAppConfigurationExtensions
///
/// These can be replaced by calling .
///
- [AspireExport("addAzureAppConfiguration", Description = "Adds an Azure App Configuration resource")]
+ [AspireExport(Description = "Adds an Azure App Configuration resource")]
public static IResourceBuilder AddAzureAppConfiguration(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -93,7 +93,7 @@ public static IResourceBuilder AddAzureAppConfigu
/// The Azure App Configuration resource builder.
/// Callback that exposes underlying container used for emulation to allow for customization.
/// A reference to the .
- [AspireExport("runAsEmulator", Description = "Configures Azure App Configuration to run with the local emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures Azure App Configuration to run with the local emulator", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(this IResourceBuilder builder, Action>? configureEmulator = null)
{
if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
@@ -127,7 +127,7 @@ public static IResourceBuilder RunAsEmulator(this
/// The builder for the .
/// Relative path to the AppHost where emulator storage is persisted between runs. Defaults to the path '.aace'
/// A builder for the .
- [AspireExport("withDataBindMount", Description = "Adds a data bind mount for the App Configuration emulator")]
+ [AspireExport(Description = "Adds a data bind mount for the App Configuration emulator")]
public static IResourceBuilder WithDataBindMount(this IResourceBuilder builder, string? path = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -141,7 +141,7 @@ public static IResourceBuilder WithDataBi
/// The builder for the .
/// The name of the volume. Defaults to an auto-generated name based on the application and resource names.
/// A builder for the .
- [AspireExport("withDataVolume", Description = "Adds a data volume for the App Configuration emulator")]
+ [AspireExport(Description = "Adds a data volume for the App Configuration emulator")]
public static IResourceBuilder WithDataVolume(this IResourceBuilder builder, string? name = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -155,7 +155,7 @@ public static IResourceBuilder WithDataVo
/// Builder for the Azure App Configuration emulator container
/// The port to bind on the host. If is used, a random port will be assigned.
/// A reference to the .
- [AspireExport("withHostPort", Description = "Sets the host port for the App Configuration emulator")]
+ [AspireExport(Description = "Sets the host port for the App Configuration emulator")]
public static IResourceBuilder WithHostPort(this IResourceBuilder builder, int? port)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs b/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs
index 11c4d92ed5b..74afeae39c8 100644
--- a/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs
+++ b/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs
@@ -56,7 +56,7 @@ internal static IDistributedApplicationBuilder AddAzureContainerAppsInfrastructu
/// The distributed application builder.
/// The name of the resource.
///
- [AspireExport("addAzureContainerAppEnvironment", Description = "Adds an Azure Container App Environment resource")]
+ [AspireExport(Description = "Adds an Azure Container App Environment resource")]
public static IResourceBuilder AddAzureContainerAppEnvironment(this IDistributedApplicationBuilder builder, string name)
{
builder.AddAzureContainerAppsInfrastructureCore();
@@ -410,7 +410,7 @@ public static IResourceBuilder AddAzureCon
/// This method allows for reusing the previously deployed resources if the application was deployed using
/// azd without calling
///
- [AspireExport("withAzdResourceNaming", Description = "Configures resources to use azd naming conventions")]
+ [AspireExport(Description = "Configures resources to use azd naming conventions")]
public static IResourceBuilder WithAzdResourceNaming(this IResourceBuilder builder)
{
builder.Resource.UseAzdNamingConvention = true;
@@ -440,7 +440,7 @@ public static IResourceBuilder WithAzdReso
/// Use to change those names as well.
///
///
- [AspireExport("withCompactResourceNaming", Description = "Configures resources to use compact naming for length-constrained Azure resources")]
+ [AspireExport(Description = "Configures resources to use compact naming for length-constrained Azure resources")]
[Experimental("ASPIREACANAMING001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static IResourceBuilder WithCompactResourceNaming(this IResourceBuilder builder)
{
@@ -454,7 +454,7 @@ public static IResourceBuilder WithCompact
/// The AzureContainerAppEnvironmentResource to configure.
/// Whether to include the Aspire dashboard. Default is true.
///
- [AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the container app environment")]
+ [AspireExport(Description = "Configures whether the Aspire dashboard is included in the container app environment")]
public static IResourceBuilder WithDashboard(this IResourceBuilder builder, bool enable = true)
{
builder.Resource.EnableDashboard = enable;
@@ -473,7 +473,7 @@ public static IResourceBuilder WithDashboa
/// Note that explicit ports specified for development (e.g., port 8080) are still normalized
/// to standard ports (80/443) as required by Azure Container Apps.
///
- [AspireExport("withHttpsUpgrade", Description = "Configures whether HTTP endpoints are upgraded to HTTPS")]
+ [AspireExport(Description = "Configures whether HTTP endpoints are upgraded to HTTPS")]
public static IResourceBuilder WithHttpsUpgrade(this IResourceBuilder builder, bool upgrade = true)
{
builder.Resource.PreserveHttpEndpoints = !upgrade;
@@ -487,7 +487,7 @@ public static IResourceBuilder WithHttpsUp
/// The resource builder for the to use.
///
/// Thrown when or is null.
- [AspireExport("withAzureLogAnalyticsWorkspace", Description = "Configures the container app environment to use a specific Log Analytics Workspace")]
+ [AspireExport(Description = "Configures the container app environment to use a specific Log Analytics Workspace")]
public static IResourceBuilder WithAzureLogAnalyticsWorkspace(this IResourceBuilder builder, IResourceBuilder workspaceBuilder)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs b/src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs
index 6834d8a1ec6..df7e4591b07 100644
--- a/src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs
+++ b/src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs
@@ -189,7 +189,7 @@ public static IResourceBuilder PublishAsAzureContainerAppJob(this IResourc
///
///
///
- [AspireExport("publishAsAzureContainerAppJob", Description = "Configures the compute resource as a manually triggered Azure Container App Job")]
+ [AspireExport(Description = "Configures the compute resource as a manually triggered Azure Container App Job")]
[Experimental("ASPIREAZURE002", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static IResourceBuilder PublishAsAzureContainerAppJob(this IResourceBuilder resource)
where T : IComputeResource
@@ -250,7 +250,7 @@ public static IResourceBuilder PublishAsScheduledAzureContainerAppJob(this
///
/// This method is a convenience wrapper that configures the job with a schedule trigger using the specified cron expression.
///
- [AspireExport("publishAsScheduledAzureContainerAppJob", Description = "Configures the compute resource as a scheduled Azure Container App Job")]
+ [AspireExport(Description = "Configures the compute resource as a scheduled Azure Container App Job")]
[Experimental("ASPIREAZURE002", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
internal static IResourceBuilder PublishAsScheduledAzureContainerAppJob(this IResourceBuilder resource, string cronExpression)
where T : IComputeResource
diff --git a/src/Aspire.Hosting.Azure.AppService/AzureAppServiceComputeResourceExtensions.cs b/src/Aspire.Hosting.Azure.AppService/AzureAppServiceComputeResourceExtensions.cs
index 94f1690367a..416fd7b0acb 100644
--- a/src/Aspire.Hosting.Azure.AppService/AzureAppServiceComputeResourceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.AppService/AzureAppServiceComputeResourceExtensions.cs
@@ -30,7 +30,7 @@ public static class AzureAppServiceComputeResourceExtensions
///
///
///
- [AspireExport("publishAsAzureAppServiceWebsite", Description = "Publishes the compute resource as an Azure App Service website or deployment slot")]
+ [AspireExport(Description = "Publishes the compute resource as an Azure App Service website or deployment slot")]
public static IResourceBuilder PublishAsAzureAppServiceWebsite(this IResourceBuilder builder,
Action? configure = null,
Action? configureSlot = null)
@@ -75,7 +75,7 @@ public static IResourceBuilder PublishAsAzureAppServiceWebsite(this IResou
/// The compute resource builder.
/// The updated compute resource builder.
/// Thrown when the resource is not configured for Azure App Service publishing.
- [AspireExport("skipEnvironmentVariableNameChecks", Description = "Skips Azure App Service environment variable name validation for the compute resource")]
+ [AspireExport(Description = "Skips Azure App Service environment variable name validation for the compute resource")]
public static IResourceBuilder SkipEnvironmentVariableNameChecks(this IResourceBuilder builder)
where T : IComputeResource
{
diff --git a/src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs b/src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs
index a6905617534..c4299470cfb 100644
--- a/src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs
+++ b/src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs
@@ -40,7 +40,7 @@ internal static IDistributedApplicationBuilder AddAzureAppServiceInfrastructureC
/// The distributed application builder.
/// The name of the resource.
///
- [AspireExport("addAzureAppServiceEnvironment", Description = "Adds an Azure App Service environment resource")]
+ [AspireExport(Description = "Adds an Azure App Service environment resource")]
public static IResourceBuilder AddAzureAppServiceEnvironment(this IDistributedApplicationBuilder builder, string name)
{
builder.AddAzureAppServiceInfrastructureCore();
@@ -232,7 +232,7 @@ public static IResourceBuilder AddAzureAppSe
/// The to configure.
/// Whether to include the Aspire dashboard. Default is true.
/// A reference to the for chaining additional configuration.
- [AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the Azure App Service environment")]
+ [AspireExport(Description = "Configures whether the Aspire dashboard is included in the Azure App Service environment")]
public static IResourceBuilder WithDashboard(this IResourceBuilder builder, bool enable = true)
{
builder.Resource.EnableDashboard = enable;
@@ -244,7 +244,7 @@ public static IResourceBuilder WithDashboard
///
/// The AzureAppServiceEnvironmentResource to configure.
///
- [AspireExport("withAzureApplicationInsights", Description = "Enables Azure Application Insights for the Azure App Service environment")]
+ [AspireExport(Description = "Enables Azure Application Insights for the Azure App Service environment")]
public static IResourceBuilder WithAzureApplicationInsights(this IResourceBuilder builder)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -316,7 +316,7 @@ public static IResourceBuilder WithDeploymen
/// The AzureAppServiceEnvironmentResource to configure.
/// The deployment slot for all App Services in the App Service Environment.
///
- [AspireExport("withDeploymentSlot", Description = "Configures the deployment slot for all Azure App Services in the environment")]
+ [AspireExport(Description = "Configures the deployment slot for all Azure App Services in the environment")]
public static IResourceBuilder WithDeploymentSlot(this IResourceBuilder builder, string deploymentSlot)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs b/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs
index b190b6375da..b2d9ee7b066 100644
--- a/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs
+++ b/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs
@@ -20,7 +20,7 @@ public static class AzureApplicationInsightsExtensions
/// The .
/// The name of the resource. This name will be used as the connection string name when referenced in a dependency.
/// A reference to the .
- [AspireExport("addAzureApplicationInsights", Description = "Adds an Azure Application Insights resource")]
+ [AspireExport(Description = "Adds an Azure Application Insights resource")]
public static IResourceBuilder AddAzureApplicationInsights(this IDistributedApplicationBuilder builder, [ResourceName] string name)
=> AddAzureApplicationInsights(builder, name, logAnalyticsWorkspace: null);
@@ -145,7 +145,7 @@ public static IResourceBuilder WithLogAnalytic
/// The resource builder for .
/// The resource builder for the .
/// The for chaining.
- [AspireExport("withLogAnalyticsWorkspace", Description = "Configures the Application Insights resource to use a Log Analytics Workspace")]
+ [AspireExport(Description = "Configures the Application Insights resource to use a Log Analytics Workspace")]
public static IResourceBuilder WithLogAnalyticsWorkspace(
this IResourceBuilder builder,
IResourceBuilder logAnalyticsWorkspace)
diff --git a/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIExtensions.cs b/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIExtensions.cs
index 6040ac2ea4d..da27cf443dd 100644
--- a/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIExtensions.cs
+++ b/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIExtensions.cs
@@ -28,7 +28,7 @@ public static class AzureOpenAIExtensions
///
/// These can be replaced by calling .
///
- [AspireExport("addAzureOpenAI", Description = "Adds an Azure OpenAI resource")]
+ [AspireExport(Description = "Adds an Azure OpenAI resource")]
public static IResourceBuilder AddAzureOpenAI(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -171,7 +171,7 @@ public static IResourceBuilder AddDeployment(this IResource
/// The name of the model to deploy.
/// The version of the model to deploy.
/// A reference to the .
- [AspireExport("addDeployment", Description = "Adds an Azure OpenAI deployment resource")]
+ [AspireExport(Description = "Adds an Azure OpenAI deployment resource")]
public static IResourceBuilder AddDeployment(this IResourceBuilder builder, [ResourceName] string name, string modelName, string modelVersion)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -191,7 +191,7 @@ public static IResourceBuilder AddDeployment(this
/// The Azure OpenAI Deployment resource builder.
/// A method that can be used for customizing the .
/// A reference to the .
- [AspireExport("withProperties", Description = "Configures properties of an Azure OpenAI deployment", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures properties of an Azure OpenAI deployment", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder WithProperties(this IResourceBuilder builder, Action configure)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryExtensions.cs b/src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryExtensions.cs
index a81c7cb7fb1..ed0c1973625 100644
--- a/src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryExtensions.cs
+++ b/src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryExtensions.cs
@@ -27,7 +27,7 @@ public static class AzureContainerRegistryExtensions
/// A reference to the builder.
/// Thrown when is null.
/// Thrown when is null or empty.
- [AspireExport("addAzureContainerRegistry", Description = "Adds an Azure Container Registry resource to the distributed application model.")]
+ [AspireExport(Description = "Adds an Azure Container Registry resource to the distributed application model.")]
public static IResourceBuilder AddAzureContainerRegistry(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -123,7 +123,7 @@ public static IResourceBuilder WithAzureContainerRegistry(this IResourceBu
/// Thrown when is .
/// Thrown when the resource does not have an associated Azure Container Registry,
/// or when the associated container registry is not an .
- [AspireExport("getAzureContainerRegistry", Description = "Gets the Azure Container Registry associated with a compute environment resource.")]
+ [AspireExport(Description = "Gets the Azure Container Registry associated with a compute environment resource.")]
public static IResourceBuilder GetAzureContainerRegistry(this IResourceBuilder builder)
where T : IResource, IAzureComputeEnvironmentResource
{
@@ -163,7 +163,7 @@ public static IResourceBuilder GetAzureContainer
/// .WithPurgeTask("0 1 * * *", ago: TimeSpan.FromDays(7), keep: 5);
///
///
- [AspireExport("withPurgeTask", Description = "Configures a purge task for the Azure Container Registry resource.")]
+ [AspireExport(Description = "Configures a purge task for the Azure Container Registry resource.")]
public static IResourceBuilder WithPurgeTask(
this IResourceBuilder builder,
string schedule,
diff --git a/src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBExtensions.cs b/src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBExtensions.cs
index 69532183455..7726c22471d 100644
--- a/src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBExtensions.cs
+++ b/src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBExtensions.cs
@@ -32,7 +32,7 @@ public static class AzureCosmosExtensions
/// The .
/// The name of the resource. This name will be used as the connection string name when referenced in a dependency.
/// A reference to the .
- [AspireExport("addAzureCosmosDB", Description = "Adds an Azure Cosmos DB resource")]
+ [AspireExport(Description = "Adds an Azure Cosmos DB resource")]
public static IResourceBuilder AddAzureCosmosDB(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -57,7 +57,7 @@ public static IResourceBuilder AddAzureCosmosDB(this IDis
/// For more information, see .
/// This version of the package defaults to the tag of the / container image.
///
- [AspireExport("runAsEmulator", Description = "Configures the Azure Cosmos DB resource to run using the local emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Azure Cosmos DB resource to run using the local emulator", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(this IResourceBuilder builder, Action>? configureContainer = null)
=> RunAsEmulator(builder, configureContainer, useVNextPreview: false);
@@ -71,7 +71,7 @@ public static IResourceBuilder RunAsEmulator(this IResour
///
/// This version of the package defaults to the tag of the / container image.
///
- [AspireExport("runAsPreviewEmulator", Description = "Configures the Azure Cosmos DB resource to run using the preview emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Azure Cosmos DB resource to run using the preview emulator", RunSyncOnBackgroundThread = true)]
[Experimental("ASPIRECOSMOSDB001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static IResourceBuilder RunAsPreviewEmulator(this IResourceBuilder builder, Action>? configureContainer = null)
=> RunAsEmulator(builder, configureContainer, useVNextPreview: true);
@@ -234,7 +234,7 @@ static CosmosClient CreateCosmosClient(string connectionString)
/// The builder for the .
/// The name of the volume. Defaults to an auto-generated name based on the application and resource names.
/// A builder for the .
- [AspireExport("withDataVolume", Description = "Adds a named volume for the data folder to an Azure Cosmos DB emulator resource")]
+ [AspireExport(Description = "Adds a named volume for the data folder to an Azure Cosmos DB emulator resource")]
public static IResourceBuilder WithDataVolume(this IResourceBuilder builder, string? name = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -251,7 +251,7 @@ public static IResourceBuilder WithDataVolume(thi
/// Builder for the Cosmos emulator container
/// Host port to bind to the emulator gateway port.
/// Cosmos emulator resource builder.
- [AspireExport("withGatewayPort", Description = "Sets the host port for the Cosmos DB emulator gateway endpoint")]
+ [AspireExport(Description = "Sets the host port for the Cosmos DB emulator gateway endpoint")]
public static IResourceBuilder WithGatewayPort(this IResourceBuilder builder, int? port)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -271,7 +271,7 @@ public static IResourceBuilder WithGatewayPort(th
/// Not calling this method will result in the default of 10 partitions. The actual started partitions is always one more than specified.
/// See this documentation about setting the partition count.
///
- [AspireExport("withPartitionCount", Description = "Sets the partition count for the Azure Cosmos DB emulator")]
+ [AspireExport(Description = "Sets the partition count for the Azure Cosmos DB emulator")]
public static IResourceBuilder WithPartitionCount(this IResourceBuilder builder, int count)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -315,7 +315,7 @@ public static IResourceBuilder AddDatabase(this IResource
/// The name of the database resource.
/// The name of the database. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addCosmosDatabase", Description = "Adds an Azure Cosmos DB database resource")]
+ [AspireExport(Description = "Adds an Azure Cosmos DB database resource")]
public static IResourceBuilder AddCosmosDatabase(this IResourceBuilder builder, [ResourceName] string name, string? databaseName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -338,7 +338,7 @@ public static IResourceBuilder AddCosmosDatabase(
/// Partition key path for the container.
/// The name of the container. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addContainer", Description = "Adds an Azure Cosmos DB container resource")]
+ [AspireExport(Description = "Adds an Azure Cosmos DB container resource")]
public static IResourceBuilder AddContainer(this IResourceBuilder builder, [ResourceName] string name, string partitionKeyPath, string? containerName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -394,7 +394,7 @@ public static IResourceBuilder AddContainer(this
///
/// The builder for the Azure Cosmos DB resource.
/// A reference to the .
- [AspireExport("withDefaultAzureSku", Description = "Configures Azure Cosmos DB to use the default Azure SKU")]
+ [AspireExport(Description = "Configures Azure Cosmos DB to use the default Azure SKU")]
public static IResourceBuilder WithDefaultAzureSku(this IResourceBuilder builder)
{
builder.Resource.UseDefaultAzureSku = true;
@@ -410,7 +410,7 @@ public static IResourceBuilder WithDefaultAzureSku(this I
///
/// The Data Explorer is only available with .
///
- [AspireExport("withDataExplorer", Description = "Exposes the Data Explorer endpoint for the preview emulator")]
+ [AspireExport(Description = "Exposes the Data Explorer endpoint for the preview emulator")]
[Experimental("ASPIRECOSMOSDB001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static IResourceBuilder WithDataExplorer(this IResourceBuilder builder, int? port = null)
{
@@ -473,7 +473,7 @@ public static IResourceBuilder WithDataExplorer(t
///
///
///
- [AspireExport("withAccessKeyAuthentication", Description = "Configures Azure Cosmos DB to use access key authentication")]
+ [AspireExport(Description = "Configures Azure Cosmos DB to use access key authentication")]
public static IResourceBuilder WithAccessKeyAuthentication(this IResourceBuilder builder)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.EventHubs/AzureEventHubsExtensions.cs b/src/Aspire.Hosting.Azure.EventHubs/AzureEventHubsExtensions.cs
index 3513f5d7c04..124c88b511c 100644
--- a/src/Aspire.Hosting.Azure.EventHubs/AzureEventHubsExtensions.cs
+++ b/src/Aspire.Hosting.Azure.EventHubs/AzureEventHubsExtensions.cs
@@ -37,7 +37,7 @@ public static class AzureEventHubsExtensions
///
/// These can be replaced by calling .
///
- [AspireExport("addAzureEventHubs", Description = "Adds an Azure Event Hubs namespace resource")]
+ [AspireExport(Description = "Adds an Azure Event Hubs namespace resource")]
public static IResourceBuilder AddAzureEventHubs(
this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
@@ -152,7 +152,7 @@ public static IResourceBuilder AddEventHub(this IResourc
/// The name of the Event Hub resource.
/// The name of the Event Hub. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addHub", Description = "Adds an Azure Event Hub resource")]
+ [AspireExport(Description = "Adds an Azure Event Hub resource")]
public static IResourceBuilder AddHub(this IResourceBuilder builder, [ResourceName] string name, string? hubName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -173,7 +173,7 @@ public static IResourceBuilder AddHub(this IResourceBuild
/// The Azure Event Hub resource builder.
/// A method that can be used for customizing the .
/// A reference to the .
- [AspireExport("withProperties", Description = "Configures properties of an Azure Event Hub", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures properties of an Azure Event Hub", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder WithProperties(this IResourceBuilder builder, Action configure)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -191,7 +191,7 @@ public static IResourceBuilder WithProperties(this IResou
/// The name of the Event Hub Consumer Group resource.
/// The name of the Consumer Group. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addConsumerGroup", Description = "Adds an Azure Event Hub consumer group resource")]
+ [AspireExport(Description = "Adds an Azure Event Hub consumer group resource")]
public static IResourceBuilder AddConsumerGroup(
this IResourceBuilder builder,
[ResourceName] string name,
@@ -237,7 +237,7 @@ public static IResourceBuilder AddConsumerGr
/// builder.Build().Run();
///
///
- [AspireExport("runAsEmulator", Description = "Configures the Azure Event Hubs resource to run with the local emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Azure Event Hubs resource to run with the local emulator", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(this IResourceBuilder builder, Action>? configureContainer = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -405,7 +405,7 @@ public static IResourceBuilder WithGatewayPort(t
/// Builder for the Azure Event Hubs emulator container
/// The port to bind on the host. If is used, a random port will be assigned.
/// Azure Event Hubs emulator resource builder.
- [AspireExport("withHostPort", Description = "Sets the host port for the Event Hubs emulator endpoint")]
+ [AspireExport(Description = "Sets the host port for the Event Hubs emulator endpoint")]
public static IResourceBuilder WithHostPort(this IResourceBuilder builder, int? port)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -422,7 +422,7 @@ public static IResourceBuilder WithHostPort(this
/// The builder for the .
/// Path to the file on the AppHost where the emulator configuration is located.
/// A reference to the .
- [AspireExport("withConfigurationFile", Description = "Sets the emulator configuration file path")]
+ [AspireExport(Description = "Sets the emulator configuration file path")]
public static IResourceBuilder WithConfigurationFile(this IResourceBuilder builder, string path)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs b/src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs
index 33cbb3d1abe..02b4a6c47f0 100644
--- a/src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs
@@ -116,7 +116,7 @@ public static IResourceBuilder AddAzureFunctionsP
///
///
///
- [AspireExport("addAzureFunctionsProject", Description = "Adds an Azure Functions project to the distributed application")]
+ [AspireExport(Description = "Adds an Azure Functions project to the distributed application")]
public static IResourceBuilder AddAzureFunctionsProject(this IDistributedApplicationBuilder builder, [ResourceName] string name, string projectPath)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -316,7 +316,7 @@ private static IResourceBuilder WithFunctionsHttp
/// The resource builder for the Azure Functions project resource.
/// The resource builder for the Azure Storage resource to be used as host storage.
/// The resource builder for the Azure Functions project resource, configured with the specified host storage.
- [AspireExport("withHostStorage", Description = "Configures the Azure Functions project to use specified Azure Storage as host storage")]
+ [AspireExport(Description = "Configures the Azure Functions project to use specified Azure Storage as host storage")]
public static IResourceBuilder WithHostStorage(this IResourceBuilder builder, IResourceBuilder storage)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskResourceExtensions.cs b/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskResourceExtensions.cs
index b16df76e6a0..3f416538c3e 100644
--- a/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskResourceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskResourceExtensions.cs
@@ -25,7 +25,7 @@ public static class DurableTaskResourceExtensions
/// var scheduler = builder.AddDurableTaskScheduler("scheduler");
///
///
- [AspireExport("addDurableTaskScheduler", Description = "Adds a Durable Task scheduler resource to the distributed application.")]
+ [AspireExport(Description = "Adds a Durable Task scheduler resource to the distributed application.")]
public static IResourceBuilder AddDurableTaskScheduler(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
var scheduler = new DurableTaskSchedulerResource(name);
@@ -120,7 +120,7 @@ internal static IResourceBuilder RunAsExistingCore
/// .RunAsEmulator();
///
///
- [AspireExport("runAsEmulator", Description = "Configures the Durable Task scheduler to run using the local emulator.", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Durable Task scheduler to run using the local emulator.", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(this IResourceBuilder builder, Action>? configureContainer = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -199,7 +199,7 @@ public static IResourceBuilder RunAsEmulator(this
/// .WithTaskHubName("MyTaskHub");
///
///
- [AspireExport("addTaskHub", Description = "Adds a Durable Task hub resource associated with the scheduler.")]
+ [AspireExport(Description = "Adds a Durable Task hub resource associated with the scheduler.")]
public static IResourceBuilder AddTaskHub(this IResourceBuilder builder, [ResourceName] string name)
{
var hub = new DurableTaskHubResource(name, builder.Resource);
diff --git a/src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResourceExtensions.cs b/src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResourceExtensions.cs
index c2f6a9ee5d4..410c13c9f85 100644
--- a/src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResourceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResourceExtensions.cs
@@ -58,7 +58,7 @@ public static partial class AzureKeyVaultResourceExtensions
///
///
///
- [AspireExport("addAzureKeyVault", Description = "Adds an Azure Key Vault resource")]
+ [AspireExport(Description = "Adds an Azure Key Vault resource")]
public static IResourceBuilder AddAzureKeyVault(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -229,7 +229,7 @@ internal static IResourceBuilder WithRoleAssignments(
/// The Azure Key Vault resource builder.
/// The name of the secret.
/// A reference to the secret.
- [AspireExport("getSecret", Description = "Gets a secret reference from the Azure Key Vault")]
+ [AspireExport(Description = "Gets a secret reference from the Azure Key Vault")]
public static IAzureKeyVaultSecretReference GetSecret(this IResourceBuilder builder, string secretName)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -244,7 +244,7 @@ public static IAzureKeyVaultSecretReference GetSecret(this IResourceBuilderThe name of the secret. Must follow Azure Key Vault naming rules.
/// The parameter resource containing the secret value.
/// A reference to the .
- [AspireExport("addSecret", Description = "Adds a secret to the Azure Key Vault from a parameter resource")]
+ [AspireExport(Description = "Adds a secret to the Azure Key Vault from a parameter resource")]
public static IResourceBuilder AddSecret(this IResourceBuilder builder, string name, IResourceBuilder parameterResource)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.Kusto/AzureKustoBuilderExtensions.cs b/src/Aspire.Hosting.Azure.Kusto/AzureKustoBuilderExtensions.cs
index ef2e8651c05..d8e227c7ffb 100644
--- a/src/Aspire.Hosting.Azure.Kusto/AzureKustoBuilderExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Kusto/AzureKustoBuilderExtensions.cs
@@ -41,7 +41,7 @@ public static class AzureKustoBuilderExtensions
/// -
///
///
- [AspireExport("addAzureKustoCluster", Description = "Adds an Azure Data Explorer (Kusto) cluster resource")]
+ [AspireExport(Description = "Adds an Azure Data Explorer (Kusto) cluster resource")]
public static IResourceBuilder AddAzureKustoCluster(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -103,7 +103,7 @@ public static IResourceBuilder AddAzureKustoCluster(t
/// The name of the resource. This name will be used as the connection string name when referenced in a dependency.
/// The name of the database. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addReadWriteDatabase", Description = "Adds a Kusto read-write database resource")]
+ [AspireExport(Description = "Adds a Kusto read-write database resource")]
public static IResourceBuilder AddReadWriteDatabase(this IResourceBuilder builder, [ResourceName] string name, string? databaseName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -149,7 +149,7 @@ public static IResourceBuilder AddReadWrite
/// Optional action to configure the Kusto emulator container.
///
/// The resource builder.
- [AspireExport("runAsEmulator", Description = "Configures the Kusto cluster to run using the local emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Kusto cluster to run using the local emulator", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(
this IResourceBuilder builder,
Action>? configureContainer = null)
@@ -194,7 +194,7 @@ public static IResourceBuilder RunAsEmulator(
/// The resource builder to configure.
/// KQL script to create databases, tables, or data.
/// The resource builder.
- [AspireExport("withCreationScript", Description = "Defines the KQL script used to create the database")]
+ [AspireExport(Description = "Defines the KQL script used to create the database")]
public static IResourceBuilder WithCreationScript(this IResourceBuilder builder, string script)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -212,7 +212,7 @@ public static IResourceBuilder WithCreation
/// Kusto emulator resource builder.
/// Host port to use.
/// An for the .
- [AspireExport("withHostPort", Description = "Sets the host port for the Kusto emulator endpoint")]
+ [AspireExport(Description = "Sets the host port for the Kusto emulator endpoint")]
public static IResourceBuilder WithHostPort(this IResourceBuilder builder, int port)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResourceExtensions.cs b/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResourceExtensions.cs
index d616a006033..1fb80351f97 100644
--- a/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResourceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResourceExtensions.cs
@@ -16,7 +16,7 @@ internal static class AzureKustoReadWriteDatabaseResourceExtensions
/// DATABASE_NAME is the database name and PERSISTENCE_PATH is .
///
///
- [AspireExport("getDatabaseCreationScript", Description = "Gets the KQL script used to create the database.")]
+ [AspireExport(Description = "Gets the KQL script used to create the database.")]
public static string GetDatabaseCreationScript(this AzureKustoReadWriteDatabaseResource databaseResource)
{
var scriptAnnotation = databaseResource.Annotations.OfType().LastOrDefault();
diff --git a/src/Aspire.Hosting.Azure.Network/AzureNatGatewayExtensions.cs b/src/Aspire.Hosting.Azure.Network/AzureNatGatewayExtensions.cs
index a9c07e75239..c1149e6e84e 100644
--- a/src/Aspire.Hosting.Azure.Network/AzureNatGatewayExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Network/AzureNatGatewayExtensions.cs
@@ -35,7 +35,7 @@ public static class AzureNatGatewayExtensions
/// .WithNatGateway(natGateway);
///
///
- [AspireExport("addNatGateway", Description = "Adds an Azure NAT Gateway resource to the application model.")]
+ [AspireExport(Description = "Adds an Azure NAT Gateway resource to the application model.")]
public static IResourceBuilder AddNatGateway(
this IDistributedApplicationBuilder builder,
[ResourceName] string name)
@@ -72,7 +72,7 @@ public static IResourceBuilder AddNatGateway(
/// .WithPublicIPAddress(pip);
///
///
- [AspireExport("withPublicIPAddress", Description = "Associates an Azure Public IP Address resource with an Azure NAT Gateway resource.")]
+ [AspireExport(Description = "Associates an Azure Public IP Address resource with an Azure NAT Gateway resource.")]
public static IResourceBuilder WithPublicIPAddress(
this IResourceBuilder builder,
IResourceBuilder publicIPAddress)
diff --git a/src/Aspire.Hosting.Azure.Network/AzureNetworkSecurityGroupExtensions.cs b/src/Aspire.Hosting.Azure.Network/AzureNetworkSecurityGroupExtensions.cs
index 69cda653762..9dbc99f2375 100644
--- a/src/Aspire.Hosting.Azure.Network/AzureNetworkSecurityGroupExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Network/AzureNetworkSecurityGroupExtensions.cs
@@ -34,7 +34,7 @@ public static class AzureNetworkSecurityGroupExtensions
/// });
///
///
- [AspireExport("addNetworkSecurityGroup", Description = "Adds an Azure Network Security Group resource to the application model.")]
+ [AspireExport(Description = "Adds an Azure Network Security Group resource to the application model.")]
public static IResourceBuilder AddNetworkSecurityGroup(
this IDistributedApplicationBuilder builder,
[ResourceName] string name)
@@ -84,7 +84,7 @@ public static IResourceBuilder AddNetworkSecu
/// });
///
///
- [AspireExport("withSecurityRule", Description = "Adds a security rule to an Azure Network Security Group resource.")]
+ [AspireExport(Description = "Adds a security rule to an Azure Network Security Group resource.")]
public static IResourceBuilder WithSecurityRule(
this IResourceBuilder builder,
AzureSecurityRule rule)
diff --git a/src/Aspire.Hosting.Azure.Network/AzurePrivateEndpointExtensions.cs b/src/Aspire.Hosting.Azure.Network/AzurePrivateEndpointExtensions.cs
index afd5bbd2ca2..b4e0af5bc25 100644
--- a/src/Aspire.Hosting.Azure.Network/AzurePrivateEndpointExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Network/AzurePrivateEndpointExtensions.cs
@@ -45,7 +45,7 @@ public static class AzurePrivateEndpointExtensions
/// peSubnet.AddPrivateEndpoint(blobs);
///
///
- [AspireExport("addPrivateEndpoint", Description = "Adds an Azure Private Endpoint resource to an Azure subnet resource.")]
+ [AspireExport(Description = "Adds an Azure Private Endpoint resource to an Azure subnet resource.")]
public static IResourceBuilder AddPrivateEndpoint(
this IResourceBuilder subnet,
IResourceBuilder target)
diff --git a/src/Aspire.Hosting.Azure.Network/AzurePublicIPAddressExtensions.cs b/src/Aspire.Hosting.Azure.Network/AzurePublicIPAddressExtensions.cs
index ebf60aea87f..009bc1f5ca4 100644
--- a/src/Aspire.Hosting.Azure.Network/AzurePublicIPAddressExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Network/AzurePublicIPAddressExtensions.cs
@@ -30,7 +30,7 @@ public static class AzurePublicIPAddressExtensions
/// var pip = builder.AddPublicIPAddress("my-pip");
///
///
- [AspireExport("addPublicIPAddress", Description = "Adds an Azure Public IP Address resource to the application model.")]
+ [AspireExport(Description = "Adds an Azure Public IP Address resource to the application model.")]
public static IResourceBuilder AddPublicIPAddress(
this IDistributedApplicationBuilder builder,
[ResourceName] string name)
diff --git a/src/Aspire.Hosting.Azure.Network/AzureVirtualNetworkExtensions.cs b/src/Aspire.Hosting.Azure.Network/AzureVirtualNetworkExtensions.cs
index 30a478cfb50..11d98385255 100644
--- a/src/Aspire.Hosting.Azure.Network/AzureVirtualNetworkExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Network/AzureVirtualNetworkExtensions.cs
@@ -28,7 +28,7 @@ public static class AzureVirtualNetworkExtensions
/// var subnet = vnet.AddSubnet("pe-subnet", "10.0.1.0/24");
///
///
- [AspireExport("addAzureVirtualNetwork", Description = "Adds an Azure Virtual Network resource to the application model.")]
+ [AspireExport(Description = "Adds an Azure Virtual Network resource to the application model.")]
public static IResourceBuilder AddAzureVirtualNetwork(
this IDistributedApplicationBuilder builder,
[ResourceName] string name,
@@ -167,7 +167,7 @@ private static void ConfigureVirtualNetwork(AzureResourceInfrastructure infra)
/// var subnet = vnet.AddSubnet("my-subnet", "10.0.1.0/24");
///
///
- [AspireExport("addSubnet", Description = "Adds an Azure subnet resource to an Azure Virtual Network resource.")]
+ [AspireExport(Description = "Adds an Azure subnet resource to an Azure Virtual Network resource.")]
public static IResourceBuilder AddSubnet(
this IResourceBuilder builder,
[ResourceName] string name,
@@ -298,7 +298,7 @@ public static IResourceBuilder WithDelegatedSubnet(
/// .WithNatGateway(natGateway);
///
///
- [AspireExport("withNatGateway", Description = "Associates an Azure NAT Gateway resource with an Azure subnet resource.")]
+ [AspireExport(Description = "Associates an Azure NAT Gateway resource with an Azure subnet resource.")]
public static IResourceBuilder WithNatGateway(
this IResourceBuilder builder,
IResourceBuilder natGateway)
@@ -330,7 +330,7 @@ public static IResourceBuilder WithNatGateway(
/// (, , , ).
/// Use either shorthand methods or an explicit NSG, not both.
///
- [AspireExport("withNetworkSecurityGroup", Description = "Associates an Azure Network Security Group resource with an Azure subnet resource.")]
+ [AspireExport(Description = "Associates an Azure Network Security Group resource with an Azure subnet resource.")]
public static IResourceBuilder WithNetworkSecurityGroup(
this IResourceBuilder builder,
IResourceBuilder nsg)
@@ -372,7 +372,7 @@ public static IResourceBuilder WithNetworkSecurityGroup(
/// .DenyInbound(from: AzureServiceTags.Internet);
///
///
- [AspireExport("allowInbound", Description = "Adds an inbound allow rule to the Azure subnet resource's Network Security Group.")]
+ [AspireExport(Description = "Adds an inbound allow rule to the Azure subnet resource's Network Security Group.")]
public static IResourceBuilder AllowInbound(
this IResourceBuilder builder,
string? port = null,
@@ -399,7 +399,7 @@ public static IResourceBuilder AllowInbound(
///
/// If no Network Security Group has been associated with the subnet, one is automatically created.
///
- [AspireExport("denyInbound", Description = "Adds an inbound deny rule to the Azure subnet resource's Network Security Group.")]
+ [AspireExport(Description = "Adds an inbound deny rule to the Azure subnet resource's Network Security Group.")]
public static IResourceBuilder DenyInbound(
this IResourceBuilder builder,
string? port = null,
@@ -426,7 +426,7 @@ public static IResourceBuilder DenyInbound(
///
/// If no Network Security Group has been associated with the subnet, one is automatically created.
///
- [AspireExport("allowOutbound", Description = "Adds an outbound allow rule to the Azure subnet resource's Network Security Group.")]
+ [AspireExport(Description = "Adds an outbound allow rule to the Azure subnet resource's Network Security Group.")]
public static IResourceBuilder AllowOutbound(
this IResourceBuilder builder,
string? port = null,
@@ -453,7 +453,7 @@ public static IResourceBuilder AllowOutbound(
///
/// If no Network Security Group has been associated with the subnet, one is automatically created.
///
- [AspireExport("denyOutbound", Description = "Adds an outbound deny rule to the Azure subnet resource's Network Security Group.")]
+ [AspireExport(Description = "Adds an outbound deny rule to the Azure subnet resource's Network Security Group.")]
public static IResourceBuilder DenyOutbound(
this IResourceBuilder builder,
string? port = null,
diff --git a/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceExtensions.cs b/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceExtensions.cs
index ddfba8b3c08..9de6641b878 100644
--- a/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceExtensions.cs
+++ b/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceExtensions.cs
@@ -19,7 +19,7 @@ public static class AzureLogAnalyticsWorkspaceExtensions
/// The .
/// The name of the resource. This name will be used as the connection string name when referenced in a dependency.
/// A reference to the .
- [AspireExport("addAzureLogAnalyticsWorkspace", Description = "Adds an Azure Log Analytics Workspace resource")]
+ [AspireExport(Description = "Adds an Azure Log Analytics Workspace resource")]
public static IResourceBuilder AddAzureLogAnalyticsWorkspace(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresExtensions.cs b/src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresExtensions.cs
index 8ebd00eed83..c846f7fb973 100644
--- a/src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresExtensions.cs
+++ b/src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresExtensions.cs
@@ -137,7 +137,7 @@ public static IResourceBuilder AsAzurePostgresFlexibleSe
///
///
///
- [AspireExport("addAzurePostgresFlexibleServer", Description = "Adds an Azure PostgreSQL Flexible Server resource")]
+ [AspireExport(Description = "Adds an Azure PostgreSQL Flexible Server resource")]
public static IResourceBuilder AddAzurePostgresFlexibleServer(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -158,7 +158,7 @@ public static IResourceBuilder AddAzurePost
/// The name of the resource. This name will be used as the connection string name when referenced in a dependency.
/// The name of the database. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addDatabase", Description = "Adds an Azure PostgreSQL database")]
+ [AspireExport(Description = "Adds an Azure PostgreSQL database")]
public static IResourceBuilder AddDatabase(this IResourceBuilder builder, [ResourceName] string name, string? databaseName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -211,7 +211,7 @@ public static IResourceBuilder AddD
///
///
///
- [AspireExport("runAsContainer", Description = "Configures the Azure PostgreSQL Flexible Server resource to run locally in a container", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Azure PostgreSQL Flexible Server resource to run locally in a container", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsContainer(this IResourceBuilder builder, Action>? configureContainer = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -291,7 +291,7 @@ private static void RemoveAzureResources(IDistributedApplicationBuilder appBuild
///
///
///
- [AspireExport("withPasswordAuthentication", Description = "Configures password authentication for Azure PostgreSQL Flexible Server")]
+ [AspireExport(Description = "Configures password authentication for Azure PostgreSQL Flexible Server")]
public static IResourceBuilder WithPasswordAuthentication(
this IResourceBuilder builder,
IResourceBuilder? userName = null,
@@ -385,7 +385,7 @@ public static IResourceBuilder WithPassword
///
///
/// A reference to the .
- [AspireExport("withPostgresMcp", Description = "Adds a Postgres MCP server container", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Adds a Postgres MCP server container", RunSyncOnBackgroundThread = true)]
[Experimental("ASPIREPOSTGRES001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static IResourceBuilder WithPostgresMcp(
this IResourceBuilder builder,
diff --git a/src/Aspire.Hosting.Azure.Redis/AzureManagedRedisExtensions.cs b/src/Aspire.Hosting.Azure.Redis/AzureManagedRedisExtensions.cs
index 4af062dd858..e1a4da6dd5a 100644
--- a/src/Aspire.Hosting.Azure.Redis/AzureManagedRedisExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Redis/AzureManagedRedisExtensions.cs
@@ -43,7 +43,7 @@ public static class AzureManagedRedisExtensions
///
///
///
- [AspireExport("addAzureManagedRedis", Description = "Adds an Azure Managed Redis resource")]
+ [AspireExport(Description = "Adds an Azure Managed Redis resource")]
public static IResourceBuilder AddAzureManagedRedis(
this IDistributedApplicationBuilder builder,
[ResourceName] string name)
@@ -81,7 +81,7 @@ public static IResourceBuilder AddAzureManagedRedis(
///
///
///
- [AspireExport("runAsContainer", Description = "Configures Azure Managed Redis to run in a local container", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures Azure Managed Redis to run in a local container", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsContainer(
this IResourceBuilder builder,
Action>? configureContainer = null)
@@ -126,7 +126,7 @@ public static IResourceBuilder RunAsContainer(
///
///
///
- [AspireExport("withAccessKeyAuthentication", Description = "Configures Azure Managed Redis to use access key authentication")]
+ [AspireExport(Description = "Configures Azure Managed Redis to use access key authentication")]
public static IResourceBuilder WithAccessKeyAuthentication(this IResourceBuilder builder)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.Search/AzureSearchExtensions.cs b/src/Aspire.Hosting.Azure.Search/AzureSearchExtensions.cs
index 94c6cf512d7..90af171bd3f 100644
--- a/src/Aspire.Hosting.Azure.Search/AzureSearchExtensions.cs
+++ b/src/Aspire.Hosting.Azure.Search/AzureSearchExtensions.cs
@@ -30,7 +30,7 @@ public static class AzureSearchExtensions
///
/// These can be replaced by calling .
///
- [AspireExport("addAzureSearch", Description = "Adds an Azure AI Search service resource")]
+ [AspireExport(Description = "Adds an Azure AI Search service resource")]
public static IResourceBuilder AddAzureSearch(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
diff --git a/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs b/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs
index 9c9e41b7311..13f2d48f272 100644
--- a/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs
+++ b/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusExtensions.cs
@@ -37,7 +37,7 @@ public static class AzureServiceBusExtensions
///
/// These can be replaced by calling .
///
- [AspireExport("addAzureServiceBus", Description = "Adds an Azure Service Bus namespace resource")]
+ [AspireExport(Description = "Adds an Azure Service Bus namespace resource")]
public static IResourceBuilder AddAzureServiceBus(this IDistributedApplicationBuilder builder, [ResourceName] string name)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -166,7 +166,7 @@ public static IResourceBuilder AddQueue(this IResourceB
/// The name of the queue resource.
/// The name of the Service Bus Queue. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addServiceBusQueue", Description = "Adds an Azure Service Bus queue resource")]
+ [AspireExport(Description = "Adds an Azure Service Bus queue resource")]
public static IResourceBuilder AddServiceBusQueue(this IResourceBuilder builder, [ResourceName] string name, string? queueName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -249,7 +249,7 @@ public static IResourceBuilder AddTopic(this IResourceB
/// The name of the topic resource.
/// The name of the Service Bus Topic. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addServiceBusTopic", Description = "Adds an Azure Service Bus topic resource")]
+ [AspireExport(Description = "Adds an Azure Service Bus topic resource")]
public static IResourceBuilder AddServiceBusTopic(this IResourceBuilder builder, [ResourceName] string name, string? topicName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -319,7 +319,7 @@ public static IResourceBuilder AddSubscription(this IRe
/// The name of the subscription resource.
/// The name of the Service Bus Subscription. If not provided, this defaults to the same value as .
/// A reference to the .
- [AspireExport("addServiceBusSubscription", Description = "Adds an Azure Service Bus subscription resource")]
+ [AspireExport(Description = "Adds an Azure Service Bus subscription resource")]
public static IResourceBuilder AddServiceBusSubscription(this IResourceBuilder builder, [ResourceName] string name, string? subscriptionName = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -376,7 +376,7 @@ public static IResourceBuilder WithProperti
///
///
///
- [AspireExport("runAsEmulator", Description = "Configures the Azure Service Bus resource to run with the local emulator", RunSyncOnBackgroundThread = true)]
+ [AspireExport(Description = "Configures the Azure Service Bus resource to run with the local emulator", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder RunAsEmulator(this IResourceBuilder builder, Action>? configureContainer = null)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -514,7 +514,7 @@ public static IResourceBuilder RunAsEmulator(this IReso
/// The builder for the .
/// Path to the file on the AppHost where the emulator configuration is located.
/// A reference to the .
- [AspireExport("withConfigurationFile", Description = "Sets the emulator configuration file path")]
+ [AspireExport(Description = "Sets the emulator configuration file path")]
public static IResourceBuilder WithConfigurationFile(this IResourceBuilder builder, string path)
{
ArgumentNullException.ThrowIfNull(builder);
@@ -563,7 +563,7 @@ public static IResourceBuilder WithConfiguratio
/// Builder for the Azure Service Bus emulator container
/// The port to bind on the host. If is used, a random port will be assigned.
/// A reference to the