VirtualNetworkEncryptionEnforcement Class

public final class VirtualNetworkEncryptionEnforcement
extends ExpandableStringEnum<VirtualNetworkEncryptionEnforcement>

If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.

Field Summary

Modifier and Type Field and Description
static final VirtualNetworkEncryptionEnforcement ALLOW_UNENCRYPTED

Static value AllowUnencrypted for VirtualNetworkEncryptionEnforcement.

static final VirtualNetworkEncryptionEnforcement DROP_UNENCRYPTED

Static value DropUnencrypted for VirtualNetworkEncryptionEnforcement.

Constructor Summary

Constructor Description
VirtualNetworkEncryptionEnforcement()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VirtualNetworkEncryptionEnforcement value.

Method Summary

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

Creates or finds a VirtualNetworkEncryptionEnforcement from its string representation.

static Collection<VirtualNetworkEncryptionEnforcement> values()

Gets known VirtualNetworkEncryptionEnforcement values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW_UNENCRYPTED

public static final VirtualNetworkEncryptionEnforcement ALLOW_UNENCRYPTED

Static value AllowUnencrypted for VirtualNetworkEncryptionEnforcement.

DROP_UNENCRYPTED

public static final VirtualNetworkEncryptionEnforcement DROP_UNENCRYPTED

Static value DropUnencrypted for VirtualNetworkEncryptionEnforcement.

Constructor Details

VirtualNetworkEncryptionEnforcement

@Deprecated
public VirtualNetworkEncryptionEnforcement()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VirtualNetworkEncryptionEnforcement value.

Method Details

fromString

public static VirtualNetworkEncryptionEnforcement fromString(String name)

Creates or finds a VirtualNetworkEncryptionEnforcement from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VirtualNetworkEncryptionEnforcement.

values

public static Collection values()

Gets known VirtualNetworkEncryptionEnforcement values.

Returns:

known VirtualNetworkEncryptionEnforcement values.

Applies to