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

94 lines (93 loc) 2.9 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 getLocalRuleCounters(args: GetLocalRuleCountersArgs, opts?: pulumi.InvokeOptions): Promise<GetLocalRuleCountersResult>; export interface GetLocalRuleCountersArgs { firewallName?: string; /** * LocalRulestack resource name */ localRulestackName: string; /** * Local Rule priority */ priority: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Rule counter */ export interface GetLocalRuleCountersResult { /** * 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 getLocalRuleCountersOutput(args: GetLocalRuleCountersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLocalRuleCountersResult>; export interface GetLocalRuleCountersOutputArgs { firewallName?: pulumi.Input<string>; /** * LocalRulestack resource name */ localRulestackName: pulumi.Input<string>; /** * Local Rule priority */ priority: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }