ChannelEmail
Manages a Email integration for a Bot Channel
Note A bot can only have a single Email Channel associated with it.
Create a ChannelEmail Resource
new ChannelEmail(name: string, args: ChannelEmailArgs, opts?: CustomResourceOptions);def ChannelEmail(resource_name, opts=None, bot_name=None, email_address=None, email_password=None, location=None, resource_group_name=None, __props__=None);func NewChannelEmail(ctx *Context, name string, args ChannelEmailArgs, opts ...ResourceOption) (*ChannelEmail, error)public ChannelEmail(string name, ChannelEmailArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ChannelEmailArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ChannelEmailArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelEmailArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ChannelEmail Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ChannelEmail resource accepts the following input properties:
- Bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- Email
Address string The email address that the Bot will authenticate with.
- Email
Password string The email password that the Bot will authenticate with.
- Resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- Email
Address string The email address that the Bot will authenticate with.
- Email
Password string The email password that the Bot will authenticate with.
- Resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- email
Address string The email address that the Bot will authenticate with.
- email
Password string The email password that the Bot will authenticate with.
- resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- bot_
name str The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- email_
address str The email address that the Bot will authenticate with.
- email_
password str The email password that the Bot will authenticate with.
- resource_
group_ strname The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- location str
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ChannelEmail resource produces the following output properties:
Look up an Existing ChannelEmail Resource
Get an existing ChannelEmail resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ChannelEmailState, opts?: CustomResourceOptions): ChannelEmailstatic get(resource_name, id, opts=None, bot_name=None, email_address=None, email_password=None, location=None, resource_group_name=None, __props__=None);func GetChannelEmail(ctx *Context, name string, id IDInput, state *ChannelEmailState, opts ...ResourceOption) (*ChannelEmail, error)public static ChannelEmail Get(string name, Input<string> id, ChannelEmailState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- Email
Address string The email address that the Bot will authenticate with.
- Email
Password string The email password that the Bot will authenticate with.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- Bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- Email
Address string The email address that the Bot will authenticate with.
- Email
Password string The email password that the Bot will authenticate with.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- bot
Name string The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- email
Address string The email address that the Bot will authenticate with.
- email
Password string The email password that the Bot will authenticate with.
- location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
- bot_
name str The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
- email_
address str The email address that the Bot will authenticate with.
- email_
password str The email password that the Bot will authenticate with.
- location str
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.