Skip to content
Docs Try Aspire
Docs Try

IAzureResource.asExisting

Method
📦 Aspire.Hosting.Azure v13.4.0
interface IAzureResource {
// ... 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

Defined on

This method is defined on the following type: