Interface DnsZone

    • Method Detail

      • maxNumberOfRecordSets

        long maxNumberOfRecordSets()
        Returns:
        the maximum number of record sets that can be created in this zone.
      • numberOfRecordSets

        long numberOfRecordSets()
        Returns:
        the current number of record sets in this zone.
      • etag

        String etag()
        Returns:
        the etag associated with this zone.
      • accessType

        ZoneType accessType()
        Returns:
        the access type of this zone (Private or Public).
      • registrationVirtualNetworkIds

        List<String> registrationVirtualNetworkIds()
        Returns:
        a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.
      • resolutionVirtualNetworkIds

        List<String> resolutionVirtualNetworkIds()
        Returns:
        a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.
      • listRecordSets

        com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets()
        Returns:
        the record sets in this zone.
      • listRecordSets

        com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets​(String recordSetNameSuffix)
        Lists all the record sets in this zone with the given suffix.
        Parameters:
        recordSetNameSuffix - the record set name suffix
        Returns:
        the record sets
      • listRecordSets

        com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets​(int pageSize)
        Lists all the record sets in this zone with each entries in each page limited to the given size.
        Parameters:
        pageSize - the maximum number of record sets in a page
        Returns:
        the record sets
      • listRecordSets

        com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets​(String recordSetNameSuffix,
                                                                            int pageSize)
        Lists all the record sets in this zone with the given suffix, also limits the number of entries per page to the given page size.
        Parameters:
        recordSetNameSuffix - the record set name suffix
        pageSize - the maximum number of record sets in a page
        Returns:
        the record sets
      • nameServers

        List<String> nameServers()
        Returns:
        name servers assigned for this zone.
      • aRecordSets

        ARecordSets aRecordSets()
        Returns:
        entry point to manage record sets in this zone containing A (IPv4 address) records
      • aaaaRecordSets

        AaaaRecordSets aaaaRecordSets()
        Returns:
        entry point to manage record sets in this zone containing AAAA (IPv6 address) records
      • caaRecordSets

        CaaRecordSets caaRecordSets()
        Returns:
        entry point to manage record sets in this zone containing Caa (canonical name) records
      • cNameRecordSets

        CnameRecordSets cNameRecordSets()
        Returns:
        entry point to manage record sets in this zone containing CNAME (canonical name) records
      • mxRecordSets

        MxRecordSets mxRecordSets()
        Returns:
        entry point to manage record sets in this zone containing MX (mail exchange) records
      • nsRecordSets

        NsRecordSets nsRecordSets()
        Returns:
        entry point to manage record sets in this zone containing NS (name server) records
      • ptrRecordSets

        PtrRecordSets ptrRecordSets()
        Returns:
        entry point to manage record sets in this zone containing PTR (pointer) records
      • srvRecordSets

        SrvRecordSets srvRecordSets()
        Returns:
        entry point to manage record sets in this zone containing SRV (service) records
      • txtRecordSets

        TxtRecordSets txtRecordSets()
        Returns:
        entry point to manage record sets in this zone containing TXT (text) records
      • getSoaRecordSet

        SoaRecordSet getSoaRecordSet()
        Returns:
        the record set containing SOA (start of authority) record associated with this DNS zone