DnsNameLabelReusePolicy Class

public final class DnsNameLabelReusePolicy
extends ExpandableStringEnum<DnsNameLabelReusePolicy>

The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.

Field Summary

Modifier and Type Field and Description
static final DnsNameLabelReusePolicy NOREUSE

Static value Noreuse for DnsNameLabelReusePolicy.

static final DnsNameLabelReusePolicy RESOURCE_GROUP_REUSE

Static value ResourceGroupReuse for DnsNameLabelReusePolicy.

static final DnsNameLabelReusePolicy SUBSCRIPTION_REUSE

Static value SubscriptionReuse for DnsNameLabelReusePolicy.

static final DnsNameLabelReusePolicy TENANT_REUSE

Static value TenantReuse for DnsNameLabelReusePolicy.

static final DnsNameLabelReusePolicy UNSECURE

Static value Unsecure for DnsNameLabelReusePolicy.

Constructor Summary

Constructor Description
DnsNameLabelReusePolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsNameLabelReusePolicy value.

Method Summary

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

Creates or finds a DnsNameLabelReusePolicy from its string representation.

static Collection<DnsNameLabelReusePolicy> values()

Gets known DnsNameLabelReusePolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NOREUSE

public static final DnsNameLabelReusePolicy NOREUSE

Static value Noreuse for DnsNameLabelReusePolicy.

RESOURCE_GROUP_REUSE

public static final DnsNameLabelReusePolicy RESOURCE_GROUP_REUSE

Static value ResourceGroupReuse for DnsNameLabelReusePolicy.

SUBSCRIPTION_REUSE

public static final DnsNameLabelReusePolicy SUBSCRIPTION_REUSE

Static value SubscriptionReuse for DnsNameLabelReusePolicy.

TENANT_REUSE

public static final DnsNameLabelReusePolicy TENANT_REUSE

Static value TenantReuse for DnsNameLabelReusePolicy.

UNSECURE

public static final DnsNameLabelReusePolicy UNSECURE

Static value Unsecure for DnsNameLabelReusePolicy.

Constructor Details

DnsNameLabelReusePolicy

@Deprecated
public DnsNameLabelReusePolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsNameLabelReusePolicy value.

Method Details

fromString

public static DnsNameLabelReusePolicy fromString(String name)

Creates or finds a DnsNameLabelReusePolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DnsNameLabelReusePolicy.

values

public static Collection values()

Gets known DnsNameLabelReusePolicy values.

Returns:

known DnsNameLabelReusePolicy values.

Applies to