IResourceOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceListResult> ListAsync (Microsoft.Azure.Management.Resources.Models.ResourceListParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : Microsoft.Azure.Management.Resources.Models.ResourceListParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceListResult>
Public Function ListAsync (parameters As ResourceListParameters, cancellationToken As CancellationToken) As Task(Of ResourceListResult)
Parameters
- parameters
- ResourceListParameters
Query parameters. If null is passed returns all resource groups.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
List of resource groups.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET