customoperation

package
v0.20241126.1110949 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

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

The customoperation SDK allows for interaction with Azure Resource Manager 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/customoperation"

Client Initialization

client := customoperation.NewCustomOperationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CustomOperationClient.ServicesCheckStatus

ctx := context.TODO()
id := customoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

read, err := client.ServicesCheckStatus(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: CustomOperationClient.ServicesNestedCheckNameAvailability

ctx := context.TODO()
id := customoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

payload := customoperation.NameAvailabilityRequest{
	// ...
}


read, err := client.ServicesNestedCheckNameAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: CustomOperationClient.ServicesStart

ctx := context.TODO()
id := customoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

if err := client.ServicesStartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: CustomOperationClient.ServicesStop

ctx := context.TODO()
id := customoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

if err := client.ServicesStopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: CustomOperationClient.TasksCancel

ctx := context.TODO()
id := customoperation.NewTaskID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName", "taskName")

read, err := client.TasksCancel(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAuthenticationType added in v0.20241009.1142232

func PossibleValuesForAuthenticationType() []string

func PossibleValuesForBackupFileStatus added in v0.20241009.1142232

func PossibleValuesForBackupFileStatus() []string

func PossibleValuesForBackupMode added in v0.20241009.1142232

func PossibleValuesForBackupMode() []string

func PossibleValuesForBackupType added in v0.20241009.1142232

func PossibleValuesForBackupType() []string

func PossibleValuesForCommandState

func PossibleValuesForCommandState() []string

func PossibleValuesForDatabaseCompatLevel added in v0.20241009.1142232

func PossibleValuesForDatabaseCompatLevel() []string

func PossibleValuesForDatabaseFileType added in v0.20241009.1142232

func PossibleValuesForDatabaseFileType() []string

func PossibleValuesForDatabaseMigrationStage added in v0.20241009.1142232

func PossibleValuesForDatabaseMigrationStage() []string

func PossibleValuesForDatabaseMigrationState added in v0.20241009.1142232

func PossibleValuesForDatabaseMigrationState() []string

func PossibleValuesForDatabaseState added in v0.20241009.1142232

func PossibleValuesForDatabaseState() []string

func PossibleValuesForLoginMigrationStage added in v0.20241009.1142232

func PossibleValuesForLoginMigrationStage() []string

func PossibleValuesForLoginType added in v0.20241009.1142232

func PossibleValuesForLoginType() []string

func PossibleValuesForMigrationState added in v0.20241009.1142232

func PossibleValuesForMigrationState() []string

func PossibleValuesForMigrationStatus added in v0.20241009.1142232

func PossibleValuesForMigrationStatus() []string

func PossibleValuesForNameCheckFailureReason

func PossibleValuesForNameCheckFailureReason() []string

func PossibleValuesForObjectType added in v0.20241009.1142232

func PossibleValuesForObjectType() []string

func PossibleValuesForServerLevelPermissionsGroup added in v0.20241009.1142232

func PossibleValuesForServerLevelPermissionsGroup() []string

func PossibleValuesForSeverity added in v0.20241009.1142232

func PossibleValuesForSeverity() []string

func PossibleValuesForSqlSourcePlatform added in v0.20241009.1142232

func PossibleValuesForSqlSourcePlatform() []string

func PossibleValuesForSyncDatabaseMigrationReportingState added in v0.20241009.1142232

func PossibleValuesForSyncDatabaseMigrationReportingState() []string

func PossibleValuesForSyncTableMigrationState added in v0.20241009.1142232

func PossibleValuesForSyncTableMigrationState() []string

func PossibleValuesForTaskState

func PossibleValuesForTaskState() []string

func PossibleValuesForUpdateActionType added in v0.20241009.1142232

func PossibleValuesForUpdateActionType() []string

func PossibleValuesForValidationStatus added in v0.20241009.1142232

func PossibleValuesForValidationStatus() []string

func ValidateServiceID

func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)

ValidateServiceID checks that 'input' can be parsed as a Service ID

func ValidateTaskID

func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)

ValidateTaskID checks that 'input' can be parsed as a Task ID

Types

type AuthenticationType added in v0.20241009.1142232

type AuthenticationType string
const (
	AuthenticationTypeActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated"
	AuthenticationTypeActiveDirectoryPassword   AuthenticationType = "ActiveDirectoryPassword"
	AuthenticationTypeNone                      AuthenticationType = "None"
	AuthenticationTypeSqlAuthentication         AuthenticationType = "SqlAuthentication"
	AuthenticationTypeWindowsAuthentication     AuthenticationType = "WindowsAuthentication"
)

func (*AuthenticationType) UnmarshalJSON added in v0.20241009.1142232

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

type AzureActiveDirectoryApp added in v0.20241009.1142232

type AzureActiveDirectoryApp struct {
	AppKey        string `json:"appKey"`
	ApplicationId string `json:"applicationId"`
	TenantId      string `json:"tenantId"`
}

type BackupFileInfo added in v0.20241009.1142232

type BackupFileInfo struct {
	FamilySequenceNumber *int64            `json:"familySequenceNumber,omitempty"`
	FileLocation         *string           `json:"fileLocation,omitempty"`
	Status               *BackupFileStatus `json:"status,omitempty"`
}

type BackupFileStatus added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type BackupMode added in v0.20241009.1142232

type BackupMode string
const (
	BackupModeCreateBackup   BackupMode = "CreateBackup"
	BackupModeExistingBackup BackupMode = "ExistingBackup"
)

func (*BackupMode) UnmarshalJSON added in v0.20241009.1142232

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

type BackupSetInfo added in v0.20241009.1142232

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 added in v0.20241009.1142232

func (o *BackupSetInfo) GetBackupFinishedDateAsTime() (*time.Time, error)

func (*BackupSetInfo) GetBackupStartDateAsTime added in v0.20241009.1142232

func (o *BackupSetInfo) GetBackupStartDateAsTime() (*time.Time, error)

func (*BackupSetInfo) GetLastModifiedTimeAsTime added in v0.20241009.1142232

func (o *BackupSetInfo) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*BackupSetInfo) SetBackupFinishedDateAsTime added in v0.20241009.1142232

func (o *BackupSetInfo) SetBackupFinishedDateAsTime(input time.Time)

func (*BackupSetInfo) SetBackupStartDateAsTime added in v0.20241009.1142232

func (o *BackupSetInfo) SetBackupStartDateAsTime(input time.Time)

func (*BackupSetInfo) SetLastModifiedTimeAsTime added in v0.20241009.1142232

func (o *BackupSetInfo) SetLastModifiedTimeAsTime(input time.Time)

type BackupType added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type BaseCommandPropertiesImpl added in v0.20241009.1142232

