Watch Aspire live streamsDocsTry Aspire

IAzureResource.runAsExistingInTenant

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

Signature

methodrunAsExistingInTenantbuilder
Marks the current-tenant-scoped resource as an existing resource when the application is running.
runAsExistingInTenant(name: string | ParameterResource): IAzureResource
namestring | ParameterResource
IAzureResource

Defined on

This method is defined on the following type: