Interface FirewallPoliciesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<FirewallPolicyInner>,InnerSupportsListing<FirewallPolicyInner>
public interface FirewallPoliciesClient
extends InnerSupportsGet<FirewallPolicyInner>, InnerSupportsListing<FirewallPolicyInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in FirewallPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyInner>, FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified Firewall Policy.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyInner>, FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, com.azure.core.util.Context context) Creates or updates the specified Firewall Policy.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FirewallPolicyInner>, FirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified Firewall Policy.beginDelete(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.beginDelete(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Deletes the specified Firewall Policy.beginDeleteAsync(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified Firewall Policy.createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, com.azure.core.util.Context context) Creates or updates the specified Firewall Policy.createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified Firewall Policy.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified Firewall Policy.voidDeletes the specified Firewall Policy.voidDeletes the specified Firewall Policy.deleteAsync(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.getByResourceGroup(String resourceGroupName, String firewallPolicyName) Gets the specified Firewall Policy.getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName) Gets the specified Firewall Policy.com.azure.core.http.rest.Response<FirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String firewallPolicyName, String expand, com.azure.core.util.Context context) Gets the specified Firewall Policy.Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String firewallPolicyName, String expand) Gets the specified Firewall Policy.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list()Gets all the Firewall Policies in a subscription.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list(com.azure.core.util.Context context) Gets all the Firewall Policies in a subscription.com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> Gets all the Firewall Policies in a subscription.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName) Lists all Firewall Policies in a resource group.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all Firewall Policies in a resource group.com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName) Lists all Firewall Policies in a resource group.updateTags(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.updateTagsAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.com.azure.core.http.rest.Response<FirewallPolicyInner> updateTagsWithResponse(String resourceGroupName, String firewallPolicyName, TagsObject parameters, com.azure.core.util.Context context) Updates tags of a Azure Firewall Policy resource.Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName) Deletes the specified Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Deletes the specified 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:
- the
SyncPollerfor polling of long-running operation. - 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
Deletes the specified Firewall 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.
-
delete
Deletes the specified Firewall 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.
-
delete
void delete(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context) Deletes the specified 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.- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String firewallPolicyName, String expand) Gets the specified Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.expand- Expands referenced resources.- Returns:
- the specified 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.
-
getByResourceGroupAsync
Mono<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName) Gets the specified Firewall Policy.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<FirewallPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- the specified 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<FirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String firewallPolicyName, String expand, com.azure.core.util.Context context) Gets the specified Firewall Policy.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified 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.
-
getByResourceGroup
Gets the specified Firewall Policy.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<FirewallPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.- Returns:
- the specified 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified 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 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified 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 operation.- Returns:
- the
PollerFluxfor polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified 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 operation.- Returns:
- the
SyncPollerfor polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, com.azure.core.util.Context context) Creates or updates the specified 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 operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of 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.
-
createOrUpdateAsync
Mono<FirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified 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 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.
-
createOrUpdate
FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters) Creates or updates the specified 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 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.
-
createOrUpdate
FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, com.azure.core.util.Context context) Creates or updates the specified 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 operation.context- The context to associate with this 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to update Azure Firewall Policy tags.- 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.
-
updateTagsAsync
Mono<FirewallPolicyInner> updateTagsAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to update Azure Firewall Policy tags.- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<FirewallPolicyInner> updateTagsWithResponse(String resourceGroupName, String firewallPolicyName, TagsObject parameters, com.azure.core.util.Context context) Updates tags of a Azure Firewall Policy resource.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to update Azure Firewall Policy tags.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.
-
updateTags
FirewallPolicyInner updateTags(String resourceGroupName, String firewallPolicyName, TagsObject parameters) Updates tags of a Azure Firewall Policy resource.- Parameters:
resourceGroupName- The name of the resource group.firewallPolicyName- The name of the Firewall Policy.parameters- Parameters supplied to update Azure Firewall Policy tags.- 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName) Lists all Firewall Policies in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<FirewallPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for ListFirewallPolicies API service call as paginated response with
PagedFlux. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName) Lists all Firewall Policies in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<FirewallPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for ListFirewallPolicies API service call as paginated response with
PagedIterable. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all Firewall Policies in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- response for ListFirewallPolicies API service call as paginated response with
PagedIterable. - 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listAsync()Gets all the Firewall Policies in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<FirewallPolicyInner>- Returns:
- all the Firewall Policies in a subscription as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list()Gets all the Firewall Policies in a subscription.- Specified by:
listin interfaceInnerSupportsListing<FirewallPolicyInner>- Returns:
- all the Firewall Policies in a subscription as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list(com.azure.core.util.Context context) Gets all the Firewall Policies in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the Firewall Policies in a subscription as paginated response with
PagedIterable. - 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.
-