Skip to content

Commit eb2d560

Browse files
authored
Update Javadoc of premium SDK for azure-resourcemanager-trafficmanager (#43637)
1 parent f91bde0 commit eb2d560

12 files changed

Lines changed: 169 additions & 33 deletions

sdk/resourcemanager/azure-resourcemanager-trafficmanager/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-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/TrafficManager.java

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

87-
/** @return entry point to traffic manager profile management */
87+
/**
88+
* Gets entry point to traffic manager profile management.
89+
*
90+
* @return entry point to traffic manager profile management
91+
*/
8892
public TrafficManagerProfiles profiles() {
8993
if (this.profiles == null) {
9094
this.profiles = new TrafficManagerProfilesImpl(this);

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/CheckProfileDnsNameAvailabilityResult.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,29 @@ public CheckProfileDnsNameAvailabilityResult(TrafficManagerNameAvailabilityInner
1919
}
2020

2121
/**
22+
* Checks whether the DNS name is available to use.
23+
*
2224
* @return true if the DNS name is available to use, false if the name has already been taken or invalid and cannot
2325
* be used.
2426
*/
2527
public boolean isAvailable() {
2628
return inner.nameAvailable();
2729
}
2830

29-
/** @return the reason that the DNS name could not be used */
31+
/**
32+
* Gets the reason that the DNS name could not be used.
33+
*
34+
* @return the reason that the DNS name could not be used
35+
*/
3036
public ProfileDnsNameUnavailableReason reason() {
3137
return new ProfileDnsNameUnavailableReason(inner.reason());
3238
}
3339

34-
/** @return an error message explaining the reason value in more detail */
40+
/**
41+
* Gets an error message explaining the reason value in more detail.
42+
*
43+
* @return an error message explaining the reason value in more detail
44+
*/
3545
public String message() {
3646
return inner.message();
3747
}

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/EndpointType.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ public String toString() {
4141
return this.value;
4242
}
4343

44-
/** @return the local name of the endpoint type */
44+
/**
45+
* Gets the local name of the endpoint type.
46+
*
47+
* @return the local name of the endpoint type
48+
*/
4549
public String localName() {
4650
if (this.value != null) {
4751
return this.value.substring(this.value.lastIndexOf('/') + 1);

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/GeographicHierarchies.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
/** Entry point to Azure traffic manager geographic hierarchy management API in Azure. */
1010
public interface GeographicHierarchies extends HasManager<TrafficManager> {
11-
/** @return the root of the Geographic Hierarchy used by the Geographic traffic routing method. */
11+
/**
12+
* Gets the root of the Geographic Hierarchy used by the Geographic traffic routing method.
13+
*
14+
* @return the root of the Geographic Hierarchy used by the Geographic traffic routing method.
15+
*/
1216
GeographicLocation getRoot();
1317
}

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/GeographicLocation.java

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,24 @@
99

1010
/** Type representing Geographic Hierarchy region (location). */
1111
public interface GeographicLocation extends HasName, HasInnerModel<Region> {
12-
/** @return the location code. */
12+
/**
13+
* Gets the location code.
14+
*
15+
* @return the location code.
16+
*/
1317
String code();
1418

15-
/** @return list of immediate child locations grouped under this location in the Geographic Hierarchy. */
19+
/**
20+
* Gets list of immediate child locations grouped under this location in the Geographic Hierarchy.
21+
*
22+
* @return list of immediate child locations grouped under this location in the Geographic Hierarchy.
23+
*/
1624
List<GeographicLocation> childLocations();
1725

18-
/** @return list of all descendant locations grouped under this location in the Geographic Hierarchy. */
26+
/**
27+
* Gets list of all descendant locations grouped under this location in the Geographic Hierarchy.
28+
*
29+
* @return list of all descendant locations grouped under this location in the Geographic Hierarchy.
30+
*/
1931
List<GeographicLocation> descendantLocations();
2032
}

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/TrafficManagerAzureEndpoint.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@
55

66
/** An immutable client-side representation of an Azure traffic manager profile Azure endpoint. */
77
public interface TrafficManagerAzureEndpoint extends TrafficManagerEndpoint {
8-
/** @return the resource id of the target Azure resource. */
8+
/**
9+
* Gets the resource id of the target Azure resource.
10+
*
11+
* @return the resource id of the target Azure resource.
12+
*/
913
String targetAzureResourceId();
1014

11-
/** @return the type of the target Azure resource. */
15+
/**
16+
* Gets the type of the target Azure resource.
17+
*
18+
* @return the type of the target Azure resource.
19+
*/
1220
TargetAzureResourceType targetResourceType();
1321
}

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/TrafficManagerEndpoint.java

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,62 @@
1717
/** An immutable client-side representation of an Azure traffic manager profile endpoint. */
1818
public interface TrafficManagerEndpoint
1919
extends ExternalChildResource<TrafficManagerEndpoint, TrafficManagerProfile>, HasInnerModel<EndpointInner> {
20-
/** @return the endpoint type */
20+
/**
21+
* Gets the endpoint type.
22+
*
23+
* @return the endpoint type
24+
*/
2125
EndpointType endpointType();
2226

23-
/** @return the monitor status of the endpoint */
27+
/**
28+
* Gets the monitor status of the endpoint.
29+
*
30+
* @return the monitor status of the endpoint
31+
*/
2432
EndpointMonitorStatus monitorStatus();
2533

26-
/** @return true if the endpoint is enabled, false otherwise */
34+
/**
35+
* Checks whether the endpoint is enabled.
36+
*
37+
* @return true if the endpoint is enabled, false otherwise
38+
*/
2739
boolean isEnabled();
2840

2941
/**
42+
* Gets the weight of the endpoint which is used when traffic manager profile is configured.
43+
*
3044
* @return the weight of the endpoint which is used when traffic manager profile is configured with Weighted
3145
* traffic-routing method
3246
*/
3347
long routingWeight();
3448

3549
/**
50+
* Gets the priority of the endpoint which is used when traffic manager profile is configured.
51+
*
3652
* @return the priority of the endpoint which is used when traffic manager profile is configured with Priority
3753
* traffic-routing method
3854
*/
3955
long routingPriority();
4056

41-
/** @return the geographic location codes indicating the locations to which traffic will be distributed. */
57+
/**
58+
* Gets the geographic location codes indicating the locations to which traffic will be distributed.
59+
*
60+
* @return the geographic location codes indicating the locations to which traffic will be distributed.
61+
*/
4262
Set<String> geographicLocationCodes();
4363

44-
/** @return the list of subnets, IP addresses, and/or address ranges mapped to this endpoint. */
64+
/**
65+
* gets the list of subnets, IP addresses, and/or address ranges mapped to this endpoint.
66+
*
67+
* @return the list of subnets, IP addresses, and/or address ranges mapped to this endpoint.
68+
*/
4569
Collection<EndpointPropertiesSubnetsItem> subnets();
4670

47-
/** @return custom headers associated with the endpoint as key-value pair. */
71+
/**
72+
* Gets custom headers associated with the endpoint as key-value pair.
73+
*
74+
* @return custom headers associated with the endpoint as key-value pair.
75+
*/
4876
Map<String, String> customHeaders();
4977

5078
/**

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/TrafficManagerExternalEndpoint.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@
77

88
/** An immutable client-side representation of an Azure traffic manager profile external endpoint. */
99
public interface TrafficManagerExternalEndpoint extends TrafficManagerEndpoint {
10-
/** @return the fully qualified DNS name of the external endpoint */
10+
/**
11+
* Gets the fully qualified DNS name of the external endpoint.
12+
*
13+
* @return the fully qualified DNS name of the external endpoint
14+
*/
1115
String fqdn();
1216

13-
/** @return the location of the traffic that the endpoint handles */
17+
/**
18+
* Gets the location of the traffic that the endpoint handles.
19+
*
20+
* @return the location of the traffic that the endpoint handles
21+
*/
1422
Region sourceTrafficLocation();
1523
}

sdk/resourcemanager/azure-resourcemanager-trafficmanager/src/main/java/com/azure/resourcemanager/trafficmanager/models/TrafficManagerNestedProfileEndpoint.java

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,24 @@
77

88
/** An immutable client-side representation of an Azure traffic manager profile nested profile endpoint. */
99
public interface TrafficManagerNestedProfileEndpoint extends TrafficManagerEndpoint {
10-
/** @return the nested traffic manager profile resource id */
10+
/**
11+
* Gets the nested traffic manager profile resource id.
12+
*
13+
* @return the nested traffic manager profile resource id
14+
*/
1115
String nestedProfileId();
1216

13-
/** @return the number of child endpoints to be online to consider nested profile as healthy */
17+
/**
18+
* Gets the number of child endpoints to be online to consider nested profile as healthy.
19+
*
20+
* @return the number of child endpoints to be online to consider nested profile as healthy
21+
*/
1422
long minimumChildEndpointCount();
1523

16-
/** @return the location of the traffic that the endpoint handles */
24+
/**
25+
* Gets the location of the traffic that the endpoint handles.
26+
*
27+
* @return the location of the traffic that the endpoint handles
28+
*/
1729
Region sourceTrafficLocation();
1830
}

0 commit comments

Comments
 (0)