Skip to content
DocsTry Aspire
DocsTry

IAzureResource.asExistingInTenant

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

Signature

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

Defined on

This method is defined on the following type: