Skip to content
DocsTry Aspire
DocsTry

IAzureResource.publishAsExisting

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

Signature

methodpublishAsExistingbuilder
Marks the resource as an existing resource when the application is deployed.
publishAsExisting(
name: ParameterResource,
resourceGroup?: ParameterResource): IAzureResource
nameParameterResource
resourceGroupParameterResourceoptional
IAzureResource

Defined on

This method is defined on the following type: