PublishAsExisting
Method
func (AzureResource) PublishAsExisting( name any, options ...*PublishAsExistingOptions,) AzureResourceSignature
method
PublishAsExisting builderMarks the resource as an existing resource when the application is deployed.
PublishAsExisting( name any, options ...*PublishAsExistingOptions,) AzureResourceParameters
nameanyThe name of the existing resource as a string or parameter resource.options...*PublishAsExistingOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*PublishAsExistingOptions 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().
Applies to
This method applies to the following types: