Class EndpointAccess
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EndpointAccess>
com.azure.resourcemanager.compute.models.EndpointAccess
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values
are: 'Allow', 'Deny'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EndpointAccessStatic value Allow for EndpointAccess.static final EndpointAccessStatic value Deny for EndpointAccess. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointAccessfromString(String name) Creates or finds a EndpointAccess from its string representation.static Collection<EndpointAccess> values()Gets known EndpointAccess values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for EndpointAccess. -
DENY
Static value Deny for EndpointAccess.
-
-
Constructor Details
-
EndpointAccess
Deprecated.Use thefromString(String)factory method.Creates a new instance of EndpointAccess value.
-
-
Method Details
-
fromString
Creates or finds a EndpointAccess from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding EndpointAccess.
-
values
Gets known EndpointAccess values.- Returns:
- known EndpointAccess values.
-
fromString(String)factory method.