Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PublishAsExistingInTenant

Method
📦 Aspire.Hosting.Azure v17.0.0
func (AzureResource) PublishAsExistingInTenant(name any) AzureResource

Signature

methodPublishAsExistingInTenantbuilder
Marks the current-tenant-scoped resource as an existing resource when the application is deployed.
PublishAsExistingInTenant(name any) AzureResource
nameanyThe name of the existing resource as a string or parameter resource.
AzureResource

The resource builder with the existing resource annotation added.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: