Documentation ¶
Index ¶
- func PossibleValuesForReplicateMigrationState() []string
- func PossibleValuesForScenarioSource() []string
- func PossibleValuesForScenarioTarget() []string
- func PossibleValuesForSyncDatabaseMigrationReportingState() []string
- func PossibleValuesForSyncTableMigrationState() []string
- type ConnectionInfo
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel
- type MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient
- type PostgreSqlConnectionInfo
- type RawConnectionInfoImpl
- type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl
- type ReplicateMigrationState
- type ReportableException
- type ScenarioSource
- type ScenarioTarget
- type SyncDatabaseMigrationReportingState
- type SyncMigrationDatabaseErrorEvent
- type SyncTableMigrationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForReplicateMigrationState ¶
func PossibleValuesForReplicateMigrationState() []string
func PossibleValuesForScenarioSource ¶
func PossibleValuesForScenarioSource() []string
func PossibleValuesForScenarioTarget ¶
func PossibleValuesForScenarioTarget() []string
func PossibleValuesForSyncDatabaseMigrationReportingState ¶
func PossibleValuesForSyncDatabaseMigrationReportingState() []string
func PossibleValuesForSyncTableMigrationState ¶
func PossibleValuesForSyncTableMigrationState() []string
Types ¶
type ConnectionInfo ¶
type ConnectionInfo interface { }
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput interface { }
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError struct { ErrorMessage *string `json:"errorMessage,omitempty"` Events *[]SyncMigrationDatabaseErrorEvent `json:"events,omitempty"` // Fields inherited from MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MarshalJSON ¶
func (s MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MarshalJSON() ([]byte, error)
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel struct { AppliedChanges *int64 `json:"appliedChanges,omitempty"` CdcDeleteCounter *int64 `json:"cdcDeleteCounter,omitempty"` CdcInsertCounter *int64 `json:"cdcInsertCounter,omitempty"` CdcUpdateCounter *int64 `json:"cdcUpdateCounter,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` EndedOn *string `json:"endedOn,omitempty"` FullLoadCompletedTables *int64 `json:"fullLoadCompletedTables,omitempty"` FullLoadErroredTables *int64 `json:"fullLoadErroredTables,omitempty"` FullLoadLoadingTables *int64 `json:"fullLoadLoadingTables,omitempty"` FullLoadQueuedTables *int64 `json:"fullLoadQueuedTables,omitempty"` IncomingChanges *int64 `json:"incomingChanges,omitempty"` InitializationCompleted *bool `json:"initializationCompleted,omitempty"` Latency *int64 `json:"latency,omitempty"` MigrationState *SyncDatabaseMigrationReportingState `json:"migrationState,omitempty"` StartedOn *string `json:"startedOn,omitempty"` // Fields inherited from MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MarshalJSON ¶
func (s MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError struct { Error *ReportableException `json:"error,omitempty"` // Fields inherited from MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON ¶
func (s MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON() ([]byte, error)
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel struct { EndedOn *string `json:"endedOn,omitempty"` SourceServer *string `json:"sourceServer,omitempty"` SourceServerType *ScenarioSource `json:"sourceServerType,omitempty"` SourceServerVersion *string `json:"sourceServerVersion,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *ReplicateMigrationState `json:"state,omitempty"` TargetServer *string `json:"targetServer,omitempty"` TargetServerType *ScenarioTarget `json:"targetServerType,omitempty"` TargetServerVersion *string `json:"targetServerVersion,omitempty"` // Fields inherited from MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MarshalJSON ¶
func (s MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel struct { CdcDeleteCounter *int64 `json:"cdcDeleteCounter,omitempty"` CdcInsertCounter *int64 `json:"cdcInsertCounter,omitempty"` CdcUpdateCounter *int64 `json:"cdcUpdateCounter,omitempty"` DataErrorsCounter *int64 `json:"dataErrorsCounter,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` FullLoadEndedOn *string `json:"fullLoadEndedOn,omitempty"` FullLoadEstFinishTime *string `json:"fullLoadEstFinishTime,omitempty"` FullLoadStartedOn *string `json:"fullLoadStartedOn,omitempty"` FullLoadTotalRows *int64 `json:"fullLoadTotalRows,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` State *SyncTableMigrationState `json:"state,omitempty"` TableName *string `json:"tableName,omitempty"` TotalChangesApplied *int64 `json:"totalChangesApplied,omitempty"` // Fields inherited from MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MarshalJSON ¶
func (s MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MarshalJSON() ([]byte, error)
type MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient ¶
type MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient struct {
Client *resourcemanager.Client
}
func NewMigratePostgreSqlAzureDbForPostgreSqlSyncTasksClientWithBaseURI ¶
func NewMigratePostgreSqlAzureDbForPostgreSqlSyncTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient, error)
type PostgreSqlConnectionInfo ¶
type PostgreSqlConnectionInfo struct { DatabaseName *string `json:"databaseName,omitempty"` EncryptConnection *bool `json:"encryptConnection,omitempty"` Port int64 `json:"port"` ServerName string `json:"serverName"` TrustServerCertificate *bool `json:"trustServerCertificate,omitempty"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (PostgreSqlConnectionInfo) MarshalJSON ¶
func (s PostgreSqlConnectionInfo) 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 RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl ¶
type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl struct { Type string Values map[string]interface{} }
RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl 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 ReplicateMigrationState ¶
type ReplicateMigrationState string
const ( ReplicateMigrationStateACTIONREQUIRED ReplicateMigrationState = "ACTION_REQUIRED" ReplicateMigrationStateCOMPLETE ReplicateMigrationState = "COMPLETE" ReplicateMigrationStateFAILED ReplicateMigrationState = "FAILED" ReplicateMigrationStatePENDING ReplicateMigrationState = "PENDING" ReplicateMigrationStateUNDEFINED ReplicateMigrationState = "UNDEFINED" ReplicateMigrationStateVALIDATING ReplicateMigrationState = "VALIDATING" )
func (*ReplicateMigrationState) UnmarshalJSON ¶
func (s *ReplicateMigrationState) UnmarshalJSON(bytes []byte) error
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 ScenarioSource ¶
type ScenarioSource string
const ( ScenarioSourceAccess ScenarioSource = "Access" ScenarioSourceDBTwo ScenarioSource = "DB2" ScenarioSourceMongoDB ScenarioSource = "MongoDB" ScenarioSourceMySQL ScenarioSource = "MySQL" ScenarioSourceMySQLRDS ScenarioSource = "MySQLRDS" ScenarioSourceOracle ScenarioSource = "Oracle" ScenarioSourcePostgreSQL ScenarioSource = "PostgreSQL" ScenarioSourcePostgreSQLRDS ScenarioSource = "PostgreSQLRDS" ScenarioSourceSQL ScenarioSource = "SQL" ScenarioSourceSQLRDS ScenarioSource = "SQLRDS" ScenarioSourceSybase ScenarioSource = "Sybase" )
func (*ScenarioSource) UnmarshalJSON ¶
func (s *ScenarioSource) UnmarshalJSON(bytes []byte) error
type ScenarioTarget ¶
type ScenarioTarget string
const ( ScenarioTargetAzureDBForMySql ScenarioTarget = "AzureDBForMySql" ScenarioTargetAzureDBForPostgresSQL ScenarioTarget = "AzureDBForPostgresSQL" ScenarioTargetMongoDB ScenarioTarget = "MongoDB" ScenarioTargetSQLDB ScenarioTarget = "SQLDB" ScenarioTargetSQLDW ScenarioTarget = "SQLDW" ScenarioTargetSQLMI ScenarioTarget = "SQLMI" ScenarioTargetSQLServer ScenarioTarget = "SQLServer" )
func (*ScenarioTarget) UnmarshalJSON ¶
func (s *ScenarioTarget) UnmarshalJSON(bytes []byte) error
type SyncDatabaseMigrationReportingState ¶
type SyncDatabaseMigrationReportingState string
const ( SyncDatabaseMigrationReportingStateBACKUPCOMPLETED SyncDatabaseMigrationReportingState = "BACKUP_COMPLETED" SyncDatabaseMigrationReportingStateBACKUPINPROGRESS SyncDatabaseMigrationReportingState = "BACKUP_IN_PROGRESS" SyncDatabaseMigrationReportingStateCANCELLED SyncDatabaseMigrationReportingState = "CANCELLED" SyncDatabaseMigrationReportingStateCANCELLING SyncDatabaseMigrationReportingState = "CANCELLING" SyncDatabaseMigrationReportingStateCOMPLETE SyncDatabaseMigrationReportingState = "COMPLETE" SyncDatabaseMigrationReportingStateCOMPLETING SyncDatabaseMigrationReportingState = "COMPLETING" SyncDatabaseMigrationReportingStateCONFIGURING SyncDatabaseMigrationReportingState = "CONFIGURING" SyncDatabaseMigrationReportingStateFAILED SyncDatabaseMigrationReportingState = "FAILED" SyncDatabaseMigrationReportingStateINITIALIAZING SyncDatabaseMigrationReportingState = "INITIALIAZING" SyncDatabaseMigrationReportingStateREADYTOCOMPLETE SyncDatabaseMigrationReportingState = "READY_TO_COMPLETE" SyncDatabaseMigrationReportingStateRESTORECOMPLETED SyncDatabaseMigrationReportingState = "RESTORE_COMPLETED" SyncDatabaseMigrationReportingStateRESTOREINPROGRESS SyncDatabaseMigrationReportingState = "RESTORE_IN_PROGRESS" SyncDatabaseMigrationReportingStateRUNNING SyncDatabaseMigrationReportingState = "RUNNING" SyncDatabaseMigrationReportingStateSTARTING SyncDatabaseMigrationReportingState = "STARTING" SyncDatabaseMigrationReportingStateUNDEFINED SyncDatabaseMigrationReportingState = "UNDEFINED" SyncDatabaseMigrationReportingStateVALIDATING SyncDatabaseMigrationReportingState = "VALIDATING" SyncDatabaseMigrationReportingStateVALIDATIONCOMPLETE SyncDatabaseMigrationReportingState = "VALIDATION_COMPLETE" SyncDatabaseMigrationReportingStateVALIDATIONFAILED SyncDatabaseMigrationReportingState = "VALIDATION_FAILED" )
func (*SyncDatabaseMigrationReportingState) UnmarshalJSON ¶
func (s *SyncDatabaseMigrationReportingState) UnmarshalJSON(bytes []byte) error
type SyncTableMigrationState ¶
type SyncTableMigrationState string
const ( SyncTableMigrationStateBEFORELOAD SyncTableMigrationState = "BEFORE_LOAD" SyncTableMigrationStateCANCELED SyncTableMigrationState = "CANCELED" SyncTableMigrationStateCOMPLETED SyncTableMigrationState = "COMPLETED" SyncTableMigrationStateERROR SyncTableMigrationState = "ERROR" SyncTableMigrationStateFAILED SyncTableMigrationState = "FAILED" SyncTableMigrationStateFULLLOAD SyncTableMigrationState = "FULL_LOAD" )
func (*SyncTableMigrationState) UnmarshalJSON ¶
func (s *SyncTableMigrationState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- model_connectioninfo.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutput.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutputdatabaseerror.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutputdatabaselevel.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutputerror.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutputmigrationlevel.go
- model_migratepostgresqlazuredbforpostgresqlsynctaskoutputtablelevel.go
- model_postgresqlconnectioninfo.go
- model_reportableexception.go
- model_syncmigrationdatabaseerrorevent.go
- version.go
Click to show internal directories.
Click to hide internal directories.