Getting Storage Accounts by Storage Acount ID
This section explains how to get a list with parameters for the specified Azure storage account.
Request
GET https://<hostname>/api/v1/cloudInfrastructure/storageAccounts/{storageAccountId} |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Description |
storageAccountId | The identification numbers of the Azure storage account. Can be obtained as described in Getting Storage Accounts. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
Property | Type | Description |
|---|---|---|
id | string | Shows the identification number of the Azure storage account. |
resourceId | string | Shows the identification number of the resource. |
name | string | Shows the identification number of the storage account. |
skuName | string | Shows Azure SKU. |
performance | string | Shows the snapshot performance. For more information, see this Microsoft article. |
redundancy | string | Shows the snapshot redundancy. For more information, see this Microsoft article. |
accessTier | string | Shows the access tier type. |
regionId | string | Shows the identification number of the Azure region to which the snapshot belongs. |
regionName | string | Shows the identification number of the region. |
removedFromAzure | boolean | Shows if the snapshot was removed from Azure. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
Request: GET https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/storageAccounts/pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko", "resourceId": "/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809/resourcegroups/blobstorageresourcegroup/providers/microsoft.storage/storageaccounts/blobstorageresourcegr269", "name": "blobstorageresourcegr269", "skuName": "Standard_LRS", "performance": "Standard", "redundancy": "LRS", "accessTier": "Hot", "regionId": "northeurope", "regionName": "North Europe", "removedFromAzure": false, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/storageAccounts/pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko"}, "subscription": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809"}, "resourcegroup": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/resourceGroups/5yrf4jmquxq7zywx43gaaiok81ieaqky7jhg3cq41ce4y8nph33y"}, "containers": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/storageAccounts/pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko/containers"} } } |