Skip to content

Commit 3725693

Browse files
mgmt, regen network (Azure#23770)
* regen * change in impl for payload-flatten=false * update test, as soft-delete in vault is default * changelog
1 parent 5180d09 commit 3725693

File tree

407 files changed

+39147
-16102
lines changed

Some content is hidden

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

407 files changed

+39147
-16102
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
### Features Added
66

7-
- Supported `LoadBalancerOutboundRule` for `LoadBalancer`
7+
- Supported `LoadBalancerOutboundRule` for `LoadBalancer`.
8+
9+
### Breaking Changes
10+
11+
- Removed unused class `NetworkOperationStatus`, `VirtualHubEffectiveRoute`.
812

913
## 2.7.0 (2021-08-12)
1014

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

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner;
2121
import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyInner;
2222
import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe;
23+
import com.azure.resourcemanager.network.models.TagsObject;
2324
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
2425
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
2526
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
2627
import java.nio.ByteBuffer;
2728
import java.util.List;
28-
import java.util.Map;
2929
import reactor.core.publisher.Flux;
3030
import reactor.core.publisher.Mono;
3131

@@ -293,63 +293,51 @@ ApplicationGatewayInner createOrUpdate(
293293
*
294294
* @param resourceGroupName The name of the resource group.
295295
* @param applicationGatewayName The name of the application gateway.
296-
* @param tags Resource tags.
296+
* @param parameters Parameters supplied to update application gateway tags.
297297
* @throws IllegalArgumentException thrown if parameters fail the validation.
298298
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
299299
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
300300
* @return application gateway resource.
301301
*/
302302
@ServiceMethod(returns = ReturnType.SINGLE)
303303
Mono<Response<ApplicationGatewayInner>> updateTagsWithResponseAsync(
304-
String resourceGroupName, String applicationGatewayName, Map<String, String> tags);
304+
String resourceGroupName, String applicationGatewayName, TagsObject parameters);
305305

306306
/**
307307
* Updates the specified application gateway tags.
308308
*
309309
* @param resourceGroupName The name of the resource group.
310310
* @param applicationGatewayName The name of the application gateway.
311-
* @param tags Resource tags.
311+
* @param parameters Parameters supplied to update application gateway tags.
312312
* @throws IllegalArgumentException thrown if parameters fail the validation.
313313
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
314314
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
315315
* @return application gateway resource.
316316
*/
317317
@ServiceMethod(returns = ReturnType.SINGLE)
318318
Mono<ApplicationGatewayInner> updateTagsAsync(
319-
String resourceGroupName, String applicationGatewayName, Map<String, String> tags);
319+
String resourceGroupName, String applicationGatewayName, TagsObject parameters);
320320

321321
/**
322322
* Updates the specified application gateway tags.
323323
*
324324
* @param resourceGroupName The name of the resource group.
325325
* @param applicationGatewayName The name of the application gateway.
326+
* @param parameters Parameters supplied to update application gateway tags.
326327
* @throws IllegalArgumentException thrown if parameters fail the validation.
327328
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
328329
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
329330
* @return application gateway resource.
330331
*/
331332
@ServiceMethod(returns = ReturnType.SINGLE)
332-
Mono<ApplicationGatewayInner> updateTagsAsync(String resourceGroupName, String applicationGatewayName);
333+
ApplicationGatewayInner updateTags(String resourceGroupName, String applicationGatewayName, TagsObject parameters);
333334

