共用方式為


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServersValidationDetails Method

Definition

Initializes a new instance of PostgreSqlFlexibleServersValidationDetails.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationDetails PostgreSqlFlexibleServersValidationDetails (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationState? status = default, DateTimeOffset? validationStartTimeInUtc = default, DateTimeOffset? validationEndTimeInUtc = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ValidationSummaryItem> serverLevelValidationDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.DbLevelValidationStatus> dbLevelValidationDetails = default);
static member PostgreSqlFlexibleServersValidationDetails : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ValidationSummaryItem> * seq<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.DbLevelValidationStatus> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationDetails
Public Shared Function PostgreSqlFlexibleServersValidationDetails (Optional status As Nullable(Of PostgreSqlFlexibleServersValidationState) = Nothing, Optional validationStartTimeInUtc As Nullable(Of DateTimeOffset) = Nothing, Optional validationEndTimeInUtc As Nullable(Of DateTimeOffset) = Nothing, Optional serverLevelValidationDetails As IEnumerable(Of ValidationSummaryItem) = Nothing, Optional dbLevelValidationDetails As IEnumerable(Of DbLevelValidationStatus) = Nothing) As PostgreSqlFlexibleServersValidationDetails

Parameters

status
Nullable<PostgreSqlFlexibleServersValidationState>

Validation status for migration.

validationStartTimeInUtc
Nullable<DateTimeOffset>

Validation Start date-time in UTC.

validationEndTimeInUtc
Nullable<DateTimeOffset>

Validation End date-time in UTC.

serverLevelValidationDetails
IEnumerable<ValidationSummaryItem>

Details of server level validations.

dbLevelValidationDetails
IEnumerable<DbLevelValidationStatus>

Details of server level validations.

Returns

A new PostgreSqlFlexibleServersValidationDetails instance for mocking.

Applies to