Accounts - List

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

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts?api-version=2016-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts?$filter={$filter}&$top={$top}&$skip={$skip}&$select={$select}&$orderby={$orderby}&$count={$count}&api-version=2016-11-01

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client Api Version.

$count
query

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.

$filter
query

string

OData filter. Optional.

$orderby
query

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.

$select
query

string

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

$skip
query

integer

int32

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

$top
query

integer

int32

The number of items to return. Optional.

Responses

Name Type Description
200 OK

DataLakeStoreAccountListResult

Successfully retrieved the list of accounts.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Lists the Data Lake Store accounts within the subscription

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DataLakeStore/accounts?$filter=test_filter&$top=1&$skip=1&$select=test_select&$orderby=test_orderby&$count=False&api-version=2016-11-01

Sample Response

{
  "value": [
    {
      "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
      "name": "contosoadla",
      "type": "test_type",
      "location": "eastus2",
      "tags": {
        "test_key": "test_value"
      },
      "properties": {
        "provisioningState": "Succeeded",
        "state": "Active",
        "creationTime": "2017-04-14T13:21:56.6819037-07:00",
        "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
        "endpoint": "testadlfs17607.azuredatalakestore.net",
        "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
      }
    }
  ],
  "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeStore/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=<token>"
}

Definitions

Name Description
DataLakeStoreAccountBasic

Basic Data Lake Store account information, returned on list calls.

DataLakeStoreAccountListResult

Data Lake Store account list information response.

DataLakeStoreAccountState

The state of the Data Lake Store account.

DataLakeStoreAccountStatus

The provisioning status of the Data Lake Store account.

DataLakeStoreAccountBasic

Basic Data Lake Store account information, returned on list calls.

Name Type Description
id

string

The resource identifier.

location

string

The resource location.

name

string

The resource name.

properties.accountId

string

The unique identifier associated with this Data Lake Store account.

properties.creationTime

string

The account creation time.

properties.endpoint

string

The full CName endpoint for this account.

properties.lastModifiedTime

string

The account last modified time.

properties.provisioningState

DataLakeStoreAccountStatus

The provisioning status of the Data Lake Store account.

properties.state

DataLakeStoreAccountState

The state of the Data Lake Store account.

tags

object

The resource tags.

type

string

The resource type.

DataLakeStoreAccountListResult

Data Lake Store account list information response.

Name Type Description
nextLink

string

The link (url) to the next page of results.

value

DataLakeStoreAccountBasic[]

The results of the list operation.

DataLakeStoreAccountState

The state of the Data Lake Store account.

Name Type Description
Active

string

Suspended

string

DataLakeStoreAccountStatus

The provisioning status of the Data Lake Store account.

Name Type Description
Canceled

string

Creating

string

Deleted

string

Deleting

string

Failed

string

Patching

string

Resuming

string

Running

string

Succeeded

string

Suspending

string

Undeleting

string