RunAsExistingInSubscription
Method
func (AzureResource) RunAsExistingInSubscription( name any, subscription any,) AzureResourceSignature
method
RunAsExistingInSubscription builderMarks the subscription-scoped resource as an existing resource when the application is running.
RunAsExistingInSubscription( name any, subscription any,) AzureResourceParameters
nameanyThe name of the existing resource as a string or parameter resource.subscriptionanyThe subscription identifier containing the resource 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: