-
Notifications
You must be signed in to change notification settings - Fork 853
Open
Open
Copy link
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using AzureIssues associated specifically with scenarios tied to using AzuremysqlIssues related to MySQL integrationsIssues related to MySQL integrations
Milestone
Description
https://learn.microsoft.com/en-us/azure/mysql/quickstart-create-mysql-server-database-using-bicep
AsAzureMySql
AsAzureMySql will treat this resource like an Azure resource when run locally and in when published to the manifest.
var builder = DistributedApplication.CreateBuilder();
var db = builder.AddMySql("mysql")
.AsAzureMySql()
.AddDatabase("db");PublishAsAzureMySql
PublishAsAzureMySql will only affect the manifest but will run as a container image locally.
var builder = DistributedApplication.CreateBuilder();
var db = builder.AddMySql("mysql")
.PublishAsAzureMySql()
.AddDatabase("db");Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using AzureIssues associated specifically with scenarios tied to using AzuremysqlIssues related to MySQL integrationsIssues related to MySQL integrations