Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForDatabaseMigrationStage() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForMigrationStatus() []string
- func PossibleValuesForObjectType() []string
- func PossibleValuesForSeverity() []string
- func PossibleValuesForSqlSourcePlatform() []string
- func PossibleValuesForUpdateActionType() []string
- func PossibleValuesForValidationStatus() []string
- type AuthenticationType
- type ConnectionInfo
- type DataIntegrityValidationResult
- type DataItemMigrationSummaryResult
- func (o *DataItemMigrationSummaryResult) GetEndedOnAsTime() (*time.Time, error)
- func (o *DataItemMigrationSummaryResult) GetStartedOnAsTime() (*time.Time, error)
- func (o *DataItemMigrationSummaryResult) SetEndedOnAsTime(input time.Time)
- func (o *DataItemMigrationSummaryResult) SetStartedOnAsTime(input time.Time)
- type DatabaseMigrationStage
- type DatabaseSummaryResult
- type ExecutionStatistics
- type MigrateSqlServerSqlDbTaskOutput
- type MigrateSqlServerSqlDbTaskOutputDatabaseLevel
- type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult
- type MigrateSqlServerSqlDbTaskOutputError
- type MigrateSqlServerSqlDbTaskOutputMigrationLevel
- type MigrateSqlServerSqlDbTaskOutputTableLevel
- type MigrateSqlServerSqlDbTaskOutputValidationResult
- type MigrateSqlServerSqlDbTasksClient
- type MigrationReportResult
- type MigrationState
- type MigrationStatus
- type MigrationValidationDatabaseSummaryResult
- func (o *MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)
- func (o *MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)
- func (o *MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime(input time.Time)
- func (o *MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime(input time.Time)
- type MigrationValidationResult
- type ObjectType
- type QueryAnalysisValidationResult
- type QueryExecutionResult
- type RawConnectionInfoImpl
- type RawMigrateSqlServerSqlDbTaskOutputImpl
- type ReportableException
- type SchemaComparisonValidationResult
- type SchemaComparisonValidationResultType
- type Severity
- type SqlConnectionInfo
- type SqlSourcePlatform
- type UpdateActionType
- type ValidationError
- type ValidationStatus
- type WaitStatistics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForDatabaseMigrationStage ¶
func PossibleValuesForDatabaseMigrationStage() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForMigrationStatus ¶
func PossibleValuesForMigrationStatus() []string
func PossibleValuesForObjectType ¶
func PossibleValuesForObjectType() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func PossibleValuesForSqlSourcePlatform ¶
func PossibleValuesForSqlSourcePlatform() []string
func PossibleValuesForUpdateActionType ¶
func PossibleValuesForUpdateActionType() []string
func PossibleValuesForValidationStatus ¶
func PossibleValuesForValidationStatus() []string
Types ¶
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated" AuthenticationTypeActiveDirectoryPassword AuthenticationType = "ActiveDirectoryPassword" AuthenticationTypeNone AuthenticationType = "None" AuthenticationTypeSqlAuthentication AuthenticationType = "SqlAuthentication" AuthenticationTypeWindowsAuthentication AuthenticationType = "WindowsAuthentication" )
func (*AuthenticationType) UnmarshalJSON ¶
func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error
type ConnectionInfo ¶
type ConnectionInfo interface { }
type DataIntegrityValidationResult ¶
type DataIntegrityValidationResult struct { FailedObjects *map[string]string `json:"failedObjects,omitempty"` ValidationErrors *ValidationError `json:"validationErrors,omitempty"` }
type DataItemMigrationSummaryResult ¶
type DataItemMigrationSummaryResult struct { EndedOn *string `json:"endedOn,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` ItemsCount *int64 `json:"itemsCount,omitempty"` Name *string `json:"name,omitempty"` ResultPrefix *string `json:"resultPrefix,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` }
func (*DataItemMigrationSummaryResult) GetEndedOnAsTime ¶
func (o *DataItemMigrationSummaryResult) GetEndedOnAsTime() (*time.Time, error)
func (*DataItemMigrationSummaryResult) GetStartedOnAsTime ¶
func (o *DataItemMigrationSummaryResult) GetStartedOnAsTime() (*time.Time, error)
func (*DataItemMigrationSummaryResult) SetEndedOnAsTime ¶
func (o *DataItemMigrationSummaryResult) SetEndedOnAsTime(input time.Time)
func (*DataItemMigrationSummaryResult) SetStartedOnAsTime ¶
func (o *DataItemMigrationSummaryResult) SetStartedOnAsTime(input time.Time)
type DatabaseMigrationStage ¶
type DatabaseMigrationStage string
const ( DatabaseMigrationStageBackup DatabaseMigrationStage = "Backup" DatabaseMigrationStageCompleted DatabaseMigrationStage = "Completed" DatabaseMigrationStageFileCopy DatabaseMigrationStage = "FileCopy" DatabaseMigrationStageInitialize DatabaseMigrationStage = "Initialize" DatabaseMigrationStageNone DatabaseMigrationStage = "None" DatabaseMigrationStageRestore DatabaseMigrationStage = "Restore" )
func (*DatabaseMigrationStage) UnmarshalJSON ¶
func (s *DatabaseMigrationStage) UnmarshalJSON(bytes []byte) error
type DatabaseSummaryResult ¶
type DatabaseSummaryResult struct { EndedOn *string `json:"endedOn,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` ItemsCount *int64 `json:"itemsCount,omitempty"` Name *string `json:"name,omitempty"` ResultPrefix *string `json:"resultPrefix,omitempty"` SizeMB *float64 `json:"sizeMB,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` }
func (*DatabaseSummaryResult) GetEndedOnAsTime ¶
func (o *DatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)
func (*DatabaseSummaryResult) GetStartedOnAsTime ¶
func (o *DatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)
func (*DatabaseSummaryResult) SetEndedOnAsTime ¶
func (o *DatabaseSummaryResult) SetEndedOnAsTime(input time.Time)
func (*DatabaseSummaryResult) SetStartedOnAsTime ¶
func (o *DatabaseSummaryResult) SetStartedOnAsTime(input time.Time)
type ExecutionStatistics ¶
type ExecutionStatistics struct { CpuTimeMs *float64 `json:"cpuTimeMs,omitempty"` ElapsedTimeMs *float64 `json:"elapsedTimeMs,omitempty"` ExecutionCount *int64 `json:"executionCount,omitempty"` HasErrors *bool `json:"hasErrors,omitempty"` SqlErrors *[]string `json:"sqlErrors,omitempty"` WaitStats *map[string]WaitStatistics `json:"waitStats,omitempty"` }
type MigrateSqlServerSqlDbTaskOutput ¶
type MigrateSqlServerSqlDbTaskOutput interface { }
type MigrateSqlServerSqlDbTaskOutputDatabaseLevel ¶
type MigrateSqlServerSqlDbTaskOutputDatabaseLevel struct { DatabaseName *string `json:"databaseName,omitempty"` EndedOn *string `json:"endedOn,omitempty"` ErrorCount *int64 `json:"errorCount,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` Message *string `json:"message,omitempty"` NumberOfObjects *int64 `json:"numberOfObjects,omitempty"` NumberOfObjectsCompleted *int64 `json:"numberOfObjectsCompleted,omitempty"` ObjectSummary *map[string]DataItemMigrationSummaryResult `json:"objectSummary,omitempty"` ResultPrefix *string `json:"resultPrefix,omitempty"` Stage *DatabaseMigrationStage `json:"stage,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult ¶
type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult struct { DataIntegrityValidationResult *DataIntegrityValidationResult `json:"dataIntegrityValidationResult,omitempty"` EndedOn *string `json:"endedOn,omitempty"` MigrationId *string `json:"migrationId,omitempty"` QueryAnalysisValidationResult *QueryAnalysisValidationResult `json:"queryAnalysisValidationResult,omitempty"` SchemaValidationResult *SchemaComparisonValidationResult `json:"schemaValidationResult,omitempty"` SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` StartedOn *string `json:"startedOn,omitempty"` Status *ValidationStatus `json:"status,omitempty"` TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTaskOutputError ¶
type MigrateSqlServerSqlDbTaskOutputError struct { Error *ReportableException `json:"error,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputError) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputError) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTaskOutputMigrationLevel ¶
type MigrateSqlServerSqlDbTaskOutputMigrationLevel struct { DatabaseSummary *map[string]DatabaseSummaryResult `json:"databaseSummary,omitempty"` Databases *map[string]string `json:"databases,omitempty"` DurationInSeconds *int64 `json:"durationInSeconds,omitempty"` EndedOn *string `json:"endedOn,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` Message *string `json:"message,omitempty"` MigrationReportResult *MigrationReportResult `json:"migrationReportResult,omitempty"` MigrationValidationResult *MigrationValidationResult `json:"migrationValidationResult,omitempty"` SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` SourceServerVersion *string `json:"sourceServerVersion,omitempty"` StartedOn *string `json:"startedOn,omitempty"` Status *MigrationStatus `json:"status,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` TargetServerVersion *string `json:"targetServerVersion,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTaskOutputTableLevel ¶
type MigrateSqlServerSqlDbTaskOutputTableLevel struct { EndedOn *string `json:"endedOn,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` ItemsCount *int64 `json:"itemsCount,omitempty"` ObjectName *string `json:"objectName,omitempty"` ResultPrefix *string `json:"resultPrefix,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` StatusMessage *string `json:"statusMessage,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputTableLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputTableLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTaskOutputValidationResult ¶
type MigrateSqlServerSqlDbTaskOutputValidationResult struct { MigrationId *string `json:"migrationId,omitempty"` Status *ValidationStatus `json:"status,omitempty"` SummaryResults *map[string]MigrationValidationDatabaseSummaryResult `json:"summaryResults,omitempty"` // Fields inherited from MigrateSqlServerSqlDbTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlDbTaskOutputValidationResult) MarshalJSON ¶
func (s MigrateSqlServerSqlDbTaskOutputValidationResult) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlDbTasksClient ¶
type MigrateSqlServerSqlDbTasksClient struct {
Client *resourcemanager.Client
}
func NewMigrateSqlServerSqlDbTasksClientWithBaseURI ¶
func NewMigrateSqlServerSqlDbTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateSqlServerSqlDbTasksClient, error)
type MigrationReportResult ¶
type MigrationState ¶
type MigrationState string
const ( MigrationStateCompleted MigrationState = "Completed" MigrationStateFailed MigrationState = "Failed" MigrationStateInProgress MigrationState = "InProgress" MigrationStateNone MigrationState = "None" MigrationStateSkipped MigrationState = "Skipped" MigrationStateStopped MigrationState = "Stopped" MigrationStateWarning MigrationState = "Warning" )
func (*MigrationState) UnmarshalJSON ¶
func (s *MigrationState) UnmarshalJSON(bytes []byte) error
type MigrationStatus ¶
type MigrationStatus string
const ( MigrationStatusCompleted MigrationStatus = "Completed" MigrationStatusCompletedWithWarnings MigrationStatus = "CompletedWithWarnings" MigrationStatusConfigured MigrationStatus = "Configured" MigrationStatusConnecting MigrationStatus = "Connecting" MigrationStatusDefault MigrationStatus = "Default" MigrationStatusError MigrationStatus = "Error" MigrationStatusRunning MigrationStatus = "Running" MigrationStatusSelectLogins MigrationStatus = "SelectLogins" MigrationStatusSourceAndTargetSelected MigrationStatus = "SourceAndTargetSelected" MigrationStatusStopped MigrationStatus = "Stopped" )
func (*MigrationStatus) UnmarshalJSON ¶
func (s *MigrationStatus) UnmarshalJSON(bytes []byte) error
type MigrationValidationDatabaseSummaryResult ¶
type MigrationValidationDatabaseSummaryResult struct { EndedOn *string `json:"endedOn,omitempty"` Id *string `json:"id,omitempty"` MigrationId *string `json:"migrationId,omitempty"` SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` StartedOn *string `json:"startedOn,omitempty"` Status *ValidationStatus `json:"status,omitempty"` TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` }
func (*MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime ¶
func (o *MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)
func (*MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime ¶
func (o *MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)
func (*MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime ¶
func (o *MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime(input time.Time)
func (*MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime ¶
func (o *MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime(input time.Time)
type MigrationValidationResult ¶
type MigrationValidationResult struct { Id *string `json:"id,omitempty"` MigrationId *string `json:"migrationId,omitempty"` Status *ValidationStatus `json:"status,omitempty"` SummaryResults *map[string]MigrationValidationDatabaseSummaryResult `json:"summaryResults,omitempty"` }
type ObjectType ¶
type ObjectType string
const ( ObjectTypeFunction ObjectType = "Function" ObjectTypeStoredProcedures ObjectType = "StoredProcedures" ObjectTypeTable ObjectType = "Table" ObjectTypeUser ObjectType = "User" ObjectTypeView ObjectType = "View" )
func (*ObjectType) UnmarshalJSON ¶
func (s *ObjectType) UnmarshalJSON(bytes []byte) error
type QueryAnalysisValidationResult ¶
type QueryAnalysisValidationResult struct { QueryResults *QueryExecutionResult `json:"queryResults,omitempty"` ValidationErrors *ValidationError `json:"validationErrors,omitempty"` }
type QueryExecutionResult ¶
type QueryExecutionResult struct { QueryText *string `json:"queryText,omitempty"` SourceResult *ExecutionStatistics `json:"sourceResult,omitempty"` StatementsInBatch *int64 `json:"statementsInBatch,omitempty"` TargetResult *ExecutionStatistics `json:"targetResult,omitempty"` }
type RawConnectionInfoImpl ¶
RawConnectionInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawMigrateSqlServerSqlDbTaskOutputImpl ¶
RawMigrateSqlServerSqlDbTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ReportableException ¶
type ReportableException struct { ActionableMessage *string `json:"actionableMessage,omitempty"` FilePath *string `json:"filePath,omitempty"` HResult *int64 `json:"hResult,omitempty"` LineNumber *string `json:"lineNumber,omitempty"` Message *string `json:"message,omitempty"` StackTrace *string `json:"stackTrace,omitempty"` }
type SchemaComparisonValidationResult ¶
type SchemaComparisonValidationResult struct { SchemaDifferences *SchemaComparisonValidationResultType `json:"schemaDifferences,omitempty"` SourceDatabaseObjectCount *map[string]int64 `json:"sourceDatabaseObjectCount,omitempty"` TargetDatabaseObjectCount *map[string]int64 `json:"targetDatabaseObjectCount,omitempty"` ValidationErrors *ValidationError `json:"validationErrors,omitempty"` }
type SchemaComparisonValidationResultType ¶
type SchemaComparisonValidationResultType struct { ObjectName *string `json:"objectName,omitempty"` ObjectType *ObjectType `json:"objectType,omitempty"` UpdateAction *UpdateActionType `json:"updateAction,omitempty"` }
type SqlConnectionInfo ¶
type SqlConnectionInfo struct { AdditionalSettings *string `json:"additionalSettings,omitempty"` Authentication *AuthenticationType `json:"authentication,omitempty"` DataSource string `json:"dataSource"` EncryptConnection *bool `json:"encryptConnection,omitempty"` Platform *SqlSourcePlatform `json:"platform,omitempty"` TrustServerCertificate *bool `json:"trustServerCertificate,omitempty"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (SqlConnectionInfo) MarshalJSON ¶
func (s SqlConnectionInfo) MarshalJSON() ([]byte, error)
type SqlSourcePlatform ¶
type SqlSourcePlatform string
const (
SqlSourcePlatformSqlOnPrem SqlSourcePlatform = "SqlOnPrem"
)
func (*SqlSourcePlatform) UnmarshalJSON ¶
func (s *SqlSourcePlatform) UnmarshalJSON(bytes []byte) error
type UpdateActionType ¶
type UpdateActionType string
const ( UpdateActionTypeAddedOnTarget UpdateActionType = "AddedOnTarget" UpdateActionTypeChangedOnTarget UpdateActionType = "ChangedOnTarget" UpdateActionTypeDeletedOnTarget UpdateActionType = "DeletedOnTarget" )
func (*UpdateActionType) UnmarshalJSON ¶
func (s *UpdateActionType) UnmarshalJSON(bytes []byte) error
type ValidationError ¶
type ValidationStatus ¶
type ValidationStatus string
const ( ValidationStatusCompleted ValidationStatus = "Completed" ValidationStatusCompletedWithIssues ValidationStatus = "CompletedWithIssues" ValidationStatusDefault ValidationStatus = "Default" ValidationStatusFailed ValidationStatus = "Failed" ValidationStatusInProgress ValidationStatus = "InProgress" ValidationStatusInitialized ValidationStatus = "Initialized" ValidationStatusNotStarted ValidationStatus = "NotStarted" ValidationStatusStopped ValidationStatus = "Stopped" )
func (*ValidationStatus) UnmarshalJSON ¶
func (s *ValidationStatus) UnmarshalJSON(bytes []byte) error
type WaitStatistics ¶
Source Files ¶
- client.go
- constants.go
- model_connectioninfo.go
- model_databasesummaryresult.go
- model_dataintegrityvalidationresult.go
- model_dataitemmigrationsummaryresult.go
- model_executionstatistics.go
- model_migratesqlserversqldbtaskoutput.go
- model_migratesqlserversqldbtaskoutputdatabaselevel.go
- model_migratesqlserversqldbtaskoutputdatabaselevelvalidationresult.go
- model_migratesqlserversqldbtaskoutputerror.go
- model_migratesqlserversqldbtaskoutputmigrationlevel.go
- model_migratesqlserversqldbtaskoutputtablelevel.go
- model_migratesqlserversqldbtaskoutputvalidationresult.go
- model_migrationreportresult.go
- model_migrationvalidationdatabasesummaryresult.go
- model_migrationvalidationresult.go
- model_queryanalysisvalidationresult.go
- model_queryexecutionresult.go
- model_reportableexception.go
- model_schemacomparisonvalidationresult.go
- model_schemacomparisonvalidationresulttype.go
- model_sqlconnectioninfo.go
- model_validationerror.go
- model_waitstatistics.go
- version.go
Click to show internal directories.
Click to hide internal directories.