AzureResource.RunAsExisting
Method
func (AzureResource) RunAsExisting( name any, options ...*RunAsExistingOptions,) AzureResourceSignature
method
RunAsExisting builderMarks the resource as an existing resource when the application is running.
RunAsExisting( name any, options ...*RunAsExistingOptions,) AzureResourceParameters
nameanyThe name of the existing resource as a string or parameter resource.options...*RunAsExistingOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*RunAsExistingOptions argument.
ResourceGroup anyThe name of the existing resource group as a string or parameter resource.Returns
AzureResource The resource builder with the existing resource annotation added.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: