ResourceOperationsExtensions.ListAsync 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.
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.