Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForDatabaseMigrationStage() []string
- func PossibleValuesForLoginMigrationStage() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForMigrationStatus() []string
- func PossibleValuesForSqlSourcePlatform() []string
- type AuthenticationType
- type ConnectionInfo
- type DatabaseMigrationStage
- type LoginMigrationStage
- type MigrateSqlServerSqlMITaskOutput
- type MigrateSqlServerSqlMITaskOutputAgentJobLevel
- type MigrateSqlServerSqlMITaskOutputDatabaseLevel
- type MigrateSqlServerSqlMITaskOutputError
- type MigrateSqlServerSqlMITaskOutputLoginLevel
- type MigrateSqlServerSqlMITaskOutputMigrationLevel
- type MigrateSqlServerSqlMITasksClient
- type MigrationState
- type MigrationStatus
- type OrphanedUserInfo
- type RawConnectionInfoImpl
- type RawMigrateSqlServerSqlMITaskOutputImpl
- type ReportableException
- type SqlConnectionInfo
- type SqlSourcePlatform
- type StartMigrationScenarioServerRoleResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForDatabaseMigrationStage ¶
func PossibleValuesForDatabaseMigrationStage() []string
func PossibleValuesForLoginMigrationStage ¶
func PossibleValuesForLoginMigrationStage() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForMigrationStatus ¶
func PossibleValuesForMigrationStatus() []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 ConnectionInfo ¶
type ConnectionInfo interface { }
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 LoginMigrationStage ¶
type LoginMigrationStage string
const ( LoginMigrationStageAssignRoleMembership LoginMigrationStage = "AssignRoleMembership" LoginMigrationStageAssignRoleOwnership LoginMigrationStage = "AssignRoleOwnership" LoginMigrationStageCompleted LoginMigrationStage = "Completed" LoginMigrationStageEstablishObjectPermissions LoginMigrationStage = "EstablishObjectPermissions" LoginMigrationStageEstablishServerPermissions LoginMigrationStage = "EstablishServerPermissions" LoginMigrationStageEstablishUserMapping LoginMigrationStage = "EstablishUserMapping" LoginMigrationStageInitialize LoginMigrationStage = "Initialize" LoginMigrationStageLoginMigration LoginMigrationStage = "LoginMigration" LoginMigrationStageNone LoginMigrationStage = "None" )
func (*LoginMigrationStage) UnmarshalJSON ¶
func (s *LoginMigrationStage) UnmarshalJSON(bytes []byte) error
type MigrateSqlServerSqlMITaskOutput ¶
type MigrateSqlServerSqlMITaskOutput interface { }
type MigrateSqlServerSqlMITaskOutputAgentJobLevel ¶
type MigrateSqlServerSqlMITaskOutputAgentJobLevel struct { EndedOn *string `json:"endedOn,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` // Fields inherited from MigrateSqlServerSqlMITaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMITaskOutputDatabaseLevel ¶
type MigrateSqlServerSqlMITaskOutputDatabaseLevel struct { DatabaseName *string `json:"databaseName,omitempty"` EndedOn *string `json:"endedOn,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` Message *string `json:"message,omitempty"` SizeMB *float64 `json:"sizeMB,omitempty"` Stage *DatabaseMigrationStage `json:"stage,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` // Fields inherited from MigrateSqlServerSqlMITaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMITaskOutputError ¶
type MigrateSqlServerSqlMITaskOutputError struct { Error *ReportableException `json:"error,omitempty"` // Fields inherited from MigrateSqlServerSqlMITaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMITaskOutputError) MarshalJSON ¶
func (s MigrateSqlServerSqlMITaskOutputError) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMITaskOutputLoginLevel ¶
type MigrateSqlServerSqlMITaskOutputLoginLevel struct { EndedOn *string `json:"endedOn,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` LoginName *string `json:"loginName,omitempty"` Message *string `json:"message,omitempty"` Stage *LoginMigrationStage `json:"stage,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` // Fields inherited from MigrateSqlServerSqlMITaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMITaskOutputMigrationLevel ¶
type MigrateSqlServerSqlMITaskOutputMigrationLevel struct { AgentJobs *map[string]string `json:"agentJobs,omitempty"` Databases *map[string]string `json:"databases,omitempty"` EndedOn *string `json:"endedOn,omitempty"` ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` Logins *map[string]string `json:"logins,omitempty"` Message *string `json:"message,omitempty"` OrphanedUsersInfo *[]OrphanedUserInfo `json:"orphanedUsersInfo,omitempty"` ServerRoleResults *map[string]StartMigrationScenarioServerRoleResult `json:"serverRoleResults,omitempty"` SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` SourceServerVersion *string `json:"sourceServerVersion,omitempty"` StartedOn *string `json:"startedOn,omitempty"` State *MigrationState `json:"state,omitempty"` Status *MigrationStatus `json:"status,omitempty"` TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` TargetServerVersion *string `json:"targetServerVersion,omitempty"` // Fields inherited from MigrateSqlServerSqlMITaskOutput Id *string `json:"id,omitempty"` }
func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON ¶
func (s MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
type MigrateSqlServerSqlMITasksClient ¶
type MigrateSqlServerSqlMITasksClient struct {
Client *resourcemanager.Client
}
func NewMigrateSqlServerSqlMITasksClientWithBaseURI ¶
func NewMigrateSqlServerSqlMITasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateSqlServerSqlMITasksClient, 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 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 OrphanedUserInfo ¶
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 RawMigrateSqlServerSqlMITaskOutputImpl ¶
RawMigrateSqlServerSqlMITaskOutputImpl 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
type StartMigrationScenarioServerRoleResult ¶
type StartMigrationScenarioServerRoleResult struct { ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` Name *string `json:"name,omitempty"` State *MigrationState `json:"state,omitempty"` }
Source Files ¶
- client.go
- constants.go
- model_connectioninfo.go
- model_migratesqlserversqlmitaskoutput.go
- model_migratesqlserversqlmitaskoutputagentjoblevel.go
- model_migratesqlserversqlmitaskoutputdatabaselevel.go
- model_migratesqlserversqlmitaskoutputerror.go
- model_migratesqlserversqlmitaskoutputloginlevel.go
- model_migratesqlserversqlmitaskoutputmigrationlevel.go
- model_orphaneduserinfo.go
- model_reportableexception.go
- model_sqlconnectioninfo.go
- model_startmigrationscenarioserverroleresult.go
- version.go
Click to show internal directories.
Click to hide internal directories.