DataLakeAnalyticsExtensions.GetAccounts 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
GetAccounts(SubscriptionResource, SubscriptionResourceGetAccountsOptions, CancellationToken) |
Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
|
GetAccounts(SubscriptionResource, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Boolean>, CancellationToken) |
Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
|
GetAccounts(SubscriptionResource, SubscriptionResourceGetAccountsOptions, CancellationToken)
Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts
- Operation Id: Accounts_List
public static Azure.Pageable<Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsAccountBasic> GetAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DataLakeAnalytics.Models.SubscriptionResourceGetAccountsOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetAccounts : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DataLakeAnalytics.Models.SubscriptionResourceGetAccountsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsAccountBasic>
<Extension()>
Public Function GetAccounts (subscriptionResource As SubscriptionResource, options As SubscriptionResourceGetAccountsOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataLakeAnalyticsAccountBasic)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
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
A collection of DataLakeAnalyticsAccountBasic that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetAccounts(SubscriptionResource, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Boolean>, CancellationToken)
Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts
- Operation Id: Accounts_List
public static Azure.Pageable<Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsAccountBasic> GetAccounts (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 GetAccounts : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<int> * Nullable<int> * string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsAccountBasic>
<Extension()>
Public Function GetAccounts (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 Pageable(Of DataLakeAnalyticsAccountBasic)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- filter
- String
OData filter. 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.
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
A collection of DataLakeAnalyticsAccountBasic that may take multiple service requests to iterate over.