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) 3.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Monitor resource. * * 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 getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorResult>; export interface GetMonitorArgs { /** * Monitor resource name */ monitorName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Monitor resource. */ export interface GetMonitorResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * ARM id of the monitor resource. */ readonly id: string; /** * Identity properties of the monitor resource. */ readonly identity?: outputs.elastic.IdentityPropertiesResponse; /** * The location of the monitor resource */ readonly location: string; /** * Name of the monitor resource. */ readonly name: string; /** * Properties of the monitor resource. */ readonly properties: outputs.elastic.MonitorPropertiesResponse; /** * SKU of the monitor resource. */ readonly sku?: outputs.elastic.ResourceSkuResponse; /** * The system metadata relating to this resource */ readonly systemData: outputs.elastic.SystemDataResponse; /** * The tags of the monitor resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the monitor resource. */ readonly type: string; } /** * Monitor resource. * * 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 getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorResult>; export interface GetMonitorOutputArgs { /** * Monitor resource name */ monitorName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }