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

76 lines (75 loc) 2.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Capture logs and metrics of Azure resources based on ARM tags. * * Uses Azure REST API version 2024-03-01. * * Other available API versions: 2023-06-01, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview, 2025-01-15-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native elastic [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getTagRule(args: GetTagRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetTagRuleResult>; export interface GetTagRuleArgs { /** * Monitor resource name */ monitorName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Tag Rule Set resource name */ ruleSetName: string; } /** * Capture logs and metrics of Azure resources based on ARM tags. */ export interface GetTagRuleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The id of the rule set. */ readonly id: string; /** * Name of the rule set. */ readonly name: string; /** * Properties of the monitoring tag rules. */ readonly properties: outputs.elastic.MonitoringTagRulesPropertiesResponse; /** * The system metadata relating to this resource */ readonly systemData: outputs.elastic.SystemDataResponse; /** * The type of the rule set. */ readonly type: string; } /** * Capture logs and metrics of Azure resources based on ARM tags. * * Uses Azure REST API version 2024-03-01. * * Other available API versions: 2023-06-01, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview, 2025-01-15-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native elastic [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getTagRuleOutput(args: GetTagRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagRuleResult>; export interface GetTagRuleOutputArgs { /** * Monitor resource name */ monitorName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Tag Rule Set resource name */ ruleSetName: pulumi.Input<string>; }