public enum BlobContainerPublicAccessType extends Enum<BlobContainerPublicAccessType>
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.Enum Constant and Description |
---|
BLOB
Specifies blob-level public access.
|
CONTAINER
Specifies container-level public access.
|
OFF
Specifies no public access.
|
UNKNOWN
Specifies that the public access type is unknown.
|
Modifier and Type | Method and Description |
---|---|
static BlobContainerPublicAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlobContainerPublicAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlobContainerPublicAccessType BLOB
public static final BlobContainerPublicAccessType CONTAINER
public static final BlobContainerPublicAccessType OFF
public static final BlobContainerPublicAccessType UNKNOWN
public static BlobContainerPublicAccessType[] values()
for (BlobContainerPublicAccessType c : BlobContainerPublicAccessType.values()) System.out.println(c);
public static BlobContainerPublicAccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All Rights Reserved.