Skip to content
Docs Try Aspire

ExistingAzureResourceAnnotation Properties

Class Properties 2 members
Represents a resource that is not managed by Aspire's provisioning or container management layer.
Gets the name of the existing resource.
public object Name { get; }
Supports a String, ApplicationModel.ParameterResource, or a BicepOutputReference via runtime validation.
ResourceGroup Section titled ResourceGroup nullable object?
Gets the name of the existing resource group. If null, use the current resource group.
public object? ResourceGroup { get; }
Supports a String or a ApplicationModel.ParameterResource via runtime validation.