ExistingAzureResourceAnnotation
Classsealednet10.0
Represents a resource that is not managed by Aspire's provisioning or container management layer.
namespace Aspire.Hosting.Azure;
public sealed class ExistingAzureResourceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}IResourceAnnotation
6 members
Constructors2
Section titled ConstructorsExistingAzureResourceAnnotation(object, object?) Initializes a new instance of the
ExistingAzureResourceAnnotation class. ExistingAzureResourceAnnotation(object, object?, object) Initializes a new instance of the
ExistingAzureResourceAnnotation class. Properties4
Section titled PropertiesIsTenantScopegetbool Gets a value indicating whether the resource is scoped to the current tenant.
Namegetobject Gets the name of the existing resource.
ResourceGroupgetobject? Gets the name of the existing resource group. If
null, use the current resource group. Subscriptiongetobject? Gets the subscription identifier associated with the resource group or subscription-scoped resource.