FirewallPolicyDrafts interface
Interface representing a FirewallPolicyDrafts.
Methods
create |
Create or update a draft Firewall Policy. |
delete(string, string, Firewall |
Delete a draft policy. |
get(string, string, Firewall |
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.
The options parameters.
Returns
Promise<FirewallPolicyDraft>
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.
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.
The options parameters.
Returns
Promise<FirewallPolicyDraft>