14
14
import com .azure .core .util .polling .PollerFlux ;
15
15
import com .azure .core .util .polling .SyncPoller ;
16
16
import com .azure .resourcemanager .network .fluent .models .AzureFirewallInner ;
17
+ import com .azure .resourcemanager .network .models .TagsObject ;
17
18
import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsDelete ;
18
19
import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsGet ;
19
20
import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsListing ;
20
21
import java .nio .ByteBuffer ;
21
- import java .util .Map ;
22
22
import reactor .core .publisher .Flux ;
23
23
import reactor .core .publisher .Mono ;
24
24
@@ -283,52 +283,52 @@ AzureFirewallInner createOrUpdate(
283
283
*
284
284
* @param resourceGroupName The name of the resource group.
285
285
* @param azureFirewallName The name of the Azure Firewall.
286
- * @param tags Resource tags.
286
+ * @param parameters Parameters supplied to update azure firewall tags.
287
287
* @throws IllegalArgumentException thrown if parameters fail the validation.
288
288
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
289
289
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
290
290
* @return azure Firewall resource.
291
291
*/
292
292
@ ServiceMethod (returns = ReturnType .SINGLE )
293
293
Mono <Response <Flux <ByteBuffer >>> updateTagsWithResponseAsync (
294
- String resourceGroupName , String azureFirewallName , Map < String , String > tags );
294
+ String resourceGroupName , String azureFirewallName , TagsObject parameters );
295
295
296
296
/**
297
297
* Updates tags of an Azure Firewall resource.
298
298
*
299
299
* @param resourceGroupName The name of the resource group.
300
300
* @param azureFirewallName The name of the Azure Firewall.
301
- * @param tags Resource tags.
301
+ * @param parameters Parameters supplied to update azure firewall tags.
302
302
* @throws IllegalArgumentException thrown if parameters fail the validation.
303
303
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
304
304
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
305
305
* @return azure Firewall resource.
306
306
*/
307
307
@ ServiceMethod (returns = ReturnType .SINGLE )
308
308
PollerFlux <PollResult <AzureFirewallInner >, AzureFirewallInner > beginUpdateTagsAsync (
309
- String resourceGroupName , String azureFirewallName , Map < String , String > tags );
309
+ String resourceGroupName , String azureFirewallName , TagsObject parameters );
310
310
311
311
/**
312
312
* Updates tags of an Azure Firewall resource.
313
313
*
314
314
* @param resourceGroupName The name of the resource group.
315
315
* @param azureFirewallName The name of the Azure Firewall.
316
- * @param tags Resource tags.
316
+ * @param parameters Parameters supplied to update azure firewall tags.
317
317
* @throws IllegalArgumentException thrown if parameters fail the validation.
318
318
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
319
319
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
320
320
* @return azure Firewall resource.
321
321
*/
322
322
@ ServiceMethod (returns = ReturnType .SINGLE )
323
323
SyncPoller <PollResult <AzureFirewallInner >, AzureFirewallInner > beginUpdateTags (
324
- String resourceGroupName , String azureFirewallName , Map < String , String > tags );
324
+ String resourceGroupName , String azureFirewallName , TagsObject parameters );
325
325
326
326
/**
327
327
* Updates tags of an Azure Firewall resource.
328
328
*
329
329
* @param resourceGroupName The name of the resource group.
330
330
* @param azureFirewallName The name of the Azure Firewall.
331
- * @param tags Resource tags.
331
+ * @param parameters Parameters supplied to update azure firewall tags.
332
332
* @param context The context to associate with this operation.
333
333
* @throws IllegalArgumentException thrown if parameters fail the validation.
334
334
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -337,69 +337,42 @@ SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginUpdateTags(
337
337
*/
338
338
@ ServiceMethod (returns = ReturnType .SINGLE )
339
339
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 );
341
341
342
342
/**
343
343
* Updates tags of an Azure Firewall resource.
344
344
*
345
345
* @param resourceGroupName The name of the resource group.
346
346
* @param azureFirewallName The name of the Azure Firewall.
347
- * @param tags Resource tags.
347
+ * @param parameters Parameters supplied to update azure firewall tags.
348
348
* @throws IllegalArgumentException thrown if parameters fail the validation.
349
349
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
350
350
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
351
351
* @return azure Firewall resource.
352
352
*/
353
353
@ 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 );
356
355
357
356
/**
358
357
* Updates tags of an Azure Firewall resource.
359
358
*
360
359
* @param resourceGroupName The name of the resource group.
361
360
* @param azureFirewallName The name of the Azure Firewall.
361
+ * @param parameters Parameters supplied to update azure firewall tags.
362
362
* @throws IllegalArgumentException thrown if parameters fail the validation.
363
363
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
364
364
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
365
365
* @return azure Firewall resource.
366
366
*/
367
367
@ ServiceMethod (returns = ReturnType .SINGLE )
368
- Mono < AzureFirewallInner > updateTagsAsync (String resourceGroupName , String azureFirewallName );
368
+ AzureFirewallInner updateTags (String resourceGroupName , String azureFirewallName , TagsObject parameters );
369
369
370
370
/**
371
371
* Updates tags of an Azure Firewall resource.
372
372
*
373
373
* @param resourceGroupName The name of the resource group.
374
374
* @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.
403
376
* @param context The context to associate with this operation.
404
377
* @throws IllegalArgumentException thrown if parameters fail the validation.
405
378
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -408,7 +381,7 @@ Mono<AzureFirewallInner> updateTagsAsync(
408
381
*/
409
382
@ ServiceMethod (returns = ReturnType .SINGLE )
410
383
AzureFirewallInner updateTags (
411
- String resourceGroupName , String azureFirewallName , Map < String , String > tags , Context context );
384
+ String resourceGroupName , String azureFirewallName , TagsObject parameters , Context context );
412
385
413
386
/**
414
387
* Lists all Azure Firewalls in a resource group.
0 commit comments