Documentation ¶
Index ¶
- func PossibleValuesForDatabaseMigrationStage() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForMigrationStatus() []string
- type ConnectionInfo
- 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 MigrateMySqlAzureDbForMySqlOfflineTaskOutput
- type MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel
- type MigrateMySqlAzureDbForMySqlOfflineTaskOutputError
- type MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel
- type MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel
- type MigrateMySqlAzureDbForMySqlOfflineTasksClient
- type MigrationReportResult
- type MigrationState
- type MigrationStatus
- type MySqlConnectionInfo
- type RawConnectionInfoImpl
- type RawMigrateMySqlAzureDbForMySqlOfflineTaskOutputImpl
- type ReportableException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDatabaseMigrationStage ¶
func PossibleValuesForDatabaseMigrationStage() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForMigrationStatus ¶
func PossibleValuesForMigrationStatus() []string
Types ¶
type ConnectionInfo ¶
type ConnectionInfo interface { }
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 MigrateMySqlAzureDbForMySqlOfflineTaskOutput ¶
type MigrateMySqlAzureDbForMySqlOfflineTaskOutput interface { }
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel ¶
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel 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"` LastStorageUpdate *string `json:"lastStorageUpdate,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 MigrateMySqlAzureDbForMySqlOfflineTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel) MarshalJSON ¶
func (s MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputError ¶
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputError struct { Error *ReportableException `json:"error,omitempty"` // Fields inherited from MigrateMySqlAzureDbForMySqlOfflineTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateMySqlAzureDbForMySqlOfflineTaskOutputError) MarshalJSON ¶
func (s MigrateMySqlAzureDbForMySqlOfflineTaskOutputError) MarshalJSON() ([]byte, error)
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel ¶
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel 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"` LastStorageUpdate *string `json:"lastStorageUpdate,omitempty"` Message *string `json:"message,omitempty"` MigrationReportResult *MigrationReportResult `json:"migrationReportResult,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 MigrateMySqlAzureDbForMySqlOfflineTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel) MarshalJSON ¶
func (s MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel ¶
type MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel struct { EndedOn *string `json:"endedOn,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` ItemsCount *int64 `json:"itemsCount,omitempty"` LastStorageUpdate *string `json:"lastStorageUpdate,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 MigrateMySqlAzureDbForMySqlOfflineTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel) MarshalJSON ¶
func (s MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel) MarshalJSON() ([]byte, error)
type MigrateMySqlAzureDbForMySqlOfflineTasksClient ¶
type MigrateMySqlAzureDbForMySqlOfflineTasksClient struct {
Client *resourcemanager.Client
}
func NewMigrateMySqlAzureDbForMySqlOfflineTasksClientWithBaseURI ¶
func NewMigrateMySqlAzureDbForMySqlOfflineTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateMySqlAzureDbForMySqlOfflineTasksClient, 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 MySqlConnectionInfo ¶
type MySqlConnectionInfo struct { EncryptConnection *bool `json:"encryptConnection,omitempty"` Port int64 `json:"port"` ServerName string `json:"serverName"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (MySqlConnectionInfo) MarshalJSON ¶
func (s MySqlConnectionInfo) MarshalJSON() ([]byte, error)
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 RawMigrateMySqlAzureDbForMySqlOfflineTaskOutputImpl ¶
type RawMigrateMySqlAzureDbForMySqlOfflineTaskOutputImpl struct { Type string Values map[string]interface{} }
RawMigrateMySqlAzureDbForMySqlOfflineTaskOutputImpl 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"` }
Source Files ¶
- client.go
- constants.go
- model_connectioninfo.go
- model_databasesummaryresult.go
- model_dataitemmigrationsummaryresult.go
- model_migratemysqlazuredbformysqlofflinetaskoutput.go
- model_migratemysqlazuredbformysqlofflinetaskoutputdatabaselevel.go
- model_migratemysqlazuredbformysqlofflinetaskoutputerror.go
- model_migratemysqlazuredbformysqlofflinetaskoutputmigrationlevel.go
- model_migratemysqlazuredbformysqlofflinetaskoutputtablelevel.go
- model_migrationreportresult.go
- model_mysqlconnectioninfo.go
- model_reportableexception.go
- version.go
Click to show internal directories.
Click to hide internal directories.