API Reference
Class
DesiredStateSmtpAuthPolicy
Provides desired state smtp auth policy functionality.
Inheritance
- Object
- DesiredStateSmtpAuthPolicy
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.SmtpAuth
- Property DesiredStateProfile.SmtpAuth
- Method DesiredStateSmtpAuthPolicy.Clone
Accepted by parameters
Constructors
public DesiredStateSmtpAuthPolicy() #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> DisallowAuthAdvertisement { get; set; } #JsonPropertyName("disallowAuthAdvertisement")When true, disallows any SMTP AUTH advertisement on any server.
public String[] AllowedMechanisms { get; set; } #JsonPropertyName("allowedMechanisms")When specified, all advertised mechanisms must be within this allow list.
public String[] DisallowedMechanisms { get; set; } #JsonPropertyName("disallowedMechanisms")When specified, none of the advertised mechanisms may be present.
public String[] RequiredMechanismsAnyOf { get; set; } #JsonPropertyName("requiredMechanismsAnyOf")When specified, requires at least one of the mechanisms to be present per server advertising AUTH.
public Nullable<Boolean> RequireStartTlsCapabilityWhenAuth { get; set; } #JsonPropertyName("requireStartTlsCapabilityWhenAuth")When true, requires STARTTLS capability to be advertised alongside AUTH.