Compartilhar via


ResourceManagerSdkClient.FilterResourceGroups Method

Definition

Overloads

FilterResourceGroups(String, Hashtable, Boolean, String)
FilterResourceGroups(String, Hashtable, Boolean, String, String)

Filters the subscription's resource groups.

FilterResourceGroups(String, Hashtable, Boolean, String)

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
tag
Hashtable
detailed
Boolean
location
String

Returns

Applies to

FilterResourceGroups(String, Hashtable, Boolean, String, String)

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, string subscriptionId = default);
abstract member FilterResourceGroups : string * System.Collections.Hashtable * bool * string * string -> System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup>
override this.FilterResourceGroups : string * System.Collections.Hashtable * bool * string * 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, Optional subscriptionId 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.

subscriptionId
String

Returns

The filtered resource groups

Applies to