type BaseCommandPropertiesImpl struct {
	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (BaseCommandPropertiesImpl) CommandProperties added in v0.20241009.1142232

type BaseConnectToSourceSqlServerTaskOutputImpl added in v0.20241009.1142232

type BaseConnectToSourceSqlServerTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (BaseConnectToSourceSqlServerTaskOutputImpl) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

type BaseConnectionInfoImpl added in v0.20241009.1142232

type BaseConnectionInfoImpl struct {
	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (BaseConnectionInfoImpl) ConnectionInfo added in v0.20241009.1142232

type BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl added in v0.20241009.1142232

type BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl added in v0.20241009.1142232

type BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbSyncTaskOutputImpl added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlDbSyncTaskOutputImpl) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbTaskOutputImpl added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (BaseMigrateSqlServerSqlDbTaskOutputImpl) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMISyncTaskOutputImpl added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMISyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlMISyncTaskOutputImpl) MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMITaskOutputImpl added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMITaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlMITaskOutputImpl) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type BaseProjectTaskPropertiesImpl added in v0.20241009.1142232

type BaseProjectTaskPropertiesImpl struct {
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (BaseProjectTaskPropertiesImpl) ProjectTaskProperties added in v0.20241009.1142232

func (*BaseProjectTaskPropertiesImpl) UnmarshalJSON added in v0.20241009.1142232

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

type BlobShare added in v0.20241009.1142232

type BlobShare struct {
	SasUri string `json:"sasUri"`
}

type CommandProperties

type CommandProperties interface {
	CommandProperties() BaseCommandPropertiesImpl
}

func UnmarshalCommandPropertiesImplementation added in v0.20241009.1142232

func UnmarshalCommandPropertiesImplementation(input []byte) (CommandProperties, error)

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 ConnectToSourcePostgreSqlSyncTaskInput added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskInput struct {
	SourceConnectionInfo PostgreSqlConnectionInfo `json:"sourceConnectionInfo"`
}

type ConnectToSourcePostgreSqlSyncTaskOutput added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	SourceServerBrandVersion *string                `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                `json:"sourceServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToSourcePostgreSqlSyncTaskProperties added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskProperties struct {
	Input  *ConnectToSourcePostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourcePostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourcePostgreSqlSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ConnectToSourcePostgreSqlSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToSourcePostgreSqlSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToSourceSqlServerSyncTaskProperties added in v0.20241009.1142232

type ConnectToSourceSqlServerSyncTaskProperties struct {
	Input  *ConnectToSourceSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourceSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourceSqlServerSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ConnectToSourceSqlServerSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToSourceSqlServerSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToSourceSqlServerTaskInput added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskInput struct {
	CheckPermissionsGroup *ServerLevelPermissionsGroup `json:"checkPermissionsGroup,omitempty"`
	CollectAgentJobs      *bool                        `json:"collectAgentJobs,omitempty"`
	CollectLogins         *bool                        `json:"collectLogins,omitempty"`
	SourceConnectionInfo  SqlConnectionInfo            `json:"sourceConnectionInfo"`
}

type ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutput interface {
	ConnectToSourceSqlServerTaskOutput() BaseConnectToSourceSqlServerTaskOutputImpl
}

func UnmarshalConnectToSourceSqlServerTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalConnectToSourceSqlServerTaskOutputImplementation(input []byte) (ConnectToSourceSqlServerTaskOutput, error)

type ConnectToSourceSqlServerTaskOutputAgentJobLevel added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputAgentJobLevel struct {
	IsEnabled            *bool                     `json:"isEnabled,omitempty"`
	JobCategory          *string                   `json:"jobCategory,omitempty"`
	JobOwner             *string                   `json:"jobOwner,omitempty"`
	LastExecutedOn       *string                   `json:"lastExecutedOn,omitempty"`
	MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"`
	Name                 *string                   `json:"name,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputAgentJobLevel) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputAgentJobLevel) MarshalJSON added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputDatabaseLevel added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputDatabaseLevel struct {
	CompatibilityLevel *DatabaseCompatLevel `json:"compatibilityLevel,omitempty"`
	DatabaseFiles      *[]DatabaseFileInfo  `json:"databaseFiles,omitempty"`
	DatabaseState      *DatabaseState       `json:"databaseState,omitempty"`
	Name               *string              `json:"name,omitempty"`
	SizeMB             *float64             `json:"sizeMB,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputDatabaseLevel) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputLoginLevel added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputLoginLevel struct {
	DefaultDatabase      *string                   `json:"defaultDatabase,omitempty"`
	IsEnabled            *bool                     `json:"isEnabled,omitempty"`
	LoginType            *LoginType                `json:"loginType,omitempty"`
	MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"`
	Name                 *string                   `json:"name,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputLoginLevel) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputLoginLevel) MarshalJSON added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputTaskLevel added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputTaskLevel struct {
	AgentJobs                *map[string]string     `json:"agentJobs,omitempty"`
	Databases                *map[string]string     `json:"databases,omitempty"`
	Logins                   *map[string]string     `json:"logins,omitempty"`
	SourceServerBrandVersion *string                `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                `json:"sourceServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputTaskLevel) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputTaskLevel) MarshalJSON added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskProperties added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskProperties struct {
	Input  *ConnectToSourceSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourceSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourceSqlServerTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s ConnectToSourceSqlServerTaskProperties) MarshalJSON() ([]byte, error)

func (ConnectToSourceSqlServerTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToSourceSqlServerTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToTargetAzureDbForMySqlTaskInput added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskInput struct {
	SourceConnectionInfo MySqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo MySqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetAzureDbForMySqlTaskOutput added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	ServerVersion            *string                `json:"serverVersion,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetAzureDbForMySqlTaskProperties added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskProperties struct {
	Input  *ConnectToTargetAzureDbForMySqlTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetAzureDbForMySqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetAzureDbForMySqlTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ConnectToTargetAzureDbForMySqlTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetAzureDbForMySqlTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToTargetAzureDbForPostgreSqlSyncTaskInput added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskInput struct {
	SourceConnectionInfo PostgreSqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo PostgreSqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties struct {
	Input  *ConnectToTargetAzureDbForPostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskInput added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskInput struct {
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlDbTaskOutput added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskOutput struct {
	Databases                *map[string]string `json:"databases,omitempty"`
	Id                       *string            `json:"id,omitempty"`
	TargetServerBrandVersion *string            `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string            `json:"targetServerVersion,omitempty"`
}

type ConnectToTargetSqlDbTaskProperties added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskProperties struct {
	Input  *ConnectToTargetSqlDbTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlDbTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlDbTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s ConnectToTargetSqlDbTaskProperties) MarshalJSON() ([]byte, error)

func (ConnectToTargetSqlDbTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetSqlDbTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToTargetSqlMISyncTaskInput added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskInput struct {
	AzureApp             AzureActiveDirectoryApp `json:"azureApp"`
	TargetConnectionInfo MiSqlConnectionInfo     `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlMISyncTaskOutput added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskOutput struct {
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetSqlMISyncTaskProperties added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskProperties struct {
	Input  *ConnectToTargetSqlMISyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlMISyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s ConnectToTargetSqlMISyncTaskProperties) MarshalJSON() ([]byte, error)

func (ConnectToTargetSqlMISyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetSqlMISyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToTargetSqlMITaskInput added in v0.20241009.1142232

type ConnectToTargetSqlMITaskInput struct {
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlMITaskOutput added in v0.20241009.1142232

type ConnectToTargetSqlMITaskOutput struct {
	AgentJobs                *[]string              `json:"agentJobs,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	Logins                   *[]string              `json:"logins,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetSqlMITaskProperties added in v0.20241009.1142232

type ConnectToTargetSqlMITaskProperties struct {
	Input  *ConnectToTargetSqlMITaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlMITaskProperties) MarshalJSON added in v0.20241009.1142232

func (s ConnectToTargetSqlMITaskProperties) MarshalJSON() ([]byte, error)

func (ConnectToTargetSqlMITaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetSqlMITaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectToTargetSqlSqlDbSyncTaskInput added in v0.20241009.1142232

type ConnectToTargetSqlSqlDbSyncTaskInput struct {
	SourceConnectionInfo SqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlSqlDbSyncTaskProperties added in v0.20241009.1142232

type ConnectToTargetSqlSqlDbSyncTaskProperties struct {
	Input  *ConnectToTargetSqlSqlDbSyncTaskInput `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlDbTaskOutput     `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlSqlDbSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ConnectToTargetSqlSqlDbSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ConnectToTargetSqlSqlDbSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type ConnectionInfo added in v0.20241009.1142232

type ConnectionInfo interface {
	ConnectionInfo() BaseConnectionInfoImpl
}

func UnmarshalConnectionInfoImplementation added in v0.20241009.1142232

func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error)

type CustomOperationClient

type CustomOperationClient struct {
	Client *resourcemanager.Client
}

func NewCustomOperationClientWithBaseURI

func NewCustomOperationClientWithBaseURI(sdkApi sdkEnv.Api) (*CustomOperationClient, error)

func (CustomOperationClient) ServicesCheckStatus

func (c CustomOperationClient) ServicesCheckStatus(ctx context.Context, id ServiceId) (result ServicesCheckStatusOperationResponse, err error)

ServicesCheckStatus ...

func (CustomOperationClient) ServicesNestedCheckNameAvailability

func (c CustomOperationClient) ServicesNestedCheckNameAvailability(ctx context.Context, id ServiceId, input NameAvailabilityRequest) (result ServicesNestedCheckNameAvailabilityOperationResponse, err error)

ServicesNestedCheckNameAvailability ...

func (CustomOperationClient) ServicesStart

func (c CustomOperationClient) ServicesStart(ctx context.Context, id ServiceId) (result ServicesStartOperationResponse, err error)

ServicesStart ...

func (CustomOperationClient) ServicesStartThenPoll

func (c CustomOperationClient) ServicesStartThenPoll(ctx context.Context, id ServiceId) error

ServicesStartThenPoll performs ServicesStart then polls until it's completed

func (CustomOperationClient) ServicesStop

func (c CustomOperationClient) ServicesStop(ctx context.Context, id ServiceId) (result ServicesStopOperationResponse, err error)

ServicesStop ...

func (CustomOperationClient) ServicesStopThenPoll

func (c CustomOperationClient) ServicesStopThenPoll(ctx context.Context, id ServiceId) error

ServicesStopThenPoll performs ServicesStop then polls until it's completed

func (CustomOperationClient) TasksCancel

func (c CustomOperationClient) TasksCancel(ctx context.Context, id TaskId) (result TasksCancelOperationResponse, err error)

TasksCancel ...

type DataIntegrityValidationResult added in v0.20241009.1142232

type DataIntegrityValidationResult struct {
	FailedObjects    *map[string]string `json:"failedObjects,omitempty"`
	ValidationErrors *ValidationError   `json:"validationErrors,omitempty"`
}

type DataItemMigrationSummaryResult added in v0.20241009.1142232

type DataItemMigrationSummaryResult struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	Name                *string         `json:"name,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`
}

func (*DataItemMigrationSummaryResult) GetEndedOnAsTime added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*DataItemMigrationSummaryResult) GetStartedOnAsTime added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*DataItemMigrationSummaryResult) SetEndedOnAsTime added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) SetEndedOnAsTime(input time.Time)

func (*DataItemMigrationSummaryResult) SetStartedOnAsTime added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) SetStartedOnAsTime(input time.Time)

type DataMigrationServiceStatusResponse

type DataMigrationServiceStatusResponse struct {
	AgentVersion       *string   `json:"agentVersion,omitempty"`
	Status             *string   `json:"status,omitempty"`
	SupportedTaskTypes *[]string `json:"supportedTaskTypes,omitempty"`
	VMSize             *string   `json:"vmSize,omitempty"`
}

type DatabaseBackupInfo added in v0.20241009.1142232

type DatabaseBackupInfo struct {
	BackupFiles      *[]string   `json:"backupFiles,omitempty"`
	BackupFinishDate *string     `json:"backupFinishDate,omitempty"`
	BackupType       *BackupType `json:"backupType,omitempty"`
	DatabaseName     *string     `json:"databaseName,omitempty"`
	FamilyCount      *int64      `json:"familyCount,omitempty"`
	IsCompressed     *bool       `json:"isCompressed,omitempty"`
	IsDamaged        *bool       `json:"isDamaged,omitempty"`
	Position         *int64      `json:"position,omitempty"`
}

func (*DatabaseBackupInfo) GetBackupFinishDateAsTime added in v0.20241009.1142232

func (o *DatabaseBackupInfo) GetBackupFinishDateAsTime() (*time.Time, error)

func (*DatabaseBackupInfo) SetBackupFinishDateAsTime added in v0.20241009.1142232

func (o *DatabaseBackupInfo) SetBackupFinishDateAsTime(input time.Time)

type DatabaseCompatLevel added in v0.20241009.1142232

type DatabaseCompatLevel string
const (
	DatabaseCompatLevelCompatLevelEightZero    DatabaseCompatLevel = "CompatLevel80"
	DatabaseCompatLevelCompatLevelNineZero     DatabaseCompatLevel = "CompatLevel90"
	DatabaseCompatLevelCompatLevelOneFourZero  DatabaseCompatLevel = "CompatLevel140"
	DatabaseCompatLevelCompatLevelOneHundred   DatabaseCompatLevel = "CompatLevel100"
	DatabaseCompatLevelCompatLevelOneOneZero   DatabaseCompatLevel = "CompatLevel110"
	DatabaseCompatLevelCompatLevelOneThreeZero DatabaseCompatLevel = "CompatLevel130"
	DatabaseCompatLevelCompatLevelOneTwoZero   DatabaseCompatLevel = "CompatLevel120"
)

func (*DatabaseCompatLevel) UnmarshalJSON added in v0.20241009.1142232

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

type DatabaseFileInfo added in v0.20241009.1142232

type DatabaseFileInfo struct {
	DatabaseName     *string           `json:"databaseName,omitempty"`
	FileType         *DatabaseFileType `json:"fileType,omitempty"`
	Id               *string           `json:"id,omitempty"`
	LogicalName      *string           `json:"logicalName,omitempty"`
	PhysicalFullName *string           `json:"physicalFullName,omitempty"`
	RestoreFullName  *string           `json:"restoreFullName,omitempty"`
	SizeMB           *float64          `json:"sizeMB,omitempty"`
}

type DatabaseFileType added in v0.20241009.1142232

type DatabaseFileType string
const (
	DatabaseFileTypeFilestream   DatabaseFileType = "Filestream"
	DatabaseFileTypeFulltext     DatabaseFileType = "Fulltext"
	DatabaseFileTypeLog          DatabaseFileType = "Log"
	DatabaseFileTypeNotSupported DatabaseFileType = "NotSupported"
	DatabaseFileTypeRows         DatabaseFileType = "Rows"
)

func (*DatabaseFileType) UnmarshalJSON added in v0.20241009.1142232

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

type DatabaseMigrationStage added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type DatabaseMigrationState added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type DatabaseState added in v0.20241009.1142232

type DatabaseState string
const (
	DatabaseStateCopying          DatabaseState = "Copying"
	DatabaseStateEmergency        DatabaseState = "Emergency"
	DatabaseStateOffline          DatabaseState = "Offline"
	DatabaseStateOfflineSecondary DatabaseState = "OfflineSecondary"
	DatabaseStateOnline           DatabaseState = "Online"
	DatabaseStateRecovering       DatabaseState = "Recovering"
	DatabaseStateRecoveryPending  DatabaseState = "RecoveryPending"
	DatabaseStateRestoring        DatabaseState = "Restoring"
	DatabaseStateSuspect          DatabaseState = "Suspect"
)

func (*DatabaseState) UnmarshalJSON added in v0.20241009.1142232

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

type DatabaseSummaryResult added in v0.20241009.1142232

type DatabaseSummaryResult struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	Name                *string         `json:"name,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	SizeMB              *float64        `json:"sizeMB,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`
}

func (*DatabaseSummaryResult) GetEndedOnAsTime added in v0.20241009.1142232

func (o *DatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*DatabaseSummaryResult) GetStartedOnAsTime added in v0.20241009.1142232

func (o *DatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*DatabaseSummaryResult) SetEndedOnAsTime added in v0.20241009.1142232

func (o *DatabaseSummaryResult) SetEndedOnAsTime(input time.Time)

func (*DatabaseSummaryResult) SetStartedOnAsTime added in v0.20241009.1142232

func (o *DatabaseSummaryResult) SetStartedOnAsTime(input time.Time)

type DatabaseTable added in v0.20241009.1142232

type DatabaseTable struct {
	HasRows *bool   `json:"hasRows,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type ExecutionStatistics added in v0.20241009.1142232

type ExecutionStatistics struct {
	CpuTimeMs      *float64                   `json:"cpuTimeMs,omitempty"`
	ElapsedTimeMs  *float64                   `json:"elapsedTimeMs,omitempty"`
	ExecutionCount *int64                     `json:"executionCount,omitempty"`
	HasErrors      *bool                      `json:"hasErrors,omitempty"`
	SqlErrors      *[]string                  `json:"sqlErrors,omitempty"`
	WaitStats      *map[string]WaitStatistics `json:"waitStats,omitempty"`
}

type FileShare added in v0.20241009.1142232

type FileShare struct {
	Password *string `json:"password,omitempty"`
	Path     string  `json:"path"`
	UserName *string `json:"userName,omitempty"`
}

type GetTdeCertificatesSqlTaskInput added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskInput struct {
	BackupFileShare      FileShare                  `json:"backupFileShare"`
	ConnectionInfo       SqlConnectionInfo          `json:"connectionInfo"`
	SelectedCertificates []SelectedCertificateInput `json:"selectedCertificates"`
}

type GetTdeCertificatesSqlTaskOutput added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskOutput struct {
	Base64EncodedCertificates *map[string][]string   `json:"base64EncodedCertificates,omitempty"`
	ValidationErrors          *[]ReportableException `json:"validationErrors,omitempty"`
}

type GetTdeCertificatesSqlTaskProperties added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskProperties struct {
	Input  *GetTdeCertificatesSqlTaskInput    `json:"input,omitempty"`
	Output *[]GetTdeCertificatesSqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetTdeCertificatesSqlTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s GetTdeCertificatesSqlTaskProperties) MarshalJSON() ([]byte, error)

func (GetTdeCertificatesSqlTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*GetTdeCertificatesSqlTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type GetUserTablesSqlSyncTaskInput added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskInput struct {
	SelectedSourceDatabases []string          `json:"selectedSourceDatabases"`
	SelectedTargetDatabases []string          `json:"selectedTargetDatabases"`
	SourceConnectionInfo    SqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo    SqlConnectionInfo `json:"targetConnectionInfo"`
}

type GetUserTablesSqlSyncTaskOutput added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskOutput struct {
	DatabasesToSourceTables *map[string][]DatabaseTable `json:"databasesToSourceTables,omitempty"`
	DatabasesToTargetTables *map[string][]DatabaseTable `json:"databasesToTargetTables,omitempty"`
	TableValidationErrors   *map[string][]string        `json:"tableValidationErrors,omitempty"`
	ValidationErrors        *[]ReportableException      `json:"validationErrors,omitempty"`
}

type GetUserTablesSqlSyncTaskProperties added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskProperties struct {
	Input  *GetUserTablesSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]GetUserTablesSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetUserTablesSqlSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s GetUserTablesSqlSyncTaskProperties) MarshalJSON() ([]byte, error)

func (GetUserTablesSqlSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*GetUserTablesSqlSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type GetUserTablesSqlTaskInput added in v0.20241009.1142232

type GetUserTablesSqlTaskInput struct {
	ConnectionInfo    SqlConnectionInfo `json:"connectionInfo"`
	SelectedDatabases []string          `json:"selectedDatabases"`
}

type GetUserTablesSqlTaskOutput added in v0.20241009.1142232

type GetUserTablesSqlTaskOutput struct {
	DatabasesToTables *map[string][]DatabaseTable `json:"databasesToTables,omitempty"`
	Id                *string                     `json:"id,omitempty"`
	ValidationErrors  *[]ReportableException      `json:"validationErrors,omitempty"`
}

type GetUserTablesSqlTaskProperties added in v0.20241009.1142232

type GetUserTablesSqlTaskProperties struct {
	Input  *GetUserTablesSqlTaskInput    `json:"input,omitempty"`
	Output *[]GetUserTablesSqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetUserTablesSqlTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s GetUserTablesSqlTaskProperties) MarshalJSON() ([]byte, error)

func (GetUserTablesSqlTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*GetUserTablesSqlTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type LoginMigrationStage added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type LoginType added in v0.20241009.1142232

type LoginType string
const (
	LoginTypeAsymmetricKey LoginType = "AsymmetricKey"
	LoginTypeCertificate   LoginType = "Certificate"
	LoginTypeExternalGroup LoginType = "ExternalGroup"
	LoginTypeExternalUser  LoginType = "ExternalUser"
	LoginTypeSqlLogin      LoginType = "SqlLogin"
	LoginTypeWindowsGroup  LoginType = "WindowsGroup"
	LoginTypeWindowsUser   LoginType = "WindowsUser"
)

func (*LoginType) UnmarshalJSON added in v0.20241009.1142232

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

type MiSqlConnectionInfo added in v0.20241009.1142232

type MiSqlConnectionInfo struct {
	ManagedInstanceResourceId string `json:"managedInstanceResourceId"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (MiSqlConnectionInfo) ConnectionInfo added in v0.20241009.1142232

func (s MiSqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MiSqlConnectionInfo) MarshalJSON added in v0.20241009.1142232

func (s MiSqlConnectionInfo) MarshalJSON() ([]byte, error)

type MigrateMISyncCompleteCommandInput added in v0.20241009.1142232

type MigrateMISyncCompleteCommandInput struct {
	SourceDatabaseName string `json:"sourceDatabaseName"`
}

type MigrateMISyncCompleteCommandOutput added in v0.20241009.1142232

type MigrateMISyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
}

type MigrateMISyncCompleteCommandProperties added in v0.20241009.1142232

type MigrateMISyncCompleteCommandProperties struct {
	Input  *MigrateMISyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateMISyncCompleteCommandOutput `json:"output,omitempty"`

	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (MigrateMISyncCompleteCommandProperties) CommandProperties added in v0.20241009.1142232

func (MigrateMISyncCompleteCommandProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateMISyncCompleteCommandProperties) MarshalJSON() ([]byte, error)

type MigrateMySqlAzureDbForMySqlSyncDatabaseInput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncDatabaseInput struct {
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigrateMySqlAzureDbForMySqlSyncTaskInput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskInput struct {
	SelectedDatabases    []MigrateMySqlAzureDbForMySqlSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo MySqlConnectionInfo                            `json:"sourceConnectionInfo"`
	TargetConnectionInfo MySqlConnectionInfo                            `json:"targetConnectionInfo"`
}

type MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutput interface {
	MigrateMySqlAzureDbForMySqlSyncTaskOutput() BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl
}

func UnmarshalMigrateMySqlAzureDbForMySqlSyncTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigrateMySqlAzureDbForMySqlSyncTaskOutputImplementation(input []byte) (MigrateMySqlAzureDbForMySqlSyncTaskOutput, error)

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskProperties added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskProperties struct {
	Input  *MigrateMySqlAzureDbForMySqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigrateMySqlAzureDbForMySqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigrateMySqlAzureDbForMySqlSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput struct {
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput struct {
	SelectedDatabases    []MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo PostgreSqlConnectionInfo                                 `json:"sourceConnectionInfo"`
	TargetConnectionInfo PostgreSqlConnectionInfo                                 `json:"targetConnectionInfo"`
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput interface {
	MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput() BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl
}

func UnmarshalMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImplementation(input []byte) (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput, error)

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel 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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties struct {
	Input  *MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

type MigrateSqlServerSqlDbDatabaseInput added in v0.20241009.1142232

type MigrateSqlServerSqlDbDatabaseInput struct {
	MakeSourceDbReadOnly *bool              `json:"makeSourceDbReadOnly,omitempty"`
	Name                 *string            `json:"name,omitempty"`
	TableMap             *map[string]string `json:"tableMap,omitempty"`
	TargetDatabaseName   *string            `json:"targetDatabaseName,omitempty"`
}

type MigrateSqlServerSqlDbSyncDatabaseInput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncDatabaseInput struct {
	Id                 *string            `json:"id,omitempty"`
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SchemaName         *string            `json:"schemaName,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TableMap           *map[string]string `json:"tableMap,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigrateSqlServerSqlDbSyncTaskInput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                        `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                        `json:"targetConnectionInfo"`
	ValidationOptions    *MigrationValidationOptions              `json:"validationOptions,omitempty"`
}

type MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutput interface {
	MigrateSqlServerSqlDbSyncTaskOutput() BaseMigrateSqlServerSqlDbSyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbSyncTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlDbSyncTaskOutputImplementation(input []byte) (MigrateSqlServerSqlDbSyncTaskOutput, error)

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseError) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseError) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel 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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputError) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputError) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel struct {
	DatabaseCount       *int64  `json:"databaseCount,omitempty"`
	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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputTableLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputTableLevel 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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputTableLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputTableLevel) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskProperties added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskProperties struct {
	Input  *MigrateSqlServerSqlDbSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlDbSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlDbSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlDbSyncTaskProperties) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigrateSqlServerSqlDbSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type MigrateSqlServerSqlDbTaskInput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
	ValidationOptions    *MigrationValidationOptions          `json:"validationOptions,omitempty"`
}

type MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutput interface {
	MigrateSqlServerSqlDbTaskOutput() BaseMigrateSqlServerSqlDbTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlDbTaskOutputImplementation(input []byte) (MigrateSqlServerSqlDbTaskOutput, error)

type MigrateSqlServerSqlDbTaskOutputDatabaseLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevel struct {
	DatabaseName             *string                                    `json:"databaseName,omitempty"`
	EndedOn                  *string                                    `json:"endedOn,omitempty"`
	ErrorCount               *int64                                     `json:"errorCount,omitempty"`
	ErrorPrefix              *string                                    `json:"errorPrefix,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException                     `json:"exceptionsAndWarnings,omitempty"`
	Message                  *string                                    `json:"message,omitempty"`
	NumberOfObjects          *int64                                     `json:"numberOfObjects,omitempty"`
	NumberOfObjectsCompleted *int64                                     `json:"numberOfObjectsCompleted,omitempty"`
	ObjectSummary            *map[string]DataItemMigrationSummaryResult `json:"objectSummary,omitempty"`
	ResultPrefix             *string                                    `json:"resultPrefix,omitempty"`
	Stage                    *DatabaseMigrationStage                    `json:"stage,omitempty"`
	StartedOn                *string                                    `json:"startedOn,omitempty"`
	State                    *MigrationState                            `json:"state,omitempty"`
	StatusMessage            *string                                    `json:"statusMessage,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult struct {
	DataIntegrityValidationResult *DataIntegrityValidationResult    `json:"dataIntegrityValidationResult,omitempty"`
	EndedOn                       *string                           `json:"endedOn,omitempty"`
	MigrationId                   *string                           `json:"migrationId,omitempty"`
	QueryAnalysisValidationResult *QueryAnalysisValidationResult    `json:"queryAnalysisValidationResult,omitempty"`
	SchemaValidationResult        *SchemaComparisonValidationResult `json:"schemaValidationResult,omitempty"`
	SourceDatabaseName            *string                           `json:"sourceDatabaseName,omitempty"`
	StartedOn                     *string                           `json:"startedOn,omitempty"`
	Status                        *ValidationStatus                 `json:"status,omitempty"`
	TargetDatabaseName            *string                           `json:"targetDatabaseName,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputError) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlDbTaskOutputError) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlDbTaskOutputError) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputMigrationLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputMigrationLevel struct {
	DatabaseSummary          *map[string]DatabaseSummaryResult `json:"databaseSummary,omitempty"`
	Databases                *map[string]string                `json:"databases,omitempty"`
	DurationInSeconds        *int64                            `json:"durationInSeconds,omitempty"`
	EndedOn                  *string                           `json:"endedOn,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException            `json:"exceptionsAndWarnings,omitempty"`
	Message                  *string                           `json:"message,omitempty"`
	MigrationReport          *MigrationReportResult            `json:"migrationReport,omitempty"`
	SourceServerBrandVersion *string                           `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                           `json:"sourceServerVersion,omitempty"`
	StartedOn                *string                           `json:"startedOn,omitempty"`
	Status                   *MigrationStatus                  `json:"status,omitempty"`
	StatusMessage            *string                           `json:"statusMessage,omitempty"`
	TargetServerBrandVersion *string                           `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                           `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputTableLevel added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputTableLevel struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	ObjectName          *string         `json:"objectName,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputTableLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputTableLevel) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputValidationResult added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputValidationResult struct {
	MigrationId    *string                                              `json:"migrationId,omitempty"`
	Status         *ValidationStatus                                    `json:"status,omitempty"`
	SummaryResults *map[string]MigrationValidationDatabaseSummaryResult `json:"summaryResults,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputValidationResult) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputValidationResult) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskProperties added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskProperties struct {
	Input  *MigrateSqlServerSqlDbTaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlDbTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlDbTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlDbTaskProperties) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlDbTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigrateSqlServerSqlDbTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type MigrateSqlServerSqlMIDatabaseInput added in v0.20241009.1142232

type MigrateSqlServerSqlMIDatabaseInput struct {
	BackupFilePaths     *[]string  `json:"backupFilePaths,omitempty"`
	BackupFileShare     *FileShare `json:"backupFileShare,omitempty"`
	Name                string     `json:"name"`
	RestoreDatabaseName string     `json:"restoreDatabaseName"`
}

type MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutput interface {
	MigrateSqlServerSqlMISyncTaskOutput() BaseMigrateSqlServerSqlMISyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMISyncTaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlMISyncTaskOutputImplementation(input []byte) (MigrateSqlServerSqlMISyncTaskOutput, error)

type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputError) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputError) MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskProperties added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskProperties struct {
	Input  *SqlServerSqlMISyncTaskInput           `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlMISyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlMISyncTaskProperties) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlMISyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigrateSqlServerSqlMISyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type MigrateSqlServerSqlMITaskInput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskInput struct {
	BackupBlobShare      BlobShare                            `json:"backupBlobShare"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	BackupMode           *BackupMode                          `json:"backupMode,omitempty"`
	SelectedAgentJobs    *[]string                            `json:"selectedAgentJobs,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SelectedLogins       *[]string                            `json:"selectedLogins,omitempty"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
}

type MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutput interface {
	MigrateSqlServerSqlMITaskOutput() BaseMigrateSqlServerSqlMITaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMITaskOutputImplementation added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlMITaskOutputImplementation(input []byte) (MigrateSqlServerSqlMITaskOutput, error)

type MigrateSqlServerSqlMITaskOutputAgentJobLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputDatabaseLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputError added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputError) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlMITaskOutputError) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlMITaskOutputError) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputLoginLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputMigrationLevel added in v0.20241009.1142232

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"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskProperties added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskProperties struct {
	Input  *MigrateSqlServerSqlMITaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlMITaskProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateSqlServerSqlMITaskProperties) MarshalJSON() ([]byte, error)

func (MigrateSqlServerSqlMITaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*MigrateSqlServerSqlMITaskProperties) UnmarshalJSON added in v0.20241009.1142232

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

type MigrateSyncCompleteCommandInput added in v0.20241009.1142232

type MigrateSyncCompleteCommandInput struct {
	CommitTimeStamp *string `json:"commitTimeStamp,omitempty"`
	DatabaseName    string  `json:"databaseName"`
}

func (*MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime added in v0.20241009.1142232

func (o *MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime() (*time.Time, error)

func (*MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime added in v0.20241009.1142232

func (o *MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime(input time.Time)

type MigrateSyncCompleteCommandOutput added in v0.20241009.1142232

type MigrateSyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
	Id     *string                `json:"id,omitempty"`
}

type MigrateSyncCompleteCommandProperties added in v0.20241009.1142232

type MigrateSyncCompleteCommandProperties struct {
	Input  *MigrateSyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateSyncCompleteCommandOutput `json:"output,omitempty"`

	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (MigrateSyncCompleteCommandProperties) CommandProperties added in v0.20241009.1142232

func (MigrateSyncCompleteCommandProperties) MarshalJSON added in v0.20241009.1142232

func (s MigrateSyncCompleteCommandProperties) MarshalJSON() ([]byte, error)

type MigrationEligibilityInfo added in v0.20241009.1142232

type MigrationEligibilityInfo struct {
	IsEligibleForMigration *bool     `json:"isEligibleForMigration,omitempty"`
	ValidationMessages     *[]string `json:"validationMessages,omitempty"`
}

type MigrationReportResult added in v0.20241009.1142232

type MigrationReportResult struct {
	Id        *string `json:"id,omitempty"`
	ReportURL *string `json:"reportUrl,omitempty"`
}

type MigrationState added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type MigrationStatus added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type MigrationValidationDatabaseSummaryResult added in v0.20241009.1142232

type MigrationValidationDatabaseSummaryResult struct {
	EndedOn            *string           `json:"endedOn,omitempty"`
	Id                 *string           `json:"id,omitempty"`
	MigrationId        *string           `json:"migrationId,omitempty"`
	SourceDatabaseName *string           `json:"sourceDatabaseName,omitempty"`
	StartedOn          *string           `json:"startedOn,omitempty"`
	Status             *ValidationStatus `json:"status,omitempty"`
	TargetDatabaseName *string           `json:"targetDatabaseName,omitempty"`
}

func (*MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime(input time.Time)

func (*MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime(input time.Time)

type MigrationValidationOptions added in v0.20241009.1142232

type MigrationValidationOptions struct {
	EnableDataIntegrityValidation *bool `json:"enableDataIntegrityValidation,omitempty"`
	EnableQueryAnalysisValidation *bool `json:"enableQueryAnalysisValidation,omitempty"`
	EnableSchemaValidation        *bool `json:"enableSchemaValidation,omitempty"`
}

type MySqlConnectionInfo added in v0.20241009.1142232

type MySqlConnectionInfo struct {
	Port       int64  `json:"port"`
	ServerName string `json:"serverName"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (MySqlConnectionInfo) ConnectionInfo added in v0.20241009.1142232

func (s MySqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MySqlConnectionInfo) MarshalJSON added in v0.20241009.1142232

func (s MySqlConnectionInfo) MarshalJSON() ([]byte, error)

type NameAvailabilityRequest

type NameAvailabilityRequest struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type NameAvailabilityResponse

type NameAvailabilityResponse struct {
	Message       *string                 `json:"message,omitempty"`
	NameAvailable *bool                   `json:"nameAvailable,omitempty"`
	Reason        *NameCheckFailureReason `json:"reason,omitempty"`
}

type NameCheckFailureReason

type NameCheckFailureReason string
const (
	NameCheckFailureReasonAlreadyExists NameCheckFailureReason = "AlreadyExists"
	NameCheckFailureReasonInvalid       NameCheckFailureReason = "Invalid"
)

func (*NameCheckFailureReason) UnmarshalJSON

func (s *NameCheckFailureReason) 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 ObjectType added in v0.20241009.1142232

type ObjectType string
const (
	ObjectTypeFunction         ObjectType = "Function"
	ObjectTypeStoredProcedures ObjectType = "StoredProcedures"
	ObjectTypeTable            ObjectType = "Table"
	ObjectTypeUser             ObjectType = "User"
	ObjectTypeView             ObjectType = "View"
)

func (*ObjectType) UnmarshalJSON added in v0.20241009.1142232

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

type OrphanedUserInfo added in v0.20241009.1142232

type OrphanedUserInfo struct {
	DatabaseName *string `json:"databaseName,omitempty"`
	Name         *string `json:"name,omitempty"`
}

type PostgreSqlConnectionInfo added in v0.20241009.1142232

type PostgreSqlConnectionInfo struct {
	DatabaseName *string `json:"databaseName,omitempty"`
	Port         int64   `json:"port"`
	ServerName   string  `json:"serverName"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (PostgreSqlConnectionInfo) ConnectionInfo added in v0.20241009.1142232

func (PostgreSqlConnectionInfo) MarshalJSON added in v0.20241009.1142232

func (s PostgreSqlConnectionInfo) MarshalJSON() ([]byte, error)

type ProjectTask

type ProjectTask struct {
	Etag       *string               `json:"etag,omitempty"`
	Id         *string               `json:"id,omitempty"`
	Name       *string               `json:"name,omitempty"`
	Properties ProjectTaskProperties `json:"properties"`
	Type       *string               `json:"type,omitempty"`
}

func (*ProjectTask) UnmarshalJSON added in v0.20241009.1142232

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

type ProjectTaskProperties

type ProjectTaskProperties interface {
	ProjectTaskProperties() BaseProjectTaskPropertiesImpl
}

func UnmarshalProjectTaskPropertiesImplementation added in v0.20241009.1142232

func UnmarshalProjectTaskPropertiesImplementation(input []byte) (ProjectTaskProperties, error)

type QueryAnalysisValidationResult added in v0.20241009.1142232

type QueryAnalysisValidationResult struct {
	QueryResults     *QueryExecutionResult `json:"queryResults,omitempty"`
	ValidationErrors *ValidationError      `json:"validationErrors,omitempty"`
}

type QueryExecutionResult added in v0.20241009.1142232

type QueryExecutionResult struct {
	QueryText         *string              `json:"queryText,omitempty"`
	SourceResult      *ExecutionStatistics `json:"sourceResult,omitempty"`
	StatementsInBatch *int64               `json:"statementsInBatch,omitempty"`
	TargetResult      *ExecutionStatistics `json:"targetResult,omitempty"`
}

type RawCommandPropertiesImpl added in v0.20241009.1142232

type RawCommandPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawCommandPropertiesImpl 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).

func (RawCommandPropertiesImpl) CommandProperties added in v0.20241009.1142232

type RawConnectToSourceSqlServerTaskOutputImpl added in v0.20241009.1142232

type RawConnectToSourceSqlServerTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawConnectToSourceSqlServerTaskOutputImpl 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).

func (RawConnectToSourceSqlServerTaskOutputImpl) ConnectToSourceSqlServerTaskOutput added in v0.20241009.1142232

type RawConnectionInfoImpl added in v0.20241009.1142232

type RawConnectionInfoImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawConnectionInfoImpl) ConnectionInfo added in v0.20241009.1142232

func (s RawConnectionInfoImpl) ConnectionInfo() BaseConnectionInfoImpl

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl added in v0.20241009.1142232

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl) MigrateMySqlAzureDbForMySqlSyncTaskOutput added in v0.20241009.1142232

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl added in v0.20241009.1142232

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbSyncTaskOutputImpl added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlDbSyncTaskOutputImpl 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).

func (RawMigrateSqlServerSqlDbSyncTaskOutputImpl) MigrateSqlServerSqlDbSyncTaskOutput added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbTaskOutputImpl added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlDbTaskOutputImpl 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).

func (RawMigrateSqlServerSqlDbTaskOutputImpl) MigrateSqlServerSqlDbTaskOutput added in v0.20241009.1142232

type RawMigrateSqlServerSqlMISyncTaskOutputImpl added in v0.20241009.1142232

type RawMigrateSqlServerSqlMISyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawMigrateSqlServerSqlMISyncTaskOutputImpl) MigrateSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type RawMigrateSqlServerSqlMITaskOutputImpl added in v0.20241009.1142232

type RawMigrateSqlServerSqlMITaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawMigrateSqlServerSqlMITaskOutputImpl) MigrateSqlServerSqlMITaskOutput added in v0.20241009.1142232

type RawProjectTaskPropertiesImpl added in v0.20241009.1142232

type RawProjectTaskPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawProjectTaskPropertiesImpl) ProjectTaskProperties added in v0.20241009.1142232

type ReportableException added in v0.20241009.1142232

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 SchemaComparisonValidationResult added in v0.20241009.1142232

type SchemaComparisonValidationResult struct {
	SchemaDifferences         *SchemaComparisonValidationResultType `json:"schemaDifferences,omitempty"`
	SourceDatabaseObjectCount *map[string]int64                     `json:"sourceDatabaseObjectCount,omitempty"`
	TargetDatabaseObjectCount *map[string]int64                     `json:"targetDatabaseObjectCount,omitempty"`
	ValidationErrors          *ValidationError                      `json:"validationErrors,omitempty"`
}

type SchemaComparisonValidationResultType added in v0.20241009.1142232

type SchemaComparisonValidationResultType struct {
	ObjectName   *string           `json:"objectName,omitempty"`
	ObjectType   *ObjectType       `json:"objectType,omitempty"`
	UpdateAction *UpdateActionType `json:"updateAction,omitempty"`
}

type SelectedCertificateInput added in v0.20241009.1142232

type SelectedCertificateInput struct {
	CertificateName string `json:"certificateName"`
	Password        string `json:"password"`
}

type ServerLevelPermissionsGroup added in v0.20241009.1142232

type ServerLevelPermissionsGroup string
const (
	ServerLevelPermissionsGroupDefault                             ServerLevelPermissionsGroup = "Default"
	ServerLevelPermissionsGroupMigrationFromMySQLToAzureDBForMySQL ServerLevelPermissionsGroup = "MigrationFromMySQLToAzureDBForMySQL"
	ServerLevelPermissionsGroupMigrationFromSqlServerToAzureDB     ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB"
	ServerLevelPermissionsGroupMigrationFromSqlServerToAzureMI     ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureMI"
)

func (*ServerLevelPermissionsGroup) UnmarshalJSON added in v0.20241009.1142232

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

type ServiceId

type ServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
}

ServiceId is a struct representing the Resource ID for a Service

func NewServiceID

func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId

NewServiceID returns a new ServiceId struct

func ParseServiceID

func ParseServiceID(input string) (*ServiceId, error)

ParseServiceID parses 'input' into a ServiceId

func ParseServiceIDInsensitively

func ParseServiceIDInsensitively(input string) (*ServiceId, error)

ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input

func (*ServiceId) FromParseResult

func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error

func (ServiceId) ID

func (id ServiceId) ID() string

ID returns the formatted Service ID

func (ServiceId) Segments

func (id ServiceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Service ID

func (ServiceId) String

func (id ServiceId) String() string

String returns a human-readable description of this Service ID

type ServicesCheckStatusOperationResponse

type ServicesCheckStatusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationServiceStatusResponse
}

type ServicesNestedCheckNameAvailabilityOperationResponse

type ServicesNestedCheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NameAvailabilityResponse
}

type ServicesStartOperationResponse

type ServicesStartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesStopOperationResponse

type ServicesStopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Severity added in v0.20241009.1142232

type Severity string
const (
	SeverityError   Severity = "Error"
	SeverityMessage Severity = "Message"
	SeverityWarning Severity = "Warning"
)

func (*Severity) UnmarshalJSON added in v0.20241009.1142232

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

type SqlConnectionInfo added in v0.20241009.1142232

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"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (SqlConnectionInfo) ConnectionInfo added in v0.20241009.1142232

func (s SqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (SqlConnectionInfo) MarshalJSON added in v0.20241009.1142232

func (s SqlConnectionInfo) MarshalJSON() ([]byte, error)

type SqlServerSqlMISyncTaskInput added in v0.20241009.1142232

type SqlServerSqlMISyncTaskInput struct {
	AzureApp             AzureActiveDirectoryApp              `json:"azureApp"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	StorageResourceId    string                               `json:"storageResourceId"`
	TargetConnectionInfo MiSqlConnectionInfo                  `json:"targetConnectionInfo"`
}

type SqlSourcePlatform added in v0.20241009.1142232

type SqlSourcePlatform string
const (
	SqlSourcePlatformSqlOnPrem SqlSourcePlatform = "SqlOnPrem"
)

func (*SqlSourcePlatform) UnmarshalJSON added in v0.20241009.1142232

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

type StartMigrationScenarioServerRoleResult added in v0.20241009.1142232

type StartMigrationScenarioServerRoleResult struct {
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`
}

type SyncDatabaseMigrationReportingState added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type SyncMigrationDatabaseErrorEvent added in v0.20241009.1142232

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

type SyncTableMigrationState added in v0.20241009.1142232

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 added in v0.20241009.1142232

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

type TaskId

type TaskId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
	TaskName          string
}

TaskId is a struct representing the Resource ID for a Task

func NewTaskID

func NewTaskID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, taskName string) TaskId

NewTaskID returns a new TaskId struct

func ParseTaskID

func ParseTaskID(input string) (*TaskId, error)

ParseTaskID parses 'input' into a TaskId

func ParseTaskIDInsensitively

func ParseTaskIDInsensitively(input string) (*TaskId, error)

ParseTaskIDInsensitively parses 'input' case-insensitively into a TaskId note: this method should only be used for API response data and not user input

func (*TaskId) FromParseResult

func (id *TaskId) FromParseResult(input resourceids.ParseResult) error

func (TaskId) ID

func (id TaskId) ID() string

ID returns the formatted Task ID

func (TaskId) Segments

func (id TaskId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Task ID

func (TaskId) String

func (id TaskId) String() string

String returns a human-readable description of this Task ID

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

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

type TasksCancelOperationResponse

type TasksCancelOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectTask
}

type UpdateActionType added in v0.20241009.1142232

type UpdateActionType string
const (
	UpdateActionTypeAddedOnTarget   UpdateActionType = "AddedOnTarget"
	UpdateActionTypeChangedOnTarget UpdateActionType = "ChangedOnTarget"
	UpdateActionTypeDeletedOnTarget UpdateActionType = "DeletedOnTarget"
)

func (*UpdateActionType) UnmarshalJSON added in v0.20241009.1142232

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

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties struct {
	Input  *ValidateSyncMigrationInputSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ValidateSyncMigrationInputSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskOutput added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskOutput struct {
	Id               *string                `json:"id,omitempty"`
	Name             *string                `json:"name,omitempty"`
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type ValidateMigrationInputSqlServerSqlMISyncTaskProperties added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskProperties struct {
	Input  *SqlServerSqlMISyncTaskInput                          `json:"input,omitempty"`
	Output *[]ValidateMigrationInputSqlServerSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) MarshalJSON added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlMISyncTaskProperties) UnmarshalJSON added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskInput added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskInput struct {
	BackupBlobShare      BlobShare                            `json:"backupBlobShare"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	BackupMode           *BackupMode                          `json:"backupMode,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SelectedLogins       *[]string                            `json:"selectedLogins,omitempty"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
}

type ValidateMigrationInputSqlServerSqlMITaskOutput added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskOutput struct {
	BackupFolderErrors           *[]ReportableException `json:"backupFolderErrors,omitempty"`
	BackupShareCredentialsErrors *[]ReportableException `json:"backupShareCredentialsErrors,omitempty"`
	BackupStorageAccountErrors   *[]ReportableException `json:"backupStorageAccountErrors,omitempty"`
	DatabaseBackupInfo           *DatabaseBackupInfo    `json:"databaseBackupInfo,omitempty"`
	ExistingBackupErrors         *[]ReportableException `json:"existingBackupErrors,omitempty"`
	Id                           *string                `json:"id,omitempty"`
	Name                         *string                `json:"name,omitempty"`
	RestoreDatabaseNameErrors    *[]ReportableException `json:"restoreDatabaseNameErrors,omitempty"`
}

type ValidateMigrationInputSqlServerSqlMITaskProperties added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskProperties struct {
	Input  *ValidateMigrationInputSqlServerSqlMITaskInput    `json:"input,omitempty"`
	Output *[]ValidateMigrationInputSqlServerSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlMITaskProperties) MarshalJSON added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlMITaskProperties) ProjectTaskProperties added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlMITaskProperties) UnmarshalJSON added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskInput added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                        `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                        `json:"targetConnectionInfo"`
}

type ValidateSyncMigrationInputSqlServerTaskOutput added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskOutput struct {
	Id               *string                `json:"id,omitempty"`
	Name             *string                `json:"name,omitempty"`
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type ValidationError added in v0.20241009.1142232

type ValidationError struct {
	Severity *Severity `json:"severity,omitempty"`
	Text     *string   `json:"text,omitempty"`
}

type ValidationStatus added in v0.20241009.1142232

type ValidationStatus string
const (
	ValidationStatusCompleted           ValidationStatus = "Completed"
	ValidationStatusCompletedWithIssues ValidationStatus = "CompletedWithIssues"
	ValidationStatusDefault             ValidationStatus = "Default"
	ValidationStatusFailed              ValidationStatus = "Failed"
	ValidationStatusInProgress          ValidationStatus = "InProgress"
	ValidationStatusInitialized         ValidationStatus = "Initialized"
	ValidationStatusNotStarted          ValidationStatus = "NotStarted"
	ValidationStatusStopped             ValidationStatus = "Stopped"
)

func (*ValidationStatus) UnmarshalJSON added in v0.20241009.1142232

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

type WaitStatistics added in v0.20241009.1142232

type WaitStatistics struct {
	WaitCount  *int64   `json:"waitCount,omitempty"`
	WaitTimeMs *float64 `json:"waitTimeMs,omitempty"`
	WaitType   *string  `json:"waitType,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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