serviceresource

package
v0.20241126.2320 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: 15 Imported by: 0

README ¶

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

The serviceresource 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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/serviceresource"

Client Initialization

client := serviceresource.NewServiceResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ServiceResourceClient.ServicesCheckStatus

ctx := context.TODO()
id := serviceresource.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: ServiceResourceClient.ServicesCreateOrUpdate

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

payload := serviceresource.DataMigrationService{
	// ...
}


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

Example Usage: ServiceResourceClient.ServicesDelete

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

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

Example Usage: ServiceResourceClient.ServicesGet

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

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

Example Usage: ServiceResourceClient.ServicesList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ServicesList(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesListByResourceGroup

ctx := context.TODO()
id := serviceresource.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "resourceGroupName")

// alternatively `client.ServicesListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesListSkus

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

// alternatively `client.ServicesListSkus(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListSkusComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesStart

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

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

Example Usage: ServiceResourceClient.ServicesStop

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

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

Example Usage: ServiceResourceClient.ServicesUpdate

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

payload := serviceresource.DataMigrationService{
	// ...
}


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

Example Usage: ServiceResourceClient.TasksList

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

// alternatively `client.TasksList(ctx, id, serviceresource.DefaultTasksListOperationOptions())` can be used to do batched pagination
items, err := client.TasksListComplete(ctx, id, serviceresource.DefaultTasksListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func PossibleValuesForAuthenticationType ¶

func PossibleValuesForAuthenticationType() []string

func PossibleValuesForBackupFileStatus ¶

func PossibleValuesForBackupFileStatus() []string

func PossibleValuesForBackupMode ¶

func PossibleValuesForBackupMode() []string

func PossibleValuesForBackupType ¶

func PossibleValuesForBackupType() []string

func PossibleValuesForCommandState ¶

func PossibleValuesForCommandState() []string

func PossibleValuesForDatabaseCompatLevel ¶

func PossibleValuesForDatabaseCompatLevel() []string

func PossibleValuesForDatabaseFileType ¶

func PossibleValuesForDatabaseFileType() []string

func PossibleValuesForDatabaseMigrationStage ¶

func PossibleValuesForDatabaseMigrationStage() []string

func PossibleValuesForDatabaseMigrationState ¶

func PossibleValuesForDatabaseMigrationState() []string

func PossibleValuesForDatabaseState ¶

func PossibleValuesForDatabaseState() []string

func PossibleValuesForLoginMigrationStage ¶

func PossibleValuesForLoginMigrationStage() []string

func PossibleValuesForLoginType ¶

func PossibleValuesForLoginType() []string

func PossibleValuesForMigrationState ¶

func PossibleValuesForMigrationState() []string

func PossibleValuesForMigrationStatus ¶

func PossibleValuesForMigrationStatus() []string

func PossibleValuesForObjectType ¶

func PossibleValuesForObjectType() []string

func PossibleValuesForServerLevelPermissionsGroup ¶

func PossibleValuesForServerLevelPermissionsGroup() []string

func PossibleValuesForServiceProvisioningState ¶

func PossibleValuesForServiceProvisioningState() []string

func PossibleValuesForServiceScalability ¶

func PossibleValuesForServiceScalability() []string

func PossibleValuesForSeverity ¶

func PossibleValuesForSeverity() []string

func PossibleValuesForSqlSourcePlatform ¶

func PossibleValuesForSqlSourcePlatform() []string

func PossibleValuesForSyncDatabaseMigrationReportingState ¶

func PossibleValuesForSyncDatabaseMigrationReportingState() []string

func PossibleValuesForSyncTableMigrationState ¶

func PossibleValuesForSyncTableMigrationState() []string

func PossibleValuesForTaskState ¶

func PossibleValuesForTaskState() []string

func PossibleValuesForUpdateActionType ¶

func PossibleValuesForUpdateActionType() []string

func PossibleValuesForValidationStatus ¶

func PossibleValuesForValidationStatus() []string

func ValidateProjectID ¶

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

ValidateProjectID checks that 'input' can be parsed as a Project ID

func ValidateResourceGroupID ¶

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

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateServiceID ¶

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

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

Types ¶

type AuthenticationType ¶

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

func (*AuthenticationType) UnmarshalJSON ¶

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

type AvailableServiceSku ¶

type AvailableServiceSku struct {
	Capacity     *AvailableServiceSkuCapacity `json:"capacity,omitempty"`
	ResourceType *string                      `json:"resourceType,omitempty"`
	Sku          *AvailableServiceSkuSku      `json:"sku,omitempty"`
}

type AvailableServiceSkuCapacity ¶

type AvailableServiceSkuCapacity struct {
	Default   *int64              `json:"default,omitempty"`
	Maximum   *int64              `json:"maximum,omitempty"`
	Minimum   *int64              `json:"minimum,omitempty"`
	ScaleType *ServiceScalability `json:"scaleType,omitempty"`
}

type AvailableServiceSkuOperationPredicate ¶

type AvailableServiceSkuOperationPredicate struct {
	ResourceType *string
}

func (AvailableServiceSkuOperationPredicate) Matches ¶

type AvailableServiceSkuSku ¶

type AvailableServiceSkuSku struct {
	Family *string `json:"family,omitempty"`
	Name   *string `json:"name,omitempty"`
	Size   *string `json:"size,omitempty"`
	Tier   *string `json:"tier,omitempty"`
}

type AzureActiveDirectoryApp ¶

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

type BackupFileInfo ¶

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

type BackupFileStatus ¶

type BackupFileStatus string
const (
	BackupFileStatusArrived   BackupFileStatus = "Arrived"
	BackupFileStatusCancelled BackupFileStatus = "Cancelled"
	BackupFileStatusQueued    BackupFileStatus = "Queued"
	BackupFileStatusRestored  BackupFileStatus = "Restored"
	BackupFileStatusRestoring BackupFileStatus = "Restoring"
	BackupFileStatusUploaded  BackupFileStatus = "Uploaded"
	BackupFileStatusUploading BackupFileStatus = "Uploading"
)

func (*BackupFileStatus) UnmarshalJSON ¶

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

type BackupMode ¶

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

func (*BackupMode) UnmarshalJSON ¶

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

type BackupSetInfo ¶

type BackupSetInfo struct {
	BackupFinishedDate *string           `json:"backupFinishedDate,omitempty"`
	BackupSetId        *string           `json:"backupSetId,omitempty"`
	BackupStartDate    *string           `json:"backupStartDate,omitempty"`
	BackupType         *BackupType       `json:"backupType,omitempty"`
	DatabaseName       *string           `json:"databaseName,omitempty"`
	FirstLsn           *string           `json:"firstLsn,omitempty"`
	IsBackupRestored   *bool             `json:"isBackupRestored,omitempty"`
	LastLsn            *string           `json:"lastLsn,omitempty"`
	LastModifiedTime   *string           `json:"lastModifiedTime,omitempty"`
	ListOfBackupFiles  *[]BackupFileInfo `json:"listOfBackupFiles,omitempty"`
}

func (*BackupSetInfo) GetBackupFinishedDateAsTime ¶

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

func (*BackupSetInfo) GetBackupStartDateAsTime ¶

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

func (*BackupSetInfo) GetLastModifiedTimeAsTime ¶

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

func (*BackupSetInfo) SetBackupFinishedDateAsTime ¶

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

func (*BackupSetInfo) SetBackupStartDateAsTime ¶

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

func (*BackupSetInfo) SetLastModifiedTimeAsTime ¶

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

type BackupType ¶

type BackupType string
const (
	BackupTypeDatabase             BackupType = "Database"
	BackupTypeDifferentialDatabase BackupType = "DifferentialDatabase"
	BackupTypeDifferentialFile     BackupType = "DifferentialFile"
	BackupTypeDifferentialPartial  BackupType = "DifferentialPartial"
	BackupTypeFile                 BackupType = "File"
	BackupTypePartial              BackupType = "Partial"
	BackupTypeTransactionLog       BackupType = "TransactionLog"
)

func (*BackupType) UnmarshalJSON ¶

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

type BaseCommandPropertiesImpl ¶

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

func (BaseCommandPropertiesImpl) CommandProperties ¶

type BaseConnectToSourceSqlServerTaskOutputImpl ¶

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

func (BaseConnectToSourceSqlServerTaskOutputImpl) ConnectToSourceSqlServerTaskOutput ¶

type BaseConnectionInfoImpl ¶

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

func (BaseConnectionInfoImpl) ConnectionInfo ¶

type BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl ¶

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

func (BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl ¶

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

func (BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type BaseMigrateSqlServerSqlDbSyncTaskOutputImpl ¶

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

func (BaseMigrateSqlServerSqlDbSyncTaskOutputImpl) MigrateSqlServerSqlDbSyncTaskOutput ¶

type BaseMigrateSqlServerSqlDbTaskOutputImpl ¶

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

func (BaseMigrateSqlServerSqlDbTaskOutputImpl) MigrateSqlServerSqlDbTaskOutput ¶

type BaseMigrateSqlServerSqlMISyncTaskOutputImpl ¶

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

func (BaseMigrateSqlServerSqlMISyncTaskOutputImpl) MigrateSqlServerSqlMISyncTaskOutput ¶

type BaseMigrateSqlServerSqlMITaskOutputImpl ¶

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

func (BaseMigrateSqlServerSqlMITaskOutputImpl) MigrateSqlServerSqlMITaskOutput ¶

type BaseProjectTaskPropertiesImpl ¶

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 ¶

func (*BaseProjectTaskPropertiesImpl) UnmarshalJSON ¶

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

type BlobShare ¶

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

type CommandProperties ¶

type CommandProperties interface {
	CommandProperties() BaseCommandPropertiesImpl
}

func UnmarshalCommandPropertiesImplementation ¶

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 ¶

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

type ConnectToSourcePostgreSqlSyncTaskOutput ¶

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 ¶

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 ¶

func (ConnectToSourcePostgreSqlSyncTaskProperties) ProjectTaskProperties ¶

func (*ConnectToSourcePostgreSqlSyncTaskProperties) UnmarshalJSON ¶

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

type ConnectToSourceSqlServerSyncTaskProperties ¶

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 ¶

func (ConnectToSourceSqlServerSyncTaskProperties) ProjectTaskProperties ¶

func (*ConnectToSourceSqlServerSyncTaskProperties) UnmarshalJSON ¶

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

type ConnectToSourceSqlServerTaskInput ¶

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

type ConnectToSourceSqlServerTaskOutput ¶

type ConnectToSourceSqlServerTaskOutput interface {
	ConnectToSourceSqlServerTaskOutput() BaseConnectToSourceSqlServerTaskOutputImpl
}

func UnmarshalConnectToSourceSqlServerTaskOutputImplementation ¶

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

type ConnectToSourceSqlServerTaskOutputAgentJobLevel ¶

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 ¶

func (ConnectToSourceSqlServerTaskOutputAgentJobLevel) MarshalJSON ¶

type ConnectToSourceSqlServerTaskOutputDatabaseLevel ¶

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 ¶

func (ConnectToSourceSqlServerTaskOutputDatabaseLevel) MarshalJSON ¶

type ConnectToSourceSqlServerTaskOutputLoginLevel ¶

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 ¶

func (ConnectToSourceSqlServerTaskOutputLoginLevel) MarshalJSON ¶

type ConnectToSourceSqlServerTaskOutputTaskLevel ¶

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 ¶

func (ConnectToSourceSqlServerTaskOutputTaskLevel) MarshalJSON ¶

type ConnectToSourceSqlServerTaskProperties ¶

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 ¶

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

func (ConnectToSourceSqlServerTaskProperties) ProjectTaskProperties ¶

func (*ConnectToSourceSqlServerTaskProperties) UnmarshalJSON ¶

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

type ConnectToTargetAzureDbForMySqlTaskInput ¶

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

type ConnectToTargetAzureDbForMySqlTaskOutput ¶

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 ¶

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 ¶

func (ConnectToTargetAzureDbForMySqlTaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetAzureDbForMySqlTaskProperties) UnmarshalJSON ¶

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

type ConnectToTargetAzureDbForPostgreSqlSyncTaskInput ¶

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

type ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput ¶

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 ¶

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 ¶

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON ¶

type ConnectToTargetSqlDbTaskInput ¶

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

type ConnectToTargetSqlDbTaskOutput ¶

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 ¶

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 ¶

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

func (ConnectToTargetSqlDbTaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetSqlDbTaskProperties) UnmarshalJSON ¶

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

type ConnectToTargetSqlMISyncTaskInput ¶

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

type ConnectToTargetSqlMISyncTaskOutput ¶

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

type ConnectToTargetSqlMISyncTaskProperties ¶

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 ¶

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

func (ConnectToTargetSqlMISyncTaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetSqlMISyncTaskProperties) UnmarshalJSON ¶

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

type ConnectToTargetSqlMITaskInput ¶

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

type ConnectToTargetSqlMITaskOutput ¶

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 ¶

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 ¶

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

func (ConnectToTargetSqlMITaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetSqlMITaskProperties) UnmarshalJSON ¶

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

type ConnectToTargetSqlSqlDbSyncTaskInput ¶

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

type ConnectToTargetSqlSqlDbSyncTaskProperties ¶

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 ¶

func (ConnectToTargetSqlSqlDbSyncTaskProperties) ProjectTaskProperties ¶

func (*ConnectToTargetSqlSqlDbSyncTaskProperties) UnmarshalJSON ¶

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

type ConnectionInfo ¶

type ConnectionInfo interface {
	ConnectionInfo() BaseConnectionInfoImpl
}

func UnmarshalConnectionInfoImplementation ¶

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

type DataIntegrityValidationResult ¶

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

type DataItemMigrationSummaryResult ¶

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 ¶

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

func (*DataItemMigrationSummaryResult) GetStartedOnAsTime ¶

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

func (*DataItemMigrationSummaryResult) SetEndedOnAsTime ¶

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

func (*DataItemMigrationSummaryResult) SetStartedOnAsTime ¶

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

type DataMigrationService ¶

type DataMigrationService struct {
	Etag       *string                         `json:"etag,omitempty"`
	Id         *string                         `json:"id,omitempty"`
	Kind       *string                         `json:"kind,omitempty"`
	Location   string                          `json:"location"`
	Name       *string                         `json:"name,omitempty"`
	Properties *DataMigrationServiceProperties `json:"properties,omitempty"`
	Sku        *ServiceSku                     `json:"sku,omitempty"`
	Tags       *map[string]string              `json:"tags,omitempty"`
	Type       *string                         `json:"type,omitempty"`
}

type DataMigrationServiceOperationPredicate ¶

type DataMigrationServiceOperationPredicate struct {
	Etag     *string
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (DataMigrationServiceOperationPredicate) Matches ¶

type DataMigrationServiceProperties ¶

type DataMigrationServiceProperties struct {
	ProvisioningState *ServiceProvisioningState `json:"provisioningState,omitempty"`
	PublicKey         *string                   `json:"publicKey,omitempty"`
	VirtualSubnetId   string                    `json:"virtualSubnetId"`
}

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 ¶

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 ¶

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

func (*DatabaseBackupInfo) SetBackupFinishDateAsTime ¶

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

type DatabaseCompatLevel ¶

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 ¶

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

type DatabaseFileInfo ¶

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 ¶

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

func (*DatabaseFileType) UnmarshalJSON ¶

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

type DatabaseMigrationStage ¶

type DatabaseMigrationStage string
const (
	DatabaseMigrationStageBackup     DatabaseMigrationStage = "Backup"
	DatabaseMigrationStageCompleted  DatabaseMigrationStage = "Completed"
	DatabaseMigrationStageFileCopy   DatabaseMigrationStage = "FileCopy"
	DatabaseMigrationStageInitialize DatabaseMigrationStage = "Initialize"
	DatabaseMigrationStageNone       DatabaseMigrationStage = "None"
	DatabaseMigrationStageRestore    DatabaseMigrationStage = "Restore"
)

func (*DatabaseMigrationStage) UnmarshalJSON ¶

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

type DatabaseMigrationState ¶

type DatabaseMigrationState string
const (
	DatabaseMigrationStateCANCELLED             DatabaseMigrationState = "CANCELLED"
	DatabaseMigrationStateCOMPLETED             DatabaseMigrationState = "COMPLETED"
	DatabaseMigrationStateCUTOVERSTART          DatabaseMigrationState = "CUTOVER_START"
	DatabaseMigrationStateFAILED                DatabaseMigrationState = "FAILED"
	DatabaseMigrationStateFULLBACKUPUPLOADSTART DatabaseMigrationState = "FULL_BACKUP_UPLOAD_START"
	DatabaseMigrationStateINITIAL               DatabaseMigrationState = "INITIAL"
	DatabaseMigrationStateLOGSHIPPINGSTART      DatabaseMigrationState = "LOG_SHIPPING_START"
	DatabaseMigrationStatePOSTCUTOVERCOMPLETE   DatabaseMigrationState = "POST_CUTOVER_COMPLETE"
	DatabaseMigrationStateUNDEFINED             DatabaseMigrationState = "UNDEFINED"
	DatabaseMigrationStateUPLOADLOGFILESSTART   DatabaseMigrationState = "UPLOAD_LOG_FILES_START"
)

func (*DatabaseMigrationState) UnmarshalJSON ¶

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

type DatabaseState ¶

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 ¶

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

type DatabaseSummaryResult ¶

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 ¶

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

func (*DatabaseSummaryResult) GetStartedOnAsTime ¶

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

func (*DatabaseSummaryResult) SetEndedOnAsTime ¶

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

func (*DatabaseSummaryResult) SetStartedOnAsTime ¶

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

type DatabaseTable ¶

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

type ExecutionStatistics ¶

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 ¶

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

type GetTdeCertificatesSqlTaskInput ¶

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

type GetTdeCertificatesSqlTaskOutput ¶

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

type GetTdeCertificatesSqlTaskProperties ¶

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 ¶

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

func (GetTdeCertificatesSqlTaskProperties) ProjectTaskProperties ¶

func (*GetTdeCertificatesSqlTaskProperties) UnmarshalJSON ¶

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

type GetUserTablesSqlSyncTaskInput ¶

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

type GetUserTablesSqlSyncTaskOutput ¶

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 ¶

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 ¶

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

func (GetUserTablesSqlSyncTaskProperties) ProjectTaskProperties ¶

func (*GetUserTablesSqlSyncTaskProperties) UnmarshalJSON ¶

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

type GetUserTablesSqlTaskInput ¶

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

type GetUserTablesSqlTaskOutput ¶

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

type GetUserTablesSqlTaskProperties ¶

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 ¶

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

func (GetUserTablesSqlTaskProperties) ProjectTaskProperties ¶

func (*GetUserTablesSqlTaskProperties) UnmarshalJSON ¶

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

type LoginMigrationStage ¶

type LoginMigrationStage string
const (
	LoginMigrationStageAssignRoleMembership       LoginMigrationStage = "AssignRoleMembership"
	LoginMigrationStageAssignRoleOwnership        LoginMigrationStage = "AssignRoleOwnership"
	LoginMigrationStageCompleted                  LoginMigrationStage = "Completed"
	LoginMigrationStageEstablishObjectPermissions LoginMigrationStage = "EstablishObjectPermissions"
	LoginMigrationStageEstablishServerPermissions LoginMigrationStage = "EstablishServerPermissions"
	LoginMigrationStageEstablishUserMapping       LoginMigrationStage = "EstablishUserMapping"
	LoginMigrationStageInitialize                 LoginMigrationStage = "Initialize"
	LoginMigrationStageLoginMigration             LoginMigrationStage = "LoginMigration"
	LoginMigrationStageNone                       LoginMigrationStage = "None"
)

func (*LoginMigrationStage) UnmarshalJSON ¶

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

type LoginType ¶

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 ¶

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

type MiSqlConnectionInfo ¶

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

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

func (MiSqlConnectionInfo) ConnectionInfo ¶

func (s MiSqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MiSqlConnectionInfo) MarshalJSON ¶

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

type MigrateMISyncCompleteCommandInput ¶

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

type MigrateMISyncCompleteCommandOutput ¶

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

type MigrateMISyncCompleteCommandProperties ¶

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 ¶

func (MigrateMISyncCompleteCommandProperties) MarshalJSON ¶

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

type MigrateMySqlAzureDbForMySqlSyncDatabaseInput ¶

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 ¶

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

type MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutput interface {
	MigrateMySqlAzureDbForMySqlSyncTaskOutput() BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl
}

func UnmarshalMigrateMySqlAzureDbForMySqlSyncTaskOutputImplementation ¶

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

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError ¶

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 ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel struct {
	AppliedChanges          *int64                               `json:"appliedChanges,omitempty"`
	CdcDeleteCounter        *int64                               `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter        *int64                               `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter        *int64                               `json:"cdcUpdateCounter,omitempty"`
	DatabaseName            *string                              `json:"databaseName,omitempty"`
	EndedOn                 *string                              `json:"endedOn,omitempty"`
	FullLoadCompletedTables *int64                               `json:"fullLoadCompletedTables,omitempty"`
	FullLoadErroredTables   *int64                               `json:"fullLoadErroredTables,omitempty"`
	FullLoadLoadingTables   *int64                               `json:"fullLoadLoadingTables,omitempty"`
	FullLoadQueuedTables    *int64                               `json:"fullLoadQueuedTables,omitempty"`
	IncomingChanges         *int64                               `json:"incomingChanges,omitempty"`
	InitializationCompleted *bool                                `json:"initializationCompleted,omitempty"`
	Latency                 *int64                               `json:"latency,omitempty"`
	MigrationState          *SyncDatabaseMigrationReportingState `json:"migrationState,omitempty"`
	StartedOn               *string                              `json:"startedOn,omitempty"`

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

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MarshalJSON ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputError ¶

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

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

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MarshalJSON ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel ¶

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

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

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MarshalJSON ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel ¶

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel struct {
	CdcDeleteCounter      *string                  `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter      *string                  `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter      *string                  `json:"cdcUpdateCounter,omitempty"`
	DataErrorsCounter     *int64                   `json:"dataErrorsCounter,omitempty"`
	DatabaseName          *string                  `json:"databaseName,omitempty"`
	FullLoadEndedOn       *string                  `json:"fullLoadEndedOn,omitempty"`
	FullLoadEstFinishTime *string                  `json:"fullLoadEstFinishTime,omitempty"`
	FullLoadStartedOn     *string                  `json:"fullLoadStartedOn,omitempty"`
	FullLoadTotalRows     *int64                   `json:"fullLoadTotalRows,omitempty"`
	LastModifiedTime      *string                  `json:"lastModifiedTime,omitempty"`
	State                 *SyncTableMigrationState `json:"state,omitempty"`
	TableName             *string                  `json:"tableName,omitempty"`
	TotalChangesApplied   *int64                   `json:"totalChangesApplied,omitempty"`

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

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MarshalJSON ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶

type MigrateMySqlAzureDbForMySqlSyncTaskProperties ¶

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 ¶

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) ProjectTaskProperties ¶

func (*MigrateMySqlAzureDbForMySqlSyncTaskProperties) UnmarshalJSON ¶

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

type MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput ¶

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 ¶

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

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput interface {
	MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput() BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl
}

func UnmarshalMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImplementation ¶

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

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError ¶

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 ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel ¶

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 ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError ¶

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel ¶

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 ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel ¶

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 ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties ¶

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 ¶

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties ¶

func (*MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON ¶

type MigrateSqlServerSqlDbDatabaseInput ¶

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 ¶

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 ¶

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

type MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskOutput interface {
	MigrateSqlServerSqlDbSyncTaskOutput() BaseMigrateSqlServerSqlDbSyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbSyncTaskOutputImplementation ¶

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

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseError ¶

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 ¶

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseError) MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel ¶

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 ¶

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskOutputError ¶

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

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

func (MigrateSqlServerSqlDbSyncTaskOutputError) MarshalJSON ¶

func (MigrateSqlServerSqlDbSyncTaskOutputError) MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel ¶

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 ¶

func (MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskOutputTableLevel ¶

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 ¶

func (MigrateSqlServerSqlDbSyncTaskOutputTableLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶

type MigrateSqlServerSqlDbSyncTaskProperties ¶

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 ¶

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

func (MigrateSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties ¶

func (*MigrateSqlServerSqlDbSyncTaskProperties) UnmarshalJSON ¶

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

type MigrateSqlServerSqlDbTaskInput ¶

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

type MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutput interface {
	MigrateSqlServerSqlDbTaskOutput() BaseMigrateSqlServerSqlDbTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbTaskOutputImplementation ¶

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

type MigrateSqlServerSqlDbTaskOutputDatabaseLevel ¶

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 ¶

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult ¶

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 ¶

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutputError ¶

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

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

func (MigrateSqlServerSqlDbTaskOutputError) MarshalJSON ¶

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

func (MigrateSqlServerSqlDbTaskOutputError) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutputMigrationLevel ¶

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 ¶

func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutputTableLevel ¶

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 ¶

func (MigrateSqlServerSqlDbTaskOutputTableLevel) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskOutputValidationResult ¶

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 ¶

func (MigrateSqlServerSqlDbTaskOutputValidationResult) MigrateSqlServerSqlDbTaskOutput ¶

type MigrateSqlServerSqlDbTaskProperties ¶

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 ¶

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

func (MigrateSqlServerSqlDbTaskProperties) ProjectTaskProperties ¶

func (*MigrateSqlServerSqlDbTaskProperties) UnmarshalJSON ¶

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

type MigrateSqlServerSqlMIDatabaseInput ¶

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

type MigrateSqlServerSqlMISyncTaskOutput ¶

type MigrateSqlServerSqlMISyncTaskOutput interface {
	MigrateSqlServerSqlMISyncTaskOutput() BaseMigrateSqlServerSqlMISyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMISyncTaskOutputImplementation ¶

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

type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel ¶

type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel struct {
	ActiveBackupSets          *[]BackupSetInfo        `json:"activeBackupSets,omitempty"`
	ContainerName             *string                 `json:"containerName,omitempty"`
	EndedOn                   *string                 `json:"endedOn,omitempty"`
	ErrorPrefix               *string                 `json:"errorPrefix,omitempty"`
	ExceptionsAndWarnings     *[]ReportableException  `json:"exceptionsAndWarnings,omitempty"`
	FullBackupSetInfo         *BackupSetInfo          `json:"fullBackupSetInfo,omitempty"`
	IsFullBackupRestored      *bool                   `json:"isFullBackupRestored,omitempty"`
	LastRestoredBackupSetInfo *BackupSetInfo          `json:"lastRestoredBackupSetInfo,omitempty"`
	MigrationState            *DatabaseMigrationState `json:"migrationState,omitempty"`
	SourceDatabaseName        *string                 `json:"sourceDatabaseName,omitempty"`
	StartedOn                 *string                 `json:"startedOn,omitempty"`

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

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MigrateSqlServerSqlMISyncTaskOutput ¶

type MigrateSqlServerSqlMISyncTaskOutputError ¶

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

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

func (MigrateSqlServerSqlMISyncTaskOutputError) MarshalJSON ¶

func (MigrateSqlServerSqlMISyncTaskOutputError) MigrateSqlServerSqlMISyncTaskOutput ¶

type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel ¶

type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel struct {
	DatabaseCount            *int64          `json:"databaseCount,omitempty"`
	DatabaseErrorCount       *int64          `json:"databaseErrorCount,omitempty"`
	EndedOn                  *string         `json:"endedOn,omitempty"`
	SourceServerBrandVersion *string         `json:"sourceServerBrandVersion,omitempty"`
	SourceServerName         *string         `json:"sourceServerName,omitempty"`
	SourceServerVersion      *string         `json:"sourceServerVersion,omitempty"`
	StartedOn                *string         `json:"startedOn,omitempty"`
	State                    *MigrationState `json:"state,omitempty"`
	TargetServerBrandVersion *string         `json:"targetServerBrandVersion,omitempty"`
	TargetServerName         *string         `json:"targetServerName,omitempty"`
	TargetServerVersion      *string         `json:"targetServerVersion,omitempty"`

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

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MigrateSqlServerSqlMISyncTaskOutput ¶

type MigrateSqlServerSqlMISyncTaskProperties ¶

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 ¶

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

func (MigrateSqlServerSqlMISyncTaskProperties) ProjectTaskProperties ¶

func (*MigrateSqlServerSqlMISyncTaskProperties) UnmarshalJSON ¶

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

type MigrateSqlServerSqlMITaskInput ¶

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 ¶

type MigrateSqlServerSqlMITaskOutput interface {
	MigrateSqlServerSqlMITaskOutput() BaseMigrateSqlServerSqlMITaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMITaskOutputImplementation ¶

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

type MigrateSqlServerSqlMITaskOutputAgentJobLevel ¶

type MigrateSqlServerSqlMITaskOutputAgentJobLevel struct {
	EndedOn               *string                `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	IsEnabled             *bool                  `json:"isEnabled,omitempty"`
	Message               *string                `json:"message,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	StartedOn             *string                `json:"startedOn,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`

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

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MigrateSqlServerSqlMITaskOutput ¶

type MigrateSqlServerSqlMITaskOutputDatabaseLevel ¶

type MigrateSqlServerSqlMITaskOutputDatabaseLevel struct {
	DatabaseName          *string                 `json:"databaseName,omitempty"`
	EndedOn               *string                 `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException  `json:"exceptionsAndWarnings,omitempty"`
	Message               *string                 `json:"message,omitempty"`
	SizeMB                *float64                `json:"sizeMB,omitempty"`
	Stage                 *DatabaseMigrationStage `json:"stage,omitempty"`
	StartedOn             *string                 `json:"startedOn,omitempty"`
	State                 *MigrationState         `json:"state,omitempty"`

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

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MigrateSqlServerSqlMITaskOutput ¶

type MigrateSqlServerSqlMITaskOutputError ¶

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

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

func (MigrateSqlServerSqlMITaskOutputError) MarshalJSON ¶

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

func (MigrateSqlServerSqlMITaskOutputError) MigrateSqlServerSqlMITaskOutput ¶

type MigrateSqlServerSqlMITaskOutputLoginLevel ¶

type MigrateSqlServerSqlMITaskOutputLoginLevel struct {
	EndedOn               *string                `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	LoginName             *string                `json:"loginName,omitempty"`
	Message               *string                `json:"message,omitempty"`
	Stage                 *LoginMigrationStage   `json:"stage,omitempty"`
	StartedOn             *string                `json:"startedOn,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`

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

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MigrateSqlServerSqlMITaskOutput ¶

type MigrateSqlServerSqlMITaskOutputMigrationLevel ¶

type MigrateSqlServerSqlMITaskOutputMigrationLevel struct {
	AgentJobs                *map[string]string                                 `json:"agentJobs,omitempty"`
	Databases                *map[string]string                                 `json:"databases,omitempty"`
	EndedOn                  *string                                            `json:"endedOn,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException                             `json:"exceptionsAndWarnings,omitempty"`
	Logins                   *map[string]string                                 `json:"logins,omitempty"`
	Message                  *string                                            `json:"message,omitempty"`
	OrphanedUsersInfo        *[]OrphanedUserInfo                                `json:"orphanedUsersInfo,omitempty"`
	ServerRoleResults        *map[string]StartMigrationScenarioServerRoleResult `json:"serverRoleResults,omitempty"`
	SourceServerBrandVersion *string                                            `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                                            `json:"sourceServerVersion,omitempty"`
	StartedOn                *string                                            `json:"startedOn,omitempty"`
	State                    *MigrationState                                    `json:"state,omitempty"`
	Status                   *MigrationStatus                                   `json:"status,omitempty"`
	TargetServerBrandVersion *string                                            `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                                            `json:"targetServerVersion,omitempty"`

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

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON ¶

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MigrateSqlServerSqlMITaskOutput ¶

type MigrateSqlServerSqlMITaskProperties ¶

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 ¶

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

func (MigrateSqlServerSqlMITaskProperties) ProjectTaskProperties ¶

func (*MigrateSqlServerSqlMITaskProperties) UnmarshalJSON ¶

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

type MigrateSyncCompleteCommandInput ¶

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

func (*MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime ¶

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

func (*MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime ¶

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

type MigrateSyncCompleteCommandOutput ¶

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

type MigrateSyncCompleteCommandProperties ¶

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 ¶

func (MigrateSyncCompleteCommandProperties) MarshalJSON ¶

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

type MigrationEligibilityInfo ¶

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

type MigrationReportResult ¶

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

type MigrationState ¶

type MigrationState string
const (
	MigrationStateCompleted  MigrationState = "Completed"
	MigrationStateFailed     MigrationState = "Failed"
	MigrationStateInProgress MigrationState = "InProgress"
	MigrationStateNone       MigrationState = "None"
	MigrationStateSkipped    MigrationState = "Skipped"
	MigrationStateStopped    MigrationState = "Stopped"
	MigrationStateWarning    MigrationState = "Warning"
)

func (*MigrationState) UnmarshalJSON ¶

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

type MigrationStatus ¶

type MigrationStatus string
const (
	MigrationStatusCompleted               MigrationStatus = "Completed"
	MigrationStatusCompletedWithWarnings   MigrationStatus = "CompletedWithWarnings"
	MigrationStatusConfigured              MigrationStatus = "Configured"
	MigrationStatusConnecting              MigrationStatus = "Connecting"
	MigrationStatusDefault                 MigrationStatus = "Default"
	MigrationStatusError                   MigrationStatus = "Error"
	MigrationStatusRunning                 MigrationStatus = "Running"
	MigrationStatusSelectLogins            MigrationStatus = "SelectLogins"
	MigrationStatusSourceAndTargetSelected MigrationStatus = "SourceAndTargetSelected"
	MigrationStatusStopped                 MigrationStatus = "Stopped"
)

func (*MigrationStatus) UnmarshalJSON ¶

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

type MigrationValidationDatabaseSummaryResult ¶

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 ¶

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

func (*MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime ¶

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

func (*MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime ¶

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

func (*MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime ¶

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

type MigrationValidationOptions ¶

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

type MySqlConnectionInfo ¶

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 ¶

func (s MySqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MySqlConnectionInfo) MarshalJSON ¶

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

type ODataError ¶

type ODataError struct {
	Code    *string       `json:"code,omitempty"`
	Details *[]ODataError `json:"details,omitempty"`
	Message *string       `json:"message,omitempty"`
}

type ObjectType ¶

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

func (*ObjectType) UnmarshalJSON ¶

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

type OrphanedUserInfo ¶

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

type PostgreSqlConnectionInfo ¶

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 ¶

func (PostgreSqlConnectionInfo) MarshalJSON ¶

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

type ProjectId ¶

type ProjectId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
}

ProjectId is a struct representing the Resource ID for a Project

func NewProjectID ¶

func NewProjectID(subscriptionId string, resourceGroupName string, serviceName string, projectName string) ProjectId

NewProjectID returns a new ProjectId struct

func ParseProjectID ¶

func ParseProjectID(input string) (*ProjectId, error)

ParseProjectID parses 'input' into a ProjectId

func ParseProjectIDInsensitively ¶

func ParseProjectIDInsensitively(input string) (*ProjectId, error)

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

func (*ProjectId) FromParseResult ¶

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

func (ProjectId) ID ¶

func (id ProjectId) ID() string

ID returns the formatted Project ID

func (ProjectId) Segments ¶

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

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

func (ProjectId) String ¶

func (id ProjectId) String() string

String returns a human-readable description of this Project ID

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 ¶

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

type ProjectTaskOperationPredicate ¶

type ProjectTaskOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ProjectTaskOperationPredicate) Matches ¶

type ProjectTaskProperties ¶

type ProjectTaskProperties interface {
	ProjectTaskProperties() BaseProjectTaskPropertiesImpl
}

func UnmarshalProjectTaskPropertiesImplementation ¶

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

type QueryAnalysisValidationResult ¶

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

type QueryExecutionResult ¶

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 ¶

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 ¶

type RawConnectToSourceSqlServerTaskOutputImpl ¶

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 ¶

type RawConnectionInfoImpl ¶

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 ¶

func (s RawConnectionInfoImpl) ConnectionInfo() BaseConnectionInfoImpl

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl ¶

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 ¶

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl ¶

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 ¶

type RawMigrateSqlServerSqlDbSyncTaskOutputImpl ¶

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 ¶

type RawMigrateSqlServerSqlDbTaskOutputImpl ¶

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 ¶

type RawMigrateSqlServerSqlMISyncTaskOutputImpl ¶

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 ¶

type RawMigrateSqlServerSqlMITaskOutputImpl ¶

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 ¶

type RawProjectTaskPropertiesImpl ¶

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 ¶

type ReportableException ¶

type ReportableException struct {
	ActionableMessage *string `json:"actionableMessage,omitempty"`
	FilePath          *string `json:"filePath,omitempty"`
	HResult           *int64  `json:"hResult,omitempty"`
	LineNumber        *string `json:"lineNumber,omitempty"`
	Message           *string `json:"message,omitempty"`
	StackTrace        *string `json:"stackTrace,omitempty"`
}

type ResourceGroupId ¶

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID ¶

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID ¶

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively ¶

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

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

func (*ResourceGroupId) FromParseResult ¶

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

func (ResourceGroupId) ID ¶

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments ¶

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

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

func (ResourceGroupId) String ¶

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type SchemaComparisonValidationResult ¶

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 ¶

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

type SelectedCertificateInput ¶

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

type ServerLevelPermissionsGroup ¶

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

func (*ServerLevelPermissionsGroup) UnmarshalJSON ¶

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

type 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 ServiceProvisioningState ¶

type ServiceProvisioningState string
const (
	ServiceProvisioningStateAccepted      ServiceProvisioningState = "Accepted"
	ServiceProvisioningStateDeleting      ServiceProvisioningState = "Deleting"
	ServiceProvisioningStateDeploying     ServiceProvisioningState = "Deploying"
	ServiceProvisioningStateFailed        ServiceProvisioningState = "Failed"
	ServiceProvisioningStateFailedToStart ServiceProvisioningState = "FailedToStart"
	ServiceProvisioningStateFailedToStop  ServiceProvisioningState = "FailedToStop"
	ServiceProvisioningStateStarting      ServiceProvisioningState = "Starting"
	ServiceProvisioningStateStopped       ServiceProvisioningState = "Stopped"
	ServiceProvisioningStateStopping      ServiceProvisioningState = "Stopping"
	ServiceProvisioningStateSucceeded     ServiceProvisioningState = "Succeeded"
)

func (*ServiceProvisioningState) UnmarshalJSON ¶

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

type ServiceResourceClient ¶

type ServiceResourceClient struct {
	Client *resourcemanager.Client
}

func NewServiceResourceClientWithBaseURI ¶

func NewServiceResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceResourceClient, error)

func (ServiceResourceClient) ServicesCheckStatus ¶

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

ServicesCheckStatus ...

func (ServiceResourceClient) ServicesCreateOrUpdate ¶

ServicesCreateOrUpdate ...

func (ServiceResourceClient) ServicesCreateOrUpdateThenPoll ¶

func (c ServiceResourceClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesCreateOrUpdateThenPoll performs ServicesCreateOrUpdate then polls until it's completed

func (ServiceResourceClient) ServicesDelete ¶

ServicesDelete ...

func (ServiceResourceClient) ServicesDeleteThenPoll ¶

func (c ServiceResourceClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error

ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed

func (ServiceResourceClient) ServicesGet ¶

ServicesGet ...

func (ServiceResourceClient) ServicesList ¶

ServicesList ...

func (ServiceResourceClient) ServicesListByResourceGroup ¶

func (c ServiceResourceClient) ServicesListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ServicesListByResourceGroupOperationResponse, err error)

ServicesListByResourceGroup ...

func (ServiceResourceClient) ServicesListByResourceGroupComplete ¶

func (c ServiceResourceClient) ServicesListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ServicesListByResourceGroupCompleteResult, error)

ServicesListByResourceGroupComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListByResourceGroupCompleteMatchingPredicate ¶

func (c ServiceResourceClient) ServicesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DataMigrationServiceOperationPredicate) (result ServicesListByResourceGroupCompleteResult, err error)

ServicesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesListComplete ¶

ServicesListComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListCompleteMatchingPredicate ¶

func (c ServiceResourceClient) ServicesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataMigrationServiceOperationPredicate) (result ServicesListCompleteResult, err error)

ServicesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesListSkus ¶

func (c ServiceResourceClient) ServicesListSkus(ctx context.Context, id ServiceId) (result ServicesListSkusOperationResponse, err error)

ServicesListSkus ...

func (ServiceResourceClient) ServicesListSkusComplete ¶

func (c ServiceResourceClient) ServicesListSkusComplete(ctx context.Context, id ServiceId) (ServicesListSkusCompleteResult, error)

ServicesListSkusComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListSkusCompleteMatchingPredicate ¶

func (c ServiceResourceClient) ServicesListSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate AvailableServiceSkuOperationPredicate) (result ServicesListSkusCompleteResult, err error)

ServicesListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesStart ¶

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

ServicesStart ...

func (ServiceResourceClient) ServicesStartThenPoll ¶

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

ServicesStartThenPoll performs ServicesStart then polls until it's completed

func (ServiceResourceClient) ServicesStop ¶

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

ServicesStop ...

func (ServiceResourceClient) ServicesStopThenPoll ¶

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

ServicesStopThenPoll performs ServicesStop then polls until it's completed

func (ServiceResourceClient) ServicesUpdate ¶

ServicesUpdate ...

func (ServiceResourceClient) ServicesUpdateThenPoll ¶

func (c ServiceResourceClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesUpdateThenPoll performs ServicesUpdate then polls until it's completed

func (ServiceResourceClient) TasksList ¶

TasksList ...

func (ServiceResourceClient) TasksListComplete ¶

TasksListComplete retrieves all the results into a single object

func (ServiceResourceClient) TasksListCompleteMatchingPredicate ¶

func (c ServiceResourceClient) TasksListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options TasksListOperationOptions, predicate ProjectTaskOperationPredicate) (result TasksListCompleteResult, err error)

TasksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ServiceScalability ¶

type ServiceScalability string
const (
	ServiceScalabilityAutomatic ServiceScalability = "automatic"
	ServiceScalabilityManual    ServiceScalability = "manual"
	ServiceScalabilityNone      ServiceScalability = "none"
)

func (*ServiceScalability) UnmarshalJSON ¶

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

type ServiceSku ¶

type ServiceSku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Name     *string `json:"name,omitempty"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type ServicesCheckStatusOperationResponse ¶

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

type ServicesCreateOrUpdateOperationResponse ¶

type ServicesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type ServicesDeleteOperationOptions ¶

type ServicesDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultServicesDeleteOperationOptions ¶

func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions

func (ServicesDeleteOperationOptions) ToHeaders ¶

func (ServicesDeleteOperationOptions) ToOData ¶

func (ServicesDeleteOperationOptions) ToQuery ¶

type ServicesDeleteOperationResponse ¶

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

type ServicesGetOperationResponse ¶

type ServicesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type ServicesListByResourceGroupCompleteResult ¶

type ServicesListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataMigrationService
}

type ServicesListByResourceGroupCustomPager ¶

type ServicesListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ServicesListByResourceGroupOperationResponse ¶

type ServicesListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListCompleteResult ¶

type ServicesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataMigrationService
}

type ServicesListCustomPager ¶

type ServicesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ServicesListCustomPager) NextPageLink() *odata.Link

type ServicesListOperationResponse ¶

type ServicesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListSkusCompleteResult ¶

type ServicesListSkusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AvailableServiceSku
}

type ServicesListSkusCustomPager ¶

type ServicesListSkusCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ServicesListSkusCustomPager) NextPageLink() *odata.Link

type ServicesListSkusOperationResponse ¶

type ServicesListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AvailableServiceSku
}

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 ServicesUpdateOperationResponse ¶

type ServicesUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type Severity ¶

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

func (*Severity) UnmarshalJSON ¶

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

type SqlConnectionInfo ¶

type SqlConnectionInfo struct {
	AdditionalSettings     *string             `json:"additionalSettings,omitempty"`
	Authentication         *AuthenticationType `json:"authentication,omitempty"`
	DataSource             string              `json:"dataSource"`
	EncryptConnection      *bool               `json:"encryptConnection,omitempty"`
	Platform               *SqlSourcePlatform  `json:"platform,omitempty"`
	TrustServerCertificate *bool               `json:"trustServerCertificate,omitempty"`

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

func (SqlConnectionInfo) ConnectionInfo ¶

func (s SqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (SqlConnectionInfo) MarshalJSON ¶

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

type SqlServerSqlMISyncTaskInput ¶

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 ¶

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

func (*SqlSourcePlatform) UnmarshalJSON ¶

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

type StartMigrationScenarioServerRoleResult ¶

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

type SyncDatabaseMigrationReportingState ¶

type SyncDatabaseMigrationReportingState string
const (
	SyncDatabaseMigrationReportingStateCANCELLED       SyncDatabaseMigrationReportingState = "CANCELLED"
	SyncDatabaseMigrationReportingStateCANCELLING      SyncDatabaseMigrationReportingState = "CANCELLING"
	SyncDatabaseMigrationReportingStateCOMPLETE        SyncDatabaseMigrationReportingState = "COMPLETE"
	SyncDatabaseMigrationReportingStateCOMPLETING      SyncDatabaseMigrationReportingState = "COMPLETING"
	SyncDatabaseMigrationReportingStateCONFIGURING     SyncDatabaseMigrationReportingState = "CONFIGURING"
	SyncDatabaseMigrationReportingStateFAILED          SyncDatabaseMigrationReportingState = "FAILED"
	SyncDatabaseMigrationReportingStateINITIALIAZING   SyncDatabaseMigrationReportingState = "INITIALIAZING"
	SyncDatabaseMigrationReportingStateREADYTOCOMPLETE SyncDatabaseMigrationReportingState = "READY_TO_COMPLETE"
	SyncDatabaseMigrationReportingStateRUNNING         SyncDatabaseMigrationReportingState = "RUNNING"
	SyncDatabaseMigrationReportingStateSTARTING        SyncDatabaseMigrationReportingState = "STARTING"
	SyncDatabaseMigrationReportingStateUNDEFINED       SyncDatabaseMigrationReportingState = "UNDEFINED"
)

func (*SyncDatabaseMigrationReportingState) UnmarshalJSON ¶

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

type SyncMigrationDatabaseErrorEvent ¶

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

type SyncTableMigrationState ¶

type SyncTableMigrationState string
const (
	SyncTableMigrationStateBEFORELOAD SyncTableMigrationState = "BEFORE_LOAD"
	SyncTableMigrationStateCANCELED   SyncTableMigrationState = "CANCELED"
	SyncTableMigrationStateCOMPLETED  SyncTableMigrationState = "COMPLETED"
	SyncTableMigrationStateERROR      SyncTableMigrationState = "ERROR"
	SyncTableMigrationStateFAILED     SyncTableMigrationState = "FAILED"
	SyncTableMigrationStateFULLLOAD   SyncTableMigrationState = "FULL_LOAD"
)

func (*SyncTableMigrationState) UnmarshalJSON ¶

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

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 TasksListCompleteResult ¶

type TasksListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ProjectTask
}

type TasksListCustomPager ¶

type TasksListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *TasksListCustomPager) NextPageLink() *odata.Link

type TasksListOperationOptions ¶

type TasksListOperationOptions struct {
	TaskType *string
}

func DefaultTasksListOperationOptions ¶

func DefaultTasksListOperationOptions() TasksListOperationOptions

func (TasksListOperationOptions) ToHeaders ¶

func (o TasksListOperationOptions) ToHeaders() *client.Headers

func (TasksListOperationOptions) ToOData ¶

func (o TasksListOperationOptions) ToOData() *odata.Query

func (TasksListOperationOptions) ToQuery ¶

type TasksListOperationResponse ¶

type TasksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProjectTask
}

type UpdateActionType ¶

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

func (*UpdateActionType) UnmarshalJSON ¶

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

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties ¶

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 ¶

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties ¶

func (*ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) UnmarshalJSON ¶

type ValidateMigrationInputSqlServerSqlMISyncTaskOutput ¶

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

type ValidateMigrationInputSqlServerSqlMISyncTaskProperties ¶

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 ¶

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) ProjectTaskProperties ¶

func (*ValidateMigrationInputSqlServerSqlMISyncTaskProperties) UnmarshalJSON ¶

type ValidateMigrationInputSqlServerSqlMITaskInput ¶

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 ¶

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 ¶

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 ¶

func (ValidateMigrationInputSqlServerSqlMITaskProperties) ProjectTaskProperties ¶

func (*ValidateMigrationInputSqlServerSqlMITaskProperties) UnmarshalJSON ¶

type ValidateSyncMigrationInputSqlServerTaskInput ¶

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

type ValidateSyncMigrationInputSqlServerTaskOutput ¶

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

type ValidationError ¶

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

type ValidationStatus ¶

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 ¶

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

type WaitStatistics ¶

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