BlobContainerPublicAccessType Enum

  • java.lang.Object
    • java.lang.Enum<BlobContainerPublicAccessType>
      • com.microsoft.azure.storage.blob.BlobContainerPublicAccessType

public enum BlobContainerPublicAccessType

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:

  • OFF, which prevents anonymous access.

  • BLOB, which permits anonymous read access to blob resources, but not to container metadata or to the list of blobs in the container.

  • CONTAINER, which permits anonymous read access to blob resources, container metadata, and the list of blobs in the container.

For more information on managing anonymous access to Blob service resources, see Setting Access Control for Containers.

Fields

BLOB

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.

CONTAINER

Specifies container-level public access. Clients can read blob content and metadata and container metadata, and can list the blobs within the container.

OFF

Specifies no public access. Only the account owner can access resources in this container.

Inherited Members

com.microsoft.azure.storage.blob._blob_container_public_access_type_1ae3abdcc64ab1c165b742f2de3330ae94

Methods

parse(final String typeString)

protected static BlobContainerPublicAccessType parse(final String typeString)

Parses a public access level from the specified string.

Parameters

typeString
final String
A String which contains the public access level to parse.

Returns

A BlobContainerPublicAccessType value that represents the public access level for the container.

Applies to