FirewallPolicies interface
Interface representing a FirewallPolicies.
Methods
begin |
Creates or updates the specified Firewall Policy. |
begin |
Creates or updates the specified Firewall Policy. |
begin |
Deletes the specified Firewall Policy. |
begin |
Deletes the specified Firewall Policy. |
get(string, string, Firewall |
Gets the specified Firewall Policy. |
list(string, Firewall |
Lists all Firewall Policies in a resource group. |
list |
Gets all the Firewall Policies in a subscription. |
update |
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.
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.
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.
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.
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.
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.
The options parameters.
Returns
listAll(FirewallPoliciesListAllOptionalParams)
Gets all the Firewall Policies in a subscription.
function listAll(options?: FirewallPoliciesListAllOptionalParams): PagedAsyncIterableIterator<FirewallPolicy, FirewallPolicy[], PageSettings>
Parameters
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.
The options parameters.
Returns
Promise<FirewallPolicy>