Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WithMetadata support #1959

Closed
mitchdenny opened this issue Jan 29, 2024 · 0 comments · Fixed by #1619
Closed

WithMetadata support #1959

mitchdenny opened this issue Jan 29, 2024 · 0 comments · Fixed by #1619
Assignees
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Comments

@mitchdenny
Copy link
Member

mitchdenny commented Jan 29, 2024

Code sample:

var builder = DistributedApplication.CreateBuilder(args);
var pg = builder.AddPostgres("mypostgres")
                .WithMetadata("azd-resource-flavour", "flexibleserver")
                .WithMetadata("azd-postgres-flexible-server-sky", "P1")
                .WithMetadata("azd-resource-location", "westus3");

This is alread implemented in this PR: #1619

Purpose is to support underlying communication with deployment tools.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Jan 29, 2024
@mitchdenny mitchdenny self-assigned this Jan 29, 2024
@mitchdenny mitchdenny added this to the preview 4 (Mar) milestone Jan 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants