Open davidfowl opened 9 months ago
https://learn.microsoft.com/en-us/azure/mysql/quickstart-create-mysql-server-database-using-bicep
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 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");
Moving this to preview5
@davidfowl will you be taking care of this, or will it be @mitchdenny ?
One of us.
Assigning to @mitchdenny but CDK work takes priority.
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.
PublishAsAzureMySql
PublishAsAzureMySql will only affect the manifest but will run as a container image locally.