Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForBackupFileStatus() []string
- func PossibleValuesForBackupType() []string
- func PossibleValuesForDatabaseMigrationState() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForSqlSourcePlatform() []string
- type AuthenticationType
- type BackupFileInfo
- type BackupFileStatus
- type BackupSetInfo
- func (o *BackupSetInfo) GetBackupFinishedDateAsTime() (*time.Time, error)
- func (o *BackupSetInfo) GetBackupStartDateAsTime() (*time.Time, error)
- func (o *BackupSetInfo) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *BackupSetInfo) SetBackupFinishedDateAsTime(input time.Time)
- func (o *BackupSetInfo) SetBackupStartDateAsTime(input time.Time)
- func (o *BackupSetInfo) SetLastModifiedTimeAsTime(input time.Time)
- type BackupType
- type ConnectionInfo
- type DatabaseMigrationState
- type MiSqlConnectionInfo
- type MigrateSqlServerSqlMISyncTaskOutput
- type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel
- type MigrateSqlServerSqlMISyncTaskOutputError
- type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel
- type MigrateSqlServerSqlMiSyncTasksClient
- type MigrationState
- type RawConnectionInfoImpl
- type RawMigrateSqlServerSqlMISyncTaskOutputImpl
- type ReportableException
- type SqlConnectionInfo
- type SqlSourcePlatform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForBackupFileStatus ¶
func PossibleValuesForBackupFileStatus() []string
func PossibleValuesForBackupType ¶
func PossibleValuesForBackupType() []string
func PossibleValuesForDatabaseMigrationState ¶
func PossibleValuesForDatabaseMigrationState() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForSqlSourcePlatform ¶
func PossibleValuesForSqlSourcePlatform() []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 BackupFileInfo ¶
type BackupFileInfo struct { FamilySequenceNumber *int64 `json:"familySequenceNumber,omitempty"` FileLocation *string `json:"fileLocation,omitempty"` Status *BackupFileStatus `json:"status,omitempty"` }
type BackupFileStatus ¶
type BackupFileStatus string
const ( BackupFileStatusArrived BackupFileStatus = "Arrived" BackupFileStatusCancelled BackupFileStatus = "Cancelled" BackupFileStatusQueued BackupFileStatus = "Queued" BackupFileStatusRestored BackupFileStatus = "Restored" BackupFileStatusRestoring BackupFileStatus = "Restoring" BackupFileStatusUploaded BackupFileStatus = "Uploaded" BackupFileStatusUploading BackupFileStatus = "Uploading" )
func (*BackupFileStatus) UnmarshalJSON ¶
func (s *BackupFileStatus) UnmarshalJSON(bytes []byte) error
type BackupSetInfo ¶
type BackupSetInfo struct { BackupFinishedDate *string `json:"backupFinishedDate,omitempty"` BackupSetId *string `json:"backupSetId,omitempty"` BackupStartDate *string `json:"backupStartDate,omitempty"` BackupType *BackupType `json:"backupType,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` FirstLsn *string `json:"firstLsn,omitempty"` IsBackupRestored *bool `json:"isBackupRestored,omitempty"` LastLsn *string `json:"lastLsn,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` ListOfBackupFiles *[]BackupFileInfo `json:"listOfBackupFiles,omitempty"` }
func (*BackupSetInfo) GetBackupFinishedDateAsTime ¶
func (o *BackupSetInfo) GetBackupFinishedDateAsTime() (*time.Time, error)
func (*BackupSetInfo) GetBackupStartDateAsTime ¶
func (o *BackupSetInfo) GetBackupStartDateAsTime() (*time.Time, error)
func (*BackupSetInfo) GetLastModifiedTimeAsTime ¶
func (o *BackupSetInfo) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*BackupSetInfo) SetBackupFinishedDateAsTime ¶
func (o *BackupSetInfo) SetBackupFinishedDateAsTime(input time.Time)
func (*BackupSetInfo) SetBackupStartDateAsTime ¶
func (o *BackupSetInfo) SetBackupStartDateAsTime(input time.Time)
func (*BackupSetInfo) SetLastModifiedTimeAsTime ¶
func (o *BackupSetInfo) SetLastModifiedTimeAsTime(input time.Time)
type BackupType ¶
type BackupType string
const ( BackupTypeDatabase BackupType = "Database" BackupTypeDifferentialDatabase BackupType = "DifferentialDatabase" BackupTypeDifferentialFile BackupType = "DifferentialFile" BackupTypeDifferentialPartial BackupType = "DifferentialPartial" BackupTypeFile BackupType = "File" BackupTypePartial BackupType = "Partial" BackupTypeTransactionLog BackupType = "TransactionLog" )
func (*BackupType) UnmarshalJSON ¶
func (s *BackupType) UnmarshalJSON(bytes []byte) error
type ConnectionInfo ¶
type ConnectionInfo interface { }
type DatabaseMigrationState ¶
type DatabaseMigrationState string
const ( DatabaseMigrationStateCANCELLED DatabaseMigrationState = "CANCELLED" DatabaseMigrationStateCOMPLETED DatabaseMigrationState = "COMPLETED" DatabaseMigrationStateCUTOVERSTART DatabaseMigrationState = "CUTOVER_START" DatabaseMigrationStateFAILED DatabaseMigrationState = "FAILED" DatabaseMigrationStateFULLBACKUPUPLOADSTART DatabaseMigrationState = "FULL_BACKUP_UPLOAD_START" DatabaseMigrationStateINITIAL DatabaseMigrationState = "INITIAL" DatabaseMigrationStateLOGSHIPPINGSTART DatabaseMigrationState = "LOG_SHIPPING_START" DatabaseMigrationStatePOSTCUTOVERCOMPLETE DatabaseMigrationState = "POST_CUTOVER_COMPLETE" DatabaseMigrationStateUNDEFINED DatabaseMigrationState = "UNDEFINED" DatabaseMigrationStateUPLOADLOGFILESSTART DatabaseMigrationState = "UPLOAD_LOG_FILES_START" )
func (*DatabaseMigrationState) UnmarshalJSON ¶
func (s *DatabaseMigrationState) UnmarshalJSON(bytes []byte) error
type MiSqlConnectionInfo ¶
type MiSqlConnectionInfo struct { ManagedInstanceResourceId string `json:"managedInstanceResourceId"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (MiSqlConnectionInfo) MarshalJSON ¶
func (s MiSqlConnectionInfo) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMISyncTaskOutput ¶
type MigrateSqlServerSqlMISyncTaskOutput interface { }
type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel ¶
type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel struct { ActiveBackupSets *[]BackupSetInfo `json:"activeBackupSets,omitempty"` ContainerName *string `json:"containerName,omitempty"` EndedOn *string `json:"endedOn,omitempty"` ErrorPrefix *string `json:"errorPrefix,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` FullBackupSetInfo *BackupSetInfo `json:"fullBackupSetInfo,omitempty"` IsFullBackupRestored *bool `json:"isFullBackupRestored,omitempty"` LastRestoredBackupSetInfo *BackupSetInfo `json:"lastRestoredBackupSetInfo,omitempty"` MigrationState *DatabaseMigrationState `json:"migrationState,omitempty"` SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` StartedOn *string `json:"startedOn,omitempty"` // Fields inherited from MigrateSqlServerSqlMISyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMISyncTaskOutputError ¶
type MigrateSqlServerSqlMISyncTaskOutputError struct { Error *ReportableException `json:"error,omitempty"` // Fields inherited from MigrateSqlServerSqlMISyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMISyncTaskOutputError) MarshalJSON ¶
func (s MigrateSqlServerSqlMISyncTaskOutputError) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel ¶
type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel struct { DatabaseCount *int64 `json:"databaseCount,omitempty"` DatabaseErrorCount *int64 `json:"databaseErrorCount,omitempty"` EndedOn *string `json:"endedOn,omitempty"` SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` SourceServerName *string `json:"sourceServerName,omitempty"` SourceServerVersion *string `json:"sourceServerVersion,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` TargetServerName *string `json:"targetServerName,omitempty"` TargetServerVersion *string `json:"targetServerVersion,omitempty"` // Fields inherited from MigrateSqlServerSqlMISyncTaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMiSyncTasksClient ¶
type MigrateSqlServerSqlMiSyncTasksClient struct {
Client *resourcemanager.Client
}
func NewMigrateSqlServerSqlMiSyncTasksClientWithBaseURI ¶
func NewMigrateSqlServerSqlMiSyncTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateSqlServerSqlMiSyncTasksClient, error)
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 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 RawMigrateSqlServerSqlMISyncTaskOutputImpl ¶
type RawMigrateSqlServerSqlMISyncTaskOutputImpl struct { Type string Values map[string]interface{} }
RawMigrateSqlServerSqlMISyncTaskOutputImpl 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 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
Source Files ¶
- client.go
- constants.go
- model_backupfileinfo.go
- model_backupsetinfo.go
- model_connectioninfo.go
- model_migratesqlserversqlmisynctaskoutput.go
- model_migratesqlserversqlmisynctaskoutputdatabaselevel.go
- model_migratesqlserversqlmisynctaskoutputerror.go
- model_migratesqlserversqlmisynctaskoutputmigrationlevel.go
- model_misqlconnectioninfo.go
- model_reportableexception.go
- model_sqlconnectioninfo.go
- version.go
Click to show internal directories.
Click to hide internal directories.