1. Packages
  2. Routeros Provider
  3. API Docs
  4. ToolEmail
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.ToolEmail

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Create ToolEmail Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ToolEmail(name: string, args?: ToolEmailArgs, opts?: CustomResourceOptions);
    @overload
    def ToolEmail(resource_name: str,
                  args: Optional[ToolEmailArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ToolEmail(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  ___id_: Optional[float] = None,
                  ___path_: Optional[str] = None,
                  from_: Optional[str] = None,
                  password: Optional[str] = None,
                  port: Optional[str] = None,
                  server: Optional[str] = None,
                  tls: Optional[str] = None,
                  tool_email_id: Optional[str] = None,
                  user: Optional[str] = None,
                  vrf: Optional[str] = None)
    func NewToolEmail(ctx *Context, name string, args *ToolEmailArgs, opts ...ResourceOption) (*ToolEmail, error)
    public ToolEmail(string name, ToolEmailArgs? args = null, CustomResourceOptions? opts = null)
    public ToolEmail(String name, ToolEmailArgs args)
    public ToolEmail(String name, ToolEmailArgs args, CustomResourceOptions options)
    
    type: routeros:ToolEmail
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ToolEmailArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ToolEmailArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ToolEmailArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ToolEmailArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ToolEmailArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ToolEmail Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ToolEmail resource accepts the following input properties:

    From string
    Name or email address that will be shown as a receiver.
    Password string
    Password used for authenticating to an SMTP server.
    Port string
    SMTP server's port.
    Server string
    SMTP server's IP address.
    Tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    ToolEmailId string
    User string
    The username used for authenticating to an SMTP server.
    Vrf string
    The VRF table this resource operates on.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    From string
    Name or email address that will be shown as a receiver.
    Password string
    Password used for authenticating to an SMTP server.
    Port string
    SMTP server's port.
    Server string
    SMTP server's IP address.
    Tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    ToolEmailId string
    User string
    The username used for authenticating to an SMTP server.
    Vrf string
    The VRF table this resource operates on.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from String
    Name or email address that will be shown as a receiver.
    password String
    Password used for authenticating to an SMTP server.
    port String
    SMTP server's port.
    server String
    SMTP server's IP address.
    tls String
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId String
    user String
    The username used for authenticating to an SMTP server.
    vrf String
    The VRF table this resource operates on.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from string
    Name or email address that will be shown as a receiver.
    password string
    Password used for authenticating to an SMTP server.
    port string
    SMTP server's port.
    server string
    SMTP server's IP address.
    tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId string
    user string
    The username used for authenticating to an SMTP server.
    vrf string
    The VRF table this resource operates on.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from_ str
    Name or email address that will be shown as a receiver.
    password str
    Password used for authenticating to an SMTP server.
    port str
    SMTP server's port.
    server str
    SMTP server's IP address.
    tls str
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    tool_email_id str
    user str
    The username used for authenticating to an SMTP server.
    vrf str
    The VRF table this resource operates on.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from String
    Name or email address that will be shown as a receiver.
    password String
    Password used for authenticating to an SMTP server.
    port String
    SMTP server's port.
    server String
    SMTP server's IP address.
    tls String
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId String
    user String
    The username used for authenticating to an SMTP server.
    vrf String
    The VRF table this resource operates on.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ToolEmail resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ToolEmail Resource

    Get an existing ToolEmail 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?: ToolEmailState, opts?: CustomResourceOptions): ToolEmail
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            from_: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[str] = None,
            server: Optional[str] = None,
            tls: Optional[str] = None,
            tool_email_id: Optional[str] = None,
            user: Optional[str] = None,
            vrf: Optional[str] = None) -> ToolEmail
    func GetToolEmail(ctx *Context, name string, id IDInput, state *ToolEmailState, opts ...ResourceOption) (*ToolEmail, error)
    public static ToolEmail Get(string name, Input<string> id, ToolEmailState? state, CustomResourceOptions? opts = null)
    public static ToolEmail get(String name, Output<String> id, ToolEmailState state, CustomResourceOptions options)
    resources:  _:    type: routeros:ToolEmail    get:      id: ${id}
    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.
    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:
    From string
    Name or email address that will be shown as a receiver.
    Password string
    Password used for authenticating to an SMTP server.
    Port string
    SMTP server's port.
    Server string
    SMTP server's IP address.
    Tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    ToolEmailId string
    User string
    The username used for authenticating to an SMTP server.
    Vrf string
    The VRF table this resource operates on.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    From string
    Name or email address that will be shown as a receiver.
    Password string
    Password used for authenticating to an SMTP server.
    Port string
    SMTP server's port.
    Server string
    SMTP server's IP address.
    Tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    ToolEmailId string
    User string
    The username used for authenticating to an SMTP server.
    Vrf string
    The VRF table this resource operates on.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from String
    Name or email address that will be shown as a receiver.
    password String
    Password used for authenticating to an SMTP server.
    port String
    SMTP server's port.
    server String
    SMTP server's IP address.
    tls String
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId String
    user String
    The username used for authenticating to an SMTP server.
    vrf String
    The VRF table this resource operates on.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from string
    Name or email address that will be shown as a receiver.
    password string
    Password used for authenticating to an SMTP server.
    port string
    SMTP server's port.
    server string
    SMTP server's IP address.
    tls string
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId string
    user string
    The username used for authenticating to an SMTP server.
    vrf string
    The VRF table this resource operates on.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from_ str
    Name or email address that will be shown as a receiver.
    password str
    Password used for authenticating to an SMTP server.
    port str
    SMTP server's port.
    server str
    SMTP server's IP address.
    tls str
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    tool_email_id str
    user str
    The username used for authenticating to an SMTP server.
    vrf str
    The VRF table this resource operates on.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    from String
    Name or email address that will be shown as a receiver.
    password String
    Password used for authenticating to an SMTP server.
    port String
    SMTP server's port.
    server String
    SMTP server's IP address.
    tls String
    Whether to use TLS encryption: * yes - sends STARTTLS and drops the session if TLS is not available on the server * no - do not send STARTTLS * starttls - sends STARTTLS and continue without TLS if a server responds that TLS is not available
    toolEmailId String
    user String
    The username used for authenticating to an SMTP server.
    vrf String
    The VRF table this resource operates on.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros