1414import com .azure .core .util .polling .PollerFlux ;
1515import com .azure .core .util .polling .SyncPoller ;
1616import com .azure .resourcemanager .network .fluent .models .AzureFirewallInner ;
17+ import com .azure .resourcemanager .network .models .TagsObject ;
1718import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsDelete ;
1819import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsGet ;
1920import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsListing ;
2021import java .nio .ByteBuffer ;
21- import java .util .Map ;
2222import reactor .core .publisher .Flux ;
2323import 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