Share via


MockableHealthBotResourceGroupResource.GetHealthBot Method

Definition

Get a HealthBot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}
  • Operation Id: Bots_Get
public virtual Azure.Response<Azure.ResourceManager.HealthBot.HealthBotResource> GetHealthBot (string botName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHealthBot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HealthBot.HealthBotResource>
override this.GetHealthBot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HealthBot.HealthBotResource>
Public Overridable Function GetHealthBot (botName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HealthBotResource)

Parameters

botName
String

The name of the Bot resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Response<Azure.ResourceManager.HealthBot.HealthBotResource>

Exceptions

botName is null.

botName is an empty string, and was expected to be non-empty.

Applies to