ExistingAzureResourceAnnotation Constructors
ClassConstructors2 members
Represents a resource that is not managed by Aspire's provisioning or container management layer.
Constructor(object, object?)Section titled Constructor(object, object?) Initializes a new instance of the
ExistingAzureResourceAnnotation class. public sealed class ExistingAzureResourceAnnotation{ public ExistingAzureResourceAnnotation( object name, object? resourceGroup = null) { // ... }}Parameters
nameobjectThe name of the existing resource.resourceGroupobject?optionalThe name of the existing resource group, or null to use the current resource group.Constructor(object, object?, object)Section titled Constructor(object, object?, object) Initializes a new instance of the
ExistingAzureResourceAnnotation class. public sealed class ExistingAzureResourceAnnotation{ public ExistingAzureResourceAnnotation( object name, object? resourceGroup, object subscription) { // ... }}Parameters
nameobjectThe name of the existing resource.resourceGroupobject?The name of the existing resource group, or null to use the current resource group.subscriptionobjectThe subscription identifier associated with the resource group.