intersight.SmtpPolicy
Explore with Pulumi AI
Name that identifies the SMTP Policy.
Usage Example
Resource Creation
import * as pulumi from "@pulumi/pulumi";
import * as intersight from "@pulumi/intersight";
const config = new pulumi.Config();
const organization = config.require("organization");
const profile = config.require("profile");
const smtp1 = new intersight.SmtpPolicy("smtp1", {
enabled: false,
description: "testing smtp policy",
smtpPort: 32,
minSeverity: "critical",
smtpServer: "10.10.10.1",
senderEmail: "IMCSQAAutomation@cisco.com",
smtpRecipients: [
"aw@cisco.com",
"cy@cisco.com",
"dz@cisco.com",
],
organizations: [{
objectType: "organization.Organization",
moid: organization,
}],
profiles: [{
moid: profile,
objectType: "server.Profile",
}],
});
import pulumi
import pulumi_intersight as intersight
config = pulumi.Config()
organization = config.require("organization")
profile = config.require("profile")
smtp1 = intersight.SmtpPolicy("smtp1",
enabled=False,
description="testing smtp policy",
smtp_port=32,
min_severity="critical",
smtp_server="10.10.10.1",
sender_email="IMCSQAAutomation@cisco.com",
smtp_recipients=[
"aw@cisco.com",
"cy@cisco.com",
"dz@cisco.com",
],
organizations=[{
"object_type": "organization.Organization",
"moid": organization,
}],
profiles=[{
"moid": profile,
"object_type": "server.Profile",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/intersight/intersight"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
organization := cfg.Require("organization")
profile := cfg.Require("profile")
_, err := intersight.NewSmtpPolicy(ctx, "smtp1", &intersight.SmtpPolicyArgs{
Enabled: pulumi.Bool(false),
Description: pulumi.String("testing smtp policy"),
SmtpPort: pulumi.Float64(32),
MinSeverity: pulumi.String("critical"),
SmtpServer: pulumi.String("10.10.10.1"),
SenderEmail: pulumi.String("IMCSQAAutomation@cisco.com"),
SmtpRecipients: pulumi.StringArray{
pulumi.String("aw@cisco.com"),
pulumi.String("cy@cisco.com"),
pulumi.String("dz@cisco.com"),
},
Organizations: intersight.SmtpPolicyOrganizationArray{
&intersight.SmtpPolicyOrganizationArgs{
ObjectType: pulumi.String("organization.Organization"),
Moid: pulumi.String(organization),
},
},
Profiles: intersight.SmtpPolicyProfileArray{
&intersight.SmtpPolicyProfileArgs{
Moid: pulumi.String(profile),
ObjectType: pulumi.String("server.Profile"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Intersight = Pulumi.Intersight;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var organization = config.Require("organization");
var profile = config.Require("profile");
var smtp1 = new Intersight.SmtpPolicy("smtp1", new()
{
Enabled = false,
Description = "testing smtp policy",
SmtpPort = 32,
MinSeverity = "critical",
SmtpServer = "10.10.10.1",
SenderEmail = "IMCSQAAutomation@cisco.com",
SmtpRecipients = new[]
{
"aw@cisco.com",
"cy@cisco.com",
"dz@cisco.com",
},
Organizations = new[]
{
new Intersight.Inputs.SmtpPolicyOrganizationArgs
{
ObjectType = "organization.Organization",
Moid = organization,
},
},
Profiles = new[]
{
new Intersight.Inputs.SmtpPolicyProfileArgs
{
Moid = profile,
ObjectType = "server.Profile",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.intersight.SmtpPolicy;
import com.pulumi.intersight.SmtpPolicyArgs;
import com.pulumi.intersight.inputs.SmtpPolicyOrganizationArgs;
import com.pulumi.intersight.inputs.SmtpPolicyProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var organization = config.get("organization");
final var profile = config.get("profile");
var smtp1 = new SmtpPolicy("smtp1", SmtpPolicyArgs.builder()
.enabled(false)
.description("testing smtp policy")
.smtpPort(32)
.minSeverity("critical")
.smtpServer("10.10.10.1")
.senderEmail("IMCSQAAutomation@cisco.com")
.smtpRecipients(
"aw@cisco.com",
"cy@cisco.com",
"dz@cisco.com")
.organizations(SmtpPolicyOrganizationArgs.builder()
.objectType("organization.Organization")
.moid(organization)
.build())
.profiles(SmtpPolicyProfileArgs.builder()
.moid(profile)
.objectType("server.Profile")
.build())
.build());
}
}
configuration:
organization:
type: string
profile:
type: string
resources:
smtp1:
type: intersight:SmtpPolicy
properties:
enabled: false
description: testing smtp policy
smtpPort: 32
minSeverity: critical
smtpServer: 10.10.10.1
senderEmail: IMCSQAAutomation@cisco.com
smtpRecipients:
- aw@cisco.com
- cy@cisco.com
- dz@cisco.com
organizations:
- objectType: organization.Organization
moid: ${organization}
profiles:
- moid: ${profile}
objectType: server.Profile
Create SmtpPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmtpPolicy(name: string, args?: SmtpPolicyArgs, opts?: CustomResourceOptions);
@overload
def SmtpPolicy(resource_name: str,
args: Optional[SmtpPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SmtpPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[SmtpPolicyAncestorArgs]] = None,
appliance_accounts: Optional[Sequence[SmtpPolicyApplianceAccountArgs]] = None,
auth_password: Optional[str] = None,
certificates: Optional[Sequence[SmtpPolicyCertificateArgs]] = None,
class_id: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
domain_group_moid: Optional[str] = None,
enable_auth: Optional[bool] = None,
enable_tls: Optional[bool] = None,
enabled: Optional[bool] = None,
is_auth_password_set: Optional[bool] = None,
min_severity: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
name: Optional[str] = None,
object_type: Optional[str] = None,
organizations: Optional[Sequence[SmtpPolicyOrganizationArgs]] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[SmtpPolicyParentArgs]] = None,
permission_resources: Optional[Sequence[SmtpPolicyPermissionResourceArgs]] = None,
profiles: Optional[Sequence[SmtpPolicyProfileArgs]] = None,
sender_email: Optional[str] = None,
shared_scope: Optional[str] = None,
smtp_policy_id: Optional[str] = None,
smtp_port: Optional[float] = None,
smtp_recipients: Optional[Sequence[str]] = None,
smtp_server: Optional[str] = None,
tags: Optional[Sequence[SmtpPolicyTagArgs]] = None,
user_name: Optional[str] = None,
version_contexts: Optional[Sequence[SmtpPolicyVersionContextArgs]] = None)
func NewSmtpPolicy(ctx *Context, name string, args *SmtpPolicyArgs, opts ...ResourceOption) (*SmtpPolicy, error)
public SmtpPolicy(string name, SmtpPolicyArgs? args = null, CustomResourceOptions? opts = null)
public SmtpPolicy(String name, SmtpPolicyArgs args)
public SmtpPolicy(String name, SmtpPolicyArgs args, CustomResourceOptions options)
type: intersight:SmtpPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SmtpPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SmtpPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SmtpPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmtpPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmtpPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var smtpPolicyResource = new Intersight.SmtpPolicy("smtpPolicyResource", new()
{
AccountMoid = "string",
AdditionalProperties = "string",
Ancestors = new[]
{
new Intersight.Inputs.SmtpPolicyAncestorArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
ApplianceAccounts = new[]
{
new Intersight.Inputs.SmtpPolicyApplianceAccountArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
AuthPassword = "string",
Certificates = new[]
{
new Intersight.Inputs.SmtpPolicyCertificateArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
ClassId = "string",
CreateTime = "string",
Description = "string",
DomainGroupMoid = "string",
EnableAuth = false,
EnableTls = false,
Enabled = false,
IsAuthPasswordSet = false,
MinSeverity = "string",
ModTime = "string",
Moid = "string",
Name = "string",
ObjectType = "string",
Organizations = new[]
{
new Intersight.Inputs.SmtpPolicyOrganizationArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Owners = new[]
{
"string",
},
Parents = new[]
{
new Intersight.Inputs.SmtpPolicyParentArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
PermissionResources = new[]
{
new Intersight.Inputs.SmtpPolicyPermissionResourceArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Profiles = new[]
{
new Intersight.Inputs.SmtpPolicyProfileArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
SenderEmail = "string",
SharedScope = "string",
SmtpPolicyId = "string",
SmtpPort = 0,
SmtpRecipients = new[]
{
"string",
},
SmtpServer = "string",
Tags = new[]
{
new Intersight.Inputs.SmtpPolicyTagArgs
{
AdditionalProperties = "string",
Key = "string",
Value = "string",
},
},
UserName = "string",
VersionContexts = new[]
{
new Intersight.Inputs.SmtpPolicyVersionContextArgs
{
AdditionalProperties = "string",
ClassId = "string",
InterestedMos = new[]
{
new Intersight.Inputs.SmtpPolicyVersionContextInterestedMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
MarkedForDeletion = false,
NrVersion = "string",
ObjectType = "string",
RefMos = new[]
{
new Intersight.Inputs.SmtpPolicyVersionContextRefMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Timestamp = "string",
VersionType = "string",
},
},
});
example, err := intersight.NewSmtpPolicy(ctx, "smtpPolicyResource", &intersight.SmtpPolicyArgs{
AccountMoid: pulumi.String("string"),
AdditionalProperties: pulumi.String("string"),
Ancestors: intersight.SmtpPolicyAncestorArray{
&intersight.SmtpPolicyAncestorArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
ApplianceAccounts: intersight.SmtpPolicyApplianceAccountArray{
&intersight.SmtpPolicyApplianceAccountArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
AuthPassword: pulumi.String("string"),
Certificates: intersight.SmtpPolicyCertificateArray{
&intersight.SmtpPolicyCertificateArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
ClassId: pulumi.String("string"),
CreateTime: pulumi.String("string"),
Description: pulumi.String("string"),
DomainGroupMoid: pulumi.String("string"),
EnableAuth: pulumi.Bool(false),
EnableTls: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
IsAuthPasswordSet: pulumi.Bool(false),
MinSeverity: pulumi.String("string"),
ModTime: pulumi.String("string"),
Moid: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Organizations: intersight.SmtpPolicyOrganizationArray{
&intersight.SmtpPolicyOrganizationArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Owners: pulumi.StringArray{
pulumi.String("string"),
},
Parents: intersight.SmtpPolicyParentArray{
&intersight.SmtpPolicyParentArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
PermissionResources: intersight.SmtpPolicyPermissionResourceArray{
&intersight.SmtpPolicyPermissionResourceArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Profiles: intersight.SmtpPolicyProfileArray{
&intersight.SmtpPolicyProfileArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
SenderEmail: pulumi.String("string"),
SharedScope: pulumi.String("string"),
SmtpPolicyId: pulumi.String("string"),
SmtpPort: pulumi.Float64(0),
SmtpRecipients: pulumi.StringArray{
pulumi.String("string"),
},
SmtpServer: pulumi.String("string"),
Tags: intersight.SmtpPolicyTagArray{
&intersight.SmtpPolicyTagArgs{
AdditionalProperties: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UserName: pulumi.String("string"),
VersionContexts: intersight.SmtpPolicyVersionContextArray{
&intersight.SmtpPolicyVersionContextArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
InterestedMos: intersight.SmtpPolicyVersionContextInterestedMoArray{
&intersight.SmtpPolicyVersionContextInterestedMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
MarkedForDeletion: pulumi.Bool(false),
NrVersion: pulumi.String("string"),
ObjectType: pulumi.String("string"),
RefMos: intersight.SmtpPolicyVersionContextRefMoArray{
&intersight.SmtpPolicyVersionContextRefMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Timestamp: pulumi.String("string"),
VersionType: pulumi.String("string"),
},
},
})
var smtpPolicyResource = new SmtpPolicy("smtpPolicyResource", SmtpPolicyArgs.builder()
.accountMoid("string")
.additionalProperties("string")
.ancestors(SmtpPolicyAncestorArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.applianceAccounts(SmtpPolicyApplianceAccountArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.authPassword("string")
.certificates(SmtpPolicyCertificateArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.classId("string")
.createTime("string")
.description("string")
.domainGroupMoid("string")
.enableAuth(false)
.enableTls(false)
.enabled(false)
.isAuthPasswordSet(false)
.minSeverity("string")
.modTime("string")
.moid("string")
.name("string")
.objectType("string")
.organizations(SmtpPolicyOrganizationArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.owners("string")
.parents(SmtpPolicyParentArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.permissionResources(SmtpPolicyPermissionResourceArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.profiles(SmtpPolicyProfileArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.senderEmail("string")
.sharedScope("string")
.smtpPolicyId("string")
.smtpPort(0)
.smtpRecipients("string")
.smtpServer("string")
.tags(SmtpPolicyTagArgs.builder()
.additionalProperties("string")
.key("string")
.value("string")
.build())
.userName("string")
.versionContexts(SmtpPolicyVersionContextArgs.builder()
.additionalProperties("string")
.classId("string")
.interestedMos(SmtpPolicyVersionContextInterestedMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.markedForDeletion(false)
.nrVersion("string")
.objectType("string")
.refMos(SmtpPolicyVersionContextRefMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.timestamp("string")
.versionType("string")
.build())
.build());
smtp_policy_resource = intersight.SmtpPolicy("smtpPolicyResource",
account_moid="string",
additional_properties="string",
ancestors=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
appliance_accounts=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
auth_password="string",
certificates=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
class_id="string",
create_time="string",
description="string",
domain_group_moid="string",
enable_auth=False,
enable_tls=False,
enabled=False,
is_auth_password_set=False,
min_severity="string",
mod_time="string",
moid="string",
name="string",
object_type="string",
organizations=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
owners=["string"],
parents=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
permission_resources=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
profiles=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
sender_email="string",
shared_scope="string",
smtp_policy_id="string",
smtp_port=0,
smtp_recipients=["string"],
smtp_server="string",
tags=[{
"additional_properties": "string",
"key": "string",
"value": "string",
}],
user_name="string",
version_contexts=[{
"additional_properties": "string",
"class_id": "string",
"interested_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"marked_for_deletion": False,
"nr_version": "string",
"object_type": "string",
"ref_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"timestamp": "string",
"version_type": "string",
}])
const smtpPolicyResource = new intersight.SmtpPolicy("smtpPolicyResource", {
accountMoid: "string",
additionalProperties: "string",
ancestors: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
applianceAccounts: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
authPassword: "string",
certificates: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
classId: "string",
createTime: "string",
description: "string",
domainGroupMoid: "string",
enableAuth: false,
enableTls: false,
enabled: false,
isAuthPasswordSet: false,
minSeverity: "string",
modTime: "string",
moid: "string",
name: "string",
objectType: "string",
organizations: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
owners: ["string"],
parents: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
permissionResources: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
profiles: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
senderEmail: "string",
sharedScope: "string",
smtpPolicyId: "string",
smtpPort: 0,
smtpRecipients: ["string"],
smtpServer: "string",
tags: [{
additionalProperties: "string",
key: "string",
value: "string",
}],
userName: "string",
versionContexts: [{
additionalProperties: "string",
classId: "string",
interestedMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
markedForDeletion: false,
nrVersion: "string",
objectType: "string",
refMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
timestamp: "string",
versionType: "string",
}],
});
type: intersight:SmtpPolicy
properties:
accountMoid: string
additionalProperties: string
ancestors:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
applianceAccounts:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
authPassword: string
certificates:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
classId: string
createTime: string
description: string
domainGroupMoid: string
enableAuth: false
enableTls: false
enabled: false
isAuthPasswordSet: false
minSeverity: string
modTime: string
moid: string
name: string
objectType: string
organizations:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
owners:
- string
parents:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
permissionResources:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
profiles:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
senderEmail: string
sharedScope: string
smtpPolicyId: string
smtpPort: 0
smtpRecipients:
- string
smtpServer: string
tags:
- additionalProperties: string
key: string
value: string
userName: string
versionContexts:
- additionalProperties: string
classId: string
interestedMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
markedForDeletion: false
nrVersion: string
objectType: string
refMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
timestamp: string
versionType: string
SmtpPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SmtpPolicy resource accepts the following input properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Smtp
Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Appliance
Accounts List<SmtpPolicy Appliance Account> - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Auth
Password string - Authorization password for the process.
- Certificates
List<Smtp
Policy Certificate> - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Class
Id 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.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Enable
Auth bool - If enabled, lets user input username and password.
- Enable
Tls bool - If enabled, lets user input valid CA certificates for authorization.
- Enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- Is
Auth boolPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- Min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
List<Smtp
Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Smtp
Policy Parent> - (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 List<SmtpPolicy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Profiles
List<Smtp
Policy Profile> - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- Sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- Smtp
Policy stringId - Smtp
Port double - Port number used by the SMTP server for outgoing SMTP communication.
- Smtp
Recipients List<string> - (Array of schema.TypeString) -
- Smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Smtp
Policy Tag> - This complex property has following sub-properties:
- User
Name string - SMTP username from which email notification is sent.
- Version
Contexts List<SmtpPolicy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Smtp
Policy Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Appliance
Accounts []SmtpPolicy Appliance Account Args - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Auth
Password string - Authorization password for the process.
- Certificates
[]Smtp
Policy Certificate Args - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Class
Id 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.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Enable
Auth bool - If enabled, lets user input username and password.
- Enable
Tls bool - If enabled, lets user input valid CA certificates for authorization.
- Enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- Is
Auth boolPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- Min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
[]Smtp
Policy Organization Args - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Smtp
Policy Parent Args - (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 []SmtpPolicy Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Profiles
[]Smtp
Policy Profile Args - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- Sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- Smtp
Policy stringId - Smtp
Port float64 - Port number used by the SMTP server for outgoing SMTP communication.
- Smtp
Recipients []string - (Array of schema.TypeString) -
- Smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- []Smtp
Policy Tag Args - This complex property has following sub-properties:
- User
Name string - SMTP username from which email notification is sent.
- Version
Contexts []SmtpPolicy Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Smtp
Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
Accounts List<SmtpPolicy Appliance Account> - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth
Password String - Authorization password for the process.
- certificates
List<Smtp
Policy Certificate> - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth Boolean - If enabled, lets user input username and password.
- enable
Tls Boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled Boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth BooleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity String - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
List<Smtp
Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Smtp
Policy Parent> - (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 List<SmtpPolicy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
List<Smtp
Policy Profile> - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email String - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy StringId - smtp
Port Double - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients List<String> - (Array of schema.TypeString) -
- smtp
Server String - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Smtp
Policy Tag> - This complex property has following sub-properties:
- user
Name String - SMTP username from which email notification is sent.
- version
Contexts List<SmtpPolicy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Smtp
Policy Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
Accounts SmtpPolicy Appliance Account[] - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth
Password string - Authorization password for the process.
- certificates
Smtp
Policy Certificate[] - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time string - (ReadOnly) The time when this managed object was created.
- description string
- Description of the policy.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth boolean - If enabled, lets user input username and password.
- enable
Tls boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth booleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- Name of the concrete policy.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Smtp
Policy Organization[] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Smtp
Policy Parent[] - (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 SmtpPolicy Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
Smtp
Policy Profile[] - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy stringId - smtp
Port number - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients string[] - (Array of schema.TypeString) -
- smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- Smtp
Policy Tag[] - This complex property has following sub-properties:
- user
Name string - SMTP username from which email notification is sent.
- version
Contexts SmtpPolicy Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Smtp
Policy Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance_
accounts Sequence[SmtpPolicy Appliance Account Args] - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth_
password str - Authorization password for the process.
- certificates
Sequence[Smtp
Policy Certificate Args] - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- create_
time str - (ReadOnly) The time when this managed object was created.
- description str
- Description of the policy.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable_
auth bool - If enabled, lets user input username and password.
- enable_
tls bool - If enabled, lets user input valid CA certificates for authorization.
- enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- is_
auth_ boolpassword_ set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min_
severity str - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- name str
- Name of the concrete policy.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Sequence[Smtp
Policy Organization Args] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Smtp
Policy Parent Args] - (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[SmtpPolicy Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
Sequence[Smtp
Policy Profile Args] - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender_
email str - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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_ strid - smtp_
port float - Port number used by the SMTP server for outgoing SMTP communication.
- smtp_
recipients Sequence[str] - (Array of schema.TypeString) -
- smtp_
server str - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- Sequence[Smtp
Policy Tag Args] - This complex property has following sub-properties:
- user_
name str - SMTP username from which email notification is sent.
- version_
contexts Sequence[SmtpPolicy Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
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:
- auth
Password String - Authorization password for the process.
- certificates List<Property Map>
- A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth Boolean - If enabled, lets user input username and password.
- enable
Tls Boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled Boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth BooleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity String - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations List<Property Map>
- A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles List<Property Map>
- An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email String - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy StringId - smtp
Port Number - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients List<String> - (Array of schema.TypeString) -
- smtp
Server String - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Property Map>
- This complex property has following sub-properties:
- user
Name String - SMTP username from which email notification is sent.
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the SmtpPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SmtpPolicy Resource
Get an existing SmtpPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SmtpPolicyState, opts?: CustomResourceOptions): SmtpPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[SmtpPolicyAncestorArgs]] = None,
appliance_accounts: Optional[Sequence[SmtpPolicyApplianceAccountArgs]] = None,
auth_password: Optional[str] = None,
certificates: Optional[Sequence[SmtpPolicyCertificateArgs]] = None,
class_id: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
domain_group_moid: Optional[str] = None,
enable_auth: Optional[bool] = None,
enable_tls: Optional[bool] = None,
enabled: Optional[bool] = None,
is_auth_password_set: Optional[bool] = None,
min_severity: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
name: Optional[str] = None,
object_type: Optional[str] = None,
organizations: Optional[Sequence[SmtpPolicyOrganizationArgs]] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[SmtpPolicyParentArgs]] = None,
permission_resources: Optional[Sequence[SmtpPolicyPermissionResourceArgs]] = None,
profiles: Optional[Sequence[SmtpPolicyProfileArgs]] = None,
sender_email: Optional[str] = None,
shared_scope: Optional[str] = None,
smtp_policy_id: Optional[str] = None,
smtp_port: Optional[float] = None,
smtp_recipients: Optional[Sequence[str]] = None,
smtp_server: Optional[str] = None,
tags: Optional[Sequence[SmtpPolicyTagArgs]] = None,
user_name: Optional[str] = None,
version_contexts: Optional[Sequence[SmtpPolicyVersionContextArgs]] = None) -> SmtpPolicy
func GetSmtpPolicy(ctx *Context, name string, id IDInput, state *SmtpPolicyState, opts ...ResourceOption) (*SmtpPolicy, error)
public static SmtpPolicy Get(string name, Input<string> id, SmtpPolicyState? state, CustomResourceOptions? opts = null)
public static SmtpPolicy get(String name, Output<String> id, SmtpPolicyState state, CustomResourceOptions options)
resources: _: type: intersight:SmtpPolicy get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Smtp
Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Appliance
Accounts List<SmtpPolicy Appliance Account> - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Auth
Password string - Authorization password for the process.
- Certificates
List<Smtp
Policy Certificate> - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Class
Id 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.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Enable
Auth bool - If enabled, lets user input username and password.
- Enable
Tls bool - If enabled, lets user input valid CA certificates for authorization.
- Enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- Is
Auth boolPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- Min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
List<Smtp
Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Smtp
Policy Parent> - (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 List<SmtpPolicy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Profiles
List<Smtp
Policy Profile> - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- Sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- Smtp
Policy stringId - Smtp
Port double - Port number used by the SMTP server for outgoing SMTP communication.
- Smtp
Recipients List<string> - (Array of schema.TypeString) -
- Smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Smtp
Policy Tag> - This complex property has following sub-properties:
- User
Name string - SMTP username from which email notification is sent.
- Version
Contexts List<SmtpPolicy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Smtp
Policy Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Appliance
Accounts []SmtpPolicy Appliance Account Args - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Auth
Password string - Authorization password for the process.
- Certificates
[]Smtp
Policy Certificate Args - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Class
Id 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.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Enable
Auth bool - If enabled, lets user input username and password.
- Enable
Tls bool - If enabled, lets user input valid CA certificates for authorization.
- Enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- Is
Auth boolPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- Min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
[]Smtp
Policy Organization Args - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Smtp
Policy Parent Args - (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 []SmtpPolicy Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Profiles
[]Smtp
Policy Profile Args - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- Sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- Smtp
Policy stringId - Smtp
Port float64 - Port number used by the SMTP server for outgoing SMTP communication.
- Smtp
Recipients []string - (Array of schema.TypeString) -
- Smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- []Smtp
Policy Tag Args - This complex property has following sub-properties:
- User
Name string - SMTP username from which email notification is sent.
- Version
Contexts []SmtpPolicy Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Smtp
Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
Accounts List<SmtpPolicy Appliance Account> - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth
Password String - Authorization password for the process.
- certificates
List<Smtp
Policy Certificate> - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth Boolean - If enabled, lets user input username and password.
- enable
Tls Boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled Boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth BooleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity String - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
List<Smtp
Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Smtp
Policy Parent> - (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 List<SmtpPolicy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
List<Smtp
Policy Profile> - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email String - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy StringId - smtp
Port Double - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients List<String> - (Array of schema.TypeString) -
- smtp
Server String - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Smtp
Policy Tag> - This complex property has following sub-properties:
- user
Name String - SMTP username from which email notification is sent.
- version
Contexts List<SmtpPolicy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Smtp
Policy Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
Accounts SmtpPolicy Appliance Account[] - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth
Password string - Authorization password for the process.
- certificates
Smtp
Policy Certificate[] - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time string - (ReadOnly) The time when this managed object was created.
- description string
- Description of the policy.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth boolean - If enabled, lets user input username and password.
- enable
Tls boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth booleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity string - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- Name of the concrete policy.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Smtp
Policy Organization[] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Smtp
Policy Parent[] - (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 SmtpPolicy Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
Smtp
Policy Profile[] - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email string - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy stringId - smtp
Port number - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients string[] - (Array of schema.TypeString) -
- smtp
Server string - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- Smtp
Policy Tag[] - This complex property has following sub-properties:
- user
Name string - SMTP username from which email notification is sent.
- version
Contexts SmtpPolicy Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Smtp
Policy Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance_
accounts Sequence[SmtpPolicy Appliance Account Args] - A reference to a iamAccount resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- auth_
password str - Authorization password for the process.
- certificates
Sequence[Smtp
Policy Certificate Args] - A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- create_
time str - (ReadOnly) The time when this managed object was created.
- description str
- Description of the policy.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable_
auth bool - If enabled, lets user input username and password.
- enable_
tls bool - If enabled, lets user input valid CA certificates for authorization.
- enabled bool
- If enabled, controls the state of the SMTP client service on the managed device.
- is_
auth_ boolpassword_ set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min_
severity str - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- name str
- Name of the concrete policy.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Sequence[Smtp
Policy Organization Args] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Smtp
Policy Parent Args] - (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[SmtpPolicy Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles
Sequence[Smtp
Policy Profile Args] - An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender_
email str - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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_ strid - smtp_
port float - Port number used by the SMTP server for outgoing SMTP communication.
- smtp_
recipients Sequence[str] - (Array of schema.TypeString) -
- smtp_
server str - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- Sequence[Smtp
Policy Tag Args] - This complex property has following sub-properties:
- user_
name str - SMTP username from which email notification is sent.
- version_
contexts Sequence[SmtpPolicy Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- appliance
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:
- auth
Password String - Authorization password for the process.
- certificates List<Property Map>
- A reference to a iamTrustPoint resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- class
Id 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.
- create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- enable
Auth Boolean - If enabled, lets user input username and password.
- enable
Tls Boolean - If enabled, lets user input valid CA certificates for authorization.
- enabled Boolean
- If enabled, controls the state of the SMTP client service on the managed device.
- is
Auth BooleanPassword Set - (ReadOnly) Indicates whether the value of the 'authPassword' property has been set.
- min
Severity String - Minimum fault severity level to receive email notifications. Email notifications are sent for all faults whose severity is equal to or greater than the chosen level.*
critical
- Minimum severity to report is critical.*condition
- Minimum severity to report is informational.*warning
- Minimum severity to report is warning.*minor
- Minimum severity to report is minor.*major
- Minimum severity to report is major. - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations List<Property Map>
- A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- profiles List<Property Map>
- An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
- sender
Email String - The email address entered here will be displayed as the from address (mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field.
- 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.
- smtp
Policy StringId - smtp
Port Number - Port number used by the SMTP server for outgoing SMTP communication.
- smtp
Recipients List<String> - (Array of schema.TypeString) -
- smtp
Server String - IP address or hostname of the SMTP server. The SMTP server is used by the managed device to send email notifications.
- List<Property Map>
- This complex property has following sub-properties:
- user
Name String - SMTP username from which email notification is sent.
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Supporting Types
SmtpPolicyAncestor, SmtpPolicyAncestorArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyApplianceAccount, SmtpPolicyApplianceAccountArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyCertificate, SmtpPolicyCertificateArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyOrganization, SmtpPolicyOrganizationArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyParent, SmtpPolicyParentArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyPermissionResource, SmtpPolicyPermissionResourceArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyProfile, SmtpPolicyProfileArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyTag, SmtpPolicyTagArgs
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
- additional
Properties 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.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
SmtpPolicyVersionContext, SmtpPolicyVersionContextArgs
- Additional
Properties string - Class
Id string - Interested
Mos List<SmtpPolicy Version Context Interested Mo> - This complex property has following sub-properties:
- Marked
For boolDeletion - (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 string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos List<SmtpPolicy Version Context Ref Mo> - (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.
- Version
Type 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 string - Class
Id string - Interested
Mos []SmtpPolicy Version Context Interested Mo - This complex property has following sub-properties:
- Marked
For boolDeletion - (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 string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos []SmtpPolicy Version Context Ref Mo - (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.
- Version
Type 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 String - class
Id String - interested
Mos List<SmtpPolicy Version Context Interested Mo> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (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 String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos List<SmtpPolicy Version Context Ref Mo> - (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.
- version
Type 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 string - class
Id string - interested
Mos SmtpPolicy Version Context Interested Mo[] - This complex property has following sub-properties:
- marked
For booleanDeletion - (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 string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos SmtpPolicy Version Context Ref Mo[] - (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.
- version
Type 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[SmtpPolicy Version Context Interested Mo] - This complex property has following sub-properties:
- marked_
for_ booldeletion - (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[SmtpPolicy Version Context Ref Mo] - (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.
- additional
Properties String - class
Id String - interested
Mos List<Property Map> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (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 String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos 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.
- version
Type String - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
SmtpPolicyVersionContextInterestedMo, SmtpPolicyVersionContextInterestedMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
SmtpPolicyVersionContextRefMo, SmtpPolicyVersionContextRefMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type 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 String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type 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 string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type 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'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
Import
intersight_smtp_policy
can be imported using the Moid of the object, e.g.
$ pulumi import intersight:index/smtpPolicy:SmtpPolicy example 1234567890987654321abcde
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- intersight ciscodevnet/terraform-provider-intersight
- License
- Notes
- This Pulumi package is based on the
intersight
Terraform Provider.