334335
/**
335336
* Updates the specified application gateway tags.
336337
*
337338
* @param resourceGroupName The name of the resource group.
338339
* @param applicationGatewayName The name of the application gateway.
339-
* @throws IllegalArgumentException thrown if parameters fail the validation.
340-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
341-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
342-
* @return application gateway resource.
343-
*/
344-
@ServiceMethod(returns = ReturnType.SINGLE)
345-
ApplicationGatewayInner updateTags(String resourceGroupName, String applicationGatewayName);
346-
347-
/**
348-
* Updates the specified application gateway tags.
349-
*
350-
* @param resourceGroupName The name of the resource group.
351-
* @param applicationGatewayName The name of the application gateway.
352-
* @param tags Resource tags.
340+
* @param parameters Parameters supplied to update application gateway tags.
353341
* @param context The context to associate with this operation.
354342
* @throws IllegalArgumentException thrown if parameters fail the validation.
355343
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -358,7 +346,7 @@ Mono<ApplicationGatewayInner> updateTagsAsync(
358346
*/
359347
@ServiceMethod(returns = ReturnType.SINGLE)
360348
Response<ApplicationGatewayInner> updateTagsWithResponse(
361-
String resourceGroupName, String applicationGatewayName, Map<String, String> tags, Context context);
349+
String resourceGroupName, String applicationGatewayName, TagsObject parameters, Context context);
362350

363351
/**
364352
* Lists all application gateways in a resource group.

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

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
import com.azure.core.util.polling.PollerFlux;
1515
import com.azure.core.util.polling.SyncPoller;
1616
import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner;
17+
import com.azure.resourcemanager.network.models.TagsObject;
1718
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
1819
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
1920
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
2021
import java.nio.ByteBuffer;
21-
import java.util.Map;
2222
import reactor.core.publisher.Flux;
2323
import reactor.core.publisher.Mono;
2424

@@ -294,63 +294,52 @@ ApplicationSecurityGroupInner createOrUpdate(
294294
*
295295
* @param resourceGroupName The name of the resource group.
296296
* @param applicationSecurityGroupName The name of the application security group.
297-
* @param tags Resource tags.
297+
* @param parameters Parameters supplied to update application security group tags.
298298
* @throws IllegalArgumentException thrown if parameters fail the validation.
299299
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
300300
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
301301
* @return an application security group in a resource group.
302302
*/
303303
@ServiceMethod(returns = ReturnType.SINGLE)
304304
Mono<Response<ApplicationSecurityGroupInner>> updateTagsWithResponseAsync(
305-
String resourceGroupName, String applicationSecurityGroupName, Map<String, String> tags);
305+
String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters);
306306

307307
/**
308308
* Updates an application security group's tags.
309309
*
310310
* @param resourceGroupName The name of the resource group.
311311
* @param applicationSecurityGroupName The name of the application security group.
312-
* @param tags Resource tags.
312+
* @param parameters Parameters supplied to update application security group tags.
313313
* @throws IllegalArgumentException thrown if parameters fail the validation.
314314
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
315315
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
316316
* @return an application security group in a resource group.
317317
*/
318318
@ServiceMethod(returns = ReturnType.SINGLE)
319319
Mono<ApplicationSecurityGroupInner> updateTagsAsync(
320-
String resourceGroupName, String applicationSecurityGroupName, Map<String, String> tags);
320+
String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters);
321321

322322
/**
323323
* Updates an application security group's tags.
324324
*
325325
* @param resourceGroupName The name of the resource group.
326326
* @param applicationSecurityGroupName The name of the application security group.
327+
* @param parameters Parameters supplied to update application security group tags.
327328
* @throws IllegalArgumentException thrown if parameters fail the validation.
328329
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
329330
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
330331
* @return an application security group in a resource group.
331332
*/
332333
@ServiceMethod(returns = ReturnType.SINGLE)
333-
Mono<ApplicationSecurityGroupInner> updateTagsAsync(String resourceGroupName, String applicationSecurityGroupName);
334+
ApplicationSecurityGroupInner updateTags(
335+
String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters);
334336

