CloudBlobClient.getContainerReference(final String containerName) Method

Definition

Gets a CloudBlobContainer object with the specified name.

public CloudBlobContainer getContainerReference(final String containerName)
Parameters
containerName
final String

The name of the container, which must adhere to container naming rules. The container name should not include any path separator characters (/). Container names must be lowercase, between 3-63 characters long and must start with a letter or number. Container names may contain only letters, numbers, and the dash (-) character.

Returns

A reference to a CloudBlobContainer object.

Exceptions
URISyntaxException

If the resource URI constructed based on the containerName is invalid.

If a storage service error occurred.