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

102 lines (101 loc) 4.18 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns a BotService Channel registration specified by the parameters. * * Uses Azure REST API version 2023-09-15-preview. * * Other available API versions: 2022-09-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native botservice [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetChannelResult>; export interface GetChannelArgs { /** * The name of the Bot resource. */ channelName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the Bot resource. */ resourceName: string; } /** * Bot channel resource definition */ export interface GetChannelResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Entity Tag. */ readonly etag?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Required. Gets or sets the Kind of the resource. */ readonly kind?: string; /** * Specifies the location of the resource. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The set of properties specific to bot channel resource */ readonly properties: outputs.botservice.AcsChatChannelResponse | outputs.botservice.AlexaChannelResponse | outputs.botservice.DirectLineChannelResponse | outputs.botservice.DirectLineSpeechChannelResponse | outputs.botservice.EmailChannelResponse | outputs.botservice.FacebookChannelResponse | outputs.botservice.KikChannelResponse | outputs.botservice.LineChannelResponse | outputs.botservice.M365ExtensionsResponse | outputs.botservice.MsTeamsChannelResponse | outputs.botservice.OmnichannelResponse | outputs.botservice.OutlookChannelResponse | outputs.botservice.SearchAssistantResponse | outputs.botservice.SkypeChannelResponse | outputs.botservice.SlackChannelResponse | outputs.botservice.SmsChannelResponse | outputs.botservice.TelegramChannelResponse | outputs.botservice.TelephonyChannelResponse | outputs.botservice.WebChatChannelResponse; /** * Gets or sets the SKU of the resource. */ readonly sku?: outputs.botservice.SkuResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.botservice.SystemDataResponse; /** * Contains resource tags defined as key/value pairs. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Entity zones */ readonly zones: string[]; } /** * Returns a BotService Channel registration specified by the parameters. * * Uses Azure REST API version 2023-09-15-preview. * * Other available API versions: 2022-09-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native botservice [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetChannelResult>; export interface GetChannelOutputArgs { /** * The name of the Bot resource. */ channelName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Bot resource. */ resourceName: pulumi.Input<string>; }