Class DnsNameLabelReusePolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DnsNameLabelReusePolicy>
com.azure.resourcemanager.containerinstance.models.DnsNameLabelReusePolicy
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DnsNameLabelReusePolicy
extends com.azure.core.util.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
FieldsModifier and TypeFieldDescriptionstatic final DnsNameLabelReusePolicyStatic value Noreuse for DnsNameLabelReusePolicy.static final DnsNameLabelReusePolicyStatic value ResourceGroupReuse for DnsNameLabelReusePolicy.static final DnsNameLabelReusePolicyStatic value SubscriptionReuse for DnsNameLabelReusePolicy.static final DnsNameLabelReusePolicyStatic value TenantReuse for DnsNameLabelReusePolicy.static final DnsNameLabelReusePolicyStatic value Unsecure for DnsNameLabelReusePolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DnsNameLabelReusePolicyfromString(String name) Creates or finds a DnsNameLabelReusePolicy from its string representation.static Collection<DnsNameLabelReusePolicy> values()Gets known DnsNameLabelReusePolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UNSECURE
Static value Unsecure for DnsNameLabelReusePolicy. -
TENANT_REUSE
Static value TenantReuse for DnsNameLabelReusePolicy. -
SUBSCRIPTION_REUSE
Static value SubscriptionReuse for DnsNameLabelReusePolicy. -
RESOURCE_GROUP_REUSE
Static value ResourceGroupReuse for DnsNameLabelReusePolicy. -
NOREUSE
Static value Noreuse for DnsNameLabelReusePolicy.
-
-
Constructor Details
-
DnsNameLabelReusePolicy
Deprecated.Use thefromString(String)factory method.Creates a new instance of DnsNameLabelReusePolicy value.
-
-
Method Details
-
fromString
Creates or finds a DnsNameLabelReusePolicy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DnsNameLabelReusePolicy.
-
values
Gets known DnsNameLabelReusePolicy values.- Returns:
- known DnsNameLabelReusePolicy values.
-
fromString(String)factory method.