UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

86 lines (85 loc) 2.65 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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, 2025-05-23, 2025-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPostRuleCounters(args: GetPostRuleCountersArgs, opts?: pulumi.InvokeOptions): Promise<GetPostRuleCountersResult>; export interface GetPostRuleCountersArgs { firewallName?: string; /** * GlobalRulestack resource name */ globalRulestackName: string; /** * Post Rule priority */ priority: string; } /** * Rule counter */ export interface GetPostRuleCountersResult { /** * apps seen */ readonly appSeen?: outputs.cloudngfw.AppSeenDataResponse; /** * firewall name */ readonly firewallName?: string; /** * hit count */ readonly hitCount?: number; /** * last updated timestamp */ readonly lastUpdatedTimestamp?: string; /** * priority number */ readonly priority: string; /** * timestamp of request */ readonly requestTimestamp?: string; /** * rule list name */ readonly ruleListName?: string; /** * rule name */ readonly ruleName: string; /** * rule Stack Name */ readonly ruleStackName?: string; /** * timestamp of response */ readonly timestamp?: string; } /** * 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, 2025-05-23, 2025-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPostRuleCountersOutput(args: GetPostRuleCountersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostRuleCountersResult>; export interface GetPostRuleCountersOutputArgs { firewallName?: pulumi.Input<string>; /** * GlobalRulestack resource name */ globalRulestackName: pulumi.Input<string>; /** * Post Rule priority */ priority: pulumi.Input<string>; }