Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

asExistingInTenant

Method
📦 Aspire.Hosting.Azure v13.6.0
interface AzureBicepResource {
// ... omitted for brevity
asExistingInTenant(name: string | ParameterResource): IAzureResource;
}

Signature

methodasExistingInTenantbuilder
Marks the current-tenant-scoped resource as an existing resource in both run and publish modes.
asExistingInTenant(name: string | ParameterResource): IAzureResource
namestring | ParameterResource
IAzureResource

Applies to

This method applies to the following types: