Поделиться через


MigrationValidationDatabaseLevelResult Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.MigrationValidationDatabaseLevelResult

Implements

public class MigrationValidationDatabaseLevelResult
implements JsonSerializable<MigrationValidationDatabaseLevelResult>

Database level validation results.

Constructor Summary

Constructor Description
MigrationValidationDatabaseLevelResult()

Creates an instance of MigrationValidationDatabaseLevelResult class.

Method Summary

Modifier and Type Method and Description
DataIntegrityValidationResult dataIntegrityValidationResult()

Get the dataIntegrityValidationResult property: Provides data integrity validation result between the source and target tables that are migrated.

OffsetDateTime endedOn()

Get the endedOn property: Validation end time.

static MigrationValidationDatabaseLevelResult fromJson(JsonReader jsonReader)

Reads an instance of MigrationValidationDatabaseLevelResult from the JsonReader.

String id()

Get the id property: Result identifier.

String migrationId()

Get the migrationId property: Migration Identifier.

QueryAnalysisValidationResult queryAnalysisValidationResult()

Get the queryAnalysisValidationResult property: Results of some of the query execution result between source and target database.

SchemaComparisonValidationResult schemaValidationResult()

Get the schemaValidationResult property: Provides schema comparison result between source and target database.

String sourceDatabaseName()

Get the sourceDatabaseName property: Name of the source database.

OffsetDateTime startedOn()

Get the startedOn property: Validation start time.

ValidationStatus status()

Get the status property: Current status of validation at the database level.

String targetDatabaseName()

Get the targetDatabaseName property: Name of the target database.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

MigrationValidationDatabaseLevelResult

public MigrationValidationDatabaseLevelResult()

Creates an instance of MigrationValidationDatabaseLevelResult class.

Method Details

dataIntegrityValidationResult

public DataIntegrityValidationResult dataIntegrityValidationResult()

Get the dataIntegrityValidationResult property: Provides data integrity validation result between the source and target tables that are migrated.

Returns:

the dataIntegrityValidationResult value.

endedOn

public OffsetDateTime endedOn()

Get the endedOn property: Validation end time.

Returns:

the endedOn value.

fromJson

public static MigrationValidationDatabaseLevelResult fromJson(JsonReader jsonReader)

Reads an instance of MigrationValidationDatabaseLevelResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MigrationValidationDatabaseLevelResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MigrationValidationDatabaseLevelResult.

id

public String id()

Get the id property: Result identifier.

Returns:

the id value.

migrationId

public String migrationId()

Get the migrationId property: Migration Identifier.

Returns:

the migrationId value.

queryAnalysisValidationResult

public QueryAnalysisValidationResult queryAnalysisValidationResult()

Get the queryAnalysisValidationResult property: Results of some of the query execution result between source and target database.

Returns:

the queryAnalysisValidationResult value.

schemaValidationResult

public SchemaComparisonValidationResult schemaValidationResult()

Get the schemaValidationResult property: Provides schema comparison result between source and target database.

Returns:

the schemaValidationResult value.

sourceDatabaseName

public String sourceDatabaseName()

Get the sourceDatabaseName property: Name of the source database.

Returns:

the sourceDatabaseName value.

startedOn

public OffsetDateTime startedOn()

Get the startedOn property: Validation start time.

Returns:

the startedOn value.

status

public ValidationStatus status()

Get the status property: Current status of validation at the database level.

Returns:

the status value.

targetDatabaseName

public String targetDatabaseName()

Get the targetDatabaseName property: Name of the target database.

Returns:

the targetDatabaseName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to