diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ResourceGroupOperations.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ResourceGroupOperations.cs index 6cace7ec6861..a383578de02d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ResourceGroupOperations.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ResourceGroupOperations.cs @@ -3,9 +3,12 @@ using System; using System.Collections.Generic; +using System.ComponentModel; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; namespace Azure.ResourceManager.Core { @@ -948,5 +951,29 @@ public virtual async Task StartValidate throw; } } + + /// + /// ListResources of type T. + /// + /// The type of resource being returned in the list. + /// The method to pass the internal properties to. + /// A collection of resources. + [EditorBrowsable(EditorBrowsableState.Never)] + public virtual Pageable ListResources(Func> func) + { + return func(BaseUri, Credential, ClientOptions, Pipeline); + } + + /// + /// ListResources of type T. + /// + /// The type of resource being returned in the list. + /// The method to pass the internal properties to. + /// A collection of resources. + [EditorBrowsable(EditorBrowsableState.Never)] + public virtual AsyncPageable ListResourcesAsync(Func> func) + { + return func(BaseUri, Credential, ClientOptions, Pipeline); + } } }