335337
/**
336338
* Updates an application security group's tags.
337339
*
338340
* @param resourceGroupName The name of the resource group.
339341
* @param applicationSecurityGroupName The name of the application security group.
340-
* @throws IllegalArgumentException thrown if parameters fail the validation.
341-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
342-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
343-
* @return an application security group in a resource group.
344-
*/
345-
@ServiceMethod(returns = ReturnType.SINGLE)
346-
ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applicationSecurityGroupName);
347-
348-
/**
349-
* Updates an application security group's tags.
350-
*
351-
* @param resourceGroupName The name of the resource group.
352-
* @param applicationSecurityGroupName The name of the application security group.
353-
* @param tags Resource tags.
342+
* @param parameters Parameters supplied to update application security group tags.
354343
* @param context The context to associate with this operation.
355344
* @throws IllegalArgumentException thrown if parameters fail the validation.
356345
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -359,7 +348,7 @@ Mono<ApplicationSecurityGroupInner> updateTagsAsync(
359348
*/
360349
@ServiceMethod(returns = ReturnType.SINGLE)
361350
Response<ApplicationSecurityGroupInner> updateTagsWithResponse(
362-
String resourceGroupName, String applicationSecurityGroupName, Map<String, String> tags, Context context);
351+
String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters, Context context);
363352

364353
/**
365354
* Gets all application security groups in a subscription.

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

Lines changed: 15 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
import com.azure.core.util.polling.PollerFlux;
1515
import com.azure.core.util.polling.SyncPoller;
1616
import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner;
17+
import com.azure.resourcemanager.network.models.TagsObject;
1718
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
1819
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
1920
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
2021
import java.nio.ByteBuffer;
21-
import java.util.Map;
2222
import reactor.core.publisher.Flux;
2323
import reactor.core.publisher.Mono;
2424

@@ -283,52 +283,52 @@ AzureFirewallInner createOrUpdate(
283283
*
284284
* @param resourceGroupName The name of the resource group.
285285
* @param azureFirewallName The name of the Azure Firewall.
286-
* @param tags Resource tags.
286+
* @param parameters Parameters supplied to update azure firewall tags.
287287
* @throws IllegalArgumentException thrown if parameters fail the validation.
288288
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
289289
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
290290
* @return azure Firewall resource.
291291
*/
292292
@ServiceMethod(returns = ReturnType.SINGLE)
293293
Mono<Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(
294-
String resourceGroupName, String azureFirewallName, Map<String, String> tags);
294+
String resourceGroupName, String azureFirewallName, TagsObject parameters);
295295

296296
/**
297297
* Updates tags of an Azure Firewall resource.
298298
*
299299
* @param resourceGroupName The name of the resource group.
300300
* @param azureFirewallName The name of the Azure Firewall.
301-
* @param tags Resource tags.
301+
* @param parameters Parameters supplied to update azure firewall tags.
302302
* @throws IllegalArgumentException thrown if parameters fail the validation.
303303
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
304304
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
305305
* @return azure Firewall resource.
306306
*/
307307
@ServiceMethod(returns = ReturnType.SINGLE)
308308
PollerFlux<PollResult<AzureFirewallInner>, AzureFirewallInner> beginUpdateTagsAsync(
309-
String resourceGroupName, String azureFirewallName, Map<String, String> tags);
309+
String resourceGroupName, String azureFirewallName, TagsObject parameters);
310310

311311
/**
312312
* Updates tags of an Azure Firewall resource.
313313
*
314314
* @param resourceGroupName The name of the resource group.
315315
* @param azureFirewallName The name of the Azure Firewall.
316-
* @param tags Resource tags.
316+
* @param parameters Parameters supplied to update azure firewall tags.
317317
* @throws IllegalArgumentException thrown if parameters fail the validation.
318318
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
319319
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
320320
* @return azure Firewall resource.
321321
*/
322322
@ServiceMethod(returns = ReturnType.SINGLE)
323323
SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginUpdateTags(
324-
String resourceGroupName, String azureFirewallName, Map<String, String> tags);
324+
String resourceGroupName, String azureFirewallName, TagsObject parameters);
325325

