Public Access Type
Specifies the level of public access that is allowed on the container.
The public access setting indicates whether the container and its blobs can be read via an anonymous request.
The BlobContainerPublicAccessType enumeration provides three levels of anonymous read access:
BlobContainerPublicAccessType#OFF, which prevents anonymous access.
BlobContainerPublicAccessType#BLOB, which permits anonymous read access to blob resources, but not to container metadata or to the list of blobs in the container.
BlobContainerPublicAccessType#CONTAINER, which permits anonymous read access to blob resources, container metadata, and the list of blobs in the container.
public enum BlobContainerPublicAccessType
Specifies blob-level public access. Clients can read the content and metadata of blobs within this container, but cannot read container metadata or list the blobs within the container.
Specifies container-level public access. Clients can read blob content and metadata and container metadata, and can list the blobs within the container.
Specifies no public access. Only the account owner can access resources in this container.
parse(final String typeString)
Parses a public access level from the specified string.
protected static BlobContainerPublicAccessType parse(final String typeString)
- final String
String which contains the public access level to parse.
BlobContainerPublicAccessType value that represents the public access level for the container.