WebApplicationFirewallPolicies interface
Interface representing a WebApplicationFirewallPolicies.
Methods
begin |
Deletes Policy. |
begin |
Deletes Policy. |
create |
Creates or update policy with specified rule set name within a resource group. |
get(string, string, Web |
Retrieve protection policy with specified name within a resource group. |
list(string, Web |
Lists all of the protection policies within a resource group. |
list |
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.
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.
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.
The options parameters.
Returns
Promise<WebApplicationFirewallPolicy>
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.
The options parameters.
Returns
Promise<WebApplicationFirewallPolicy>
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.
The options parameters.
Returns
listAll(WebApplicationFirewallPoliciesListAllOptionalParams)
Gets all the WAF policies in a subscription.
function listAll(options?: WebApplicationFirewallPoliciesListAllOptionalParams): PagedAsyncIterableIterator<WebApplicationFirewallPolicy, WebApplicationFirewallPolicy[], PageSettings>
Parameters
The options parameters.