ibm.EnSmtpUser
Explore with Pulumi AI
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:
- Instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- Description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- En
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- Smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- Description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- En
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- Smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- instance
Id String - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- description String
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- en
Smtp StringUser Id - The unique identifier of the en_smtp_user.
- smtp
Config StringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- en
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- instance_
id str - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- description str
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- en_
smtp_ struser_ id - The unique identifier of the en_smtp_user.
- smtp_
config_ strid - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- instance
Id String - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- description String
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- en
Smtp StringUser Id - The unique identifier of the en_smtp_user.
- smtp
Config StringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the EnSmtpUser resource produces the following output properties:
- Created
At string - (String) Updated time.
- Domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Updated
At string - (String) Updated time.
- User
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Created
At string - (String) Updated time.
- Domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Updated
At string - (String) Updated time.
- User
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At String - (String) Updated time.
- domain String
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- updated
At String - (String) Updated time.
- user
Id String - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username String
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At string - (String) Updated time.
- domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- updated
At string - (String) Updated time.
- user
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created_
at str - (String) Updated time.
- domain str
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- updated_
at str - (String) Updated time.
- user_
id str - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username str
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At String - (String) Updated time.
- domain String
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- 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 is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- updated
At String - (String) Updated time.
- user
Id String - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username String
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
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.
- Created
At string - (String) Updated time.
- Description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- Domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- En
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- Instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- Password string
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Updated
At string - (String) Updated time.
- User
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Created
At string - (String) Updated time.
- Description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- Domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- En
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- Instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- Password string
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Updated
At string - (String) Updated time.
- User
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- Username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At String - (String) Updated time.
- description String
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- domain String
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- en
Smtp StringUser Id - The unique identifier of the en_smtp_user.
- instance
Id String - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- password String
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- smtp
Config StringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- updated
At String - (String) Updated time.
- user
Id String - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username String
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At string - (String) Updated time.
- description string
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- domain string
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- en
Smtp stringUser Id - The unique identifier of the en_smtp_user.
- instance
Id string - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- password string
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- smtp
Config stringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- updated
At string - (String) Updated time.
- user
Id string - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username string
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created_
at str - (String) Updated time.
- description str
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- domain str
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- en_
smtp_ struser_ id - 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 is10
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]/
.
- Constraints: The maximum length is
- password str
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- smtp_
config_ strid - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- updated_
at str - (String) Updated time.
- user_
id str - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username str
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- created
At String - (String) Updated time.
- description String
- SMTP User description.
- Constraints: The maximum length is
250
characters. The minimum length is1
character. The value must match regular expression/[a-zA-Z 0-9-_\/.?:'";,+=!#@$%^&*() ]*/
.
- Constraints: The maximum length is
- domain String
- (String) Domain Name.
- Constraints: The maximum length is
512
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- en
Smtp StringUser Id - The unique identifier of the en_smtp_user.
- instance
Id String - Unique identifier for IBM Cloud Event Notifications instance.
- Constraints: The maximum length is
256
characters. The minimum length is10
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]/
.
- Constraints: The maximum length is
- password String
- (String) SMTP user password.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- smtp
Config StringId - (String) SMTP confg Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- updated
At String - (String) Updated time.
- user
Id String - (String) Id.
- Constraints: The maximum length is
100
characters. The minimum length is32
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}/
.
- Constraints: The maximum length is
- username String
- (String) SMTP user name.
- Constraints: The maximum length is
250
characters. The minimum length is3
characters. The value must match regular expression/.*/
.
- Constraints: The maximum length is
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.