@@ -91,14 +91,31 @@ Response<AzureFirewallInner> getByResourceGroupWithResponse(String resourceGroup
9191 * @param resourceGroupName The name of the resource group. The name is case insensitive.
9292 * @param azureFirewallName The name of the Azure Firewall.
9393 * @param parameters Parameters supplied to the create or update Azure Firewall operation.
94+ * @param createAfcControlPlane When set to true, creates an AFC control plane for the Azure Firewall.
9495 * @throws IllegalArgumentException thrown if parameters fail the validation.
9596 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9697 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
9798 * @return azure Firewall resource along with {@link Response} on successful completion of {@link Mono}.
9899 */
99100 @ ServiceMethod (returns = ReturnType .SINGLE )
100101 Mono <Response <Flux <ByteBuffer >>> createOrUpdateWithResponseAsync (String resourceGroupName , String azureFirewallName ,
101- AzureFirewallInner parameters );
102+ AzureFirewallInner parameters , Boolean createAfcControlPlane );
103+
104+ /**
105+ * Creates or updates the specified Azure Firewall.
106+ *
107+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
108+ * @param azureFirewallName The name of the Azure Firewall.
109+ * @param parameters Parameters supplied to the create or update Azure Firewall operation.
110+ * @param createAfcControlPlane When set to true, creates an AFC control plane for the Azure Firewall.
111+ * @throws IllegalArgumentException thrown if parameters fail the validation.
112+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
113+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
114+ * @return the {@link PollerFlux} for polling of azure Firewall resource.
115+ */
116+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
117+ PollerFlux <PollResult <AzureFirewallInner >, AzureFirewallInner > beginCreateOrUpdateAsync (String resourceGroupName ,
118+ String azureFirewallName , AzureFirewallInner parameters , Boolean createAfcControlPlane );
102119
103120 /**
104121 * Creates or updates the specified Azure Firewall.
@@ -136,6 +153,7 @@ SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginCreateOrUpda
136153 * @param resourceGroupName The name of the resource group. The name is case insensitive.
137154 * @param azureFirewallName The name of the Azure Firewall.
138155 * @param parameters Parameters supplied to the create or update Azure Firewall operation.
156+ * @param createAfcControlPlane When set to true, creates an AFC control plane for the Azure Firewall.
139157 * @param context The context to associate with this operation.
140158 * @throws IllegalArgumentException thrown if parameters fail the validation.
141159 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -144,7 +162,23 @@ SyncPoller<PollResult<AzureFirewallInner>, AzureFirewallInner> beginCreateOrUpda
144162 */
145163 @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
146164 SyncPoller <PollResult <AzureFirewallInner >, AzureFirewallInner > beginCreateOrUpdate (String resourceGroupName ,
147- String azureFirewallName , AzureFirewallInner parameters , Context context );
165+ String azureFirewallName , AzureFirewallInner parameters , Boolean createAfcControlPlane , Context context );
166+
167+ /**
168+ * Creates or updates the specified Azure Firewall.
169+ *
170+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
171+ * @param azureFirewallName The name of the Azure Firewall.
172+ * @param parameters Parameters supplied to the create or update Azure Firewall operation.
173+ * @param createAfcControlPlane When set to true, creates an AFC control plane for the Azure Firewall.
174+ * @throws IllegalArgumentException thrown if parameters fail the validation.
175+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
176+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
177+ * @return azure Firewall resource on successful completion of {@link Mono}.
178+ */
179+ @ ServiceMethod (returns = ReturnType .SINGLE )
180+ Mono <AzureFirewallInner > createOrUpdateAsync (String resourceGroupName , String azureFirewallName ,
181+ AzureFirewallInner parameters , Boolean createAfcControlPlane );
148182
149183 /**
150184 * Creates or updates the specified Azure Firewall.
@@ -182,6 +216,7 @@ AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewall
182216 * @param resourceGroupName The name of the resource group. The name is case insensitive.
183217 * @param azureFirewallName The name of the Azure Firewall.
184218 * @param parameters Parameters supplied to the create or update Azure Firewall operation.
219+ * @param createAfcControlPlane When set to true, creates an AFC control plane for the Azure Firewall.
185220 * @param context The context to associate with this operation.
186221 * @throws IllegalArgumentException thrown if parameters fail the validation.
187222 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -190,7 +225,7 @@ AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewall
190225 */
191226 @ ServiceMethod (returns = ReturnType .SINGLE )
192227 AzureFirewallInner createOrUpdate (String resourceGroupName , String azureFirewallName , AzureFirewallInner parameters ,
193- Context context );
228+ Boolean createAfcControlPlane , Context context );
194229
195230 /**
196231 * Updates tags of an Azure Firewall resource.
0 commit comments