AutomationAccountOperationsExtensions.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.
Overloads
ListAsync(IAutomationAccountOperations, CancellationToken) |
Lists the Automation Accounts within an Azure subscription. |
ListAsync(IAutomationAccountOperations, String) |
ListAsync(IAutomationAccountOperations, CancellationToken)
Lists the Automation Accounts within an Azure subscription.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.AutomationAccount>>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AutomationAccount))
Parameters
- operations
- IAutomationAccountOperations
The operations group for this extension method.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Retrieve a list of accounts within a given subscription.
Applies to
ListAsync(IAutomationAccountOperations, String)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, string resourceGroupName);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, resourceGroupName As String) As Task(Of AutomationAccountListResponse)
Parameters
- operations
- IAutomationAccountOperations
- resourceGroupName
- String
Returns
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