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) 3.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Connection Setting registration for a Bot Service * * 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 getBotConnection(args: GetBotConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetBotConnectionResult>; export interface GetBotConnectionArgs { /** * The name of the Bot Service Connection Setting resource. */ connectionName: 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 GetBotConnectionResult { /** * 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.ConnectionSettingPropertiesResponse; /** * 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[]; } /** * Get a Connection Setting registration for a Bot Service * * 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 getBotConnectionOutput(args: GetBotConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotConnectionResult>; export interface GetBotConnectionOutputArgs { /** * The name of the Bot Service Connection Setting resource. */ connectionName: 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>; }