Skip to content
DocsTry Aspire
DocsTry

ExistingAzureResourceAnnotation Properties

ClassProperties4 members
Represents a resource that is not managed by Aspire's provisioning or container management layer.
Gets a value indicating whether the resource is scoped to the current tenant.
public bool IsTenantScope { get; }
Gets the name of the existing resource.
public object Name { get; }
Supports a String, ApplicationModel.ParameterResource, or a BicepOutputReference via runtime validation.
ResourceGroupSection titled ResourceGroupnullableobject?
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.
SubscriptionSection titled Subscriptionnullableobject?
Gets the subscription identifier associated with the resource group or subscription-scoped resource.
public object? Subscription { get; }
Supports a String or a ApplicationModel.ParameterResource via runtime validation.