Freigeben über


NewResourceManagerSdkClient.FilterResourceGroups Method

Definition

Overloads

Name Description
FilterResourceGroups(String, Hashtable, Boolean, String)

Filters the subscription's resource groups.

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

Filters the subscription's resource groups.

FilterResourceGroups(String, Hashtable, Boolean, 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);
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

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

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

expand
Boolean

The expand parameter for optional response properties.

Returns

The filtered resource groups

Applies to