Skip to content

Commit fbbc340

Browse files
authored
mgmt, local generation for Microsoft.Network 2024-05-01 (#43233)
* Code Generation * Change log * Record session
1 parent 6ee2794 commit fbbc340

File tree

897 files changed

+20286
-2612
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

897 files changed

+20286
-2612
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"dir": "azure-resourcemanager-network",
182182
"source": "specification/network/resource-manager/readme.md",
183183
"package": "com.azure.resourcemanager.network",
184-
"args": "--tag=package-2024-03 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener",
184+
"args": "--tag=package-2024-05 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener",
185185
"note": "Run DeprecateApplicationGatewaySku to deprecate v1 sku/tier in ApplicationGatewaySku."
186186
},
187187
"network-hybrid": {

sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
## 2.46.0-beta.1 (Unreleased)
44

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` to `2024-05-01`.
1210

1311
## 2.45.0 (2024-11-28)
1412

sdk/resourcemanager/azure-resourcemanager-network/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/resourcemanager/azure-resourcemanager-network",
5-
"Tag": "java/resourcemanager/azure-resourcemanager-network_34df1bcb86"
5+
"Tag": "java/resourcemanager/azure-resourcemanager-network_6e717c9a12"
66
}

sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
import com.azure.core.util.polling.PollerFlux;
1515
import com.azure.core.util.polling.SyncPoller;
1616
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitInner;
17+
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitStatsInner;
1718
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsArpTableListResultInner;
1819
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsRoutesTableListResultInner;
1920
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsRoutesTableSummaryListResultInner;
20-
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitStatsInner;
2121
import com.azure.resourcemanager.network.models.TagsObject;
2222
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
2323
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;

sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java

Lines changed: 532 additions & 0 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99
import com.azure.core.http.rest.PagedFlux;
1010
import com.azure.core.http.rest.PagedIterable;
1111
import com.azure.core.http.rest.Response;
12+
import com.azure.core.management.polling.PollResult;
1213
import com.azure.core.util.Context;
14+
import com.azure.core.util.polling.PollerFlux;
15+
import com.azure.core.util.polling.SyncPoller;
16+
import com.azure.resourcemanager.network.fluent.models.LoadBalancerHealthPerRuleInner;
1317
import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner;
18+
import java.nio.ByteBuffer;
19+
import reactor.core.publisher.Flux;
1420
import reactor.core.publisher.Mono;
1521

1622
/**
@@ -117,4 +123,111 @@ Response<LoadBalancingRuleInner> getWithResponse(String resourceGroupName, Strin
117123
*/
118124
@ServiceMethod(returns = ReturnType.SINGLE)
119125
LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName);
126+
127+
/**
128+
* Get health details of a load balancing rule.
129+
*
130+
* @param groupName The name of the resource group.
131+
* @param loadBalancerName The name of the load balancer.
132+
* @param loadBalancingRuleName The name of the load balancing rule.
133+
* @throws IllegalArgumentException thrown if parameters fail the validation.
134+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
135+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
136+
* @return health details of a load balancing rule along with {@link Response} on successful completion of
137+
* {@link Mono}.
138+
*/
139+
@ServiceMethod(returns = ReturnType.SINGLE)
140+
Mono<Response<Flux<ByteBuffer>>> healthWithResponseAsync(String groupName, String loadBalancerName,
141+
String loadBalancingRuleName);
142+
143+
/**
144+
* Get health details of a load balancing rule.
145+
*
146+
* @param groupName The name of the resource group.
147+
* @param loadBalancerName The name of the load balancer.
148+
* @param loadBalancingRuleName The name of the load balancing rule.
149+
* @throws IllegalArgumentException thrown if parameters fail the validation.
150+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
151+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152+
* @return the {@link PollerFlux} for polling of health details of a load balancing rule.
153+
*/
154+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
155+
PollerFlux<PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner>
156+
beginHealthAsync(String groupName, String loadBalancerName, String loadBalancingRuleName);
157+
158+
/**
159+
* Get health details of a load balancing rule.
160+
*
161+
* @param groupName The name of the resource group.
162+
* @param loadBalancerName The name of the load balancer.
163+
* @param loadBalancingRuleName The name of the load balancing rule.
164+
* @throws IllegalArgumentException thrown if parameters fail the validation.
165+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
166+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
167+
* @return the {@link SyncPoller} for polling of health details of a load balancing rule.
168+
*/
169+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
170+
SyncPoller<PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner> beginHealth(String groupName,
171+
String loadBalancerName, String loadBalancingRuleName);
172+
173+
/**
174+
* Get health details of a load balancing rule.
175+
*
176+
* @param groupName The name of the resource group.
177+
* @param loadBalancerName The name of the load balancer.
178+
* @param loadBalancingRuleName The name of the load balancing rule.
179+
* @param context The context to associate with this operation.
180+
* @throws IllegalArgumentException thrown if parameters fail the validation.
181+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
182+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
183+
* @return the {@link SyncPoller} for polling of health details of a load balancing rule.
184+
*/
185+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
186+
SyncPoller<PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner> beginHealth(String groupName,
187+
String loadBalancerName, String loadBalancingRuleName, Context context);
188+
189+
/**
190+
* Get health details of a load balancing rule.
191+
*
192+
* @param groupName The name of the resource group.
193+
* @param loadBalancerName The name of the load balancer.
194+
* @param loadBalancingRuleName The name of the load balancing rule.
195+
* @throws IllegalArgumentException thrown if parameters fail the validation.
196+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
197+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
198+
* @return health details of a load balancing rule on successful completion of {@link Mono}.
199+
*/
200+
@ServiceMethod(returns = ReturnType.SINGLE)
201+
Mono<LoadBalancerHealthPerRuleInner> healthAsync(String groupName, String loadBalancerName,
202+
String loadBalancingRuleName);
203+
204+
/**
205+
* Get health details of a load balancing rule.
206+
*
207+
* @param groupName The name of the resource group.
208+
* @param loadBalancerName The name of the load balancer.
209+
* @param loadBalancingRuleName The name of the load balancing rule.
210+
* @throws IllegalArgumentException thrown if parameters fail the validation.
211+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
212+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
213+
* @return health details of a load balancing rule.
214+
*/
215+
@ServiceMethod(returns = ReturnType.SINGLE)
216+
LoadBalancerHealthPerRuleInner health(String groupName, String loadBalancerName, String loadBalancingRuleName);
217+
218+
/**
219+
* Get health details of a load balancing rule.
220+
*
221+
* @param groupName The name of the resource group.
222+
* @param loadBalancerName The name of the load balancer.
223+
* @param loadBalancingRuleName The name of the load balancing rule.
224+
* @param context The context to associate with this operation.
225+
* @throws IllegalArgumentException thrown if parameters fail the validation.
226+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
227+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
228+
* @return health details of a load balancing rule.
229+
*/
230+
@ServiceMethod(returns = ReturnType.SINGLE)
231+
LoadBalancerHealthPerRuleInner health(String groupName, String loadBalancerName, String loadBalancingRuleName,
232+
Context context);
120233
}

0 commit comments

Comments
 (0)