Skip to content
DocsTry Aspire
DocsTry

IAzureResource.runAsExisting

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

Signature

methodrunAsExistingbuilder
Marks the resource as an existing resource when the application is running.
runAsExisting(
name: ParameterResource,
resourceGroup?: ParameterResource): IAzureResource
nameParameterResource
resourceGroupParameterResourceoptional
IAzureResource

Defined on

This method is defined on the following type: