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

114 lines (113 loc) 3.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get notification channel. * * Uses Azure REST API version 2018-09-15. */ export declare function getNotificationChannel(args: GetNotificationChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationChannelResult>; export interface GetNotificationChannelArgs { /** * Specify the $expand query. Example: 'properties($select=webHookUrl)' */ expand?: string; /** * The name of the lab. */ labName: string; /** * The name of the NotificationChannel */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A notification. */ export interface GetNotificationChannelResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date of the notification channel. */ readonly createdDate: string; /** * Description of notification. */ readonly description?: string; /** * The email recipient to send notifications to (can be a list of semi-colon separated email addresses). */ readonly emailRecipient?: string; /** * The list of event for which this notification is enabled. */ readonly events?: outputs.devtestlab.EventResponse[]; /** * The identifier of the resource. */ readonly id: string; /** * The location of the resource. */ readonly location?: string; /** * The name of the resource. */ readonly name: string; /** * The locale to use when sending a notification (fallback for unsupported languages is EN). */ readonly notificationLocale?: string; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; /** * The unique immutable identifier of a resource (Guid). */ readonly uniqueIdentifier: string; /** * The webhook URL to send notifications to. */ readonly webHookUrl?: string; } /** * Get notification channel. * * Uses Azure REST API version 2018-09-15. */ export declare function getNotificationChannelOutput(args: GetNotificationChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationChannelResult>; export interface GetNotificationChannelOutputArgs { /** * Specify the $expand query. Example: 'properties($select=webHookUrl)' */ expand?: pulumi.Input<string>; /** * The name of the lab. */ labName: pulumi.Input<string>; /** * The name of the NotificationChannel */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }