Interface FirewallPolicyDraftsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in FirewallPolicyDraftsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.com.azure.core.http.rest.Response<FirewallPolicyDraftInner> createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters, com.azure.core.util.Context context) Create or update a draft Firewall Policy.Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.voidDelete a draft policy.deleteAsync(String resourceGroupName, String firewallPolicyName) Delete a draft policy.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Delete a draft policy.deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) Delete a draft policy.Get a draft Firewall Policy.Get a draft Firewall Policy.com.azure.core.http.rest.Response<FirewallPolicyDraftInner> getWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Get a draft Firewall Policy.Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> getWithResponseAsync(String resourceGroupName, String firewallPolicyName) Get a draft Firewall Policy.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to the create or update Firewall Policy Draft operation.- Returns:
- firewallPolicy Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<FirewallPolicyDraftInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to the create or update Firewall Policy Draft operation.- Returns:
- firewallPolicy Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<FirewallPolicyDraftInner> createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters, com.azure.core.util.Context context) Create or update a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to the create or update Firewall Policy Draft operation.context- The context to associate with this operation.- Returns:
- firewallPolicy Resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters) Create or update a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to the create or update Firewall Policy Draft operation.- Returns:
- firewallPolicy Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) Delete a draft policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Delete a draft policy.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Delete a draft policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a draft policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> getWithResponseAsync(String resourceGroupName, String firewallPolicyName) Get a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- a draft Firewall Policy along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Get a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- a draft Firewall Policy on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<FirewallPolicyDraftInner> getWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Get a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.context- The context to associate with this operation.- Returns:
- a draft Firewall Policy along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a draft Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- a draft Firewall Policy.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-