FirewallPolicyDrafts interface

Interface representing a FirewallPolicyDrafts.

Methods

createOrUpdate(string, string, FirewallPolicyDraft, FirewallPolicyDraftsCreateOrUpdateOptionalParams)

Create or update a draft Firewall Policy.

delete(string, string, FirewallPolicyDraftsDeleteOptionalParams)

Delete a draft policy.

get(string, string, FirewallPolicyDraftsGetOptionalParams)

Get a draft Firewall Policy.

Method Details

createOrUpdate(string, string, FirewallPolicyDraft, FirewallPolicyDraftsCreateOrUpdateOptionalParams)

Create or update a draft Firewall Policy.

function createOrUpdate(resourceGroupName: string, firewallPolicyName: string, parameters: FirewallPolicyDraft, options?: FirewallPolicyDraftsCreateOrUpdateOptionalParams): Promise<FirewallPolicyDraft>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

parameters
FirewallPolicyDraft

Parameters supplied to the create or update Firewall Policy Draft operation.

options
FirewallPolicyDraftsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, FirewallPolicyDraftsDeleteOptionalParams)

Delete a draft policy.

function delete(resourceGroupName: string, firewallPolicyName: string, options?: FirewallPolicyDraftsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

options
FirewallPolicyDraftsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, FirewallPolicyDraftsGetOptionalParams)

Get a draft Firewall Policy.

function get(resourceGroupName: string, firewallPolicyName: string, options?: FirewallPolicyDraftsGetOptionalParams): Promise<FirewallPolicyDraft>

Parameters

resourceGroupName

string

The name of the resource group.

firewallPolicyName

string

The name of the Firewall Policy.

options
FirewallPolicyDraftsGetOptionalParams

The options parameters.

Returns