Create a StorageAccounts.
Reference to the service client.
Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide for the created account.
Promise<msRestAzure.LROPoller>
Checks that the storage account name is valid and is not already in use.
The storage account name.
Promise<Models.StorageAccountsCheckNameAvailabilityResponse>
The storage account name.
The callback
The storage account name.
The optional parameters
The callback
Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide for the created account.
Promise<Models.StorageAccountsCreateResponse>
Deletes a storage account in Microsoft Azure.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
Promise<msRest.RestResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The optional parameters
The callback
Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
Promise<Models.StorageAccountsGetPropertiesResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The optional parameters
The callback
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
Promise<Models.StorageAccountsListResponse>
The callback
The optional parameters
The callback
List SAS credentials of a storage account.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list SAS credentials for the storage account.
Promise<Models.StorageAccountsListAccountSASResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list SAS credentials for the storage account.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list SAS credentials for the storage account.
The optional parameters
The callback
Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
The name of the resource group within the user's subscription. The name is case insensitive.
Promise<Models.StorageAccountsListByResourceGroupResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The optional parameters
The callback
Lists the access keys for the specified storage account.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
Promise<Models.StorageAccountsListKeysResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The optional parameters
The callback
List service SAS credentials of a specific resource.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list service SAS credentials.
Promise<Models.StorageAccountsListServiceSASResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list service SAS credentials.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide to list service SAS credentials.
The optional parameters
The callback
Regenerates one of the access keys for the specified storage account.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The name of storage keys that want to be regenerated, possible values are key1, key2.
Promise<Models.StorageAccountsRegenerateKeyResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The name of storage keys that want to be regenerated, possible values are key1, key2.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The name of storage keys that want to be regenerated, possible values are key1, key2.
The optional parameters
The callback
The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide for the updated account.
Promise<Models.StorageAccountsUpdateResponse>
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide for the updated account.
The callback
The name of the resource group within the user's subscription. The name is case insensitive.
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The parameters to provide for the updated account.
The optional parameters
The callback
Generated using TypeDoc
Class representing a StorageAccounts.