1. Packages
  2. Azure Native v2
  3. API Docs
  4. cloudngfw
  5. getLocalRuleCounters
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.cloudngfw.getLocalRuleCounters

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get counters Azure REST API version: 2023-09-01.

Other available API versions: 2022-08-29, 2022-08-29-preview, 2023-09-01-preview, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview.

Using getLocalRuleCounters

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLocalRuleCounters(args: GetLocalRuleCountersArgs, opts?: InvokeOptions): Promise<GetLocalRuleCountersResult>
function getLocalRuleCountersOutput(args: GetLocalRuleCountersOutputArgs, opts?: InvokeOptions): Output<GetLocalRuleCountersResult>
Copy
def get_local_rule_counters(firewall_name: Optional[str] = None,
                            local_rulestack_name: Optional[str] = None,
                            priority: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLocalRuleCountersResult
def get_local_rule_counters_output(firewall_name: Optional[pulumi.Input[str]] = None,
                            local_rulestack_name: Optional[pulumi.Input[str]] = None,
                            priority: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLocalRuleCountersResult]
Copy
func GetLocalRuleCounters(ctx *Context, args *GetLocalRuleCountersArgs, opts ...InvokeOption) (*GetLocalRuleCountersResult, error)
func GetLocalRuleCountersOutput(ctx *Context, args *GetLocalRuleCountersOutputArgs, opts ...InvokeOption) GetLocalRuleCountersResultOutput
Copy

> Note: This function is named GetLocalRuleCounters in the Go SDK.

public static class GetLocalRuleCounters 
{
    public static Task<GetLocalRuleCountersResult> InvokeAsync(GetLocalRuleCountersArgs args, InvokeOptions? opts = null)
    public static Output<GetLocalRuleCountersResult> Invoke(GetLocalRuleCountersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLocalRuleCountersResult> getLocalRuleCounters(GetLocalRuleCountersArgs args, InvokeOptions options)
public static Output<GetLocalRuleCountersResult> getLocalRuleCounters(GetLocalRuleCountersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:cloudngfw:getLocalRuleCounters
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LocalRulestackName
This property is required.
Changes to this property will trigger replacement.
string
LocalRulestack resource name
Priority
This property is required.
Changes to this property will trigger replacement.
string
Local Rule priority
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
FirewallName string
LocalRulestackName
This property is required.
Changes to this property will trigger replacement.
string
LocalRulestack resource name
Priority
This property is required.
Changes to this property will trigger replacement.
string
Local Rule priority
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
FirewallName string
localRulestackName
This property is required.
Changes to this property will trigger replacement.
String
LocalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
String
Local Rule priority
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
firewallName String
localRulestackName
This property is required.
Changes to this property will trigger replacement.
string
LocalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
string
Local Rule priority
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
firewallName string
local_rulestack_name
This property is required.
Changes to this property will trigger replacement.
str
LocalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
str
Local Rule priority
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
firewall_name str
localRulestackName
This property is required.
Changes to this property will trigger replacement.
String
LocalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
String
Local Rule priority
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
firewallName String

getLocalRuleCounters Result

The following output properties are available:

Priority string
priority number
RuleName string
rule name
AppSeen Pulumi.AzureNative.Cloudngfw.Outputs.AppSeenDataResponse
apps seen
FirewallName string
firewall name
HitCount int
hit count
LastUpdatedTimestamp string
last updated timestamp
RequestTimestamp string
timestamp of request
RuleListName string
rule list name
RuleStackName string
rule Stack Name
Timestamp string
timestamp of response
Priority string
priority number
RuleName string
rule name
AppSeen AppSeenDataResponse
apps seen
FirewallName string
firewall name
HitCount int
hit count
LastUpdatedTimestamp string
last updated timestamp
RequestTimestamp string
timestamp of request
RuleListName string
rule list name
RuleStackName string
rule Stack Name
Timestamp string
timestamp of response
priority String
priority number
ruleName String
rule name
appSeen AppSeenDataResponse
apps seen
firewallName String
firewall name
hitCount Integer
hit count
lastUpdatedTimestamp String
last updated timestamp
requestTimestamp String
timestamp of request
ruleListName String
rule list name
ruleStackName String
rule Stack Name
timestamp String
timestamp of response
priority string
priority number
ruleName string
rule name
appSeen AppSeenDataResponse
apps seen
firewallName string
firewall name
hitCount number
hit count
lastUpdatedTimestamp string
last updated timestamp
requestTimestamp string
timestamp of request
ruleListName string
rule list name
ruleStackName string
rule Stack Name
timestamp string
timestamp of response
priority str
priority number
rule_name str
rule name
app_seen AppSeenDataResponse
apps seen
firewall_name str
firewall name
hit_count int
hit count
last_updated_timestamp str
last updated timestamp
request_timestamp str
timestamp of request
rule_list_name str
rule list name
rule_stack_name str
rule Stack Name
timestamp str
timestamp of response
priority String
priority number
ruleName String
rule name
appSeen Property Map
apps seen
firewallName String
firewall name
hitCount Number
hit count
lastUpdatedTimestamp String
last updated timestamp
requestTimestamp String
timestamp of request
ruleListName String
rule list name
ruleStackName String
rule Stack Name
timestamp String
timestamp of response

Supporting Types

AppSeenDataResponse

AppSeenList This property is required. List<Pulumi.AzureNative.Cloudngfw.Inputs.AppSeenInfoResponse>
array of appSeen
Count This property is required. int
number of rows
AppSeenList This property is required. []AppSeenInfoResponse
array of appSeen
Count This property is required. int
number of rows
appSeenList This property is required. List<AppSeenInfoResponse>
array of appSeen
count This property is required. Integer
number of rows
appSeenList This property is required. AppSeenInfoResponse[]
array of appSeen
count This property is required. number
number of rows
app_seen_list This property is required. Sequence[AppSeenInfoResponse]
array of appSeen
count This property is required. int
number of rows
appSeenList This property is required. List<Property Map>
array of appSeen
count This property is required. Number
number of rows

AppSeenInfoResponse

Category This property is required. string
category
Risk This property is required. string
risk
StandardPorts This property is required. string
standardPorts
SubCategory This property is required. string
subCategory
Tag This property is required. string
tag
Technology This property is required. string
technology
Title This property is required. string
title
Category This property is required. string
category
Risk This property is required. string
risk
StandardPorts This property is required. string
standardPorts
SubCategory This property is required. string
subCategory
Tag This property is required. string
tag
Technology This property is required. string
technology
Title This property is required. string
title
category This property is required. String
category
risk This property is required. String
risk
standardPorts This property is required. String
standardPorts
subCategory This property is required. String
subCategory
tag This property is required. String
tag
technology This property is required. String
technology
title This property is required. String
title
category This property is required. string
category
risk This property is required. string
risk
standardPorts This property is required. string
standardPorts
subCategory This property is required. string
subCategory
tag This property is required. string
tag
technology This property is required. string
technology
title This property is required. string
title
category This property is required. str
category
risk This property is required. str
risk
standard_ports This property is required. str
standardPorts
sub_category This property is required. str
subCategory
tag This property is required. str
tag
technology This property is required. str
technology
title This property is required. str
title
category This property is required. String
category
risk This property is required. String
risk
standardPorts This property is required. String
standardPorts
subCategory This property is required. String
subCategory
tag This property is required. String
tag
technology This property is required. String
technology
title This property is required. String
title

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi