Condividi tramite


ResourceGroupsOperationsExtensions.List Method

Definition

Gets all the resource groups for a subscription.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup> List (this Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroupFilter> odataQuery = default);
static member List : Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroupFilter> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup>
<Extension()>
Public Function List (operations As IResourceGroupsOperations, Optional odataQuery As ODataQuery(Of ResourceGroupFilter) = Nothing) As IPage(Of ResourceGroup)

Parameters

operations
IResourceGroupsOperations

The operations group for this extension method.

odataQuery
ODataQuery<ResourceGroupFilter>

OData parameters to apply to the operation.

Returns

Applies to