public enum AutoStorageAuthenticationMode extends Enum<AutoStorageAuthenticationMode>
| Enum Constant and Description |
|---|
BATCH_ACCOUNT_MANAGED_IDENTITY
The Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
|
STORAGE_KEYS
The Batch service will authenticate requests to auto-storage using storage account keys.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoStorageAuthenticationMode |
fromString(String value)
Parses a serialized value to a AutoStorageAuthenticationMode instance.
|
String |
toString() |
static AutoStorageAuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoStorageAuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoStorageAuthenticationMode STORAGE_KEYS
public static final AutoStorageAuthenticationMode BATCH_ACCOUNT_MANAGED_IDENTITY
public static AutoStorageAuthenticationMode[] values()
for (AutoStorageAuthenticationMode c : AutoStorageAuthenticationMode.values()) System.out.println(c);
public static AutoStorageAuthenticationMode 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 nullpublic static AutoStorageAuthenticationMode fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AutoStorageAuthenticationMode>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/