FirewallPoliciesClient Interface

Implements

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 Type Method and Description
abstract SyncPoller<PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters)

Creates or updates the specified Firewall Policy.

abstract SyncPoller<PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, Context context)

Creates or updates the specified Firewall Policy.

abstract PollerFlux<PollResult<FirewallPolicyInner>,FirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters)

Creates or updates the specified Firewall Policy.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName, Context context)

Deletes the specified Firewall Policy.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

abstract FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters)

Creates or updates the specified Firewall Policy.

abstract FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, Context context)

Creates or updates the specified Firewall Policy.

abstract Mono<FirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters)

Creates or updates the specified Firewall Policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters)

Creates or updates the specified Firewall Policy.

abstract void delete(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

abstract void delete(String resourceGroupName, String firewallPolicyName, Context context)

Deletes the specified Firewall Policy.

abstract Mono<Void> deleteAsync(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

abstract FirewallPolicyInner getByResourceGroup(String resourceGroupName, String firewallPolicyName)

Gets the specified Firewall Policy.

abstract Mono<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName)

Gets the specified Firewall Policy.

abstract Response<FirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String firewallPolicyName, String expand, Context context)

Gets the specified Firewall Policy.

abstract Mono<Response<FirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String firewallPolicyName, String expand)

Gets the specified Firewall Policy.

abstract PagedIterable<FirewallPolicyInner> list()

Gets all the Firewall Policies in a subscription.

abstract PagedIterable<FirewallPolicyInner> list(Context context)

Gets all the Firewall Policies in a subscription.

abstract PagedFlux<FirewallPolicyInner> listAsync()

Gets all the Firewall Policies in a subscription.

abstract PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName)

Lists all Firewall Policies in a resource group.

abstract PagedIterable<FirewallPolicyInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all Firewall Policies in a resource group.

abstract PagedFlux<FirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)

Lists all Firewall Policies in a resource group.

abstract FirewallPolicyInner updateTags(String resourceGroupName, String firewallPolicyName, TagsObject parameters)

Updates tags of a Azure Firewall Policy resource.

abstract Mono<FirewallPolicyInner> updateTagsAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters)

Updates tags of a Azure Firewall Policy resource.

abstract Response<FirewallPolicyInner> updateTagsWithResponse(String resourceGroupName, String firewallPolicyName, TagsObject parameters, Context context)

Updates tags of a Azure Firewall Policy resource.

abstract Mono<Response<FirewallPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String firewallPolicyName, TagsObject parameters)

Updates tags of a Azure Firewall Policy resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of firewallPolicy Resource.

beginCreateOrUpdate

public abstract SyncPoller,FirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, 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 SyncPoller<T,U> for polling of firewallPolicy Resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of firewallPolicy Resource.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String firewallPolicyName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyInner parameters, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String firewallPolicyName)

Deletes the specified Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

delete

public abstract void delete(String resourceGroupName, String firewallPolicyName, 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

getByResourceGroup

public abstract FirewallPolicyInner getByResourceGroup(String resourceGroupName, String firewallPolicyName)

Gets the specified Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

the specified Firewall Policy.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName)

Gets the specified Firewall Policy.

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.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String firewallPolicyName, String expand, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets all the Firewall Policies in a subscription.

Returns:

all the Firewall Policies in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(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<T>.

listAsync

public abstract PagedFlux listAsync()

Gets all the Firewall Policies in a subscription.

Returns:

all the Firewall Policies in a subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all Firewall Policies in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

response for ListFirewallPolicies API service call as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all Firewall Policies in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

response for ListFirewallPolicies API service call as paginated response with PagedFlux<T>.

updateTags

public abstract 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.

updateTagsAsync

public abstract Mono 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.

updateTagsWithResponse

public abstract Response updateTagsWithResponse(String resourceGroupName, String firewallPolicyName, TagsObject parameters, 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<T>.

updateTagsWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

Applies to