1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnSmtpUser
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.EnSmtpUser

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, and delete en_smtp_users with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const enSmtpUserInstance = new ibm.EnSmtpUser("enSmtpUserInstance", {
        instanceId: "instance_id",
        description: "test-user",
        smtpConfigId: ibm_en_smtp_configuration.tf_smtp_config.en_smtp_configuration_id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    en_smtp_user_instance = ibm.EnSmtpUser("enSmtpUserInstance",
        instance_id="instance_id",
        description="test-user",
        smtp_config_id=ibm_en_smtp_configuration["tf_smtp_config"]["en_smtp_configuration_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewEnSmtpUser(ctx, "enSmtpUserInstance", &ibm.EnSmtpUserArgs{
    			InstanceId:   pulumi.String("instance_id"),
    			Description:  pulumi.String("test-user"),
    			SmtpConfigId: pulumi.Any(ibm_en_smtp_configuration.Tf_smtp_config.En_smtp_configuration_id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var enSmtpUserInstance = new Ibm.EnSmtpUser("enSmtpUserInstance", new()
        {
            InstanceId = "instance_id",
            Description = "test-user",
            SmtpConfigId = ibm_en_smtp_configuration.Tf_smtp_config.En_smtp_configuration_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnSmtpUser;
    import com.pulumi.ibm.EnSmtpUserArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var enSmtpUserInstance = new EnSmtpUser("enSmtpUserInstance", EnSmtpUserArgs.builder()
                .instanceId("instance_id")
                .description("test-user")
                .smtpConfigId(ibm_en_smtp_configuration.tf_smtp_config().en_smtp_configuration_id())
                .build());
    
        }
    }
    
    resources:
      enSmtpUserInstance:
        type: ibm:EnSmtpUser
        properties:
          instanceId: instance_id
          description: test-user
          smtpConfigId: ${ibm_en_smtp_configuration.tf_smtp_config.en_smtp_configuration_id}
    

    Create EnSmtpUser Resource

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

    Constructor syntax

    new EnSmtpUser(name: string, args: EnSmtpUserArgs, opts?: CustomResourceOptions);
    @overload
    def EnSmtpUser(resource_name: str,
                   args: EnSmtpUserArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnSmtpUser(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   instance_id: Optional[str] = None,
                   description: Optional[str] = None,
                   en_smtp_user_id: Optional[str] = None,
                   smtp_config_id: Optional[str] = None)
    func NewEnSmtpUser(ctx *Context, name string, args EnSmtpUserArgs, opts ...ResourceOption) (*EnSmtpUser, error)
    public EnSmtpUser(string name, EnSmtpUserArgs args, CustomResourceOptions? opts = null)
    public EnSmtpUser(String name, EnSmtpUserArgs args)
    public EnSmtpUser(String name, EnSmtpUserArgs args, CustomResourceOptions options)
    
    type: ibm:EnSmtpUser
    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 EnSmtpUserArgs
    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 EnSmtpUserArgs
    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 EnSmtpUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnSmtpUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnSmtpUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var enSmtpUserResource = new Ibm.EnSmtpUser("enSmtpUserResource", new()
    {
        InstanceId = "string",
        Description = "string",
        EnSmtpUserId = "string",
        SmtpConfigId = "string",
    });
    
    example, err := ibm.NewEnSmtpUser(ctx, "enSmtpUserResource", &ibm.EnSmtpUserArgs{
    	InstanceId:   pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	EnSmtpUserId: pulumi.String("string"),
    	SmtpConfigId: pulumi.String("string"),
    })
    
    var enSmtpUserResource = new EnSmtpUser("enSmtpUserResource", EnSmtpUserArgs.builder()
        .instanceId("string")
        .description("string")
        .enSmtpUserId("string")
        .smtpConfigId("string")
        .build());
    
    en_smtp_user_resource = ibm.EnSmtpUser("enSmtpUserResource",
        instance_id="string",
        description="string",
        en_smtp_user_id="string",
        smtp_config_id="string")
    
    const enSmtpUserResource = new ibm.EnSmtpUser("enSmtpUserResource", {
        instanceId: "string",
        description: "string",
        enSmtpUserId: "string",
        smtpConfigId: "string",
    });
    
    type: ibm:EnSmtpUser
    properties:
        description: string
        enSmtpUserId: string
        instanceId: string
        smtpConfigId: string
    

    EnSmtpUser 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 EnSmtpUser resource accepts the following input properties:

    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    EnSmtpUserId string
    The unique identifier of the en_smtp_user.
    SmtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    EnSmtpUserId string
    The unique identifier of the en_smtp_user.
    SmtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description String
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    enSmtpUserId String
    The unique identifier of the en_smtp_user.
    smtpConfigId String
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    instanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    enSmtpUserId string
    The unique identifier of the en_smtp_user.
    smtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    instance_id str
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description str
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    en_smtp_user_id str
    The unique identifier of the en_smtp_user.
    smtp_config_id str
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    description String
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    enSmtpUserId String
    The unique identifier of the en_smtp_user.
    smtpConfigId String
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.

    Outputs

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

    CreatedAt string
    (String) Updated time.
    Domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    UpdatedAt string
    (String) Updated time.
    UserId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    CreatedAt string
    (String) Updated time.
    Domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    UpdatedAt string
    (String) Updated time.
    UserId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt String
    (String) Updated time.
    domain String
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    updatedAt String
    (String) Updated time.
    userId String
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username String
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt string
    (String) Updated time.
    domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    id string
    The provider-assigned unique ID for this managed resource.
    password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    updatedAt string
    (String) Updated time.
    userId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    created_at str
    (String) Updated time.
    domain str
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    id str
    The provider-assigned unique ID for this managed resource.
    password str
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    updated_at str
    (String) Updated time.
    user_id str
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username str
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt String
    (String) Updated time.
    domain String
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    updatedAt String
    (String) Updated time.
    userId String
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username String
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.

    Look up Existing EnSmtpUser Resource

    Get an existing EnSmtpUser 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?: EnSmtpUserState, opts?: CustomResourceOptions): EnSmtpUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            en_smtp_user_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            password: Optional[str] = None,
            smtp_config_id: Optional[str] = None,
            updated_at: Optional[str] = None,
            user_id: Optional[str] = None,
            username: Optional[str] = None) -> EnSmtpUser
    func GetEnSmtpUser(ctx *Context, name string, id IDInput, state *EnSmtpUserState, opts ...ResourceOption) (*EnSmtpUser, error)
    public static EnSmtpUser Get(string name, Input<string> id, EnSmtpUserState? state, CustomResourceOptions? opts = null)
    public static EnSmtpUser get(String name, Output<String> id, EnSmtpUserState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnSmtpUser    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:
    CreatedAt string
    (String) Updated time.
    Description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    Domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    EnSmtpUserId string
    The unique identifier of the en_smtp_user.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    SmtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    UpdatedAt string
    (String) Updated time.
    UserId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    CreatedAt string
    (String) Updated time.
    Description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    Domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    EnSmtpUserId string
    The unique identifier of the en_smtp_user.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    SmtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    UpdatedAt string
    (String) Updated time.
    UserId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    Username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt String
    (String) Updated time.
    description String
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain String
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpUserId String
    The unique identifier of the en_smtp_user.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    password String
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    smtpConfigId String
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    updatedAt String
    (String) Updated time.
    userId String
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username String
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt string
    (String) Updated time.
    description string
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain string
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpUserId string
    The unique identifier of the en_smtp_user.
    instanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    password string
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    smtpConfigId string
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    updatedAt string
    (String) Updated time.
    userId string
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username string
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    created_at str
    (String) Updated time.
    description str
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain str
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    en_smtp_user_id str
    The unique identifier of the en_smtp_user.
    instance_id str
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    password str
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    smtp_config_id str
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    updated_at str
    (String) Updated time.
    user_id str
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username str
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    createdAt String
    (String) Updated time.
    description String
    SMTP User description.

    • Constraints: The maximum length is 250 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/.
    domain String
    (String) Domain Name.

    • Constraints: The maximum length is 512 characters. The minimum length is 1 character. The value must match regular expression /.*/.
    enSmtpUserId String
    The unique identifier of the en_smtp_user.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    password String
    (String) SMTP user password.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.
    smtpConfigId String
    (String) SMTP confg Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    updatedAt String
    (String) Updated time.
    userId String
    (String) Id.

    • Constraints: The maximum length is 100 characters. The minimum length is 32 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    username String
    (String) SMTP user name.

    • Constraints: The maximum length is 250 characters. The minimum length is 3 characters. The value must match regular expression /.*/.

    Import

    You can import the ibm_en_smtp_user resource by using id.

    The id property can be formed from instance_id, and user_id in the following format:

    
    <instance_id>/<user_id>
    
    
    • instance_id: A string. Unique identifier for IBM Cloud Event Notifications instance.

    • user_id: A string. Id.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/enSmtpUser:EnSmtpUser en_smtp_user /
    ```
    
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud