EndpointAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. EndpointAccess
- com.
- com.
public final class EndpointAccess
extends ExpandableStringEnum<EndpointAccess>
This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Endpoint |
ALLOW
Static value Allow for Endpoint |
static final
Endpoint |
DENY
Static value Deny for Endpoint |
Constructor Summary
Constructor | Description |
---|---|
EndpointAccess() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Endpoint |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Endpoint |
fromString(String name)
Creates or finds a Endpoint |
static
Collection<Endpoint |
values()
Gets known Endpoint |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final EndpointAccess ALLOW
Static value Allow for EndpointAccess.
DENY
public static final EndpointAccess DENY
Static value Deny for EndpointAccess.
Constructor Details
EndpointAccess
@Deprecated
public EndpointAccess()
Deprecated
Creates a new instance of EndpointAccess value.
Method Details
fromString
public static EndpointAccess fromString(String name)
Creates or finds a EndpointAccess from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EndpointAccess values.
Returns:
Applies to
Azure SDK for Java