FirewallPolicies interface

Interface representing a FirewallPolicies.

Methods

beginCreateOrUpdate(string, string, FirewallPolicy, FirewallPoliciesCreateOrUpdateOptionalParams)

Creates or updates the specified Firewall Policy.

beginCreateOrUpdateAndWait(string, string, FirewallPolicy, FirewallPoliciesCreateOrUpdateOptionalParams)

Creates or updates the specified Firewall Policy.

beginDelete(string, string, FirewallPoliciesDeleteOptionalParams)

Deletes the specified Firewall Policy.

beginDeleteAndWait(string, string, FirewallPoliciesDeleteOptionalParams)

Deletes the specified Firewall Policy.

get(string, string, FirewallPoliciesGetOptionalParams)

Gets the specified Firewall Policy.

list(string, FirewallPoliciesListOptionalParams)

Lists all Firewall Policies in a resource group.

listAll(FirewallPoliciesListAllOptionalParams)

Gets all the Firewall Policies in a subscription.

updateTags(string, string, TagsObject, FirewallPoliciesUpdateTagsOptionalParams)

Updates tags of a Azure Firewall Policy resource.

Method Details

beginCreateOrUpdate(string, string, FirewallPolicy, FirewallPoliciesCreateOrUpdateOptionalParams)

Creates or updates the specified Firewall Policy.

function beginCreateOrUpdate(resourceGroupName: string, firewallPolicyName: string, parameters: FirewallPolicy, options?: FirewallPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FirewallPolicy>, FirewallPolicy>>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

parameters
FirewallPolicy

Parameters supplied to the create or update Firewall Policy operation.

options
FirewallPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, FirewallPolicy, FirewallPoliciesCreateOrUpdateOptionalParams)

Creates or updates the specified Firewall Policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, firewallPolicyName: string, parameters: FirewallPolicy, options?: FirewallPoliciesCreateOrUpdateOptionalParams): Promise<FirewallPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

parameters
FirewallPolicy

Parameters supplied to the create or update Firewall Policy operation.

options
FirewallPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<FirewallPolicy>

beginDelete(string, string, FirewallPoliciesDeleteOptionalParams)

Deletes the specified Firewall Policy.

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

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

options
FirewallPoliciesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, FirewallPoliciesDeleteOptionalParams)

Deletes the specified Firewall Policy.

function beginDeleteAndWait(resourceGroupName: string, firewallPolicyName: string, options?: FirewallPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

options
FirewallPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, FirewallPoliciesGetOptionalParams)

Gets the specified Firewall Policy.

function get(resourceGroupName: string, firewallPolicyName: string, options?: FirewallPoliciesGetOptionalParams): Promise<FirewallPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

options
FirewallPoliciesGetOptionalParams

The options parameters.

Returns

Promise<FirewallPolicy>

list(string, FirewallPoliciesListOptionalParams)

Lists all Firewall Policies in a resource group.

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

Parameters

resourceGroupName

string

The name of the resource group.

options
FirewallPoliciesListOptionalParams

The options parameters.

Returns

listAll(FirewallPoliciesListAllOptionalParams)

Gets all the Firewall Policies in a subscription.

function listAll(options?: FirewallPoliciesListAllOptionalParams): PagedAsyncIterableIterator<FirewallPolicy, FirewallPolicy[], PageSettings>

Parameters

options
FirewallPoliciesListAllOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, FirewallPoliciesUpdateTagsOptionalParams)

Updates tags of a Azure Firewall Policy resource.

function updateTags(resourceGroupName: string, firewallPolicyName: string, parameters: TagsObject, options?: FirewallPoliciesUpdateTagsOptionalParams): Promise<FirewallPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

parameters
TagsObject

Parameters supplied to update Azure Firewall Policy tags.

options
FirewallPoliciesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<FirewallPolicy>