Storage Accounts - Add
Updates the specified Data Lake Analytics account to add an Azure Storage account.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}?api-version=2016-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of the Data Lake Analytics account. |
resource
|
path | True |
string |
The name of the Azure resource group. |
storage
|
path | True |
string |
The name of the Azure Storage account to add |
subscription
|
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. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
properties.accessKey | True |
string |
The access key associated with this Azure Storage account that will be used to connect to it. |
properties.suffix |
string |
The optional suffix for the storage account. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully added the specified Azure Storage account information to the specified Azure Data Lake Analytics account. |
|
Other Status Codes |
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
Adds an Azure Storage account
Sample Request
PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/storageAccounts/test_storage?api-version=2016-11-01
{
"properties": {
"accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
"suffix": "test_suffix"
}
}
Sample Response
Definitions
Name | Description |
---|---|
Add |
The parameters used to add a new Azure Storage account. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
AddStorageAccountParameters
The parameters used to add a new Azure Storage account.
Name | Type | Default Value | Description |
---|---|---|---|
properties.accessKey |
string |
The access key associated with this Azure Storage account that will be used to connect to it. |
|
properties.suffix |
string |
azuredatalakestore.net |
The optional suffix for the storage account. |
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 |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |