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) 2.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a HealthBot. * * Uses Azure REST API version 2024-02-01. * * Other available API versions: 2023-05-01, 2025-05-25. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthbot [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBot(args: GetBotArgs, opts?: pulumi.InvokeOptions): Promise<GetBotResult>; export interface GetBotArgs { /** * The name of the Bot resource. */ botName: string; /** * The name of the Bot resource group in the user subscription. */ resourceGroupName: string; } /** * Azure Health Bot resource definition */ export interface GetBotResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource Id for the resource. */ readonly id: string; /** * The identity of the Azure Health Bot. */ readonly identity?: outputs.healthbot.IdentityResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * The set of properties specific to Azure Health Bot resource. */ readonly properties: outputs.healthbot.HealthBotPropertiesResponse; /** * SKU of the Azure Health Bot. */ readonly sku: outputs.healthbot.SkuResponse; /** * Metadata pertaining to creation and last modification of the resource */ readonly systemData: outputs.healthbot.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; } /** * Get a HealthBot. * * Uses Azure REST API version 2024-02-01. * * Other available API versions: 2023-05-01, 2025-05-25. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthbot [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBotOutput(args: GetBotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotResult>; export interface GetBotOutputArgs { /** * The name of the Bot resource. */ botName: pulumi.Input<string>; /** * The name of the Bot resource group in the user subscription. */ resourceGroupName: pulumi.Input<string>; }