Post Rules - get Counters
Get counters
POST https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}/getCounters?api-version=2025-05-23
POST https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}/getCounters?api-version=2025-05-23&firewallName={firewallName}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
global
|
path | True |
string |
GlobalRulestack resource name |
priority
|
path | True |
string |
Post Rule priority |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
firewall
|
query |
string |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
Other Status Codes |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Post |
Post |
PostRules_getCounters_MaximumSet_Gen
Sample request
POST https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/lrs1/postRules/1/getCounters?api-version=2025-05-23&firewallName=firewall1
Sample response
{
"appSeen": {
"appSeenList": [
{
"category": "aaaaaaaaaaaaaaaaaaa",
"risk": "aaaaaaaaaaaaaaaaaaaaaaaaaa",
"standardPorts": "aaaaaaaaaaaaaaaaaa",
"subCategory": "aaaaaaaaaaaaaaaaa",
"tag": "aaaaaaaaaa",
"technology": "aaaaaaaaaaaaaaaaaaaa",
"title": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"count": 13
},
"firewallName": "aaaaaaaaaaaaaaaaaa",
"hitCount": 20,
"lastUpdatedTimestamp": "2022-09-09T05:08:24.229Z",
"priority": "aaaaaaaaaaaaaaaaaaaa",
"requestTimestamp": "2022-09-09T05:08:24.229Z",
"ruleListName": "aaaaaaaaaaaaaaaaaaa",
"ruleName": "aaaa",
"ruleStackName": "aaaaaaaaaaaaaaaaa",
"timestamp": "2022-09-09T05:08:24.229Z"
}
PostRules_getCounters_MinimumSet_Gen
Sample request
POST https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/lrs1/postRules/1/getCounters?api-version=2025-05-23
Sample response
{
"priority": "aaaaaaaaaaaaaaaaaaaa",
"ruleName": "aaaa"
}
Definitions
Name | Description |
---|---|
App |
Data Type for App Seen |
App |
Definition for App Seen |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Rule |
Rule counter |
AppSeenData
Data Type for App Seen
Name | Type | Description |
---|---|---|
appSeenList |
array of appSeen |
|
count |
integer (int32) |
number of rows |
AppSeenInfo
Definition for App Seen
Name | Type | Description |
---|---|---|
category |
string |
category |
risk |
string |
risk |
standardPorts |
string |
standardPorts |
subCategory |
string |
subCategory |
tag |
string |
tag |
technology |
string |
technology |
title |
string |
title |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
RuleCounter
Rule counter
Name | Type | Description |
---|---|---|
appSeen |
apps seen |
|
firewallName |
string |
firewall name |
hitCount |
integer (int32) |
hit count |
lastUpdatedTimestamp |
string (date-time) |
last updated timestamp |
priority |
string |
priority number |
requestTimestamp |
string (date-time) |
timestamp of request |
ruleListName |
string |
rule list name |
ruleName |
string |
rule name |
ruleStackName |
string |
rule Stack Name |
timestamp |
string (date-time) |
timestamp of response |