tasks

package
v0.20240621.1124930 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

README

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

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

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

Import Path

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

Client Initialization

client := tasks.NewTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAuthenticationType

func PossibleValuesForAuthenticationType() []string

func PossibleValuesForBackupMode

func PossibleValuesForBackupMode() []string

func PossibleValuesForBackupType

func PossibleValuesForBackupType() []string

func PossibleValuesForCommandState

func PossibleValuesForCommandState() []string

func PossibleValuesForServerLevelPermissionsGroup

func PossibleValuesForServerLevelPermissionsGroup() []string

func PossibleValuesForSqlSourcePlatform

func PossibleValuesForSqlSourcePlatform() []string

func PossibleValuesForTaskState

func PossibleValuesForTaskState() []string

Types

type AuthenticationType

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

func (*AuthenticationType) UnmarshalJSON

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

type AzureActiveDirectoryApp

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

type BackupMode

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

func (*BackupMode) UnmarshalJSON

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

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 BlobShare

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

type CommandProperties

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

type CommandState

type CommandState string
const (
	CommandStateAccepted  CommandState = "Accepted"
	CommandStateFailed    CommandState = "Failed"
	CommandStateRunning   CommandState = "Running"
	CommandStateSucceeded CommandState = "Succeeded"
	CommandStateUnknown   CommandState = "Unknown"
)

func (*CommandState) UnmarshalJSON

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

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToSourcePostgreSqlSyncTaskProperties) MarshalJSON

type ConnectToSourceSqlServerSyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToSourceSqlServerSyncTaskProperties) MarshalJSON

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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

type ConnectToSourceSqlServerTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToSourceSqlServerTaskProperties) MarshalJSON

func (s ConnectToSourceSqlServerTaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetAzureDbForMySqlTaskProperties) MarshalJSON

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetSqlDbTaskProperties) MarshalJSON

func (s ConnectToTargetSqlDbTaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetSqlMISyncTaskProperties) MarshalJSON

func (s ConnectToTargetSqlMISyncTaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetSqlMITaskProperties) MarshalJSON

func (s ConnectToTargetSqlMITaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ConnectToTargetSqlSqlDbSyncTaskProperties) MarshalJSON

type ConnectionInfo

type ConnectionInfo interface {
}

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 DatabaseTable

type DatabaseTable struct {
	HasRows *bool   `json:"hasRows,omitempty"`
	Name    *string `json:"name,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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (GetTdeCertificatesSqlTaskProperties) MarshalJSON

func (s GetTdeCertificatesSqlTaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (GetUserTablesSqlSyncTaskProperties) MarshalJSON

func (s GetUserTablesSqlSyncTaskProperties) MarshalJSON() ([]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"`

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (GetUserTablesSqlTaskProperties) MarshalJSON

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

type MiSqlConnectionInfo

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

	// Fields inherited from ConnectionInfo
	Password *string `json:"password,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

func (MiSqlConnectionInfo) MarshalJSON

func (s MiSqlConnectionInfo) 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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

type MigrateMySqlAzureDbForMySqlSyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) MarshalJSON

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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON

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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

type MigrateSqlServerSqlDbSyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskProperties) MarshalJSON

func (s MigrateSqlServerSqlDbSyncTaskProperties) MarshalJSON() ([]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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

type MigrateSqlServerSqlDbTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigrateSqlServerSqlDbTaskProperties) MarshalJSON

func (s MigrateSqlServerSqlDbTaskProperties) MarshalJSON() ([]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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

type MigrateSqlServerSqlMISyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskProperties) MarshalJSON

func (s MigrateSqlServerSqlMISyncTaskProperties) MarshalJSON() ([]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 struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

type MigrateSqlServerSqlMITaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (MigrateSqlServerSqlMITaskProperties) MarshalJSON

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

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

	// Fields inherited from ConnectionInfo
	Password *string `json:"password,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

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 PostgreSqlConnectionInfo

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

	// Fields inherited from ConnectionInfo
	Password *string `json:"password,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

func (PostgreSqlConnectionInfo) MarshalJSON

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

type ProjectTaskProperties

type ProjectTaskProperties interface {
}

type RawConnectionInfoImpl

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

RawConnectionInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawProjectTaskPropertiesImpl

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

RawProjectTaskPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type ReportableException

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

type 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 SqlConnectionInfo

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

	// Fields inherited from ConnectionInfo
	Password *string `json:"password,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

func (SqlConnectionInfo) MarshalJSON

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

type 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 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 TasksClient

type TasksClient struct {
	Client *resourcemanager.Client
}

func NewTasksClientWithBaseURI

func NewTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*TasksClient, error)

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) MarshalJSON

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) MarshalJSON

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

	// Fields inherited from ProjectTaskProperties
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
}

func (ValidateMigrationInputSqlServerSqlMITaskProperties) MarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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