Storage Accounts - Get Storage Container

Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}?api-version=2016-11-01

URI Parameters

Name In Required Type Description
accountName
path True

string

The name of the Data Lake Analytics account.

containerName
path True

string

The name of the Azure storage container to retrieve

resourceGroupName
path True

string

The name of the Azure resource group.

storageAccountName
path True

string

The name of the Azure storage account from which to retrieve the blob container.

subscriptionId
path True

string

Get 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.

Responses

Name Type Description
200 OK

StorageContainer

Successfully retrieved the specified Azure Storage container information.

Other Status Codes

ErrorResponse

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

Gets the specified Azure Storage container

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/storageAccounts/test_storage/containers/test_container?api-version=2016-11-01

Sample Response

{
  "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
  "name": "test_storage",
  "type": "test_type",
  "properties": {
    "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
  }
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

StorageContainer

Azure Storage blob container information.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

StorageContainer

Azure Storage blob container information.

Name Type Description
id

string

The resource identifier.

name

string

The resource name.

properties.lastModifiedTime

string

The last modified time of the blob container.

type

string

The resource type.