Interface DnsZone

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.dns.implementation.DnsZoneManager,​com.microsoft.azure.management.dns.implementation.ZoneInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasId, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.dns.implementation.ZoneInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.dns.implementation.DnsZoneManager>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasName, com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup, com.microsoft.azure.management.resources.fluentcore.model.Indexable, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<DnsZone>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource, com.microsoft.azure.management.resources.fluentcore.model.Updatable<DnsZone.Update>

    public interface DnsZone
    extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.dns.implementation.DnsZoneManager,​com.microsoft.azure.management.dns.implementation.ZoneInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<DnsZone>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<DnsZone.Update>
    An immutable client-side representation of an Azure DNS Zone.
    • 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

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

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

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

        com.microsoft.azure.PagedList<DnsRecordSet> listRecordSets()
        Returns:
        the record sets in this zone.
      • listRecordSets

        com.microsoft.azure.PagedList<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.microsoft.azure.PagedList<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.microsoft.azure.PagedList<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

        @Beta
        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