Class DnsNameLabelReusePolicy

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DnsNameLabelReusePolicy>
com.azure.resourcemanager.containerinstance.models.DnsNameLabelReusePolicy

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 Details

    • UNSECURE

      public static final DnsNameLabelReusePolicy UNSECURE
      Static value Unsecure for DnsNameLabelReusePolicy.
    • TENANT_REUSE

      public static final DnsNameLabelReusePolicy TENANT_REUSE
      Static value TenantReuse for DnsNameLabelReusePolicy.
    • SUBSCRIPTION_REUSE

      public static final DnsNameLabelReusePolicy SUBSCRIPTION_REUSE
      Static value SubscriptionReuse for DnsNameLabelReusePolicy.
    • RESOURCE_GROUP_REUSE

      public static final DnsNameLabelReusePolicy RESOURCE_GROUP_REUSE
      Static value ResourceGroupReuse for DnsNameLabelReusePolicy.
    • NOREUSE

      public static final DnsNameLabelReusePolicy NOREUSE
      Static value Noreuse for DnsNameLabelReusePolicy.
  • Constructor Details

    • DnsNameLabelReusePolicy

      @Deprecated public DnsNameLabelReusePolicy()
      Deprecated.
      Use the fromString(String) 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<DnsNameLabelReusePolicy> values()
      Gets known DnsNameLabelReusePolicy values.
      Returns:
      known DnsNameLabelReusePolicy values.