PublicNetworkAccessType Class

public final class PublicNetworkAccessType
extends ExpandableStringEnum<PublicNetworkAccessType>

The network access type for operating on the Log Analytics Workspace. By default it is Enabled.

Field Summary

Modifier and Type Field and Description
static final PublicNetworkAccessType DISABLED

Static value Disabled for PublicNetworkAccessType.

static final PublicNetworkAccessType ENABLED

Static value Enabled for PublicNetworkAccessType.

Constructor Summary

Constructor Description
PublicNetworkAccessType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccessType value.

Method Summary

Modifier and Type Method and Description
static PublicNetworkAccessType fromString(String name)

Creates or finds a PublicNetworkAccessType from its string representation.

static Collection<PublicNetworkAccessType> values()

Gets known PublicNetworkAccessType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final PublicNetworkAccessType DISABLED

Static value Disabled for PublicNetworkAccessType.

ENABLED

public static final PublicNetworkAccessType ENABLED

Static value Enabled for PublicNetworkAccessType.

Constructor Details

PublicNetworkAccessType

@Deprecated
public PublicNetworkAccessType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccessType value.

Method Details

fromString

public static PublicNetworkAccessType fromString(String name)

Creates or finds a PublicNetworkAccessType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublicNetworkAccessType.

values

public static Collection values()

Gets known PublicNetworkAccessType values.

Returns:

known PublicNetworkAccessType values.

Applies to