NewResourceManagerSdkClient.FilterResourceGroups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters the subscription's resource groups.
public virtual System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup> FilterResourceGroups (string name, System.Collections.Hashtable tag, bool detailed, string location = default);
abstract member FilterResourceGroups : string * System.Collections.Hashtable * bool * string -> System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup>
override this.FilterResourceGroups : string * System.Collections.Hashtable * bool * string -> System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup>
Public Overridable Function FilterResourceGroups (name As String, tag As Hashtable, detailed As Boolean, Optional location As String = Nothing) As List(Of PSResourceGroup)
Parameters
- name
- String
The resource group name.
- tag
- Hashtable
The resource group tag.
- detailed
- Boolean
Whether the return is detailed or not.
- location
- String
The resource group location.
Returns
The filtered resource groups