ibm.EnSmtpConfiguration
Explore with Pulumi AI
Create, update, and delete en_smtp_configurations with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const enSmtpConfigurationInstance = new ibm.EnSmtpConfiguration("enSmtpConfigurationInstance", {
description: "SMTP Configuration",
domain: "domain",
instanceId: "instance_id",
verificationType: "",
});
import pulumi
import pulumi_ibm as ibm
en_smtp_configuration_instance = ibm.EnSmtpConfiguration("enSmtpConfigurationInstance",
description="SMTP Configuration",
domain="domain",
instance_id="instance_id",
verification_type="")
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.NewEnSmtpConfiguration(ctx, "enSmtpConfigurationInstance", &ibm.EnSmtpConfigurationArgs{
Description: pulumi.String("SMTP Configuration"),
Domain: pulumi.String("domain"),
InstanceId: pulumi.String("instance_id"),
VerificationType: pulumi.String(""),
})
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 enSmtpConfigurationInstance = new Ibm.EnSmtpConfiguration("enSmtpConfigurationInstance", new()
{
Description = "SMTP Configuration",
Domain = "domain",
InstanceId = "instance_id",
VerificationType = "",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnSmtpConfiguration;
import com.pulumi.ibm.EnSmtpConfigurationArgs;
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 enSmtpConfigurationInstance = new EnSmtpConfiguration("enSmtpConfigurationInstance", EnSmtpConfigurationArgs.builder()
.description("SMTP Configuration")
.domain("domain")
.instanceId("instance_id")
.verificationType("")
.build());
}
}
resources:
enSmtpConfigurationInstance:
type: ibm:EnSmtpConfiguration
properties:
description: SMTP Configuration
domain: domain
instanceId: instance_id
verificationType: ""
NOTE:
- To perform the verification for spf, dkim and en_authorization please follow the instructions here: https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-smtp-configurations#en-smtp-configurations-verify
verification_type
is SMTP Configuration update parameter which can be used to verify the status of verfication depending on the type of verification.
Create EnSmtpConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnSmtpConfiguration(name: string, args: EnSmtpConfigurationArgs, opts?: CustomResourceOptions);
@overload
def EnSmtpConfiguration(resource_name: str,
args: EnSmtpConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnSmtpConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
instance_id: Optional[str] = None,
description: Optional[str] = None,
ibm_en_smtp_configuration_id: Optional[str] = None,
name: Optional[str] = None,
verification_type: Optional[str] = None)
func NewEnSmtpConfiguration(ctx *Context, name string, args EnSmtpConfigurationArgs, opts ...ResourceOption) (*EnSmtpConfiguration, error)
public EnSmtpConfiguration(string name, EnSmtpConfigurationArgs args, CustomResourceOptions? opts = null)
public EnSmtpConfiguration(String name, EnSmtpConfigurationArgs args)
public EnSmtpConfiguration(String name, EnSmtpConfigurationArgs args, CustomResourceOptions options)
type: ibm:EnSmtpConfiguration
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 EnSmtpConfigurationArgs
- 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 EnSmtpConfigurationArgs
- 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 EnSmtpConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnSmtpConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnSmtpConfigurationArgs
- 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 enSmtpConfigurationResource = new Ibm.EnSmtpConfiguration("enSmtpConfigurationResource", new()
{
Domain = "string",
InstanceId = "string",
Description = "string",
IbmEnSmtpConfigurationId = "string",
Name = "string",
VerificationType = "string",
});
example, err := ibm.NewEnSmtpConfiguration(ctx, "enSmtpConfigurationResource", &ibm.EnSmtpConfigurationArgs{
Domain: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Description: pulumi.String("string"),
IbmEnSmtpConfigurationId: pulumi.String("string"),
Name: pulumi.String("string"),
VerificationType: pulumi.String("string"),
})
var enSmtpConfigurationResource = new EnSmtpConfiguration("enSmtpConfigurationResource", EnSmtpConfigurationArgs.builder()
.domain("string")
.instanceId("string")
.description("string")
.ibmEnSmtpConfigurationId("string")
.name("string")
.verificationType("string")
.build());
en_smtp_configuration_resource = ibm.EnSmtpConfiguration("enSmtpConfigurationResource",
domain="string",
instance_id="string",
description="string",
ibm_en_smtp_configuration_id="string",
name="string",
verification_type="string")
const enSmtpConfigurationResource = new ibm.EnSmtpConfiguration("enSmtpConfigurationResource", {
domain: "string",
instanceId: "string",
description: "string",
ibmEnSmtpConfigurationId: "string",
name: "string",
verificationType: "string",
});
type: ibm:EnSmtpConfiguration
properties:
description: string
domain: string
ibmEnSmtpConfigurationId: string
instanceId: string
name: string
verificationType: string
EnSmtpConfiguration 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 EnSmtpConfiguration resource accepts the following input properties:
- Domain 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
- 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 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
- Ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- Name string
- SMTP name.
- 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
- Verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- Domain 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
- 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 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
- Ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- Name string
- SMTP name.
- 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
- Verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- domain 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
- 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 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
- ibm
En StringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- name String
- SMTP name.
- 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
- verification
Type String - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- domain 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
- 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 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
- ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- name string
- SMTP name.
- 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
- verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- domain str
- 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
- 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 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
- ibm_
en_ strsmtp_ configuration_ id - The unique identifier of the en_smtp_configuration.
- name str
- SMTP name.
- 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
- verification_
type str - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- domain 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
- 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 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
- ibm
En StringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- name String
- SMTP name.
- 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
- verification
Type String - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnSmtpConfiguration resource produces the following output properties:
- Configs
List<En
Smtp Configuration Config> - (List) Payload describing a SMTP configuration. Nested schema for config:
- En
Smtp stringConfiguration Id - (String) SMTP 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
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - (String) Created time.
- Configs
[]En
Smtp Configuration Config - (List) Payload describing a SMTP configuration. Nested schema for config:
- En
Smtp stringConfiguration Id - (String) SMTP 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
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - (String) Created time.
- configs
List<En
Smtp Configuration Config> - (List) Payload describing a SMTP configuration. Nested schema for config:
- en
Smtp StringConfiguration Id - (String) SMTP 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
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - (String) Created time.
- configs
En
Smtp Configuration Config[] - (List) Payload describing a SMTP configuration. Nested schema for config:
- en
Smtp stringConfiguration Id - (String) SMTP 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
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At string - (String) Created time.
- configs
Sequence[En
Smtp Configuration Config] - (List) Payload describing a SMTP configuration. Nested schema for config:
- en_
smtp_ strconfiguration_ id - (String) SMTP 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
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - (String) Created time.
- configs List<Property Map>
- (List) Payload describing a SMTP configuration. Nested schema for config:
- en
Smtp StringConfiguration Id - (String) SMTP 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
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - (String) Created time.
Look up Existing EnSmtpConfiguration Resource
Get an existing EnSmtpConfiguration 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?: EnSmtpConfigurationState, opts?: CustomResourceOptions): EnSmtpConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configs: Optional[Sequence[EnSmtpConfigurationConfigArgs]] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
en_smtp_configuration_id: Optional[str] = None,
ibm_en_smtp_configuration_id: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
updated_at: Optional[str] = None,
verification_type: Optional[str] = None) -> EnSmtpConfiguration
func GetEnSmtpConfiguration(ctx *Context, name string, id IDInput, state *EnSmtpConfigurationState, opts ...ResourceOption) (*EnSmtpConfiguration, error)
public static EnSmtpConfiguration Get(string name, Input<string> id, EnSmtpConfigurationState? state, CustomResourceOptions? opts = null)
public static EnSmtpConfiguration get(String name, Output<String> id, EnSmtpConfigurationState state, CustomResourceOptions options)
resources: _: type: ibm:EnSmtpConfiguration 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.
- Configs
List<En
Smtp Configuration Config> - (List) Payload describing a SMTP configuration. Nested schema for config:
- Description string
- SMTP 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
- 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 stringConfiguration Id - (String) SMTP 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
- Ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- 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
- Name string
- SMTP name.
- 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
- Updated
At string - (String) Created time.
- Verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- Configs
[]En
Smtp Configuration Config Args - (List) Payload describing a SMTP configuration. Nested schema for config:
- Description string
- SMTP 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
- 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 stringConfiguration Id - (String) SMTP 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
- Ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- 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
- Name string
- SMTP name.
- 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
- Updated
At string - (String) Created time.
- Verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- configs
List<En
Smtp Configuration Config> - (List) Payload describing a SMTP configuration. Nested schema for config:
- description String
- SMTP 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
- 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 StringConfiguration Id - (String) SMTP 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
- ibm
En StringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- 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
- name String
- SMTP name.
- 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
- updated
At String - (String) Created time.
- verification
Type String - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- configs
En
Smtp Configuration Config[] - (List) Payload describing a SMTP configuration. Nested schema for config:
- description string
- SMTP 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
- 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 stringConfiguration Id - (String) SMTP 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
- ibm
En stringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- 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
- name string
- SMTP name.
- 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
- updated
At string - (String) Created time.
- verification
Type string - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- configs
Sequence[En
Smtp Configuration Config Args] - (List) Payload describing a SMTP configuration. Nested schema for config:
- description str
- SMTP 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
- 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_ strconfiguration_ id - (String) SMTP 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
- ibm_
en_ strsmtp_ configuration_ id - The unique identifier of the en_smtp_configuration.
- 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
- name str
- SMTP name.
- 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
- updated_
at str - (String) Created time.
- verification_
type str - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
- configs List<Property Map>
- (List) Payload describing a SMTP configuration. Nested schema for config:
- description String
- SMTP 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
- 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 StringConfiguration Id - (String) SMTP 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
- ibm
En StringSmtp Configuration Id - The unique identifier of the en_smtp_configuration.
- 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
- name String
- SMTP name.
- 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
- updated
At String - (String) Created time.
- verification
Type String - The verification_type qualified values are spf/dkim/en_authorization. This is only the update parameter.
Supporting Types
EnSmtpConfigurationConfig, EnSmtpConfigurationConfigArgs
- Dkims
List<En
Smtp Configuration Config Dkim> - (List) The DKIM attributes. Nested schema for dkim:
- List<En
Smtp Configuration Config En Authorization> - (List) The en_authorization attributes. Nested schema for en_authorization:
- Spfs
List<En
Smtp Configuration Config Spf> - (List) The SPF attributes. Nested schema for spf:
- Dkims
[]En
Smtp Configuration Config Dkim - (List) The DKIM attributes. Nested schema for dkim:
- []En
Smtp Configuration Config En Authorization - (List) The en_authorization attributes. Nested schema for en_authorization:
- Spfs
[]En
Smtp Configuration Config Spf - (List) The SPF attributes. Nested schema for spf:
- dkims
List<En
Smtp Configuration Config Dkim> - (List) The DKIM attributes. Nested schema for dkim:
- List<En
Smtp Configuration Config En Authorization> - (List) The en_authorization attributes. Nested schema for en_authorization:
- spfs
List<En
Smtp Configuration Config Spf> - (List) The SPF attributes. Nested schema for spf:
- dkims
En
Smtp Configuration Config Dkim[] - (List) The DKIM attributes. Nested schema for dkim:
- En
Smtp Configuration Config En Authorization[] - (List) The en_authorization attributes. Nested schema for en_authorization:
- spfs
En
Smtp Configuration Config Spf[] - (List) The SPF attributes. Nested schema for spf:
- dkims
Sequence[En
Smtp Configuration Config Dkim] - (List) The DKIM attributes. Nested schema for dkim:
- Sequence[En
Smtp Configuration Config En Authorization] - (List) The en_authorization attributes. Nested schema for en_authorization:
- spfs
Sequence[En
Smtp Configuration Config Spf] - (List) The SPF attributes. Nested schema for spf:
- dkims List<Property Map>
- (List) The DKIM attributes. Nested schema for dkim:
- List<Property Map>
- (List) The en_authorization attributes. Nested schema for en_authorization:
- spfs List<Property Map>
- (List) The SPF attributes. Nested schema for spf:
EnSmtpConfigurationConfigDkim, EnSmtpConfigurationConfigDkimArgs
- Txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name String - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value String - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt_
name str - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt_
value str - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification str
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name String - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value String - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
EnSmtpConfigurationConfigEnAuthorization, EnSmtpConfigurationConfigEnAuthorizationArgs
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification str
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
EnSmtpConfigurationConfigSpf, EnSmtpConfigurationConfigSpfArgs
- Txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- Verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name String - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value String - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name string - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value string - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification string
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt_
name str - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt_
value str - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification str
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Name String - (String) spf text name.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- txt
Value String - (String) spf text value.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
- verification String
- (String) spf verification.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/.*/
.
- Constraints: The maximum length is
Import
You can import the ibm_en_smtp_configuration
resource by using id
.
The id
property can be formed from instance_id
, and en_smtp_configuration_id
in the following format:
<instance_id>/<en_smtp_configuration_id>
instance_id
: A string. Unique identifier for IBM Cloud Event Notifications instance.en_smtp_configuration_id
: A string. SMTP ID.
Syntax
```sh $ pulumi import ibm:index/enSmtpConfiguration:EnSmtpConfiguration en_smtp_configuration/ ```
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.