Sdílet prostřednictvím


NewResourceManagerSdkClient.FilterResourceGroups Method

Definition

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

Applies to