Class PublicNetworkAccessType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessType>
com.azure.resourcemanager.loganalytics.models.PublicNetworkAccessType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PublicNetworkAccessType
extends com.azure.core.util.ExpandableStringEnum<PublicNetworkAccessType>
The network access type for operating on the Log Analytics Workspace. By default it is Enabled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PublicNetworkAccessTypeDisables public connectivity to Log Analytics through public DNS.static final PublicNetworkAccessTypeEnables connectivity to Log Analytics through public DNS.static final PublicNetworkAccessTypeResource is only accessible from private networks and access approved by network security perimeter associated to this resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicNetworkAccessTypefromString(String name) Creates or finds a PublicNetworkAccessType from its string representation.static Collection<PublicNetworkAccessType> values()Gets known PublicNetworkAccessType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Enables connectivity to Log Analytics through public DNS. -
DISABLED
Disables public connectivity to Log Analytics through public DNS. -
SECURED_BY_PERIMETER
Resource is only accessible from private networks and access approved by network security perimeter associated to this resource.
-
-
Constructor Details
-
PublicNetworkAccessType
Deprecated.Use thefromString(String)factory method.Creates a new instance of PublicNetworkAccessType value.
-
-
Method Details
-
fromString
Creates or finds a PublicNetworkAccessType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PublicNetworkAccessType.
-
values
Gets known PublicNetworkAccessType values.- Returns:
- known PublicNetworkAccessType values.
-
fromString(String)factory method.