botservice

package
v62.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package botservice implements the Azure ARM Botservice service API version 2021-05-01-preview.

Azure Bot Service is a platform for creating smart conversational agents.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Botservice
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AlexaChannel

type AlexaChannel struct {
	// Properties - The set of properties specific to Alexa channel resource
	Properties *AlexaChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

AlexaChannel alexa channel definition

func (AlexaChannel) AsAlexaChannel

func (ac AlexaChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsBasicChannel

func (ac AlexaChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsChannel

func (ac AlexaChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsDirectLineChannel

func (ac AlexaChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsDirectLineSpeechChannel

func (ac AlexaChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsEmailChannel

func (ac AlexaChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsFacebookChannel

func (ac AlexaChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsKikChannel

func (ac AlexaChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsLineChannel

func (ac AlexaChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsMsTeamsChannel

func (ac AlexaChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsSkypeChannel

func (ac AlexaChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsSlackChannel

func (ac AlexaChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsSmsChannel

func (ac AlexaChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsTelegramChannel

func (ac AlexaChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) AsWebChatChannel

func (ac AlexaChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for AlexaChannel.

func (AlexaChannel) MarshalJSON

func (ac AlexaChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlexaChannel.

type AlexaChannelProperties

type AlexaChannelProperties struct {
	// AlexaSkillID - The Alexa skill Id
	AlexaSkillID *string `json:"alexaSkillId,omitempty"`
	// URLFragment - READ-ONLY; Url fragment used in part of the Uri configured in Alexa
	URLFragment *string `json:"urlFragment,omitempty"`
	// ServiceEndpointURI - READ-ONLY; Full Uri used to configured the skill in Alexa
	ServiceEndpointURI *string `json:"serviceEndpointUri,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

AlexaChannelProperties the parameters to provide for the Alexa channel.

func (AlexaChannelProperties) MarshalJSON

func (acp AlexaChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlexaChannelProperties.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Botservice.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicChannel

type BasicChannel interface {
	AsAlexaChannel() (*AlexaChannel, bool)
	AsFacebookChannel() (*FacebookChannel, bool)
	AsEmailChannel() (*EmailChannel, bool)
	AsMsTeamsChannel() (*MsTeamsChannel, bool)
	AsSkypeChannel() (*SkypeChannel, bool)
	AsKikChannel() (*KikChannel, bool)
	AsWebChatChannel() (*WebChatChannel, bool)
	AsDirectLineChannel() (*DirectLineChannel, bool)
	AsTelegramChannel() (*TelegramChannel, bool)
	AsSmsChannel() (*SmsChannel, bool)
	AsSlackChannel() (*SlackChannel, bool)
	AsLineChannel() (*LineChannel, bool)
	AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)
	AsChannel() (*Channel, bool)
}

BasicChannel channel definition

type Bot

type Bot struct {
	autorest.Response `json:"-"`
	// Properties - The set of properties specific to bot resource
	Properties *BotProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Specifies the resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Specifies the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; Specifies the type of the resource.
	Type *string `json:"type,omitempty"`
	// Tags - Contains resource tags defined as key/value pairs.
	Tags map[string]*string `json:"tags"`
	// Sku - Gets or sets the SKU of the resource.
	Sku *Sku `json:"sku,omitempty"`
	// Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction', 'KindAzurebot'
	Kind Kind `json:"kind,omitempty"`
	// Etag - Entity Tag
	Etag *string `json:"etag,omitempty"`
	// Zones - READ-ONLY; Entity zones
	Zones *[]string `json:"zones,omitempty"`
}

Bot bot resource definition

func (Bot) MarshalJSON

func (b Bot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Bot.

type BotChannel

type BotChannel struct {
	autorest.Response `json:"-"`
	// Properties - The set of properties specific to bot channel resource
	Properties BasicChannel `json:"properties,omitempty"`
	// ID - READ-ONLY; Specifies the resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Specifies the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; Specifies the type of the resource.
	Type *string `json:"type,omitempty"`
	// Tags - Contains resource tags defined as key/value pairs.
	Tags map[string]*string `json:"tags"`
	// Sku - Gets or sets the SKU of the resource.
	Sku *Sku `json:"sku,omitempty"`
	// Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction', 'KindAzurebot'
	Kind Kind `json:"kind,omitempty"`
	// Etag - Entity Tag
	Etag *string `json:"etag,omitempty"`
	// Zones - READ-ONLY; Entity zones
	Zones *[]string `json:"zones,omitempty"`
}

BotChannel bot channel resource definition

func (BotChannel) MarshalJSON

func (bc BotChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BotChannel.

func (*BotChannel) UnmarshalJSON

func (bc *BotChannel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BotChannel struct.

type BotConnectionClient

type BotConnectionClient struct {
	BaseClient
}

BotConnectionClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewBotConnectionClient

func NewBotConnectionClient(subscriptionID string) BotConnectionClient

NewBotConnectionClient creates an instance of the BotConnectionClient client.

func NewBotConnectionClientWithBaseURI

func NewBotConnectionClientWithBaseURI(baseURI string, subscriptionID string) BotConnectionClient

NewBotConnectionClientWithBaseURI creates an instance of the BotConnectionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BotConnectionClient) Create

func (client BotConnectionClient) Create(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)

Create register a new Auth Connection for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource. parameters - the parameters to provide for creating the Connection Setting.

func (BotConnectionClient) CreatePreparer

func (client BotConnectionClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BotConnectionClient) CreateResponder

func (client BotConnectionClient) CreateResponder(resp *http.Response) (result ConnectionSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BotConnectionClient) CreateSender

func (client BotConnectionClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Delete

func (client BotConnectionClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result autorest.Response, err error)

Delete deletes a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource.

func (BotConnectionClient) DeletePreparer

func (client BotConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BotConnectionClient) DeleteResponder

func (client BotConnectionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BotConnectionClient) DeleteSender

func (client BotConnectionClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Get

func (client BotConnectionClient) Get(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)

Get get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource.

func (BotConnectionClient) GetPreparer

func (client BotConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BotConnectionClient) GetResponder

func (client BotConnectionClient) GetResponder(resp *http.Response) (result ConnectionSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BotConnectionClient) GetSender

func (client BotConnectionClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListByBotService

func (client BotConnectionClient) ListByBotService(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListPage, err error)

ListByBotService returns all the Connection Settings registered to a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotConnectionClient) ListByBotServiceComplete

func (client BotConnectionClient) ListByBotServiceComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListIterator, err error)

ListByBotServiceComplete enumerates all values, automatically crossing page boundaries as required.

func (BotConnectionClient) ListByBotServicePreparer

func (client BotConnectionClient) ListByBotServicePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListByBotServicePreparer prepares the ListByBotService request.

func (BotConnectionClient) ListByBotServiceResponder

func (client BotConnectionClient) ListByBotServiceResponder(resp *http.Response) (result ConnectionSettingResponseList, err error)

ListByBotServiceResponder handles the response to the ListByBotService request. The method always closes the http.Response Body.

func (BotConnectionClient) ListByBotServiceSender

func (client BotConnectionClient) ListByBotServiceSender(req *http.Request) (*http.Response, error)

ListByBotServiceSender sends the ListByBotService request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListServiceProviders

func (client BotConnectionClient) ListServiceProviders(ctx context.Context) (result ServiceProviderResponseList, err error)

ListServiceProviders lists the available Service Providers for creating Connection Settings

func (BotConnectionClient) ListServiceProvidersPreparer

func (client BotConnectionClient) ListServiceProvidersPreparer(ctx context.Context) (*http.Request, error)

ListServiceProvidersPreparer prepares the ListServiceProviders request.

func (BotConnectionClient) ListServiceProvidersResponder

func (client BotConnectionClient) ListServiceProvidersResponder(resp *http.Response) (result ServiceProviderResponseList, err error)

ListServiceProvidersResponder handles the response to the ListServiceProviders request. The method always closes the http.Response Body.

func (BotConnectionClient) ListServiceProvidersSender

func (client BotConnectionClient) ListServiceProvidersSender(req *http.Request) (*http.Response, error)

ListServiceProvidersSender sends the ListServiceProviders request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListWithSecrets

func (client BotConnectionClient) ListWithSecrets(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)

ListWithSecrets get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource.

func (BotConnectionClient) ListWithSecretsPreparer

func (client BotConnectionClient) ListWithSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

ListWithSecretsPreparer prepares the ListWithSecrets request.

func (BotConnectionClient) ListWithSecretsResponder

func (client BotConnectionClient) ListWithSecretsResponder(resp *http.Response) (result ConnectionSetting, err error)

ListWithSecretsResponder handles the response to the ListWithSecrets request. The method always closes the http.Response Body.

func (BotConnectionClient) ListWithSecretsSender

func (client BotConnectionClient) ListWithSecretsSender(req *http.Request) (*http.Response, error)

ListWithSecretsSender sends the ListWithSecrets request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Update

func (client BotConnectionClient) Update(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)

Update updates a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource. parameters - the parameters to provide for updating the Connection Setting.

func (BotConnectionClient) UpdatePreparer

func (client BotConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BotConnectionClient) UpdateResponder

func (client BotConnectionClient) UpdateResponder(resp *http.Response) (result ConnectionSetting, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BotConnectionClient) UpdateSender

func (client BotConnectionClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BotProperties

type BotProperties struct {
	// DisplayName - The Name of the bot
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description of the bot
	Description *string `json:"description,omitempty"`
	// IconURL - The Icon Url of the bot
	IconURL *string `json:"iconUrl,omitempty"`
	// Endpoint - The bot's endpoint
	Endpoint *string `json:"endpoint,omitempty"`
	// EndpointVersion - READ-ONLY; The bot's endpoint version
	EndpointVersion *string `json:"endpointVersion,omitempty"`
	// AllSettings - Contains resource all settings defined as key/value pairs.
	AllSettings map[string]*string `json:"allSettings"`
	// Parameters - Contains resource parameters defined as key/value pairs.
	Parameters map[string]*string `json:"parameters"`
	// ManifestURL - The bot's manifest url
	ManifestURL *string `json:"manifestUrl,omitempty"`
	// MsaAppType - Microsoft App Type for the bot. Possible values include: 'MsaAppTypeUserAssignedMSI', 'MsaAppTypeSingleTenant', 'MsaAppTypeMultiTenant'
	MsaAppType MsaAppType `json:"msaAppType,omitempty"`
	// MsaAppID - Microsoft App Id for the bot
	MsaAppID *string `json:"msaAppId,omitempty"`
	// MsaAppTenantID - Microsoft App Tenant Id for the bot
	MsaAppTenantID *string `json:"msaAppTenantId,omitempty"`
	// MsaAppMSIResourceID - Microsoft App Managed Identity Resource Id for the bot
	MsaAppMSIResourceID *string `json:"msaAppMSIResourceId,omitempty"`
	// ConfiguredChannels - READ-ONLY; Collection of channels for which the bot is configured
	ConfiguredChannels *[]string `json:"configuredChannels,omitempty"`
	// EnabledChannels - READ-ONLY; Collection of channels for which the bot is enabled
	EnabledChannels *[]string `json:"enabledChannels,omitempty"`
	// DeveloperAppInsightKey - The Application Insights key
	DeveloperAppInsightKey *string `json:"developerAppInsightKey,omitempty"`
	// DeveloperAppInsightsAPIKey - The Application Insights Api Key
	DeveloperAppInsightsAPIKey *string `json:"developerAppInsightsApiKey,omitempty"`
	// DeveloperAppInsightsApplicationID - The Application Insights App Id
	DeveloperAppInsightsApplicationID *string `json:"developerAppInsightsApplicationId,omitempty"`
	// LuisAppIds - Collection of LUIS App Ids
	LuisAppIds *[]string `json:"luisAppIds,omitempty"`
	// LuisKey - The LUIS Key
	LuisKey *string `json:"luisKey,omitempty"`
	// IsCmekEnabled - Whether Cmek is enabled
	IsCmekEnabled *bool `json:"isCmekEnabled,omitempty"`
	// CmekKeyVaultURL - The CMK Url
	CmekKeyVaultURL *string `json:"cmekKeyVaultUrl,omitempty"`
	// CmekEncryptionStatus - The CMK encryption status
	CmekEncryptionStatus *string `json:"cmekEncryptionStatus,omitempty"`
	// PublicNetworkAccess - Whether the bot is in an isolated network. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// IsStreamingSupported - Whether the bot is streaming supported
	IsStreamingSupported *bool `json:"isStreamingSupported,omitempty"`
	// IsDeveloperAppInsightsAPIKeySet - Whether the bot is developerAppInsightsApiKey set
	IsDeveloperAppInsightsAPIKeySet *bool `json:"isDeveloperAppInsightsApiKeySet,omitempty"`
	// MigrationToken - READ-ONLY; Token used to migrate non Azure bot to azure subscription
	MigrationToken *string `json:"migrationToken,omitempty"`
	// DisableLocalAuth - Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
	// SchemaTransformationVersion - The channel schema transformation version for the bot
	SchemaTransformationVersion *string `json:"schemaTransformationVersion,omitempty"`
	// StorageResourceID - The storage resourceId for the bot
	StorageResourceID *string `json:"storageResourceId,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; List of Private Endpoint Connections configured for the bot
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// OpenWithHint - The hint to browser (e.g. protocol handler) on how to open the bot for authoring
	OpenWithHint *string `json:"openWithHint,omitempty"`
	// AppPasswordHint - The hint (e.g. keyVault secret resourceId) on how to fetch the app secret
	AppPasswordHint *string `json:"appPasswordHint,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// PublishingCredentials - Publishing credentials of the resource
	PublishingCredentials *string `json:"publishingCredentials,omitempty"`
}

BotProperties the parameters to provide for the Bot.

func (BotProperties) MarshalJSON

func (bp BotProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BotProperties.

type BotResponseList

type BotResponseList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of bot service resources.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - READ-ONLY; Gets the list of bot service results and their properties.
	Value *[]Bot `json:"value,omitempty"`
}

BotResponseList the list of bot service operation response.

func (BotResponseList) IsEmpty

func (brl BotResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (BotResponseList) MarshalJSON

func (brl BotResponseList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BotResponseList.

type BotResponseListIterator

type BotResponseListIterator struct {
	// contains filtered or unexported fields
}

BotResponseListIterator provides access to a complete listing of Bot values.

func NewBotResponseListIterator

func NewBotResponseListIterator(page BotResponseListPage) BotResponseListIterator

Creates a new instance of the BotResponseListIterator type.

func (*BotResponseListIterator) Next

func (iter *BotResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BotResponseListIterator) NextWithContext

func (iter *BotResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BotResponseListIterator) NotDone

func (iter BotResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BotResponseListIterator) Response

func (iter BotResponseListIterator) Response() BotResponseList

Response returns the raw server response from the last page request.

func (BotResponseListIterator) Value

func (iter BotResponseListIterator) Value() Bot

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BotResponseListPage

type BotResponseListPage struct {
	// contains filtered or unexported fields
}

BotResponseListPage contains a page of Bot values.

func NewBotResponseListPage

func NewBotResponseListPage(cur BotResponseList, getNextPage func(context.Context, BotResponseList) (BotResponseList, error)) BotResponseListPage

Creates a new instance of the BotResponseListPage type.

func (*BotResponseListPage) Next

func (page *BotResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BotResponseListPage) NextWithContext

func (page *BotResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BotResponseListPage) NotDone

func (page BotResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BotResponseListPage) Response

func (page BotResponseListPage) Response() BotResponseList

Response returns the raw server response from the last page request.

func (BotResponseListPage) Values

func (page BotResponseListPage) Values() []Bot

Values returns the slice of values for the current page or nil if there are no values.

type BotsClient

type BotsClient struct {
	BaseClient
}

BotsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewBotsClient

func NewBotsClient(subscriptionID string) BotsClient

NewBotsClient creates an instance of the BotsClient client.

func NewBotsClientWithBaseURI

func NewBotsClientWithBaseURI(baseURI string, subscriptionID string) BotsClient

NewBotsClientWithBaseURI creates an instance of the BotsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BotsClient) Create

func (client BotsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)

Create creates a Bot Service. Bot Service is a resource group wide resource type. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.

func (BotsClient) CreatePreparer

func (client BotsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BotsClient) CreateResponder

func (client BotsClient) CreateResponder(resp *http.Response) (result Bot, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BotsClient) CreateSender

func (client BotsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Delete

func (client BotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)

Delete deletes a Bot Service from the resource group. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotsClient) DeletePreparer

func (client BotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BotsClient) DeleteResponder

func (client BotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BotsClient) DeleteSender

func (client BotsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Get

func (client BotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Bot, err error)

Get returns a BotService specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotsClient) GetCheckNameAvailability

func (client BotsClient) GetCheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (result CheckNameAvailabilityResponseBody, err error)

GetCheckNameAvailability check whether a bot name is available. Parameters: parameters - the request body parameters to provide for the check name availability request

func (BotsClient) GetCheckNameAvailabilityPreparer

func (client BotsClient) GetCheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (*http.Request, error)

GetCheckNameAvailabilityPreparer prepares the GetCheckNameAvailability request.

func (BotsClient) GetCheckNameAvailabilityResponder

func (client BotsClient) GetCheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponseBody, err error)

GetCheckNameAvailabilityResponder handles the response to the GetCheckNameAvailability request. The method always closes the http.Response Body.

func (BotsClient) GetCheckNameAvailabilitySender

func (client BotsClient) GetCheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

GetCheckNameAvailabilitySender sends the GetCheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (BotsClient) GetPreparer

func (client BotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BotsClient) GetResponder

func (client BotsClient) GetResponder(resp *http.Response) (result Bot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BotsClient) GetSender

func (client BotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BotsClient) List

func (client BotsClient) List(ctx context.Context) (result BotResponseListPage, err error)

List returns all the resources of a particular type belonging to a subscription.

func (BotsClient) ListByResourceGroup

func (client BotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BotResponseListPage, err error)

ListByResourceGroup returns all the resources of a particular type belonging to a resource group Parameters: resourceGroupName - the name of the Bot resource group in the user subscription.

func (BotsClient) ListByResourceGroupComplete

func (client BotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BotResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (BotsClient) ListByResourceGroupPreparer

func (client BotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (BotsClient) ListByResourceGroupResponder

func (client BotsClient) ListByResourceGroupResponder(resp *http.Response) (result BotResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (BotsClient) ListByResourceGroupSender

func (client BotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (BotsClient) ListComplete

func (client BotsClient) ListComplete(ctx context.Context) (result BotResponseListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BotsClient) ListPreparer

func (client BotsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (BotsClient) ListResponder

func (client BotsClient) ListResponder(resp *http.Response) (result BotResponseList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BotsClient) ListSender

func (client BotsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Update

func (client BotsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)

Update updates a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.

func (BotsClient) UpdatePreparer

func (client BotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BotsClient) UpdateResponder

func (client BotsClient) UpdateResponder(resp *http.Response) (result Bot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BotsClient) UpdateSender

func (client BotsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Channel

type Channel struct {
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

Channel channel definition

func (Channel) AsAlexaChannel

func (c Channel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for Channel.

func (Channel) AsBasicChannel

func (c Channel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for Channel.

func (Channel) AsChannel

func (c Channel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for Channel.

func (Channel) AsDirectLineChannel

func (c Channel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for Channel.

func (Channel) AsDirectLineSpeechChannel

func (c Channel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for Channel.

func (Channel) AsEmailChannel

func (c Channel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for Channel.

func (Channel) AsFacebookChannel

func (c Channel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for Channel.

func (Channel) AsKikChannel

func (c Channel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for Channel.

func (Channel) AsLineChannel

func (c Channel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for Channel.

func (Channel) AsMsTeamsChannel

func (c Channel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for Channel.

func (Channel) AsSkypeChannel

func (c Channel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for Channel.

func (Channel) AsSlackChannel

func (c Channel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for Channel.

func (Channel) AsSmsChannel

func (c Channel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for Channel.

func (Channel) AsTelegramChannel

func (c Channel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for Channel.

func (Channel) AsWebChatChannel

func (c Channel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for Channel.

func (Channel) MarshalJSON

func (c Channel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Channel.

type ChannelName

type ChannelName string

ChannelName enumerates the values for channel name.

const (
	// ChannelNameAlexaChannel ...
	ChannelNameAlexaChannel ChannelName = "AlexaChannel"
	// ChannelNameDirectLineChannel ...
	ChannelNameDirectLineChannel ChannelName = "DirectLineChannel"
	// ChannelNameDirectLineSpeechChannel ...
	ChannelNameDirectLineSpeechChannel ChannelName = "DirectLineSpeechChannel"
	// ChannelNameEmailChannel ...
	ChannelNameEmailChannel ChannelName = "EmailChannel"
	// ChannelNameFacebookChannel ...
	ChannelNameFacebookChannel ChannelName = "FacebookChannel"
	// ChannelNameKikChannel ...
	ChannelNameKikChannel ChannelName = "KikChannel"
	// ChannelNameLineChannel ...
	ChannelNameLineChannel ChannelName = "LineChannel"
	// ChannelNameMsTeamsChannel ...
	ChannelNameMsTeamsChannel ChannelName = "MsTeamsChannel"
	// ChannelNameSkypeChannel ...
	ChannelNameSkypeChannel ChannelName = "SkypeChannel"
	// ChannelNameSlackChannel ...
	ChannelNameSlackChannel ChannelName = "SlackChannel"
	// ChannelNameSmsChannel ...
	ChannelNameSmsChannel ChannelName = "SmsChannel"
	// ChannelNameTelegramChannel ...
	ChannelNameTelegramChannel ChannelName = "TelegramChannel"
	// ChannelNameWebChatChannel ...
	ChannelNameWebChatChannel ChannelName = "WebChatChannel"
)

func PossibleChannelNameValues

func PossibleChannelNameValues() []ChannelName

PossibleChannelNameValues returns an array of possible values for the ChannelName const type.

type ChannelNameBasicChannel

type ChannelNameBasicChannel string

ChannelNameBasicChannel enumerates the values for channel name basic channel.

const (
	// ChannelNameBasicChannelChannelNameAlexaChannel ...
	ChannelNameBasicChannelChannelNameAlexaChannel ChannelNameBasicChannel = "AlexaChannel"
	// ChannelNameBasicChannelChannelNameChannel ...
	ChannelNameBasicChannelChannelNameChannel ChannelNameBasicChannel = "Channel"
	// ChannelNameBasicChannelChannelNameDirectLineChannel ...
	ChannelNameBasicChannelChannelNameDirectLineChannel ChannelNameBasicChannel = "DirectLineChannel"
	// ChannelNameBasicChannelChannelNameDirectLineSpeechChannel ...
	ChannelNameBasicChannelChannelNameDirectLineSpeechChannel ChannelNameBasicChannel = "DirectLineSpeechChannel"
	// ChannelNameBasicChannelChannelNameEmailChannel ...
	ChannelNameBasicChannelChannelNameEmailChannel ChannelNameBasicChannel = "EmailChannel"
	// ChannelNameBasicChannelChannelNameFacebookChannel ...
	ChannelNameBasicChannelChannelNameFacebookChannel ChannelNameBasicChannel = "FacebookChannel"
	// ChannelNameBasicChannelChannelNameKikChannel ...
	ChannelNameBasicChannelChannelNameKikChannel ChannelNameBasicChannel = "KikChannel"
	// ChannelNameBasicChannelChannelNameLineChannel ...
	ChannelNameBasicChannelChannelNameLineChannel ChannelNameBasicChannel = "LineChannel"
	// ChannelNameBasicChannelChannelNameMsTeamsChannel ...
	ChannelNameBasicChannelChannelNameMsTeamsChannel ChannelNameBasicChannel = "MsTeamsChannel"
	// ChannelNameBasicChannelChannelNameSkypeChannel ...
	ChannelNameBasicChannelChannelNameSkypeChannel ChannelNameBasicChannel = "SkypeChannel"
	// ChannelNameBasicChannelChannelNameSlackChannel ...
	ChannelNameBasicChannelChannelNameSlackChannel ChannelNameBasicChannel = "SlackChannel"
	// ChannelNameBasicChannelChannelNameSmsChannel ...
	ChannelNameBasicChannelChannelNameSmsChannel ChannelNameBasicChannel = "SmsChannel"
	// ChannelNameBasicChannelChannelNameTelegramChannel ...
	ChannelNameBasicChannelChannelNameTelegramChannel ChannelNameBasicChannel = "TelegramChannel"
	// ChannelNameBasicChannelChannelNameWebChatChannel ...
	ChannelNameBasicChannelChannelNameWebChatChannel ChannelNameBasicChannel = "WebChatChannel"
)

func PossibleChannelNameBasicChannelValues

func PossibleChannelNameBasicChannelValues() []ChannelNameBasicChannel

PossibleChannelNameBasicChannelValues returns an array of possible values for the ChannelNameBasicChannel const type.

type ChannelResponseList

type ChannelResponseList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of bot service channel resources.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - READ-ONLY; Gets the list of bot service channel results and their properties.
	Value *[]BotChannel `json:"value,omitempty"`
}

ChannelResponseList the list of bot service channel operation response.

func (ChannelResponseList) IsEmpty

func (crl ChannelResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ChannelResponseList) MarshalJSON

func (crl ChannelResponseList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ChannelResponseList.

type ChannelResponseListIterator

type ChannelResponseListIterator struct {
	// contains filtered or unexported fields
}

ChannelResponseListIterator provides access to a complete listing of BotChannel values.

func NewChannelResponseListIterator

func NewChannelResponseListIterator(page ChannelResponseListPage) ChannelResponseListIterator

Creates a new instance of the ChannelResponseListIterator type.

func (*ChannelResponseListIterator) Next

func (iter *ChannelResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelResponseListIterator) NextWithContext

func (iter *ChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ChannelResponseListIterator) NotDone

func (iter ChannelResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ChannelResponseListIterator) Response

Response returns the raw server response from the last page request.

func (ChannelResponseListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ChannelResponseListPage

type ChannelResponseListPage struct {
	// contains filtered or unexported fields
}

ChannelResponseListPage contains a page of BotChannel values.

func NewChannelResponseListPage

func NewChannelResponseListPage(cur ChannelResponseList, getNextPage func(context.Context, ChannelResponseList) (ChannelResponseList, error)) ChannelResponseListPage

Creates a new instance of the ChannelResponseListPage type.

func (*ChannelResponseListPage) Next

func (page *ChannelResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelResponseListPage) NextWithContext

func (page *ChannelResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ChannelResponseListPage) NotDone

func (page ChannelResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ChannelResponseListPage) Response

Response returns the raw server response from the last page request.

func (ChannelResponseListPage) Values

func (page ChannelResponseListPage) Values() []BotChannel

Values returns the slice of values for the current page or nil if there are no values.

type ChannelSettings

type ChannelSettings struct {
	// ExtensionKey1 - The extensionKey1
	ExtensionKey1 *string `json:"extensionKey1,omitempty"`
	// ExtensionKey2 - The extensionKey2
	ExtensionKey2 *string `json:"extensionKey2,omitempty"`
	// Sites - The list of sites
	Sites *[]Site `json:"sites,omitempty"`
	// ChannelID - The channel id
	ChannelID *string `json:"channelId,omitempty"`
	// ChannelDisplayName - The channel display name
	ChannelDisplayName *string `json:"channelDisplayName,omitempty"`
	// BotID - The bot id
	BotID *string `json:"botId,omitempty"`
	// BotIconURL - The bot icon url
	BotIconURL *string `json:"botIconUrl,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// DisableLocalAuth - Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`
}

ChannelSettings channel settings definition

type ChannelsClient

type ChannelsClient struct {
	BaseClient
}

ChannelsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewChannelsClient

func NewChannelsClient(subscriptionID string) ChannelsClient

NewChannelsClient creates an instance of the ChannelsClient client.

func NewChannelsClientWithBaseURI

func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient

NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ChannelsClient) Create

func (client ChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)

Create creates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.

func (ChannelsClient) CreatePreparer

func (client ChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ChannelsClient) CreateResponder

func (client ChannelsClient) CreateResponder(resp *http.Response) (result BotChannel, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ChannelsClient) CreateSender

func (client ChannelsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Delete

func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result autorest.Response, err error)

Delete deletes a Channel registration from a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.

func (ChannelsClient) DeletePreparer

func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ChannelsClient) DeleteResponder

func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ChannelsClient) DeleteSender

func (client ChannelsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Get

func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result BotChannel, err error)

Get returns a BotService Channel registration specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.

func (ChannelsClient) GetPreparer

func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ChannelsClient) GetResponder

func (client ChannelsClient) GetResponder(resp *http.Response) (result BotChannel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ChannelsClient) GetSender

func (client ChannelsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) ListByResourceGroup

func (client ChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListPage, err error)

ListByResourceGroup returns all the Channel registrations of a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (ChannelsClient) ListByResourceGroupComplete

func (client ChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ChannelsClient) ListByResourceGroupPreparer

func (client ChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ChannelsClient) ListByResourceGroupResponder

func (client ChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result ChannelResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ChannelsClient) ListByResourceGroupSender

func (client ChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) ListWithKeys

func (client ChannelsClient) ListWithKeys(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (result ListChannelWithKeysResponse, err error)

ListWithKeys lists a Channel registration for a Bot Service including secrets Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource.

func (ChannelsClient) ListWithKeysPreparer

func (client ChannelsClient) ListWithKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (*http.Request, error)

ListWithKeysPreparer prepares the ListWithKeys request.

func (ChannelsClient) ListWithKeysResponder

func (client ChannelsClient) ListWithKeysResponder(resp *http.Response) (result ListChannelWithKeysResponse, err error)

ListWithKeysResponder handles the response to the ListWithKeys request. The method always closes the http.Response Body.

func (ChannelsClient) ListWithKeysSender

func (client ChannelsClient) ListWithKeysSender(req *http.Request) (*http.Response, error)

ListWithKeysSender sends the ListWithKeys request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Update

func (client ChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)

Update updates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.

func (ChannelsClient) UpdatePreparer

func (client ChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ChannelsClient) UpdateResponder

func (client ChannelsClient) UpdateResponder(resp *http.Response) (result BotChannel, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ChannelsClient) UpdateSender

func (client ChannelsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CheckNameAvailabilityRequestBody

type CheckNameAvailabilityRequestBody struct {
	// Name - the name of the bot for which availability needs to be checked.
	Name *string `json:"name,omitempty"`
	// Type - the type of the bot for which availability needs to be checked
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequestBody the request body for a request to Bot Service Management to check availability of a bot name.

type CheckNameAvailabilityResponseBody

type CheckNameAvailabilityResponseBody struct {
	autorest.Response `json:"-"`
	// Valid - indicates if the bot name is valid.
	Valid *bool `json:"valid,omitempty"`
	// Message - additional message from the bot management api showing why a bot name is not available
	Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResponseBody the response body returned for a request to Bot Service Management to check availability of a bot name.

type ConnectionItemName

type ConnectionItemName struct {
	// Name - READ-ONLY; Connection Item name that has been added in the API
	Name *string `json:"name,omitempty"`
}

ConnectionItemName the display name of a connection Item Setting registered with the Bot

func (ConnectionItemName) MarshalJSON

func (cin ConnectionItemName) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionItemName.

type ConnectionSetting

type ConnectionSetting struct {
	autorest.Response `json:"-"`
	// Properties - The set of properties specific to bot channel resource
	Properties *ConnectionSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Specifies the resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Specifies the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; Specifies the type of the resource.
	Type *string `json:"type,omitempty"`
	// Tags - Contains resource tags defined as key/value pairs.
	Tags map[string]*string `json:"tags"`
	// Sku - Gets or sets the SKU of the resource.
	Sku *Sku `json:"sku,omitempty"`
	// Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction', 'KindAzurebot'
	Kind Kind `json:"kind,omitempty"`
	// Etag - Entity Tag
	Etag *string `json:"etag,omitempty"`
	// Zones - READ-ONLY; Entity zones
	Zones *[]string `json:"zones,omitempty"`
}

ConnectionSetting bot channel resource definition

func (ConnectionSetting) MarshalJSON

func (cs ConnectionSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionSetting.

type ConnectionSettingParameter

type ConnectionSettingParameter struct {
	// Key - Key for the Connection Setting Parameter.
	Key *string `json:"key,omitempty"`
	// Value - Value associated with the Connection Setting Parameter.
	Value *string `json:"value,omitempty"`
}

ConnectionSettingParameter extra Parameter in a Connection Setting Properties to indicate service provider specific properties

type ConnectionSettingProperties

type ConnectionSettingProperties struct {
	// ID - Id associated with the Connection Setting.
	ID *string `json:"id,omitempty"`
	// Name - Name associated with the Connection Setting.
	Name *string `json:"name,omitempty"`
	// ClientID - Client Id associated with the Connection Setting.
	ClientID *string `json:"clientId,omitempty"`
	// SettingID - READ-ONLY; Setting Id set by the service for the Connection Setting.
	SettingID *string `json:"settingId,omitempty"`
	// ClientSecret - Client Secret associated with the Connection Setting
	ClientSecret *string `json:"clientSecret,omitempty"`
	// Scopes - Scopes associated with the Connection Setting
	Scopes *string `json:"scopes,omitempty"`
	// ServiceProviderID - Service Provider Id associated with the Connection Setting
	ServiceProviderID *string `json:"serviceProviderId,omitempty"`
	// ServiceProviderDisplayName - Service Provider Display Name associated with the Connection Setting
	ServiceProviderDisplayName *string `json:"serviceProviderDisplayName,omitempty"`
	// Parameters - Service Provider Parameters associated with the Connection Setting
	Parameters *[]ConnectionSettingParameter `json:"parameters,omitempty"`
	// ProvisioningState - Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ConnectionSettingProperties properties for a Connection Setting Item

func (ConnectionSettingProperties) MarshalJSON

func (csp ConnectionSettingProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionSettingProperties.

type ConnectionSettingResponseList

type ConnectionSettingResponseList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of bot service connection setting resources.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - READ-ONLY; Gets the list of bot service connection settings and their properties.
	Value *[]ConnectionSetting `json:"value,omitempty"`
}

ConnectionSettingResponseList the list of bot service connection settings response.

func (ConnectionSettingResponseList) IsEmpty

func (csrl ConnectionSettingResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ConnectionSettingResponseList) MarshalJSON

func (csrl ConnectionSettingResponseList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionSettingResponseList.

type ConnectionSettingResponseListIterator

type ConnectionSettingResponseListIterator struct {
	// contains filtered or unexported fields
}

ConnectionSettingResponseListIterator provides access to a complete listing of ConnectionSetting values.

func NewConnectionSettingResponseListIterator

func NewConnectionSettingResponseListIterator(page ConnectionSettingResponseListPage) ConnectionSettingResponseListIterator

Creates a new instance of the ConnectionSettingResponseListIterator type.

func (*ConnectionSettingResponseListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectionSettingResponseListIterator) NextWithContext

func (iter *ConnectionSettingResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectionSettingResponseListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectionSettingResponseListIterator) Response

Response returns the raw server response from the last page request.

func (ConnectionSettingResponseListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectionSettingResponseListPage

type ConnectionSettingResponseListPage struct {
	// contains filtered or unexported fields
}

ConnectionSettingResponseListPage contains a page of ConnectionSetting values.

func NewConnectionSettingResponseListPage

Creates a new instance of the ConnectionSettingResponseListPage type.

func (*ConnectionSettingResponseListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectionSettingResponseListPage) NextWithContext

func (page *ConnectionSettingResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectionSettingResponseListPage) NotDone

func (page ConnectionSettingResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectionSettingResponseListPage) Response

Response returns the raw server response from the last page request.

func (ConnectionSettingResponseListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DirectLineChannel

type DirectLineChannel struct {
	// Properties - The set of properties specific to Direct Line channel resource
	Properties *DirectLineChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

DirectLineChannel direct Line channel definition

func (DirectLineChannel) AsAlexaChannel

func (dlc DirectLineChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsBasicChannel

func (dlc DirectLineChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsChannel

func (dlc DirectLineChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsDirectLineChannel

func (dlc DirectLineChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsDirectLineSpeechChannel

func (dlc DirectLineChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsEmailChannel

func (dlc DirectLineChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsFacebookChannel

func (dlc DirectLineChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsKikChannel

func (dlc DirectLineChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsLineChannel

func (dlc DirectLineChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsMsTeamsChannel

func (dlc DirectLineChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSkypeChannel

func (dlc DirectLineChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSlackChannel

func (dlc DirectLineChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSmsChannel

func (dlc DirectLineChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsTelegramChannel

func (dlc DirectLineChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsWebChatChannel

func (dlc DirectLineChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) MarshalJSON

func (dlc DirectLineChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DirectLineChannel.

type DirectLineChannelProperties

type DirectLineChannelProperties struct {
	// Sites - The list of Direct Line sites
	Sites *[]DirectLineSite `json:"sites,omitempty"`
	// DirectLineEmbedCode - Direct Line embed code of the resource
	DirectLineEmbedCode *string `json:"DirectLineEmbedCode,omitempty"`
}

DirectLineChannelProperties the parameters to provide for the Direct Line channel.

type DirectLineClient

type DirectLineClient struct {
	BaseClient
}

DirectLineClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewDirectLineClient

func NewDirectLineClient(subscriptionID string) DirectLineClient

NewDirectLineClient creates an instance of the DirectLineClient client.

func NewDirectLineClientWithBaseURI

func NewDirectLineClientWithBaseURI(baseURI string, subscriptionID string) DirectLineClient

NewDirectLineClientWithBaseURI creates an instance of the DirectLineClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DirectLineClient) RegenerateKeys

func (client DirectLineClient) RegenerateKeys(ctx context.Context, resourceGroupName string, resourceName string, channelName RegenerateKeysChannelName, parameters SiteInfo) (result BotChannel, err error)

RegenerateKeys regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource for which keys are to be regenerated. parameters - the parameters to provide for the created bot.

func (DirectLineClient) RegenerateKeysPreparer

func (client DirectLineClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName RegenerateKeysChannelName, parameters SiteInfo) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (DirectLineClient) RegenerateKeysResponder

func (client DirectLineClient) RegenerateKeysResponder(resp *http.Response) (result BotChannel, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (DirectLineClient) RegenerateKeysSender

func (client DirectLineClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

type DirectLineSite

type DirectLineSite struct {
	// SiteID - READ-ONLY; Site Id
	SiteID *string `json:"siteId,omitempty"`
	// SiteName - Site name
	SiteName *string `json:"siteName,omitempty"`
	// Key - READ-ONLY; Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key *string `json:"key,omitempty"`
	// Key2 - READ-ONLY; Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key2 *string `json:"key2,omitempty"`
	// IsEnabled - Whether this site is enabled for DirectLine channel.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// IsV1Enabled - Whether this site is enabled for Bot Framework V1 protocol.
	IsV1Enabled *bool `json:"isV1Enabled,omitempty"`
	// IsV3Enabled - Whether this site is enabled for Bot Framework V1 protocol.
	IsV3Enabled *bool `json:"isV3Enabled,omitempty"`
	// IsSecureSiteEnabled - Whether this site is enabled for authentication with Bot Framework.
	IsSecureSiteEnabled *bool `json:"isSecureSiteEnabled,omitempty"`
	// IsBlockUserUploadEnabled - Whether this site is enabled for block user upload.
	IsBlockUserUploadEnabled *bool `json:"isBlockUserUploadEnabled,omitempty"`
	// TrustedOrigins - List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.
	TrustedOrigins *[]string `json:"trustedOrigins,omitempty"`
}

DirectLineSite a site for the Direct Line channel

func (DirectLineSite) MarshalJSON

func (dls DirectLineSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DirectLineSite.

type DirectLineSpeechChannel

type DirectLineSpeechChannel struct {
	// Properties - The set of properties specific to DirectLine Speech channel resource
	Properties *DirectLineSpeechChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

DirectLineSpeechChannel directLine Speech channel definition

func (DirectLineSpeechChannel) AsAlexaChannel

func (dlsc DirectLineSpeechChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsBasicChannel

func (dlsc DirectLineSpeechChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsChannel

func (dlsc DirectLineSpeechChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsDirectLineChannel

func (dlsc DirectLineSpeechChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsDirectLineSpeechChannel

func (dlsc DirectLineSpeechChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsEmailChannel

func (dlsc DirectLineSpeechChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsFacebookChannel

func (dlsc DirectLineSpeechChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsKikChannel

func (dlsc DirectLineSpeechChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsLineChannel

func (dlsc DirectLineSpeechChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsMsTeamsChannel

func (dlsc DirectLineSpeechChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsSkypeChannel

func (dlsc DirectLineSpeechChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsSlackChannel

func (dlsc DirectLineSpeechChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsSmsChannel

func (dlsc DirectLineSpeechChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsTelegramChannel

func (dlsc DirectLineSpeechChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) AsWebChatChannel

func (dlsc DirectLineSpeechChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for DirectLineSpeechChannel.

func (DirectLineSpeechChannel) MarshalJSON

func (dlsc DirectLineSpeechChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DirectLineSpeechChannel.

type DirectLineSpeechChannelProperties

type DirectLineSpeechChannelProperties struct {
	// CognitiveServiceRegion - The cognitive service region with this channel registration.
	CognitiveServiceRegion *string `json:"cognitiveServiceRegion,omitempty"`
	// CognitiveServiceSubscriptionKey - The cognitive service subscription key to use with this channel registration.
	CognitiveServiceSubscriptionKey *string `json:"cognitiveServiceSubscriptionKey,omitempty"`
	// IsEnabled - Whether this channel is enabled or not.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// CustomVoiceDeploymentID - Custom speech model id (optional).
	CustomVoiceDeploymentID *string `json:"customVoiceDeploymentId,omitempty"`
	// CustomSpeechModelID - Custom voice deployment id (optional).
	CustomSpeechModelID *string `json:"customSpeechModelId,omitempty"`
	// IsDefaultBotForCogSvcAccount - Make this a default bot for chosen cognitive service account.
	IsDefaultBotForCogSvcAccount *bool `json:"isDefaultBotForCogSvcAccount,omitempty"`
}

DirectLineSpeechChannelProperties the parameters to provide for the DirectLine Speech channel.

type EmailChannel

type EmailChannel struct {
	// Properties - The set of properties specific to email channel resource
	Properties *EmailChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

EmailChannel email channel definition

func (EmailChannel) AsAlexaChannel

func (ec EmailChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsBasicChannel

func (ec EmailChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsChannel

func (ec EmailChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsDirectLineChannel

func (ec EmailChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsDirectLineSpeechChannel

func (ec EmailChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsEmailChannel

func (ec EmailChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsFacebookChannel

func (ec EmailChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsKikChannel

func (ec EmailChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsLineChannel

func (ec EmailChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsMsTeamsChannel

func (ec EmailChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSkypeChannel

func (ec EmailChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSlackChannel

func (ec EmailChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSmsChannel

func (ec EmailChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsTelegramChannel

func (ec EmailChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsWebChatChannel

func (ec EmailChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) MarshalJSON

func (ec EmailChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EmailChannel.

type EmailChannelProperties

type EmailChannelProperties struct {
	// EmailAddress - The email address
	EmailAddress *string `json:"emailAddress,omitempty"`
	// Password - The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.
	Password *string `json:"password,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

EmailChannelProperties the parameters to provide for the Email channel.

type Error

type Error struct {
	// Error - The error body.
	Error *ErrorBody `json:"error,omitempty"`
}

Error bot Service error object.

type ErrorBody

type ErrorBody struct {
	// Code - error code
	Code *string `json:"code,omitempty"`
	// Message - error message
	Message *string `json:"message,omitempty"`
}

ErrorBody bot Service error body.

type FacebookChannel

type FacebookChannel struct {
	// Properties - The set of properties specific to bot facebook channel
	Properties *FacebookChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

FacebookChannel facebook channel definition

func (FacebookChannel) AsAlexaChannel

func (fc FacebookChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsBasicChannel

func (fc FacebookChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsChannel

func (fc FacebookChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsDirectLineChannel

func (fc FacebookChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsDirectLineSpeechChannel

func (fc FacebookChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsEmailChannel

func (fc FacebookChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsFacebookChannel

func (fc FacebookChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsKikChannel

func (fc FacebookChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsLineChannel

func (fc FacebookChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsMsTeamsChannel

func (fc FacebookChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSkypeChannel

func (fc FacebookChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSlackChannel

func (fc FacebookChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSmsChannel

func (fc FacebookChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsTelegramChannel

func (fc FacebookChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsWebChatChannel

func (fc FacebookChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) MarshalJSON

func (fc FacebookChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FacebookChannel.

type FacebookChannelProperties

type FacebookChannelProperties struct {
	// VerifyToken - READ-ONLY; Verify token. Value only returned through POST to the action Channel List API, otherwise empty.
	VerifyToken *string `json:"verifyToken,omitempty"`
	// Pages - The list of Facebook pages
	Pages *[]FacebookPage `json:"pages,omitempty"`
	// AppID - Facebook application id
	AppID *string `json:"appId,omitempty"`
	// AppSecret - Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.
	AppSecret *string `json:"appSecret,omitempty"`
	// CallbackURL - READ-ONLY; Callback Url
	CallbackURL *string `json:"callbackUrl,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

FacebookChannelProperties the parameters to provide for the Facebook channel.

func (FacebookChannelProperties) MarshalJSON

func (fcp FacebookChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FacebookChannelProperties.

type FacebookPage

type FacebookPage struct {
	// ID - Page id
	ID *string `json:"id,omitempty"`
	// AccessToken - Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
	AccessToken *string `json:"accessToken,omitempty"`
}

FacebookPage a Facebook page for Facebook channel registration

type HostSettingsClient

type HostSettingsClient struct {
	BaseClient
}

HostSettingsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewHostSettingsClient

func NewHostSettingsClient(subscriptionID string) HostSettingsClient

NewHostSettingsClient creates an instance of the HostSettingsClient client.

func NewHostSettingsClientWithBaseURI

func NewHostSettingsClientWithBaseURI(baseURI string, subscriptionID string) HostSettingsClient

NewHostSettingsClientWithBaseURI creates an instance of the HostSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HostSettingsClient) Get

func (client HostSettingsClient) Get(ctx context.Context) (result HostSettingsResponse, err error)

Get get per subscription settings needed to host bot in compute resource such as Azure App Service

func (HostSettingsClient) GetPreparer

func (client HostSettingsClient) GetPreparer(ctx context.Context) (*http.Request, error)

GetPreparer prepares the Get request.

func (HostSettingsClient) GetResponder

func (client HostSettingsClient) GetResponder(resp *http.Response) (result HostSettingsResponse, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (HostSettingsClient) GetSender

func (client HostSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type HostSettingsResponse

type HostSettingsResponse struct {
	autorest.Response `json:"-"`
	// OAuthURL - For in-conversation bot user authentication
	OAuthURL *string `json:"OAuthUrl,omitempty"`
	// ToBotFromChannelOpenIDMetadataURL - For verifying incoming tokens from the channels
	ToBotFromChannelOpenIDMetadataURL *string `json:"ToBotFromChannelOpenIdMetadataUrl,omitempty"`
	// ToBotFromChannelTokenIssuer - For verifying incoming tokens from the channels
	ToBotFromChannelTokenIssuer *string `json:"ToBotFromChannelTokenIssuer,omitempty"`
	// ToBotFromEmulatorOpenIDMetadataURL - For verifying incoming tokens from bot emulator
	ToBotFromEmulatorOpenIDMetadataURL *string `json:"ToBotFromEmulatorOpenIdMetadataUrl,omitempty"`
	// ToChannelFromBotLoginURL - For getting access token to channels from bot host
	ToChannelFromBotLoginURL *string `json:"ToChannelFromBotLoginUrl,omitempty"`
	// ToChannelFromBotOAuthScope - For getting access token to channels from bot host
	ToChannelFromBotOAuthScope *string `json:"ToChannelFromBotOAuthScope,omitempty"`
	// ValidateAuthority - Per cloud OAuth setting on whether authority is validated
	ValidateAuthority *bool `json:"ValidateAuthority,omitempty"`
	// BotOpenIDMetadata - Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12
	BotOpenIDMetadata *string `json:"BotOpenIdMetadata,omitempty"`
}

HostSettingsResponse the response body returned for a request to Bot Service Management to check per subscription hostSettings

type Key

type Key string

Key enumerates the values for key.

const (
	// Key1 ...
	Key1 Key = "key1"
	// Key2 ...
	Key2 Key = "key2"
)

func PossibleKeyValues

func PossibleKeyValues() []Key

PossibleKeyValues returns an array of possible values for the Key const type.

type KikChannel

type KikChannel struct {
	// Properties - The set of properties specific to Kik channel resource
	Properties *KikChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

KikChannel kik channel definition

func (KikChannel) AsAlexaChannel

func (kc KikChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsBasicChannel

func (kc KikChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsChannel

func (kc KikChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsDirectLineChannel

func (kc KikChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsDirectLineSpeechChannel

func (kc KikChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsEmailChannel

func (kc KikChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsFacebookChannel

func (kc KikChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsKikChannel

func (kc KikChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsLineChannel

func (kc KikChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsMsTeamsChannel

func (kc KikChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSkypeChannel

func (kc KikChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSlackChannel

func (kc KikChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSmsChannel

func (kc KikChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsTelegramChannel

func (kc KikChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsWebChatChannel

func (kc KikChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) MarshalJSON

func (kc KikChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KikChannel.

type KikChannelProperties

type KikChannelProperties struct {
	// UserName - The Kik user name
	UserName *string `json:"userName,omitempty"`
	// APIKey - Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.
	APIKey *string `json:"apiKey,omitempty"`
	// IsValidated - Whether this channel is validated for the bot
	IsValidated *bool `json:"isValidated,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

KikChannelProperties the parameters to provide for the Kik channel.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindAzurebot ...
	KindAzurebot Kind = "azurebot"
	// KindBot ...
	KindBot Kind = "bot"
	// KindDesigner ...
	KindDesigner Kind = "designer"
	// KindFunction ...
	KindFunction Kind = "function"
	// KindSdk ...
	KindSdk Kind = "sdk"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type LineChannel

type LineChannel struct {
	// Properties - The set of properties specific to line channel resource
	Properties *LineChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

LineChannel line channel definition

func (LineChannel) AsAlexaChannel

func (lc LineChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsBasicChannel

func (lc LineChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsChannel

func (lc LineChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsDirectLineChannel

func (lc LineChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsDirectLineSpeechChannel

func (lc LineChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsEmailChannel

func (lc LineChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsFacebookChannel

func (lc LineChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsKikChannel

func (lc LineChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsLineChannel

func (lc LineChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsMsTeamsChannel

func (lc LineChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsSkypeChannel

func (lc LineChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsSlackChannel

func (lc LineChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsSmsChannel

func (lc LineChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsTelegramChannel

func (lc LineChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) AsWebChatChannel

func (lc LineChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for LineChannel.

func (LineChannel) MarshalJSON

func (lc LineChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LineChannel.

type LineChannelProperties

type LineChannelProperties struct {
	// LineRegistrations - The list of line channel registrations
	LineRegistrations *[]LineRegistration `json:"lineRegistrations,omitempty"`
	// CallbackURL - READ-ONLY; Callback Url to enter in line registration.
	CallbackURL *string `json:"callbackUrl,omitempty"`
	// IsValidated - READ-ONLY; Whether this channel is validated for the bot
	IsValidated *bool `json:"isValidated,omitempty"`
}

LineChannelProperties the parameters to provide for the Line channel.

func (LineChannelProperties) MarshalJSON

func (lcp LineChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LineChannelProperties.

type LineRegistration

type LineRegistration struct {
	// GeneratedID - READ-ONLY; Id generated for the line channel registration
	GeneratedID *string `json:"generatedId,omitempty"`
	// ChannelSecret - Secret for the line channel registration
	ChannelSecret *string `json:"channelSecret,omitempty"`
	// ChannelAccessToken - Access token for the line channel registration
	ChannelAccessToken *string `json:"channelAccessToken,omitempty"`
}

LineRegistration the properties corresponding to a line channel registration

func (LineRegistration) MarshalJSON

func (lr LineRegistration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LineRegistration.

type ListChannelWithKeysResponse

type ListChannelWithKeysResponse struct {
	autorest.Response `json:"-"`
	// Resource - The set of properties specific to bot channel resource
	Resource BasicChannel `json:"resource,omitempty"`
	// Setting - Channel settings
	Setting *ChannelSettings `json:"setting,omitempty"`
	// Properties - The set of properties specific to bot channel resource
	Properties BasicChannel `json:"properties,omitempty"`
	// ID - READ-ONLY; Specifies the resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Specifies the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; Specifies the type of the resource.
	Type *string `json:"type,omitempty"`
	// Tags - Contains resource tags defined as key/value pairs.
	Tags map[string]*string `json:"tags"`
	// Sku - Gets or sets the SKU of the resource.
	Sku *Sku `json:"sku,omitempty"`
	// Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction', 'KindAzurebot'
	Kind Kind `json:"kind,omitempty"`
	// Etag - Entity Tag
	Etag *string `json:"etag,omitempty"`
	// Zones - READ-ONLY; Entity zones
	Zones *[]string `json:"zones,omitempty"`
}

ListChannelWithKeysResponse the ARM channel of list channel with keys operation response.

func (ListChannelWithKeysResponse) MarshalJSON

func (lcwkr ListChannelWithKeysResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ListChannelWithKeysResponse.

func (*ListChannelWithKeysResponse) UnmarshalJSON

func (lcwkr *ListChannelWithKeysResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ListChannelWithKeysResponse struct.

type MsTeamsChannel

type MsTeamsChannel struct {
	// Properties - The set of properties specific to Microsoft Teams channel resource
	Properties *MsTeamsChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

MsTeamsChannel microsoft Teams channel definition

func (MsTeamsChannel) AsAlexaChannel

func (mtc MsTeamsChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsBasicChannel

func (mtc MsTeamsChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsChannel

func (mtc MsTeamsChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsDirectLineChannel

func (mtc MsTeamsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsDirectLineSpeechChannel

func (mtc MsTeamsChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsEmailChannel

func (mtc MsTeamsChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsFacebookChannel

func (mtc MsTeamsChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsKikChannel

func (mtc MsTeamsChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsLineChannel

func (mtc MsTeamsChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsMsTeamsChannel

func (mtc MsTeamsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSkypeChannel

func (mtc MsTeamsChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSlackChannel

func (mtc MsTeamsChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSmsChannel

func (mtc MsTeamsChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsTelegramChannel

func (mtc MsTeamsChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsWebChatChannel

func (mtc MsTeamsChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) MarshalJSON

func (mtc MsTeamsChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MsTeamsChannel.

type MsTeamsChannelProperties

type MsTeamsChannelProperties struct {
	// EnableCalling - Enable calling for Microsoft Teams channel
	EnableCalling *bool `json:"enableCalling,omitempty"`
	// CallingWebHook - Webhook for Microsoft Teams channel calls
	CallingWebHook *string `json:"callingWebHook,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// IncomingCallRoute - Webhook for Microsoft Teams channel calls
	IncomingCallRoute *string `json:"incomingCallRoute,omitempty"`
	// DeploymentEnvironment - Deployment environment for Microsoft Teams channel calls
	DeploymentEnvironment *string `json:"deploymentEnvironment,omitempty"`
	// AcceptedTerms - Whether this channel accepted terms
	AcceptedTerms *bool `json:"acceptedTerms,omitempty"`
}

MsTeamsChannelProperties the parameters to provide for the Microsoft Teams channel.

type MsaAppType

type MsaAppType string

MsaAppType enumerates the values for msa app type.

const (
	// MsaAppTypeMultiTenant ...
	MsaAppTypeMultiTenant MsaAppType = "MultiTenant"
	// MsaAppTypeSingleTenant ...
	MsaAppTypeSingleTenant MsaAppType = "SingleTenant"
	// MsaAppTypeUserAssignedMSI ...
	MsaAppTypeUserAssignedMSI MsaAppType = "UserAssignedMSI"
)

func PossibleMsaAppTypeValues

func PossibleMsaAppTypeValues() []MsaAppType

PossibleMsaAppTypeValues returns an array of possible values for the MsaAppType const type.

type OperationDisplayInfo

type OperationDisplayInfo struct {
	// Description - The description of the operation.
	Description *string `json:"description,omitempty"`
	// Operation - The action that users can perform, based on their permission level.
	Operation *string `json:"operation,omitempty"`
	// Provider - Service provider: Microsoft Bot Service.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by Bot Service Management.

type OperationEntity

type OperationEntity struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The operation supported by Bot Service Management.
	Display *OperationDisplayInfo `json:"display,omitempty"`
	// Origin - The origin of the operation.
	Origin *string `json:"origin,omitempty"`
	// Properties - Additional properties.
	Properties interface{} `json:"properties,omitempty"`
}

OperationEntity the operations supported by Bot Service Management.

type OperationEntityListResult

type OperationEntityListResult struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The list of operations.
	Value *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult the list of bot service operation response.

func (OperationEntityListResult) IsEmpty

func (oelr OperationEntityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationEntityListResultIterator

type OperationEntityListResultIterator struct {
	// contains filtered or unexported fields
}

OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.

func NewOperationEntityListResultIterator

func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator

Creates a new instance of the OperationEntityListResultIterator type.

func (*OperationEntityListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultIterator) NextWithContext

func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationEntityListResultIterator) NotDone

func (iter OperationEntityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationEntityListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationEntityListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationEntityListResultPage

type OperationEntityListResultPage struct {
	// contains filtered or unexported fields
}

OperationEntityListResultPage contains a page of OperationEntity values.

func NewOperationEntityListResultPage

Creates a new instance of the OperationEntityListResultPage type.

func (*OperationEntityListResultPage) Next

func (page *OperationEntityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultPage) NextWithContext

func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationEntityListResultPage) NotDone

func (page OperationEntityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationEntityListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationEntityListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OperationResultStatus

type OperationResultStatus string

OperationResultStatus enumerates the values for operation result status.

const (
	// OperationResultStatusCanceled ...
	OperationResultStatusCanceled OperationResultStatus = "Canceled"
	// OperationResultStatusFailed ...
	OperationResultStatusFailed OperationResultStatus = "Failed"
	// OperationResultStatusRequested ...
	OperationResultStatusRequested OperationResultStatus = "Requested"
	// OperationResultStatusRunning ...
	OperationResultStatusRunning OperationResultStatus = "Running"
	// OperationResultStatusSucceeded ...
	OperationResultStatusSucceeded OperationResultStatus = "Succeeded"
)

func PossibleOperationResultStatusValues

func PossibleOperationResultStatusValues() []OperationResultStatus

PossibleOperationResultStatusValues returns an array of possible values for the OperationResultStatus const type.

type OperationResultsClient

type OperationResultsClient struct {
	BaseClient
}

OperationResultsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewOperationResultsClient

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationResultsClient) Get

func (client OperationResultsClient) Get(ctx context.Context, operationResultID string) (result OperationResultsGetFuture, err error)

Get get the operation result for a long running operation. Parameters: operationResultID - the ID of the operation result to get.

func (OperationResultsClient) GetPreparer

func (client OperationResultsClient) GetPreparer(ctx context.Context, operationResultID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder

func (client OperationResultsClient) GetResponder(resp *http.Response) (result OperationResultsDescription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationResultsClient) GetSender

func (client OperationResultsClient) GetSender(req *http.Request) (future OperationResultsGetFuture, err error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationResultsDescription

type OperationResultsDescription struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The ID of the operation returned.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the operation result.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; The status of the operation being performed. Possible values include: 'OperationResultStatusCanceled', 'OperationResultStatusSucceeded', 'OperationResultStatusFailed', 'OperationResultStatusRequested', 'OperationResultStatusRunning'
	Status OperationResultStatus `json:"status,omitempty"`
	// StartTime - READ-ONLY; The time that the operation was started.
	StartTime *date.Time `json:"startTime,omitempty"`
}

OperationResultsDescription the properties indicating the operation result of an operation on a service.

func (OperationResultsDescription) MarshalJSON

func (ord OperationResultsDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationResultsDescription.

type OperationResultsGetFuture

type OperationResultsGetFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OperationResultsClient) (OperationResultsDescription, error)
}

OperationResultsGetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OperationResultsGetFuture) UnmarshalJSON

func (future *OperationResultsGetFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)

List lists all the available BotService operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; The ARM identifier for Private Endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection the Private Endpoint Connection resource.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private endpoint connections
	Value *[]PrivateEndpointConnection `json:"value,omitempty"`
}

PrivateEndpointConnectionListResult list of private endpoint connection associated with the specified storage account

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
	ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

const (
	// PrivateEndpointConnectionProvisioningStateCreating ...
	PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
	// PrivateEndpointConnectionProvisioningStateDeleting ...
	PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
	// PrivateEndpointConnectionProvisioningStateFailed ...
	PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
	// PrivateEndpointConnectionProvisioningStateSucceeded ...
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) Create

func (client PrivateEndpointConnectionsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (result PrivateEndpointConnection, err error)

Create update the state of specified private endpoint connection associated with the Bot. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource properties - the private endpoint connection properties.

func (PrivateEndpointConnectionsClient) CreatePreparer

func (client PrivateEndpointConnectionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (*http.Request, error)

CreatePreparer prepares the Create request.

func (PrivateEndpointConnectionsClient) CreateResponder

func (client PrivateEndpointConnectionsClient) CreateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateSender

func (client PrivateEndpointConnectionsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result autorest.Response, err error)

Delete deletes the specified private endpoint connection associated with the Bot. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get gets the specified private endpoint connection associated with the Bot. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) List

func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateEndpointConnectionListResult, err error)

List list all the private endpoint connections associated with the Bot. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (PrivateEndpointConnectionsClient) ListPreparer

func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateEndpointConnectionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListSender

func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

const (
	// PrivateEndpointServiceConnectionStatusApproved ...
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	// PrivateEndpointServiceConnectionStatusPending ...
	PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
	// PrivateEndpointServiceConnectionStatusRejected ...
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource a private link resource

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceBase

type PrivateLinkResourceBase struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateLinkResourceBase common fields that are returned in the response for all BotService Private Link Resources

func (PrivateLinkResourceBase) MarshalJSON

func (plrb PrivateLinkResourceBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceBase.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - The private link resource Private link DNS zone name.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) ListByBotResource

func (client PrivateLinkResourcesClient) ListByBotResource(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateLinkResourceListResult, err error)

ListByBotResource gets the private link resources that need to be created for a Bot. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (PrivateLinkResourcesClient) ListByBotResourcePreparer

func (client PrivateLinkResourcesClient) ListByBotResourcePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListByBotResourcePreparer prepares the ListByBotResource request.

func (PrivateLinkResourcesClient) ListByBotResourceResponder

func (client PrivateLinkResourcesClient) ListByBotResourceResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByBotResourceResponder handles the response to the ListByBotResource request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByBotResourceSender

func (client PrivateLinkResourcesClient) ListByBotResourceSender(req *http.Request) (*http.Response, error)

ListByBotResourceSender sends the ListByBotResource request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
	Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// PublicNetworkAccessDisabled ...
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	// PublicNetworkAccessEnabled ...
	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type RegenerateKeysChannelName

type RegenerateKeysChannelName string

RegenerateKeysChannelName enumerates the values for regenerate keys channel name.

const (
	// RegenerateKeysChannelNameDirectLineChannel ...
	RegenerateKeysChannelNameDirectLineChannel RegenerateKeysChannelName = "DirectLineChannel"
	// RegenerateKeysChannelNameWebChatChannel ...
	RegenerateKeysChannelNameWebChatChannel RegenerateKeysChannelName = "WebChatChannel"
)

func PossibleRegenerateKeysChannelNameValues

func PossibleRegenerateKeysChannelNameValues() []RegenerateKeysChannelName

PossibleRegenerateKeysChannelNameValues returns an array of possible values for the RegenerateKeysChannelName const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Specifies the resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Specifies the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; Specifies the type of the resource.
	Type *string `json:"type,omitempty"`
	// Tags - Contains resource tags defined as key/value pairs.
	Tags map[string]*string `json:"tags"`
	// Sku - Gets or sets the SKU of the resource.
	Sku *Sku `json:"sku,omitempty"`
	// Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction', 'KindAzurebot'
	Kind Kind `json:"kind,omitempty"`
	// Etag - Entity Tag
	Etag *string `json:"etag,omitempty"`
	// Zones - READ-ONLY; Entity zones
	Zones *[]string `json:"zones,omitempty"`
}

Resource azure resource

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ServiceProvider

type ServiceProvider struct {
	// Properties - The Properties of a Service Provider Object
	Properties *ServiceProviderProperties `json:"properties,omitempty"`
}

ServiceProvider service Provider Definition

type ServiceProviderParameter

type ServiceProviderParameter struct {
	// Name - READ-ONLY; Name of the Service Provider
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the Service Provider
	Type *string `json:"type,omitempty"`
	// DisplayName - READ-ONLY; Display Name of the Service Provider
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; Description of the Service Provider
	Description *string `json:"description,omitempty"`
	// HelpURL - READ-ONLY; Help Url for the  Service Provider
	HelpURL *string `json:"helpUrl,omitempty"`
	// Default - READ-ONLY; Default Name for the Service Provider
	Default *string `json:"default,omitempty"`
	// Metadata - READ-ONLY; Meta data for the Service Provider
	Metadata *ServiceProviderParameterMetadata `json:"metadata,omitempty"`
}

ServiceProviderParameter extra Parameters specific to each Service Provider

func (ServiceProviderParameter) MarshalJSON

func (spp ServiceProviderParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceProviderParameter.

type ServiceProviderParameterMetadata

type ServiceProviderParameterMetadata struct {
	// Constraints - the constraints of the bot meta data.
	Constraints *ServiceProviderParameterMetadataConstraints `json:"constraints,omitempty"`
}

ServiceProviderParameterMetadata meta data for the Service Provider

type ServiceProviderParameterMetadataConstraints

type ServiceProviderParameterMetadataConstraints struct {
	// Required - Whether required the constraints of the bot meta data.
	Required *bool `json:"required,omitempty"`
}

ServiceProviderParameterMetadataConstraints the constraints of the bot meta data.

type ServiceProviderProperties

type ServiceProviderProperties struct {
	// ID - READ-ONLY; Id for Service Provider
	ID *string `json:"id,omitempty"`
	// DisplayName - READ-ONLY; Display Name of the Service Provider
	DisplayName *string `json:"displayName,omitempty"`
	// ServiceProviderName - READ-ONLY; Display Name of the Service Provider
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
	// DevPortalURL - READ-ONLY; Display Name of the Service Provider
	DevPortalURL *string `json:"devPortalUrl,omitempty"`
	// IconURL - READ-ONLY; Display Name of the Service Provider
	IconURL *string `json:"iconUrl,omitempty"`
	// Parameters - The list of parameters for the Service Provider
	Parameters *[]ServiceProviderParameter `json:"parameters,omitempty"`
}

ServiceProviderProperties the Object used to describe a Service Provider supported by Bot Service

func (ServiceProviderProperties) MarshalJSON

func (spp ServiceProviderProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceProviderProperties.

type ServiceProviderResponseList

type ServiceProviderResponseList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of bot service providers.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - READ-ONLY; Gets the list of bot service providers and their properties.
	Value *[]ServiceProvider `json:"value,omitempty"`
}

ServiceProviderResponseList the list of bot service providers response.

func (ServiceProviderResponseList) MarshalJSON

func (sprl ServiceProviderResponseList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceProviderResponseList.

type Site

type Site struct {
	// SiteID - READ-ONLY; Site Id
	SiteID *string `json:"siteId,omitempty"`
	// SiteName - Site name
	SiteName *string `json:"siteName,omitempty"`
	// Key - READ-ONLY; Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key *string `json:"key,omitempty"`
	// Key2 - READ-ONLY; Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key2 *string `json:"key2,omitempty"`
	// IsEnabled - Whether this site is enabled for DirectLine channel
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// IsWebchatPreviewEnabled - Whether this site is enabled for preview versions of Webchat
	IsWebchatPreviewEnabled *bool `json:"isWebchatPreviewEnabled,omitempty"`
	// IsV1Enabled - Whether this site is enabled for Bot Framework V1 protocol.
	IsV1Enabled *bool `json:"isV1Enabled,omitempty"`
	// IsV3Enabled - Whether this site is enabled for Bot Framework V1 protocol.
	IsV3Enabled *bool `json:"isV3Enabled,omitempty"`
	// IsSecureSiteEnabled - Whether this site is enabled for authentication with Bot Framework.
	IsSecureSiteEnabled *bool `json:"isSecureSiteEnabled,omitempty"`
	// IsBlockUserUploadEnabled - Whether this site is enabled for block user upload.
	IsBlockUserUploadEnabled *bool `json:"isBlockUserUploadEnabled,omitempty"`
	// TrustedOrigins - List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.
	TrustedOrigins *[]string `json:"trustedOrigins,omitempty"`
	// IsTokenEnabled - Whether this site is token enabled for channel
	IsTokenEnabled *bool `json:"isTokenEnabled,omitempty"`
	// ETag - Entity Tag
	ETag *string `json:"eTag,omitempty"`
}

Site a site for the channel

func (Site) MarshalJSON

func (s Site) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Site.

type SiteInfo

type SiteInfo struct {
	// SiteName - The site name
	SiteName *string `json:"siteName,omitempty"`
	// Key - Determines which key is to be regenerated. Possible values include: 'Key1', 'Key2'
	Key Key `json:"key,omitempty"`
}

SiteInfo site information for WebChat or DirectLine Channels to identify which site to regenerate keys for.

type Sku

type Sku struct {
	// Name - The sku name. Possible values include: 'SkuNameF0', 'SkuNameS1'
	Name SkuName `json:"name,omitempty"`
	// Tier - READ-ONLY; Gets the sku tier. This is based on the SKU name. Possible values include: 'SkuTierFree', 'SkuTierStandard'
	Tier SkuTier `json:"tier,omitempty"`
}

Sku the SKU of the cognitive services account.

func (Sku) MarshalJSON

func (s Sku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Sku.

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// SkuNameF0 ...
	SkuNameF0 SkuName = "F0"
	// SkuNameS1 ...
	SkuNameS1 SkuName = "S1"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// SkuTierFree ...
	SkuTierFree SkuTier = "Free"
	// SkuTierStandard ...
	SkuTierStandard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SkypeChannel

type SkypeChannel struct {
	// Properties - The set of properties specific to Skype channel resource
	Properties *SkypeChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SkypeChannel skype channel definition

func (SkypeChannel) AsAlexaChannel

func (sc SkypeChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsBasicChannel

func (sc SkypeChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsChannel

func (sc SkypeChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsDirectLineChannel

func (sc SkypeChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsDirectLineSpeechChannel

func (sc SkypeChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsEmailChannel

func (sc SkypeChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsFacebookChannel

func (sc SkypeChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsKikChannel

func (sc SkypeChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsLineChannel

func (sc SkypeChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsMsTeamsChannel

func (sc SkypeChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSkypeChannel

func (sc SkypeChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSlackChannel

func (sc SkypeChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSmsChannel

func (sc SkypeChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsTelegramChannel

func (sc SkypeChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsWebChatChannel

func (sc SkypeChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) MarshalJSON

func (sc SkypeChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SkypeChannel.

type SkypeChannelProperties

type SkypeChannelProperties struct {
	// EnableMessaging - Enable messaging for Skype channel
	EnableMessaging *bool `json:"enableMessaging,omitempty"`
	// EnableMediaCards - Enable media cards for Skype channel
	EnableMediaCards *bool `json:"enableMediaCards,omitempty"`
	// EnableVideo - Enable video for Skype channel
	EnableVideo *bool `json:"enableVideo,omitempty"`
	// EnableCalling - Enable calling for Skype channel
	EnableCalling *bool `json:"enableCalling,omitempty"`
	// EnableScreenSharing - Enable screen sharing for Skype channel
	EnableScreenSharing *bool `json:"enableScreenSharing,omitempty"`
	// EnableGroups - Enable groups for Skype channel
	EnableGroups *bool `json:"enableGroups,omitempty"`
	// GroupsMode - Group mode for Skype channel
	GroupsMode *string `json:"groupsMode,omitempty"`
	// CallingWebHook - Calling web hook for Skype channel
	CallingWebHook *string `json:"callingWebHook,omitempty"`
	// IncomingCallRoute - Incoming call route for Skype channel
	IncomingCallRoute *string `json:"incomingCallRoute,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

SkypeChannelProperties the parameters to provide for the Microsoft Teams channel.

type SlackChannel

type SlackChannel struct {
	// Properties - The set of properties specific to Slack channel resource
	Properties *SlackChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SlackChannel slack channel definition

func (SlackChannel) AsAlexaChannel

func (sc SlackChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsBasicChannel

func (sc SlackChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsChannel

func (sc SlackChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsDirectLineChannel

func (sc SlackChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsDirectLineSpeechChannel

func (sc SlackChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsEmailChannel

func (sc SlackChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsFacebookChannel

func (sc SlackChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsKikChannel

func (sc SlackChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsLineChannel

func (sc SlackChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsMsTeamsChannel

func (sc SlackChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSkypeChannel

func (sc SlackChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSlackChannel

func (sc SlackChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSmsChannel

func (sc SlackChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsTelegramChannel

func (sc SlackChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsWebChatChannel

func (sc SlackChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) MarshalJSON

func (sc SlackChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SlackChannel.

type SlackChannelProperties

type SlackChannelProperties struct {
	// ClientID - The Slack client id
	ClientID *string `json:"clientId,omitempty"`
	// ClientSecret - The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// VerificationToken - The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.
	VerificationToken *string `json:"verificationToken,omitempty"`
	// Scopes - The Slack permission scopes.
	Scopes *string `json:"scopes,omitempty"`
	// LandingPageURL - The Slack landing page Url
	LandingPageURL *string `json:"landingPageUrl,omitempty"`
	// RedirectAction - READ-ONLY; The Slack redirect action
	RedirectAction *string `json:"redirectAction,omitempty"`
	// LastSubmissionID - READ-ONLY; The Sms auth token
	LastSubmissionID *string `json:"lastSubmissionId,omitempty"`
	// RegisterBeforeOAuthFlow - READ-ONLY; Whether to register the settings before OAuth validation is performed. Recommended to True.
	RegisterBeforeOAuthFlow *bool `json:"registerBeforeOAuthFlow,omitempty"`
	// IsValidated - READ-ONLY; Whether this channel is validated for the bot
	IsValidated *bool `json:"IsValidated,omitempty"`
	// SigningSecret - The Slack signing secret.
	SigningSecret *string `json:"signingSecret,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

SlackChannelProperties the parameters to provide for the Slack channel.

func (SlackChannelProperties) MarshalJSON

func (scp SlackChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SlackChannelProperties.

type SmsChannel

type SmsChannel struct {
	// Properties - The set of properties specific to Sms channel resource
	Properties *SmsChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SmsChannel sms channel definition

func (SmsChannel) AsAlexaChannel

func (sc SmsChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsBasicChannel

func (sc SmsChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsChannel

func (sc SmsChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsDirectLineChannel

func (sc SmsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsDirectLineSpeechChannel

func (sc SmsChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsEmailChannel

func (sc SmsChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsFacebookChannel

func (sc SmsChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsKikChannel

func (sc SmsChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsLineChannel

func (sc SmsChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsMsTeamsChannel

func (sc SmsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSkypeChannel

func (sc SmsChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSlackChannel

func (sc SmsChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSmsChannel

func (sc SmsChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsTelegramChannel

func (sc SmsChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsWebChatChannel

func (sc SmsChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) MarshalJSON

func (sc SmsChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SmsChannel.

type SmsChannelProperties

type SmsChannelProperties struct {
	// Phone - The Sms phone
	Phone *string `json:"phone,omitempty"`
	// AccountSID - The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.
	AccountSID *string `json:"accountSID,omitempty"`
	// AuthToken - The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.
	AuthToken *string `json:"authToken,omitempty"`
	// IsValidated - Whether this channel is validated for the bot
	IsValidated *bool `json:"isValidated,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

SmsChannelProperties the parameters to provide for the Sms channel.

type TelegramChannel

type TelegramChannel struct {
	// Properties - The set of properties specific to Telegram channel resource
	Properties *TelegramChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

TelegramChannel telegram channel definition

func (TelegramChannel) AsAlexaChannel

func (tc TelegramChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsBasicChannel

func (tc TelegramChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsChannel

func (tc TelegramChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsDirectLineChannel

func (tc TelegramChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsDirectLineSpeechChannel

func (tc TelegramChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsEmailChannel

func (tc TelegramChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsFacebookChannel

func (tc TelegramChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsKikChannel

func (tc TelegramChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsLineChannel

func (tc TelegramChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsMsTeamsChannel

func (tc TelegramChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSkypeChannel

func (tc TelegramChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSlackChannel

func (tc TelegramChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSmsChannel

func (tc TelegramChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsTelegramChannel

func (tc TelegramChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsWebChatChannel

func (tc TelegramChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) MarshalJSON

func (tc TelegramChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TelegramChannel.

type TelegramChannelProperties

type TelegramChannelProperties struct {
	// AccessToken - The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.
	AccessToken *string `json:"accessToken,omitempty"`
	// IsValidated - Whether this channel is validated for the bot
	IsValidated *bool `json:"isValidated,omitempty"`
	// IsEnabled - Whether this channel is enabled for the bot
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

TelegramChannelProperties the parameters to provide for the Telegram channel.

type WebChatChannel

type WebChatChannel struct {
	// Properties - The set of properties specific to Web Chat channel resource
	Properties *WebChatChannelProperties `json:"properties,omitempty"`
	// Etag - Entity Tag of the resource
	Etag *string `json:"etag,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the resource
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Location - Specifies the location of the resource.
	Location *string `json:"location,omitempty"`
	// ChannelName - Possible values include: 'ChannelNameBasicChannelChannelNameChannel', 'ChannelNameBasicChannelChannelNameAlexaChannel', 'ChannelNameBasicChannelChannelNameFacebookChannel', 'ChannelNameBasicChannelChannelNameEmailChannel', 'ChannelNameBasicChannelChannelNameMsTeamsChannel', 'ChannelNameBasicChannelChannelNameSkypeChannel', 'ChannelNameBasicChannelChannelNameKikChannel', 'ChannelNameBasicChannelChannelNameWebChatChannel', 'ChannelNameBasicChannelChannelNameDirectLineChannel', 'ChannelNameBasicChannelChannelNameTelegramChannel', 'ChannelNameBasicChannelChannelNameSmsChannel', 'ChannelNameBasicChannelChannelNameSlackChannel', 'ChannelNameBasicChannelChannelNameLineChannel', 'ChannelNameBasicChannelChannelNameDirectLineSpeechChannel'
	ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

WebChatChannel web Chat channel definition

func (WebChatChannel) AsAlexaChannel

func (wcc WebChatChannel) AsAlexaChannel() (*AlexaChannel, bool)

AsAlexaChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsBasicChannel

func (wcc WebChatChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsChannel

func (wcc WebChatChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsDirectLineChannel

func (wcc WebChatChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsDirectLineSpeechChannel

func (wcc WebChatChannel) AsDirectLineSpeechChannel() (*DirectLineSpeechChannel, bool)

AsDirectLineSpeechChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsEmailChannel

func (wcc WebChatChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsFacebookChannel

func (wcc WebChatChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsKikChannel

func (wcc WebChatChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsLineChannel

func (wcc WebChatChannel) AsLineChannel() (*LineChannel, bool)

AsLineChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsMsTeamsChannel

func (wcc WebChatChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSkypeChannel

func (wcc WebChatChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSlackChannel

func (wcc WebChatChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSmsChannel

func (wcc WebChatChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsTelegramChannel

func (wcc WebChatChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsWebChatChannel

func (wcc WebChatChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) MarshalJSON

func (wcc WebChatChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebChatChannel.

type WebChatChannelProperties

type WebChatChannelProperties struct {
	// WebChatEmbedCode - READ-ONLY; Web chat control embed code
	WebChatEmbedCode *string `json:"webChatEmbedCode,omitempty"`
	// Sites - The list of Web Chat sites
	Sites *[]WebChatSite `json:"sites,omitempty"`
}

WebChatChannelProperties the parameters to provide for the Web Chat channel.

func (WebChatChannelProperties) MarshalJSON

func (wccp WebChatChannelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebChatChannelProperties.

type WebChatSite

type WebChatSite struct {
	// SiteID - READ-ONLY; Site Id
	SiteID *string `json:"siteId,omitempty"`
	// SiteName - Site name
	SiteName *string `json:"siteName,omitempty"`
	// Key - READ-ONLY; Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key *string `json:"key,omitempty"`
	// Key2 - READ-ONLY; Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
	Key2 *string `json:"key2,omitempty"`
	// IsEnabled - Whether this site is enabled for DirectLine channel
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// IsWebchatPreviewEnabled - Whether this site is enabled for preview versions of Webchat
	IsWebchatPreviewEnabled *bool `json:"isWebchatPreviewEnabled,omitempty"`
}

WebChatSite a site for the Webchat channel

func (WebChatSite) MarshalJSON

func (wcs WebChatSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebChatSite.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL