migratesqlserversqlmitasks

package
v0.20240223.1130721 Latest Latest
Warning

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

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

README

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

The migratesqlserversqlmitasks 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/migratesqlserversqlmitasks"

Client Initialization

client := migratesqlserversqlmitasks.NewMigrateSqlServerSqlMITasksClientWithBaseURI("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 PossibleValuesForDatabaseMigrationStage

func PossibleValuesForDatabaseMigrationStage() []string

func PossibleValuesForLoginMigrationStage

func PossibleValuesForLoginMigrationStage() []string

func PossibleValuesForMigrationState

func PossibleValuesForMigrationState() []string

func PossibleValuesForMigrationStatus

func PossibleValuesForMigrationStatus() []string

func PossibleValuesForSqlSourcePlatform

func PossibleValuesForSqlSourcePlatform() []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 ConnectionInfo

type ConnectionInfo interface {
}

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 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 MigrateSqlServerSqlMITaskOutput

type MigrateSqlServerSqlMITaskOutput interface {
}

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

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

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON

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

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

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON

type MigrateSqlServerSqlMITaskOutputError

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

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

func (MigrateSqlServerSqlMITaskOutputError) MarshalJSON

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

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

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

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON

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

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

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON

type MigrateSqlServerSqlMITasksClient

type MigrateSqlServerSqlMITasksClient struct {
	Client *resourcemanager.Client
}

func NewMigrateSqlServerSqlMITasksClientWithBaseURI

func NewMigrateSqlServerSqlMITasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrateSqlServerSqlMITasksClient, error)

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 OrphanedUserInfo

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

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 RawMigrateSqlServerSqlMITaskOutputImpl

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

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

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

Jump to

Keyboard shortcuts

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