public static enum ContainerACL.PublicAccessType extends Enum<ContainerACL.PublicAccessType>
| Enum Constant and Description |
|---|
BLOBS_ONLY
Anonymous public read-only access is allowed for individual blobs
within the container, but it is not possible to enumerate the blobs
within the container or to enumerate the containers in the storage
account.
|
CONTAINER_AND_BLOBS
Anonymous public read-only access is allowed for individual blobs
within the container, and the blobs within the container can be
enumerated, but it is not possible to enumerate the containers in the
storage account.
|
NONE
Access to this container and its blobs is restricted to calls made
with the storage account private key.
|
| Modifier and Type | Method and Description |
|---|---|
static ContainerACL.PublicAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerACL.PublicAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerACL.PublicAccessType NONE
public static final ContainerACL.PublicAccessType BLOBS_ONLY
public static final ContainerACL.PublicAccessType CONTAINER_AND_BLOBS
public static ContainerACL.PublicAccessType[] values()
for (ContainerACL.PublicAccessType c : ContainerACL.PublicAccessType.values()) System.out.println(c);
public static ContainerACL.PublicAccessType 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 null/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/