Share via


DataLakeStoreExtensions.GetAccountsAsync Method

Definition

Overloads

GetAccountsAsync(SubscriptionResource, SubscriptionResourceGetAccountsOptions, CancellationToken)

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts
  • Operation Id: Accounts_List
GetAccountsAsync(SubscriptionResource, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Boolean>, CancellationToken)

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts
  • Operation Id: Accounts_List

GetAccountsAsync(SubscriptionResource, SubscriptionResourceGetAccountsOptions, CancellationToken)

Source:
DataLakeStoreExtensions.cs
Source:
DataLakeStoreExtensions.cs

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts
  • Operation Id: Accounts_List
public static Azure.AsyncPageable<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreAccountBasicData> GetAccountsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DataLakeStore.Models.SubscriptionResourceGetAccountsOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetAccountsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DataLakeStore.Models.SubscriptionResourceGetAccountsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreAccountBasicData>
<Extension()>
Public Function GetAccountsAsync (subscriptionResource As SubscriptionResource, options As SubscriptionResourceGetAccountsOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataLakeStoreAccountBasicData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

options
SubscriptionResourceGetAccountsOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataLakeStoreAccountBasicData that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to

GetAccountsAsync(SubscriptionResource, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Boolean>, CancellationToken)

Source:
DataLakeStoreExtensions.cs
Source:
DataLakeStoreExtensions.cs

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts
  • Operation Id: Accounts_List
public static Azure.AsyncPageable<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreAccountBasicData> GetAccountsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, int? top = default, int? skip = default, string select = default, string orderBy = default, bool? count = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAccountsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<int> * Nullable<int> * string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreAccountBasicData>
<Extension()>
Public Function GetAccountsAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional orderBy As String = Nothing, Optional count As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataLakeStoreAccountBasicData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

OData filter. Optional.

top
Nullable<Int32>

The number of items to return. Optional.

skip
Nullable<Int32>

The number of items to skip over before returning elements. Optional.

select
String

OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.

orderBy
String

OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.

count
Nullable<Boolean>

The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataLakeStoreAccountBasicData that may take multiple service requests to iterate over.

Applies to