Skip to content

Commit 5a09295

Browse files
authored
Update Javadoc of premium SDK for azure-resourcemanager-dns (#43600)
1 parent 8af3fc7 commit 5a09295

File tree

14 files changed

+167
-34
lines changed

14 files changed

+167
-34
lines changed

sdk/resourcemanager/azure-resourcemanager-dns/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
4747
</javaModulesSurefireArgLine>
48-
<doclintMissingInclusion>-</doclintMissingInclusion>
4948
</properties>
5049

5150
<developers>

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/DnsZoneManager.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ private DnsZoneManager(HttpPipeline httpPipeline, AzureProfile profile) {
8585
.buildClient());
8686
}
8787

88-
/** @return entry point to DNS zone manager zone management */
88+
/**
89+
* Gets entry point to DNS zone manager zone management.
90+
*
91+
* @return entry point to DNS zone manager zone management
92+
*/
8993
public DnsZones zones() {
9094
if (this.zones == null) {
9195
this.zones = new DnsZonesImpl(this);

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/ARecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/** An immutable client-side representation of a A (IPv4) record set in Azure DNS Zone. */
99
@Fluent
1010
public interface ARecordSet extends DnsRecordSet {
11-
/** @return the IP v4 addresses of A records in this record set */
11+
/**
12+
* Gets the IP v4 addresses of A records in this record set.
13+
*
14+
* @return the IP v4 addresses of A records in this record set
15+
*/
1216
List<String> ipv4Addresses();
1317
}

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/AaaaRecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/** An immutable client-side representation of a AAAA (IPv6) record set in Azure DNS Zone. */
99
@Fluent
1010
public interface AaaaRecordSet extends DnsRecordSet {
11-
/** @return the IPv6 addresses of AAAA records in this record set */
11+
/**
12+
* Gets the IPv6 addresses of AAAA records in this record set.
13+
*
14+
* @return the IPv6 addresses of AAAA records in this record set
15+
*/
1216
List<String> ipv6Addresses();
1317
}

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/CaaRecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/** An immutable client-side representation of an CAA (service) record set in Azure DNS Zone. */
99
@Fluent
1010
public interface CaaRecordSet extends DnsRecordSet {
11-
/** @return the CAA records in this record set */
11+
/**
12+
* Gets the CAA records in this record set.
13+
*
14+
* @return the CAA records in this record set
15+
*/
1216
List<CaaRecord> records();
1317
}

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/CnameRecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
/** An immutable client-side representation of a CNAME (canonical name) record set in Azure DNS Zone. */
88
@Fluent
99
public interface CnameRecordSet extends DnsRecordSet {
10-
/** @return the canonical name (without a terminating dot) of CName record in this record set */
10+
/**
11+
* Gets the canonical name (without a terminating dot) of CName record in this record set.
12+
*
13+
* @return the canonical name (without a terminating dot) of CName record in this record set
14+
*/
1115
String canonicalName();
1216
}

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/DnsRecordSet.java

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,39 @@
1515
@Fluent
1616
public interface DnsRecordSet extends ExternalChildResource<DnsRecordSet, DnsZone>, HasInnerModel<RecordSetInner> {
1717

18-
/** @return the type of records in this record set */
18+
/**
19+
* Gets the type of records in this record set.
20+
*
21+
* @return the type of records in this record set
22+
*/
1923
RecordType recordType();
2024

21-
/** @return TTL of the records in this record set */
25+
/**
26+
* Gets TTL of the records in this record set.
27+
*
28+
* @return TTL of the records in this record set
29+
*/
2230
long timeToLive();
2331

24-
/** @return the metadata associated with this record set. */
32+
/**
33+
* Gets the metadata associated with this record set.
34+
*
35+
* @return the metadata associated with this record set.
36+
*/
2537
Map<String, String> metadata();
2638

27-
/** @return the fully qualified domain name of the record set. */
39+
/**
40+
* Gets the fully qualified domain name of the record set.
41+
*
42+
* @return the fully qualified domain name of the record set.
43+
*/
2844
String fqdn();
2945

30-
/** @return the etag associated with the record set. */
46+
/**
47+
* Gets the etag associated with the record set.
48+
*
49+
* @return the etag associated with the record set.
50+
*/
3151
String etag();
3252

3353
/**

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/DnsZone.java

Lines changed: 87 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,53 @@
1818
@Fluent
1919
public interface DnsZone
2020
extends GroupableResource<DnsZoneManager, ZoneInner>, Refreshable<DnsZone>, Updatable<DnsZone.Update> {
21-
/** @return the maximum number of record sets that can be created in this zone. */
21+
/**
22+
* Gets the maximum number of record sets that can be created in this zone.
23+
*
24+
* @return the maximum number of record sets that can be created in this zone.
25+
*/
2226
long maxNumberOfRecordSets();
2327

24-
/** @return the current number of record sets in this zone. */
28+
/**
29+
* Gets the current number of record sets in this zone.
30+
*
31+
* @return the current number of record sets in this zone.
32+
*/
2533
long numberOfRecordSets();
2634

27-
/** @return the etag associated with this zone. */
35+
/**
36+
* Gets the etag associated with this zone.
37+
*
38+
* @return the etag associated with this zone.
39+
*/
2840
String etag();
2941

30-
/** @return the access type of this zone (Private or Public). */
42+
/**
43+
* Gets the access type of this zone (Private or Public).
44+
*
45+
* @return the access type of this zone (Private or Public).
46+
*/
3147
ZoneType accessType();
3248

3349
/**
50+
* Gets a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.
51+
*
3452
* @return a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.
3553
*/
3654
List<String> registrationVirtualNetworkIds();
3755

38-
/** @return a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone. */
56+
/**
57+
* Gets a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.
58+
*
59+
* @return a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.
60+
*/
3961
List<String> resolutionVirtualNetworkIds();
4062

41-
/** @return the record sets in this zone. */
63+
/**
64+
* Gets the record sets in this zone.
65+
*
66+
* @return the record sets in this zone.
67+
*/
4268
PagedIterable<DnsRecordSet> listRecordSets();
4369

4470
/**
@@ -67,37 +93,81 @@ public interface DnsZone
6793
*/
6894
PagedIterable<DnsRecordSet> listRecordSets(String recordSetNameSuffix, int pageSize);
6995

70-
/** @return name servers assigned for this zone. */
96+
/**
97+
* Gets name servers assigned for this zone.
98+
*
99+
* @return name servers assigned for this zone.
100+
*/
71101
List<String> nameServers();
72102

73-
/** @return entry point to manage record sets in this zone containing A (IPv4 address) records */
103+
/**
104+
* Gets entry point to manage record sets in this zone containing A (IPv4 address) records.
105+
*
106+
* @return entry point to manage record sets in this zone containing A (IPv4 address) records
107+
*/
74108
ARecordSets aRecordSets();
75109

76-
/** @return entry point to manage record sets in this zone containing AAAA (IPv6 address) records */
110+
/**
111+
* Gets entry point to manage record sets in this zone containing AAAA (IPv6 address) records.
112+
*
113+
* @return entry point to manage record sets in this zone containing AAAA (IPv6 address) records
114+
*/
77115
AaaaRecordSets aaaaRecordSets();
78116

79-
/** @return entry point to manage record sets in this zone containing Caa (canonical name) records */
117+
/**
118+
* Gets entry point to manage record sets in this zone containing Caa (canonical name) records.
119+
*
120+
* @return entry point to manage record sets in this zone containing Caa (canonical name) records
121+
*/
80122
CaaRecordSets caaRecordSets();
81123

82-
/** @return entry point to manage record sets in this zone containing CNAME (canonical name) records */
124+
/**
125+
* Gets entry point to manage record sets in this zone containing CNAME (canonical name) records.
126+
*
127+
* @return entry point to manage record sets in this zone containing CNAME (canonical name) records
128+
*/
83129
CnameRecordSets cNameRecordSets();
84130

85-
/** @return entry point to manage record sets in this zone containing MX (mail exchange) records */
131+
/**
132+
* Gets entry point to manage record sets in this zone containing MX (mail exchange) records.
133+
*
134+
* @return entry point to manage record sets in this zone containing MX (mail exchange) records
135+
*/
86136
MxRecordSets mxRecordSets();
87137

88-
/** @return entry point to manage record sets in this zone containing NS (name server) records */
138+
/**
139+
* Gets entry point to manage record sets in this zone containing NS (name server) records.
140+
*
141+
* @return entry point to manage record sets in this zone containing NS (name server) records
142+
*/
89143
NsRecordSets nsRecordSets();
90144

91-
/** @return entry point to manage record sets in this zone containing PTR (pointer) records */
145+
/**
146+
* Gets entry point to manage record sets in this zone containing PTR (pointer) records.
147+
*
148+
* @return entry point to manage record sets in this zone containing PTR (pointer) records
149+
*/
92150
PtrRecordSets ptrRecordSets();
93151

94-
/** @return entry point to manage record sets in this zone containing SRV (service) records */
152+
/**
153+
* Gets entry point to manage record sets in this zone containing SRV (service) records.
154+
*
155+
* @return entry point to manage record sets in this zone containing SRV (service) records
156+
*/
95157
SrvRecordSets srvRecordSets();
96158

97-
/** @return entry point to manage record sets in this zone containing TXT (text) records */
159+
/**
160+
* Gets entry point to manage record sets in this zone containing TXT (text) records.
161+
*
162+
* @return entry point to manage record sets in this zone containing TXT (text) records
163+
*/
98164
TxtRecordSets txtRecordSets();
99165

100-
/** @return the record set containing SOA (start of authority) record associated with this DNS zone */
166+
/**
167+
* Gets the record set containing SOA (start of authority) record associated with this DNS zone.
168+
*
169+
* @return the record set containing SOA (start of authority) record associated with this DNS zone
170+
*/
101171
SoaRecordSet getSoaRecordSet();
102172

103173
/** The entirety of the DNS zone definition. */

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/MxRecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/** An immutable client-side representation of an MX (mail exchange) record set in an Azure DNS Zone. */
99
@Fluent
1010
public interface MxRecordSet extends DnsRecordSet {
11-
/** @return the MX records in this record set */
11+
/**
12+
* Gets the MX records in this record set.
13+
*
14+
* @return the MX records in this record set
15+
*/
1216
List<MxRecord> records();
1317
}

sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/models/NsRecordSet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/** An immutable client-side representation of an NS (name server) record set in Azure DNS Zone. */
99
@Fluent
1010
public interface NsRecordSet extends DnsRecordSet {
11-
/** @return the name server names of NS (name server) records in this record set */
11+
/**
12+
* Gets the name server names of NS (name server) records in this record set.
13+
*
14+
* @return the name server names of NS (name server) records in this record set
15+
*/
1216
List<String> nameServers();
1317
}

0 commit comments

Comments
 (0)