Watch Aspire live streamsDocsTry Aspire

IAzureResource.asExistingInTenant

Method
📦 Aspire.Hosting.Azure v13.6.0
interface IAzureResource {
// ... 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

Defined on

This method is defined on the following type: