README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/botservice/2022-09-15/channel
Documentation
The channel
SDK allows for interaction with the Azure Resource Manager Service botservice
(API Version 2022-09-15
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/botservice/2022-09-15/channel"
Client Initialization
client := channel.NewChannelClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ChannelClient.Create
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
payload := channel.BotChannel{
// ...
}
read, err := client.Create(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.Delete
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
read, err := client.Delete(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.DirectLineRegenerateKeys
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
payload := channel.SiteInfo{
// ...
}
read, err := client.DirectLineRegenerateKeys(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.EmailCreateSignInUrl
ctx := context.TODO()
id := commonids.NewBotServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue")
read, err := client.EmailCreateSignInUrl(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.Get
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.ListByResourceGroup
ctx := context.TODO()
id := commonids.NewBotServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue")
// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ChannelClient.ListWithKeys
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
read, err := client.ListWithKeys(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ChannelClient.Update
ctx := context.TODO()
id := commonids.NewBotServiceChannelID("12345678-1234-9876-4563-123456789012", "example-resource-group", "botServiceValue", "AcsChatChannel")
payload := channel.BotChannel{
// ...
}
read, err := client.Update(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func PossibleValuesForBotServiceChannelType() []string
- func PossibleValuesForEmailChannelAuthMethod() []int64
- func PossibleValuesForKey() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- type AcsChatChannel
- type AlexaChannel
- type AlexaChannelProperties
- type BotChannel
- type BotChannelOperationPredicate
- type BotServiceChannelType
- type Channel
- type ChannelClient
- func (c ChannelClient) Create(ctx context.Context, id commonids.BotServiceChannelId, input BotChannel) (result CreateOperationResponse, err error)
- func (c ChannelClient) Delete(ctx context.Context, id commonids.BotServiceChannelId) (result DeleteOperationResponse, err error)
- func (c ChannelClient) DirectLineRegenerateKeys(ctx context.Context, id commonids.BotServiceChannelId, input SiteInfo) (result DirectLineRegenerateKeysOperationResponse, err error)
- func (c ChannelClient) EmailCreateSignInUrl(ctx context.Context, id commonids.BotServiceId) (result EmailCreateSignInUrlOperationResponse, err error)
- func (c ChannelClient) Get(ctx context.Context, id commonids.BotServiceChannelId) (result GetOperationResponse, err error)
- func (c ChannelClient) ListByResourceGroup(ctx context.Context, id commonids.BotServiceId) (result ListByResourceGroupOperationResponse, err error)
- func (c ChannelClient) ListByResourceGroupComplete(ctx context.Context, id commonids.BotServiceId) (ListByResourceGroupCompleteResult, error)
- func (c ChannelClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.BotServiceId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ChannelClient) ListWithKeys(ctx context.Context, id commonids.BotServiceChannelId) (result ListWithKeysOperationResponse, err error)
- func (c ChannelClient) Update(ctx context.Context, id commonids.BotServiceChannelId, input BotChannel) (result UpdateOperationResponse, err error)
- type ChannelSettings
- type CreateEmailSignInUrlResponse
- type CreateEmailSignInUrlResponseProperties
- type CreateOperationResponse
- type DeleteOperationResponse
- type DirectLineChannel
- type DirectLineChannelProperties
- type DirectLineRegenerateKeysOperationResponse
- type DirectLineSpeechChannel
- type DirectLineSpeechChannelProperties
- type EmailChannel
- type EmailChannelAuthMethod
- type EmailChannelProperties
- type EmailCreateSignInUrlOperationResponse
- type FacebookChannel
- type FacebookChannelProperties
- type FacebookPage
- type GetOperationResponse
- type Key
- type KikChannel
- type KikChannelProperties
- type Kind
- type LineChannel
- type LineChannelProperties
- type LineRegistration
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListChannelWithKeysResponse
- type ListWithKeysOperationResponse
- type M365Extensions
- type MsTeamsChannel
- type MsTeamsChannelProperties
- type Omnichannel
- type OutlookChannel
- type RawChannelImpl
- type SearchAssistant
- type Site
- type SiteInfo
- type Sku
- type SkuName
- type SkuTier
- type SkypeChannel
- type SkypeChannelProperties
- type SlackChannel
- type SlackChannelProperties
- type SmsChannel
- type SmsChannelProperties
- type TelegramChannel
- type TelegramChannelProperties
- type TelephonyChannel
- type TelephonyChannelProperties
- type TelephonyChannelResourceApiConfiguration
- type TelephonyPhoneNumbers
- type UpdateOperationResponse
- type WebChatChannel
- type WebChatChannelProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBotServiceChannelType ¶
func PossibleValuesForBotServiceChannelType() []string
func PossibleValuesForEmailChannelAuthMethod ¶
func PossibleValuesForEmailChannelAuthMethod() []int64
func PossibleValuesForKey ¶
func PossibleValuesForKey() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
Types ¶
type AcsChatChannel ¶
type AcsChatChannel struct { // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (AcsChatChannel) MarshalJSON ¶
func (s AcsChatChannel) MarshalJSON() ([]byte, error)
type AlexaChannel ¶
type AlexaChannel struct { Properties *AlexaChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (AlexaChannel) MarshalJSON ¶
func (s AlexaChannel) MarshalJSON() ([]byte, error)
type AlexaChannelProperties ¶
type BotChannel ¶
type BotChannel struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind *Kind `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties Channel `json:"properties"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
func (*BotChannel) UnmarshalJSON ¶
func (s *BotChannel) UnmarshalJSON(bytes []byte) error
type BotChannelOperationPredicate ¶
type BotChannelOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (BotChannelOperationPredicate) Matches ¶
func (p BotChannelOperationPredicate) Matches(input BotChannel) bool
type BotServiceChannelType ¶
type BotServiceChannelType string
const ( BotServiceChannelTypeAcsChatChannel BotServiceChannelType = "AcsChatChannel" BotServiceChannelTypeAlexaChannel BotServiceChannelType = "AlexaChannel" BotServiceChannelTypeDirectLineChannel BotServiceChannelType = "DirectLineChannel" BotServiceChannelTypeDirectLineSpeechChannel BotServiceChannelType = "DirectLineSpeechChannel" BotServiceChannelTypeEmailChannel BotServiceChannelType = "EmailChannel" BotServiceChannelTypeFacebookChannel BotServiceChannelType = "FacebookChannel" BotServiceChannelTypeKikChannel BotServiceChannelType = "KikChannel" BotServiceChannelTypeLineChannel BotServiceChannelType = "LineChannel" BotServiceChannelTypeM365Extensions BotServiceChannelType = "M365Extensions" BotServiceChannelTypeMsTeamsChannel BotServiceChannelType = "MsTeamsChannel" BotServiceChannelTypeOmnichannel BotServiceChannelType = "Omnichannel" BotServiceChannelTypeOutlookChannel BotServiceChannelType = "OutlookChannel" BotServiceChannelTypeSearchAssistant BotServiceChannelType = "SearchAssistant" BotServiceChannelTypeSkypeChannel BotServiceChannelType = "SkypeChannel" BotServiceChannelTypeSlackChannel BotServiceChannelType = "SlackChannel" BotServiceChannelTypeSmsChannel BotServiceChannelType = "SmsChannel" BotServiceChannelTypeTelegramChannel BotServiceChannelType = "TelegramChannel" BotServiceChannelTypeTelephonyChannel BotServiceChannelType = "TelephonyChannel" BotServiceChannelTypeWebChatChannel BotServiceChannelType = "WebChatChannel" )
func (*BotServiceChannelType) UnmarshalJSON ¶
func (s *BotServiceChannelType) UnmarshalJSON(bytes []byte) error
type ChannelClient ¶
type ChannelClient struct {
Client *resourcemanager.Client
}
func NewChannelClientWithBaseURI ¶
func NewChannelClientWithBaseURI(sdkApi sdkEnv.Api) (*ChannelClient, error)
func (ChannelClient) Create ¶
func (c ChannelClient) Create(ctx context.Context, id commonids.BotServiceChannelId, input BotChannel) (result CreateOperationResponse, err error)
Create ...
func (ChannelClient) Delete ¶
func (c ChannelClient) Delete(ctx context.Context, id commonids.BotServiceChannelId) (result DeleteOperationResponse, err error)
Delete ...
func (ChannelClient) DirectLineRegenerateKeys ¶
func (c ChannelClient) DirectLineRegenerateKeys(ctx context.Context, id commonids.BotServiceChannelId, input SiteInfo) (result DirectLineRegenerateKeysOperationResponse, err error)
DirectLineRegenerateKeys ...
func (ChannelClient) EmailCreateSignInUrl ¶
func (c ChannelClient) EmailCreateSignInUrl(ctx context.Context, id commonids.BotServiceId) (result EmailCreateSignInUrlOperationResponse, err error)
EmailCreateSignInUrl ...
func (ChannelClient) Get ¶
func (c ChannelClient) Get(ctx context.Context, id commonids.BotServiceChannelId) (result GetOperationResponse, err error)
Get ...
func (ChannelClient) ListByResourceGroup ¶
func (c ChannelClient) ListByResourceGroup(ctx context.Context, id commonids.BotServiceId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ChannelClient) ListByResourceGroupComplete ¶
func (c ChannelClient) ListByResourceGroupComplete(ctx context.Context, id commonids.BotServiceId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ChannelClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ChannelClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.BotServiceId, predicate BotChannelOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ChannelClient) ListWithKeys ¶
func (c ChannelClient) ListWithKeys(ctx context.Context, id commonids.BotServiceChannelId) (result ListWithKeysOperationResponse, err error)
ListWithKeys ...
func (ChannelClient) Update ¶
func (c ChannelClient) Update(ctx context.Context, id commonids.BotServiceChannelId, input BotChannel) (result UpdateOperationResponse, err error)
Update ...
type ChannelSettings ¶
type ChannelSettings struct { BotIconUrl *string `json:"botIconUrl,omitempty"` BotId *string `json:"botId,omitempty"` ChannelDisplayName *string `json:"channelDisplayName,omitempty"` ChannelId *string `json:"channelId,omitempty"` DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` ExtensionKey1 *string `json:"extensionKey1,omitempty"` ExtensionKey2 *string `json:"extensionKey2,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` RequireTermsAgreement *bool `json:"requireTermsAgreement,omitempty"` Sites *[]Site `json:"sites,omitempty"` }
type CreateEmailSignInUrlResponse ¶
type CreateEmailSignInUrlResponse struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Properties *CreateEmailSignInUrlResponseProperties `json:"properties,omitempty"` }
type CreateEmailSignInUrlResponseProperties ¶
type CreateEmailSignInUrlResponseProperties struct {
Url *string `json:"url,omitempty"`
}
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BotChannel }
type DeleteOperationResponse ¶
type DirectLineChannel ¶
type DirectLineChannel struct { Properties *DirectLineChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (DirectLineChannel) MarshalJSON ¶
func (s DirectLineChannel) MarshalJSON() ([]byte, error)
type DirectLineRegenerateKeysOperationResponse ¶
type DirectLineRegenerateKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BotChannel }
type DirectLineSpeechChannel ¶
type DirectLineSpeechChannel struct { Properties *DirectLineSpeechChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (DirectLineSpeechChannel) MarshalJSON ¶
func (s DirectLineSpeechChannel) MarshalJSON() ([]byte, error)
type DirectLineSpeechChannelProperties ¶
type DirectLineSpeechChannelProperties struct { CognitiveServiceRegion *string `json:"cognitiveServiceRegion,omitempty"` CognitiveServiceResourceId *string `json:"cognitiveServiceResourceId,omitempty"` CognitiveServiceSubscriptionKey *string `json:"cognitiveServiceSubscriptionKey,omitempty"` CustomSpeechModelId *string `json:"customSpeechModelId,omitempty"` CustomVoiceDeploymentId *string `json:"customVoiceDeploymentId,omitempty"` IsDefaultBotForCogSvcAccount *bool `json:"isDefaultBotForCogSvcAccount,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` }
type EmailChannel ¶
type EmailChannel struct { Properties *EmailChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (EmailChannel) MarshalJSON ¶
func (s EmailChannel) MarshalJSON() ([]byte, error)
type EmailChannelAuthMethod ¶
type EmailChannelAuthMethod int64
const ( EmailChannelAuthMethodOne EmailChannelAuthMethod = 1 EmailChannelAuthMethodZero EmailChannelAuthMethod = 0 )
type EmailChannelProperties ¶
type EmailChannelProperties struct { AuthMethod *EmailChannelAuthMethod `json:"authMethod,omitempty"` EmailAddress string `json:"emailAddress"` IsEnabled bool `json:"isEnabled"` MagicCode *string `json:"magicCode,omitempty"` Password *string `json:"password,omitempty"` }
type EmailCreateSignInUrlOperationResponse ¶
type EmailCreateSignInUrlOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CreateEmailSignInUrlResponse }
type FacebookChannel ¶
type FacebookChannel struct { Properties *FacebookChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (FacebookChannel) MarshalJSON ¶
func (s FacebookChannel) MarshalJSON() ([]byte, error)
type FacebookPage ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BotChannel }
type KikChannel ¶
type KikChannel struct { Properties *KikChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (KikChannel) MarshalJSON ¶
func (s KikChannel) MarshalJSON() ([]byte, error)
type KikChannelProperties ¶
type LineChannel ¶
type LineChannel struct { Properties *LineChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (LineChannel) MarshalJSON ¶
func (s LineChannel) MarshalJSON() ([]byte, error)
type LineChannelProperties ¶
type LineChannelProperties struct { CallbackUrl *string `json:"callbackUrl,omitempty"` IsValidated *bool `json:"isValidated,omitempty"` LineRegistrations []LineRegistration `json:"lineRegistrations"` }
type LineRegistration ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []BotChannel }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BotChannel }
type ListChannelWithKeysResponse ¶
type ListChannelWithKeysResponse struct { ChangedTime *string `json:"changedTime,omitempty"` EntityTag *string `json:"entityTag,omitempty"` Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind *Kind `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties Channel `json:"properties"` ProvisioningState *string `json:"provisioningState,omitempty"` Resource Channel `json:"resource"` Setting *ChannelSettings `json:"setting,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
func (*ListChannelWithKeysResponse) UnmarshalJSON ¶
func (s *ListChannelWithKeysResponse) UnmarshalJSON(bytes []byte) error
type ListWithKeysOperationResponse ¶
type ListWithKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ListChannelWithKeysResponse }
type M365Extensions ¶
type M365Extensions struct { // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (M365Extensions) MarshalJSON ¶
func (s M365Extensions) MarshalJSON() ([]byte, error)
type MsTeamsChannel ¶
type MsTeamsChannel struct { Properties *MsTeamsChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (MsTeamsChannel) MarshalJSON ¶
func (s MsTeamsChannel) MarshalJSON() ([]byte, error)
type MsTeamsChannelProperties ¶
type MsTeamsChannelProperties struct { AcceptedTerms *bool `json:"acceptedTerms,omitempty"` CallingWebhook *string `json:"callingWebhook,omitempty"` DeploymentEnvironment *string `json:"deploymentEnvironment,omitempty"` EnableCalling *bool `json:"enableCalling,omitempty"` IncomingCallRoute *string `json:"incomingCallRoute,omitempty"` IsEnabled bool `json:"isEnabled"` }
type Omnichannel ¶
type Omnichannel struct { // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (Omnichannel) MarshalJSON ¶
func (s Omnichannel) MarshalJSON() ([]byte, error)
type OutlookChannel ¶
type OutlookChannel struct { // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (OutlookChannel) MarshalJSON ¶
func (s OutlookChannel) MarshalJSON() ([]byte, error)
type RawChannelImpl ¶
RawChannelImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SearchAssistant ¶
type SearchAssistant struct { // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (SearchAssistant) MarshalJSON ¶
func (s SearchAssistant) MarshalJSON() ([]byte, error)
type Site ¶
type Site struct { AppId *string `json:"appId,omitempty"` ETag *string `json:"eTag,omitempty"` IsBlockUserUploadEnabled *bool `json:"isBlockUserUploadEnabled,omitempty"` IsDetailedLoggingEnabled *bool `json:"isDetailedLoggingEnabled,omitempty"` IsEnabled bool `json:"isEnabled"` IsEndpointParametersEnabled *bool `json:"isEndpointParametersEnabled,omitempty"` IsNoStorageEnabled *bool `json:"isNoStorageEnabled,omitempty"` IsSecureSiteEnabled *bool `json:"isSecureSiteEnabled,omitempty"` IsTokenEnabled *bool `json:"isTokenEnabled,omitempty"` IsV1Enabled *bool `json:"isV1Enabled,omitempty"` IsV3Enabled *bool `json:"isV3Enabled,omitempty"` IsWebChatSpeechEnabled *bool `json:"isWebChatSpeechEnabled,omitempty"` IsWebchatPreviewEnabled *bool `json:"isWebchatPreviewEnabled,omitempty"` Key *string `json:"key,omitempty"` Key2 *string `json:"key2,omitempty"` SiteId *string `json:"siteId,omitempty"` SiteName string `json:"siteName"` TenantId *string `json:"tenantId,omitempty"` TrustedOrigins *[]string `json:"trustedOrigins,omitempty"` }
type SkypeChannel ¶
type SkypeChannel struct { Properties *SkypeChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (SkypeChannel) MarshalJSON ¶
func (s SkypeChannel) MarshalJSON() ([]byte, error)
type SkypeChannelProperties ¶
type SkypeChannelProperties struct { CallingWebHook *string `json:"callingWebHook,omitempty"` EnableCalling *bool `json:"enableCalling,omitempty"` EnableGroups *bool `json:"enableGroups,omitempty"` EnableMediaCards *bool `json:"enableMediaCards,omitempty"` EnableMessaging *bool `json:"enableMessaging,omitempty"` EnableScreenSharing *bool `json:"enableScreenSharing,omitempty"` EnableVideo *bool `json:"enableVideo,omitempty"` GroupsMode *string `json:"groupsMode,omitempty"` IncomingCallRoute *string `json:"incomingCallRoute,omitempty"` IsEnabled bool `json:"isEnabled"` }
type SlackChannel ¶
type SlackChannel struct { Properties *SlackChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (SlackChannel) MarshalJSON ¶
func (s SlackChannel) MarshalJSON() ([]byte, error)
type SlackChannelProperties ¶
type SlackChannelProperties struct { ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` IsEnabled bool `json:"isEnabled"` IsValidated *bool `json:"IsValidated,omitempty"` LandingPageUrl *string `json:"landingPageUrl,omitempty"` LastSubmissionId *string `json:"lastSubmissionId,omitempty"` RedirectAction *string `json:"redirectAction,omitempty"` RegisterBeforeOAuthFlow *bool `json:"registerBeforeOAuthFlow,omitempty"` Scopes *string `json:"scopes,omitempty"` SigningSecret *string `json:"signingSecret,omitempty"` VerificationToken *string `json:"verificationToken,omitempty"` }
type SmsChannel ¶
type SmsChannel struct { Properties *SmsChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (SmsChannel) MarshalJSON ¶
func (s SmsChannel) MarshalJSON() ([]byte, error)
type SmsChannelProperties ¶
type TelegramChannel ¶
type TelegramChannel struct { Properties *TelegramChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (TelegramChannel) MarshalJSON ¶
func (s TelegramChannel) MarshalJSON() ([]byte, error)
type TelephonyChannel ¶
type TelephonyChannel struct { Properties *TelephonyChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (TelephonyChannel) MarshalJSON ¶
func (s TelephonyChannel) MarshalJSON() ([]byte, error)
type TelephonyChannelProperties ¶
type TelephonyChannelProperties struct { ApiConfigurations *[]TelephonyChannelResourceApiConfiguration `json:"apiConfigurations,omitempty"` CognitiveServiceRegion *string `json:"cognitiveServiceRegion,omitempty"` CognitiveServiceSubscriptionKey *string `json:"cognitiveServiceSubscriptionKey,omitempty"` DefaultLocale *string `json:"defaultLocale,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` PhoneNumbers *[]TelephonyPhoneNumbers `json:"phoneNumbers,omitempty"` PremiumSKU *string `json:"premiumSKU,omitempty"` }
type TelephonyChannelResourceApiConfiguration ¶
type TelephonyChannelResourceApiConfiguration struct { CognitiveServiceRegion *string `json:"cognitiveServiceRegion,omitempty"` CognitiveServiceResourceId *string `json:"cognitiveServiceResourceId,omitempty"` CognitiveServiceSubscriptionKey *string `json:"cognitiveServiceSubscriptionKey,omitempty"` DefaultLocale *string `json:"defaultLocale,omitempty"` Id *string `json:"id,omitempty"` ProviderName *string `json:"providerName,omitempty"` }
type TelephonyPhoneNumbers ¶
type TelephonyPhoneNumbers struct { AcsEndpoint *string `json:"acsEndpoint,omitempty"` AcsResourceId *string `json:"acsResourceId,omitempty"` AcsSecret *string `json:"acsSecret,omitempty"` CognitiveServiceRegion *string `json:"cognitiveServiceRegion,omitempty"` CognitiveServiceResourceId *string `json:"cognitiveServiceResourceId,omitempty"` CognitiveServiceSubscriptionKey *string `json:"cognitiveServiceSubscriptionKey,omitempty"` DefaultLocale *string `json:"defaultLocale,omitempty"` Id *string `json:"id,omitempty"` OfferType *string `json:"offerType,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BotChannel }
type WebChatChannel ¶
type WebChatChannel struct { Properties *WebChatChannelProperties `json:"properties,omitempty"` // Fields inherited from Channel Etag *string `json:"etag,omitempty"` Location *string `json:"location,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
func (WebChatChannel) MarshalJSON ¶
func (s WebChatChannel) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- method_create.go
- method_delete.go
- method_directlineregeneratekeys.go
- method_emailcreatesigninurl.go
- method_get.go
- method_listbyresourcegroup.go
- method_listwithkeys.go
- method_update.go
- model_acschatchannel.go
- model_alexachannel.go
- model_alexachannelproperties.go
- model_botchannel.go
- model_channel.go
- model_channelsettings.go
- model_createemailsigninurlresponse.go
- model_createemailsigninurlresponseproperties.go
- model_directlinechannel.go
- model_directlinechannelproperties.go
- model_directlinespeechchannel.go
- model_directlinespeechchannelproperties.go
- model_emailchannel.go
- model_emailchannelproperties.go
- model_facebookchannel.go
- model_facebookchannelproperties.go
- model_facebookpage.go
- model_kikchannel.go
- model_kikchannelproperties.go
- model_linechannel.go
- model_linechannelproperties.go
- model_lineregistration.go
- model_listchannelwithkeysresponse.go
- model_m365extensions.go
- model_msteamschannel.go
- model_msteamschannelproperties.go
- model_omnichannel.go
- model_outlookchannel.go
- model_searchassistant.go
- model_site.go
- model_siteinfo.go
- model_sku.go
- model_skypechannel.go
- model_skypechannelproperties.go
- model_slackchannel.go
- model_slackchannelproperties.go
- model_smschannel.go
- model_smschannelproperties.go
- model_telegramchannel.go
- model_telegramchannelproperties.go
- model_telephonychannel.go
- model_telephonychannelproperties.go
- model_telephonychannelresourceapiconfiguration.go
- model_telephonyphonenumbers.go
- model_webchatchannel.go
- model_webchatchannelproperties.go
- predicates.go
- version.go