runAsExisting
Method
interface AzureBicepResource { // ... omitted for brevity runAsExisting( name: string | ParameterResource, resourceGroup?: string | ParameterResource): IAzureResource;}Signature
method
runAsExisting builderMarks the resource as an existing resource when the application is running.
runAsExisting( name: string | ParameterResource, resourceGroup?: string | ParameterResource): IAzureResourceParameters
namestring | ParameterResource The name of the existing resource as a string or parameter resource.resourceGroup string | ParameterResource optionalThe name of the existing resource group as a string or parameter resource.Returns
IAzureResource Applies to
This method applies to the following types: