Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sdk/resourcemanager/azure-resourcemanager-dns/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<doclintMissingInclusion>-</doclintMissingInclusion>
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ private DnsZoneManager(HttpPipeline httpPipeline, AzureProfile profile) {
.buildClient());
}

/** @return entry point to DNS zone manager zone management */
/**
* Gets entry point to DNS zone manager zone management.
*
* @return entry point to DNS zone manager zone management
*/
public DnsZones zones() {
if (this.zones == null) {
this.zones = new DnsZonesImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of a A (IPv4) record set in Azure DNS Zone. */
@Fluent
public interface ARecordSet extends DnsRecordSet {
/** @return the IP v4 addresses of A records in this record set */
/**
* Gets the IP v4 addresses of A records in this record set.
*
* @return the IP v4 addresses of A records in this record set
*/
List<String> ipv4Addresses();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of a AAAA (IPv6) record set in Azure DNS Zone. */
@Fluent
public interface AaaaRecordSet extends DnsRecordSet {
/** @return the IPv6 addresses of AAAA records in this record set */
/**
* Gets the IPv6 addresses of AAAA records in this record set.
*
* @return the IPv6 addresses of AAAA records in this record set
*/
List<String> ipv6Addresses();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of an CAA (service) record set in Azure DNS Zone. */
@Fluent
public interface CaaRecordSet extends DnsRecordSet {
/** @return the CAA records in this record set */
/**
* Gets the CAA records in this record set.
*
* @return the CAA records in this record set
*/
List<CaaRecord> records();
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
/** An immutable client-side representation of a CNAME (canonical name) record set in Azure DNS Zone. */
@Fluent
public interface CnameRecordSet extends DnsRecordSet {
/** @return the canonical name (without a terminating dot) of CName record in this record set */
/**
* Gets the canonical name (without a terminating dot) of CName record in this record set.
*
* @return the canonical name (without a terminating dot) of CName record in this record set
*/
String canonicalName();
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,39 @@
@Fluent
public interface DnsRecordSet extends ExternalChildResource<DnsRecordSet, DnsZone>, HasInnerModel<RecordSetInner> {

/** @return the type of records in this record set */
/**
* Gets the type of records in this record set.
*
* @return the type of records in this record set
*/
RecordType recordType();

/** @return TTL of the records in this record set */
/**
* Gets TTL of the records in this record set.
*
* @return TTL of the records in this record set
*/
long timeToLive();

/** @return the metadata associated with this record set. */
/**
* Gets the metadata associated with this record set.
*
* @return the metadata associated with this record set.
*/
Map<String, String> metadata();

/** @return the fully qualified domain name of the record set. */
/**
* Gets the fully qualified domain name of the record set.
*
* @return the fully qualified domain name of the record set.
*/
String fqdn();

/** @return the etag associated with the record set. */
/**
* Gets the etag associated with the record set.
*
* @return the etag associated with the record set.
*/
String etag();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,53 @@
@Fluent
public interface DnsZone
extends GroupableResource<DnsZoneManager, ZoneInner>, Refreshable<DnsZone>, Updatable<DnsZone.Update> {
/** @return the maximum number of record sets that can be created in this zone. */
/**
* Gets the maximum number of record sets that can be created in this zone.
*
* @return the maximum number of record sets that can be created in this zone.
*/
long maxNumberOfRecordSets();

/** @return the current number of record sets in this zone. */
/**
* Gets the current number of record sets in this zone.
*
* @return the current number of record sets in this zone.
*/
long numberOfRecordSets();

/** @return the etag associated with this zone. */
/**
* Gets the etag associated with this zone.
*
* @return the etag associated with this zone.
*/
String etag();

/** @return the access type of this zone (Private or Public). */
/**
* Gets the access type of this zone (Private or Public).
*
* @return the access type of this zone (Private or Public).
*/
ZoneType accessType();

/**
* Gets a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.
*
* @return a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.
*/
List<String> registrationVirtualNetworkIds();

/** @return a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone. */
/**
* Gets a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.
*
* @return a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.
*/
List<String> resolutionVirtualNetworkIds();

/** @return the record sets in this zone. */
/**
* Gets the record sets in this zone.
*
* @return the record sets in this zone.
*/
PagedIterable<DnsRecordSet> listRecordSets();

/**
Expand Down Expand Up @@ -67,37 +93,81 @@ public interface DnsZone
*/
PagedIterable<DnsRecordSet> listRecordSets(String recordSetNameSuffix, int pageSize);

/** @return name servers assigned for this zone. */
/**
* Gets name servers assigned for this zone.
*
* @return name servers assigned for this zone.
*/
List<String> nameServers();

/** @return entry point to manage record sets in this zone containing A (IPv4 address) records */
/**
* Gets entry point to manage record sets in this zone containing A (IPv4 address) records.
*
* @return entry point to manage record sets in this zone containing A (IPv4 address) records
*/
ARecordSets aRecordSets();

/** @return entry point to manage record sets in this zone containing AAAA (IPv6 address) records */
/**
* Gets entry point to manage record sets in this zone containing AAAA (IPv6 address) records.
*
* @return entry point to manage record sets in this zone containing AAAA (IPv6 address) records
*/
AaaaRecordSets aaaaRecordSets();

/** @return entry point to manage record sets in this zone containing Caa (canonical name) records */
/**
* Gets entry point to manage record sets in this zone containing Caa (canonical name) records.
*
* @return entry point to manage record sets in this zone containing Caa (canonical name) records
*/
CaaRecordSets caaRecordSets();

/** @return entry point to manage record sets in this zone containing CNAME (canonical name) records */
/**
* Gets entry point to manage record sets in this zone containing CNAME (canonical name) records.
*
* @return entry point to manage record sets in this zone containing CNAME (canonical name) records
*/
CnameRecordSets cNameRecordSets();

/** @return entry point to manage record sets in this zone containing MX (mail exchange) records */
/**
* Gets entry point to manage record sets in this zone containing MX (mail exchange) records.
*
* @return entry point to manage record sets in this zone containing MX (mail exchange) records
*/
MxRecordSets mxRecordSets();

/** @return entry point to manage record sets in this zone containing NS (name server) records */
/**
* Gets entry point to manage record sets in this zone containing NS (name server) records.
*
* @return entry point to manage record sets in this zone containing NS (name server) records
*/
NsRecordSets nsRecordSets();

/** @return entry point to manage record sets in this zone containing PTR (pointer) records */
/**
* Gets entry point to manage record sets in this zone containing PTR (pointer) records.
*
* @return entry point to manage record sets in this zone containing PTR (pointer) records
*/
PtrRecordSets ptrRecordSets();

/** @return entry point to manage record sets in this zone containing SRV (service) records */
/**
* Gets entry point to manage record sets in this zone containing SRV (service) records.
*
* @return entry point to manage record sets in this zone containing SRV (service) records
*/
SrvRecordSets srvRecordSets();

/** @return entry point to manage record sets in this zone containing TXT (text) records */
/**
* Gets entry point to manage record sets in this zone containing TXT (text) records.
*
* @return entry point to manage record sets in this zone containing TXT (text) records
*/
TxtRecordSets txtRecordSets();

/** @return the record set containing SOA (start of authority) record associated with this DNS zone */
/**
* Gets the record set containing SOA (start of authority) record associated with this DNS zone.
*
* @return the record set containing SOA (start of authority) record associated with this DNS zone
*/
SoaRecordSet getSoaRecordSet();

/** The entirety of the DNS zone definition. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of an MX (mail exchange) record set in an Azure DNS Zone. */
@Fluent
public interface MxRecordSet extends DnsRecordSet {
/** @return the MX records in this record set */
/**
* Gets the MX records in this record set.
*
* @return the MX records in this record set
*/
List<MxRecord> records();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of an NS (name server) record set in Azure DNS Zone. */
@Fluent
public interface NsRecordSet extends DnsRecordSet {
/** @return the name server names of NS (name server) records in this record set */
/**
* Gets the name server names of NS (name server) records in this record set.
*
* @return the name server names of NS (name server) records in this record set
*/
List<String> nameServers();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of a PTR (pointer) record set in Azure DNS Zone. */
@Fluent
public interface PtrRecordSet extends DnsRecordSet {
/** @return the target domain names of PTR records in this record set */
/**
* Gets the target domain names of PTR records in this record set.
*
* @return the target domain names of PTR records in this record set
*/
List<String> targetDomainNames();
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
/** An immutable client-side representation of a SOA (start of authority) record set in Azure DNS Zone. */
@Fluent
public interface SoaRecordSet extends DnsRecordSet {
/** @return the SOA record in this record set */
/**
* Gets the SOA record in this record set.
*
* @return the SOA record in this record set
*/
SoaRecord record();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of an SVR (service) record set in Azure DNS Zone. */
@Fluent
public interface SrvRecordSet extends DnsRecordSet {
/** @return the SRV records in this record set */
/**
* Gets the SRV records in this record set.
*
* @return the SRV records in this record set
*/
List<SrvRecord> records();
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/** An immutable client-side representation of a TXT (text) record set in Azure DNS Zone. */
@Fluent
public interface TxtRecordSet extends DnsRecordSet {
/** @return the TXT records in this record set */
/**
* Gets the TXT records in this record set.
*
* @return the TXT records in this record set
*/
List<TxtRecord> records();
}
Loading