VirtualNetworkPrivateLinkServiceNetworkPolicies Class

public final class VirtualNetworkPrivateLinkServiceNetworkPolicies
extends ExpandableStringEnum<VirtualNetworkPrivateLinkServiceNetworkPolicies>

Enable or Disable apply network policies on private link service in the subnet.

Field Summary

Modifier and Type Field and Description
static final VirtualNetworkPrivateLinkServiceNetworkPolicies DISABLED

Static value Disabled for VirtualNetworkPrivateLinkServiceNetworkPolicies.

static final VirtualNetworkPrivateLinkServiceNetworkPolicies ENABLED

Static value Enabled for VirtualNetworkPrivateLinkServiceNetworkPolicies.

Constructor Summary

Constructor Description
VirtualNetworkPrivateLinkServiceNetworkPolicies()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VirtualNetworkPrivateLinkServiceNetworkPolicies value.

Method Summary

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

Creates or finds a VirtualNetworkPrivateLinkServiceNetworkPolicies from its string representation.

static Collection<VirtualNetworkPrivateLinkServiceNetworkPolicies> values()

Gets known VirtualNetworkPrivateLinkServiceNetworkPolicies values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final VirtualNetworkPrivateLinkServiceNetworkPolicies DISABLED

Static value Disabled for VirtualNetworkPrivateLinkServiceNetworkPolicies.

ENABLED

public static final VirtualNetworkPrivateLinkServiceNetworkPolicies ENABLED

Static value Enabled for VirtualNetworkPrivateLinkServiceNetworkPolicies.

Constructor Details

VirtualNetworkPrivateLinkServiceNetworkPolicies

@Deprecated
public VirtualNetworkPrivateLinkServiceNetworkPolicies()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VirtualNetworkPrivateLinkServiceNetworkPolicies value.

Method Details

fromString

public static VirtualNetworkPrivateLinkServiceNetworkPolicies fromString(String name)

Creates or finds a VirtualNetworkPrivateLinkServiceNetworkPolicies from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VirtualNetworkPrivateLinkServiceNetworkPolicies.

values

public static Collection values()

Gets known VirtualNetworkPrivateLinkServiceNetworkPolicies values.

Returns:

known VirtualNetworkPrivateLinkServiceNetworkPolicies values.

Applies to