Sdílet prostřednictvím


ResourceOperationsExtensions.ListAsync Method

Definition

Get all of the resources under a subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceListResult> ListAsync (this Microsoft.Azure.Management.Resources.IResourceOperations operations, Microsoft.Azure.Management.Resources.Models.ResourceListParameters parameters);
static member ListAsync : Microsoft.Azure.Management.Resources.IResourceOperations * Microsoft.Azure.Management.Resources.Models.ResourceListParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceListResult>
<Extension()>
Public Function ListAsync (operations As IResourceOperations, parameters As ResourceListParameters) As Task(Of ResourceListResult)

Parameters

operations
IResourceOperations

Reference to the Microsoft.Azure.Management.Resources.IResourceOperations.

parameters
ResourceListParameters

Optional. Query parameters. If null is passed returns all resource groups.

Returns

List of resource groups.

Applies to