public interface FirewallPoliciesClient extends InnerSupportsGet<FirewallPolicyInner>, InnerSupportsListing<FirewallPolicyInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String firewallPolicyName)
Deletes the specified Firewall Policy.
|
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.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String firewallPolicyName)
Deletes the specified Firewall Policy.
|
FirewallPolicyInner |
createOrUpdate(String resourceGroupName,
String firewallPolicyName,
FirewallPolicyInner parameters)
Creates or updates the specified Firewall Policy.
|
FirewallPolicyInner |
createOrUpdate(String resourceGroupName,
String firewallPolicyName,
FirewallPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates the specified Firewall Policy.
|
Mono<FirewallPolicyInner> |
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.
|
void |
delete(String resourceGroupName,
String firewallPolicyName)
Deletes the specified Firewall Policy.
|
void |
delete(String resourceGroupName,
String firewallPolicyName,
com.azure.core.util.Context context)
Deletes the specified Firewall Policy.
|
Mono<Void> |
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.
|
FirewallPolicyInner |
getByResourceGroup(String resourceGroupName,
String firewallPolicyName)
Gets the specified Firewall Policy.
|
Mono<FirewallPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String firewallPolicyName)
Gets the specified Firewall Policy.
|
Mono<FirewallPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String firewallPolicyName,
String expand)
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> |
listAsync()
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.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.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)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String firewallPolicyName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.void delete(String resourceGroupName, String firewallPolicyName)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.void delete(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String firewallPolicyName, String expand)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.expand - Expands referenced resources.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.Mono<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName, String expand)
resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.expand - Expands referenced resources.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.Mono<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName)
getByResourceGroupAsync in interface InnerSupportsGet<FirewallPolicyInner>resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.FirewallPolicyInner getByResourceGroup(String resourceGroupName, String firewallPolicyName)
getByResourceGroup in interface InnerSupportsGet<FirewallPolicyInner>resourceGroupName - The name of the resource group.firewallPolicyName - The name of the Firewall Policy.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.com.azure.core.http.rest.Response<FirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String firewallPolicyName, String expand, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner 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.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner 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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner 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.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.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)
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.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.Mono<FirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner 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.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.FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner 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.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.FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<FirewallPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<FirewallPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listAsync()
listAsync in interface InnerSupportsListing<FirewallPolicyInner>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.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list()
list in interface InnerSupportsListing<FirewallPolicyInner>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.com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.