다음을 통해 공유


Bot Class

Definition

Bot resource definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.BotTypeConverter))]
public class Bot : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot, Microsoft.Azure.PowerShell.Cmdlets.BotService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.BotTypeConverter))>]
type Bot = class
    interface IBot
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Bot
Implements IBot, IValidates
Inheritance
Bot
Attributes
Implements

Constructors

Bot()

Creates an new Bot instance.

Properties

AllSetting

Contains resource all settings defined as key/value pairs.

AppPasswordHint

The hint (e.g. keyVault secret resourceId) on how to fetch the app secret

CmekEncryptionStatus

The CMK encryption status

CmekKeyVaultUrl

The CMK Url

ConfiguredChannel

Collection of channels for which the bot is configured

Description

The description of the bot

DeveloperAppInsightKey

The Application Insights key

DeveloperAppInsightsApiKey

The Application Insights Api Key

DeveloperAppInsightsApplicationId

The Application Insights App Id

DisableLocalAuth

Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.

DisplayName

The Name of the bot

EnabledChannel

Collection of channels for which the bot is enabled

Endpoint

The bot's endpoint

EndpointVersion

The bot's endpoint version

Etag

Entity Tag

IconUrl

The Icon Url of the bot

Id

Specifies the resource ID.

IsCmekEnabled

Whether Cmek is enabled

IsDeveloperAppInsightsApiKeySet

Whether the bot is developerAppInsightsApiKey set

IsStreamingSupported

Whether the bot is streaming supported

Kind

Required. Gets or sets the Kind of the resource.

Location

Specifies the location of the resource.

LuisAppId

Collection of LUIS App Ids

LuisKey

The LUIS Key

ManifestUrl

The bot's manifest url

MigrationToken

Token used to migrate non Azure bot to azure subscription

MsaAppId

Microsoft App Id for the bot

MsaAppMsiResourceId

Microsoft App Managed Identity Resource Id for the bot

MsaAppTenantId

Microsoft App Tenant Id for the bot

MsaAppType

Microsoft App Type for the bot

Name

Specifies the name of the resource.

OpenWithHint

The hint to browser (e.g. protocol handler) on how to open the bot for authoring

Parameter

Contains resource parameters defined as key/value pairs.

PrivateEndpointConnection

List of Private Endpoint Connections configured for the bot

ProvisioningState

Provisioning state of the resource

PublicNetworkAccess

Whether the bot is in an isolated network

PublishingCredentials

Publishing credentials of the resource

SchemaTransformationVersion

The channel schema transformation version for the bot

Sku

Gets or sets the SKU of the resource.

SkuName

The sku name

SkuTier

Gets the sku tier. This is based on the SKU name.

StorageResourceId

The storage resourceId for the bot

Tag

Contains resource tags defined as key/value pairs.

TenantId

The Tenant Id for the bot

Type

Specifies the type of the resource.

Zone

Entity zones

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Bot.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Bot.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IBot.

FromJsonString(String)

Creates a new instance of Bot, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Bot into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to