DnsNameLabelReusePolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerinstance. models. DnsNameLabelReusePolicy
- com.
- com.
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
Dns |
NOREUSE
Static value Noreuse for Dns |
static final
Dns |
RESOURCE_GROUP_REUSE
Static value Resource |
static final
Dns |
SUBSCRIPTION_REUSE
Static value Subscription |
static final
Dns |
TENANT_REUSE
Static value Tenant |
static final
Dns |
UNSECURE
Static value Unsecure for Dns |
Constructor Summary
Constructor | Description |
---|---|
DnsNameLabelReusePolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Dns |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Dns |
fromString(String name)
Creates or finds a Dns |
static
Collection<Dns |
values()
Gets known Dns |
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
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:
Returns:
values
public static Collection
Gets known DnsNameLabelReusePolicy values.
Returns:
Applies to
Azure SDK for Java