@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
145 lines (144 loc) • 4.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ManagedSmtp extends pulumi.CustomResource {
/**
* Get an existing ManagedSmtp resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ManagedSmtpState, opts?: pulumi.CustomResourceOptions): ManagedSmtp;
/**
* Returns true if the given object is an instance of ManagedSmtp. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ManagedSmtp;
/**
* If true, we will send e-mails via Mission Control in case of problems with SMTP server.
*/
readonly allowFallbackViaMissionControl: pulumi.Output<boolean | undefined>;
/**
* Connection security, possible values: `NO_ENCRYPTION`, `OPTIONAL_STARTTLS`, `REQUIRE_STARTTLS`, `TLS`. Default: `NO_ENCRYPTION`
*/
readonly connectionSecurity: pulumi.Output<string | undefined>;
/**
* Host Name
*/
readonly hostName: pulumi.Output<string>;
/**
* If true, a password has been configured. Default: `false`.
*/
readonly isPasswordConfigured: pulumi.Output<boolean | undefined>;
/**
* Password
*/
readonly password: pulumi.Output<string>;
/**
* Integer value of port. Default: `25`
*/
readonly port: pulumi.Output<number | undefined>;
/**
* Sender email address
*/
readonly senderEmailAddress: pulumi.Output<string>;
/**
* If true, we will send e-mails via SMTP server.
*/
readonly useSmtpServer: pulumi.Output<boolean | undefined>;
/**
* User Name
*/
readonly userName: pulumi.Output<string>;
/**
* Create a ManagedSmtp resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ManagedSmtpArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ManagedSmtp resources.
*/
export interface ManagedSmtpState {
/**
* If true, we will send e-mails via Mission Control in case of problems with SMTP server.
*/
allowFallbackViaMissionControl?: pulumi.Input<boolean>;
/**
* Connection security, possible values: `NO_ENCRYPTION`, `OPTIONAL_STARTTLS`, `REQUIRE_STARTTLS`, `TLS`. Default: `NO_ENCRYPTION`
*/
connectionSecurity?: pulumi.Input<string>;
/**
* Host Name
*/
hostName?: pulumi.Input<string>;
/**
* If true, a password has been configured. Default: `false`.
*/
isPasswordConfigured?: pulumi.Input<boolean>;
/**
* Password
*/
password?: pulumi.Input<string>;
/**
* Integer value of port. Default: `25`
*/
port?: pulumi.Input<number>;
/**
* Sender email address
*/
senderEmailAddress?: pulumi.Input<string>;
/**
* If true, we will send e-mails via SMTP server.
*/
useSmtpServer?: pulumi.Input<boolean>;
/**
* User Name
*/
userName?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ManagedSmtp resource.
*/
export interface ManagedSmtpArgs {
/**
* If true, we will send e-mails via Mission Control in case of problems with SMTP server.
*/
allowFallbackViaMissionControl?: pulumi.Input<boolean>;
/**
* Connection security, possible values: `NO_ENCRYPTION`, `OPTIONAL_STARTTLS`, `REQUIRE_STARTTLS`, `TLS`. Default: `NO_ENCRYPTION`
*/
connectionSecurity?: pulumi.Input<string>;
/**
* Host Name
*/
hostName: pulumi.Input<string>;
/**
* If true, a password has been configured. Default: `false`.
*/
isPasswordConfigured?: pulumi.Input<boolean>;
/**
* Password
*/
password: pulumi.Input<string>;
/**
* Integer value of port. Default: `25`
*/
port?: pulumi.Input<number>;
/**
* Sender email address
*/
senderEmailAddress: pulumi.Input<string>;
/**
* If true, we will send e-mails via SMTP server.
*/
useSmtpServer?: pulumi.Input<boolean>;
/**
* User Name
*/
userName: pulumi.Input<string>;
}