Skip to content
Docs Try Aspire
Docs Try

IAzureResource.publishAsExisting

Method
📦 Aspire.Hosting.Azure v13.4.0
interface IAzureResource {
// ... omitted for brevity
publishAsExisting(
name: ParameterResource,
resourceGroup?: ParameterResource): IAzureResource;
}

Signature

method publishAsExisting builder
Marks the resource as an existing resource when the application is deployed.
publishAsExisting(
name: ParameterResource,
resourceGroup?: ParameterResource): IAzureResource
name ParameterResource
resourceGroup ParameterResource optional
IAzureResource

Defined on

This method is defined on the following type: