1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. ManagementSmtpServer
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.ManagementSmtpServer

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    This resource allows you to execute Check Point Smtp Server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementSmtpServer("example", {
        port: 25,
        server: "smtp.example.com",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementSmtpServer("example",
        port=25,
        server="smtp.example.com")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.NewManagementSmtpServer(ctx, "example", &checkpoint.ManagementSmtpServerArgs{
    			Port:   pulumi.Float64(25),
    			Server: pulumi.String("smtp.example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementSmtpServer("example", new()
        {
            Port = 25,
            Server = "smtp.example.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementSmtpServer;
    import com.pulumi.checkpoint.ManagementSmtpServerArgs;
    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 example = new ManagementSmtpServer("example", ManagementSmtpServerArgs.builder()
                .port(25)
                .server("smtp.example.com")
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementSmtpServer
        properties:
          port: 25
          server: smtp.example.com
    

    Create ManagementSmtpServer Resource

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

    Constructor syntax

    new ManagementSmtpServer(name: string, args?: ManagementSmtpServerArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementSmtpServer(resource_name: str,
                             args: Optional[ManagementSmtpServerArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementSmtpServer(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             authentication: Optional[bool] = None,
                             color: Optional[str] = None,
                             comments: Optional[str] = None,
                             domains_to_processes: Optional[Sequence[str]] = None,
                             encryption: Optional[str] = None,
                             ignore_errors: Optional[bool] = None,
                             ignore_warnings: Optional[bool] = None,
                             management_smtp_server_id: Optional[str] = None,
                             name: Optional[str] = None,
                             password: Optional[str] = None,
                             port: Optional[float] = None,
                             server: Optional[str] = None,
                             tags: Optional[Sequence[str]] = None,
                             username: Optional[str] = None)
    func NewManagementSmtpServer(ctx *Context, name string, args *ManagementSmtpServerArgs, opts ...ResourceOption) (*ManagementSmtpServer, error)
    public ManagementSmtpServer(string name, ManagementSmtpServerArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementSmtpServer(String name, ManagementSmtpServerArgs args)
    public ManagementSmtpServer(String name, ManagementSmtpServerArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementSmtpServer
    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 ManagementSmtpServerArgs
    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 ManagementSmtpServerArgs
    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 ManagementSmtpServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementSmtpServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementSmtpServerArgs
    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 managementSmtpServerResource = new Checkpoint.ManagementSmtpServer("managementSmtpServerResource", new()
    {
        Authentication = false,
        Color = "string",
        Comments = "string",
        DomainsToProcesses = new[]
        {
            "string",
        },
        Encryption = "string",
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementSmtpServerId = "string",
        Name = "string",
        Password = "string",
        Port = 0,
        Server = "string",
        Tags = new[]
        {
            "string",
        },
        Username = "string",
    });
    
    example, err := checkpoint.NewManagementSmtpServer(ctx, "managementSmtpServerResource", &checkpoint.ManagementSmtpServerArgs{
    	Authentication: pulumi.Bool(false),
    	Color:          pulumi.String("string"),
    	Comments:       pulumi.String("string"),
    	DomainsToProcesses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Encryption:             pulumi.String("string"),
    	IgnoreErrors:           pulumi.Bool(false),
    	IgnoreWarnings:         pulumi.Bool(false),
    	ManagementSmtpServerId: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Password:               pulumi.String("string"),
    	Port:                   pulumi.Float64(0),
    	Server:                 pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Username: pulumi.String("string"),
    })
    
    var managementSmtpServerResource = new ManagementSmtpServer("managementSmtpServerResource", ManagementSmtpServerArgs.builder()
        .authentication(false)
        .color("string")
        .comments("string")
        .domainsToProcesses("string")
        .encryption("string")
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementSmtpServerId("string")
        .name("string")
        .password("string")
        .port(0)
        .server("string")
        .tags("string")
        .username("string")
        .build());
    
    management_smtp_server_resource = checkpoint.ManagementSmtpServer("managementSmtpServerResource",
        authentication=False,
        color="string",
        comments="string",
        domains_to_processes=["string"],
        encryption="string",
        ignore_errors=False,
        ignore_warnings=False,
        management_smtp_server_id="string",
        name="string",
        password="string",
        port=0,
        server="string",
        tags=["string"],
        username="string")
    
    const managementSmtpServerResource = new checkpoint.ManagementSmtpServer("managementSmtpServerResource", {
        authentication: false,
        color: "string",
        comments: "string",
        domainsToProcesses: ["string"],
        encryption: "string",
        ignoreErrors: false,
        ignoreWarnings: false,
        managementSmtpServerId: "string",
        name: "string",
        password: "string",
        port: 0,
        server: "string",
        tags: ["string"],
        username: "string",
    });
    
    type: checkpoint:ManagementSmtpServer
    properties:
        authentication: false
        color: string
        comments: string
        domainsToProcesses:
            - string
        encryption: string
        ignoreErrors: false
        ignoreWarnings: false
        managementSmtpServerId: string
        name: string
        password: string
        port: 0
        server: string
        tags:
            - string
        username: string
    

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

    Authentication bool
    Does the mail server requires authentication.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    DomainsToProcesses List<string>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    Encryption string
    Encryption type.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSmtpServerId string
    Name string
    Object name.
    Password string
    A password for the SMTP server.Required only if authentication is set to true.
    Port double
    The SMTP port to use.
    Server string
    The SMTP server address.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    Username string
    A username for the SMTP server.Required only if authentication is set to true.
    Authentication bool
    Does the mail server requires authentication.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    DomainsToProcesses []string
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    Encryption string
    Encryption type.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSmtpServerId string
    Name string
    Object name.
    Password string
    A password for the SMTP server.Required only if authentication is set to true.
    Port float64
    The SMTP port to use.
    Server string
    The SMTP server address.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    Username string
    A username for the SMTP server.Required only if authentication is set to true.
    authentication Boolean
    Does the mail server requires authentication.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    domainsToProcesses List<String>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption String
    Encryption type.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSmtpServerId String
    name String
    Object name.
    password String
    A password for the SMTP server.Required only if authentication is set to true.
    port Double
    The SMTP port to use.
    server String
    The SMTP server address.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    username String
    A username for the SMTP server.Required only if authentication is set to true.
    authentication boolean
    Does the mail server requires authentication.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    domainsToProcesses string[]
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption string
    Encryption type.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementSmtpServerId string
    name string
    Object name.
    password string
    A password for the SMTP server.Required only if authentication is set to true.
    port number
    The SMTP port to use.
    server string
    The SMTP server address.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    username string
    A username for the SMTP server.Required only if authentication is set to true.
    authentication bool
    Does the mail server requires authentication.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    domains_to_processes Sequence[str]
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption str
    Encryption type.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_smtp_server_id str
    name str
    Object name.
    password str
    A password for the SMTP server.Required only if authentication is set to true.
    port float
    The SMTP port to use.
    server str
    The SMTP server address.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    username str
    A username for the SMTP server.Required only if authentication is set to true.
    authentication Boolean
    Does the mail server requires authentication.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    domainsToProcesses List<String>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption String
    Encryption type.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSmtpServerId String
    name String
    Object name.
    password String
    A password for the SMTP server.Required only if authentication is set to true.
    port Number
    The SMTP port to use.
    server String
    The SMTP server address.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    username String
    A username for the SMTP server.Required only if authentication is set to true.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementSmtpServer 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 ManagementSmtpServer Resource

    Get an existing ManagementSmtpServer 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?: ManagementSmtpServerState, opts?: CustomResourceOptions): ManagementSmtpServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[bool] = None,
            color: Optional[str] = None,
            comments: Optional[str] = None,
            domains_to_processes: Optional[Sequence[str]] = None,
            encryption: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_smtp_server_id: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[float] = None,
            server: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            username: Optional[str] = None) -> ManagementSmtpServer
    func GetManagementSmtpServer(ctx *Context, name string, id IDInput, state *ManagementSmtpServerState, opts ...ResourceOption) (*ManagementSmtpServer, error)
    public static ManagementSmtpServer Get(string name, Input<string> id, ManagementSmtpServerState? state, CustomResourceOptions? opts = null)
    public static ManagementSmtpServer get(String name, Output<String> id, ManagementSmtpServerState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementSmtpServer    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Authentication bool
    Does the mail server requires authentication.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    DomainsToProcesses List<string>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    Encryption string
    Encryption type.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSmtpServerId string
    Name string
    Object name.
    Password string
    A password for the SMTP server.Required only if authentication is set to true.
    Port double
    The SMTP port to use.
    Server string
    The SMTP server address.
    Tags List<string>
    Collection of tag identifiers.tags blocks are documented below.
    Username string
    A username for the SMTP server.Required only if authentication is set to true.
    Authentication bool
    Does the mail server requires authentication.
    Color string
    Color of the object. Should be one of existing colors.
    Comments string
    Comments string.
    DomainsToProcesses []string
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    Encryption string
    Encryption type.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSmtpServerId string
    Name string
    Object name.
    Password string
    A password for the SMTP server.Required only if authentication is set to true.
    Port float64
    The SMTP port to use.
    Server string
    The SMTP server address.
    Tags []string
    Collection of tag identifiers.tags blocks are documented below.
    Username string
    A username for the SMTP server.Required only if authentication is set to true.
    authentication Boolean
    Does the mail server requires authentication.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    domainsToProcesses List<String>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption String
    Encryption type.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSmtpServerId String
    name String
    Object name.
    password String
    A password for the SMTP server.Required only if authentication is set to true.
    port Double
    The SMTP port to use.
    server String
    The SMTP server address.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    username String
    A username for the SMTP server.Required only if authentication is set to true.
    authentication boolean
    Does the mail server requires authentication.
    color string
    Color of the object. Should be one of existing colors.
    comments string
    Comments string.
    domainsToProcesses string[]
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption string
    Encryption type.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementSmtpServerId string
    name string
    Object name.
    password string
    A password for the SMTP server.Required only if authentication is set to true.
    port number
    The SMTP port to use.
    server string
    The SMTP server address.
    tags string[]
    Collection of tag identifiers.tags blocks are documented below.
    username string
    A username for the SMTP server.Required only if authentication is set to true.
    authentication bool
    Does the mail server requires authentication.
    color str
    Color of the object. Should be one of existing colors.
    comments str
    Comments string.
    domains_to_processes Sequence[str]
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption str
    Encryption type.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_smtp_server_id str
    name str
    Object name.
    password str
    A password for the SMTP server.Required only if authentication is set to true.
    port float
    The SMTP port to use.
    server str
    The SMTP server address.
    tags Sequence[str]
    Collection of tag identifiers.tags blocks are documented below.
    username str
    A username for the SMTP server.Required only if authentication is set to true.
    authentication Boolean
    Does the mail server requires authentication.
    color String
    Color of the object. Should be one of existing colors.
    comments String
    Comments string.
    domainsToProcesses List<String>
    Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.domains_to_process blocks are documented below.
    encryption String
    Encryption type.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSmtpServerId String
    name String
    Object name.
    password String
    A password for the SMTP server.Required only if authentication is set to true.
    port Number
    The SMTP port to use.
    server String
    The SMTP server address.
    tags List<String>
    Collection of tag identifiers.tags blocks are documented below.
    username String
    A username for the SMTP server.Required only if authentication is set to true.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw