API Reference
Class
DesiredStateSmtpBannerPolicy
Provides desired state smtp banner policy functionality.
Inheritance
- Object
- DesiredStateSmtpBannerPolicy
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property DesiredStateConfiguration.SmtpBanner
- Property DesiredStateProfile.SmtpBanner
- Method DesiredStateSmtpBannerPolicy.Clone
Accepted by parameters
Constructors
public DesiredStateSmtpBannerPolicy() #Methods
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Nullable<Boolean> Enabled { get; set; } #JsonPropertyName("enabled")Gets or sets the enabled value.
public Nullable<Boolean> RequireAtLeastOneResult { get; set; } #JsonPropertyName("requireAtLeastOneResult")Gets or sets the require at least one result value.
public Nullable<Boolean> RequireValidFormat { get; set; } #JsonPropertyName("requireValidFormat")Gets or sets the require valid format value.
public Nullable<Boolean> RequireStartsWith220 { get; set; } #JsonPropertyName("requireStartsWith220")Gets or sets the require starts with220 value.
public Nullable<Boolean> RequireDomainPresent { get; set; } #JsonPropertyName("requireDomainPresent")Gets or sets the require domain present value.
public Nullable<Boolean> DisallowTruncated { get; set; } #JsonPropertyName("disallowTruncated")Gets or sets the disallow truncated value.
public Nullable<Int32> MaxResponseTimeMs { get; set; } #JsonPropertyName("maxResponseTimeMs")Gets or sets the max response time ms value.
public Nullable<Boolean> RequireTlsAdvertised { get; set; } #JsonPropertyName("requireTlsAdvertised")Gets or sets the require tls advertised value.
public Nullable<Boolean> DisallowVersionLeak { get; set; } #JsonPropertyName("disallowVersionLeak")Gets or sets the disallow version leak value.
public String[] AllowedServerDomainSuffixes { get; set; } #JsonPropertyName("allowedServerDomainSuffixes")Allowed suffixes for the hostname found in the 220 greeting (e.g., mx.provider.example).