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

67 lines (66 loc) 2.46 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Uses Azure REST API version 2023-10-20. * * Other available API versions: 2022-06-01, 2022-08-01, 2023-01-01, 2023-07-07. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datadog [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; } export interface GetMonitorResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * ARM id of the monitor resource. */ readonly id: string; readonly identity?: outputs.datadog.IdentityPropertiesResponse; readonly location: string; /** * Name of the monitor resource. */ readonly name: string; /** * Properties specific to the monitor resource. */ readonly properties: outputs.datadog.MonitorPropertiesResponse; readonly sku?: outputs.datadog.ResourceSkuResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.datadog.SystemDataResponse; readonly tags?: { [key: string]: string; }; /** * The type of the monitor resource. */ readonly type: string; } /** * Uses Azure REST API version 2023-10-20. * * Other available API versions: 2022-06-01, 2022-08-01, 2023-01-01, 2023-07-07. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datadog [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>; }