Enum Class NetworkPeeringGatewayUse
java.lang.Object
java.lang.Enum<NetworkPeeringGatewayUse>
com.microsoft.azure.management.network.NetworkPeeringGatewayUse
- All Implemented Interfaces:
Serializable
,Comparable<NetworkPeeringGatewayUse>
,java.lang.constant.Constable
Possible gateway use scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe remote network is allowed to use this network's gateway (but not necessarily using it currently).No gateway use is configured.This network is configured to use the remote network's gateway. -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkPeeringGatewayUse
Returns the enum constant of this class with the specified name.static NetworkPeeringGatewayUse[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BY_REMOTE_NETWORK
The remote network is allowed to use this network's gateway (but not necessarily using it currently). -
ON_REMOTE_NETWORK
This network is configured to use the remote network's gateway. -
NONE
No gateway use is configured.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-