Class ChannelEmail
Manages a Email integration for a Bot Channel
Note A bot can only have a single Email Channel associated with it.
Inherited Members
Namespace: Pulumi.Azure.Bot
Assembly: Pulumi.Azure.dll
Syntax
public class ChannelEmail : CustomResource
Constructors
View SourceChannelEmail(String, ChannelEmailArgs, CustomResourceOptions)
Create a ChannelEmail resource with the given unique name, arguments, and options.
Declaration
public ChannelEmail(string name, ChannelEmailArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ChannelEmailArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBotName
The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
Declaration
public Output<string> BotName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EmailAddress
The email address that the Bot will authenticate with.
Declaration
public Output<string> EmailAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EmailPassword
The email password that the Bot will authenticate with.
Declaration
public Output<string> EmailPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ChannelEmailState, CustomResourceOptions)
Get an existing ChannelEmail resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ChannelEmail Get(string name, Input<string> id, ChannelEmailState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ChannelEmailState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ChannelEmail |