This is an archive version of the document. To get the most up-to-date information, see the current version.

Getting Containers by Storage Account ID and Container Name

The section explains how to get a list with parameters for the specified Azure storage account and container name.

Request

GET https://<hostname>/api/v1/cloudInfrastructure/storageAccounts/{azureStorageId}/container/{containerName}

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.

containerName

The name if the Azure container. Can be obtained as described in Getting Containers by Storage ID.

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

name

string

The name of the container.

_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/container/integration

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

  "name": "integration",

  "_links":    {

     "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/storageAccounts/pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko/container/integration-test-folder"},

     "folders": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/storageAccounts/pheu4fktqc4ocjioxbo15thj96rcyp68gnes1zteqdo6mb1pdbko/containers/integration-test-folder/folders"}

  }

}

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.