你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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