public enum PublicNetworkAccessType extends Enum<PublicNetworkAccessType>
| Enum Constant and Description |
|---|
DISABLED
Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
|
ENABLED
Enables connectivity to Azure Batch through public DNS.
|
| Modifier and Type | Method and Description |
|---|---|
static PublicNetworkAccessType |
fromString(String value)
Parses a serialized value to a PublicNetworkAccessType instance.
|
String |
toString() |
static PublicNetworkAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicNetworkAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicNetworkAccessType ENABLED
public static final PublicNetworkAccessType DISABLED
public static PublicNetworkAccessType[] values()
for (PublicNetworkAccessType c : PublicNetworkAccessType.values()) System.out.println(c);
public static PublicNetworkAccessType 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 PublicNetworkAccessType fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<PublicNetworkAccessType>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/