connecttosourcesqlservertasks

package
v0.20240314.1083835 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := connecttosourcesqlservertasks.NewConnectToSourceSqlServerTasksClientWithBaseURI("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 PossibleValuesForDatabaseCompatLevel

func PossibleValuesForDatabaseCompatLevel() []string

func PossibleValuesForDatabaseFileType

func PossibleValuesForDatabaseFileType() []string

func PossibleValuesForDatabaseState

func PossibleValuesForDatabaseState() []string

func PossibleValuesForLoginType

func PossibleValuesForLoginType() []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 ConnectToSourceSqlServerTaskOutput

type ConnectToSourceSqlServerTaskOutput interface {
}

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

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

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

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

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

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

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

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

func (ConnectToSourceSqlServerTaskOutputTaskLevel) MarshalJSON

type ConnectToSourceSqlServerTasksClient

type ConnectToSourceSqlServerTasksClient struct {
	Client *resourcemanager.Client
}

func NewConnectToSourceSqlServerTasksClientWithBaseURI

func NewConnectToSourceSqlServerTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectToSourceSqlServerTasksClient, error)

type ConnectionInfo

type ConnectionInfo interface {
}

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

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

type RawConnectToSourceSqlServerTaskOutputImpl

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

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

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

Jump to

Keyboard shortcuts

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