1. Packages
  2. Intersight Provider
  3. API Docs
  4. SmtpPolicy
intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet

intersight.SmtpPolicy

Explore with Pulumi AI

intersight logo
intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet

    Name that identifies the SMTP Policy.

    Usage Example

    Resource Creation

    import * as pulumi from "@pulumi/pulumi";
    import * as intersight from "@pulumi/intersight";
    
    const config = new pulumi.Config();
    const organization = config.require("organization");
    const profile = config.require("profile");
    const smtp1 = new intersight.SmtpPolicy("smtp1", {
        enabled: false,
        description: "testing smtp policy",
        smtpPort: 32,
        minSeverity: "critical",
        smtpServer: "10.10.10.1",
        senderEmail: "IMCSQAAutomation@cisco.com",
        smtpRecipients: [
            "aw@cisco.com",
            "cy@cisco.com",
            "dz@cisco.com",
        ],
        organizations: [{
            objectType: "organization.Organization",
            moid: organization,
        }],
        profiles: [{
            moid: profile,
            objectType: "server.Profile",
        }],
    });
    
    import pulumi
    import pulumi_intersight as intersight
    
    config = pulumi.Config()
    organization = config.require("organization")
    profile = config.require("profile")
    smtp1 = intersight.SmtpPolicy("smtp1",
        enabled=False,
        description="testing smtp policy",
        smtp_port=32,
        min_severity="critical",
        smtp_server="10.10.10.1",
        sender_email="IMCSQAAutomation@cisco.com",
        smtp_recipients=[
            "aw@cisco.com",
            "cy@cisco.com",
            "dz@cisco.com",
        ],
        organizations=[{
            "object_type": "organization.Organization",
            "moid": organization,
        }],
        profiles=[{
            "moid": profile,
            "object_type": "server.Profile",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/intersight/intersight"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		organization := cfg.Require("organization")
    		profile := cfg.Require("profile")
    		_, err := intersight.NewSmtpPolicy(ctx, "smtp1", &intersight.SmtpPolicyArgs{
    			Enabled:     pulumi.Bool(false),
    			Description: pulumi.String("testing smtp policy"),
    			SmtpPort:    pulumi.Float64(32),
    			MinSeverity: pulumi.String("critical"),
    			SmtpServer:  pulumi.String("10.10.10.1"),
    			SenderEmail: pulumi.String("IMCSQAAutomation@cisco.com"),
    			SmtpRecipients: pulumi.StringArray{
    				pulumi.String("aw@cisco.com"),
    				pulumi.String("cy@cisco.com"),
    				pulumi.String("dz@cisco.com"),
    			},
    			Organizations: intersight.SmtpPolicyOrganizationArray{
    				&intersight.SmtpPolicyOrganizationArgs{
    					ObjectType: pulumi.String("organization.Organization"),
    					Moid:       pulumi.String(organization),
    				},
    			},
    			Profiles: intersight.SmtpPolicyProfileArray{
    				&intersight.SmtpPolicyProfileArgs{
    					Moid:       pulumi.String(profile),
    					ObjectType: pulumi.String("server.Profile"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Intersight = Pulumi.Intersight;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var organization = config.Require("organization");
        var profile = config.Require("profile");
        var smtp1 = new Intersight.SmtpPolicy("smtp1", new()
        {
            Enabled = false,
            Description = "testing smtp policy",
            SmtpPort = 32,
            MinSeverity = "critical",
            SmtpServer = "10.10.10.1",
            SenderEmail = "IMCSQAAutomation@cisco.com",
            SmtpRecipients = new[]
            {
                "aw@cisco.com",
                "cy@cisco.com",
                "dz@cisco.com",
            },
            Organizations = new[]
            {
                new Intersight.Inputs.SmtpPolicyOrganizationArgs
                {
                    ObjectType = "organization.Organization",
                    Moid = organization,
                },
            },
            Profiles = new[]
            {
                new Intersight.Inputs.SmtpPolicyProfileArgs
                {
                    Moid = profile,
                    ObjectType = "server.Profile",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.intersight.SmtpPolicy;
    import com.pulumi.intersight.SmtpPolicyArgs;
    import com.pulumi.intersight.inputs.SmtpPolicyOrganizationArgs;
    import com.pulumi.intersight.inputs.SmtpPolicyProfileArgs;
    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) {
            final var config = ctx.config();
            final var organization = config.get("organization");
            final var profile = config.get("profile");
            var smtp1 = new SmtpPolicy("smtp1", SmtpPolicyArgs.builder()
                .enabled(false)
                .description("testing smtp policy")
                .smtpPort(32)
                .minSeverity("critical")
                .smtpServer("10.10.10.1")
                .senderEmail("IMCSQAAutomation@cisco.com")
                .smtpRecipients(            
                    "aw@cisco.com",
                    "cy@cisco.com",
                    "dz@cisco.com")
                .organizations(SmtpPolicyOrganizationArgs.builder()
                    .objectType("organization.Organization")
                    .moid(organization)
                    .build())
                .profiles(SmtpPolicyProfileArgs.builder()
                    .moid(profile)
                    .objectType("server.Profile")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      organization:
        type: string
      profile:
        type: string
    resources:
      smtp1:
        type: intersight:SmtpPolicy
        properties:
          enabled: false
          description: testing smtp policy
          smtpPort: 32
          minSeverity: critical
          smtpServer: 10.10.10.1
          senderEmail: IMCSQAAutomation@cisco.com
          smtpRecipients:
            - aw@cisco.com
            - cy@cisco.com
            - dz@cisco.com
          organizations:
            - objectType: organization.Organization
              moid: ${organization}
          profiles:
            - moid: ${profile}
              objectType: server.Profile
    

    Create SmtpPolicy Resource

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

    Constructor syntax

    new SmtpPolicy(name: string, args?: SmtpPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SmtpPolicy(resource_name: str,
                   args: Optional[SmtpPolicyArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmtpPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_moid: Optional[str] = None,
                   additional_properties: Optional[str] = None,
                   ancestors: Optional[Sequence[SmtpPolicyAncestorArgs]] = None,
                   appliance_accounts: Optional[Sequence[SmtpPolicyApplianceAccountArgs]] = None,
                   auth_password: Optional[str] = None,
                   certificates: Optional[Sequence[SmtpPolicyCertificateArgs]] = None,
                   class_id: Optional[str] = None,
                   create_time: Optional[str] = None,
                   description: Optional[str] = None,
                   domain_group_moid: Optional[str] = None,
                   enable_auth: Optional[bool] = None,
                   enable_tls: Optional[bool] = None,
                   enabled: Optional[bool] = None,
                   is_auth_password_set: Optional[bool] = None,
                   min_severity: Optional[str] = None,
                   mod_time: Optional[str] = None,
                   moid: Optional[str] = None,
                   name: Optional[str] = None,
                   object_type: Optional[str] = None,
                   organizations: Optional[Sequence[SmtpPolicyOrganizationArgs]] = None,
                   owners: Optional[Sequence[str]] = None,
                   parents: Optional[Sequence[SmtpPolicyParentArgs]] = None,
                   permission_resources: Optional[Sequence[SmtpPolicyPermissionResourceArgs]] = None,
                   profiles: Optional[Sequence[SmtpPolicyProfileArgs]] = None,
                   sender_email: Optional[str] = None,
                   shared_scope: Optional[str] = None,
                   smtp_policy_id: Optional[str] = None,
                   smtp_port: Optional[float] = None,
                   smtp_recipients: Optional[Sequence[str]] = None,
                   smtp_server: Optional[str] = None,
                   tags: Optional[Sequence[SmtpPolicyTagArgs]] = None,
                   user_name: Optional[str] = None,
                   version_contexts: Optional[Sequence[SmtpPolicyVersionContextArgs]] = None)
    func NewSmtpPolicy(ctx *Context, name string, args *SmtpPolicyArgs, opts ...ResourceOption) (*SmtpPolicy, error)
    public SmtpPolicy(string name, SmtpPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public SmtpPolicy(String name, SmtpPolicyArgs args)
    public SmtpPolicy(String name, SmtpPolicyArgs args, CustomResourceOptions options)
    
    type: intersight:SmtpPolicy
    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 SmtpPolicyArgs
    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 SmtpPolicyArgs
    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 SmtpPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmtpPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmtpPolicyArgs
    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 smtpPolicyResource = new Intersight.SmtpPolicy("smtpPolicyResource", new()
    {
        AccountMoid = "string",
        AdditionalProperties = "string",
        Ancestors = new[]
        {
            new Intersight.Inputs.SmtpPolicyAncestorArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        ApplianceAccounts = new[]
        {
            new Intersight.Inputs.SmtpPolicyApplianceAccountArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        AuthPassword = "string",
        Certificates = new[]
        {
            new Intersight.Inputs.SmtpPolicyCertificateArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        ClassId = "string",
        CreateTime = "string",
        Description = "string",
        DomainGroupMoid = "string",
        EnableAuth = false,
        EnableTls = false,
        Enabled = false,
        IsAuthPasswordSet = false,
        MinSeverity = "string",
        ModTime = "string",
        Moid = "string",
        Name = "string",
        ObjectType = "string",
        Organizations = new[]
        {
            new Intersight.Inputs.SmtpPolicyOrganizationArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Owners = new[]
        {
            "string",
        },
        Parents = new[]
        {
            new Intersight.Inputs.SmtpPolicyParentArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        PermissionResources = new[]
        {
            new Intersight.Inputs.SmtpPolicyPermissionResourceArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Profiles = new[]
        {
            new Intersight.Inputs.SmtpPolicyProfileArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        SenderEmail = "string",
        SharedScope = "string",
        SmtpPolicyId = "string",
        SmtpPort = 0,
        SmtpRecipients = new[]
        {
            "string",
        },
        SmtpServer = "string",
        Tags = new[]
        {
            new Intersight.Inputs.SmtpPolicyTagArgs
            {
                AdditionalProperties = "string",
                Key = "string",
                Value = "string",
            },
        },
        UserName = "string",
        VersionContexts = new[]
        {
            new Intersight.Inputs.SmtpPolicyVersionContextArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                InterestedMos = new[]
                {
                    new Intersight.Inputs.SmtpPolicyVersionContextInterestedMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                MarkedForDeletion = false,
                NrVersion = "string",
                ObjectType = "string",
                RefMos = new[]
                {
                    new Intersight.Inputs.SmtpPolicyVersionContextRefMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                Timestamp = "string",
                VersionType = "string",
            },
        },
    });
    
    example, err := intersight.NewSmtpPolicy(ctx, "smtpPolicyResource", &intersight.SmtpPolicyArgs{
    	AccountMoid:          pulumi.String("string"),
    	AdditionalProperties: pulumi.String("string"),
    	Ancestors: intersight.SmtpPolicyAncestorArray{
    		&intersight.SmtpPolicyAncestorArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	ApplianceAccounts: intersight.SmtpPolicyApplianceAccountArray{
    		&intersight.SmtpPolicyApplianceAccountArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	AuthPassword: pulumi.String("string"),
    	Certificates: intersight.SmtpPolicyCertificateArray{
    		&intersight.SmtpPolicyCertificateArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	ClassId:           pulumi.String("string"),
    	CreateTime:        pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	DomainGroupMoid:   pulumi.String("string"),
    	EnableAuth:        pulumi.Bool(false),
    	EnableTls:         pulumi.Bool(false),
    	Enabled:           pulumi.Bool(false),
    	IsAuthPasswordSet: pulumi.Bool(false),
    	MinSeverity:       pulumi.String("string"),
    	ModTime:           pulumi.String("string"),
    	Moid:              pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	ObjectType:        pulumi.String("string"),
    	Organizations: intersight.SmtpPolicyOrganizationArray{
    		&intersight.SmtpPolicyOrganizationArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	Owners: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Parents: intersight.SmtpPolicyParentArray{
    		&intersight.SmtpPolicyParentArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	PermissionResources: intersight.SmtpPolicyPermissionResourceArray{
    		&intersight.SmtpPolicyPermissionResourceArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	Profiles: intersight.SmtpPolicyProfileArray{
    		&intersight.SmtpPolicyProfileArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	SenderEmail:  pulumi.String("string"),
    	SharedScope:  pulumi.String("string"),
    	SmtpPolicyId: pulumi.String("string"),
    	SmtpPort:     pulumi.Float64(0),
    	SmtpRecipients: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SmtpServer: pulumi.String("string"),
    	Tags: intersight.SmtpPolicyTagArray{
    		&intersight.SmtpPolicyTagArgs{
    			AdditionalProperties: pulumi.String("string"),
    			Key:                  pulumi.String("string"),
    			Value:                pulumi.String("string"),
    		},
    	},
    	UserName: pulumi.String("string"),
    	VersionContexts: intersight.SmtpPolicyVersionContextArray{
    		&intersight.SmtpPolicyVersionContextArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			InterestedMos: intersight.SmtpPolicyVersionContextInterestedMoArray{
    				&intersight.SmtpPolicyVersionContextInterestedMoArgs{
    					AdditionalProperties: pulumi.String("string"),
    					ClassId:              pulumi.String("string"),
    					Moid:                 pulumi.String("string"),
    					ObjectType:           pulumi.String("string"),
    					Selector:             pulumi.String("string"),
    				},
    			},
    			MarkedForDeletion: pulumi.Bool(false),
    			NrVersion:         pulumi.String("string"),
    			ObjectType:        pulumi.String("string"),
    			RefMos: intersight.SmtpPolicyVersionContextRefMoArray{
    				&intersight.SmtpPolicyVersionContextRefMoArgs{
    					AdditionalProperties: pulumi.String("string"),
    					ClassId:              pulumi.String("string"),
    					Moid:                 pulumi.String("string"),
    					ObjectType:           pulumi.String("string"),
    					Selector:             pulumi.String("string"),
    				},
    			},
    			Timestamp:   pulumi.String("string"),
    			VersionType: pulumi.String("string"),
    		},
    	},
    })
    
    var smtpPolicyResource = new SmtpPolicy("smtpPolicyResource", SmtpPolicyArgs.builder()
        .accountMoid("string")
        .additionalProperties("string")
        .ancestors(SmtpPolicyAncestorArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .applianceAccounts(SmtpPolicyApplianceAccountArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .authPassword("string")
        .certificates(SmtpPolicyCertificateArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .classId("string")
        .createTime("string")
        .description("string")
        .domainGroupMoid("string")
        .enableAuth(false)
        .enableTls(false)
        .enabled(false)
        .isAuthPasswordSet(false)
        .minSeverity("string")
        .modTime("string")
        .moid("string")
        .name("string")
        .objectType("string")
        .organizations(SmtpPolicyOrganizationArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .owners("string")
        .parents(SmtpPolicyParentArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .permissionResources(SmtpPolicyPermissionResourceArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .profiles(SmtpPolicyProfileArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .senderEmail("string")
        .sharedScope("string")
        .smtpPolicyId("string")
        .smtpPort(0)
        .smtpRecipients("string")
        .smtpServer("string")
        .tags(SmtpPolicyTagArgs.builder()
            .additionalProperties("string")
            .key("string")
            .value("string")
            .build())
        .userName("string")
        .versionContexts(SmtpPolicyVersionContextArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .interestedMos(SmtpPolicyVersionContextInterestedMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .markedForDeletion(false)
            .nrVersion("string")
            .objectType("string")
            .refMos(SmtpPolicyVersionContextRefMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .timestamp("string")
            .versionType("string")
            .build())
        .build());
    
    smtp_policy_resource = intersight.SmtpPolicy("smtpPolicyResource",
        account_moid="string",
        additional_properties="string",
        ancestors=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        appliance_accounts=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        auth_password="string",
        certificates=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        class_id="string",
        create_time="string",
        description="string",
        domain_group_moid="string",
        enable_auth=False,
        enable_tls=False,
        enabled=False,
        is_auth_password_set=False,
        min_severity="string",
        mod_time="string",
        moid="string",
        name="string",
        object_type="string",
        organizations=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        owners=["string"],
        parents=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        permission_resources=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        profiles=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        sender_email="string",
        shared_scope="string",
        smtp_policy_id="string",
        smtp_port=0,
        smtp_recipients=["string"],
        smtp_server="string",
        tags=[{
            "additional_properties": "string",
            "key": "string",
            "value": "string",
        }],
        user_name="string",
        version_contexts=[{
            "additional_properties": "string",
            "class_id": "string",
            "interested_mos": [{
                "additional_properties": "string",
                "class_id": "string",
                "moid": "string",
                "object_type": "string",
                "selector": "string",
            }],
            "marked_for_deletion": False,
            "nr_version": "string",
            "object_type": "string",
            "ref_mos": [{
                "additional_properties": "string",
                "class_id": "string",
                "moid": "string",
                "object_type": "string",
                "selector": "string",
            }],
            "timestamp": "string",
            "version_type": "string",
        }])
    
    const smtpPolicyResource = new intersight.SmtpPolicy("smtpPolicyResource", {
        accountMoid: "string",
        additionalProperties: "string",
        ancestors: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        applianceAccounts: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        authPassword: "string",
        certificates: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        classId: "string",
        createTime: "string",
        description: "string",
        domainGroupMoid: "string",
        enableAuth: false,
        enableTls: false,
        enabled: false,
        isAuthPasswordSet: false,
        minSeverity: "string",
        modTime: "string",
        moid: "string",
        name: "string",
        objectType: "string",
        organizations: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        owners: ["string"],
        parents: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        permissionResources: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        profiles: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        senderEmail: "string",
        sharedScope: "string",
        smtpPolicyId: "string",
        smtpPort: 0,
        smtpRecipients: ["string"],
        smtpServer: "string",
        tags: [{
            additionalProperties: "string",
            key: "string",
            value: "string",
        }],
        userName: "string",
        versionContexts: [{
            additionalProperties: "string",
            classId: "string",
            interestedMos: [{
                additionalProperties: "string",
                classId: "string",
                moid: "string",
                objectType: "string",
                selector: "string",
            }],
            markedForDeletion: false,
            nrVersion: "string",
            objectType: "string",
            refMos: [{
                additionalProperties: "string",
                classId: "string",
                moid: "string",
                objectType: "string",
                selector: "string",
            }],
            timestamp: "string",
            versionType: "string",
        }],
    });
    
    type: intersight:SmtpPolicy
    properties:
        accountMoid: string
        additionalProperties: string
        ancestors:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        applianceAccounts:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        authPassword: string
        certificates:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        classId: string
        createTime: string
        description: string
        domainGroupMoid: string
        enableAuth: false
        enableTls: false
        enabled: false
        isAuthPasswordSet: false
        minSeverity: string
        modTime: string
        moid: string
        name: string
        objectType: string
        organizations:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        owners:
            - string
        parents:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        permissionResources:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        profiles:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        senderEmail: string
        sharedScope: string
        smtpPolicyId: string
        smtpPort: 0
        smtpRecipients:
            - string
        smtpServer: string
        tags:
            - additionalProperties: string
              key: string
              value: string
        userName: string
        versionContexts:
            - additionalProperties: string
              classId: string
              interestedMos:
                - additionalProperties: string
                  classId: string
                  moid: string
                  objectType: string
                  selector: string
              markedForDeletion: false
              nrVersion: string
              objectType: string
              refMos:
                - additionalProperties: string
                  classId: string
                  moid: string
                  objectType: string
                  selector: string
              timestamp: string
              versionType: string
    

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

    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors List<SmtpPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ApplianceAccounts List<SmtpPolicyApplianceAccount>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    AuthPassword string
    Authorization password for the process.
    Certificates List<SmtpPolicyCertificate>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    ClassId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    EnableAuth bool
    If enabled, lets user input username and password.
    EnableTls bool
    If enabled, lets user input valid CA certificates for authorization.
    Enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    IsAuthPasswordSet bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    MinSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    Name string
    Name of the concrete policy.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations List<SmtpPolicyOrganization>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Owners List<string>
    (Array of schema.TypeString) -(ReadOnly)
    Parents List<SmtpPolicyParent>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    PermissionResources List<SmtpPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Profiles List<SmtpPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    SenderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    SharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    SmtpPolicyId string
    SmtpPort double
    Port number used by the SMTP server for outgoing SMTP communication.
    SmtpRecipients List<string>
    (Array of schema.TypeString) -
    SmtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    Tags List<SmtpPolicyTag>
    This complex property has following sub-properties:
    UserName string
    SMTP username from which email notification is sent.
    VersionContexts List<SmtpPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors []SmtpPolicyAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ApplianceAccounts []SmtpPolicyApplianceAccountArgs
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    AuthPassword string
    Authorization password for the process.
    Certificates []SmtpPolicyCertificateArgs
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    ClassId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    EnableAuth bool
    If enabled, lets user input username and password.
    EnableTls bool
    If enabled, lets user input valid CA certificates for authorization.
    Enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    IsAuthPasswordSet bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    MinSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    Name string
    Name of the concrete policy.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations []SmtpPolicyOrganizationArgs
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Owners []string
    (Array of schema.TypeString) -(ReadOnly)
    Parents []SmtpPolicyParentArgs
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    PermissionResources []SmtpPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Profiles []SmtpPolicyProfileArgs
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    SenderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    SharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    SmtpPolicyId string
    SmtpPort float64
    Port number used by the SMTP server for outgoing SMTP communication.
    SmtpRecipients []string
    (Array of schema.TypeString) -
    SmtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    Tags []SmtpPolicyTagArgs
    This complex property has following sub-properties:
    UserName string
    SMTP username from which email notification is sent.
    VersionContexts []SmtpPolicyVersionContextArgs
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<SmtpPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts List<SmtpPolicyApplianceAccount>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword String
    Authorization password for the process.
    certificates List<SmtpPolicyCertificate>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId String
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth Boolean
    If enabled, lets user input username and password.
    enableTls Boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled Boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet Boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity String
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    name String
    Name of the concrete policy.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<SmtpPolicyOrganization>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<SmtpPolicyParent>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources List<SmtpPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles List<SmtpPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail String
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope String
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId String
    smtpPort Double
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients List<String>
    (Array of schema.TypeString) -
    smtpServer String
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags List<SmtpPolicyTag>
    This complex property has following sub-properties:
    userName String
    SMTP username from which email notification is sent.
    versionContexts List<SmtpPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid string
    (ReadOnly) The Account ID for this managed object.
    additionalProperties string
    ancestors SmtpPolicyAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts SmtpPolicyApplianceAccount[]
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword string
    Authorization password for the process.
    certificates SmtpPolicyCertificate[]
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime string
    (ReadOnly) The time when this managed object was created.
    description string
    Description of the policy.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth boolean
    If enabled, lets user input username and password.
    enableTls boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime string
    (ReadOnly) The time when this managed object was last modified.
    moid string
    The unique identifier of this Managed Object instance.
    name string
    Name of the concrete policy.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations SmtpPolicyOrganization[]
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners string[]
    (Array of schema.TypeString) -(ReadOnly)
    parents SmtpPolicyParent[]
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources SmtpPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles SmtpPolicyProfile[]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId string
    smtpPort number
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients string[]
    (Array of schema.TypeString) -
    smtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags SmtpPolicyTag[]
    This complex property has following sub-properties:
    userName string
    SMTP username from which email notification is sent.
    versionContexts SmtpPolicyVersionContext[]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    account_moid str
    (ReadOnly) The Account ID for this managed object.
    additional_properties str
    ancestors Sequence[SmtpPolicyAncestorArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    appliance_accounts Sequence[SmtpPolicyApplianceAccountArgs]
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    auth_password str
    Authorization password for the process.
    certificates Sequence[SmtpPolicyCertificateArgs]
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    class_id str
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    create_time str
    (ReadOnly) The time when this managed object was created.
    description str
    Description of the policy.
    domain_group_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    enable_auth bool
    If enabled, lets user input username and password.
    enable_tls bool
    If enabled, lets user input valid CA certificates for authorization.
    enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    is_auth_password_set bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    min_severity str
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    mod_time str
    (ReadOnly) The time when this managed object was last modified.
    moid str
    The unique identifier of this Managed Object instance.
    name str
    Name of the concrete policy.
    object_type str
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations Sequence[SmtpPolicyOrganizationArgs]
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners Sequence[str]
    (Array of schema.TypeString) -(ReadOnly)
    parents Sequence[SmtpPolicyParentArgs]
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permission_resources Sequence[SmtpPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles Sequence[SmtpPolicyProfileArgs]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    sender_email str
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    shared_scope str
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtp_policy_id str
    smtp_port float
    Port number used by the SMTP server for outgoing SMTP communication.
    smtp_recipients Sequence[str]
    (Array of schema.TypeString) -
    smtp_server str
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags Sequence[SmtpPolicyTagArgs]
    This complex property has following sub-properties:
    user_name str
    SMTP username from which email notification is sent.
    version_contexts Sequence[SmtpPolicyVersionContextArgs]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts List<Property Map>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword String
    Authorization password for the process.
    certificates List<Property Map>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId String
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth Boolean
    If enabled, lets user input username and password.
    enableTls Boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled Boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet Boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity String
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    name String
    Name of the concrete policy.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<Property Map>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<Property Map>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles List<Property Map>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail String
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope String
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId String
    smtpPort Number
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients List<String>
    (Array of schema.TypeString) -
    smtpServer String
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags List<Property Map>
    This complex property has following sub-properties:
    userName String
    SMTP username from which email notification is sent.
    versionContexts List<Property Map>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:

    Outputs

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

    Get an existing SmtpPolicy 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?: SmtpPolicyState, opts?: CustomResourceOptions): SmtpPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_moid: Optional[str] = None,
            additional_properties: Optional[str] = None,
            ancestors: Optional[Sequence[SmtpPolicyAncestorArgs]] = None,
            appliance_accounts: Optional[Sequence[SmtpPolicyApplianceAccountArgs]] = None,
            auth_password: Optional[str] = None,
            certificates: Optional[Sequence[SmtpPolicyCertificateArgs]] = None,
            class_id: Optional[str] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            domain_group_moid: Optional[str] = None,
            enable_auth: Optional[bool] = None,
            enable_tls: Optional[bool] = None,
            enabled: Optional[bool] = None,
            is_auth_password_set: Optional[bool] = None,
            min_severity: Optional[str] = None,
            mod_time: Optional[str] = None,
            moid: Optional[str] = None,
            name: Optional[str] = None,
            object_type: Optional[str] = None,
            organizations: Optional[Sequence[SmtpPolicyOrganizationArgs]] = None,
            owners: Optional[Sequence[str]] = None,
            parents: Optional[Sequence[SmtpPolicyParentArgs]] = None,
            permission_resources: Optional[Sequence[SmtpPolicyPermissionResourceArgs]] = None,
            profiles: Optional[Sequence[SmtpPolicyProfileArgs]] = None,
            sender_email: Optional[str] = None,
            shared_scope: Optional[str] = None,
            smtp_policy_id: Optional[str] = None,
            smtp_port: Optional[float] = None,
            smtp_recipients: Optional[Sequence[str]] = None,
            smtp_server: Optional[str] = None,
            tags: Optional[Sequence[SmtpPolicyTagArgs]] = None,
            user_name: Optional[str] = None,
            version_contexts: Optional[Sequence[SmtpPolicyVersionContextArgs]] = None) -> SmtpPolicy
    func GetSmtpPolicy(ctx *Context, name string, id IDInput, state *SmtpPolicyState, opts ...ResourceOption) (*SmtpPolicy, error)
    public static SmtpPolicy Get(string name, Input<string> id, SmtpPolicyState? state, CustomResourceOptions? opts = null)
    public static SmtpPolicy get(String name, Output<String> id, SmtpPolicyState state, CustomResourceOptions options)
    resources:  _:    type: intersight:SmtpPolicy    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:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors List<SmtpPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ApplianceAccounts List<SmtpPolicyApplianceAccount>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    AuthPassword string
    Authorization password for the process.
    Certificates List<SmtpPolicyCertificate>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    ClassId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    EnableAuth bool
    If enabled, lets user input username and password.
    EnableTls bool
    If enabled, lets user input valid CA certificates for authorization.
    Enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    IsAuthPasswordSet bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    MinSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    Name string
    Name of the concrete policy.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations List<SmtpPolicyOrganization>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Owners List<string>
    (Array of schema.TypeString) -(ReadOnly)
    Parents List<SmtpPolicyParent>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    PermissionResources List<SmtpPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Profiles List<SmtpPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    SenderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    SharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    SmtpPolicyId string
    SmtpPort double
    Port number used by the SMTP server for outgoing SMTP communication.
    SmtpRecipients List<string>
    (Array of schema.TypeString) -
    SmtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    Tags List<SmtpPolicyTag>
    This complex property has following sub-properties:
    UserName string
    SMTP username from which email notification is sent.
    VersionContexts List<SmtpPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors []SmtpPolicyAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ApplianceAccounts []SmtpPolicyApplianceAccountArgs
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    AuthPassword string
    Authorization password for the process.
    Certificates []SmtpPolicyCertificateArgs
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    ClassId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    EnableAuth bool
    If enabled, lets user input username and password.
    EnableTls bool
    If enabled, lets user input valid CA certificates for authorization.
    Enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    IsAuthPasswordSet bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    MinSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    Name string
    Name of the concrete policy.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations []SmtpPolicyOrganizationArgs
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Owners []string
    (Array of schema.TypeString) -(ReadOnly)
    Parents []SmtpPolicyParentArgs
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    PermissionResources []SmtpPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Profiles []SmtpPolicyProfileArgs
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    SenderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    SharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    SmtpPolicyId string
    SmtpPort float64
    Port number used by the SMTP server for outgoing SMTP communication.
    SmtpRecipients []string
    (Array of schema.TypeString) -
    SmtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    Tags []SmtpPolicyTagArgs
    This complex property has following sub-properties:
    UserName string
    SMTP username from which email notification is sent.
    VersionContexts []SmtpPolicyVersionContextArgs
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<SmtpPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts List<SmtpPolicyApplianceAccount>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword String
    Authorization password for the process.
    certificates List<SmtpPolicyCertificate>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId String
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth Boolean
    If enabled, lets user input username and password.
    enableTls Boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled Boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet Boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity String
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    name String
    Name of the concrete policy.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<SmtpPolicyOrganization>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<SmtpPolicyParent>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources List<SmtpPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles List<SmtpPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail String
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope String
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId String
    smtpPort Double
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients List<String>
    (Array of schema.TypeString) -
    smtpServer String
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags List<SmtpPolicyTag>
    This complex property has following sub-properties:
    userName String
    SMTP username from which email notification is sent.
    versionContexts List<SmtpPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid string
    (ReadOnly) The Account ID for this managed object.
    additionalProperties string
    ancestors SmtpPolicyAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts SmtpPolicyApplianceAccount[]
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword string
    Authorization password for the process.
    certificates SmtpPolicyCertificate[]
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId string
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime string
    (ReadOnly) The time when this managed object was created.
    description string
    Description of the policy.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth boolean
    If enabled, lets user input username and password.
    enableTls boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity string
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime string
    (ReadOnly) The time when this managed object was last modified.
    moid string
    The unique identifier of this Managed Object instance.
    name string
    Name of the concrete policy.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations SmtpPolicyOrganization[]
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners string[]
    (Array of schema.TypeString) -(ReadOnly)
    parents SmtpPolicyParent[]
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources SmtpPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles SmtpPolicyProfile[]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail string
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope string
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId string
    smtpPort number
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients string[]
    (Array of schema.TypeString) -
    smtpServer string
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags SmtpPolicyTag[]
    This complex property has following sub-properties:
    userName string
    SMTP username from which email notification is sent.
    versionContexts SmtpPolicyVersionContext[]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    account_moid str
    (ReadOnly) The Account ID for this managed object.
    additional_properties str
    ancestors Sequence[SmtpPolicyAncestorArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    appliance_accounts Sequence[SmtpPolicyApplianceAccountArgs]
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    auth_password str
    Authorization password for the process.
    certificates Sequence[SmtpPolicyCertificateArgs]
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    class_id str
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    create_time str
    (ReadOnly) The time when this managed object was created.
    description str
    Description of the policy.
    domain_group_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    enable_auth bool
    If enabled, lets user input username and password.
    enable_tls bool
    If enabled, lets user input valid CA certificates for authorization.
    enabled bool
    If enabled, controls the state of the SMTP client service on the managed device.
    is_auth_password_set bool
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    min_severity str
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    mod_time str
    (ReadOnly) The time when this managed object was last modified.
    moid str
    The unique identifier of this Managed Object instance.
    name str
    Name of the concrete policy.
    object_type str
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations Sequence[SmtpPolicyOrganizationArgs]
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners Sequence[str]
    (Array of schema.TypeString) -(ReadOnly)
    parents Sequence[SmtpPolicyParentArgs]
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permission_resources Sequence[SmtpPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles Sequence[SmtpPolicyProfileArgs]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    sender_email str
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    shared_scope str
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtp_policy_id str
    smtp_port float
    Port number used by the SMTP server for outgoing SMTP communication.
    smtp_recipients Sequence[str]
    (Array of schema.TypeString) -
    smtp_server str
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags Sequence[SmtpPolicyTagArgs]
    This complex property has following sub-properties:
    user_name str
    SMTP username from which email notification is sent.
    version_contexts Sequence[SmtpPolicyVersionContextArgs]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    applianceAccounts List<Property Map>
    A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    authPassword String
    Authorization password for the process.
    certificates List<Property Map>
    A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    classId String
    The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enableAuth Boolean
    If enabled, lets user input username and password.
    enableTls Boolean
    If enabled, lets user input valid CA certificates for authorization.
    enabled Boolean
    If enabled, controls the state of the SMTP client service on the managed device.
    isAuthPasswordSet Boolean
    (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
    minSeverity String
    Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.* critical - Minimum severity to report is critical.* condition - Minimum severity to report is informational.* warning - Minimum severity to report is warning.* minor - Minimum severity to report is minor.* major - Minimum severity to report is major.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    name String
    Name of the concrete policy.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<Property Map>
    A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<Property Map>
    (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    permissionResources List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    profiles List<Property Map>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    senderEmail String
    The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
    sharedScope String
    (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
    smtpPolicyId String
    smtpPort Number
    Port number used by the SMTP server for outgoing SMTP communication.
    smtpRecipients List<String>
    (Array of schema.TypeString) -
    smtpServer String
    IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
    tags List<Property Map>
    This complex property has following sub-properties:
    userName String
    SMTP username from which email notification is sent.
    versionContexts List<Property Map>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:

    Supporting Types

    SmtpPolicyAncestor, SmtpPolicyAncestorArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyApplianceAccount, SmtpPolicyApplianceAccountArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyCertificate, SmtpPolicyCertificateArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyOrganization, SmtpPolicyOrganizationArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyParent, SmtpPolicyParentArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyPermissionResource, SmtpPolicyPermissionResourceArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyProfile, SmtpPolicyProfileArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyTag, SmtpPolicyTagArgs

    AdditionalProperties string
    Key string
    The string representation of a tag key.
    Value string
    The string representation of a tag value.
    AdditionalProperties string
    Key string
    The string representation of a tag key.
    Value string
    The string representation of a tag value.
    additionalProperties String
    key String
    The string representation of a tag key.
    value String
    The string representation of a tag value.
    additionalProperties string
    key string
    The string representation of a tag key.
    value string
    The string representation of a tag value.
    additional_properties str
    key str
    The string representation of a tag key.
    value str
    The string representation of a tag value.
    additionalProperties String
    key String
    The string representation of a tag key.
    value String
    The string representation of a tag value.

    SmtpPolicyVersionContext, SmtpPolicyVersionContextArgs

    AdditionalProperties string
    ClassId string
    InterestedMos List<SmtpPolicyVersionContextInterestedMo>
    This complex property has following sub-properties:
    MarkedForDeletion bool
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    NrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    RefMos List<SmtpPolicyVersionContextRefMo>
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    Timestamp string
    (ReadOnly) The time this versioned Managed Object was created.
    VersionType string
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.
    AdditionalProperties string
    ClassId string
    InterestedMos []SmtpPolicyVersionContextInterestedMo
    This complex property has following sub-properties:
    MarkedForDeletion bool
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    NrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    RefMos []SmtpPolicyVersionContextRefMo
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    Timestamp string
    (ReadOnly) The time this versioned Managed Object was created.
    VersionType string
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.
    additionalProperties String
    classId String
    interestedMos List<SmtpPolicyVersionContextInterestedMo>
    This complex property has following sub-properties:
    markedForDeletion Boolean
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    nrVersion String
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType String
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos List<SmtpPolicyVersionContextRefMo>
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    timestamp String
    (ReadOnly) The time this versioned Managed Object was created.
    versionType String
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.
    additionalProperties string
    classId string
    interestedMos SmtpPolicyVersionContextInterestedMo[]
    This complex property has following sub-properties:
    markedForDeletion boolean
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    nrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos SmtpPolicyVersionContextRefMo[]
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    timestamp string
    (ReadOnly) The time this versioned Managed Object was created.
    versionType string
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.
    additional_properties str
    class_id str
    interested_mos Sequence[SmtpPolicyVersionContextInterestedMo]
    This complex property has following sub-properties:
    marked_for_deletion bool
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    nr_version str
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    object_type str
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    ref_mos Sequence[SmtpPolicyVersionContextRefMo]
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    timestamp str
    (ReadOnly) The time this versioned Managed Object was created.
    version_type str
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.
    additionalProperties String
    classId String
    interestedMos List<Property Map>
    This complex property has following sub-properties:
    markedForDeletion Boolean
    (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
    nrVersion String
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType String
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos List<Property Map>
    (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
    timestamp String
    (ReadOnly) The time this versioned Managed Object was created.
    versionType String
    (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified - Version created every time an object is modified.* Configured - Version created every time an object is configured to the service profile.* Deployed - Version created for objects related to a service profile when it is deployed.

    SmtpPolicyVersionContextInterestedMo, SmtpPolicyVersionContextInterestedMoArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    SmtpPolicyVersionContextRefMo, SmtpPolicyVersionContextRefMoArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType string
    The fully-qualified name of the remote type referred by this relationship.
    Selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType string
    The fully-qualified name of the remote type referred by this relationship.
    selector string
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additional_properties str
    class_id str
    moid str
    The Moid of the referenced REST resource.
    object_type str
    The fully-qualified name of the remote type referred by this relationship.
    selector str
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType String
    The fully-qualified name of the remote type referred by this relationship.
    selector String
    An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.

    Import

    intersight_smtp_policy can be imported using the Moid of the object, e.g.

    $ pulumi import intersight:index/smtpPolicy:SmtpPolicy example 1234567890987654321abcde
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    intersight ciscodevnet/terraform-provider-intersight
    License
    Notes
    This Pulumi package is based on the intersight Terraform Provider.
    intersight logo
    intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet