Partager via


Bots interface

Interface représentant un bot.

Méthodes

beginCreate(string, string, HealthBot, BotsCreateOptionalParams)

Créez un bot Azure Health.

beginCreateAndWait(string, string, HealthBot, BotsCreateOptionalParams)

Créez un bot Azure Health.

beginDelete(string, string, BotsDeleteOptionalParams)

Supprimez un HealthBot.

beginDeleteAndWait(string, string, BotsDeleteOptionalParams)

Supprimez un HealthBot.

get(string, string, BotsGetOptionalParams)

Obtenez un HealthBot.

list(BotsListOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un abonnement.

listByResourceGroup(string, BotsListByResourceGroupOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un groupe de ressources

update(string, string, HealthBotUpdateParameters, BotsUpdateOptionalParams)

Corriger un HealthBot.

Détails de la méthode

beginCreate(string, string, HealthBot, BotsCreateOptionalParams)

Créez un bot Azure Health.

function beginCreate(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams): Promise<PollerLike<PollOperationState<HealthBot>, HealthBot>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

parameters
HealthBot

Paramètres à fournir pour le bot Azure Health créé.

options
BotsCreateOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<HealthBot>, HealthBot>>

beginCreateAndWait(string, string, HealthBot, BotsCreateOptionalParams)

Créez un bot Azure Health.

function beginCreateAndWait(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams): Promise<HealthBot>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

parameters
HealthBot

Paramètres à fournir pour le bot Azure Health créé.

options
BotsCreateOptionalParams

Paramètres d’options.

Retours

Promise<HealthBot>

beginDelete(string, string, BotsDeleteOptionalParams)

Supprimez un HealthBot.

function beginDelete(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

options
BotsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, BotsDeleteOptionalParams)

Supprimez un HealthBot.

function beginDeleteAndWait(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

options
BotsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, BotsGetOptionalParams)

Obtenez un HealthBot.

function get(resourceGroupName: string, botName: string, options?: BotsGetOptionalParams): Promise<HealthBot>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

options
BotsGetOptionalParams

Paramètres d’options.

Retours

Promise<HealthBot>

list(BotsListOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un abonnement.

function list(options?: BotsListOptionalParams): PagedAsyncIterableIterator<HealthBot, HealthBot[], PageSettings>

Paramètres

options
BotsListOptionalParams

Paramètres d’options.

Retours

listByResourceGroup(string, BotsListByResourceGroupOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un groupe de ressources

function listByResourceGroup(resourceGroupName: string, options?: BotsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<HealthBot, HealthBot[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

options
BotsListByResourceGroupOptionalParams

Paramètres d’options.

Retours

update(string, string, HealthBotUpdateParameters, BotsUpdateOptionalParams)

Corriger un HealthBot.

function update(resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams): Promise<HealthBot>

Paramètres

resourceGroupName

string

Nom du groupe de ressources Bot dans l’abonnement utilisateur.

botName

string

Nom de la ressource bot.

parameters
HealthBotUpdateParameters

Paramètres à fournir pour le bot Azure Health requis.

options
BotsUpdateOptionalParams

Paramètres d’options.

Retours

Promise<HealthBot>