Documentation ¶
Index ¶
- func PossibleValuesForCommandState() []string
- func PossibleValuesForMySqlTargetPlatformType() []string
- func PossibleValuesForServerLevelPermissionsGroup() []string
- func PossibleValuesForTaskState() []string
- type CommandProperties
- type CommandState
- type ConnectToSourceMySqlTaskInput
- type ConnectToSourceMySqlTaskProperties
- type ConnectToSourceMySqlTasksClient
- type ConnectToSourceNonSqlTaskOutput
- type ConnectionInfo
- type MySqlConnectionInfo
- type MySqlTargetPlatformType
- type ODataError
- type ProjectTaskProperties
- type RawConnectionInfoImpl
- type RawProjectTaskPropertiesImpl
- type ReportableException
- type ServerLevelPermissionsGroup
- type ServerProperties
- type TaskState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommandState ¶
func PossibleValuesForCommandState() []string
func PossibleValuesForMySqlTargetPlatformType ¶
func PossibleValuesForMySqlTargetPlatformType() []string
func PossibleValuesForServerLevelPermissionsGroup ¶
func PossibleValuesForServerLevelPermissionsGroup() []string
func PossibleValuesForTaskState ¶
func PossibleValuesForTaskState() []string
Types ¶
type CommandProperties ¶
type CommandProperties struct { CommandType string `json:"commandType"` Errors *[]ODataError `json:"errors,omitempty"` State *CommandState `json:"state,omitempty"` }
type CommandState ¶
type CommandState string
const ( CommandStateAccepted CommandState = "Accepted" CommandStateFailed CommandState = "Failed" CommandStateRunning CommandState = "Running" CommandStateSucceeded CommandState = "Succeeded" CommandStateUnknown CommandState = "Unknown" )
func (*CommandState) UnmarshalJSON ¶
func (s *CommandState) UnmarshalJSON(bytes []byte) error
type ConnectToSourceMySqlTaskInput ¶
type ConnectToSourceMySqlTaskInput struct { CheckPermissionsGroup *ServerLevelPermissionsGroup `json:"checkPermissionsGroup,omitempty"` SourceConnectionInfo MySqlConnectionInfo `json:"sourceConnectionInfo"` TargetPlatform *MySqlTargetPlatformType `json:"targetPlatform,omitempty"` }
type ConnectToSourceMySqlTaskProperties ¶
type ConnectToSourceMySqlTaskProperties struct { Input *ConnectToSourceMySqlTaskInput `json:"input,omitempty"` Output *[]ConnectToSourceNonSqlTaskOutput `json:"output,omitempty"` // Fields inherited from ProjectTaskProperties Commands *[]CommandProperties `json:"commands,omitempty"` Errors *[]ODataError `json:"errors,omitempty"` State *TaskState `json:"state,omitempty"` }
func (ConnectToSourceMySqlTaskProperties) MarshalJSON ¶
func (s ConnectToSourceMySqlTaskProperties) MarshalJSON() ([]byte, error)
type ConnectToSourceMySqlTasksClient ¶
type ConnectToSourceMySqlTasksClient struct {
Client *resourcemanager.Client
}
func NewConnectToSourceMySqlTasksClientWithBaseURI ¶
func NewConnectToSourceMySqlTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectToSourceMySqlTasksClient, error)
type ConnectToSourceNonSqlTaskOutput ¶
type ConnectToSourceNonSqlTaskOutput struct { Databases *[]string `json:"databases,omitempty"` Id *string `json:"id,omitempty"` ServerProperties *ServerProperties `json:"serverProperties,omitempty"` SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"` }
type ConnectionInfo ¶
type ConnectionInfo interface { }
type MySqlConnectionInfo ¶
type MySqlConnectionInfo struct { 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 MySqlTargetPlatformType ¶
type MySqlTargetPlatformType string
const ( MySqlTargetPlatformTypeAzureDbForMySQL MySqlTargetPlatformType = "AzureDbForMySQL" MySqlTargetPlatformTypeSqlServer MySqlTargetPlatformType = "SqlServer" )
func (*MySqlTargetPlatformType) UnmarshalJSON ¶
func (s *MySqlTargetPlatformType) UnmarshalJSON(bytes []byte) error
type ODataError ¶
type ODataError struct { Code *string `json:"code,omitempty"` Details *[]ODataError `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type ProjectTaskProperties ¶
type ProjectTaskProperties interface { }
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 RawProjectTaskPropertiesImpl ¶
RawProjectTaskPropertiesImpl 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 ServerLevelPermissionsGroup ¶
type ServerLevelPermissionsGroup string
const ( ServerLevelPermissionsGroupDefault ServerLevelPermissionsGroup = "Default" ServerLevelPermissionsGroupMigrationFromMySQLToAzureDBForMySQL ServerLevelPermissionsGroup = "MigrationFromMySQLToAzureDBForMySQL" ServerLevelPermissionsGroupMigrationFromSqlServerToAzureDB ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB" ServerLevelPermissionsGroupMigrationFromSqlServerToAzureMI ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureMI" )
func (*ServerLevelPermissionsGroup) UnmarshalJSON ¶
func (s *ServerLevelPermissionsGroup) UnmarshalJSON(bytes []byte) error
type ServerProperties ¶
type ServerProperties struct { ServerDatabaseCount *int64 `json:"serverDatabaseCount,omitempty"` ServerEdition *string `json:"serverEdition,omitempty"` ServerName *string `json:"serverName,omitempty"` ServerOperatingSystemVersion *string `json:"serverOperatingSystemVersion,omitempty"` ServerPlatform *string `json:"serverPlatform,omitempty"` ServerVersion *string `json:"serverVersion,omitempty"` }
type TaskState ¶
type TaskState string
const ( TaskStateCanceled TaskState = "Canceled" TaskStateFailed TaskState = "Failed" TaskStateFailedInputValidation TaskState = "FailedInputValidation" TaskStateFaulted TaskState = "Faulted" TaskStateQueued TaskState = "Queued" TaskStateRunning TaskState = "Running" TaskStateSucceeded TaskState = "Succeeded" TaskStateUnknown TaskState = "Unknown" )
func (*TaskState) UnmarshalJSON ¶
Source Files ¶
- client.go
- constants.go
- model_commandproperties.go
- model_connectioninfo.go
- model_connecttosourcemysqltaskinput.go
- model_connecttosourcemysqltaskproperties.go
- model_connecttosourcenonsqltaskoutput.go
- model_mysqlconnectioninfo.go
- model_odataerror.go
- model_projecttaskproperties.go
- model_reportableexception.go
- model_serverproperties.go
- version.go
Click to show internal directories.
Click to hide internal directories.