Documentation ¶
Index ¶
- type ChannelAlexa
- func (*ChannelAlexa) ElementType() reflect.Type
- func (i *ChannelAlexa) ToChannelAlexaOutput() ChannelAlexaOutput
- func (i *ChannelAlexa) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput
- func (i *ChannelAlexa) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
- func (i *ChannelAlexa) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
- type ChannelAlexaArgs
- type ChannelAlexaArray
- type ChannelAlexaArrayInput
- type ChannelAlexaArrayOutput
- func (ChannelAlexaArrayOutput) ElementType() reflect.Type
- func (o ChannelAlexaArrayOutput) Index(i pulumi.IntInput) ChannelAlexaOutput
- func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput
- func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutputWithContext(ctx context.Context) ChannelAlexaArrayOutput
- type ChannelAlexaInput
- type ChannelAlexaMap
- type ChannelAlexaMapInput
- type ChannelAlexaMapOutput
- func (ChannelAlexaMapOutput) ElementType() reflect.Type
- func (o ChannelAlexaMapOutput) MapIndex(k pulumi.StringInput) ChannelAlexaOutput
- func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutput() ChannelAlexaMapOutput
- func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutputWithContext(ctx context.Context) ChannelAlexaMapOutput
- type ChannelAlexaOutput
- func (ChannelAlexaOutput) ElementType() reflect.Type
- func (o ChannelAlexaOutput) ToChannelAlexaOutput() ChannelAlexaOutput
- func (o ChannelAlexaOutput) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput
- func (o ChannelAlexaOutput) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
- func (o ChannelAlexaOutput) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
- type ChannelAlexaPtrInput
- type ChannelAlexaPtrOutput
- func (o ChannelAlexaPtrOutput) Elem() ChannelAlexaOutput
- func (ChannelAlexaPtrOutput) ElementType() reflect.Type
- func (o ChannelAlexaPtrOutput) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
- func (o ChannelAlexaPtrOutput) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
- type ChannelAlexaState
- type ChannelDirectLine
- func (*ChannelDirectLine) ElementType() reflect.Type
- func (i *ChannelDirectLine) ToChannelDirectLineOutput() ChannelDirectLineOutput
- func (i *ChannelDirectLine) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput
- func (i *ChannelDirectLine) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
- func (i *ChannelDirectLine) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
- type ChannelDirectLineArgs
- type ChannelDirectLineArray
- type ChannelDirectLineArrayInput
- type ChannelDirectLineArrayOutput
- func (ChannelDirectLineArrayOutput) ElementType() reflect.Type
- func (o ChannelDirectLineArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineOutput
- func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput
- func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext(ctx context.Context) ChannelDirectLineArrayOutput
- type ChannelDirectLineInput
- type ChannelDirectLineMap
- type ChannelDirectLineMapInput
- type ChannelDirectLineMapOutput
- func (ChannelDirectLineMapOutput) ElementType() reflect.Type
- func (o ChannelDirectLineMapOutput) MapIndex(k pulumi.StringInput) ChannelDirectLineOutput
- func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput
- func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext(ctx context.Context) ChannelDirectLineMapOutput
- type ChannelDirectLineOutput
- func (ChannelDirectLineOutput) ElementType() reflect.Type
- func (o ChannelDirectLineOutput) ToChannelDirectLineOutput() ChannelDirectLineOutput
- func (o ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput
- func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
- func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
- type ChannelDirectLinePtrInput
- type ChannelDirectLinePtrOutput
- func (o ChannelDirectLinePtrOutput) Elem() ChannelDirectLineOutput
- func (ChannelDirectLinePtrOutput) ElementType() reflect.Type
- func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
- func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
- type ChannelDirectLineSite
- type ChannelDirectLineSiteArgs
- type ChannelDirectLineSiteArray
- func (ChannelDirectLineSiteArray) ElementType() reflect.Type
- func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput
- func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput
- type ChannelDirectLineSiteArrayInput
- type ChannelDirectLineSiteArrayOutput
- func (ChannelDirectLineSiteArrayOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSiteArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineSiteOutput
- func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput
- func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput
- type ChannelDirectLineSiteInput
- type ChannelDirectLineSiteOutput
- func (ChannelDirectLineSiteOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSiteOutput) Enabled() pulumi.BoolPtrOutput
- func (o ChannelDirectLineSiteOutput) EnhancedAuthenticationEnabled() pulumi.BoolPtrOutput
- func (o ChannelDirectLineSiteOutput) Id() pulumi.StringPtrOutput
- func (o ChannelDirectLineSiteOutput) Key() pulumi.StringPtrOutput
- func (o ChannelDirectLineSiteOutput) Key2() pulumi.StringPtrOutput
- func (o ChannelDirectLineSiteOutput) Name() pulumi.StringOutput
- func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput
- func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutputWithContext(ctx context.Context) ChannelDirectLineSiteOutput
- func (o ChannelDirectLineSiteOutput) TrustedOrigins() pulumi.StringArrayOutput
- func (o ChannelDirectLineSiteOutput) V1Allowed() pulumi.BoolPtrOutput
- func (o ChannelDirectLineSiteOutput) V3Allowed() pulumi.BoolPtrOutput
- type ChannelDirectLineSpeech
- func (*ChannelDirectLineSpeech) ElementType() reflect.Type
- func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput
- func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput
- func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
- func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
- type ChannelDirectLineSpeechArgs
- type ChannelDirectLineSpeechArray
- func (ChannelDirectLineSpeechArray) ElementType() reflect.Type
- func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput
- func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput
- type ChannelDirectLineSpeechArrayInput
- type ChannelDirectLineSpeechArrayOutput
- func (ChannelDirectLineSpeechArrayOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSpeechArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineSpeechOutput
- func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput
- func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput
- type ChannelDirectLineSpeechInput
- type ChannelDirectLineSpeechMap
- func (ChannelDirectLineSpeechMap) ElementType() reflect.Type
- func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput
- func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput
- type ChannelDirectLineSpeechMapInput
- type ChannelDirectLineSpeechMapOutput
- func (ChannelDirectLineSpeechMapOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSpeechMapOutput) MapIndex(k pulumi.StringInput) ChannelDirectLineSpeechOutput
- func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput
- func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput
- type ChannelDirectLineSpeechOutput
- func (ChannelDirectLineSpeechOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput
- func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput
- func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
- func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
- type ChannelDirectLineSpeechPtrInput
- type ChannelDirectLineSpeechPtrOutput
- func (o ChannelDirectLineSpeechPtrOutput) Elem() ChannelDirectLineSpeechOutput
- func (ChannelDirectLineSpeechPtrOutput) ElementType() reflect.Type
- func (o ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
- func (o ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
- type ChannelDirectLineSpeechState
- type ChannelDirectLineState
- type ChannelEmail
- func (*ChannelEmail) ElementType() reflect.Type
- func (i *ChannelEmail) ToChannelEmailOutput() ChannelEmailOutput
- func (i *ChannelEmail) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput
- func (i *ChannelEmail) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
- func (i *ChannelEmail) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
- type ChannelEmailArgs
- type ChannelEmailArray
- type ChannelEmailArrayInput
- type ChannelEmailArrayOutput
- func (ChannelEmailArrayOutput) ElementType() reflect.Type
- func (o ChannelEmailArrayOutput) Index(i pulumi.IntInput) ChannelEmailOutput
- func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutput() ChannelEmailArrayOutput
- func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext(ctx context.Context) ChannelEmailArrayOutput
- type ChannelEmailInput
- type ChannelEmailMap
- type ChannelEmailMapInput
- type ChannelEmailMapOutput
- func (ChannelEmailMapOutput) ElementType() reflect.Type
- func (o ChannelEmailMapOutput) MapIndex(k pulumi.StringInput) ChannelEmailOutput
- func (o ChannelEmailMapOutput) ToChannelEmailMapOutput() ChannelEmailMapOutput
- func (o ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext(ctx context.Context) ChannelEmailMapOutput
- type ChannelEmailOutput
- func (ChannelEmailOutput) ElementType() reflect.Type
- func (o ChannelEmailOutput) ToChannelEmailOutput() ChannelEmailOutput
- func (o ChannelEmailOutput) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput
- func (o ChannelEmailOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
- func (o ChannelEmailOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
- type ChannelEmailPtrInput
- type ChannelEmailPtrOutput
- func (o ChannelEmailPtrOutput) Elem() ChannelEmailOutput
- func (ChannelEmailPtrOutput) ElementType() reflect.Type
- func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
- func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
- type ChannelEmailState
- type ChannelFacebook
- func (*ChannelFacebook) ElementType() reflect.Type
- func (i *ChannelFacebook) ToChannelFacebookOutput() ChannelFacebookOutput
- func (i *ChannelFacebook) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput
- func (i *ChannelFacebook) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
- func (i *ChannelFacebook) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
- type ChannelFacebookArgs
- type ChannelFacebookArray
- type ChannelFacebookArrayInput
- type ChannelFacebookArrayOutput
- func (ChannelFacebookArrayOutput) ElementType() reflect.Type
- func (o ChannelFacebookArrayOutput) Index(i pulumi.IntInput) ChannelFacebookOutput
- func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput
- func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutputWithContext(ctx context.Context) ChannelFacebookArrayOutput
- type ChannelFacebookInput
- type ChannelFacebookMap
- type ChannelFacebookMapInput
- type ChannelFacebookMapOutput
- func (ChannelFacebookMapOutput) ElementType() reflect.Type
- func (o ChannelFacebookMapOutput) MapIndex(k pulumi.StringInput) ChannelFacebookOutput
- func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutput() ChannelFacebookMapOutput
- func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutputWithContext(ctx context.Context) ChannelFacebookMapOutput
- type ChannelFacebookOutput
- func (ChannelFacebookOutput) ElementType() reflect.Type
- func (o ChannelFacebookOutput) ToChannelFacebookOutput() ChannelFacebookOutput
- func (o ChannelFacebookOutput) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput
- func (o ChannelFacebookOutput) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
- func (o ChannelFacebookOutput) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
- type ChannelFacebookPage
- type ChannelFacebookPageArgs
- type ChannelFacebookPageArray
- type ChannelFacebookPageArrayInput
- type ChannelFacebookPageArrayOutput
- func (ChannelFacebookPageArrayOutput) ElementType() reflect.Type
- func (o ChannelFacebookPageArrayOutput) Index(i pulumi.IntInput) ChannelFacebookPageOutput
- func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput
- func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutputWithContext(ctx context.Context) ChannelFacebookPageArrayOutput
- type ChannelFacebookPageInput
- type ChannelFacebookPageOutput
- func (o ChannelFacebookPageOutput) AccessToken() pulumi.StringOutput
- func (ChannelFacebookPageOutput) ElementType() reflect.Type
- func (o ChannelFacebookPageOutput) Id() pulumi.StringOutput
- func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutput() ChannelFacebookPageOutput
- func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutputWithContext(ctx context.Context) ChannelFacebookPageOutput
- type ChannelFacebookPtrInput
- type ChannelFacebookPtrOutput
- func (o ChannelFacebookPtrOutput) Elem() ChannelFacebookOutput
- func (ChannelFacebookPtrOutput) ElementType() reflect.Type
- func (o ChannelFacebookPtrOutput) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
- func (o ChannelFacebookPtrOutput) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
- type ChannelFacebookState
- type ChannelLine
- func (*ChannelLine) ElementType() reflect.Type
- func (i *ChannelLine) ToChannelLineOutput() ChannelLineOutput
- func (i *ChannelLine) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput
- func (i *ChannelLine) ToChannelLinePtrOutput() ChannelLinePtrOutput
- func (i *ChannelLine) ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput
- type ChannelLineArgs
- type ChannelLineArray
- type ChannelLineArrayInput
- type ChannelLineArrayOutput
- func (ChannelLineArrayOutput) ElementType() reflect.Type
- func (o ChannelLineArrayOutput) Index(i pulumi.IntInput) ChannelLineOutput
- func (o ChannelLineArrayOutput) ToChannelLineArrayOutput() ChannelLineArrayOutput
- func (o ChannelLineArrayOutput) ToChannelLineArrayOutputWithContext(ctx context.Context) ChannelLineArrayOutput
- type ChannelLineInput
- type ChannelLineLineChannel
- type ChannelLineLineChannelArgs
- type ChannelLineLineChannelArray
- func (ChannelLineLineChannelArray) ElementType() reflect.Type
- func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput
- func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput
- type ChannelLineLineChannelArrayInput
- type ChannelLineLineChannelArrayOutput
- func (ChannelLineLineChannelArrayOutput) ElementType() reflect.Type
- func (o ChannelLineLineChannelArrayOutput) Index(i pulumi.IntInput) ChannelLineLineChannelOutput
- func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput
- func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput
- type ChannelLineLineChannelInput
- type ChannelLineLineChannelOutput
- func (o ChannelLineLineChannelOutput) AccessToken() pulumi.StringOutput
- func (ChannelLineLineChannelOutput) ElementType() reflect.Type
- func (o ChannelLineLineChannelOutput) Secret() pulumi.StringOutput
- func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput
- func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutputWithContext(ctx context.Context) ChannelLineLineChannelOutput
- type ChannelLineMap
- type ChannelLineMapInput
- type ChannelLineMapOutput
- func (ChannelLineMapOutput) ElementType() reflect.Type
- func (o ChannelLineMapOutput) MapIndex(k pulumi.StringInput) ChannelLineOutput
- func (o ChannelLineMapOutput) ToChannelLineMapOutput() ChannelLineMapOutput
- func (o ChannelLineMapOutput) ToChannelLineMapOutputWithContext(ctx context.Context) ChannelLineMapOutput
- type ChannelLineOutput
- func (ChannelLineOutput) ElementType() reflect.Type
- func (o ChannelLineOutput) ToChannelLineOutput() ChannelLineOutput
- func (o ChannelLineOutput) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput
- func (o ChannelLineOutput) ToChannelLinePtrOutput() ChannelLinePtrOutput
- func (o ChannelLineOutput) ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput
- type ChannelLinePtrInput
- type ChannelLinePtrOutput
- type ChannelLineState
- type ChannelSlack
- func (*ChannelSlack) ElementType() reflect.Type
- func (i *ChannelSlack) ToChannelSlackOutput() ChannelSlackOutput
- func (i *ChannelSlack) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput
- func (i *ChannelSlack) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
- func (i *ChannelSlack) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
- type ChannelSlackArgs
- type ChannelSlackArray
- type ChannelSlackArrayInput
- type ChannelSlackArrayOutput
- func (ChannelSlackArrayOutput) ElementType() reflect.Type
- func (o ChannelSlackArrayOutput) Index(i pulumi.IntInput) ChannelSlackOutput
- func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutput() ChannelSlackArrayOutput
- func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext(ctx context.Context) ChannelSlackArrayOutput
- type ChannelSlackInput
- type ChannelSlackMap
- type ChannelSlackMapInput
- type ChannelSlackMapOutput
- func (ChannelSlackMapOutput) ElementType() reflect.Type
- func (o ChannelSlackMapOutput) MapIndex(k pulumi.StringInput) ChannelSlackOutput
- func (o ChannelSlackMapOutput) ToChannelSlackMapOutput() ChannelSlackMapOutput
- func (o ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext(ctx context.Context) ChannelSlackMapOutput
- type ChannelSlackOutput
- func (ChannelSlackOutput) ElementType() reflect.Type
- func (o ChannelSlackOutput) ToChannelSlackOutput() ChannelSlackOutput
- func (o ChannelSlackOutput) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput
- func (o ChannelSlackOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
- func (o ChannelSlackOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
- type ChannelSlackPtrInput
- type ChannelSlackPtrOutput
- func (o ChannelSlackPtrOutput) Elem() ChannelSlackOutput
- func (ChannelSlackPtrOutput) ElementType() reflect.Type
- func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
- func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
- type ChannelSlackState
- type ChannelSms
- func (*ChannelSms) ElementType() reflect.Type
- func (i *ChannelSms) ToChannelSmsOutput() ChannelSmsOutput
- func (i *ChannelSms) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput
- func (i *ChannelSms) ToChannelSmsPtrOutput() ChannelSmsPtrOutput
- func (i *ChannelSms) ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput
- type ChannelSmsArgs
- type ChannelSmsArray
- type ChannelSmsArrayInput
- type ChannelSmsArrayOutput
- func (ChannelSmsArrayOutput) ElementType() reflect.Type
- func (o ChannelSmsArrayOutput) Index(i pulumi.IntInput) ChannelSmsOutput
- func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutput() ChannelSmsArrayOutput
- func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutputWithContext(ctx context.Context) ChannelSmsArrayOutput
- type ChannelSmsInput
- type ChannelSmsMap
- type ChannelSmsMapInput
- type ChannelSmsMapOutput
- func (ChannelSmsMapOutput) ElementType() reflect.Type
- func (o ChannelSmsMapOutput) MapIndex(k pulumi.StringInput) ChannelSmsOutput
- func (o ChannelSmsMapOutput) ToChannelSmsMapOutput() ChannelSmsMapOutput
- func (o ChannelSmsMapOutput) ToChannelSmsMapOutputWithContext(ctx context.Context) ChannelSmsMapOutput
- type ChannelSmsOutput
- func (ChannelSmsOutput) ElementType() reflect.Type
- func (o ChannelSmsOutput) ToChannelSmsOutput() ChannelSmsOutput
- func (o ChannelSmsOutput) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput
- func (o ChannelSmsOutput) ToChannelSmsPtrOutput() ChannelSmsPtrOutput
- func (o ChannelSmsOutput) ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput
- type ChannelSmsPtrInput
- type ChannelSmsPtrOutput
- type ChannelSmsState
- type ChannelTeams
- func (*ChannelTeams) ElementType() reflect.Type
- func (i *ChannelTeams) ToChannelTeamsOutput() ChannelTeamsOutput
- func (i *ChannelTeams) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput
- func (i *ChannelTeams) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
- func (i *ChannelTeams) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
- type ChannelTeamsArgs
- type ChannelTeamsArray
- type ChannelTeamsArrayInput
- type ChannelTeamsArrayOutput
- func (ChannelTeamsArrayOutput) ElementType() reflect.Type
- func (o ChannelTeamsArrayOutput) Index(i pulumi.IntInput) ChannelTeamsOutput
- func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput
- func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext(ctx context.Context) ChannelTeamsArrayOutput
- type ChannelTeamsInput
- type ChannelTeamsMap
- type ChannelTeamsMapInput
- type ChannelTeamsMapOutput
- func (ChannelTeamsMapOutput) ElementType() reflect.Type
- func (o ChannelTeamsMapOutput) MapIndex(k pulumi.StringInput) ChannelTeamsOutput
- func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutput() ChannelTeamsMapOutput
- func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext(ctx context.Context) ChannelTeamsMapOutput
- type ChannelTeamsOutput
- func (ChannelTeamsOutput) ElementType() reflect.Type
- func (o ChannelTeamsOutput) ToChannelTeamsOutput() ChannelTeamsOutput
- func (o ChannelTeamsOutput) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput
- func (o ChannelTeamsOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
- func (o ChannelTeamsOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
- type ChannelTeamsPtrInput
- type ChannelTeamsPtrOutput
- func (o ChannelTeamsPtrOutput) Elem() ChannelTeamsOutput
- func (ChannelTeamsPtrOutput) ElementType() reflect.Type
- func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
- func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
- type ChannelTeamsState
- type ChannelWebChat
- func (*ChannelWebChat) ElementType() reflect.Type
- func (i *ChannelWebChat) ToChannelWebChatOutput() ChannelWebChatOutput
- func (i *ChannelWebChat) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput
- func (i *ChannelWebChat) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
- func (i *ChannelWebChat) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
- type ChannelWebChatArgs
- type ChannelWebChatArray
- type ChannelWebChatArrayInput
- type ChannelWebChatArrayOutput
- func (ChannelWebChatArrayOutput) ElementType() reflect.Type
- func (o ChannelWebChatArrayOutput) Index(i pulumi.IntInput) ChannelWebChatOutput
- func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput
- func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutputWithContext(ctx context.Context) ChannelWebChatArrayOutput
- type ChannelWebChatInput
- type ChannelWebChatMap
- type ChannelWebChatMapInput
- type ChannelWebChatMapOutput
- func (ChannelWebChatMapOutput) ElementType() reflect.Type
- func (o ChannelWebChatMapOutput) MapIndex(k pulumi.StringInput) ChannelWebChatOutput
- func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutput() ChannelWebChatMapOutput
- func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutputWithContext(ctx context.Context) ChannelWebChatMapOutput
- type ChannelWebChatOutput
- func (ChannelWebChatOutput) ElementType() reflect.Type
- func (o ChannelWebChatOutput) ToChannelWebChatOutput() ChannelWebChatOutput
- func (o ChannelWebChatOutput) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput
- func (o ChannelWebChatOutput) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
- func (o ChannelWebChatOutput) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
- type ChannelWebChatPtrInput
- type ChannelWebChatPtrOutput
- func (o ChannelWebChatPtrOutput) Elem() ChannelWebChatOutput
- func (ChannelWebChatPtrOutput) ElementType() reflect.Type
- func (o ChannelWebChatPtrOutput) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
- func (o ChannelWebChatPtrOutput) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
- type ChannelWebChatState
- type ChannelsRegistration
- func (*ChannelsRegistration) ElementType() reflect.Type
- func (i *ChannelsRegistration) ToChannelsRegistrationOutput() ChannelsRegistrationOutput
- func (i *ChannelsRegistration) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput
- func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
- func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
- type ChannelsRegistrationArgs
- type ChannelsRegistrationArray
- type ChannelsRegistrationArrayInput
- type ChannelsRegistrationArrayOutput
- func (ChannelsRegistrationArrayOutput) ElementType() reflect.Type
- func (o ChannelsRegistrationArrayOutput) Index(i pulumi.IntInput) ChannelsRegistrationOutput
- func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput
- func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext(ctx context.Context) ChannelsRegistrationArrayOutput
- type ChannelsRegistrationInput
- type ChannelsRegistrationMap
- type ChannelsRegistrationMapInput
- type ChannelsRegistrationMapOutput
- func (ChannelsRegistrationMapOutput) ElementType() reflect.Type
- func (o ChannelsRegistrationMapOutput) MapIndex(k pulumi.StringInput) ChannelsRegistrationOutput
- func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput
- func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext(ctx context.Context) ChannelsRegistrationMapOutput
- type ChannelsRegistrationOutput
- func (ChannelsRegistrationOutput) ElementType() reflect.Type
- func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutput() ChannelsRegistrationOutput
- func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput
- func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
- func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
- type ChannelsRegistrationPtrInput
- type ChannelsRegistrationPtrOutput
- func (o ChannelsRegistrationPtrOutput) Elem() ChannelsRegistrationOutput
- func (ChannelsRegistrationPtrOutput) ElementType() reflect.Type
- func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
- func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
- type ChannelsRegistrationState
- type Connection
- func (*Connection) ElementType() reflect.Type
- func (i *Connection) ToConnectionOutput() ConnectionOutput
- func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
- func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionInput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
- func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- type ConnectionPtrInput
- type ConnectionPtrOutput
- type ConnectionState
- type WebApp
- func (*WebApp) ElementType() reflect.Type
- func (i *WebApp) ToWebAppOutput() WebAppOutput
- func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
- func (i *WebApp) ToWebAppPtrOutput() WebAppPtrOutput
- func (i *WebApp) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
- type WebAppArgs
- type WebAppArray
- type WebAppArrayInput
- type WebAppArrayOutput
- type WebAppInput
- type WebAppMap
- type WebAppMapInput
- type WebAppMapOutput
- type WebAppOutput
- func (WebAppOutput) ElementType() reflect.Type
- func (o WebAppOutput) ToWebAppOutput() WebAppOutput
- func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
- func (o WebAppOutput) ToWebAppPtrOutput() WebAppPtrOutput
- func (o WebAppOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
- type WebAppPtrInput
- type WebAppPtrOutput
- type WebAppState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelAlexa ¶ added in v4.13.0
type ChannelAlexa struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Alexa skill ID for the Alexa Channel. SkillId pulumi.StringOutput `pulumi:"skillId"` }
Manages an Alexa integration for a Bot Channel
> **Note** A bot can only have a single Alexa Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelAlexa(ctx, "exampleChannelAlexa", &bot.ChannelAlexaArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, SkillId: pulumi.String("amzn1.ask.skill.00000000-0000-0000-0000-000000000000"), }) if err != nil { return err } return nil }) }
```
## Import
The Alexa Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelAlexa:ChannelAlexa example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/AlexaChannel
```
func GetChannelAlexa ¶ added in v4.13.0
func GetChannelAlexa(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelAlexaState, opts ...pulumi.ResourceOption) (*ChannelAlexa, error)
GetChannelAlexa gets an existing ChannelAlexa resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelAlexa ¶ added in v4.13.0
func NewChannelAlexa(ctx *pulumi.Context, name string, args *ChannelAlexaArgs, opts ...pulumi.ResourceOption) (*ChannelAlexa, error)
NewChannelAlexa registers a new resource with the given unique name, arguments, and options.
func (*ChannelAlexa) ElementType ¶ added in v4.13.0
func (*ChannelAlexa) ElementType() reflect.Type
func (*ChannelAlexa) ToChannelAlexaOutput ¶ added in v4.13.0
func (i *ChannelAlexa) ToChannelAlexaOutput() ChannelAlexaOutput
func (*ChannelAlexa) ToChannelAlexaOutputWithContext ¶ added in v4.13.0
func (i *ChannelAlexa) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput
func (*ChannelAlexa) ToChannelAlexaPtrOutput ¶ added in v4.13.0
func (i *ChannelAlexa) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
func (*ChannelAlexa) ToChannelAlexaPtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelAlexa) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
type ChannelAlexaArgs ¶ added in v4.13.0
type ChannelAlexaArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Alexa skill ID for the Alexa Channel. SkillId pulumi.StringInput }
The set of arguments for constructing a ChannelAlexa resource.
func (ChannelAlexaArgs) ElementType ¶ added in v4.13.0
func (ChannelAlexaArgs) ElementType() reflect.Type
type ChannelAlexaArray ¶ added in v4.13.0
type ChannelAlexaArray []ChannelAlexaInput
func (ChannelAlexaArray) ElementType ¶ added in v4.13.0
func (ChannelAlexaArray) ElementType() reflect.Type
func (ChannelAlexaArray) ToChannelAlexaArrayOutput ¶ added in v4.13.0
func (i ChannelAlexaArray) ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput
func (ChannelAlexaArray) ToChannelAlexaArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelAlexaArray) ToChannelAlexaArrayOutputWithContext(ctx context.Context) ChannelAlexaArrayOutput
type ChannelAlexaArrayInput ¶ added in v4.13.0
type ChannelAlexaArrayInput interface { pulumi.Input ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput ToChannelAlexaArrayOutputWithContext(context.Context) ChannelAlexaArrayOutput }
ChannelAlexaArrayInput is an input type that accepts ChannelAlexaArray and ChannelAlexaArrayOutput values. You can construct a concrete instance of `ChannelAlexaArrayInput` via:
ChannelAlexaArray{ ChannelAlexaArgs{...} }
type ChannelAlexaArrayOutput ¶ added in v4.13.0
type ChannelAlexaArrayOutput struct{ *pulumi.OutputState }
func (ChannelAlexaArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelAlexaArrayOutput) ElementType() reflect.Type
func (ChannelAlexaArrayOutput) Index ¶ added in v4.13.0
func (o ChannelAlexaArrayOutput) Index(i pulumi.IntInput) ChannelAlexaOutput
func (ChannelAlexaArrayOutput) ToChannelAlexaArrayOutput ¶ added in v4.13.0
func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutput() ChannelAlexaArrayOutput
func (ChannelAlexaArrayOutput) ToChannelAlexaArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelAlexaArrayOutput) ToChannelAlexaArrayOutputWithContext(ctx context.Context) ChannelAlexaArrayOutput
type ChannelAlexaInput ¶ added in v4.13.0
type ChannelAlexaInput interface { pulumi.Input ToChannelAlexaOutput() ChannelAlexaOutput ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput }
type ChannelAlexaMap ¶ added in v4.13.0
type ChannelAlexaMap map[string]ChannelAlexaInput
func (ChannelAlexaMap) ElementType ¶ added in v4.13.0
func (ChannelAlexaMap) ElementType() reflect.Type
func (ChannelAlexaMap) ToChannelAlexaMapOutput ¶ added in v4.13.0
func (i ChannelAlexaMap) ToChannelAlexaMapOutput() ChannelAlexaMapOutput
func (ChannelAlexaMap) ToChannelAlexaMapOutputWithContext ¶ added in v4.13.0
func (i ChannelAlexaMap) ToChannelAlexaMapOutputWithContext(ctx context.Context) ChannelAlexaMapOutput
type ChannelAlexaMapInput ¶ added in v4.13.0
type ChannelAlexaMapInput interface { pulumi.Input ToChannelAlexaMapOutput() ChannelAlexaMapOutput ToChannelAlexaMapOutputWithContext(context.Context) ChannelAlexaMapOutput }
ChannelAlexaMapInput is an input type that accepts ChannelAlexaMap and ChannelAlexaMapOutput values. You can construct a concrete instance of `ChannelAlexaMapInput` via:
ChannelAlexaMap{ "key": ChannelAlexaArgs{...} }
type ChannelAlexaMapOutput ¶ added in v4.13.0
type ChannelAlexaMapOutput struct{ *pulumi.OutputState }
func (ChannelAlexaMapOutput) ElementType ¶ added in v4.13.0
func (ChannelAlexaMapOutput) ElementType() reflect.Type
func (ChannelAlexaMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelAlexaMapOutput) MapIndex(k pulumi.StringInput) ChannelAlexaOutput
func (ChannelAlexaMapOutput) ToChannelAlexaMapOutput ¶ added in v4.13.0
func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutput() ChannelAlexaMapOutput
func (ChannelAlexaMapOutput) ToChannelAlexaMapOutputWithContext ¶ added in v4.13.0
func (o ChannelAlexaMapOutput) ToChannelAlexaMapOutputWithContext(ctx context.Context) ChannelAlexaMapOutput
type ChannelAlexaOutput ¶ added in v4.13.0
type ChannelAlexaOutput struct{ *pulumi.OutputState }
func (ChannelAlexaOutput) ElementType ¶ added in v4.13.0
func (ChannelAlexaOutput) ElementType() reflect.Type
func (ChannelAlexaOutput) ToChannelAlexaOutput ¶ added in v4.13.0
func (o ChannelAlexaOutput) ToChannelAlexaOutput() ChannelAlexaOutput
func (ChannelAlexaOutput) ToChannelAlexaOutputWithContext ¶ added in v4.13.0
func (o ChannelAlexaOutput) ToChannelAlexaOutputWithContext(ctx context.Context) ChannelAlexaOutput
func (ChannelAlexaOutput) ToChannelAlexaPtrOutput ¶ added in v4.13.0
func (o ChannelAlexaOutput) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
func (ChannelAlexaOutput) ToChannelAlexaPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelAlexaOutput) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
type ChannelAlexaPtrInput ¶ added in v4.13.0
type ChannelAlexaPtrInput interface { pulumi.Input ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput }
type ChannelAlexaPtrOutput ¶ added in v4.13.0
type ChannelAlexaPtrOutput struct{ *pulumi.OutputState }
func (ChannelAlexaPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelAlexaPtrOutput) Elem() ChannelAlexaOutput
func (ChannelAlexaPtrOutput) ElementType ¶ added in v4.13.0
func (ChannelAlexaPtrOutput) ElementType() reflect.Type
func (ChannelAlexaPtrOutput) ToChannelAlexaPtrOutput ¶ added in v4.13.0
func (o ChannelAlexaPtrOutput) ToChannelAlexaPtrOutput() ChannelAlexaPtrOutput
func (ChannelAlexaPtrOutput) ToChannelAlexaPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelAlexaPtrOutput) ToChannelAlexaPtrOutputWithContext(ctx context.Context) ChannelAlexaPtrOutput
type ChannelAlexaState ¶ added in v4.13.0
type ChannelAlexaState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Alexa Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Alexa skill ID for the Alexa Channel. SkillId pulumi.StringPtrInput }
func (ChannelAlexaState) ElementType ¶ added in v4.13.0
func (ChannelAlexaState) ElementType() reflect.Type
type ChannelDirectLine ¶
type ChannelDirectLine struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A site represents a client application that you want to connect to your bot. Multiple `site` blocks may be defined as below Sites ChannelDirectLineSiteArrayOutput `pulumi:"sites"` }
Manages a Directline integration for a Bot Channel
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelDirectLine(ctx, "exampleChannelDirectLine", &bot.ChannelDirectLineArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, Sites: bot.ChannelDirectLineSiteArray{ &bot.ChannelDirectLineSiteArgs{ Name: pulumi.String("default"), Enabled: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
## Import
The Directline Channel for a Bot can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelDirectLine:ChannelDirectLine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/DirectlineChannel
```
func GetChannelDirectLine ¶
func GetChannelDirectLine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelDirectLineState, opts ...pulumi.ResourceOption) (*ChannelDirectLine, error)
GetChannelDirectLine gets an existing ChannelDirectLine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelDirectLine ¶
func NewChannelDirectLine(ctx *pulumi.Context, name string, args *ChannelDirectLineArgs, opts ...pulumi.ResourceOption) (*ChannelDirectLine, error)
NewChannelDirectLine registers a new resource with the given unique name, arguments, and options.
func (*ChannelDirectLine) ElementType ¶
func (*ChannelDirectLine) ElementType() reflect.Type
func (*ChannelDirectLine) ToChannelDirectLineOutput ¶
func (i *ChannelDirectLine) ToChannelDirectLineOutput() ChannelDirectLineOutput
func (*ChannelDirectLine) ToChannelDirectLineOutputWithContext ¶
func (i *ChannelDirectLine) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput
func (*ChannelDirectLine) ToChannelDirectLinePtrOutput ¶
func (i *ChannelDirectLine) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
func (*ChannelDirectLine) ToChannelDirectLinePtrOutputWithContext ¶
func (i *ChannelDirectLine) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
type ChannelDirectLineArgs ¶
type ChannelDirectLineArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A site represents a client application that you want to connect to your bot. Multiple `site` blocks may be defined as below Sites ChannelDirectLineSiteArrayInput }
The set of arguments for constructing a ChannelDirectLine resource.
func (ChannelDirectLineArgs) ElementType ¶
func (ChannelDirectLineArgs) ElementType() reflect.Type
type ChannelDirectLineArray ¶
type ChannelDirectLineArray []ChannelDirectLineInput
func (ChannelDirectLineArray) ElementType ¶
func (ChannelDirectLineArray) ElementType() reflect.Type
func (ChannelDirectLineArray) ToChannelDirectLineArrayOutput ¶
func (i ChannelDirectLineArray) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput
func (ChannelDirectLineArray) ToChannelDirectLineArrayOutputWithContext ¶
func (i ChannelDirectLineArray) ToChannelDirectLineArrayOutputWithContext(ctx context.Context) ChannelDirectLineArrayOutput
type ChannelDirectLineArrayInput ¶
type ChannelDirectLineArrayInput interface { pulumi.Input ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput ToChannelDirectLineArrayOutputWithContext(context.Context) ChannelDirectLineArrayOutput }
ChannelDirectLineArrayInput is an input type that accepts ChannelDirectLineArray and ChannelDirectLineArrayOutput values. You can construct a concrete instance of `ChannelDirectLineArrayInput` via:
ChannelDirectLineArray{ ChannelDirectLineArgs{...} }
type ChannelDirectLineArrayOutput ¶
type ChannelDirectLineArrayOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineArrayOutput) ElementType ¶
func (ChannelDirectLineArrayOutput) ElementType() reflect.Type
func (ChannelDirectLineArrayOutput) Index ¶
func (o ChannelDirectLineArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineOutput
func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput ¶
func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutput() ChannelDirectLineArrayOutput
func (ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext ¶
func (o ChannelDirectLineArrayOutput) ToChannelDirectLineArrayOutputWithContext(ctx context.Context) ChannelDirectLineArrayOutput
type ChannelDirectLineInput ¶
type ChannelDirectLineInput interface { pulumi.Input ToChannelDirectLineOutput() ChannelDirectLineOutput ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput }
type ChannelDirectLineMap ¶
type ChannelDirectLineMap map[string]ChannelDirectLineInput
func (ChannelDirectLineMap) ElementType ¶
func (ChannelDirectLineMap) ElementType() reflect.Type
func (ChannelDirectLineMap) ToChannelDirectLineMapOutput ¶
func (i ChannelDirectLineMap) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput
func (ChannelDirectLineMap) ToChannelDirectLineMapOutputWithContext ¶
func (i ChannelDirectLineMap) ToChannelDirectLineMapOutputWithContext(ctx context.Context) ChannelDirectLineMapOutput
type ChannelDirectLineMapInput ¶
type ChannelDirectLineMapInput interface { pulumi.Input ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput ToChannelDirectLineMapOutputWithContext(context.Context) ChannelDirectLineMapOutput }
ChannelDirectLineMapInput is an input type that accepts ChannelDirectLineMap and ChannelDirectLineMapOutput values. You can construct a concrete instance of `ChannelDirectLineMapInput` via:
ChannelDirectLineMap{ "key": ChannelDirectLineArgs{...} }
type ChannelDirectLineMapOutput ¶
type ChannelDirectLineMapOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineMapOutput) ElementType ¶
func (ChannelDirectLineMapOutput) ElementType() reflect.Type
func (ChannelDirectLineMapOutput) MapIndex ¶
func (o ChannelDirectLineMapOutput) MapIndex(k pulumi.StringInput) ChannelDirectLineOutput
func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput ¶
func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutput() ChannelDirectLineMapOutput
func (ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext ¶
func (o ChannelDirectLineMapOutput) ToChannelDirectLineMapOutputWithContext(ctx context.Context) ChannelDirectLineMapOutput
type ChannelDirectLineOutput ¶
type ChannelDirectLineOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineOutput) ElementType ¶
func (ChannelDirectLineOutput) ElementType() reflect.Type
func (ChannelDirectLineOutput) ToChannelDirectLineOutput ¶
func (o ChannelDirectLineOutput) ToChannelDirectLineOutput() ChannelDirectLineOutput
func (ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext ¶
func (o ChannelDirectLineOutput) ToChannelDirectLineOutputWithContext(ctx context.Context) ChannelDirectLineOutput
func (ChannelDirectLineOutput) ToChannelDirectLinePtrOutput ¶
func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
func (ChannelDirectLineOutput) ToChannelDirectLinePtrOutputWithContext ¶
func (o ChannelDirectLineOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
type ChannelDirectLinePtrInput ¶
type ChannelDirectLinePtrInput interface { pulumi.Input ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput }
type ChannelDirectLinePtrOutput ¶
type ChannelDirectLinePtrOutput struct{ *pulumi.OutputState }
func (ChannelDirectLinePtrOutput) Elem ¶ added in v4.20.0
func (o ChannelDirectLinePtrOutput) Elem() ChannelDirectLineOutput
func (ChannelDirectLinePtrOutput) ElementType ¶
func (ChannelDirectLinePtrOutput) ElementType() reflect.Type
func (ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutput ¶
func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutput() ChannelDirectLinePtrOutput
func (ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutputWithContext ¶
func (o ChannelDirectLinePtrOutput) ToChannelDirectLinePtrOutputWithContext(ctx context.Context) ChannelDirectLinePtrOutput
type ChannelDirectLineSite ¶
type ChannelDirectLineSite struct { // Enables/Disables this site. Enabled by default Enabled *bool `pulumi:"enabled"` // Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default. EnhancedAuthenticationEnabled *bool `pulumi:"enhancedAuthenticationEnabled"` // Id for the site Id *string `pulumi:"id"` // Primary key for accessing this site Key *string `pulumi:"key"` // Secondary key for accessing this site Key2 *string `pulumi:"key2"` // The name of the site Name string `pulumi:"name"` // This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site. TrustedOrigins []string `pulumi:"trustedOrigins"` // Enables v1 of the Directline protocol for this site. Enabled by default V1Allowed *bool `pulumi:"v1Allowed"` // Enables v3 of the Directline protocol for this site. Enabled by default V3Allowed *bool `pulumi:"v3Allowed"` }
type ChannelDirectLineSiteArgs ¶
type ChannelDirectLineSiteArgs struct { // Enables/Disables this site. Enabled by default Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default. EnhancedAuthenticationEnabled pulumi.BoolPtrInput `pulumi:"enhancedAuthenticationEnabled"` // Id for the site Id pulumi.StringPtrInput `pulumi:"id"` // Primary key for accessing this site Key pulumi.StringPtrInput `pulumi:"key"` // Secondary key for accessing this site Key2 pulumi.StringPtrInput `pulumi:"key2"` // The name of the site Name pulumi.StringInput `pulumi:"name"` // This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site. TrustedOrigins pulumi.StringArrayInput `pulumi:"trustedOrigins"` // Enables v1 of the Directline protocol for this site. Enabled by default V1Allowed pulumi.BoolPtrInput `pulumi:"v1Allowed"` // Enables v3 of the Directline protocol for this site. Enabled by default V3Allowed pulumi.BoolPtrInput `pulumi:"v3Allowed"` }
func (ChannelDirectLineSiteArgs) ElementType ¶
func (ChannelDirectLineSiteArgs) ElementType() reflect.Type
func (ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutput ¶
func (i ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput
func (ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutputWithContext ¶
func (i ChannelDirectLineSiteArgs) ToChannelDirectLineSiteOutputWithContext(ctx context.Context) ChannelDirectLineSiteOutput
type ChannelDirectLineSiteArray ¶
type ChannelDirectLineSiteArray []ChannelDirectLineSiteInput
func (ChannelDirectLineSiteArray) ElementType ¶
func (ChannelDirectLineSiteArray) ElementType() reflect.Type
func (ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutput ¶
func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput
func (ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutputWithContext ¶
func (i ChannelDirectLineSiteArray) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput
type ChannelDirectLineSiteArrayInput ¶
type ChannelDirectLineSiteArrayInput interface { pulumi.Input ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput ToChannelDirectLineSiteArrayOutputWithContext(context.Context) ChannelDirectLineSiteArrayOutput }
ChannelDirectLineSiteArrayInput is an input type that accepts ChannelDirectLineSiteArray and ChannelDirectLineSiteArrayOutput values. You can construct a concrete instance of `ChannelDirectLineSiteArrayInput` via:
ChannelDirectLineSiteArray{ ChannelDirectLineSiteArgs{...} }
type ChannelDirectLineSiteArrayOutput ¶
type ChannelDirectLineSiteArrayOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSiteArrayOutput) ElementType ¶
func (ChannelDirectLineSiteArrayOutput) ElementType() reflect.Type
func (ChannelDirectLineSiteArrayOutput) Index ¶
func (o ChannelDirectLineSiteArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineSiteOutput
func (ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutput ¶
func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutput() ChannelDirectLineSiteArrayOutput
func (ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutputWithContext ¶
func (o ChannelDirectLineSiteArrayOutput) ToChannelDirectLineSiteArrayOutputWithContext(ctx context.Context) ChannelDirectLineSiteArrayOutput
type ChannelDirectLineSiteInput ¶
type ChannelDirectLineSiteInput interface { pulumi.Input ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput ToChannelDirectLineSiteOutputWithContext(context.Context) ChannelDirectLineSiteOutput }
ChannelDirectLineSiteInput is an input type that accepts ChannelDirectLineSiteArgs and ChannelDirectLineSiteOutput values. You can construct a concrete instance of `ChannelDirectLineSiteInput` via:
ChannelDirectLineSiteArgs{...}
type ChannelDirectLineSiteOutput ¶
type ChannelDirectLineSiteOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSiteOutput) ElementType ¶
func (ChannelDirectLineSiteOutput) ElementType() reflect.Type
func (ChannelDirectLineSiteOutput) Enabled ¶
func (o ChannelDirectLineSiteOutput) Enabled() pulumi.BoolPtrOutput
Enables/Disables this site. Enabled by default
func (ChannelDirectLineSiteOutput) EnhancedAuthenticationEnabled ¶
func (o ChannelDirectLineSiteOutput) EnhancedAuthenticationEnabled() pulumi.BoolPtrOutput
Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default.
func (ChannelDirectLineSiteOutput) Id ¶
func (o ChannelDirectLineSiteOutput) Id() pulumi.StringPtrOutput
Id for the site
func (ChannelDirectLineSiteOutput) Key ¶
func (o ChannelDirectLineSiteOutput) Key() pulumi.StringPtrOutput
Primary key for accessing this site
func (ChannelDirectLineSiteOutput) Key2 ¶
func (o ChannelDirectLineSiteOutput) Key2() pulumi.StringPtrOutput
Secondary key for accessing this site
func (ChannelDirectLineSiteOutput) Name ¶
func (o ChannelDirectLineSiteOutput) Name() pulumi.StringOutput
The name of the site
func (ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutput ¶
func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutput() ChannelDirectLineSiteOutput
func (ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutputWithContext ¶
func (o ChannelDirectLineSiteOutput) ToChannelDirectLineSiteOutputWithContext(ctx context.Context) ChannelDirectLineSiteOutput
func (ChannelDirectLineSiteOutput) TrustedOrigins ¶
func (o ChannelDirectLineSiteOutput) TrustedOrigins() pulumi.StringArrayOutput
This field is required when `isSecureSiteEnabled` is enabled. Determines which origins can establish a Directline conversation for this site.
func (ChannelDirectLineSiteOutput) V1Allowed ¶
func (o ChannelDirectLineSiteOutput) V1Allowed() pulumi.BoolPtrOutput
Enables v1 of the Directline protocol for this site. Enabled by default
func (ChannelDirectLineSiteOutput) V3Allowed ¶
func (o ChannelDirectLineSiteOutput) V3Allowed() pulumi.BoolPtrOutput
Enables v3 of the Directline protocol for this site. Enabled by default
type ChannelDirectLineSpeech ¶ added in v4.13.0
type ChannelDirectLineSpeech struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The access key to access the Cognitive Service. CognitiveServiceAccessKey pulumi.StringOutput `pulumi:"cognitiveServiceAccessKey"` // Specifies the supported Azure location where the Cognitive Service resource exists. CognitiveServiceLocation pulumi.StringOutput `pulumi:"cognitiveServiceLocation"` // The custom speech model id for the Direct Line Speech Channel. CustomSpeechModelId pulumi.StringPtrOutput `pulumi:"customSpeechModelId"` // The custom voice deployment id for the Direct Line Speech Channel. CustomVoiceDeploymentId pulumi.StringPtrOutput `pulumi:"customVoiceDeploymentId"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Direct Line Speech integration for a Bot Channel
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cognitive" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := cognitive.NewAccount(ctx, "exampleAccount", &cognitive.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Kind: pulumi.String("SpeechServices"), SkuName: pulumi.String("S0"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelDirectLineSpeech(ctx, "exampleChannelDirectLineSpeech", &bot.ChannelDirectLineSpeechArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, CognitiveServiceLocation: exampleAccount.Location, CognitiveServiceAccessKey: exampleAccount.PrimaryAccessKey, }) if err != nil { return err } return nil }) }
```
## Import
Direct Line Speech Channels can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelDirectLineSpeech:ChannelDirectLineSpeech example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/DirectLineSpeechChannel
```
func GetChannelDirectLineSpeech ¶ added in v4.13.0
func GetChannelDirectLineSpeech(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelDirectLineSpeechState, opts ...pulumi.ResourceOption) (*ChannelDirectLineSpeech, error)
GetChannelDirectLineSpeech gets an existing ChannelDirectLineSpeech resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelDirectLineSpeech ¶ added in v4.13.0
func NewChannelDirectLineSpeech(ctx *pulumi.Context, name string, args *ChannelDirectLineSpeechArgs, opts ...pulumi.ResourceOption) (*ChannelDirectLineSpeech, error)
NewChannelDirectLineSpeech registers a new resource with the given unique name, arguments, and options.
func (*ChannelDirectLineSpeech) ElementType ¶ added in v4.13.0
func (*ChannelDirectLineSpeech) ElementType() reflect.Type
func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutput ¶ added in v4.13.0
func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput
func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutputWithContext ¶ added in v4.13.0
func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput
func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutput ¶ added in v4.13.0
func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
func (*ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelDirectLineSpeech) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
type ChannelDirectLineSpeechArgs ¶ added in v4.13.0
type ChannelDirectLineSpeechArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The access key to access the Cognitive Service. CognitiveServiceAccessKey pulumi.StringInput // Specifies the supported Azure location where the Cognitive Service resource exists. CognitiveServiceLocation pulumi.StringInput // The custom speech model id for the Direct Line Speech Channel. CustomSpeechModelId pulumi.StringPtrInput // The custom voice deployment id for the Direct Line Speech Channel. CustomVoiceDeploymentId pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ChannelDirectLineSpeech resource.
func (ChannelDirectLineSpeechArgs) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechArgs) ElementType() reflect.Type
type ChannelDirectLineSpeechArray ¶ added in v4.13.0
type ChannelDirectLineSpeechArray []ChannelDirectLineSpeechInput
func (ChannelDirectLineSpeechArray) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechArray) ElementType() reflect.Type
func (ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutput ¶ added in v4.13.0
func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput
func (ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelDirectLineSpeechArray) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput
type ChannelDirectLineSpeechArrayInput ¶ added in v4.13.0
type ChannelDirectLineSpeechArrayInput interface { pulumi.Input ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput ToChannelDirectLineSpeechArrayOutputWithContext(context.Context) ChannelDirectLineSpeechArrayOutput }
ChannelDirectLineSpeechArrayInput is an input type that accepts ChannelDirectLineSpeechArray and ChannelDirectLineSpeechArrayOutput values. You can construct a concrete instance of `ChannelDirectLineSpeechArrayInput` via:
ChannelDirectLineSpeechArray{ ChannelDirectLineSpeechArgs{...} }
type ChannelDirectLineSpeechArrayOutput ¶ added in v4.13.0
type ChannelDirectLineSpeechArrayOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSpeechArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechArrayOutput) ElementType() reflect.Type
func (ChannelDirectLineSpeechArrayOutput) Index ¶ added in v4.13.0
func (o ChannelDirectLineSpeechArrayOutput) Index(i pulumi.IntInput) ChannelDirectLineSpeechOutput
func (ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutput ¶ added in v4.13.0
func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutput() ChannelDirectLineSpeechArrayOutput
func (ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelDirectLineSpeechArrayOutput) ToChannelDirectLineSpeechArrayOutputWithContext(ctx context.Context) ChannelDirectLineSpeechArrayOutput
type ChannelDirectLineSpeechInput ¶ added in v4.13.0
type ChannelDirectLineSpeechInput interface { pulumi.Input ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput }
type ChannelDirectLineSpeechMap ¶ added in v4.13.0
type ChannelDirectLineSpeechMap map[string]ChannelDirectLineSpeechInput
func (ChannelDirectLineSpeechMap) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechMap) ElementType() reflect.Type
func (ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutput ¶ added in v4.13.0
func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput
func (ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutputWithContext ¶ added in v4.13.0
func (i ChannelDirectLineSpeechMap) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput
type ChannelDirectLineSpeechMapInput ¶ added in v4.13.0
type ChannelDirectLineSpeechMapInput interface { pulumi.Input ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput ToChannelDirectLineSpeechMapOutputWithContext(context.Context) ChannelDirectLineSpeechMapOutput }
ChannelDirectLineSpeechMapInput is an input type that accepts ChannelDirectLineSpeechMap and ChannelDirectLineSpeechMapOutput values. You can construct a concrete instance of `ChannelDirectLineSpeechMapInput` via:
ChannelDirectLineSpeechMap{ "key": ChannelDirectLineSpeechArgs{...} }
type ChannelDirectLineSpeechMapOutput ¶ added in v4.13.0
type ChannelDirectLineSpeechMapOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSpeechMapOutput) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechMapOutput) ElementType() reflect.Type
func (ChannelDirectLineSpeechMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelDirectLineSpeechMapOutput) MapIndex(k pulumi.StringInput) ChannelDirectLineSpeechOutput
func (ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutput ¶ added in v4.13.0
func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutput() ChannelDirectLineSpeechMapOutput
func (ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutputWithContext ¶ added in v4.13.0
func (o ChannelDirectLineSpeechMapOutput) ToChannelDirectLineSpeechMapOutputWithContext(ctx context.Context) ChannelDirectLineSpeechMapOutput
type ChannelDirectLineSpeechOutput ¶ added in v4.13.0
type ChannelDirectLineSpeechOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSpeechOutput) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechOutput) ElementType() reflect.Type
func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutput ¶ added in v4.13.0
func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutput() ChannelDirectLineSpeechOutput
func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutputWithContext ¶ added in v4.13.0
func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechOutputWithContext(ctx context.Context) ChannelDirectLineSpeechOutput
func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutput ¶ added in v4.13.0
func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
func (ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelDirectLineSpeechOutput) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
type ChannelDirectLineSpeechPtrInput ¶ added in v4.13.0
type ChannelDirectLineSpeechPtrInput interface { pulumi.Input ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput }
type ChannelDirectLineSpeechPtrOutput ¶ added in v4.13.0
type ChannelDirectLineSpeechPtrOutput struct{ *pulumi.OutputState }
func (ChannelDirectLineSpeechPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelDirectLineSpeechPtrOutput) Elem() ChannelDirectLineSpeechOutput
func (ChannelDirectLineSpeechPtrOutput) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechPtrOutput) ElementType() reflect.Type
func (ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutput ¶ added in v4.13.0
func (o ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutput() ChannelDirectLineSpeechPtrOutput
func (ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelDirectLineSpeechPtrOutput) ToChannelDirectLineSpeechPtrOutputWithContext(ctx context.Context) ChannelDirectLineSpeechPtrOutput
type ChannelDirectLineSpeechState ¶ added in v4.13.0
type ChannelDirectLineSpeechState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The access key to access the Cognitive Service. CognitiveServiceAccessKey pulumi.StringPtrInput // Specifies the supported Azure location where the Cognitive Service resource exists. CognitiveServiceLocation pulumi.StringPtrInput // The custom speech model id for the Direct Line Speech Channel. CustomSpeechModelId pulumi.StringPtrInput // The custom voice deployment id for the Direct Line Speech Channel. CustomVoiceDeploymentId pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Direct Line Speech Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (ChannelDirectLineSpeechState) ElementType ¶ added in v4.13.0
func (ChannelDirectLineSpeechState) ElementType() reflect.Type
type ChannelDirectLineState ¶
type ChannelDirectLineState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A site represents a client application that you want to connect to your bot. Multiple `site` blocks may be defined as below Sites ChannelDirectLineSiteArrayInput }
func (ChannelDirectLineState) ElementType ¶
func (ChannelDirectLineState) ElementType() reflect.Type
type ChannelEmail ¶
type ChannelEmail struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The email address that the Bot will authenticate with. EmailAddress pulumi.StringOutput `pulumi:"emailAddress"` // The email password that the Bot will authenticate with. EmailPassword pulumi.StringOutput `pulumi:"emailPassword"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Email integration for a Bot Channel
> **Note** A bot can only have a single Email Channel associated with it.
## Import
The Email Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelEmail:ChannelEmail example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/EmailChannel
```
func GetChannelEmail ¶
func GetChannelEmail(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelEmailState, opts ...pulumi.ResourceOption) (*ChannelEmail, error)
GetChannelEmail gets an existing ChannelEmail resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelEmail ¶
func NewChannelEmail(ctx *pulumi.Context, name string, args *ChannelEmailArgs, opts ...pulumi.ResourceOption) (*ChannelEmail, error)
NewChannelEmail registers a new resource with the given unique name, arguments, and options.
func (*ChannelEmail) ElementType ¶
func (*ChannelEmail) ElementType() reflect.Type
func (*ChannelEmail) ToChannelEmailOutput ¶
func (i *ChannelEmail) ToChannelEmailOutput() ChannelEmailOutput
func (*ChannelEmail) ToChannelEmailOutputWithContext ¶
func (i *ChannelEmail) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput
func (*ChannelEmail) ToChannelEmailPtrOutput ¶
func (i *ChannelEmail) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
func (*ChannelEmail) ToChannelEmailPtrOutputWithContext ¶
func (i *ChannelEmail) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
type ChannelEmailArgs ¶
type ChannelEmailArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The email address that the Bot will authenticate with. EmailAddress pulumi.StringInput // The email password that the Bot will authenticate with. EmailPassword pulumi.StringInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ChannelEmail resource.
func (ChannelEmailArgs) ElementType ¶
func (ChannelEmailArgs) ElementType() reflect.Type
type ChannelEmailArray ¶
type ChannelEmailArray []ChannelEmailInput
func (ChannelEmailArray) ElementType ¶
func (ChannelEmailArray) ElementType() reflect.Type
func (ChannelEmailArray) ToChannelEmailArrayOutput ¶
func (i ChannelEmailArray) ToChannelEmailArrayOutput() ChannelEmailArrayOutput
func (ChannelEmailArray) ToChannelEmailArrayOutputWithContext ¶
func (i ChannelEmailArray) ToChannelEmailArrayOutputWithContext(ctx context.Context) ChannelEmailArrayOutput
type ChannelEmailArrayInput ¶
type ChannelEmailArrayInput interface { pulumi.Input ToChannelEmailArrayOutput() ChannelEmailArrayOutput ToChannelEmailArrayOutputWithContext(context.Context) ChannelEmailArrayOutput }
ChannelEmailArrayInput is an input type that accepts ChannelEmailArray and ChannelEmailArrayOutput values. You can construct a concrete instance of `ChannelEmailArrayInput` via:
ChannelEmailArray{ ChannelEmailArgs{...} }
type ChannelEmailArrayOutput ¶
type ChannelEmailArrayOutput struct{ *pulumi.OutputState }
func (ChannelEmailArrayOutput) ElementType ¶
func (ChannelEmailArrayOutput) ElementType() reflect.Type
func (ChannelEmailArrayOutput) Index ¶
func (o ChannelEmailArrayOutput) Index(i pulumi.IntInput) ChannelEmailOutput
func (ChannelEmailArrayOutput) ToChannelEmailArrayOutput ¶
func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutput() ChannelEmailArrayOutput
func (ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext ¶
func (o ChannelEmailArrayOutput) ToChannelEmailArrayOutputWithContext(ctx context.Context) ChannelEmailArrayOutput
type ChannelEmailInput ¶
type ChannelEmailInput interface { pulumi.Input ToChannelEmailOutput() ChannelEmailOutput ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput }
type ChannelEmailMap ¶
type ChannelEmailMap map[string]ChannelEmailInput
func (ChannelEmailMap) ElementType ¶
func (ChannelEmailMap) ElementType() reflect.Type
func (ChannelEmailMap) ToChannelEmailMapOutput ¶
func (i ChannelEmailMap) ToChannelEmailMapOutput() ChannelEmailMapOutput
func (ChannelEmailMap) ToChannelEmailMapOutputWithContext ¶
func (i ChannelEmailMap) ToChannelEmailMapOutputWithContext(ctx context.Context) ChannelEmailMapOutput
type ChannelEmailMapInput ¶
type ChannelEmailMapInput interface { pulumi.Input ToChannelEmailMapOutput() ChannelEmailMapOutput ToChannelEmailMapOutputWithContext(context.Context) ChannelEmailMapOutput }
ChannelEmailMapInput is an input type that accepts ChannelEmailMap and ChannelEmailMapOutput values. You can construct a concrete instance of `ChannelEmailMapInput` via:
ChannelEmailMap{ "key": ChannelEmailArgs{...} }
type ChannelEmailMapOutput ¶
type ChannelEmailMapOutput struct{ *pulumi.OutputState }
func (ChannelEmailMapOutput) ElementType ¶
func (ChannelEmailMapOutput) ElementType() reflect.Type
func (ChannelEmailMapOutput) MapIndex ¶
func (o ChannelEmailMapOutput) MapIndex(k pulumi.StringInput) ChannelEmailOutput
func (ChannelEmailMapOutput) ToChannelEmailMapOutput ¶
func (o ChannelEmailMapOutput) ToChannelEmailMapOutput() ChannelEmailMapOutput
func (ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext ¶
func (o ChannelEmailMapOutput) ToChannelEmailMapOutputWithContext(ctx context.Context) ChannelEmailMapOutput
type ChannelEmailOutput ¶
type ChannelEmailOutput struct{ *pulumi.OutputState }
func (ChannelEmailOutput) ElementType ¶
func (ChannelEmailOutput) ElementType() reflect.Type
func (ChannelEmailOutput) ToChannelEmailOutput ¶
func (o ChannelEmailOutput) ToChannelEmailOutput() ChannelEmailOutput
func (ChannelEmailOutput) ToChannelEmailOutputWithContext ¶
func (o ChannelEmailOutput) ToChannelEmailOutputWithContext(ctx context.Context) ChannelEmailOutput
func (ChannelEmailOutput) ToChannelEmailPtrOutput ¶
func (o ChannelEmailOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
func (ChannelEmailOutput) ToChannelEmailPtrOutputWithContext ¶
func (o ChannelEmailOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
type ChannelEmailPtrInput ¶
type ChannelEmailPtrInput interface { pulumi.Input ToChannelEmailPtrOutput() ChannelEmailPtrOutput ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput }
type ChannelEmailPtrOutput ¶
type ChannelEmailPtrOutput struct{ *pulumi.OutputState }
func (ChannelEmailPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelEmailPtrOutput) Elem() ChannelEmailOutput
func (ChannelEmailPtrOutput) ElementType ¶
func (ChannelEmailPtrOutput) ElementType() reflect.Type
func (ChannelEmailPtrOutput) ToChannelEmailPtrOutput ¶
func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutput() ChannelEmailPtrOutput
func (ChannelEmailPtrOutput) ToChannelEmailPtrOutputWithContext ¶
func (o ChannelEmailPtrOutput) ToChannelEmailPtrOutputWithContext(ctx context.Context) ChannelEmailPtrOutput
type ChannelEmailState ¶
type ChannelEmailState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The email address that the Bot will authenticate with. EmailAddress pulumi.StringPtrInput // The email password that the Bot will authenticate with. EmailPassword pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (ChannelEmailState) ElementType ¶
func (ChannelEmailState) ElementType() reflect.Type
type ChannelFacebook ¶ added in v4.13.0
type ChannelFacebook struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The Facebook Application ID for the Facebook Channel. FacebookApplicationId pulumi.StringOutput `pulumi:"facebookApplicationId"` // The Facebook Application Secret for the Facebook Channel. FacebookApplicationSecret pulumi.StringOutput `pulumi:"facebookApplicationSecret"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // One or more `page` blocks as defined below. Pages ChannelFacebookPageArrayOutput `pulumi:"pages"` // The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Facebook integration for a Bot Channel
> **Note** A bot can only have a single Facebook Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelFacebook(ctx, "exampleChannelFacebook", &bot.ChannelFacebookArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, FacebookApplicationId: pulumi.String("563490254873576"), FacebookApplicationSecret: pulumi.String("8976d2536445ad5b976dee8437b9beb0"), Pages: bot.ChannelFacebookPageArray{ &bot.ChannelFacebookPageArgs{ Id: pulumi.String("876248795081953"), AccessToken: pulumi.String("CGGCec3UAFPMBAKwK3Ft8SEpO8ZCuvpNBI5DClaJCDfqJj2BgEHCKxcY0FDarmUQap6XxpZC9GWCW4nZCzjcKosAZAP7SO44X8Q8gAntbDIXgYUBGp9xtS8wUkwgKPobUePcOOVFkvClxvYZByuiQxoTiK9fQ9jZCPEorbmZCsKDZAx4VLnrNwCTZAPUwXxO61gfq4ZD"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
The Facebook Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelFacebook:ChannelFacebook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/FacebookChannel
```
func GetChannelFacebook ¶ added in v4.13.0
func GetChannelFacebook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelFacebookState, opts ...pulumi.ResourceOption) (*ChannelFacebook, error)
GetChannelFacebook gets an existing ChannelFacebook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelFacebook ¶ added in v4.13.0
func NewChannelFacebook(ctx *pulumi.Context, name string, args *ChannelFacebookArgs, opts ...pulumi.ResourceOption) (*ChannelFacebook, error)
NewChannelFacebook registers a new resource with the given unique name, arguments, and options.
func (*ChannelFacebook) ElementType ¶ added in v4.13.0
func (*ChannelFacebook) ElementType() reflect.Type
func (*ChannelFacebook) ToChannelFacebookOutput ¶ added in v4.13.0
func (i *ChannelFacebook) ToChannelFacebookOutput() ChannelFacebookOutput
func (*ChannelFacebook) ToChannelFacebookOutputWithContext ¶ added in v4.13.0
func (i *ChannelFacebook) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput
func (*ChannelFacebook) ToChannelFacebookPtrOutput ¶ added in v4.13.0
func (i *ChannelFacebook) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
func (*ChannelFacebook) ToChannelFacebookPtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelFacebook) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
type ChannelFacebookArgs ¶ added in v4.13.0
type ChannelFacebookArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The Facebook Application ID for the Facebook Channel. FacebookApplicationId pulumi.StringInput // The Facebook Application Secret for the Facebook Channel. FacebookApplicationSecret pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // One or more `page` blocks as defined below. Pages ChannelFacebookPageArrayInput // The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ChannelFacebook resource.
func (ChannelFacebookArgs) ElementType ¶ added in v4.13.0
func (ChannelFacebookArgs) ElementType() reflect.Type
type ChannelFacebookArray ¶ added in v4.13.0
type ChannelFacebookArray []ChannelFacebookInput
func (ChannelFacebookArray) ElementType ¶ added in v4.13.0
func (ChannelFacebookArray) ElementType() reflect.Type
func (ChannelFacebookArray) ToChannelFacebookArrayOutput ¶ added in v4.13.0
func (i ChannelFacebookArray) ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput
func (ChannelFacebookArray) ToChannelFacebookArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelFacebookArray) ToChannelFacebookArrayOutputWithContext(ctx context.Context) ChannelFacebookArrayOutput
type ChannelFacebookArrayInput ¶ added in v4.13.0
type ChannelFacebookArrayInput interface { pulumi.Input ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput ToChannelFacebookArrayOutputWithContext(context.Context) ChannelFacebookArrayOutput }
ChannelFacebookArrayInput is an input type that accepts ChannelFacebookArray and ChannelFacebookArrayOutput values. You can construct a concrete instance of `ChannelFacebookArrayInput` via:
ChannelFacebookArray{ ChannelFacebookArgs{...} }
type ChannelFacebookArrayOutput ¶ added in v4.13.0
type ChannelFacebookArrayOutput struct{ *pulumi.OutputState }
func (ChannelFacebookArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookArrayOutput) ElementType() reflect.Type
func (ChannelFacebookArrayOutput) Index ¶ added in v4.13.0
func (o ChannelFacebookArrayOutput) Index(i pulumi.IntInput) ChannelFacebookOutput
func (ChannelFacebookArrayOutput) ToChannelFacebookArrayOutput ¶ added in v4.13.0
func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutput() ChannelFacebookArrayOutput
func (ChannelFacebookArrayOutput) ToChannelFacebookArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookArrayOutput) ToChannelFacebookArrayOutputWithContext(ctx context.Context) ChannelFacebookArrayOutput
type ChannelFacebookInput ¶ added in v4.13.0
type ChannelFacebookInput interface { pulumi.Input ToChannelFacebookOutput() ChannelFacebookOutput ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput }
type ChannelFacebookMap ¶ added in v4.13.0
type ChannelFacebookMap map[string]ChannelFacebookInput
func (ChannelFacebookMap) ElementType ¶ added in v4.13.0
func (ChannelFacebookMap) ElementType() reflect.Type
func (ChannelFacebookMap) ToChannelFacebookMapOutput ¶ added in v4.13.0
func (i ChannelFacebookMap) ToChannelFacebookMapOutput() ChannelFacebookMapOutput
func (ChannelFacebookMap) ToChannelFacebookMapOutputWithContext ¶ added in v4.13.0
func (i ChannelFacebookMap) ToChannelFacebookMapOutputWithContext(ctx context.Context) ChannelFacebookMapOutput
type ChannelFacebookMapInput ¶ added in v4.13.0
type ChannelFacebookMapInput interface { pulumi.Input ToChannelFacebookMapOutput() ChannelFacebookMapOutput ToChannelFacebookMapOutputWithContext(context.Context) ChannelFacebookMapOutput }
ChannelFacebookMapInput is an input type that accepts ChannelFacebookMap and ChannelFacebookMapOutput values. You can construct a concrete instance of `ChannelFacebookMapInput` via:
ChannelFacebookMap{ "key": ChannelFacebookArgs{...} }
type ChannelFacebookMapOutput ¶ added in v4.13.0
type ChannelFacebookMapOutput struct{ *pulumi.OutputState }
func (ChannelFacebookMapOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookMapOutput) ElementType() reflect.Type
func (ChannelFacebookMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelFacebookMapOutput) MapIndex(k pulumi.StringInput) ChannelFacebookOutput
func (ChannelFacebookMapOutput) ToChannelFacebookMapOutput ¶ added in v4.13.0
func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutput() ChannelFacebookMapOutput
func (ChannelFacebookMapOutput) ToChannelFacebookMapOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookMapOutput) ToChannelFacebookMapOutputWithContext(ctx context.Context) ChannelFacebookMapOutput
type ChannelFacebookOutput ¶ added in v4.13.0
type ChannelFacebookOutput struct{ *pulumi.OutputState }
func (ChannelFacebookOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookOutput) ElementType() reflect.Type
func (ChannelFacebookOutput) ToChannelFacebookOutput ¶ added in v4.13.0
func (o ChannelFacebookOutput) ToChannelFacebookOutput() ChannelFacebookOutput
func (ChannelFacebookOutput) ToChannelFacebookOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookOutput) ToChannelFacebookOutputWithContext(ctx context.Context) ChannelFacebookOutput
func (ChannelFacebookOutput) ToChannelFacebookPtrOutput ¶ added in v4.13.0
func (o ChannelFacebookOutput) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
func (ChannelFacebookOutput) ToChannelFacebookPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookOutput) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
type ChannelFacebookPage ¶ added in v4.13.0
type ChannelFacebookPageArgs ¶ added in v4.13.0
type ChannelFacebookPageArgs struct { // The Facebook Page Access Token for the Facebook Channel. AccessToken pulumi.StringInput `pulumi:"accessToken"` // The Facebook Page ID for the Facebook Channel. Id pulumi.StringInput `pulumi:"id"` }
func (ChannelFacebookPageArgs) ElementType ¶ added in v4.13.0
func (ChannelFacebookPageArgs) ElementType() reflect.Type
func (ChannelFacebookPageArgs) ToChannelFacebookPageOutput ¶ added in v4.13.0
func (i ChannelFacebookPageArgs) ToChannelFacebookPageOutput() ChannelFacebookPageOutput
func (ChannelFacebookPageArgs) ToChannelFacebookPageOutputWithContext ¶ added in v4.13.0
func (i ChannelFacebookPageArgs) ToChannelFacebookPageOutputWithContext(ctx context.Context) ChannelFacebookPageOutput
type ChannelFacebookPageArray ¶ added in v4.13.0
type ChannelFacebookPageArray []ChannelFacebookPageInput
func (ChannelFacebookPageArray) ElementType ¶ added in v4.13.0
func (ChannelFacebookPageArray) ElementType() reflect.Type
func (ChannelFacebookPageArray) ToChannelFacebookPageArrayOutput ¶ added in v4.13.0
func (i ChannelFacebookPageArray) ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput
func (ChannelFacebookPageArray) ToChannelFacebookPageArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelFacebookPageArray) ToChannelFacebookPageArrayOutputWithContext(ctx context.Context) ChannelFacebookPageArrayOutput
type ChannelFacebookPageArrayInput ¶ added in v4.13.0
type ChannelFacebookPageArrayInput interface { pulumi.Input ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput ToChannelFacebookPageArrayOutputWithContext(context.Context) ChannelFacebookPageArrayOutput }
ChannelFacebookPageArrayInput is an input type that accepts ChannelFacebookPageArray and ChannelFacebookPageArrayOutput values. You can construct a concrete instance of `ChannelFacebookPageArrayInput` via:
ChannelFacebookPageArray{ ChannelFacebookPageArgs{...} }
type ChannelFacebookPageArrayOutput ¶ added in v4.13.0
type ChannelFacebookPageArrayOutput struct{ *pulumi.OutputState }
func (ChannelFacebookPageArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookPageArrayOutput) ElementType() reflect.Type
func (ChannelFacebookPageArrayOutput) Index ¶ added in v4.13.0
func (o ChannelFacebookPageArrayOutput) Index(i pulumi.IntInput) ChannelFacebookPageOutput
func (ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutput ¶ added in v4.13.0
func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutput() ChannelFacebookPageArrayOutput
func (ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookPageArrayOutput) ToChannelFacebookPageArrayOutputWithContext(ctx context.Context) ChannelFacebookPageArrayOutput
type ChannelFacebookPageInput ¶ added in v4.13.0
type ChannelFacebookPageInput interface { pulumi.Input ToChannelFacebookPageOutput() ChannelFacebookPageOutput ToChannelFacebookPageOutputWithContext(context.Context) ChannelFacebookPageOutput }
ChannelFacebookPageInput is an input type that accepts ChannelFacebookPageArgs and ChannelFacebookPageOutput values. You can construct a concrete instance of `ChannelFacebookPageInput` via:
ChannelFacebookPageArgs{...}
type ChannelFacebookPageOutput ¶ added in v4.13.0
type ChannelFacebookPageOutput struct{ *pulumi.OutputState }
func (ChannelFacebookPageOutput) AccessToken ¶ added in v4.13.0
func (o ChannelFacebookPageOutput) AccessToken() pulumi.StringOutput
The Facebook Page Access Token for the Facebook Channel.
func (ChannelFacebookPageOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookPageOutput) ElementType() reflect.Type
func (ChannelFacebookPageOutput) Id ¶ added in v4.13.0
func (o ChannelFacebookPageOutput) Id() pulumi.StringOutput
The Facebook Page ID for the Facebook Channel.
func (ChannelFacebookPageOutput) ToChannelFacebookPageOutput ¶ added in v4.13.0
func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutput() ChannelFacebookPageOutput
func (ChannelFacebookPageOutput) ToChannelFacebookPageOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookPageOutput) ToChannelFacebookPageOutputWithContext(ctx context.Context) ChannelFacebookPageOutput
type ChannelFacebookPtrInput ¶ added in v4.13.0
type ChannelFacebookPtrInput interface { pulumi.Input ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput }
type ChannelFacebookPtrOutput ¶ added in v4.13.0
type ChannelFacebookPtrOutput struct{ *pulumi.OutputState }
func (ChannelFacebookPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelFacebookPtrOutput) Elem() ChannelFacebookOutput
func (ChannelFacebookPtrOutput) ElementType ¶ added in v4.13.0
func (ChannelFacebookPtrOutput) ElementType() reflect.Type
func (ChannelFacebookPtrOutput) ToChannelFacebookPtrOutput ¶ added in v4.13.0
func (o ChannelFacebookPtrOutput) ToChannelFacebookPtrOutput() ChannelFacebookPtrOutput
func (ChannelFacebookPtrOutput) ToChannelFacebookPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelFacebookPtrOutput) ToChannelFacebookPtrOutputWithContext(ctx context.Context) ChannelFacebookPtrOutput
type ChannelFacebookState ¶ added in v4.13.0
type ChannelFacebookState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The Facebook Application ID for the Facebook Channel. FacebookApplicationId pulumi.StringPtrInput // The Facebook Application Secret for the Facebook Channel. FacebookApplicationSecret pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // One or more `page` blocks as defined below. Pages ChannelFacebookPageArrayInput // The name of the resource group where the Facebook Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (ChannelFacebookState) ElementType ¶ added in v4.13.0
func (ChannelFacebookState) ElementType() reflect.Type
type ChannelLine ¶ added in v4.13.0
type ChannelLine struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // One or more `lineChannel` blocks as defined below. LineChannels ChannelLineLineChannelArrayOutput `pulumi:"lineChannels"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Line integration for a Bot Channel
> **Note** A bot can only have a single Line Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelLine(ctx, "exampleChannelLine", &bot.ChannelLineArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, LineChannels: bot.ChannelLineLineChannelArray{ &bot.ChannelLineLineChannelArgs{ AccessToken: pulumi.String("asdfdsdfTYUIOIoj1231hkjhk"), Secret: pulumi.String("aagfdgfd123567"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
The Line Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelLine:ChannelLine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/LineChannel
```
func GetChannelLine ¶ added in v4.13.0
func GetChannelLine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelLineState, opts ...pulumi.ResourceOption) (*ChannelLine, error)
GetChannelLine gets an existing ChannelLine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelLine ¶ added in v4.13.0
func NewChannelLine(ctx *pulumi.Context, name string, args *ChannelLineArgs, opts ...pulumi.ResourceOption) (*ChannelLine, error)
NewChannelLine registers a new resource with the given unique name, arguments, and options.
func (*ChannelLine) ElementType ¶ added in v4.13.0
func (*ChannelLine) ElementType() reflect.Type
func (*ChannelLine) ToChannelLineOutput ¶ added in v4.13.0
func (i *ChannelLine) ToChannelLineOutput() ChannelLineOutput
func (*ChannelLine) ToChannelLineOutputWithContext ¶ added in v4.13.0
func (i *ChannelLine) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput
func (*ChannelLine) ToChannelLinePtrOutput ¶ added in v4.13.0
func (i *ChannelLine) ToChannelLinePtrOutput() ChannelLinePtrOutput
func (*ChannelLine) ToChannelLinePtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelLine) ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput
type ChannelLineArgs ¶ added in v4.13.0
type ChannelLineArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // One or more `lineChannel` blocks as defined below. LineChannels ChannelLineLineChannelArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ChannelLine resource.
func (ChannelLineArgs) ElementType ¶ added in v4.13.0
func (ChannelLineArgs) ElementType() reflect.Type
type ChannelLineArray ¶ added in v4.13.0
type ChannelLineArray []ChannelLineInput
func (ChannelLineArray) ElementType ¶ added in v4.13.0
func (ChannelLineArray) ElementType() reflect.Type
func (ChannelLineArray) ToChannelLineArrayOutput ¶ added in v4.13.0
func (i ChannelLineArray) ToChannelLineArrayOutput() ChannelLineArrayOutput
func (ChannelLineArray) ToChannelLineArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelLineArray) ToChannelLineArrayOutputWithContext(ctx context.Context) ChannelLineArrayOutput
type ChannelLineArrayInput ¶ added in v4.13.0
type ChannelLineArrayInput interface { pulumi.Input ToChannelLineArrayOutput() ChannelLineArrayOutput ToChannelLineArrayOutputWithContext(context.Context) ChannelLineArrayOutput }
ChannelLineArrayInput is an input type that accepts ChannelLineArray and ChannelLineArrayOutput values. You can construct a concrete instance of `ChannelLineArrayInput` via:
ChannelLineArray{ ChannelLineArgs{...} }
type ChannelLineArrayOutput ¶ added in v4.13.0
type ChannelLineArrayOutput struct{ *pulumi.OutputState }
func (ChannelLineArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelLineArrayOutput) ElementType() reflect.Type
func (ChannelLineArrayOutput) Index ¶ added in v4.13.0
func (o ChannelLineArrayOutput) Index(i pulumi.IntInput) ChannelLineOutput
func (ChannelLineArrayOutput) ToChannelLineArrayOutput ¶ added in v4.13.0
func (o ChannelLineArrayOutput) ToChannelLineArrayOutput() ChannelLineArrayOutput
func (ChannelLineArrayOutput) ToChannelLineArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelLineArrayOutput) ToChannelLineArrayOutputWithContext(ctx context.Context) ChannelLineArrayOutput
type ChannelLineInput ¶ added in v4.13.0
type ChannelLineInput interface { pulumi.Input ToChannelLineOutput() ChannelLineOutput ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput }
type ChannelLineLineChannel ¶ added in v4.13.0
type ChannelLineLineChannelArgs ¶ added in v4.13.0
type ChannelLineLineChannelArgs struct { // The access token which is used to call the Line Channel API. AccessToken pulumi.StringInput `pulumi:"accessToken"` // The secret which is used to access the Line Channel. Secret pulumi.StringInput `pulumi:"secret"` }
func (ChannelLineLineChannelArgs) ElementType ¶ added in v4.13.0
func (ChannelLineLineChannelArgs) ElementType() reflect.Type
func (ChannelLineLineChannelArgs) ToChannelLineLineChannelOutput ¶ added in v4.13.0
func (i ChannelLineLineChannelArgs) ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput
func (ChannelLineLineChannelArgs) ToChannelLineLineChannelOutputWithContext ¶ added in v4.13.0
func (i ChannelLineLineChannelArgs) ToChannelLineLineChannelOutputWithContext(ctx context.Context) ChannelLineLineChannelOutput
type ChannelLineLineChannelArray ¶ added in v4.13.0
type ChannelLineLineChannelArray []ChannelLineLineChannelInput
func (ChannelLineLineChannelArray) ElementType ¶ added in v4.13.0
func (ChannelLineLineChannelArray) ElementType() reflect.Type
func (ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutput ¶ added in v4.13.0
func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput
func (ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelLineLineChannelArray) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput
type ChannelLineLineChannelArrayInput ¶ added in v4.13.0
type ChannelLineLineChannelArrayInput interface { pulumi.Input ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput ToChannelLineLineChannelArrayOutputWithContext(context.Context) ChannelLineLineChannelArrayOutput }
ChannelLineLineChannelArrayInput is an input type that accepts ChannelLineLineChannelArray and ChannelLineLineChannelArrayOutput values. You can construct a concrete instance of `ChannelLineLineChannelArrayInput` via:
ChannelLineLineChannelArray{ ChannelLineLineChannelArgs{...} }
type ChannelLineLineChannelArrayOutput ¶ added in v4.13.0
type ChannelLineLineChannelArrayOutput struct{ *pulumi.OutputState }
func (ChannelLineLineChannelArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelLineLineChannelArrayOutput) ElementType() reflect.Type
func (ChannelLineLineChannelArrayOutput) Index ¶ added in v4.13.0
func (o ChannelLineLineChannelArrayOutput) Index(i pulumi.IntInput) ChannelLineLineChannelOutput
func (ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutput ¶ added in v4.13.0
func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutput() ChannelLineLineChannelArrayOutput
func (ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelLineLineChannelArrayOutput) ToChannelLineLineChannelArrayOutputWithContext(ctx context.Context) ChannelLineLineChannelArrayOutput
type ChannelLineLineChannelInput ¶ added in v4.13.0
type ChannelLineLineChannelInput interface { pulumi.Input ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput ToChannelLineLineChannelOutputWithContext(context.Context) ChannelLineLineChannelOutput }
ChannelLineLineChannelInput is an input type that accepts ChannelLineLineChannelArgs and ChannelLineLineChannelOutput values. You can construct a concrete instance of `ChannelLineLineChannelInput` via:
ChannelLineLineChannelArgs{...}
type ChannelLineLineChannelOutput ¶ added in v4.13.0
type ChannelLineLineChannelOutput struct{ *pulumi.OutputState }
func (ChannelLineLineChannelOutput) AccessToken ¶ added in v4.13.0
func (o ChannelLineLineChannelOutput) AccessToken() pulumi.StringOutput
The access token which is used to call the Line Channel API.
func (ChannelLineLineChannelOutput) ElementType ¶ added in v4.13.0
func (ChannelLineLineChannelOutput) ElementType() reflect.Type
func (ChannelLineLineChannelOutput) Secret ¶ added in v4.13.0
func (o ChannelLineLineChannelOutput) Secret() pulumi.StringOutput
The secret which is used to access the Line Channel.
func (ChannelLineLineChannelOutput) ToChannelLineLineChannelOutput ¶ added in v4.13.0
func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutput() ChannelLineLineChannelOutput
func (ChannelLineLineChannelOutput) ToChannelLineLineChannelOutputWithContext ¶ added in v4.13.0
func (o ChannelLineLineChannelOutput) ToChannelLineLineChannelOutputWithContext(ctx context.Context) ChannelLineLineChannelOutput
type ChannelLineMap ¶ added in v4.13.0
type ChannelLineMap map[string]ChannelLineInput
func (ChannelLineMap) ElementType ¶ added in v4.13.0
func (ChannelLineMap) ElementType() reflect.Type
func (ChannelLineMap) ToChannelLineMapOutput ¶ added in v4.13.0
func (i ChannelLineMap) ToChannelLineMapOutput() ChannelLineMapOutput
func (ChannelLineMap) ToChannelLineMapOutputWithContext ¶ added in v4.13.0
func (i ChannelLineMap) ToChannelLineMapOutputWithContext(ctx context.Context) ChannelLineMapOutput
type ChannelLineMapInput ¶ added in v4.13.0
type ChannelLineMapInput interface { pulumi.Input ToChannelLineMapOutput() ChannelLineMapOutput ToChannelLineMapOutputWithContext(context.Context) ChannelLineMapOutput }
ChannelLineMapInput is an input type that accepts ChannelLineMap and ChannelLineMapOutput values. You can construct a concrete instance of `ChannelLineMapInput` via:
ChannelLineMap{ "key": ChannelLineArgs{...} }
type ChannelLineMapOutput ¶ added in v4.13.0
type ChannelLineMapOutput struct{ *pulumi.OutputState }
func (ChannelLineMapOutput) ElementType ¶ added in v4.13.0
func (ChannelLineMapOutput) ElementType() reflect.Type
func (ChannelLineMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelLineMapOutput) MapIndex(k pulumi.StringInput) ChannelLineOutput
func (ChannelLineMapOutput) ToChannelLineMapOutput ¶ added in v4.13.0
func (o ChannelLineMapOutput) ToChannelLineMapOutput() ChannelLineMapOutput
func (ChannelLineMapOutput) ToChannelLineMapOutputWithContext ¶ added in v4.13.0
func (o ChannelLineMapOutput) ToChannelLineMapOutputWithContext(ctx context.Context) ChannelLineMapOutput
type ChannelLineOutput ¶ added in v4.13.0
type ChannelLineOutput struct{ *pulumi.OutputState }
func (ChannelLineOutput) ElementType ¶ added in v4.13.0
func (ChannelLineOutput) ElementType() reflect.Type
func (ChannelLineOutput) ToChannelLineOutput ¶ added in v4.13.0
func (o ChannelLineOutput) ToChannelLineOutput() ChannelLineOutput
func (ChannelLineOutput) ToChannelLineOutputWithContext ¶ added in v4.13.0
func (o ChannelLineOutput) ToChannelLineOutputWithContext(ctx context.Context) ChannelLineOutput
func (ChannelLineOutput) ToChannelLinePtrOutput ¶ added in v4.13.0
func (o ChannelLineOutput) ToChannelLinePtrOutput() ChannelLinePtrOutput
func (ChannelLineOutput) ToChannelLinePtrOutputWithContext ¶ added in v4.13.0
func (o ChannelLineOutput) ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput
type ChannelLinePtrInput ¶ added in v4.13.0
type ChannelLinePtrInput interface { pulumi.Input ToChannelLinePtrOutput() ChannelLinePtrOutput ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput }
type ChannelLinePtrOutput ¶ added in v4.13.0
type ChannelLinePtrOutput struct{ *pulumi.OutputState }
func (ChannelLinePtrOutput) Elem ¶ added in v4.20.0
func (o ChannelLinePtrOutput) Elem() ChannelLineOutput
func (ChannelLinePtrOutput) ElementType ¶ added in v4.13.0
func (ChannelLinePtrOutput) ElementType() reflect.Type
func (ChannelLinePtrOutput) ToChannelLinePtrOutput ¶ added in v4.13.0
func (o ChannelLinePtrOutput) ToChannelLinePtrOutput() ChannelLinePtrOutput
func (ChannelLinePtrOutput) ToChannelLinePtrOutputWithContext ¶ added in v4.13.0
func (o ChannelLinePtrOutput) ToChannelLinePtrOutputWithContext(ctx context.Context) ChannelLinePtrOutput
type ChannelLineState ¶ added in v4.13.0
type ChannelLineState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // One or more `lineChannel` blocks as defined below. LineChannels ChannelLineLineChannelArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (ChannelLineState) ElementType ¶ added in v4.13.0
func (ChannelLineState) ElementType() reflect.Type
type ChannelSlack ¶
type ChannelSlack struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The Client ID that will be used to authenticate with Slack. ClientId pulumi.StringOutput `pulumi:"clientId"` // The Client Secret that will be used to authenticate with Slack. ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` // The Slack Landing Page URL. LandingPageUrl pulumi.StringPtrOutput `pulumi:"landingPageUrl"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Signing Secret that will be used to sign the requests. SigningSecret pulumi.StringPtrOutput `pulumi:"signingSecret"` // The Verification Token that will be used to authenticate with Slack. VerificationToken pulumi.StringOutput `pulumi:"verificationToken"` }
Manages a Slack integration for a Bot Channel
> **Note** A bot can only have a single Slack Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelSlack(ctx, "exampleChannelSlack", &bot.ChannelSlackArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, ClientId: pulumi.String("exampleId"), ClientSecret: pulumi.String("exampleSecret"), VerificationToken: pulumi.String("exampleVerificationToken"), }) if err != nil { return err } return nil }) }
```
## Import
The Slack Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelSlack:ChannelSlack example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/SlackChannel
```
func GetChannelSlack ¶
func GetChannelSlack(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelSlackState, opts ...pulumi.ResourceOption) (*ChannelSlack, error)
GetChannelSlack gets an existing ChannelSlack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelSlack ¶
func NewChannelSlack(ctx *pulumi.Context, name string, args *ChannelSlackArgs, opts ...pulumi.ResourceOption) (*ChannelSlack, error)
NewChannelSlack registers a new resource with the given unique name, arguments, and options.
func (*ChannelSlack) ElementType ¶
func (*ChannelSlack) ElementType() reflect.Type
func (*ChannelSlack) ToChannelSlackOutput ¶
func (i *ChannelSlack) ToChannelSlackOutput() ChannelSlackOutput
func (*ChannelSlack) ToChannelSlackOutputWithContext ¶
func (i *ChannelSlack) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput
func (*ChannelSlack) ToChannelSlackPtrOutput ¶
func (i *ChannelSlack) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
func (*ChannelSlack) ToChannelSlackPtrOutputWithContext ¶
func (i *ChannelSlack) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
type ChannelSlackArgs ¶
type ChannelSlackArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The Client ID that will be used to authenticate with Slack. ClientId pulumi.StringInput // The Client Secret that will be used to authenticate with Slack. ClientSecret pulumi.StringInput // The Slack Landing Page URL. LandingPageUrl pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Signing Secret that will be used to sign the requests. SigningSecret pulumi.StringPtrInput // The Verification Token that will be used to authenticate with Slack. VerificationToken pulumi.StringInput }
The set of arguments for constructing a ChannelSlack resource.
func (ChannelSlackArgs) ElementType ¶
func (ChannelSlackArgs) ElementType() reflect.Type
type ChannelSlackArray ¶
type ChannelSlackArray []ChannelSlackInput
func (ChannelSlackArray) ElementType ¶
func (ChannelSlackArray) ElementType() reflect.Type
func (ChannelSlackArray) ToChannelSlackArrayOutput ¶
func (i ChannelSlackArray) ToChannelSlackArrayOutput() ChannelSlackArrayOutput
func (ChannelSlackArray) ToChannelSlackArrayOutputWithContext ¶
func (i ChannelSlackArray) ToChannelSlackArrayOutputWithContext(ctx context.Context) ChannelSlackArrayOutput
type ChannelSlackArrayInput ¶
type ChannelSlackArrayInput interface { pulumi.Input ToChannelSlackArrayOutput() ChannelSlackArrayOutput ToChannelSlackArrayOutputWithContext(context.Context) ChannelSlackArrayOutput }
ChannelSlackArrayInput is an input type that accepts ChannelSlackArray and ChannelSlackArrayOutput values. You can construct a concrete instance of `ChannelSlackArrayInput` via:
ChannelSlackArray{ ChannelSlackArgs{...} }
type ChannelSlackArrayOutput ¶
type ChannelSlackArrayOutput struct{ *pulumi.OutputState }
func (ChannelSlackArrayOutput) ElementType ¶
func (ChannelSlackArrayOutput) ElementType() reflect.Type
func (ChannelSlackArrayOutput) Index ¶
func (o ChannelSlackArrayOutput) Index(i pulumi.IntInput) ChannelSlackOutput
func (ChannelSlackArrayOutput) ToChannelSlackArrayOutput ¶
func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutput() ChannelSlackArrayOutput
func (ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext ¶
func (o ChannelSlackArrayOutput) ToChannelSlackArrayOutputWithContext(ctx context.Context) ChannelSlackArrayOutput
type ChannelSlackInput ¶
type ChannelSlackInput interface { pulumi.Input ToChannelSlackOutput() ChannelSlackOutput ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput }
type ChannelSlackMap ¶
type ChannelSlackMap map[string]ChannelSlackInput
func (ChannelSlackMap) ElementType ¶
func (ChannelSlackMap) ElementType() reflect.Type
func (ChannelSlackMap) ToChannelSlackMapOutput ¶
func (i ChannelSlackMap) ToChannelSlackMapOutput() ChannelSlackMapOutput
func (ChannelSlackMap) ToChannelSlackMapOutputWithContext ¶
func (i ChannelSlackMap) ToChannelSlackMapOutputWithContext(ctx context.Context) ChannelSlackMapOutput
type ChannelSlackMapInput ¶
type ChannelSlackMapInput interface { pulumi.Input ToChannelSlackMapOutput() ChannelSlackMapOutput ToChannelSlackMapOutputWithContext(context.Context) ChannelSlackMapOutput }
ChannelSlackMapInput is an input type that accepts ChannelSlackMap and ChannelSlackMapOutput values. You can construct a concrete instance of `ChannelSlackMapInput` via:
ChannelSlackMap{ "key": ChannelSlackArgs{...} }
type ChannelSlackMapOutput ¶
type ChannelSlackMapOutput struct{ *pulumi.OutputState }
func (ChannelSlackMapOutput) ElementType ¶
func (ChannelSlackMapOutput) ElementType() reflect.Type
func (ChannelSlackMapOutput) MapIndex ¶
func (o ChannelSlackMapOutput) MapIndex(k pulumi.StringInput) ChannelSlackOutput
func (ChannelSlackMapOutput) ToChannelSlackMapOutput ¶
func (o ChannelSlackMapOutput) ToChannelSlackMapOutput() ChannelSlackMapOutput
func (ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext ¶
func (o ChannelSlackMapOutput) ToChannelSlackMapOutputWithContext(ctx context.Context) ChannelSlackMapOutput
type ChannelSlackOutput ¶
type ChannelSlackOutput struct{ *pulumi.OutputState }
func (ChannelSlackOutput) ElementType ¶
func (ChannelSlackOutput) ElementType() reflect.Type
func (ChannelSlackOutput) ToChannelSlackOutput ¶
func (o ChannelSlackOutput) ToChannelSlackOutput() ChannelSlackOutput
func (ChannelSlackOutput) ToChannelSlackOutputWithContext ¶
func (o ChannelSlackOutput) ToChannelSlackOutputWithContext(ctx context.Context) ChannelSlackOutput
func (ChannelSlackOutput) ToChannelSlackPtrOutput ¶
func (o ChannelSlackOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
func (ChannelSlackOutput) ToChannelSlackPtrOutputWithContext ¶
func (o ChannelSlackOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
type ChannelSlackPtrInput ¶
type ChannelSlackPtrInput interface { pulumi.Input ToChannelSlackPtrOutput() ChannelSlackPtrOutput ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput }
type ChannelSlackPtrOutput ¶
type ChannelSlackPtrOutput struct{ *pulumi.OutputState }
func (ChannelSlackPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelSlackPtrOutput) Elem() ChannelSlackOutput
func (ChannelSlackPtrOutput) ElementType ¶
func (ChannelSlackPtrOutput) ElementType() reflect.Type
func (ChannelSlackPtrOutput) ToChannelSlackPtrOutput ¶
func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutput() ChannelSlackPtrOutput
func (ChannelSlackPtrOutput) ToChannelSlackPtrOutputWithContext ¶
func (o ChannelSlackPtrOutput) ToChannelSlackPtrOutputWithContext(ctx context.Context) ChannelSlackPtrOutput
type ChannelSlackState ¶
type ChannelSlackState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The Client ID that will be used to authenticate with Slack. ClientId pulumi.StringPtrInput // The Client Secret that will be used to authenticate with Slack. ClientSecret pulumi.StringPtrInput // The Slack Landing Page URL. LandingPageUrl pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Signing Secret that will be used to sign the requests. SigningSecret pulumi.StringPtrInput // The Verification Token that will be used to authenticate with Slack. VerificationToken pulumi.StringPtrInput }
func (ChannelSlackState) ElementType ¶
func (ChannelSlackState) ElementType() reflect.Type
type ChannelSms ¶ added in v4.13.0
type ChannelSms struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The phone number for the SMS Channel. PhoneNumber pulumi.StringOutput `pulumi:"phoneNumber"` // The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The account security identifier (SID) for the SMS Channel. SmsChannelAccountSecurityId pulumi.StringOutput `pulumi:"smsChannelAccountSecurityId"` // The authorization token for the SMS Channel. SmsChannelAuthToken pulumi.StringOutput `pulumi:"smsChannelAuthToken"` }
Manages a SMS integration for a Bot Channel
> **Note** A bot can only have a single SMS Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelSms(ctx, "exampleChannelSms", &bot.ChannelSmsArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, SmsChannelAccountSecurityId: pulumi.String("BG61f7cf5157f439b084e98256409c2815"), SmsChannelAuthToken: pulumi.String("jh8980432610052ed4e29565c5e232f"), PhoneNumber: pulumi.String("+12313803556"), }) if err != nil { return err } return nil }) }
```
## Import
The SMS Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelSms:ChannelSms example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/SmsChannel
```
func GetChannelSms ¶ added in v4.13.0
func GetChannelSms(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelSmsState, opts ...pulumi.ResourceOption) (*ChannelSms, error)
GetChannelSms gets an existing ChannelSms resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelSms ¶ added in v4.13.0
func NewChannelSms(ctx *pulumi.Context, name string, args *ChannelSmsArgs, opts ...pulumi.ResourceOption) (*ChannelSms, error)
NewChannelSms registers a new resource with the given unique name, arguments, and options.
func (*ChannelSms) ElementType ¶ added in v4.13.0
func (*ChannelSms) ElementType() reflect.Type
func (*ChannelSms) ToChannelSmsOutput ¶ added in v4.13.0
func (i *ChannelSms) ToChannelSmsOutput() ChannelSmsOutput
func (*ChannelSms) ToChannelSmsOutputWithContext ¶ added in v4.13.0
func (i *ChannelSms) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput
func (*ChannelSms) ToChannelSmsPtrOutput ¶ added in v4.13.0
func (i *ChannelSms) ToChannelSmsPtrOutput() ChannelSmsPtrOutput
func (*ChannelSms) ToChannelSmsPtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelSms) ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput
type ChannelSmsArgs ¶ added in v4.13.0
type ChannelSmsArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The phone number for the SMS Channel. PhoneNumber pulumi.StringInput // The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The account security identifier (SID) for the SMS Channel. SmsChannelAccountSecurityId pulumi.StringInput // The authorization token for the SMS Channel. SmsChannelAuthToken pulumi.StringInput }
The set of arguments for constructing a ChannelSms resource.
func (ChannelSmsArgs) ElementType ¶ added in v4.13.0
func (ChannelSmsArgs) ElementType() reflect.Type
type ChannelSmsArray ¶ added in v4.13.0
type ChannelSmsArray []ChannelSmsInput
func (ChannelSmsArray) ElementType ¶ added in v4.13.0
func (ChannelSmsArray) ElementType() reflect.Type
func (ChannelSmsArray) ToChannelSmsArrayOutput ¶ added in v4.13.0
func (i ChannelSmsArray) ToChannelSmsArrayOutput() ChannelSmsArrayOutput
func (ChannelSmsArray) ToChannelSmsArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelSmsArray) ToChannelSmsArrayOutputWithContext(ctx context.Context) ChannelSmsArrayOutput
type ChannelSmsArrayInput ¶ added in v4.13.0
type ChannelSmsArrayInput interface { pulumi.Input ToChannelSmsArrayOutput() ChannelSmsArrayOutput ToChannelSmsArrayOutputWithContext(context.Context) ChannelSmsArrayOutput }
ChannelSmsArrayInput is an input type that accepts ChannelSmsArray and ChannelSmsArrayOutput values. You can construct a concrete instance of `ChannelSmsArrayInput` via:
ChannelSmsArray{ ChannelSmsArgs{...} }
type ChannelSmsArrayOutput ¶ added in v4.13.0
type ChannelSmsArrayOutput struct{ *pulumi.OutputState }
func (ChannelSmsArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelSmsArrayOutput) ElementType() reflect.Type
func (ChannelSmsArrayOutput) Index ¶ added in v4.13.0
func (o ChannelSmsArrayOutput) Index(i pulumi.IntInput) ChannelSmsOutput
func (ChannelSmsArrayOutput) ToChannelSmsArrayOutput ¶ added in v4.13.0
func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutput() ChannelSmsArrayOutput
func (ChannelSmsArrayOutput) ToChannelSmsArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelSmsArrayOutput) ToChannelSmsArrayOutputWithContext(ctx context.Context) ChannelSmsArrayOutput
type ChannelSmsInput ¶ added in v4.13.0
type ChannelSmsInput interface { pulumi.Input ToChannelSmsOutput() ChannelSmsOutput ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput }
type ChannelSmsMap ¶ added in v4.13.0
type ChannelSmsMap map[string]ChannelSmsInput
func (ChannelSmsMap) ElementType ¶ added in v4.13.0
func (ChannelSmsMap) ElementType() reflect.Type
func (ChannelSmsMap) ToChannelSmsMapOutput ¶ added in v4.13.0
func (i ChannelSmsMap) ToChannelSmsMapOutput() ChannelSmsMapOutput
func (ChannelSmsMap) ToChannelSmsMapOutputWithContext ¶ added in v4.13.0
func (i ChannelSmsMap) ToChannelSmsMapOutputWithContext(ctx context.Context) ChannelSmsMapOutput
type ChannelSmsMapInput ¶ added in v4.13.0
type ChannelSmsMapInput interface { pulumi.Input ToChannelSmsMapOutput() ChannelSmsMapOutput ToChannelSmsMapOutputWithContext(context.Context) ChannelSmsMapOutput }
ChannelSmsMapInput is an input type that accepts ChannelSmsMap and ChannelSmsMapOutput values. You can construct a concrete instance of `ChannelSmsMapInput` via:
ChannelSmsMap{ "key": ChannelSmsArgs{...} }
type ChannelSmsMapOutput ¶ added in v4.13.0
type ChannelSmsMapOutput struct{ *pulumi.OutputState }
func (ChannelSmsMapOutput) ElementType ¶ added in v4.13.0
func (ChannelSmsMapOutput) ElementType() reflect.Type
func (ChannelSmsMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelSmsMapOutput) MapIndex(k pulumi.StringInput) ChannelSmsOutput
func (ChannelSmsMapOutput) ToChannelSmsMapOutput ¶ added in v4.13.0
func (o ChannelSmsMapOutput) ToChannelSmsMapOutput() ChannelSmsMapOutput
func (ChannelSmsMapOutput) ToChannelSmsMapOutputWithContext ¶ added in v4.13.0
func (o ChannelSmsMapOutput) ToChannelSmsMapOutputWithContext(ctx context.Context) ChannelSmsMapOutput
type ChannelSmsOutput ¶ added in v4.13.0
type ChannelSmsOutput struct{ *pulumi.OutputState }
func (ChannelSmsOutput) ElementType ¶ added in v4.13.0
func (ChannelSmsOutput) ElementType() reflect.Type
func (ChannelSmsOutput) ToChannelSmsOutput ¶ added in v4.13.0
func (o ChannelSmsOutput) ToChannelSmsOutput() ChannelSmsOutput
func (ChannelSmsOutput) ToChannelSmsOutputWithContext ¶ added in v4.13.0
func (o ChannelSmsOutput) ToChannelSmsOutputWithContext(ctx context.Context) ChannelSmsOutput
func (ChannelSmsOutput) ToChannelSmsPtrOutput ¶ added in v4.13.0
func (o ChannelSmsOutput) ToChannelSmsPtrOutput() ChannelSmsPtrOutput
func (ChannelSmsOutput) ToChannelSmsPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelSmsOutput) ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput
type ChannelSmsPtrInput ¶ added in v4.13.0
type ChannelSmsPtrInput interface { pulumi.Input ToChannelSmsPtrOutput() ChannelSmsPtrOutput ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput }
type ChannelSmsPtrOutput ¶ added in v4.13.0
type ChannelSmsPtrOutput struct{ *pulumi.OutputState }
func (ChannelSmsPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelSmsPtrOutput) Elem() ChannelSmsOutput
func (ChannelSmsPtrOutput) ElementType ¶ added in v4.13.0
func (ChannelSmsPtrOutput) ElementType() reflect.Type
func (ChannelSmsPtrOutput) ToChannelSmsPtrOutput ¶ added in v4.13.0
func (o ChannelSmsPtrOutput) ToChannelSmsPtrOutput() ChannelSmsPtrOutput
func (ChannelSmsPtrOutput) ToChannelSmsPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelSmsPtrOutput) ToChannelSmsPtrOutputWithContext(ctx context.Context) ChannelSmsPtrOutput
type ChannelSmsState ¶ added in v4.13.0
type ChannelSmsState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The phone number for the SMS Channel. PhoneNumber pulumi.StringPtrInput // The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The account security identifier (SID) for the SMS Channel. SmsChannelAccountSecurityId pulumi.StringPtrInput // The authorization token for the SMS Channel. SmsChannelAuthToken pulumi.StringPtrInput }
func (ChannelSmsState) ElementType ¶ added in v4.13.0
func (ChannelSmsState) ElementType() reflect.Type
type ChannelTeams ¶
type ChannelTeams struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // Specifies the webhook for Microsoft Teams channel calls. CallingWebHook pulumi.StringOutput `pulumi:"callingWebHook"` // Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`. EnableCalling pulumi.BoolPtrOutput `pulumi:"enableCalling"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a MS Teams integration for a Bot Channel
> **Note** A bot can only have a single MS Teams Channel associated with it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelTeams(ctx, "exampleChannelTeams", &bot.ChannelTeamsArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
The Microsoft Teams Integration for a Bot Channel can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelTeams:ChannelTeams example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/MsTeamsChannel
```
func GetChannelTeams ¶
func GetChannelTeams(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelTeamsState, opts ...pulumi.ResourceOption) (*ChannelTeams, error)
GetChannelTeams gets an existing ChannelTeams resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelTeams ¶
func NewChannelTeams(ctx *pulumi.Context, name string, args *ChannelTeamsArgs, opts ...pulumi.ResourceOption) (*ChannelTeams, error)
NewChannelTeams registers a new resource with the given unique name, arguments, and options.
func (*ChannelTeams) ElementType ¶
func (*ChannelTeams) ElementType() reflect.Type
func (*ChannelTeams) ToChannelTeamsOutput ¶
func (i *ChannelTeams) ToChannelTeamsOutput() ChannelTeamsOutput
func (*ChannelTeams) ToChannelTeamsOutputWithContext ¶
func (i *ChannelTeams) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput
func (*ChannelTeams) ToChannelTeamsPtrOutput ¶
func (i *ChannelTeams) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
func (*ChannelTeams) ToChannelTeamsPtrOutputWithContext ¶
func (i *ChannelTeams) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
type ChannelTeamsArgs ¶
type ChannelTeamsArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // Specifies the webhook for Microsoft Teams channel calls. CallingWebHook pulumi.StringPtrInput // Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`. EnableCalling pulumi.BoolPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ChannelTeams resource.
func (ChannelTeamsArgs) ElementType ¶
func (ChannelTeamsArgs) ElementType() reflect.Type
type ChannelTeamsArray ¶
type ChannelTeamsArray []ChannelTeamsInput
func (ChannelTeamsArray) ElementType ¶
func (ChannelTeamsArray) ElementType() reflect.Type
func (ChannelTeamsArray) ToChannelTeamsArrayOutput ¶
func (i ChannelTeamsArray) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput
func (ChannelTeamsArray) ToChannelTeamsArrayOutputWithContext ¶
func (i ChannelTeamsArray) ToChannelTeamsArrayOutputWithContext(ctx context.Context) ChannelTeamsArrayOutput
type ChannelTeamsArrayInput ¶
type ChannelTeamsArrayInput interface { pulumi.Input ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput ToChannelTeamsArrayOutputWithContext(context.Context) ChannelTeamsArrayOutput }
ChannelTeamsArrayInput is an input type that accepts ChannelTeamsArray and ChannelTeamsArrayOutput values. You can construct a concrete instance of `ChannelTeamsArrayInput` via:
ChannelTeamsArray{ ChannelTeamsArgs{...} }
type ChannelTeamsArrayOutput ¶
type ChannelTeamsArrayOutput struct{ *pulumi.OutputState }
func (ChannelTeamsArrayOutput) ElementType ¶
func (ChannelTeamsArrayOutput) ElementType() reflect.Type
func (ChannelTeamsArrayOutput) Index ¶
func (o ChannelTeamsArrayOutput) Index(i pulumi.IntInput) ChannelTeamsOutput
func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput ¶
func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutput() ChannelTeamsArrayOutput
func (ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext ¶
func (o ChannelTeamsArrayOutput) ToChannelTeamsArrayOutputWithContext(ctx context.Context) ChannelTeamsArrayOutput
type ChannelTeamsInput ¶
type ChannelTeamsInput interface { pulumi.Input ToChannelTeamsOutput() ChannelTeamsOutput ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput }
type ChannelTeamsMap ¶
type ChannelTeamsMap map[string]ChannelTeamsInput
func (ChannelTeamsMap) ElementType ¶
func (ChannelTeamsMap) ElementType() reflect.Type
func (ChannelTeamsMap) ToChannelTeamsMapOutput ¶
func (i ChannelTeamsMap) ToChannelTeamsMapOutput() ChannelTeamsMapOutput
func (ChannelTeamsMap) ToChannelTeamsMapOutputWithContext ¶
func (i ChannelTeamsMap) ToChannelTeamsMapOutputWithContext(ctx context.Context) ChannelTeamsMapOutput
type ChannelTeamsMapInput ¶
type ChannelTeamsMapInput interface { pulumi.Input ToChannelTeamsMapOutput() ChannelTeamsMapOutput ToChannelTeamsMapOutputWithContext(context.Context) ChannelTeamsMapOutput }
ChannelTeamsMapInput is an input type that accepts ChannelTeamsMap and ChannelTeamsMapOutput values. You can construct a concrete instance of `ChannelTeamsMapInput` via:
ChannelTeamsMap{ "key": ChannelTeamsArgs{...} }
type ChannelTeamsMapOutput ¶
type ChannelTeamsMapOutput struct{ *pulumi.OutputState }
func (ChannelTeamsMapOutput) ElementType ¶
func (ChannelTeamsMapOutput) ElementType() reflect.Type
func (ChannelTeamsMapOutput) MapIndex ¶
func (o ChannelTeamsMapOutput) MapIndex(k pulumi.StringInput) ChannelTeamsOutput
func (ChannelTeamsMapOutput) ToChannelTeamsMapOutput ¶
func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutput() ChannelTeamsMapOutput
func (ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext ¶
func (o ChannelTeamsMapOutput) ToChannelTeamsMapOutputWithContext(ctx context.Context) ChannelTeamsMapOutput
type ChannelTeamsOutput ¶
type ChannelTeamsOutput struct{ *pulumi.OutputState }
func (ChannelTeamsOutput) ElementType ¶
func (ChannelTeamsOutput) ElementType() reflect.Type
func (ChannelTeamsOutput) ToChannelTeamsOutput ¶
func (o ChannelTeamsOutput) ToChannelTeamsOutput() ChannelTeamsOutput
func (ChannelTeamsOutput) ToChannelTeamsOutputWithContext ¶
func (o ChannelTeamsOutput) ToChannelTeamsOutputWithContext(ctx context.Context) ChannelTeamsOutput
func (ChannelTeamsOutput) ToChannelTeamsPtrOutput ¶
func (o ChannelTeamsOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
func (ChannelTeamsOutput) ToChannelTeamsPtrOutputWithContext ¶
func (o ChannelTeamsOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
type ChannelTeamsPtrInput ¶
type ChannelTeamsPtrInput interface { pulumi.Input ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput }
type ChannelTeamsPtrOutput ¶
type ChannelTeamsPtrOutput struct{ *pulumi.OutputState }
func (ChannelTeamsPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelTeamsPtrOutput) Elem() ChannelTeamsOutput
func (ChannelTeamsPtrOutput) ElementType ¶
func (ChannelTeamsPtrOutput) ElementType() reflect.Type
func (ChannelTeamsPtrOutput) ToChannelTeamsPtrOutput ¶
func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutput() ChannelTeamsPtrOutput
func (ChannelTeamsPtrOutput) ToChannelTeamsPtrOutputWithContext ¶
func (o ChannelTeamsPtrOutput) ToChannelTeamsPtrOutputWithContext(ctx context.Context) ChannelTeamsPtrOutput
type ChannelTeamsState ¶
type ChannelTeamsState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // Specifies the webhook for Microsoft Teams channel calls. CallingWebHook pulumi.StringPtrInput // Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`. EnableCalling pulumi.BoolPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (ChannelTeamsState) ElementType ¶
func (ChannelTeamsState) ElementType() reflect.Type
type ChannelWebChat ¶ added in v4.13.0
type ChannelWebChat struct { pulumi.CustomResourceState // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A list of Web Chat Site names. SiteNames pulumi.StringArrayOutput `pulumi:"siteNames"` }
Manages a Web Chat integration for a Bot Channel
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewChannelWebChat(ctx, "exampleChannelWebChat", &bot.ChannelWebChatArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, SiteNames: pulumi.StringArray{ pulumi.String("TestSite"), }, }) if err != nil { return err } return nil }) }
```
## Import
Web Chat Channels can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelWebChat:ChannelWebChat example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/WebChatChannel
```
func GetChannelWebChat ¶ added in v4.13.0
func GetChannelWebChat(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelWebChatState, opts ...pulumi.ResourceOption) (*ChannelWebChat, error)
GetChannelWebChat gets an existing ChannelWebChat resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelWebChat ¶ added in v4.13.0
func NewChannelWebChat(ctx *pulumi.Context, name string, args *ChannelWebChatArgs, opts ...pulumi.ResourceOption) (*ChannelWebChat, error)
NewChannelWebChat registers a new resource with the given unique name, arguments, and options.
func (*ChannelWebChat) ElementType ¶ added in v4.13.0
func (*ChannelWebChat) ElementType() reflect.Type
func (*ChannelWebChat) ToChannelWebChatOutput ¶ added in v4.13.0
func (i *ChannelWebChat) ToChannelWebChatOutput() ChannelWebChatOutput
func (*ChannelWebChat) ToChannelWebChatOutputWithContext ¶ added in v4.13.0
func (i *ChannelWebChat) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput
func (*ChannelWebChat) ToChannelWebChatPtrOutput ¶ added in v4.13.0
func (i *ChannelWebChat) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
func (*ChannelWebChat) ToChannelWebChatPtrOutputWithContext ¶ added in v4.13.0
func (i *ChannelWebChat) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
type ChannelWebChatArgs ¶ added in v4.13.0
type ChannelWebChatArgs struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A list of Web Chat Site names. SiteNames pulumi.StringArrayInput }
The set of arguments for constructing a ChannelWebChat resource.
func (ChannelWebChatArgs) ElementType ¶ added in v4.13.0
func (ChannelWebChatArgs) ElementType() reflect.Type
type ChannelWebChatArray ¶ added in v4.13.0
type ChannelWebChatArray []ChannelWebChatInput
func (ChannelWebChatArray) ElementType ¶ added in v4.13.0
func (ChannelWebChatArray) ElementType() reflect.Type
func (ChannelWebChatArray) ToChannelWebChatArrayOutput ¶ added in v4.13.0
func (i ChannelWebChatArray) ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput
func (ChannelWebChatArray) ToChannelWebChatArrayOutputWithContext ¶ added in v4.13.0
func (i ChannelWebChatArray) ToChannelWebChatArrayOutputWithContext(ctx context.Context) ChannelWebChatArrayOutput
type ChannelWebChatArrayInput ¶ added in v4.13.0
type ChannelWebChatArrayInput interface { pulumi.Input ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput ToChannelWebChatArrayOutputWithContext(context.Context) ChannelWebChatArrayOutput }
ChannelWebChatArrayInput is an input type that accepts ChannelWebChatArray and ChannelWebChatArrayOutput values. You can construct a concrete instance of `ChannelWebChatArrayInput` via:
ChannelWebChatArray{ ChannelWebChatArgs{...} }
type ChannelWebChatArrayOutput ¶ added in v4.13.0
type ChannelWebChatArrayOutput struct{ *pulumi.OutputState }
func (ChannelWebChatArrayOutput) ElementType ¶ added in v4.13.0
func (ChannelWebChatArrayOutput) ElementType() reflect.Type
func (ChannelWebChatArrayOutput) Index ¶ added in v4.13.0
func (o ChannelWebChatArrayOutput) Index(i pulumi.IntInput) ChannelWebChatOutput
func (ChannelWebChatArrayOutput) ToChannelWebChatArrayOutput ¶ added in v4.13.0
func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutput() ChannelWebChatArrayOutput
func (ChannelWebChatArrayOutput) ToChannelWebChatArrayOutputWithContext ¶ added in v4.13.0
func (o ChannelWebChatArrayOutput) ToChannelWebChatArrayOutputWithContext(ctx context.Context) ChannelWebChatArrayOutput
type ChannelWebChatInput ¶ added in v4.13.0
type ChannelWebChatInput interface { pulumi.Input ToChannelWebChatOutput() ChannelWebChatOutput ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput }
type ChannelWebChatMap ¶ added in v4.13.0
type ChannelWebChatMap map[string]ChannelWebChatInput
func (ChannelWebChatMap) ElementType ¶ added in v4.13.0
func (ChannelWebChatMap) ElementType() reflect.Type
func (ChannelWebChatMap) ToChannelWebChatMapOutput ¶ added in v4.13.0
func (i ChannelWebChatMap) ToChannelWebChatMapOutput() ChannelWebChatMapOutput
func (ChannelWebChatMap) ToChannelWebChatMapOutputWithContext ¶ added in v4.13.0
func (i ChannelWebChatMap) ToChannelWebChatMapOutputWithContext(ctx context.Context) ChannelWebChatMapOutput
type ChannelWebChatMapInput ¶ added in v4.13.0
type ChannelWebChatMapInput interface { pulumi.Input ToChannelWebChatMapOutput() ChannelWebChatMapOutput ToChannelWebChatMapOutputWithContext(context.Context) ChannelWebChatMapOutput }
ChannelWebChatMapInput is an input type that accepts ChannelWebChatMap and ChannelWebChatMapOutput values. You can construct a concrete instance of `ChannelWebChatMapInput` via:
ChannelWebChatMap{ "key": ChannelWebChatArgs{...} }
type ChannelWebChatMapOutput ¶ added in v4.13.0
type ChannelWebChatMapOutput struct{ *pulumi.OutputState }
func (ChannelWebChatMapOutput) ElementType ¶ added in v4.13.0
func (ChannelWebChatMapOutput) ElementType() reflect.Type
func (ChannelWebChatMapOutput) MapIndex ¶ added in v4.13.0
func (o ChannelWebChatMapOutput) MapIndex(k pulumi.StringInput) ChannelWebChatOutput
func (ChannelWebChatMapOutput) ToChannelWebChatMapOutput ¶ added in v4.13.0
func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutput() ChannelWebChatMapOutput
func (ChannelWebChatMapOutput) ToChannelWebChatMapOutputWithContext ¶ added in v4.13.0
func (o ChannelWebChatMapOutput) ToChannelWebChatMapOutputWithContext(ctx context.Context) ChannelWebChatMapOutput
type ChannelWebChatOutput ¶ added in v4.13.0
type ChannelWebChatOutput struct{ *pulumi.OutputState }
func (ChannelWebChatOutput) ElementType ¶ added in v4.13.0
func (ChannelWebChatOutput) ElementType() reflect.Type
func (ChannelWebChatOutput) ToChannelWebChatOutput ¶ added in v4.13.0
func (o ChannelWebChatOutput) ToChannelWebChatOutput() ChannelWebChatOutput
func (ChannelWebChatOutput) ToChannelWebChatOutputWithContext ¶ added in v4.13.0
func (o ChannelWebChatOutput) ToChannelWebChatOutputWithContext(ctx context.Context) ChannelWebChatOutput
func (ChannelWebChatOutput) ToChannelWebChatPtrOutput ¶ added in v4.13.0
func (o ChannelWebChatOutput) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
func (ChannelWebChatOutput) ToChannelWebChatPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelWebChatOutput) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
type ChannelWebChatPtrInput ¶ added in v4.13.0
type ChannelWebChatPtrInput interface { pulumi.Input ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput }
type ChannelWebChatPtrOutput ¶ added in v4.13.0
type ChannelWebChatPtrOutput struct{ *pulumi.OutputState }
func (ChannelWebChatPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelWebChatPtrOutput) Elem() ChannelWebChatOutput
func (ChannelWebChatPtrOutput) ElementType ¶ added in v4.13.0
func (ChannelWebChatPtrOutput) ElementType() reflect.Type
func (ChannelWebChatPtrOutput) ToChannelWebChatPtrOutput ¶ added in v4.13.0
func (o ChannelWebChatPtrOutput) ToChannelWebChatPtrOutput() ChannelWebChatPtrOutput
func (ChannelWebChatPtrOutput) ToChannelWebChatPtrOutputWithContext ¶ added in v4.13.0
func (o ChannelWebChatPtrOutput) ToChannelWebChatPtrOutputWithContext(ctx context.Context) ChannelWebChatPtrOutput
type ChannelWebChatState ¶ added in v4.13.0
type ChannelWebChatState struct { // The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the resource group where the Web Chat Channel should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A list of Web Chat Site names. SiteNames pulumi.StringArrayInput }
func (ChannelWebChatState) ElementType ¶ added in v4.13.0
func (ChannelWebChatState) ElementType() reflect.Type
type ChannelsRegistration ¶
type ChannelsRegistration struct { pulumi.CustomResourceState // The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key. CmkKeyVaultUrl pulumi.StringPtrOutput `pulumi:"cmkKeyVaultUrl"` // The description of the Bot Channels Registration. Description pulumi.StringPtrOutput `pulumi:"description"` // The Application Insights API Key to associate with the Bot Channels Registration. DeveloperAppInsightsApiKey pulumi.StringOutput `pulumi:"developerAppInsightsApiKey"` // The Application Insights Application ID to associate with the Bot Channels Registration. DeveloperAppInsightsApplicationId pulumi.StringOutput `pulumi:"developerAppInsightsApplicationId"` // The Application Insights Key to associate with the Bot Channels Registration. DeveloperAppInsightsKey pulumi.StringOutput `pulumi:"developerAppInsightsKey"` // The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The Bot Channels Registration endpoint. Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` // The icon URL to visually identify the Bot Channels Registration. IconUrl pulumi.StringOutput `pulumi:"iconUrl"` // Is the Bot Channels Registration in an isolated network? IsolatedNetworkEnabled pulumi.BoolPtrOutput `pulumi:"isolatedNetworkEnabled"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringOutput `pulumi:"microsoftAppId"` // Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Bot Channels Registration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } return nil }) }
```
## Import
Bot Channels Registration can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/channelsRegistration:ChannelsRegistration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example
```
func GetChannelsRegistration ¶
func GetChannelsRegistration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelsRegistrationState, opts ...pulumi.ResourceOption) (*ChannelsRegistration, error)
GetChannelsRegistration gets an existing ChannelsRegistration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChannelsRegistration ¶
func NewChannelsRegistration(ctx *pulumi.Context, name string, args *ChannelsRegistrationArgs, opts ...pulumi.ResourceOption) (*ChannelsRegistration, error)
NewChannelsRegistration registers a new resource with the given unique name, arguments, and options.
func (*ChannelsRegistration) ElementType ¶
func (*ChannelsRegistration) ElementType() reflect.Type
func (*ChannelsRegistration) ToChannelsRegistrationOutput ¶
func (i *ChannelsRegistration) ToChannelsRegistrationOutput() ChannelsRegistrationOutput
func (*ChannelsRegistration) ToChannelsRegistrationOutputWithContext ¶
func (i *ChannelsRegistration) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput
func (*ChannelsRegistration) ToChannelsRegistrationPtrOutput ¶
func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
func (*ChannelsRegistration) ToChannelsRegistrationPtrOutputWithContext ¶
func (i *ChannelsRegistration) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
type ChannelsRegistrationArgs ¶
type ChannelsRegistrationArgs struct { // The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key. CmkKeyVaultUrl pulumi.StringPtrInput // The description of the Bot Channels Registration. Description pulumi.StringPtrInput // The Application Insights API Key to associate with the Bot Channels Registration. DeveloperAppInsightsApiKey pulumi.StringPtrInput // The Application Insights Application ID to associate with the Bot Channels Registration. DeveloperAppInsightsApplicationId pulumi.StringPtrInput // The Application Insights Key to associate with the Bot Channels Registration. DeveloperAppInsightsKey pulumi.StringPtrInput // The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringPtrInput // The Bot Channels Registration endpoint. Endpoint pulumi.StringPtrInput // The icon URL to visually identify the Bot Channels Registration. IconUrl pulumi.StringPtrInput // Is the Bot Channels Registration in an isolated network? IsolatedNetworkEnabled pulumi.BoolPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringInput // Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a ChannelsRegistration resource.
func (ChannelsRegistrationArgs) ElementType ¶
func (ChannelsRegistrationArgs) ElementType() reflect.Type
type ChannelsRegistrationArray ¶
type ChannelsRegistrationArray []ChannelsRegistrationInput
func (ChannelsRegistrationArray) ElementType ¶
func (ChannelsRegistrationArray) ElementType() reflect.Type
func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput ¶
func (i ChannelsRegistrationArray) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput
func (ChannelsRegistrationArray) ToChannelsRegistrationArrayOutputWithContext ¶
func (i ChannelsRegistrationArray) ToChannelsRegistrationArrayOutputWithContext(ctx context.Context) ChannelsRegistrationArrayOutput
type ChannelsRegistrationArrayInput ¶
type ChannelsRegistrationArrayInput interface { pulumi.Input ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput ToChannelsRegistrationArrayOutputWithContext(context.Context) ChannelsRegistrationArrayOutput }
ChannelsRegistrationArrayInput is an input type that accepts ChannelsRegistrationArray and ChannelsRegistrationArrayOutput values. You can construct a concrete instance of `ChannelsRegistrationArrayInput` via:
ChannelsRegistrationArray{ ChannelsRegistrationArgs{...} }
type ChannelsRegistrationArrayOutput ¶
type ChannelsRegistrationArrayOutput struct{ *pulumi.OutputState }
func (ChannelsRegistrationArrayOutput) ElementType ¶
func (ChannelsRegistrationArrayOutput) ElementType() reflect.Type
func (ChannelsRegistrationArrayOutput) Index ¶
func (o ChannelsRegistrationArrayOutput) Index(i pulumi.IntInput) ChannelsRegistrationOutput
func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput ¶
func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutput() ChannelsRegistrationArrayOutput
func (ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext ¶
func (o ChannelsRegistrationArrayOutput) ToChannelsRegistrationArrayOutputWithContext(ctx context.Context) ChannelsRegistrationArrayOutput
type ChannelsRegistrationInput ¶
type ChannelsRegistrationInput interface { pulumi.Input ToChannelsRegistrationOutput() ChannelsRegistrationOutput ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput }
type ChannelsRegistrationMap ¶
type ChannelsRegistrationMap map[string]ChannelsRegistrationInput
func (ChannelsRegistrationMap) ElementType ¶
func (ChannelsRegistrationMap) ElementType() reflect.Type
func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutput ¶
func (i ChannelsRegistrationMap) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput
func (ChannelsRegistrationMap) ToChannelsRegistrationMapOutputWithContext ¶
func (i ChannelsRegistrationMap) ToChannelsRegistrationMapOutputWithContext(ctx context.Context) ChannelsRegistrationMapOutput
type ChannelsRegistrationMapInput ¶
type ChannelsRegistrationMapInput interface { pulumi.Input ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput ToChannelsRegistrationMapOutputWithContext(context.Context) ChannelsRegistrationMapOutput }
ChannelsRegistrationMapInput is an input type that accepts ChannelsRegistrationMap and ChannelsRegistrationMapOutput values. You can construct a concrete instance of `ChannelsRegistrationMapInput` via:
ChannelsRegistrationMap{ "key": ChannelsRegistrationArgs{...} }
type ChannelsRegistrationMapOutput ¶
type ChannelsRegistrationMapOutput struct{ *pulumi.OutputState }
func (ChannelsRegistrationMapOutput) ElementType ¶
func (ChannelsRegistrationMapOutput) ElementType() reflect.Type
func (ChannelsRegistrationMapOutput) MapIndex ¶
func (o ChannelsRegistrationMapOutput) MapIndex(k pulumi.StringInput) ChannelsRegistrationOutput
func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput ¶
func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutput() ChannelsRegistrationMapOutput
func (ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext ¶
func (o ChannelsRegistrationMapOutput) ToChannelsRegistrationMapOutputWithContext(ctx context.Context) ChannelsRegistrationMapOutput
type ChannelsRegistrationOutput ¶
type ChannelsRegistrationOutput struct{ *pulumi.OutputState }
func (ChannelsRegistrationOutput) ElementType ¶
func (ChannelsRegistrationOutput) ElementType() reflect.Type
func (ChannelsRegistrationOutput) ToChannelsRegistrationOutput ¶
func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutput() ChannelsRegistrationOutput
func (ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext ¶
func (o ChannelsRegistrationOutput) ToChannelsRegistrationOutputWithContext(ctx context.Context) ChannelsRegistrationOutput
func (ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutput ¶
func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
func (ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutputWithContext ¶
func (o ChannelsRegistrationOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
type ChannelsRegistrationPtrInput ¶
type ChannelsRegistrationPtrInput interface { pulumi.Input ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput }
type ChannelsRegistrationPtrOutput ¶
type ChannelsRegistrationPtrOutput struct{ *pulumi.OutputState }
func (ChannelsRegistrationPtrOutput) Elem ¶ added in v4.20.0
func (o ChannelsRegistrationPtrOutput) Elem() ChannelsRegistrationOutput
func (ChannelsRegistrationPtrOutput) ElementType ¶
func (ChannelsRegistrationPtrOutput) ElementType() reflect.Type
func (ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutput ¶
func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutput() ChannelsRegistrationPtrOutput
func (ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutputWithContext ¶
func (o ChannelsRegistrationPtrOutput) ToChannelsRegistrationPtrOutputWithContext(ctx context.Context) ChannelsRegistrationPtrOutput
type ChannelsRegistrationState ¶
type ChannelsRegistrationState struct { // The CMK Key Vault Key URL to encrypt the Bot Channels Registration with the Customer Managed Encryption Key. CmkKeyVaultUrl pulumi.StringPtrInput // The description of the Bot Channels Registration. Description pulumi.StringPtrInput // The Application Insights API Key to associate with the Bot Channels Registration. DeveloperAppInsightsApiKey pulumi.StringPtrInput // The Application Insights Application ID to associate with the Bot Channels Registration. DeveloperAppInsightsApplicationId pulumi.StringPtrInput // The Application Insights Key to associate with the Bot Channels Registration. DeveloperAppInsightsKey pulumi.StringPtrInput // The name of the Bot Channels Registration will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringPtrInput // The Bot Channels Registration endpoint. Endpoint pulumi.StringPtrInput // The icon URL to visually identify the Bot Channels Registration. IconUrl pulumi.StringPtrInput // Is the Bot Channels Registration in an isolated network? IsolatedNetworkEnabled pulumi.BoolPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Microsoft Application ID for the Bot Channels Registration. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringPtrInput // Specifies the name of the Bot Channels Registration. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Bot Channels Registration. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The SKU of the Bot Channels Registration. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (ChannelsRegistrationState) ElementType ¶
func (ChannelsRegistrationState) ElementType() reflect.Type
type Connection ¶
type Connection struct { pulumi.CustomResourceState // The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringOutput `pulumi:"botName"` // The Client ID that will be used to authenticate with the service provider. ClientId pulumi.StringOutput `pulumi:"clientId"` // The Client Secret that will be used to authenticate with the service provider. ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // A map of additional parameters to apply to the connection. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Scopes at which the connection should be applied. Scopes pulumi.StringPtrOutput `pulumi:"scopes"` // The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created. ServiceProviderName pulumi.StringOutput `pulumi:"serviceProviderName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Bot Connection.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleChannelsRegistration, err := bot.NewChannelsRegistration(ctx, "exampleChannelsRegistration", &bot.ChannelsRegistrationArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } _, err = bot.NewConnection(ctx, "exampleConnection", &bot.ConnectionArgs{ BotName: exampleChannelsRegistration.Name, Location: exampleChannelsRegistration.Location, ResourceGroupName: exampleResourceGroup.Name, ServiceProviderName: pulumi.String("box"), ClientId: pulumi.String("exampleId"), ClientSecret: pulumi.String("exampleSecret"), }) if err != nil { return err } return nil }) }
```
## Import
Bot Connection can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/connection:Connection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/connections/example
```
func GetConnection ¶
func GetConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)
GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnection ¶
func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)
NewConnection registers a new resource with the given unique name, arguments, and options.
func (*Connection) ElementType ¶
func (*Connection) ElementType() reflect.Type
func (*Connection) ToConnectionOutput ¶
func (i *Connection) ToConnectionOutput() ConnectionOutput
func (*Connection) ToConnectionOutputWithContext ¶
func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (*Connection) ToConnectionPtrOutput ¶
func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
func (*Connection) ToConnectionPtrOutputWithContext ¶
func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringInput // The Client ID that will be used to authenticate with the service provider. ClientId pulumi.StringInput // The Client Secret that will be used to authenticate with the service provider. ClientSecret pulumi.StringInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // A map of additional parameters to apply to the connection. Parameters pulumi.StringMapInput // The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Scopes at which the connection should be applied. Scopes pulumi.StringPtrInput // The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created. ServiceProviderName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Connection resource.
func (ConnectionArgs) ElementType ¶
func (ConnectionArgs) ElementType() reflect.Type
type ConnectionArray ¶
type ConnectionArray []ConnectionInput
func (ConnectionArray) ElementType ¶
func (ConnectionArray) ElementType() reflect.Type
func (ConnectionArray) ToConnectionArrayOutput ¶
func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArray) ToConnectionArrayOutputWithContext ¶
func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionArrayInput ¶
type ConnectionArrayInput interface { pulumi.Input ToConnectionArrayOutput() ConnectionArrayOutput ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput }
ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:
ConnectionArray{ ConnectionArgs{...} }
type ConnectionArrayOutput ¶
type ConnectionArrayOutput struct{ *pulumi.OutputState }
func (ConnectionArrayOutput) ElementType ¶
func (ConnectionArrayOutput) ElementType() reflect.Type
func (ConnectionArrayOutput) Index ¶
func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
func (ConnectionArrayOutput) ToConnectionArrayOutput ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionMap ¶
type ConnectionMap map[string]ConnectionInput
func (ConnectionMap) ElementType ¶
func (ConnectionMap) ElementType() reflect.Type
func (ConnectionMap) ToConnectionMapOutput ¶
func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMap) ToConnectionMapOutputWithContext ¶
func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionMapInput ¶
type ConnectionMapInput interface { pulumi.Input ToConnectionMapOutput() ConnectionMapOutput ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput }
ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:
ConnectionMap{ "key": ConnectionArgs{...} }
type ConnectionMapOutput ¶
type ConnectionMapOutput struct{ *pulumi.OutputState }
func (ConnectionMapOutput) ElementType ¶
func (ConnectionMapOutput) ElementType() reflect.Type
func (ConnectionMapOutput) MapIndex ¶
func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
func (ConnectionMapOutput) ToConnectionMapOutput ¶
func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMapOutput) ToConnectionMapOutputWithContext ¶
func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionOutput ¶
type ConnectionOutput struct{ *pulumi.OutputState }
func (ConnectionOutput) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (ConnectionOutput) ToConnectionPtrOutput ¶
func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionPtrInput ¶
type ConnectionPtrInput interface { pulumi.Input ToConnectionPtrOutput() ConnectionPtrOutput ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput }
type ConnectionPtrOutput ¶
type ConnectionPtrOutput struct{ *pulumi.OutputState }
func (ConnectionPtrOutput) Elem ¶ added in v4.20.0
func (o ConnectionPtrOutput) Elem() ConnectionOutput
func (ConnectionPtrOutput) ElementType ¶
func (ConnectionPtrOutput) ElementType() reflect.Type
func (ConnectionPtrOutput) ToConnectionPtrOutput ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionState ¶
type ConnectionState struct { // The name of the Bot Resource this connection will be associated with. Changing this forces a new resource to be created. BotName pulumi.StringPtrInput // The Client ID that will be used to authenticate with the service provider. ClientId pulumi.StringPtrInput // The Client Secret that will be used to authenticate with the service provider. ClientSecret pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Bot Connection. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // A map of additional parameters to apply to the connection. Parameters pulumi.StringMapInput // The name of the resource group in which to create the Bot Connection. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Scopes at which the connection should be applied. Scopes pulumi.StringPtrInput // The name of the service provider that will be associated with this connection. Changing this forces a new resource to be created. ServiceProviderName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type WebApp ¶
type WebApp struct { pulumi.CustomResourceState // The Application Insights API Key to associate with the Web App Bot. DeveloperAppInsightsApiKey pulumi.StringOutput `pulumi:"developerAppInsightsApiKey"` // The Application Insights Application ID to associate with the Web App Bot. DeveloperAppInsightsApplicationId pulumi.StringOutput `pulumi:"developerAppInsightsApplicationId"` // The Application Insights Key to associate with the Web App Bot. DeveloperAppInsightsKey pulumi.StringOutput `pulumi:"developerAppInsightsKey"` // The name of the Web App Bot will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The Web App Bot endpoint. Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // A list of LUIS App IDs to associate with the Web App Bot. LuisAppIds pulumi.StringArrayOutput `pulumi:"luisAppIds"` // The LUIS key to associate with the Web App Bot. LuisKey pulumi.StringPtrOutput `pulumi:"luisKey"` // The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringOutput `pulumi:"microsoftAppId"` // Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Bot Web App.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/bot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = bot.NewWebApp(ctx, "exampleWebApp", &bot.WebAppArgs{ Location: pulumi.String("global"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("F0"), MicrosoftAppId: pulumi.String(current.ClientId), }) if err != nil { return err } return nil }) }
```
## Import
Bot Web App's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:bot/webApp:WebApp example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example
```
func GetWebApp ¶
func GetWebApp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebAppState, opts ...pulumi.ResourceOption) (*WebApp, error)
GetWebApp gets an existing WebApp resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWebApp ¶
func NewWebApp(ctx *pulumi.Context, name string, args *WebAppArgs, opts ...pulumi.ResourceOption) (*WebApp, error)
NewWebApp registers a new resource with the given unique name, arguments, and options.
func (*WebApp) ElementType ¶
func (*WebApp) ToWebAppOutput ¶
func (i *WebApp) ToWebAppOutput() WebAppOutput
func (*WebApp) ToWebAppOutputWithContext ¶
func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
func (*WebApp) ToWebAppPtrOutput ¶
func (i *WebApp) ToWebAppPtrOutput() WebAppPtrOutput
func (*WebApp) ToWebAppPtrOutputWithContext ¶
func (i *WebApp) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppArgs ¶
type WebAppArgs struct { // The Application Insights API Key to associate with the Web App Bot. DeveloperAppInsightsApiKey pulumi.StringPtrInput // The Application Insights Application ID to associate with the Web App Bot. DeveloperAppInsightsApplicationId pulumi.StringPtrInput // The Application Insights Key to associate with the Web App Bot. DeveloperAppInsightsKey pulumi.StringPtrInput // The name of the Web App Bot will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringPtrInput // The Web App Bot endpoint. Endpoint pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A list of LUIS App IDs to associate with the Web App Bot. LuisAppIds pulumi.StringArrayInput // The LUIS key to associate with the Web App Bot. LuisKey pulumi.StringPtrInput // The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringInput // Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a WebApp resource.
func (WebAppArgs) ElementType ¶
func (WebAppArgs) ElementType() reflect.Type
type WebAppArray ¶
type WebAppArray []WebAppInput
func (WebAppArray) ElementType ¶
func (WebAppArray) ElementType() reflect.Type
func (WebAppArray) ToWebAppArrayOutput ¶
func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput
func (WebAppArray) ToWebAppArrayOutputWithContext ¶
func (i WebAppArray) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput
type WebAppArrayInput ¶
type WebAppArrayInput interface { pulumi.Input ToWebAppArrayOutput() WebAppArrayOutput ToWebAppArrayOutputWithContext(context.Context) WebAppArrayOutput }
WebAppArrayInput is an input type that accepts WebAppArray and WebAppArrayOutput values. You can construct a concrete instance of `WebAppArrayInput` via:
WebAppArray{ WebAppArgs{...} }
type WebAppArrayOutput ¶
type WebAppArrayOutput struct{ *pulumi.OutputState }
func (WebAppArrayOutput) ElementType ¶
func (WebAppArrayOutput) ElementType() reflect.Type
func (WebAppArrayOutput) Index ¶
func (o WebAppArrayOutput) Index(i pulumi.IntInput) WebAppOutput
func (WebAppArrayOutput) ToWebAppArrayOutput ¶
func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput
func (WebAppArrayOutput) ToWebAppArrayOutputWithContext ¶
func (o WebAppArrayOutput) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput
type WebAppInput ¶
type WebAppInput interface { pulumi.Input ToWebAppOutput() WebAppOutput ToWebAppOutputWithContext(ctx context.Context) WebAppOutput }
type WebAppMap ¶
type WebAppMap map[string]WebAppInput
func (WebAppMap) ElementType ¶
func (WebAppMap) ToWebAppMapOutput ¶
func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput
func (WebAppMap) ToWebAppMapOutputWithContext ¶
func (i WebAppMap) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput
type WebAppMapInput ¶
type WebAppMapInput interface { pulumi.Input ToWebAppMapOutput() WebAppMapOutput ToWebAppMapOutputWithContext(context.Context) WebAppMapOutput }
WebAppMapInput is an input type that accepts WebAppMap and WebAppMapOutput values. You can construct a concrete instance of `WebAppMapInput` via:
WebAppMap{ "key": WebAppArgs{...} }
type WebAppMapOutput ¶
type WebAppMapOutput struct{ *pulumi.OutputState }
func (WebAppMapOutput) ElementType ¶
func (WebAppMapOutput) ElementType() reflect.Type
func (WebAppMapOutput) MapIndex ¶
func (o WebAppMapOutput) MapIndex(k pulumi.StringInput) WebAppOutput
func (WebAppMapOutput) ToWebAppMapOutput ¶
func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput
func (WebAppMapOutput) ToWebAppMapOutputWithContext ¶
func (o WebAppMapOutput) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput
type WebAppOutput ¶
type WebAppOutput struct{ *pulumi.OutputState }
func (WebAppOutput) ElementType ¶
func (WebAppOutput) ElementType() reflect.Type
func (WebAppOutput) ToWebAppOutput ¶
func (o WebAppOutput) ToWebAppOutput() WebAppOutput
func (WebAppOutput) ToWebAppOutputWithContext ¶
func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
func (WebAppOutput) ToWebAppPtrOutput ¶
func (o WebAppOutput) ToWebAppPtrOutput() WebAppPtrOutput
func (WebAppOutput) ToWebAppPtrOutputWithContext ¶
func (o WebAppOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppPtrInput ¶
type WebAppPtrInput interface { pulumi.Input ToWebAppPtrOutput() WebAppPtrOutput ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput }
type WebAppPtrOutput ¶
type WebAppPtrOutput struct{ *pulumi.OutputState }
func (WebAppPtrOutput) Elem ¶ added in v4.20.0
func (o WebAppPtrOutput) Elem() WebAppOutput
func (WebAppPtrOutput) ElementType ¶
func (WebAppPtrOutput) ElementType() reflect.Type
func (WebAppPtrOutput) ToWebAppPtrOutput ¶
func (o WebAppPtrOutput) ToWebAppPtrOutput() WebAppPtrOutput
func (WebAppPtrOutput) ToWebAppPtrOutputWithContext ¶
func (o WebAppPtrOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppState ¶
type WebAppState struct { // The Application Insights API Key to associate with the Web App Bot. DeveloperAppInsightsApiKey pulumi.StringPtrInput // The Application Insights Application ID to associate with the Web App Bot. DeveloperAppInsightsApplicationId pulumi.StringPtrInput // The Application Insights Key to associate with the Web App Bot. DeveloperAppInsightsKey pulumi.StringPtrInput // The name of the Web App Bot will be displayed as. This defaults to `name` if not specified. DisplayName pulumi.StringPtrInput // The Web App Bot endpoint. Endpoint pulumi.StringPtrInput // The supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A list of LUIS App IDs to associate with the Web App Bot. LuisAppIds pulumi.StringArrayInput // The LUIS key to associate with the Web App Bot. LuisKey pulumi.StringPtrInput // The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created. MicrosoftAppId pulumi.StringPtrInput // Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Web App Bot. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (WebAppState) ElementType ¶
func (WebAppState) ElementType() reflect.Type