共用方式為


ResourcesOperationsExtensions.List Method

Definition

Get all the resources in a subscription.

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

Parameters

operations
IResourcesOperations

The operations group for this extension method.

odataQuery
ODataQuery<GenericResourceFilter>

OData parameters to apply to the operation.

Returns

Applies to