@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 10
@toc subscriptions(10)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
@desc Deletes the specified Firewall Policy.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource with the specified name does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
@desc Gets the specified Firewall Policy.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns a Firewall Policy resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
@desc Updates a Firewall Policy Tags.
@required {resourceGroupName: any # The resource group name of the Firewall Policy., firewallPolicyName: any # The name of the Firewall Policy being updated., firewallPolicyParameters: any # Parameters supplied to Update Firewall Policy tags.}
@returns(200) Request successful. Returns the details of the Firewall Policy updated.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
@desc Creates or updates the specified Firewall Policy.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy., parameters: any # Parameters supplied to the create or update Firewall Policy operation.}
@returns(200) Request successful. The operation returns the resulting FirewallPolicy resource.
@returns(201) Request received successfully. The operation returns the resulting FirewallPolicy resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies
@desc Lists all Firewall Policies in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Success. The operation returns a list of FirewallPolicy resources.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies
@desc Gets all the Firewall Policies in a subscription.
@returns(200) Success. The operation returns a list of FirewallPolicy resources.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}
@desc Deletes the specified FirewallPolicyRuleGroup.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy., ruleGroupName: any # The name of the FirewallPolicyRuleGroup.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource with the specified name does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}
@desc Gets the specified FirewallPolicyRuleGroup.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy., ruleGroupName: any # The name of the FirewallPolicyRuleGroup.}
@returns(200) Request successful. The operation returns a FirewallPolicyRuleGroup resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}
@desc Creates or updates the specified FirewallPolicyRuleGroup.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy., ruleGroupName: any # The name of the FirewallPolicyRuleGroup., parameters: any # Parameters supplied to the create or update FirewallPolicyRuleGroup operation.}
@returns(200) Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource.
@returns(201) Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups
@desc Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource.
@required {resourceGroupName: any # The name of the resource group., firewallPolicyName: any # The name of the Firewall Policy.}
@returns(200) Success. The operation returns a list of FirewallPolicyRuleGroup resources.

@end
