migratemysqlazuredbformysqlsynctasks

package
v0.20240419.1132837 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/migratemysqlazuredbformysqlsynctasks Documentation

The migratemysqlazuredbformysqlsynctasks SDK allows for interaction with the Azure Resource Manager Service datamigration (API Version 2018-04-19).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/migratemysqlazuredbformysqlsynctasks"

Client Initialization

client := migratemysqlazuredbformysqlsynctasks.NewMigrateMySqlAzureDbForMySqlSyncTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSyncDatabaseMigrationReportingState

func PossibleValuesForSyncDatabaseMigrationReportingState() []string

func PossibleValuesForSyncTableMigrationState

func PossibleValuesForSyncTableMigrationState() []string

Types

type ConnectionInfo

type ConnectionInfo interface {
}

type MigrateMySqlAzureDbForMySqlSyncTaskOutput

type MigrateMySqlAzureDbForMySqlSyncTaskOutput interface {
}

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError struct {
	ErrorMessage *string                            `json:"errorMessage,omitempty"`
	Events       *[]SyncMigrationDatabaseErrorEvent `json:"events,omitempty"`

	// Fields inherited from MigrateMySqlAzureDbForMySqlSyncTaskOutput
	Id *string `json:"id,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MarshalJSON

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel 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 MigrateMySqlAzureDbForMySqlSyncTaskOutput
	Id *string `json:"id,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MarshalJSON

type MigrateMySqlAzureDbForMySqlSyncTaskOutputError

type MigrateMySqlAzureDbForMySqlSyncTaskOutputError struct {
	Error *ReportableException `json:"error,omitempty"`

	// Fields inherited from MigrateMySqlAzureDbForMySqlSyncTaskOutput
	Id *string `json:"id,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MarshalJSON

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel struct {
	EndedOn             *string `json:"endedOn,omitempty"`
	SourceServer        *string `json:"sourceServer,omitempty"`
	SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
	StartedOn           *string `json:"startedOn,omitempty"`
	TargetServer        *string `json:"targetServer,omitempty"`
	TargetServerVersion *string `json:"targetServerVersion,omitempty"`

	// Fields inherited from MigrateMySqlAzureDbForMySqlSyncTaskOutput
	Id *string `json:"id,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MarshalJSON

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel struct {
	CdcDeleteCounter      *string                  `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter      *string                  `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter      *string                  `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 MigrateMySqlAzureDbForMySqlSyncTaskOutput
	Id *string `json:"id,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MarshalJSON

type MigrateMySqlAzureDbForMySqlSyncTasksClient

type MigrateMySqlAzureDbForMySqlSyncTasksClient struct {
	Client *resourcemanager.Client
}

func NewMigrateMySqlAzureDbForMySqlSyncTasksClientWithBaseURI

func NewMigrateMySqlAzureDbForMySqlSyncTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateMySqlAzureDbForMySqlSyncTasksClient, error)

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 RawConnectionInfoImpl

type RawConnectionInfoImpl struct {
	Type   string
	Values map[string]interface{}
}

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 RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
}

RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl 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 SyncDatabaseMigrationReportingState

type SyncDatabaseMigrationReportingState string
const (
	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"
	SyncDatabaseMigrationReportingStateRUNNING         SyncDatabaseMigrationReportingState = "RUNNING"
	SyncDatabaseMigrationReportingStateSTARTING        SyncDatabaseMigrationReportingState = "STARTING"
	SyncDatabaseMigrationReportingStateUNDEFINED       SyncDatabaseMigrationReportingState = "UNDEFINED"
)

func (*SyncDatabaseMigrationReportingState) UnmarshalJSON

func (s *SyncDatabaseMigrationReportingState) UnmarshalJSON(bytes []byte) error

type SyncMigrationDatabaseErrorEvent

type SyncMigrationDatabaseErrorEvent struct {
	EventText       *string `json:"eventText,omitempty"`
	EventTypeString *string `json:"eventTypeString,omitempty"`
	TimestampString *string `json:"timestampString,omitempty"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL