Interface DnsZone.UpdateStages.WithZoneType

  • All Known Subinterfaces:
    DnsZone.Update
    Enclosing interface:
    DnsZone.UpdateStages

    @Beta(V1_9_0)
    public static interface DnsZone.UpdateStages.WithZoneType
    The stage of the DNS zone update allowing to specify Zone access type.
    • Method Detail

      • withPublicAccess

        @Beta(V1_9_0)
        DnsZone.Update withPublicAccess()
        Sets the type of this zone to Public (default behavior).
        Returns:
        the next stage of the definition
      • withPrivateAccess

        @Beta(V1_9_0)
        DnsZone.Update withPrivateAccess()
        Sets the type of this zone to Private. Note that this method call will clean any previously set registrationVirtualNetworkIds and resolutionVirtualNetworkIds lists.
        Returns:
        the next stage of the definition
      • withPrivateAccess

        @Beta(V1_9_0)
        DnsZone.Update withPrivateAccess​(List<String> registrationVirtualNetworkIds,
                                         List<String> resolutionVirtualNetworkIds)
        Sets the type of this zone to Private.
        Parameters:
        registrationVirtualNetworkIds - a list of references to virtual networks that register hostnames in this DNS zone.
        resolutionVirtualNetworkIds - a list of references to virtual networks that resolve records in this DNS zone.
        Returns:
        the next stage of the definition