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

intersight.SmtpPolicyTest

Explore with Pulumi AI

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

    PolicyTest provides data on SMTP policy test status. This data is generated by sending a test email, allowing Account Administrator users to utilize it for testing SMTP policy compliance.

    Create SmtpPolicyTest Resource

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

    Constructor syntax

    new SmtpPolicyTest(name: string, args?: SmtpPolicyTestArgs, opts?: CustomResourceOptions);
    @overload
    def SmtpPolicyTest(resource_name: str,
                       args: Optional[SmtpPolicyTestArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmtpPolicyTest(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_moid: Optional[str] = None,
                       accounts: Optional[Sequence[SmtpPolicyTestAccountArgs]] = None,
                       additional_properties: Optional[str] = None,
                       ancestors: Optional[Sequence[SmtpPolicyTestAncestorArgs]] = None,
                       class_id: Optional[str] = None,
                       create_time: Optional[str] = None,
                       domain_group_moid: Optional[str] = None,
                       enabled: Optional[bool] = None,
                       last_status_details: Optional[str] = None,
                       last_successful_attempt_time: Optional[str] = None,
                       last_successful_policy: Optional[str] = None,
                       last_test_status: Optional[str] = None,
                       mod_time: Optional[str] = None,
                       moid: Optional[str] = None,
                       object_type: Optional[str] = None,
                       owners: Optional[Sequence[str]] = None,
                       parents: Optional[Sequence[SmtpPolicyTestParentArgs]] = None,
                       permission_resources: Optional[Sequence[SmtpPolicyTestPermissionResourceArgs]] = None,
                       policies: Optional[Sequence[SmtpPolicyTestPolicyArgs]] = None,
                       recipients: Optional[Sequence[str]] = None,
                       shared_scope: Optional[str] = None,
                       smtp_policy_test_id: Optional[str] = None,
                       tags: Optional[Sequence[SmtpPolicyTestTagArgs]] = None,
                       version_contexts: Optional[Sequence[SmtpPolicyTestVersionContextArgs]] = None)
    func NewSmtpPolicyTest(ctx *Context, name string, args *SmtpPolicyTestArgs, opts ...ResourceOption) (*SmtpPolicyTest, error)
    public SmtpPolicyTest(string name, SmtpPolicyTestArgs? args = null, CustomResourceOptions? opts = null)
    public SmtpPolicyTest(String name, SmtpPolicyTestArgs args)
    public SmtpPolicyTest(String name, SmtpPolicyTestArgs args, CustomResourceOptions options)
    
    type: intersight:SmtpPolicyTest
    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 SmtpPolicyTestArgs
    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 SmtpPolicyTestArgs
    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 SmtpPolicyTestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmtpPolicyTestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmtpPolicyTestArgs
    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 smtpPolicyTestResource = new Intersight.SmtpPolicyTest("smtpPolicyTestResource", new()
    {
        AccountMoid = "string",
        Accounts = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestAccountArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        AdditionalProperties = "string",
        Ancestors = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestAncestorArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        ClassId = "string",
        CreateTime = "string",
        DomainGroupMoid = "string",
        Enabled = false,
        LastStatusDetails = "string",
        LastSuccessfulAttemptTime = "string",
        LastSuccessfulPolicy = "string",
        LastTestStatus = "string",
        ModTime = "string",
        Moid = "string",
        ObjectType = "string",
        Owners = new[]
        {
            "string",
        },
        Parents = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestParentArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        PermissionResources = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestPermissionResourceArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Policies = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestPolicyArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Recipients = new[]
        {
            "string",
        },
        SharedScope = "string",
        SmtpPolicyTestId = "string",
        Tags = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestTagArgs
            {
                AdditionalProperties = "string",
                Key = "string",
                Value = "string",
            },
        },
        VersionContexts = new[]
        {
            new Intersight.Inputs.SmtpPolicyTestVersionContextArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                InterestedMos = new[]
                {
                    new Intersight.Inputs.SmtpPolicyTestVersionContextInterestedMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                MarkedForDeletion = false,
                NrVersion = "string",
                ObjectType = "string",
                RefMos = new[]
                {
                    new Intersight.Inputs.SmtpPolicyTestVersionContextRefMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                Timestamp = "string",
                VersionType = "string",
            },
        },
    });
    
    example, err := intersight.NewSmtpPolicyTest(ctx, "smtpPolicyTestResource", &intersight.SmtpPolicyTestArgs{
    	AccountMoid: pulumi.String("string"),
    	Accounts: intersight.SmtpPolicyTestAccountArray{
    		&intersight.SmtpPolicyTestAccountArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	AdditionalProperties: pulumi.String("string"),
    	Ancestors: intersight.SmtpPolicyTestAncestorArray{
    		&intersight.SmtpPolicyTestAncestorArgs{
    			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"),
    	DomainGroupMoid:           pulumi.String("string"),
    	Enabled:                   pulumi.Bool(false),
    	LastStatusDetails:         pulumi.String("string"),
    	LastSuccessfulAttemptTime: pulumi.String("string"),
    	LastSuccessfulPolicy:      pulumi.String("string"),
    	LastTestStatus:            pulumi.String("string"),
    	ModTime:                   pulumi.String("string"),
    	Moid:                      pulumi.String("string"),
    	ObjectType:                pulumi.String("string"),
    	Owners: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Parents: intersight.SmtpPolicyTestParentArray{
    		&intersight.SmtpPolicyTestParentArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	PermissionResources: intersight.SmtpPolicyTestPermissionResourceArray{
    		&intersight.SmtpPolicyTestPermissionResourceArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	Policies: intersight.SmtpPolicyTestPolicyArray{
    		&intersight.SmtpPolicyTestPolicyArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	Recipients: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SharedScope:      pulumi.String("string"),
    	SmtpPolicyTestId: pulumi.String("string"),
    	Tags: intersight.SmtpPolicyTestTagArray{
    		&intersight.SmtpPolicyTestTagArgs{
    			AdditionalProperties: pulumi.String("string"),
    			Key:                  pulumi.String("string"),
    			Value:                pulumi.String("string"),
    		},
    	},
    	VersionContexts: intersight.SmtpPolicyTestVersionContextArray{
    		&intersight.SmtpPolicyTestVersionContextArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			InterestedMos: intersight.SmtpPolicyTestVersionContextInterestedMoArray{
    				&intersight.SmtpPolicyTestVersionContextInterestedMoArgs{
    					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.SmtpPolicyTestVersionContextRefMoArray{
    				&intersight.SmtpPolicyTestVersionContextRefMoArgs{
    					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 smtpPolicyTestResource = new SmtpPolicyTest("smtpPolicyTestResource", SmtpPolicyTestArgs.builder()
        .accountMoid("string")
        .accounts(SmtpPolicyTestAccountArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .additionalProperties("string")
        .ancestors(SmtpPolicyTestAncestorArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .classId("string")
        .createTime("string")
        .domainGroupMoid("string")
        .enabled(false)
        .lastStatusDetails("string")
        .lastSuccessfulAttemptTime("string")
        .lastSuccessfulPolicy("string")
        .lastTestStatus("string")
        .modTime("string")
        .moid("string")
        .objectType("string")
        .owners("string")
        .parents(SmtpPolicyTestParentArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .permissionResources(SmtpPolicyTestPermissionResourceArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .policies(SmtpPolicyTestPolicyArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .recipients("string")
        .sharedScope("string")
        .smtpPolicyTestId("string")
        .tags(SmtpPolicyTestTagArgs.builder()
            .additionalProperties("string")
            .key("string")
            .value("string")
            .build())
        .versionContexts(SmtpPolicyTestVersionContextArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .interestedMos(SmtpPolicyTestVersionContextInterestedMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .markedForDeletion(false)
            .nrVersion("string")
            .objectType("string")
            .refMos(SmtpPolicyTestVersionContextRefMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .timestamp("string")
            .versionType("string")
            .build())
        .build());
    
    smtp_policy_test_resource = intersight.SmtpPolicyTest("smtpPolicyTestResource",
        account_moid="string",
        accounts=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        additional_properties="string",
        ancestors=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        class_id="string",
        create_time="string",
        domain_group_moid="string",
        enabled=False,
        last_status_details="string",
        last_successful_attempt_time="string",
        last_successful_policy="string",
        last_test_status="string",
        mod_time="string",
        moid="string",
        object_type="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",
        }],
        policies=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        recipients=["string"],
        shared_scope="string",
        smtp_policy_test_id="string",
        tags=[{
            "additional_properties": "string",
            "key": "string",
            "value": "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 smtpPolicyTestResource = new intersight.SmtpPolicyTest("smtpPolicyTestResource", {
        accountMoid: "string",
        accounts: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        additionalProperties: "string",
        ancestors: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        classId: "string",
        createTime: "string",
        domainGroupMoid: "string",
        enabled: false,
        lastStatusDetails: "string",
        lastSuccessfulAttemptTime: "string",
        lastSuccessfulPolicy: "string",
        lastTestStatus: "string",
        modTime: "string",
        moid: "string",
        objectType: "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",
        }],
        policies: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        recipients: ["string"],
        sharedScope: "string",
        smtpPolicyTestId: "string",
        tags: [{
            additionalProperties: "string",
            key: "string",
            value: "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:SmtpPolicyTest
    properties:
        accountMoid: string
        accounts:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        additionalProperties: string
        ancestors:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        classId: string
        createTime: string
        domainGroupMoid: string
        enabled: false
        lastStatusDetails: string
        lastSuccessfulAttemptTime: string
        lastSuccessfulPolicy: string
        lastTestStatus: string
        modTime: string
        moid: string
        objectType: 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
        policies:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        recipients:
            - string
        sharedScope: string
        smtpPolicyTestId: string
        tags:
            - additionalProperties: string
              key: string
              value: 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
    

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

    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    Accounts List<SmtpPolicyTestAccount>
    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:
    AdditionalProperties string
    Ancestors List<SmtpPolicyTestAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    Enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    LastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    LastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    LastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    LastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Owners List<string>
    (Array of schema.TypeString) -(ReadOnly)
    Parents List<SmtpPolicyTestParent>
    (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<SmtpPolicyTestPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Policies List<SmtpPolicyTestPolicy>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Recipients List<string>
    (Array of schema.TypeString) -
    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.
    SmtpPolicyTestId string
    Tags List<SmtpPolicyTestTag>
    This complex property has following sub-properties:
    VersionContexts List<SmtpPolicyTestVersionContext>
    (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.
    Accounts []SmtpPolicyTestAccountArgs
    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:
    AdditionalProperties string
    Ancestors []SmtpPolicyTestAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    Enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    LastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    LastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    LastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    LastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Owners []string
    (Array of schema.TypeString) -(ReadOnly)
    Parents []SmtpPolicyTestParentArgs
    (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 []SmtpPolicyTestPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Policies []SmtpPolicyTestPolicyArgs
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Recipients []string
    (Array of schema.TypeString) -
    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.
    SmtpPolicyTestId string
    Tags []SmtpPolicyTestTagArgs
    This complex property has following sub-properties:
    VersionContexts []SmtpPolicyTestVersionContextArgs
    (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.
    accounts List<SmtpPolicyTestAccount>
    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:
    additionalProperties String
    ancestors List<SmtpPolicyTestAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled Boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails String
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime String
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy String
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus String
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<SmtpPolicyTestParent>
    (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<SmtpPolicyTestPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies List<SmtpPolicyTestPolicy>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients List<String>
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId String
    tags List<SmtpPolicyTestTag>
    This complex property has following sub-properties:
    versionContexts List<SmtpPolicyTestVersionContext>
    (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.
    accounts SmtpPolicyTestAccount[]
    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:
    additionalProperties string
    ancestors SmtpPolicyTestAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime string
    (ReadOnly) The time when this managed object was last modified.
    moid string
    The unique identifier of this Managed Object instance.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners string[]
    (Array of schema.TypeString) -(ReadOnly)
    parents SmtpPolicyTestParent[]
    (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 SmtpPolicyTestPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies SmtpPolicyTestPolicy[]
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients string[]
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId string
    tags SmtpPolicyTestTag[]
    This complex property has following sub-properties:
    versionContexts SmtpPolicyTestVersionContext[]
    (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.
    accounts Sequence[SmtpPolicyTestAccountArgs]
    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:
    additional_properties str
    ancestors Sequence[SmtpPolicyTestAncestorArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domain_group_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    last_status_details str
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    last_successful_attempt_time str
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    last_successful_policy str
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    last_test_status str
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    mod_time str
    (ReadOnly) The time when this managed object was last modified.
    moid str
    The unique identifier of this Managed Object instance.
    object_type str
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners Sequence[str]
    (Array of schema.TypeString) -(ReadOnly)
    parents Sequence[SmtpPolicyTestParentArgs]
    (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[SmtpPolicyTestPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies Sequence[SmtpPolicyTestPolicyArgs]
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients Sequence[str]
    (Array of schema.TypeString) -
    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_test_id str
    tags Sequence[SmtpPolicyTestTagArgs]
    This complex property has following sub-properties:
    version_contexts Sequence[SmtpPolicyTestVersionContextArgs]
    (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.
    accounts 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:
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled Boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails String
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime String
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy String
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus String
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    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:
    policies List<Property Map>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients List<String>
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId String
    tags List<Property Map>
    This complex property has following sub-properties:
    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 SmtpPolicyTest 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 SmtpPolicyTest Resource

    Get an existing SmtpPolicyTest 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?: SmtpPolicyTestState, opts?: CustomResourceOptions): SmtpPolicyTest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_moid: Optional[str] = None,
            accounts: Optional[Sequence[SmtpPolicyTestAccountArgs]] = None,
            additional_properties: Optional[str] = None,
            ancestors: Optional[Sequence[SmtpPolicyTestAncestorArgs]] = None,
            class_id: Optional[str] = None,
            create_time: Optional[str] = None,
            domain_group_moid: Optional[str] = None,
            enabled: Optional[bool] = None,
            last_status_details: Optional[str] = None,
            last_successful_attempt_time: Optional[str] = None,
            last_successful_policy: Optional[str] = None,
            last_test_status: Optional[str] = None,
            mod_time: Optional[str] = None,
            moid: Optional[str] = None,
            object_type: Optional[str] = None,
            owners: Optional[Sequence[str]] = None,
            parents: Optional[Sequence[SmtpPolicyTestParentArgs]] = None,
            permission_resources: Optional[Sequence[SmtpPolicyTestPermissionResourceArgs]] = None,
            policies: Optional[Sequence[SmtpPolicyTestPolicyArgs]] = None,
            recipients: Optional[Sequence[str]] = None,
            shared_scope: Optional[str] = None,
            smtp_policy_test_id: Optional[str] = None,
            tags: Optional[Sequence[SmtpPolicyTestTagArgs]] = None,
            version_contexts: Optional[Sequence[SmtpPolicyTestVersionContextArgs]] = None) -> SmtpPolicyTest
    func GetSmtpPolicyTest(ctx *Context, name string, id IDInput, state *SmtpPolicyTestState, opts ...ResourceOption) (*SmtpPolicyTest, error)
    public static SmtpPolicyTest Get(string name, Input<string> id, SmtpPolicyTestState? state, CustomResourceOptions? opts = null)
    public static SmtpPolicyTest get(String name, Output<String> id, SmtpPolicyTestState state, CustomResourceOptions options)
    resources:  _:    type: intersight:SmtpPolicyTest    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.
    Accounts List<SmtpPolicyTestAccount>
    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:
    AdditionalProperties string
    Ancestors List<SmtpPolicyTestAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    Enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    LastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    LastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    LastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    LastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Owners List<string>
    (Array of schema.TypeString) -(ReadOnly)
    Parents List<SmtpPolicyTestParent>
    (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<SmtpPolicyTestPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Policies List<SmtpPolicyTestPolicy>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Recipients List<string>
    (Array of schema.TypeString) -
    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.
    SmtpPolicyTestId string
    Tags List<SmtpPolicyTestTag>
    This complex property has following sub-properties:
    VersionContexts List<SmtpPolicyTestVersionContext>
    (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.
    Accounts []SmtpPolicyTestAccountArgs
    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:
    AdditionalProperties string
    Ancestors []SmtpPolicyTestAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    Enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    LastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    LastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    LastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    LastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    ModTime string
    (ReadOnly) The time when this managed object was last modified.
    Moid string
    The unique identifier of this Managed Object instance.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Owners []string
    (Array of schema.TypeString) -(ReadOnly)
    Parents []SmtpPolicyTestParentArgs
    (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 []SmtpPolicyTestPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Policies []SmtpPolicyTestPolicyArgs
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    Recipients []string
    (Array of schema.TypeString) -
    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.
    SmtpPolicyTestId string
    Tags []SmtpPolicyTestTagArgs
    This complex property has following sub-properties:
    VersionContexts []SmtpPolicyTestVersionContextArgs
    (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.
    accounts List<SmtpPolicyTestAccount>
    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:
    additionalProperties String
    ancestors List<SmtpPolicyTestAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled Boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails String
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime String
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy String
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus String
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners List<String>
    (Array of schema.TypeString) -(ReadOnly)
    parents List<SmtpPolicyTestParent>
    (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<SmtpPolicyTestPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies List<SmtpPolicyTestPolicy>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients List<String>
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId String
    tags List<SmtpPolicyTestTag>
    This complex property has following sub-properties:
    versionContexts List<SmtpPolicyTestVersionContext>
    (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.
    accounts SmtpPolicyTestAccount[]
    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:
    additionalProperties string
    ancestors SmtpPolicyTestAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails string
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime string
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy string
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus string
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime string
    (ReadOnly) The time when this managed object was last modified.
    moid string
    The unique identifier of this Managed Object instance.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners string[]
    (Array of schema.TypeString) -(ReadOnly)
    parents SmtpPolicyTestParent[]
    (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 SmtpPolicyTestPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies SmtpPolicyTestPolicy[]
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients string[]
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId string
    tags SmtpPolicyTestTag[]
    This complex property has following sub-properties:
    versionContexts SmtpPolicyTestVersionContext[]
    (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.
    accounts Sequence[SmtpPolicyTestAccountArgs]
    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:
    additional_properties str
    ancestors Sequence[SmtpPolicyTestAncestorArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domain_group_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled bool
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    last_status_details str
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    last_successful_attempt_time str
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    last_successful_policy str
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    last_test_status str
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    mod_time str
    (ReadOnly) The time when this managed object was last modified.
    moid str
    The unique identifier of this Managed Object instance.
    object_type str
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    owners Sequence[str]
    (Array of schema.TypeString) -(ReadOnly)
    parents Sequence[SmtpPolicyTestParentArgs]
    (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[SmtpPolicyTestPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    policies Sequence[SmtpPolicyTestPolicyArgs]
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients Sequence[str]
    (Array of schema.TypeString) -
    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_test_id str
    tags Sequence[SmtpPolicyTestTagArgs]
    This complex property has following sub-properties:
    version_contexts Sequence[SmtpPolicyTestVersionContextArgs]
    (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.
    accounts 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:
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. 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.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    enabled Boolean
    If enabled, an attempt will be made to send a test email notification to the configured recipients.
    lastStatusDetails String
    (ReadOnly) Information on the last status, including any encountered error specifics, to assist users in troubleshooting SMTP policy issues.
    lastSuccessfulAttemptTime String
    (ReadOnly) The date and time of the most recent successful attempt to send a test email notification.
    lastSuccessfulPolicy String
    (ReadOnly) The SMTP policy of the most recent successful attempt to send a test email notification.
    lastTestStatus String
    (ReadOnly) Status of the last test email notification.* `` - Notification has not been tried.* failed - Sending notification failed.* success - Sending notification successful.
    modTime String
    (ReadOnly) The time when this managed object was last modified.
    moid String
    The unique identifier of this Managed Object instance.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    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:
    policies List<Property Map>
    A reference to a smtpPolicy resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
    recipients List<String>
    (Array of schema.TypeString) -
    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.
    smtpPolicyTestId String
    tags List<Property Map>
    This complex property has following sub-properties:
    versionContexts List<Property Map>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:

    Supporting Types

    SmtpPolicyTestAccount, SmtpPolicyTestAccountArgs

    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'.

    SmtpPolicyTestAncestor, SmtpPolicyTestAncestorArgs

    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'.

    SmtpPolicyTestParent, SmtpPolicyTestParentArgs

    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'.

    SmtpPolicyTestPermissionResource, SmtpPolicyTestPermissionResourceArgs

    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'.

    SmtpPolicyTestPolicy, SmtpPolicyTestPolicyArgs

    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'.

    SmtpPolicyTestTag, SmtpPolicyTestTagArgs

    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.

    SmtpPolicyTestVersionContext, SmtpPolicyTestVersionContextArgs

    AdditionalProperties string
    ClassId string
    InterestedMos List<SmtpPolicyTestVersionContextInterestedMo>
    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<SmtpPolicyTestVersionContextRefMo>
    (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 []SmtpPolicyTestVersionContextInterestedMo
    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 []SmtpPolicyTestVersionContextRefMo
    (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<SmtpPolicyTestVersionContextInterestedMo>
    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<SmtpPolicyTestVersionContextRefMo>
    (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 SmtpPolicyTestVersionContextInterestedMo[]
    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 SmtpPolicyTestVersionContextRefMo[]
    (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[SmtpPolicyTestVersionContextInterestedMo]
    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[SmtpPolicyTestVersionContextRefMo]
    (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.

    SmtpPolicyTestVersionContextInterestedMo, SmtpPolicyTestVersionContextInterestedMoArgs

    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'.

    SmtpPolicyTestVersionContextRefMo, SmtpPolicyTestVersionContextRefMoArgs

    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_test can be imported using the Moid of the object, e.g.

    $ pulumi import intersight:index/smtpPolicyTest:SmtpPolicyTest 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