1. Packages
  2. Azure Native
  3. API Docs
  4. cloudngfw
  5. getPreRuleCounters
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.cloudngfw.getPreRuleCounters

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get counters

Uses Azure REST API version 2025-02-06-preview.

Other available API versions: 2023-09-01, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cloudngfw [ApiVersion]. See the version guide for details.

Using getPreRuleCounters

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 getPreRuleCounters(args: GetPreRuleCountersArgs, opts?: InvokeOptions): Promise<GetPreRuleCountersResult>
function getPreRuleCountersOutput(args: GetPreRuleCountersOutputArgs, opts?: InvokeOptions): Output<GetPreRuleCountersResult>
Copy
def get_pre_rule_counters(firewall_name: Optional[str] = None,
                          global_rulestack_name: Optional[str] = None,
                          priority: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetPreRuleCountersResult
def get_pre_rule_counters_output(firewall_name: Optional[pulumi.Input[str]] = None,
                          global_rulestack_name: Optional[pulumi.Input[str]] = None,
                          priority: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetPreRuleCountersResult]
Copy
func GetPreRuleCounters(ctx *Context, args *GetPreRuleCountersArgs, opts ...InvokeOption) (*GetPreRuleCountersResult, error)
func GetPreRuleCountersOutput(ctx *Context, args *GetPreRuleCountersOutputArgs, opts ...InvokeOption) GetPreRuleCountersResultOutput
Copy

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

public static class GetPreRuleCounters 
{
    public static Task<GetPreRuleCountersResult> InvokeAsync(GetPreRuleCountersArgs args, InvokeOptions? opts = null)
    public static Output<GetPreRuleCountersResult> Invoke(GetPreRuleCountersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPreRuleCountersResult> getPreRuleCounters(GetPreRuleCountersArgs args, InvokeOptions options)
public static Output<GetPreRuleCountersResult> getPreRuleCounters(GetPreRuleCountersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:cloudngfw:getPreRuleCounters
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GlobalRulestackName
This property is required.
Changes to this property will trigger replacement.
string
GlobalRulestack resource name
Priority
This property is required.
Changes to this property will trigger replacement.
string
Pre Rule priority
FirewallName string
GlobalRulestackName
This property is required.
Changes to this property will trigger replacement.
string
GlobalRulestack resource name
Priority
This property is required.
Changes to this property will trigger replacement.
string
Pre Rule priority
FirewallName string
globalRulestackName
This property is required.
Changes to this property will trigger replacement.
String
GlobalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
String
Pre Rule priority
firewallName String
globalRulestackName
This property is required.
Changes to this property will trigger replacement.
string
GlobalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
string
Pre Rule priority
firewallName string
global_rulestack_name
This property is required.
Changes to this property will trigger replacement.
str
GlobalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
str
Pre Rule priority
firewall_name str
globalRulestackName
This property is required.
Changes to this property will trigger replacement.
String
GlobalRulestack resource name
priority
This property is required.
Changes to this property will trigger replacement.
String
Pre Rule priority
firewallName String

getPreRuleCounters 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 pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi