Skip to content
Docs Try Aspire
Docs Try

asExisting

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

Signature

method asExisting builder
Marks the resource as an existing resource in both run and publish modes.
asExisting(
name: ParameterResource,
resourceGroup?: ParameterResource): IAzureResource
name ParameterResource
resourceGroup ParameterResource optional
IAzureResource

Applies to

This method applies to the following types: