WebApplicationFirewallPolicies interface

Interface representing a WebApplicationFirewallPolicies.

Methods

beginDelete(string, string, WebApplicationFirewallPoliciesDeleteOptionalParams)

Deletes Policy.

beginDeleteAndWait(string, string, WebApplicationFirewallPoliciesDeleteOptionalParams)

Deletes Policy.

createOrUpdate(string, string, WebApplicationFirewallPolicy, WebApplicationFirewallPoliciesCreateOrUpdateOptionalParams)

Creates or update policy with specified rule set name within a resource group.

get(string, string, WebApplicationFirewallPoliciesGetOptionalParams)

Retrieve protection policy with specified name within a resource group.

list(string, WebApplicationFirewallPoliciesListOptionalParams)

Lists all of the protection policies within a resource group.

listAll(WebApplicationFirewallPoliciesListAllOptionalParams)

Gets all the WAF policies in a subscription.

Method Details

beginDelete(string, string, WebApplicationFirewallPoliciesDeleteOptionalParams)

Deletes Policy.

function beginDelete(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

policyName

string

The name of the policy.

options
WebApplicationFirewallPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, WebApplicationFirewallPoliciesDeleteOptionalParams)

Deletes Policy.

function beginDeleteAndWait(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

policyName

string

The name of the policy.

options
WebApplicationFirewallPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, WebApplicationFirewallPolicy, WebApplicationFirewallPoliciesCreateOrUpdateOptionalParams)

Creates or update policy with specified rule set name within a resource group.

function createOrUpdate(resourceGroupName: string, policyName: string, parameters: WebApplicationFirewallPolicy, options?: WebApplicationFirewallPoliciesCreateOrUpdateOptionalParams): Promise<WebApplicationFirewallPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

policyName

string

The name of the policy.

parameters
WebApplicationFirewallPolicy

Policy to be created.

Returns

get(string, string, WebApplicationFirewallPoliciesGetOptionalParams)

Retrieve protection policy with specified name within a resource group.

function get(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesGetOptionalParams): Promise<WebApplicationFirewallPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

policyName

string

The name of the policy.

options
WebApplicationFirewallPoliciesGetOptionalParams

The options parameters.

Returns

list(string, WebApplicationFirewallPoliciesListOptionalParams)

Lists all of the protection policies within a resource group.

function list(resourceGroupName: string, options?: WebApplicationFirewallPoliciesListOptionalParams): PagedAsyncIterableIterator<WebApplicationFirewallPolicy, WebApplicationFirewallPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
WebApplicationFirewallPoliciesListOptionalParams

The options parameters.

Returns

listAll(WebApplicationFirewallPoliciesListAllOptionalParams)

Gets all the WAF policies in a subscription.

function listAll(options?: WebApplicationFirewallPoliciesListAllOptionalParams): PagedAsyncIterableIterator<WebApplicationFirewallPolicy, WebApplicationFirewallPolicy[], PageSettings>

Parameters

options
WebApplicationFirewallPoliciesListAllOptionalParams

The options parameters.

Returns