326326
/**
327327
* Updates tags of an Azure Firewall resource.
328328
*
329329
* @param resourceGroupName The name of the resource group.
330330
* @param azureFirewallName The name of the Azure Firewall.
331-
* @param tags Resource tags.
331+
* @param parameters Parameters supplied to update azure firewall tags.
332332
* @param context The context to associate with this operation.
333333
* @throws IllegalArgumentException thrown if parameters fail the validation.
334334
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -337,69 +337,42 @@ SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginUpdateTags(
337337
*/
338338
@ServiceMethod(returns = ReturnType.SINGLE)
339339
SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginUpdateTags(
340-
String resourceGroupName, String azureFirewallName, Map<String, String> tags, Context context);
340+
String resourceGroupName, String azureFirewallName, TagsObject parameters, Context context);
341341

342342
/**
343343
* Updates tags of an Azure Firewall resource.
344344
*
345345
* @param resourceGroupName The name of the resource group.
346346
* @param azureFirewallName The name of the Azure Firewall.
347-
* @param tags Resource tags.
347+
* @param parameters Parameters supplied to update azure firewall tags.
348348
* @throws IllegalArgumentException thrown if parameters fail the validation.
349349
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
350350
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
351351
* @return azure Firewall resource.
352352
*/
353353
@ServiceMethod(returns = ReturnType.SINGLE)
354-
Mono<AzureFirewallInner> updateTagsAsync(
355-
String resourceGroupName, String azureFirewallName, Map<String, String> tags);
354+
Mono<AzureFirewallInner> updateTagsAsync(String resourceGroupName, String azureFirewallName, TagsObject parameters);
356355

357356
/**
358357
* Updates tags of an Azure Firewall resource.
359358
*
360359
* @param resourceGroupName The name of the resource group.
361360
* @param azureFirewallName The name of the Azure Firewall.
361+
* @param parameters Parameters supplied to update azure firewall tags.
362362
* @throws IllegalArgumentException thrown if parameters fail the validation.
363363
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
364364
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
365365
* @return azure Firewall resource.
366366
*/
367367
@ServiceMethod(returns = ReturnType.SINGLE)
368-
Mono<AzureFirewallInner> updateTagsAsync(String resourceGroupName, String azureFirewallName);
368+
AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters);
369369

370370
/**
371371
* Updates tags of an Azure Firewall resource.
372372
*
373373
* @param resourceGroupName The name of the resource group.
374374
* @param azureFirewallName The name of the Azure Firewall.
375-
* @param tags Resource tags.
376-
* @throws IllegalArgumentException thrown if parameters fail the validation.
377-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
378-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
379-
* @return azure Firewall resource.
380-
*/
381-
@ServiceMethod(returns = ReturnType.SINGLE)
382-
AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, Map<String, String> tags);
383-
384-
/**
385-
* Updates tags of an Azure Firewall resource.
386-
*
387-
* @param resourceGroupName The name of the resource group.
388-
* @param azureFirewallName The name of the Azure Firewall.
389-
* @throws IllegalArgumentException thrown if parameters fail the validation.
390-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
391-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
392-
* @return azure Firewall resource.
393-
*/
394-
@ServiceMethod(returns = ReturnType.SINGLE)
395-
AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName);
396-
397-
/**
398-
* Updates tags of an Azure Firewall resource.
399-
*
400-
* @param resourceGroupName The name of the resource group.
401-
* @param azureFirewallName The name of the Azure Firewall.
402-
* @param tags Resource tags.
375+
* @param parameters Parameters supplied to update azure firewall tags.
403376
* @param context The context to associate with this operation.
404377
* @throws IllegalArgumentException thrown if parameters fail the validation.
405378
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -408,7 +381,7 @@ Mono<AzureFirewallInner> updateTagsAsync(
408381
*/
409382
@ServiceMethod(returns = ReturnType.SINGLE)
410383
AzureFirewallInner updateTags(
411-
String resourceGroupName, String azureFirewallName, Map<String, String> tags, Context context);
384+
String resourceGroupName, String azureFirewallName, TagsObject parameters, Context context);
412385

413386
/**
414387
* Lists all Azure Firewalls in a resource group.

0 commit comments

Comments
 (0)