1. Packages
  2. Dynatrace
  3. API Docs
  4. ManagedSmtp
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

dynatrace.ManagedSmtp

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse

    Create ManagedSmtp Resource

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

    Constructor syntax

    new ManagedSmtp(name: string, args: ManagedSmtpArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedSmtp(resource_name: str,
                    args: ManagedSmtpArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedSmtp(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    host_name: Optional[str] = None,
                    password: Optional[str] = None,
                    sender_email_address: Optional[str] = None,
                    user_name: Optional[str] = None,
                    allow_fallback_via_mission_control: Optional[bool] = None,
                    connection_security: Optional[str] = None,
                    is_password_configured: Optional[bool] = None,
                    port: Optional[int] = None,
                    use_smtp_server: Optional[bool] = None)
    func NewManagedSmtp(ctx *Context, name string, args ManagedSmtpArgs, opts ...ResourceOption) (*ManagedSmtp, error)
    public ManagedSmtp(string name, ManagedSmtpArgs args, CustomResourceOptions? opts = null)
    public ManagedSmtp(String name, ManagedSmtpArgs args)
    public ManagedSmtp(String name, ManagedSmtpArgs args, CustomResourceOptions options)
    
    type: dynatrace:ManagedSmtp
    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 ManagedSmtpArgs
    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 ManagedSmtpArgs
    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 ManagedSmtpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedSmtpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedSmtpArgs
    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 managedSmtpResource = new Dynatrace.ManagedSmtp("managedSmtpResource", new()
    {
        HostName = "string",
        Password = "string",
        SenderEmailAddress = "string",
        UserName = "string",
        AllowFallbackViaMissionControl = false,
        ConnectionSecurity = "string",
        IsPasswordConfigured = false,
        Port = 0,
        UseSmtpServer = false,
    });
    
    example, err := dynatrace.NewManagedSmtp(ctx, "managedSmtpResource", &dynatrace.ManagedSmtpArgs{
    	HostName:                       pulumi.String("string"),
    	Password:                       pulumi.String("string"),
    	SenderEmailAddress:             pulumi.String("string"),
    	UserName:                       pulumi.String("string"),
    	AllowFallbackViaMissionControl: pulumi.Bool(false),
    	ConnectionSecurity:             pulumi.String("string"),
    	IsPasswordConfigured:           pulumi.Bool(false),
    	Port:                           pulumi.Int(0),
    	UseSmtpServer:                  pulumi.Bool(false),
    })
    
    var managedSmtpResource = new ManagedSmtp("managedSmtpResource", ManagedSmtpArgs.builder()
        .hostName("string")
        .password("string")
        .senderEmailAddress("string")
        .userName("string")
        .allowFallbackViaMissionControl(false)
        .connectionSecurity("string")
        .isPasswordConfigured(false)
        .port(0)
        .useSmtpServer(false)
        .build());
    
    managed_smtp_resource = dynatrace.ManagedSmtp("managedSmtpResource",
        host_name="string",
        password="string",
        sender_email_address="string",
        user_name="string",
        allow_fallback_via_mission_control=False,
        connection_security="string",
        is_password_configured=False,
        port=0,
        use_smtp_server=False)
    
    const managedSmtpResource = new dynatrace.ManagedSmtp("managedSmtpResource", {
        hostName: "string",
        password: "string",
        senderEmailAddress: "string",
        userName: "string",
        allowFallbackViaMissionControl: false,
        connectionSecurity: "string",
        isPasswordConfigured: false,
        port: 0,
        useSmtpServer: false,
    });
    
    type: dynatrace:ManagedSmtp
    properties:
        allowFallbackViaMissionControl: false
        connectionSecurity: string
        hostName: string
        isPasswordConfigured: false
        password: string
        port: 0
        senderEmailAddress: string
        useSmtpServer: false
        userName: string
    

    ManagedSmtp Resource Properties

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

    Inputs

    The ManagedSmtp resource accepts the following input properties:

    HostName string
    Host Name
    Password string
    Password
    SenderEmailAddress string
    Sender email address
    UserName string
    User Name
    AllowFallbackViaMissionControl bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    ConnectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    IsPasswordConfigured bool
    If true, a password has been configured. Default: false.
    Port int
    Integer value of port. Default: 25
    UseSmtpServer bool
    If true, we will send e-mails via SMTP server.
    HostName string
    Host Name
    Password string
    Password
    SenderEmailAddress string
    Sender email address
    UserName string
    User Name
    AllowFallbackViaMissionControl bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    ConnectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    IsPasswordConfigured bool
    If true, a password has been configured. Default: false.
    Port int
    Integer value of port. Default: 25
    UseSmtpServer bool
    If true, we will send e-mails via SMTP server.
    hostName String
    Host Name
    password String
    Password
    senderEmailAddress String
    Sender email address
    userName String
    User Name
    allowFallbackViaMissionControl Boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity String
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    isPasswordConfigured Boolean
    If true, a password has been configured. Default: false.
    port Integer
    Integer value of port. Default: 25
    useSmtpServer Boolean
    If true, we will send e-mails via SMTP server.
    hostName string
    Host Name
    password string
    Password
    senderEmailAddress string
    Sender email address
    userName string
    User Name
    allowFallbackViaMissionControl boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    isPasswordConfigured boolean
    If true, a password has been configured. Default: false.
    port number
    Integer value of port. Default: 25
    useSmtpServer boolean
    If true, we will send e-mails via SMTP server.
    host_name str
    Host Name
    password str
    Password
    sender_email_address str
    Sender email address
    user_name str
    User Name
    allow_fallback_via_mission_control bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connection_security str
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    is_password_configured bool
    If true, a password has been configured. Default: false.
    port int
    Integer value of port. Default: 25
    use_smtp_server bool
    If true, we will send e-mails via SMTP server.
    hostName String
    Host Name
    password String
    Password
    senderEmailAddress String
    Sender email address
    userName String
    User Name
    allowFallbackViaMissionControl Boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity String
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    isPasswordConfigured Boolean
    If true, a password has been configured. Default: false.
    port Number
    Integer value of port. Default: 25
    useSmtpServer Boolean
    If true, we will send e-mails via SMTP server.

    Outputs

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

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

    Look up Existing ManagedSmtp Resource

    Get an existing ManagedSmtp 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?: ManagedSmtpState, opts?: CustomResourceOptions): ManagedSmtp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_fallback_via_mission_control: Optional[bool] = None,
            connection_security: Optional[str] = None,
            host_name: Optional[str] = None,
            is_password_configured: Optional[bool] = None,
            password: Optional[str] = None,
            port: Optional[int] = None,
            sender_email_address: Optional[str] = None,
            use_smtp_server: Optional[bool] = None,
            user_name: Optional[str] = None) -> ManagedSmtp
    func GetManagedSmtp(ctx *Context, name string, id IDInput, state *ManagedSmtpState, opts ...ResourceOption) (*ManagedSmtp, error)
    public static ManagedSmtp Get(string name, Input<string> id, ManagedSmtpState? state, CustomResourceOptions? opts = null)
    public static ManagedSmtp get(String name, Output<String> id, ManagedSmtpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AllowFallbackViaMissionControl bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    ConnectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    HostName string
    Host Name
    IsPasswordConfigured bool
    If true, a password has been configured. Default: false.
    Password string
    Password
    Port int
    Integer value of port. Default: 25
    SenderEmailAddress string
    Sender email address
    UseSmtpServer bool
    If true, we will send e-mails via SMTP server.
    UserName string
    User Name
    AllowFallbackViaMissionControl bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    ConnectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    HostName string
    Host Name
    IsPasswordConfigured bool
    If true, a password has been configured. Default: false.
    Password string
    Password
    Port int
    Integer value of port. Default: 25
    SenderEmailAddress string
    Sender email address
    UseSmtpServer bool
    If true, we will send e-mails via SMTP server.
    UserName string
    User Name
    allowFallbackViaMissionControl Boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity String
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    hostName String
    Host Name
    isPasswordConfigured Boolean
    If true, a password has been configured. Default: false.
    password String
    Password
    port Integer
    Integer value of port. Default: 25
    senderEmailAddress String
    Sender email address
    useSmtpServer Boolean
    If true, we will send e-mails via SMTP server.
    userName String
    User Name
    allowFallbackViaMissionControl boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity string
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    hostName string
    Host Name
    isPasswordConfigured boolean
    If true, a password has been configured. Default: false.
    password string
    Password
    port number
    Integer value of port. Default: 25
    senderEmailAddress string
    Sender email address
    useSmtpServer boolean
    If true, we will send e-mails via SMTP server.
    userName string
    User Name
    allow_fallback_via_mission_control bool
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connection_security str
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    host_name str
    Host Name
    is_password_configured bool
    If true, a password has been configured. Default: false.
    password str
    Password
    port int
    Integer value of port. Default: 25
    sender_email_address str
    Sender email address
    use_smtp_server bool
    If true, we will send e-mails via SMTP server.
    user_name str
    User Name
    allowFallbackViaMissionControl Boolean
    If true, we will send e-mails via Mission Control in case of problems with SMTP server.
    connectionSecurity String
    Connection security, possible values: NO_ENCRYPTION, OPTIONAL_STARTTLS, REQUIRE_STARTTLS, TLS. Default: NO_ENCRYPTION
    hostName String
    Host Name
    isPasswordConfigured Boolean
    If true, a password has been configured. Default: false.
    password String
    Password
    port Number
    Integer value of port. Default: 25
    senderEmailAddress String
    Sender email address
    useSmtpServer Boolean
    If true, we will send e-mails via SMTP server.
    userName String
    User Name

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse