AsExistingInResourceGroup
Method
func (AzureResource) AsExistingInResourceGroup( name any, resourceGroup any, subscription any,) AzureResourceSignature
method
AsExistingInResourceGroup builderMarks the resource as an existing resource in a specific resource group and subscription in both run and publish modes.
AsExistingInResourceGroup( name any, resourceGroup any, subscription any,) AzureResourceParameters
nameanyThe name of the existing resource as a string or parameter resource.resourceGroup anyThe resource group containing the existing resource as a string or parameter resource.subscriptionanyThe subscription identifier containing the 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: