Skip to content
Docs Try Aspire
Docs Try

runAsExisting

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

Signature

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

Applies to

This method applies to the following types: