Documentation ¶
Overview ¶
Package datamigration implements the Azure ARM Datamigration service API version 2018-04-19.
Data Migration Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIError
- type AuthenticationType
- type AvailableServiceSku
- type AvailableServiceSkuCapacity
- type AvailableServiceSkuSku
- type BaseClient
- type BasicConnectToSourceSQLServerTaskOutput
- type BasicConnectionInfo
- type BasicMigrateSQLServerSQLDbTaskOutput
- type BasicProjectTaskProperties
- type BlobShare
- type ConnectToSourceSQLServerTaskInput
- type ConnectToSourceSQLServerTaskOutput
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
- func (ctsssto ConnectToSourceSQLServerTaskOutput) MarshalJSON() ([]byte, error)
- type ConnectToSourceSQLServerTaskOutputAgentJobLevel
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
- func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) MarshalJSON() ([]byte, error)
- type ConnectToSourceSQLServerTaskOutputDatabaseLevel
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
- func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
- type ConnectToSourceSQLServerTaskOutputLoginLevel
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
- func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) MarshalJSON() ([]byte, error)
- type ConnectToSourceSQLServerTaskOutputTaskLevel
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
- func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON() ([]byte, error)
- type ConnectToSourceSQLServerTaskProperties
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
- func (ctssstp ConnectToSourceSQLServerTaskProperties) MarshalJSON() ([]byte, error)
- func (ctssstp *ConnectToSourceSQLServerTaskProperties) UnmarshalJSON(body []byte) error
- type ConnectToTargetSQLDbTaskInput
- type ConnectToTargetSQLDbTaskOutput
- type ConnectToTargetSQLDbTaskProperties
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
- func (cttsdtp ConnectToTargetSQLDbTaskProperties) MarshalJSON() ([]byte, error)
- type ConnectionInfo
- type DataIntegrityValidationResult
- type DataItemMigrationSummaryResult
- type Database
- type DatabaseCompatLevel
- type DatabaseFileInfo
- type DatabaseFileInput
- type DatabaseFileType
- type DatabaseInfo
- type DatabaseMigrationStage
- type DatabaseObjectName
- type DatabaseState
- type DatabaseSummaryResult
- type DatabaseTable
- type Error
- type ErrorType
- type ExecutionStatistics
- type FileShare
- type GetUserTablesSQLTaskInput
- type GetUserTablesSQLTaskOutput
- type GetUserTablesSQLTaskProperties
- func (gutstp GetUserTablesSQLTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
- func (gutstp GetUserTablesSQLTaskProperties) MarshalJSON() ([]byte, error)
- type LoginMigrationStage
- type LoginType
- type MigrateSQLServerSQLDbDatabaseInput
- type MigrateSQLServerSQLDbTaskInput
- type MigrateSQLServerSQLDbTaskOutput
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdto MigrateSQLServerSQLDbTaskOutput) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputDatabaseLevel
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputError
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputMigrationLevel
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputTableLevel
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskOutputValidationResult
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
- func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) MarshalJSON() ([]byte, error)
- type MigrateSQLServerSQLDbTaskProperties
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
- func (msssdtp MigrateSQLServerSQLDbTaskProperties) MarshalJSON() ([]byte, error)
- func (msssdtp *MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON(body []byte) error
- type MigrateSQLServerSQLServerDatabaseInput
- type MigrationEligibilityInfo
- type MigrationReportResult
- type MigrationState
- type MigrationStatus
- type MigrationTableMetadata
- type MigrationValidationDatabaseSummaryResult
- type MigrationValidationOptions
- type NameAvailabilityRequest
- type NameAvailabilityResponse
- type NameCheckFailureReason
- type ODataError
- type ObjectType
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result ServiceOperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result ServiceOperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result ServiceOperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Project
- type ProjectList
- type ProjectListIterator
- type ProjectListPage
- type ProjectMetadata
- type ProjectProperties
- type ProjectProvisioningState
- type ProjectSourcePlatform
- type ProjectTargetPlatform
- type ProjectTask
- type ProjectTaskProperties
- func (ptp ProjectTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
- func (ptp ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
- func (ptp ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
- func (ptp ProjectTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
- func (ptp ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
- func (ptp ProjectTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
- func (ptp ProjectTaskProperties) MarshalJSON() ([]byte, error)
- type ProjectsClient
- func (client ProjectsClient) CreateOrUpdate(ctx context.Context, parameters Project, groupName string, serviceName string, ...) (result Project, err error)
- func (client ProjectsClient) CreateOrUpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, ...) (*http.Request, error)
- func (client ProjectsClient) CreateOrUpdateResponder(resp *http.Response) (result Project, err error)
- func (client ProjectsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ProjectsClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result autorest.Response, err error)
- func (client ProjectsClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, ...) (*http.Request, error)
- func (client ProjectsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProjectsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ProjectsClient) Get(ctx context.Context, groupName string, serviceName string, projectName string) (result Project, err error)
- func (client ProjectsClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string) (*http.Request, error)
- func (client ProjectsClient) GetResponder(resp *http.Response) (result Project, err error)
- func (client ProjectsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProjectsClient) ListByResourceGroup(ctx context.Context, groupName string, serviceName string) (result ProjectListPage, err error)
- func (client ProjectsClient) ListByResourceGroupComplete(ctx context.Context, groupName string, serviceName string) (result ProjectListIterator, err error)
- func (client ProjectsClient) ListByResourceGroupPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ProjectsClient) ListByResourceGroupResponder(resp *http.Response) (result ProjectList, err error)
- func (client ProjectsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ProjectsClient) Update(ctx context.Context, parameters Project, groupName string, serviceName string, ...) (result Project, err error)
- func (client ProjectsClient) UpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, ...) (*http.Request, error)
- func (client ProjectsClient) UpdateResponder(resp *http.Response) (result Project, err error)
- func (client ProjectsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type QueryAnalysisValidationResult
- type QueryExecutionResult
- type Quota
- type QuotaList
- type QuotaListIterator
- type QuotaListPage
- type QuotaName
- type ReportableException
- type Resource
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuCosts
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkusClient
- func (client ResourceSkusClient) ListSkus(ctx context.Context) (result ResourceSkusResultPage, err error)
- func (client ResourceSkusClient) ListSkusComplete(ctx context.Context) (result ResourceSkusResultIterator, err error)
- func (client ResourceSkusClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)
- func (client ResourceSkusClient) ListSkusResponder(resp *http.Response) (result ResourceSkusResult, err error)
- func (client ResourceSkusClient) ListSkusSender(req *http.Request) (*http.Response, error)
- type ResourceSkusResult
- type ResourceSkusResultIterator
- func (iter *ResourceSkusResultIterator) Next() error
- func (iter *ResourceSkusResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ResourceSkusResultIterator) NotDone() bool
- func (iter ResourceSkusResultIterator) Response() ResourceSkusResult
- func (iter ResourceSkusResultIterator) Value() ResourceSku
- type ResourceSkusResultPage
- func (page *ResourceSkusResultPage) Next() error
- func (page *ResourceSkusResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ResourceSkusResultPage) NotDone() bool
- func (page ResourceSkusResultPage) Response() ResourceSkusResult
- func (page ResourceSkusResultPage) Values() []ResourceSku
- type ResultType
- type ResultTypeBasicConnectToSourceSQLServerTaskOutput
- type SQLConnectionInfo
- type SQLMigrationTaskInput
- type SchemaComparisonValidationResult
- type SchemaComparisonValidationResultType
- type ServerLevelPermissionsGroup
- type Service
- type ServiceList
- type ServiceListIterator
- type ServiceListPage
- type ServiceOperation
- type ServiceOperationDisplay
- type ServiceOperationList
- type ServiceOperationListIterator
- func (iter *ServiceOperationListIterator) Next() error
- func (iter *ServiceOperationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceOperationListIterator) NotDone() bool
- func (iter ServiceOperationListIterator) Response() ServiceOperationList
- func (iter ServiceOperationListIterator) Value() ServiceOperation
- type ServiceOperationListPage
- func (page *ServiceOperationListPage) Next() error
- func (page *ServiceOperationListPage) NextWithContext(ctx context.Context) (err error)
- func (page ServiceOperationListPage) NotDone() bool
- func (page ServiceOperationListPage) Response() ServiceOperationList
- func (page ServiceOperationListPage) Values() []ServiceOperation
- type ServiceProperties
- type ServiceProvisioningState
- type ServiceScalability
- type ServiceSku
- type ServiceSkuList
- type ServiceSkuListIterator
- func (iter *ServiceSkuListIterator) Next() error
- func (iter *ServiceSkuListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceSkuListIterator) NotDone() bool
- func (iter ServiceSkuListIterator) Response() ServiceSkuList
- func (iter ServiceSkuListIterator) Value() AvailableServiceSku
- type ServiceSkuListPage
- type ServiceStatusResponse
- type ServicesClient
- func (client ServicesClient) CheckNameAvailability(ctx context.Context, location string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error)
- func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters NameAvailabilityRequest) (*http.Request, error)
- func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
- func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) CheckStatus(ctx context.Context, groupName string, serviceName string) (result ServiceStatusResponse, err error)
- func (client ServicesClient) CheckStatusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) CheckStatusResponder(resp *http.Response) (result ServiceStatusResponse, err error)
- func (client ServicesClient) CheckStatusSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) CreateOrUpdate(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesCreateOrUpdateFuture, err error)
- func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future ServicesCreateOrUpdateFuture, err error)
- func (client ServicesClient) Delete(ctx context.Context, groupName string, serviceName string, ...) (result ServicesDeleteFuture, err error)
- func (client ServicesClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, ...) (*http.Request, error)
- func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDeleteFuture, err error)
- func (client ServicesClient) Get(ctx context.Context, groupName string, serviceName string) (result Service, err error)
- func (client ServicesClient) GetPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) List(ctx context.Context) (result ServiceListPage, err error)
- func (client ServicesClient) ListByResourceGroup(ctx context.Context, groupName string) (result ServiceListPage, err error)
- func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, groupName string) (result ServiceListIterator, err error)
- func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, groupName string) (*http.Request, error)
- func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceList, err error)
- func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) ListComplete(ctx context.Context) (result ServiceListIterator, err error)
- func (client ServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ServicesClient) ListResponder(resp *http.Response) (result ServiceList, err error)
- func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) ListSkus(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListPage, err error)
- func (client ServicesClient) ListSkusComplete(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListIterator, err error)
- func (client ServicesClient) ListSkusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) ListSkusResponder(resp *http.Response) (result ServiceSkuList, err error)
- func (client ServicesClient) ListSkusSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) NestedCheckNameAvailability(ctx context.Context, groupName string, serviceName string, ...) (result NameAvailabilityResponse, err error)
- func (client ServicesClient) NestedCheckNameAvailabilityPreparer(ctx context.Context, groupName string, serviceName string, ...) (*http.Request, error)
- func (client ServicesClient) NestedCheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
- func (client ServicesClient) NestedCheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) Start(ctx context.Context, groupName string, serviceName string) (result ServicesStartFuture, err error)
- func (client ServicesClient) StartPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServicesClient) StartSender(req *http.Request) (future ServicesStartFuture, err error)
- func (client ServicesClient) Stop(ctx context.Context, groupName string, serviceName string) (result ServicesStopFuture, err error)
- func (client ServicesClient) StopPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServicesClient) StopSender(req *http.Request) (future ServicesStopFuture, err error)
- func (client ServicesClient) Update(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesUpdateFuture, err error)
- func (client ServicesClient) UpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)
- func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpdateFuture, err error)
- type ServicesCreateOrUpdateFuture
- type ServicesDeleteFuture
- type ServicesStartFuture
- type ServicesStopFuture
- type ServicesUpdateFuture
- type Severity
- type StartMigrationScenarioServerRoleResult
- type TaskList
- type TaskListIterator
- type TaskListPage
- type TaskState
- type TaskType
- type TasksClient
- func (client TasksClient) Cancel(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result ProjectTask, err error)
- func (client TasksClient) CancelPreparer(ctx context.Context, groupName string, serviceName string, projectName string, ...) (*http.Request, error)
- func (client TasksClient) CancelResponder(resp *http.Response) (result ProjectTask, err error)
- func (client TasksClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) CreateOrUpdate(ctx context.Context, parameters ProjectTask, groupName string, ...) (result ProjectTask, err error)
- func (client TasksClient) CreateOrUpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, ...) (*http.Request, error)
- func (client TasksClient) CreateOrUpdateResponder(resp *http.Response) (result ProjectTask, err error)
- func (client TasksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result autorest.Response, err error)
- func (client TasksClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, ...) (*http.Request, error)
- func (client TasksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TasksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) Get(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result ProjectTask, err error)
- func (client TasksClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string, ...) (*http.Request, error)
- func (client TasksClient) GetResponder(resp *http.Response) (result ProjectTask, err error)
- func (client TasksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) List(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result TaskListPage, err error)
- func (client TasksClient) ListComplete(ctx context.Context, groupName string, serviceName string, projectName string, ...) (result TaskListIterator, err error)
- func (client TasksClient) ListPreparer(ctx context.Context, groupName string, serviceName string, projectName string, ...) (*http.Request, error)
- func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error)
- func (client TasksClient) ListSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) Update(ctx context.Context, parameters ProjectTask, groupName string, ...) (result ProjectTask, err error)
- func (client TasksClient) UpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, ...) (*http.Request, error)
- func (client TasksClient) UpdateResponder(resp *http.Response) (result ProjectTask, err error)
- func (client TasksClient) UpdateSender(req *http.Request) (*http.Response, error)
- type TrackedResource
- type Type
- type UpdateActionType
- type UsagesClient
- func (client UsagesClient) List(ctx context.Context, location string) (result QuotaListPage, err error)
- func (client UsagesClient) ListComplete(ctx context.Context, location string) (result QuotaListIterator, err error)
- func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client UsagesClient) ListResponder(resp *http.Response) (result QuotaList, err error)
- func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error)
- type ValidationError
- type ValidationStatus
- type WaitStatistics
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Datamigration
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type APIError ¶
type APIError struct { // Error - Error information in OData format Error *ODataError `json:"error,omitempty"` }
APIError error information.
type AuthenticationType ¶
type AuthenticationType string
AuthenticationType enumerates the values for authentication type.
const ( // ActiveDirectoryIntegrated ... ActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated" // ActiveDirectoryPassword ... ActiveDirectoryPassword AuthenticationType = "ActiveDirectoryPassword" // None ... None AuthenticationType = "None" // SQLAuthentication ... SQLAuthentication AuthenticationType = "SqlAuthentication" // WindowsAuthentication ... WindowsAuthentication AuthenticationType = "WindowsAuthentication" )
func PossibleAuthenticationTypeValues ¶
func PossibleAuthenticationTypeValues() []AuthenticationType
PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
type AvailableServiceSku ¶
type AvailableServiceSku struct { // ResourceType - The resource type, including the provider namespace ResourceType *string `json:"resourceType,omitempty"` // Sku - SKU name, tier, etc. Sku *AvailableServiceSkuSku `json:"sku,omitempty"` // Capacity - A description of the scaling capacities of the SKU Capacity *AvailableServiceSkuCapacity `json:"capacity,omitempty"` }
AvailableServiceSku describes the available service SKU.
type AvailableServiceSkuCapacity ¶
type AvailableServiceSkuCapacity struct { // Minimum - The minimum capacity, usually 0 or 1. Minimum *int32 `json:"minimum,omitempty"` // Maximum - The maximum capacity Maximum *int32 `json:"maximum,omitempty"` // Default - The default capacity Default *int32 `json:"default,omitempty"` // ScaleType - The scalability approach. Possible values include: 'ServiceScalabilityNone', 'ServiceScalabilityManual', 'ServiceScalabilityAutomatic' ScaleType ServiceScalability `json:"scaleType,omitempty"` }
AvailableServiceSkuCapacity a description of the scaling capacities of the SKU
type AvailableServiceSkuSku ¶
type AvailableServiceSkuSku struct { // Name - The name of the SKU Name *string `json:"name,omitempty"` // Family - SKU family Family *string `json:"family,omitempty"` // Size - SKU size Size *string `json:"size,omitempty"` // Tier - The tier of the SKU, such as "Free", "Basic", "Standard", or "Premium" Tier *string `json:"tier,omitempty"` }
AvailableServiceSkuSku SKU name, tier, etc.
type BaseClient ¶
BaseClient is the base client for Datamigration.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type BasicConnectToSourceSQLServerTaskOutput ¶
type BasicConnectToSourceSQLServerTaskOutput interface { AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool) }
BasicConnectToSourceSQLServerTaskOutput output for the task that validates connection to SQL Server and also validates source server requirements
type BasicConnectionInfo ¶
type BasicConnectionInfo interface { AsSQLConnectionInfo() (*SQLConnectionInfo, bool) AsConnectionInfo() (*ConnectionInfo, bool) }
BasicConnectionInfo defines the connection properties of a server
type BasicMigrateSQLServerSQLDbTaskOutput ¶
type BasicMigrateSQLServerSQLDbTaskOutput interface { AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) }
BasicMigrateSQLServerSQLDbTaskOutput output for the task that migrates on-prem SQL Server databases to Azure SQL Database
type BasicProjectTaskProperties ¶
type BasicProjectTaskProperties interface { AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) AsProjectTaskProperties() (*ProjectTaskProperties, bool) }
BasicProjectTaskProperties base class for all types of DMS task properties. If task is not supported by current client, this object is returned.
type BlobShare ¶
type BlobShare struct { string `json:"sasUri,omitempty"` }SasURI *
BlobShare blob container storage information.
type ConnectToSourceSQLServerTaskInput ¶
type ConnectToSourceSQLServerTaskInput struct { // SourceConnectionInfo - Connection information for Source SQL Server SourceConnectionInfo *SQLConnectionInfo `json:"sourceConnectionInfo,omitempty"` // CheckPermissionsGroup - Permission group for validations. Possible values include: 'Default', 'MigrationFromSQLServerToAzureDB' CheckPermissionsGroup ServerLevelPermissionsGroup `json:"checkPermissionsGroup,omitempty"` // CollectLogins - Flag for whether to collect logins from source server. CollectLogins *bool `json:"collectLogins,omitempty"` // CollectAgentJobs - Flag for whether to collect agent jobs from source server. CollectAgentJobs *bool `json:"collectAgentJobs,omitempty"` }
ConnectToSourceSQLServerTaskInput input for the task that validates connection to SQL Server and also validates source server requirements
type ConnectToSourceSQLServerTaskOutput ¶
type ConnectToSourceSQLServerTaskOutput struct { // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput' ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` }
ConnectToSourceSQLServerTaskOutput output for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskOutput) AsBasicConnectToSourceSQLServerTaskOutput ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
AsConnectToSourceSQLServerTaskOutputAgentJobLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputLoginLevel ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
AsConnectToSourceSQLServerTaskOutputLoginLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.
func (ConnectToSourceSQLServerTaskOutput) MarshalJSON ¶
func (ctsssto ConnectToSourceSQLServerTaskOutput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutput.
type ConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
type ConnectToSourceSQLServerTaskOutputAgentJobLevel struct { // Name - AgentJob name Name *string `json:"name,omitempty"` // JobCategory - The type of AgentJob. JobCategory *string `json:"jobCategory,omitempty"` // IsEnabled - The state of the original AgentJob. IsEnabled *bool `json:"isEnabled,omitempty"` // JobOwner - The owner of the AgentJob JobOwner *string `json:"jobOwner,omitempty"` // LastExecutedOn - UTC Date and time when the AgentJob was last executed. LastExecutedOn *date.Time `json:"lastExecutedOn,omitempty"` // MigrationEligibility - Information about eligiblity of agent job for migration. MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput' ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` }
ConnectToSourceSQLServerTaskOutputAgentJobLevel agentJob level output for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsBasicConnectToSourceSQLServerTaskOutput ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutput ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
AsConnectToSourceSQLServerTaskOutputAgentJobLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
AsConnectToSourceSQLServerTaskOutputLoginLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
func (ConnectToSourceSQLServerTaskOutputAgentJobLevel) MarshalJSON ¶
func (ctssstoajl ConnectToSourceSQLServerTaskOutputAgentJobLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputAgentJobLevel.
type ConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
type ConnectToSourceSQLServerTaskOutputDatabaseLevel struct { // Name - Database name Name *string `json:"name,omitempty"` // SizeMB - Size of the file in megabytes SizeMB *float64 `json:"sizeMB,omitempty"` // DatabaseFiles - The list of database files DatabaseFiles *[]DatabaseFileInfo `json:"databaseFiles,omitempty"` // CompatibilityLevel - SQL Server compatibility level of database. Possible values include: 'CompatLevel80', 'CompatLevel90', 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', 'CompatLevel140' CompatibilityLevel DatabaseCompatLevel `json:"compatibilityLevel,omitempty"` // DatabaseState - State of the database. Possible values include: 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' DatabaseState DatabaseState `json:"databaseState,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput' ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` }
ConnectToSourceSQLServerTaskOutputDatabaseLevel database level output for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsBasicConnectToSourceSQLServerTaskOutput ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
AsConnectToSourceSQLServerTaskOutputAgentJobLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
AsConnectToSourceSQLServerTaskOutputLoginLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON ¶
func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputDatabaseLevel.
type ConnectToSourceSQLServerTaskOutputLoginLevel ¶
type ConnectToSourceSQLServerTaskOutputLoginLevel struct { // Name - Login name. Name *string `json:"name,omitempty"` // LoginType - The type of login. Possible values include: 'WindowsUser', 'WindowsGroup', 'SQLLogin', 'Certificate', 'AsymmetricKey', 'ExternalUser', 'ExternalGroup' LoginType LoginType `json:"loginType,omitempty"` // DefaultDatabase - The default database for the login. DefaultDatabase *string `json:"defaultDatabase,omitempty"` // IsEnabled - The state of the login. IsEnabled *bool `json:"isEnabled,omitempty"` // MigrationEligibility - Information about eligiblity of login for migration. MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput' ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` }
ConnectToSourceSQLServerTaskOutputLoginLevel login level output for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsBasicConnectToSourceSQLServerTaskOutput ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutput ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
AsConnectToSourceSQLServerTaskOutputAgentJobLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
AsConnectToSourceSQLServerTaskOutputLoginLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputLoginLevel.
func (ConnectToSourceSQLServerTaskOutputLoginLevel) MarshalJSON ¶
func (ctssstoll ConnectToSourceSQLServerTaskOutputLoginLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputLoginLevel.
type ConnectToSourceSQLServerTaskOutputTaskLevel ¶
type ConnectToSourceSQLServerTaskOutputTaskLevel struct { // Databases - Source databases as a map from database name to database id Databases map[string]*string `json:"databases"` // Logins - Source logins as a map from login name to login id. Logins map[string]*string `json:"logins"` // AgentJobs - Source agent jobs as a map from agent job name to id. AgentJobs map[string]*string `json:"agentJobs"` // SourceServerVersion - Source server version SourceServerVersion *string `json:"sourceServerVersion,omitempty"` // SourceServerBrandVersion - Source server brand version SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` // ValidationErrors - Validation errors ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput', 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput' ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` }
ConnectToSourceSQLServerTaskOutputTaskLevel task level output for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsBasicConnectToSourceSQLServerTaskOutput ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)
AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)
AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputAgentJobLevel() (*ConnectToSourceSQLServerTaskOutputAgentJobLevel, bool)
AsConnectToSourceSQLServerTaskOutputAgentJobLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)
AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputLoginLevel() (*ConnectToSourceSQLServerTaskOutputLoginLevel, bool)
AsConnectToSourceSQLServerTaskOutputLoginLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)
AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.
func (ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON ¶
func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputTaskLevel.
type ConnectToSourceSQLServerTaskProperties ¶
type ConnectToSourceSQLServerTaskProperties struct { // Input - Task input Input *ConnectToSourceSQLServerTaskInput `json:"input,omitempty"` // Output - Task output. This is ignored if submitted. Output *[]BasicConnectToSourceSQLServerTaskOutput `json:"output,omitempty"` // Errors - Array of errors. This is ignored if submitted. Errors *[]ODataError `json:"errors,omitempty"` // State - The state of the task. This is ignored if submitted. Possible values include: 'TaskStateUnknown', 'TaskStateQueued', 'TaskStateRunning', 'TaskStateCanceled', 'TaskStateSucceeded', 'TaskStateFailed', 'TaskStateFailedInputValidation', 'TaskStateFaulted' State TaskState `json:"state,omitempty"` // TaskType - Possible values include: 'TaskTypeUnknown', 'TaskTypeMigrateSQLServerSQLDb', 'TaskTypeGetUserTablesSQL', 'TaskTypeConnectToTargetSQLDb', 'TaskTypeConnectToSourceSQLServer' TaskType TaskType `json:"taskType,omitempty"` }
ConnectToSourceSQLServerTaskProperties properties for the task that validates connection to SQL Server and also validates source server requirements
func (ConnectToSourceSQLServerTaskProperties) AsBasicProjectTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.
func (ConnectToSourceSQLServerTaskProperties) MarshalJSON ¶
func (ctssstp ConnectToSourceSQLServerTaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskProperties.
func (*ConnectToSourceSQLServerTaskProperties) UnmarshalJSON ¶
func (ctssstp *ConnectToSourceSQLServerTaskProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectToSourceSQLServerTaskProperties struct.
type ConnectToTargetSQLDbTaskInput ¶
type ConnectToTargetSQLDbTaskInput struct { // TargetConnectionInfo - Connection information for target SQL DB TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` }
ConnectToTargetSQLDbTaskInput input for the task that validates connection to SQL DB and target server requirements
type ConnectToTargetSQLDbTaskOutput ¶
type ConnectToTargetSQLDbTaskOutput struct { // ID - Result identifier ID *string `json:"id,omitempty"` // Databases - Source databases as a map from database name to database id Databases map[string]*string `json:"databases"` // TargetServerVersion - Version of the target server TargetServerVersion *string `json:"targetServerVersion,omitempty"` // TargetServerBrandVersion - Target server brand version TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` }
ConnectToTargetSQLDbTaskOutput output for the task that validates connection to SQL DB and target server requirements
func (ConnectToTargetSQLDbTaskOutput) MarshalJSON ¶
func (cttsdto ConnectToTargetSQLDbTaskOutput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskOutput.
type ConnectToTargetSQLDbTaskProperties ¶
type ConnectToTargetSQLDbTaskProperties struct { // Input - Task input Input *ConnectToTargetSQLDbTaskInput `json:"input,omitempty"` // Output - Task output. This is ignored if submitted. Output *[]ConnectToTargetSQLDbTaskOutput `json:"output,omitempty"` // Errors - Array of errors. This is ignored if submitted. Errors *[]ODataError `json:"errors,omitempty"` // State - The state of the task. This is ignored if submitted. Possible values include: 'TaskStateUnknown', 'TaskStateQueued', 'TaskStateRunning', 'TaskStateCanceled', 'TaskStateSucceeded', 'TaskStateFailed', 'TaskStateFailedInputValidation', 'TaskStateFaulted' State TaskState `json:"state,omitempty"` // TaskType - Possible values include: 'TaskTypeUnknown', 'TaskTypeMigrateSQLServerSQLDb', 'TaskTypeGetUserTablesSQL', 'TaskTypeConnectToTargetSQLDb', 'TaskTypeConnectToSourceSQLServer' TaskType TaskType `json:"taskType,omitempty"` }
ConnectToTargetSQLDbTaskProperties properties for the task that validates connection to SQL DB and target server requirements
func (ConnectToTargetSQLDbTaskProperties) AsBasicProjectTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.
func (ConnectToTargetSQLDbTaskProperties) MarshalJSON ¶
func (cttsdtp ConnectToTargetSQLDbTaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskProperties.
type ConnectionInfo ¶
type ConnectionInfo struct { // UserName - User name UserName *string `json:"userName,omitempty"` // Password - Password credential. Password *string `json:"password,omitempty"` // Type - Possible values include: 'TypeUnknown', 'TypeSQLConnectionInfo' Type Type `json:"type,omitempty"` }
ConnectionInfo defines the connection properties of a server
func (ConnectionInfo) AsBasicConnectionInfo ¶
func (ci ConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool)
AsBasicConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.
func (ConnectionInfo) AsConnectionInfo ¶
func (ci ConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool)
AsConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.
func (ConnectionInfo) AsSQLConnectionInfo ¶
func (ci ConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool)
AsSQLConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.
func (ConnectionInfo) MarshalJSON ¶
func (ci ConnectionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionInfo.
type DataIntegrityValidationResult ¶
type DataIntegrityValidationResult struct { // FailedObjects - List of failed table names of source and target pair FailedObjects map[string]*string `json:"failedObjects"` // ValidationErrors - List of errors that happened while performing data integrity validation ValidationErrors *ValidationError `json:"validationErrors,omitempty"` }
DataIntegrityValidationResult results for checksum based Data Integrity validation results
func (DataIntegrityValidationResult) MarshalJSON ¶
func (divr DataIntegrityValidationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataIntegrityValidationResult.
type DataItemMigrationSummaryResult ¶
type DataItemMigrationSummaryResult struct { // Name - Name of the item Name *string `json:"name,omitempty"` // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Migration end time EndedOn *date.Time `json:"endedOn,omitempty"` // State - Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped' State MigrationState `json:"state,omitempty"` // StatusMessage - Status message StatusMessage *string `json:"statusMessage,omitempty"` // ItemsCount - Number of items ItemsCount *int64 `json:"itemsCount,omitempty"` // ItemsCompletedCount - Number of successfully completed items ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` // ErrorPrefix - Wildcard string prefix to use for querying all errors of the item ErrorPrefix *string `json:"errorPrefix,omitempty"` // ResultPrefix - Wildcard string prefix to use for querying all sub-tem results of the item ResultPrefix *string `json:"resultPrefix,omitempty"` }
DataItemMigrationSummaryResult basic summary of a data item migration
type Database ¶
type Database struct { // ID - Unique identifier for the database ID *string `json:"id,omitempty"` // Name - Name of the database Name *string `json:"name,omitempty"` // CompatibilityLevel - SQL Server compatibility level of database. Possible values include: 'CompatLevel80', 'CompatLevel90', 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', 'CompatLevel140' CompatibilityLevel DatabaseCompatLevel `json:"compatibilityLevel,omitempty"` // Collation - Collation name of the database Collation *string `json:"collation,omitempty"` // ServerName - Name of the server ServerName *string `json:"serverName,omitempty"` // Fqdn - Fully qualified name Fqdn *string `json:"fqdn,omitempty"` // InstallID - Install id of the database InstallID *string `json:"installId,omitempty"` // ServerVersion - Version of the server ServerVersion *string `json:"serverVersion,omitempty"` // ServerEdition - Edition of the server ServerEdition *string `json:"serverEdition,omitempty"` // ServerLevel - Product level of the server (RTM, SP, CTP). ServerLevel *string `json:"serverLevel,omitempty"` // ServerDefaultDataPath - Default path of the data files ServerDefaultDataPath *string `json:"serverDefaultDataPath,omitempty"` // ServerDefaultLogPath - Default path of the log files ServerDefaultLogPath *string `json:"serverDefaultLogPath,omitempty"` // ServerDefaultBackupPath - Default path of the backup folder ServerDefaultBackupPath *string `json:"serverDefaultBackupPath,omitempty"` // ServerCoreCount - Number of cores on the server ServerCoreCount *int32 `json:"serverCoreCount,omitempty"` // ServerVisibleOnlineCoreCount - Number of cores on the server that have VISIBLE ONLINE status ServerVisibleOnlineCoreCount *int32 `json:"serverVisibleOnlineCoreCount,omitempty"` // DatabaseState - State of the database. Possible values include: 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' DatabaseState DatabaseState `json:"databaseState,omitempty"` // ServerID - The unique Server Id ServerID *string `json:"serverId,omitempty"` }
Database information about a single database
type DatabaseCompatLevel ¶
type DatabaseCompatLevel string
DatabaseCompatLevel enumerates the values for database compat level.
const ( // CompatLevel100 ... CompatLevel100 DatabaseCompatLevel = "CompatLevel100" // CompatLevel110 ... CompatLevel110 DatabaseCompatLevel = "CompatLevel110" // CompatLevel120 ... CompatLevel120 DatabaseCompatLevel = "CompatLevel120" // CompatLevel130 ... CompatLevel130 DatabaseCompatLevel = "CompatLevel130" // CompatLevel140 ... CompatLevel140 DatabaseCompatLevel = "CompatLevel140" // CompatLevel80 ... CompatLevel80 DatabaseCompatLevel = "CompatLevel80" // CompatLevel90 ... CompatLevel90 DatabaseCompatLevel = "CompatLevel90" )
func PossibleDatabaseCompatLevelValues ¶
func PossibleDatabaseCompatLevelValues() []DatabaseCompatLevel
PossibleDatabaseCompatLevelValues returns an array of possible values for the DatabaseCompatLevel const type.
type DatabaseFileInfo ¶
type DatabaseFileInfo struct { // DatabaseName - Name of the database DatabaseName *string `json:"databaseName,omitempty"` // ID - Unique identifier for database file ID *string `json:"id,omitempty"` // LogicalName - Logical name of the file LogicalName *string `json:"logicalName,omitempty"` // PhysicalFullName - Operating-system full path of the file PhysicalFullName *string `json:"physicalFullName,omitempty"` // RestoreFullName - Suggested full path of the file for restoring RestoreFullName *string `json:"restoreFullName,omitempty"` // FileType - Database file type. Possible values include: 'Rows', 'Log', 'Filestream', 'NotSupported', 'Fulltext' FileType DatabaseFileType `json:"fileType,omitempty"` // SizeMB - Size of the file in megabytes SizeMB *float64 `json:"sizeMB,omitempty"` }
DatabaseFileInfo database file specific information
type DatabaseFileInput ¶
type DatabaseFileInput struct { // ID - Unique identifier for database file ID *string `json:"id,omitempty"` // LogicalName - Logical name of the file LogicalName *string `json:"logicalName,omitempty"` // PhysicalFullName - Operating-system full path of the file PhysicalFullName *string `json:"physicalFullName,omitempty"` // RestoreFullName - Suggested full path of the file for restoring RestoreFullName *string `json:"restoreFullName,omitempty"` // FileType - Database file type. Possible values include: 'Rows', 'Log', 'Filestream', 'NotSupported', 'Fulltext' FileType DatabaseFileType `json:"fileType,omitempty"` }
DatabaseFileInput database file specific information for input
type DatabaseFileType ¶
type DatabaseFileType string
DatabaseFileType enumerates the values for database file type.
const ( // Filestream ... Filestream DatabaseFileType = "Filestream" // Fulltext ... Fulltext DatabaseFileType = "Fulltext" // Log ... Log DatabaseFileType = "Log" // NotSupported ... NotSupported DatabaseFileType = "NotSupported" // Rows ... Rows DatabaseFileType = "Rows" )
func PossibleDatabaseFileTypeValues ¶
func PossibleDatabaseFileTypeValues() []DatabaseFileType
PossibleDatabaseFileTypeValues returns an array of possible values for the DatabaseFileType const type.
type DatabaseInfo ¶
type DatabaseInfo struct { // SourceDatabaseName - Name of the database SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` }
DatabaseInfo project Database Details
type DatabaseMigrationStage ¶
type DatabaseMigrationStage string
DatabaseMigrationStage enumerates the values for database migration stage.
const ( // DatabaseMigrationStageBackup ... DatabaseMigrationStageBackup DatabaseMigrationStage = "Backup" // DatabaseMigrationStageCompleted ... DatabaseMigrationStageCompleted DatabaseMigrationStage = "Completed" // DatabaseMigrationStageFileCopy ... DatabaseMigrationStageFileCopy DatabaseMigrationStage = "FileCopy" // DatabaseMigrationStageInitialize ... DatabaseMigrationStageInitialize DatabaseMigrationStage = "Initialize" // DatabaseMigrationStageNone ... DatabaseMigrationStageNone DatabaseMigrationStage = "None" // DatabaseMigrationStageRestore ... DatabaseMigrationStageRestore DatabaseMigrationStage = "Restore" )
func PossibleDatabaseMigrationStageValues ¶
func PossibleDatabaseMigrationStageValues() []DatabaseMigrationStage
PossibleDatabaseMigrationStageValues returns an array of possible values for the DatabaseMigrationStage const type.
type DatabaseObjectName ¶
type DatabaseObjectName struct { // DatabaseName - The unescaped name of the database containing the object DatabaseName *string `json:"databaseName,omitempty"` // ObjectName - The unescaped name of the object ObjectName *string `json:"objectName,omitempty"` // SchemaName - The unescaped name of the schema containing the object SchemaName *string `json:"schemaName,omitempty"` // ObjectType - Type of the object in the database. Possible values include: 'StoredProcedures', 'Table', 'User', 'View', 'Function' ObjectType ObjectType `json:"objectType,omitempty"` }
DatabaseObjectName a representation of the name of an object in a database
type DatabaseState ¶
type DatabaseState string
DatabaseState enumerates the values for database state.
const ( // Copying ... Copying DatabaseState = "Copying" // Emergency ... Emergency DatabaseState = "Emergency" // Offline ... Offline DatabaseState = "Offline" // OfflineSecondary ... OfflineSecondary DatabaseState = "OfflineSecondary" // Online ... Online DatabaseState = "Online" // Recovering ... Recovering DatabaseState = "Recovering" // RecoveryPending ... RecoveryPending DatabaseState = "RecoveryPending" // Restoring ... Restoring DatabaseState = "Restoring" // Suspect ... Suspect DatabaseState = "Suspect" )
func PossibleDatabaseStateValues ¶
func PossibleDatabaseStateValues() []DatabaseState
PossibleDatabaseStateValues returns an array of possible values for the DatabaseState const type.
type DatabaseSummaryResult ¶
type DatabaseSummaryResult struct { // SizeMB - Size of the database in megabytes SizeMB *float64 `json:"sizeMB,omitempty"` // Name - Name of the item Name *string `json:"name,omitempty"` // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Migration end time EndedOn *date.Time `json:"endedOn,omitempty"` // State - Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped' State MigrationState `json:"state,omitempty"` // StatusMessage - Status message StatusMessage *string `json:"statusMessage,omitempty"` // ItemsCount - Number of items ItemsCount *int64 `json:"itemsCount,omitempty"` // ItemsCompletedCount - Number of successfully completed items ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` // ErrorPrefix - Wildcard string prefix to use for querying all errors of the item ErrorPrefix *string `json:"errorPrefix,omitempty"` // ResultPrefix - Wildcard string prefix to use for querying all sub-tem results of the item ResultPrefix *string `json:"resultPrefix,omitempty"` }
DatabaseSummaryResult summary of database results in the migration
type DatabaseTable ¶
type DatabaseTable struct { // HasRows - Indicates whether table is empty or not HasRows *bool `json:"hasRows,omitempty"` // Name - Schema-qualified name of the table Name *string `json:"name,omitempty"` }
DatabaseTable table properties
type Error ¶
type Error struct { // Message - Error description Message *string `json:"message,omitempty"` // Type - Type of error. Possible values include: 'ErrorTypeDefault', 'ErrorTypeWarning', 'ErrorTypeError' Type ErrorType `json:"type,omitempty"` }
Error migration Task errors
type ErrorType ¶
type ErrorType string
ErrorType enumerates the values for error type.
func PossibleErrorTypeValues ¶
func PossibleErrorTypeValues() []ErrorType
PossibleErrorTypeValues returns an array of possible values for the ErrorType const type.
type ExecutionStatistics ¶
type ExecutionStatistics struct { // ExecutionCount - No. of query executions ExecutionCount *int64 `json:"executionCount,omitempty"` // CPUTimeMs - CPU Time in millisecond(s) for the query execution CPUTimeMs *float64 `json:"cpuTimeMs,omitempty"` // ElapsedTimeMs - Time taken in millisecond(s) for executing the query ElapsedTimeMs *float64 `json:"elapsedTimeMs,omitempty"` // WaitStats - Dictionary of sql query execution wait types and the respective statistics WaitStats map[string]*WaitStatistics `json:"waitStats"` // HasErrors - Indicates whether the query resulted in an error HasErrors *bool `json:"hasErrors,omitempty"` // SQLErrors - List of sql Errors SQLErrors *[]string `json:"sqlErrors,omitempty"` }
ExecutionStatistics description about the errors happen while performing migration validation
func (ExecutionStatistics) MarshalJSON ¶
func (es ExecutionStatistics) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExecutionStatistics.
type FileShare ¶
type FileShare struct { string `json:"userName,omitempty"` Password *string `json:"password,omitempty"` Path *string `json:"path,omitempty"` }UserName *
FileShare file share information with Path, Username, and Password.
type GetUserTablesSQLTaskInput ¶
type GetUserTablesSQLTaskInput struct { // ConnectionInfo - Connection information for SQL Server ConnectionInfo *SQLConnectionInfo `json:"connectionInfo,omitempty"` // SelectedDatabases - List of database names to collect tables for SelectedDatabases *[]string `json:"selectedDatabases,omitempty"` }
GetUserTablesSQLTaskInput input for the task that collects user tables for the given list of databases
type GetUserTablesSQLTaskOutput ¶
type GetUserTablesSQLTaskOutput struct { // ID - Result identifier ID *string `json:"id,omitempty"` // DatabasesToTables - Mapping from database name to list of tables DatabasesToTables map[string][]DatabaseTable `json:"databasesToTables"` // ValidationErrors - Validation errors ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"` }
GetUserTablesSQLTaskOutput output of the task that collects user tables for the given list of databases
func (GetUserTablesSQLTaskOutput) MarshalJSON ¶
func (gutsto GetUserTablesSQLTaskOutput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GetUserTablesSQLTaskOutput.
type GetUserTablesSQLTaskProperties ¶
type GetUserTablesSQLTaskProperties struct { // Input - Task input Input *GetUserTablesSQLTaskInput `json:"input,omitempty"` // Output - Task output. This is ignored if submitted. Output *[]GetUserTablesSQLTaskOutput `json:"output,omitempty"` // Errors - Array of errors. This is ignored if submitted. Errors *[]ODataError `json:"errors,omitempty"` // State - The state of the task. This is ignored if submitted. Possible values include: 'TaskStateUnknown', 'TaskStateQueued', 'TaskStateRunning', 'TaskStateCanceled', 'TaskStateSucceeded', 'TaskStateFailed', 'TaskStateFailedInputValidation', 'TaskStateFaulted' State TaskState `json:"state,omitempty"` // TaskType - Possible values include: 'TaskTypeUnknown', 'TaskTypeMigrateSQLServerSQLDb', 'TaskTypeGetUserTablesSQL', 'TaskTypeConnectToTargetSQLDb', 'TaskTypeConnectToSourceSQLServer' TaskType TaskType `json:"taskType,omitempty"` }
GetUserTablesSQLTaskProperties properties for the task that collects user tables for the given list of databases
func (GetUserTablesSQLTaskProperties) AsBasicProjectTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) AsProjectTaskProperties ¶
func (gutstp GetUserTablesSQLTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
AsProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.
func (GetUserTablesSQLTaskProperties) MarshalJSON ¶
func (gutstp GetUserTablesSQLTaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GetUserTablesSQLTaskProperties.
type LoginMigrationStage ¶
type LoginMigrationStage string
LoginMigrationStage enumerates the values for login migration stage.
const ( // LoginMigrationStageAssignRoleMembership ... LoginMigrationStageAssignRoleMembership LoginMigrationStage = "AssignRoleMembership" // LoginMigrationStageAssignRoleOwnership ... LoginMigrationStageAssignRoleOwnership LoginMigrationStage = "AssignRoleOwnership" // LoginMigrationStageCompleted ... LoginMigrationStageCompleted LoginMigrationStage = "Completed" // LoginMigrationStageEstablishObjectPermissions ... LoginMigrationStageEstablishObjectPermissions LoginMigrationStage = "EstablishObjectPermissions" // LoginMigrationStageEstablishServerPermissions ... LoginMigrationStageEstablishServerPermissions LoginMigrationStage = "EstablishServerPermissions" // LoginMigrationStageEstablishUserMapping ... LoginMigrationStageEstablishUserMapping LoginMigrationStage = "EstablishUserMapping" // LoginMigrationStageInitialize ... LoginMigrationStageInitialize LoginMigrationStage = "Initialize" // LoginMigrationStageLoginMigration ... LoginMigrationStageLoginMigration LoginMigrationStage = "LoginMigration" // LoginMigrationStageNone ... LoginMigrationStageNone LoginMigrationStage = "None" )
func PossibleLoginMigrationStageValues ¶
func PossibleLoginMigrationStageValues() []LoginMigrationStage
PossibleLoginMigrationStageValues returns an array of possible values for the LoginMigrationStage const type.
type LoginType ¶
type LoginType string
LoginType enumerates the values for login type.
const ( // AsymmetricKey ... AsymmetricKey LoginType = "AsymmetricKey" // Certificate ... Certificate LoginType = "Certificate" // ExternalGroup ... ExternalGroup LoginType = "ExternalGroup" // ExternalUser ... ExternalUser LoginType = "ExternalUser" // SQLLogin ... SQLLogin LoginType = "SqlLogin" // WindowsGroup ... WindowsGroup LoginType = "WindowsGroup" // WindowsUser ... WindowsUser LoginType = "WindowsUser" )
func PossibleLoginTypeValues ¶
func PossibleLoginTypeValues() []LoginType
PossibleLoginTypeValues returns an array of possible values for the LoginType const type.
type MigrateSQLServerSQLDbDatabaseInput ¶
type MigrateSQLServerSQLDbDatabaseInput struct { // Name - Name of the database Name *string `json:"name,omitempty"` // TargetDatabaseName - Name of target database. Note: Target database will be truncated before starting migration. TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` // MakeSourceDbReadOnly - Whether to set database read only before migration MakeSourceDbReadOnly *bool `json:"makeSourceDbReadOnly,omitempty"` // TableMap - Mapping of source to target tables TableMap map[string]*string `json:"tableMap"` }
MigrateSQLServerSQLDbDatabaseInput database specific information for SQL to Azure SQL DB migration task inputs
func (MigrateSQLServerSQLDbDatabaseInput) MarshalJSON ¶
func (msssddi MigrateSQLServerSQLDbDatabaseInput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbDatabaseInput.
type MigrateSQLServerSQLDbTaskInput ¶
type MigrateSQLServerSQLDbTaskInput struct { // SelectedDatabases - Databases to migrate SelectedDatabases *[]MigrateSQLServerSQLDbDatabaseInput `json:"selectedDatabases,omitempty"` // ValidationOptions - Options for enabling various post migration validations. Available options, // 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables after the migration to ensure the correctness of the data. // 2.) Schema Validation: Performs a thorough schema comparison between the source and target tables and provides a list of differences between the source and target database, 3.) Query Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or Query Store and execute them and compares the execution time between the source and target database. ValidationOptions *MigrationValidationOptions `json:"validationOptions,omitempty"` // SourceConnectionInfo - Information for connecting to source SourceConnectionInfo *SQLConnectionInfo `json:"sourceConnectionInfo,omitempty"` // TargetConnectionInfo - Information for connecting to target TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` }
MigrateSQLServerSQLDbTaskInput input for the task that migrates on-prem SQL Server databases to Azure SQL Database
type MigrateSQLServerSQLDbTaskOutput ¶
type MigrateSQLServerSQLDbTaskOutput struct { // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutput output for the task that migrates on-prem SQL Server databases to Azure SQL Database
func (MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.
func (MigrateSQLServerSQLDbTaskOutput) MarshalJSON ¶
func (msssdto MigrateSQLServerSQLDbTaskOutput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutput.
type MigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
type MigrateSQLServerSQLDbTaskOutputDatabaseLevel struct { // DatabaseName - Name of the item DatabaseName *string `json:"databaseName,omitempty"` // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Migration end time EndedOn *date.Time `json:"endedOn,omitempty"` // State - Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped' State MigrationState `json:"state,omitempty"` // Stage - Migration stage that this database is in. Possible values include: 'DatabaseMigrationStageNone', 'DatabaseMigrationStageInitialize', 'DatabaseMigrationStageBackup', 'DatabaseMigrationStageFileCopy', 'DatabaseMigrationStageRestore', 'DatabaseMigrationStageCompleted' Stage DatabaseMigrationStage `json:"stage,omitempty"` // StatusMessage - Status message StatusMessage *string `json:"statusMessage,omitempty"` // Message - Migration progress message Message *string `json:"message,omitempty"` // NumberOfObjects - Number of objects NumberOfObjects *int64 `json:"numberOfObjects,omitempty"` // NumberOfObjectsCompleted - Number of successfully completed objects NumberOfObjectsCompleted *int64 `json:"numberOfObjectsCompleted,omitempty"` // ErrorCount - Number of database/object errors. ErrorCount *int64 `json:"errorCount,omitempty"` // ErrorPrefix - Wildcard string prefix to use for querying all errors of the item ErrorPrefix *string `json:"errorPrefix,omitempty"` // ResultPrefix - Wildcard string prefix to use for querying all sub-tem results of the item ResultPrefix *string `json:"resultPrefix,omitempty"` // ExceptionsAndWarnings - Migration exceptions and warnings. ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` // ObjectSummary - Summary of object results in the migration ObjectSummary map[string]*DataItemMigrationSummaryResult `json:"objectSummary"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputDatabaseLevel database level result for Sql Server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON ¶
func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.
type MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
type MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult struct { // MigrationID - Migration Identifier MigrationID *string `json:"migrationId,omitempty"` // SourceDatabaseName - Name of the source database SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` // TargetDatabaseName - Name of the target database TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` // StartedOn - Validation start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Validation end time EndedOn *date.Time `json:"endedOn,omitempty"` // DataIntegrityValidationResult - Provides data integrity validation result between the source and target tables that are migrated. DataIntegrityValidationResult *DataIntegrityValidationResult `json:"dataIntegrityValidationResult,omitempty"` // SchemaValidationResult - Provides schema comparison result between source and target database SchemaValidationResult *SchemaComparisonValidationResult `json:"schemaValidationResult,omitempty"` // QueryAnalysisValidationResult - Results of some of the query execution result between source and target database QueryAnalysisValidationResult *QueryAnalysisValidationResult `json:"queryAnalysisValidationResult,omitempty"` // Status - Current status of validation at the database level. Possible values include: 'ValidationStatusDefault', 'ValidationStatusNotStarted', 'ValidationStatusInitialized', 'ValidationStatusInProgress', 'ValidationStatusCompleted', 'ValidationStatusCompletedWithIssues', 'ValidationStatusFailed', 'ValidationStatusStopped' Status ValidationStatus `json:"status,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult database validation result for Sql Server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
func (MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) MarshalJSON ¶
func (msssdtodlvr MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult.
type MigrateSQLServerSQLDbTaskOutputError ¶
type MigrateSQLServerSQLDbTaskOutputError struct { // Error - Migration error Error *ReportableException `json:"error,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputError task errors for Sql Server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.
func (MigrateSQLServerSQLDbTaskOutputError) MarshalJSON ¶
func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputError.
type MigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
type MigrateSQLServerSQLDbTaskOutputMigrationLevel struct { // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Migration end time EndedOn *date.Time `json:"endedOn,omitempty"` // DurationInSeconds - Duration of task execution in seconds. DurationInSeconds *int64 `json:"durationInSeconds,omitempty"` // Status - Current status of migration. Possible values include: 'MigrationStatusDefault', 'MigrationStatusConnecting', 'MigrationStatusSourceAndTargetSelected', 'MigrationStatusSelectLogins', 'MigrationStatusConfigured', 'MigrationStatusRunning', 'MigrationStatusError', 'MigrationStatusStopped', 'MigrationStatusCompleted', 'MigrationStatusCompletedWithWarnings' Status MigrationStatus `json:"status,omitempty"` // StatusMessage - Migration status message StatusMessage *string `json:"statusMessage,omitempty"` // Message - Migration progress message Message *string `json:"message,omitempty"` // Databases - Selected databases as a map from database name to database id Databases map[string]*string `json:"databases"` // DatabaseSummary - Summary of database results in the migration DatabaseSummary map[string]*DatabaseSummaryResult `json:"databaseSummary"` // MigrationReport - Migration Report Result, provides unique url for downloading your migration report. MigrationReport *MigrationReportResult `json:"migrationReport,omitempty"` // SourceServerVersion - Source server version SourceServerVersion *string `json:"sourceServerVersion,omitempty"` // SourceServerBrandVersion - Source server brand version SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"` // TargetServerVersion - Target server version TargetServerVersion *string `json:"targetServerVersion,omitempty"` // TargetServerBrandVersion - Target server brand version TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` // ExceptionsAndWarnings - Migration exceptions and warnings. ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputMigrationLevel migration level result for Sql server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON ¶
func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputMigrationLevel.
type MigrateSQLServerSQLDbTaskOutputTableLevel ¶
type MigrateSQLServerSQLDbTaskOutputTableLevel struct { // ObjectName - Name of the item ObjectName *string `json:"objectName,omitempty"` // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Migration end time EndedOn *date.Time `json:"endedOn,omitempty"` // State - Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped' State MigrationState `json:"state,omitempty"` // StatusMessage - Status message StatusMessage *string `json:"statusMessage,omitempty"` // ItemsCount - Number of items ItemsCount *int64 `json:"itemsCount,omitempty"` // ItemsCompletedCount - Number of successfully completed items ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"` // ErrorPrefix - Wildcard string prefix to use for querying all errors of the item ErrorPrefix *string `json:"errorPrefix,omitempty"` // ResultPrefix - Wildcard string prefix to use for querying all sub-tem results of the item ResultPrefix *string `json:"resultPrefix,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputTableLevel table level result for Sql Server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.
func (MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON ¶
func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputTableLevel.
type MigrateSQLServerSQLDbTaskOutputValidationResult ¶
type MigrateSQLServerSQLDbTaskOutputValidationResult struct { // MigrationID - Migration Identifier MigrationID *string `json:"migrationId,omitempty"` // SummaryResults - Validation summary results for each database SummaryResults map[string]*MigrationValidationDatabaseSummaryResult `json:"summaryResults"` // Status - Current status of validation at the migration level. Status from the database validation result status will be aggregated here. Possible values include: 'ValidationStatusDefault', 'ValidationStatusNotStarted', 'ValidationStatusInitialized', 'ValidationStatusInProgress', 'ValidationStatusCompleted', 'ValidationStatusCompletedWithIssues', 'ValidationStatusFailed', 'ValidationStatusStopped' Status ValidationStatus `json:"status,omitempty"` // ID - Result identifier ID *string `json:"id,omitempty"` // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeMigrationDatabaseLevelValidationOutput', 'ResultTypeMigrationValidationOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput' ResultType ResultType `json:"resultType,omitempty"` }
MigrateSQLServerSQLDbTaskOutputValidationResult validation result for Sql Server to Azure Sql DB migration.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)
AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutput ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)
AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputDatabaseLevelValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputError ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)
AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)
AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) AsMigrateSQLServerSQLDbTaskOutputValidationResult() (*MigrateSQLServerSQLDbTaskOutputValidationResult, bool)
AsMigrateSQLServerSQLDbTaskOutputValidationResult is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputValidationResult.
func (MigrateSQLServerSQLDbTaskOutputValidationResult) MarshalJSON ¶
func (msssdtovr MigrateSQLServerSQLDbTaskOutputValidationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputValidationResult.
type MigrateSQLServerSQLDbTaskProperties ¶
type MigrateSQLServerSQLDbTaskProperties struct { // Input - Task input Input *MigrateSQLServerSQLDbTaskInput `json:"input,omitempty"` // Output - Task output. This is ignored if submitted. Output *[]BasicMigrateSQLServerSQLDbTaskOutput `json:"output,omitempty"` // Errors - Array of errors. This is ignored if submitted. Errors *[]ODataError `json:"errors,omitempty"` // State - The state of the task. This is ignored if submitted. Possible values include: 'TaskStateUnknown', 'TaskStateQueued', 'TaskStateRunning', 'TaskStateCanceled', 'TaskStateSucceeded', 'TaskStateFailed', 'TaskStateFailedInputValidation', 'TaskStateFaulted' State TaskState `json:"state,omitempty"` // TaskType - Possible values include: 'TaskTypeUnknown', 'TaskTypeMigrateSQLServerSQLDb', 'TaskTypeGetUserTablesSQL', 'TaskTypeConnectToTargetSQLDb', 'TaskTypeConnectToSourceSQLServer' TaskType TaskType `json:"taskType,omitempty"` }
MigrateSQLServerSQLDbTaskProperties properties for the task that migrates on-prem SQL Server databases to Azure SQL Database
func (MigrateSQLServerSQLDbTaskProperties) AsBasicProjectTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
AsProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.
func (MigrateSQLServerSQLDbTaskProperties) MarshalJSON ¶
func (msssdtp MigrateSQLServerSQLDbTaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskProperties.
func (*MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON ¶
func (msssdtp *MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MigrateSQLServerSQLDbTaskProperties struct.
type MigrateSQLServerSQLServerDatabaseInput ¶
type MigrateSQLServerSQLServerDatabaseInput struct { // Name - Name of the database Name *string `json:"name,omitempty"` // RestoreDatabaseName - Name of the database at destination RestoreDatabaseName *string `json:"restoreDatabaseName,omitempty"` BackupFileShare *FileShare `json:"backupFileShare,omitempty"` // DatabaseFiles - The list of database files DatabaseFiles *[]DatabaseFileInput `json:"databaseFiles,omitempty"` }
MigrateSQLServerSQLServerDatabaseInput database specific information for SQL to SQL migration task inputs
type MigrationEligibilityInfo ¶
type MigrationEligibilityInfo struct { // IsEligibileForMigration - Whether object is eligible for migration or not. IsEligibileForMigration *bool `json:"isEligibileForMigration,omitempty"` // ValidationMessages - Information about eligibility failure for the server object. ValidationMessages *[]string `json:"validationMessages,omitempty"` }
MigrationEligibilityInfo information about migration eligibility of a server object
type MigrationReportResult ¶
type MigrationReportResult struct { // ID - Migration validation result identifier ID *string `json:"id,omitempty"` // ReportURL - The url of the report. ReportURL *string `json:"reportUrl,omitempty"` }
MigrationReportResult migration validation report result, contains the url for downloading the generated report.
type MigrationState ¶
type MigrationState string
MigrationState enumerates the values for migration state.
const ( // MigrationStateCompleted ... MigrationStateCompleted MigrationState = "Completed" // MigrationStateFailed ... MigrationStateFailed MigrationState = "Failed" // MigrationStateInProgress ... MigrationStateInProgress MigrationState = "InProgress" // MigrationStateNone ... MigrationStateNone MigrationState = "None" // MigrationStateSkipped ... MigrationStateSkipped MigrationState = "Skipped" // MigrationStateStopped ... MigrationStateStopped MigrationState = "Stopped" // MigrationStateWarning ... MigrationStateWarning MigrationState = "Warning" )
func PossibleMigrationStateValues ¶
func PossibleMigrationStateValues() []MigrationState
PossibleMigrationStateValues returns an array of possible values for the MigrationState const type.
type MigrationStatus ¶
type MigrationStatus string
MigrationStatus enumerates the values for migration status.
const ( // MigrationStatusCompleted ... MigrationStatusCompleted MigrationStatus = "Completed" // MigrationStatusCompletedWithWarnings ... MigrationStatusCompletedWithWarnings MigrationStatus = "CompletedWithWarnings" // MigrationStatusConfigured ... MigrationStatusConfigured MigrationStatus = "Configured" // MigrationStatusConnecting ... MigrationStatusConnecting MigrationStatus = "Connecting" // MigrationStatusDefault ... MigrationStatusDefault MigrationStatus = "Default" // MigrationStatusError ... MigrationStatusError MigrationStatus = "Error" // MigrationStatusRunning ... MigrationStatusRunning MigrationStatus = "Running" // MigrationStatusSelectLogins ... MigrationStatusSelectLogins MigrationStatus = "SelectLogins" // MigrationStatusSourceAndTargetSelected ... MigrationStatusSourceAndTargetSelected MigrationStatus = "SourceAndTargetSelected" // MigrationStatusStopped ... MigrationStatusStopped MigrationStatus = "Stopped" )
func PossibleMigrationStatusValues ¶
func PossibleMigrationStatusValues() []MigrationStatus
PossibleMigrationStatusValues returns an array of possible values for the MigrationStatus const type.
type MigrationTableMetadata ¶
type MigrationTableMetadata struct { // SourceTableName - Source table name SourceTableName *string `json:"sourceTableName,omitempty"` // TargetTableName - Target table name TargetTableName *string `json:"targetTableName,omitempty"` }
MigrationTableMetadata metadata for tables selected in migration project
type MigrationValidationDatabaseSummaryResult ¶
type MigrationValidationDatabaseSummaryResult struct { // ID - Result identifier ID *string `json:"id,omitempty"` // MigrationID - Migration Identifier MigrationID *string `json:"migrationId,omitempty"` // SourceDatabaseName - Name of the source database SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` // TargetDatabaseName - Name of the target database TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` // StartedOn - Validation start time StartedOn *date.Time `json:"startedOn,omitempty"` // EndedOn - Validation end time EndedOn *date.Time `json:"endedOn,omitempty"` // Status - Current status of validation at the database level. Possible values include: 'ValidationStatusDefault', 'ValidationStatusNotStarted', 'ValidationStatusInitialized', 'ValidationStatusInProgress', 'ValidationStatusCompleted', 'ValidationStatusCompletedWithIssues', 'ValidationStatusFailed', 'ValidationStatusStopped' Status ValidationStatus `json:"status,omitempty"` }
MigrationValidationDatabaseSummaryResult migration Validation Database level summary result
type MigrationValidationOptions ¶
type MigrationValidationOptions struct { // EnableSchemaValidation - Allows to compare the schema information between source and target. EnableSchemaValidation *bool `json:"enableSchemaValidation,omitempty"` // EnableDataIntegrityValidation - Allows to perform a checksum based data integrity validation between source and target for the selected database / tables . EnableDataIntegrityValidation *bool `json:"enableDataIntegrityValidation,omitempty"` // EnableQueryAnalysisValidation - Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries. EnableQueryAnalysisValidation *bool `json:"enableQueryAnalysisValidation,omitempty"` }
MigrationValidationOptions types of validations to run after the migration
type NameAvailabilityRequest ¶
type NameAvailabilityRequest struct { // Name - The proposed resource name Name *string `json:"name,omitempty"` // Type - The resource type chain (e.g. virtualMachines/extensions) Type *string `json:"type,omitempty"` }
NameAvailabilityRequest a resource type and proposed name
type NameAvailabilityResponse ¶
type NameAvailabilityResponse struct { autorest.Response `json:"-"` // NameAvailable - If true, the name is valid and available. If false, 'reason' describes why not. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - The reason why the name is not available, if nameAvailable is false. Possible values include: 'AlreadyExists', 'Invalid' Reason NameCheckFailureReason `json:"reason,omitempty"` // Message - The localized reason why the name is not available, if nameAvailable is false Message *string `json:"message,omitempty"` }
NameAvailabilityResponse indicates whether a proposed resource name is available
type NameCheckFailureReason ¶
type NameCheckFailureReason string
NameCheckFailureReason enumerates the values for name check failure reason.
const ( // AlreadyExists ... AlreadyExists NameCheckFailureReason = "AlreadyExists" // Invalid ... Invalid NameCheckFailureReason = "Invalid" )
func PossibleNameCheckFailureReasonValues ¶
func PossibleNameCheckFailureReasonValues() []NameCheckFailureReason
PossibleNameCheckFailureReasonValues returns an array of possible values for the NameCheckFailureReason const type.
type ODataError ¶
type ODataError struct { // Code - The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError' Code *string `json:"code,omitempty"` // Message - The human-readable description of the error Message *string `json:"message,omitempty"` // Details - Inner errors that caused this error Details *[]ODataError `json:"details,omitempty"` }
ODataError error information in OData format.
type ObjectType ¶
type ObjectType string
ObjectType enumerates the values for object type.
const ( // Function ... Function ObjectType = "Function" // StoredProcedures ... StoredProcedures ObjectType = "StoredProcedures" // Table ... Table ObjectType = "Table" // User ... User ObjectType = "User" // View ... View ObjectType = "View" )
func PossibleObjectTypeValues ¶
func PossibleObjectTypeValues() []ObjectType
PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the data Migration Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result ServiceOperationListPage, err error)
List lists all available actions exposed by the Database Migration Service resource provider.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result ServiceOperationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result ServiceOperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Project ¶
type Project struct { autorest.Response `json:"-"` // ProjectProperties - Project properties *ProjectProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - Resource location. Location *string `json:"location,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
Project a project resource
func (Project) MarshalJSON ¶
MarshalJSON is the custom marshaler for Project.
func (*Project) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Project struct.
type ProjectList ¶
type ProjectList struct { autorest.Response `json:"-"` // Value - List of projects Value *[]Project `json:"value,omitempty"` // NextLink - URL to load the next page of projects NextLink *string `json:"nextLink,omitempty"` }
ProjectList oData page of project resources
func (ProjectList) IsEmpty ¶
func (pl ProjectList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ProjectListIterator ¶
type ProjectListIterator struct {
// contains filtered or unexported fields
}
ProjectListIterator provides access to a complete listing of Project values.
func NewProjectListIterator ¶
func NewProjectListIterator(page ProjectListPage) ProjectListIterator
Creates a new instance of the ProjectListIterator type.
func (*ProjectListIterator) Next ¶
func (iter *ProjectListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ProjectListIterator) NextWithContext ¶
func (iter *ProjectListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ProjectListIterator) NotDone ¶
func (iter ProjectListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ProjectListIterator) Response ¶
func (iter ProjectListIterator) Response() ProjectList
Response returns the raw server response from the last page request.
func (ProjectListIterator) Value ¶
func (iter ProjectListIterator) Value() Project
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ProjectListPage ¶
type ProjectListPage struct {
// contains filtered or unexported fields
}
ProjectListPage contains a page of Project values.
func NewProjectListPage ¶
func NewProjectListPage(getNextPage func(context.Context, ProjectList) (ProjectList, error)) ProjectListPage
Creates a new instance of the ProjectListPage type.
func (*ProjectListPage) Next ¶
func (page *ProjectListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ProjectListPage) NextWithContext ¶
func (page *ProjectListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ProjectListPage) NotDone ¶
func (page ProjectListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ProjectListPage) Response ¶
func (page ProjectListPage) Response() ProjectList
Response returns the raw server response from the last page request.
func (ProjectListPage) Values ¶
func (page ProjectListPage) Values() []Project
Values returns the slice of values for the current page or nil if there are no values.
type ProjectMetadata ¶
type ProjectMetadata struct { // SourceServerName - Source server name SourceServerName *string `json:"sourceServerName,omitempty"` // SourceServerPort - Source server port number SourceServerPort *string `json:"sourceServerPort,omitempty"` // SourceUsername - Source username SourceUsername *string `json:"sourceUsername,omitempty"` // TargetServerName - Target server name TargetServerName *string `json:"targetServerName,omitempty"` // TargetUsername - Target username TargetUsername *string `json:"targetUsername,omitempty"` // TargetDbName - Target database name TargetDbName *string `json:"targetDbName,omitempty"` // TargetUsingWinAuth - Whether target connection is Windows authentication TargetUsingWinAuth *bool `json:"targetUsingWinAuth,omitempty"` // SelectedMigrationTables - List of tables selected for migration SelectedMigrationTables *[]MigrationTableMetadata `json:"selectedMigrationTables,omitempty"` }
ProjectMetadata common metadata for migration projects
type ProjectProperties ¶
type ProjectProperties struct { // SourcePlatform - Source platform for the project. Possible values include: 'SQL', 'Unknown' SourcePlatform ProjectSourcePlatform `json:"sourcePlatform,omitempty"` // TargetPlatform - Target platform for the project. Possible values include: 'ProjectTargetPlatformSQLDB', 'ProjectTargetPlatformUnknown' TargetPlatform ProjectTargetPlatform `json:"targetPlatform,omitempty"` // CreationTime - UTC Date and time when project was created CreationTime *date.Time `json:"creationTime,omitempty"` // SourceConnectionInfo - Information for connecting to source SourceConnectionInfo BasicConnectionInfo `json:"sourceConnectionInfo,omitempty"` // TargetConnectionInfo - Information for connecting to target TargetConnectionInfo BasicConnectionInfo `json:"targetConnectionInfo,omitempty"` // DatabasesInfo - List of DatabaseInfo DatabasesInfo *[]DatabaseInfo `json:"databasesInfo,omitempty"` // ProvisioningState - The project's provisioning state. Possible values include: 'Deleting', 'Succeeded' ProvisioningState ProjectProvisioningState `json:"provisioningState,omitempty"` }
ProjectProperties project-specific properties
func (*ProjectProperties) UnmarshalJSON ¶
func (pp *ProjectProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProjectProperties struct.
type ProjectProvisioningState ¶
type ProjectProvisioningState string
ProjectProvisioningState enumerates the values for project provisioning state.
const ( // Deleting ... Deleting ProjectProvisioningState = "Deleting" // Succeeded ... Succeeded ProjectProvisioningState = "Succeeded" )
func PossibleProjectProvisioningStateValues ¶
func PossibleProjectProvisioningStateValues() []ProjectProvisioningState
PossibleProjectProvisioningStateValues returns an array of possible values for the ProjectProvisioningState const type.
type ProjectSourcePlatform ¶
type ProjectSourcePlatform string
ProjectSourcePlatform enumerates the values for project source platform.
const ( // SQL ... SQL ProjectSourcePlatform = "SQL" // Unknown ... Unknown ProjectSourcePlatform = "Unknown" )
func PossibleProjectSourcePlatformValues ¶
func PossibleProjectSourcePlatformValues() []ProjectSourcePlatform
PossibleProjectSourcePlatformValues returns an array of possible values for the ProjectSourcePlatform const type.
type ProjectTargetPlatform ¶
type ProjectTargetPlatform string
ProjectTargetPlatform enumerates the values for project target platform.
const ( // ProjectTargetPlatformSQLDB ... ProjectTargetPlatformSQLDB ProjectTargetPlatform = "SQLDB" // ProjectTargetPlatformUnknown ... ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown" )
func PossibleProjectTargetPlatformValues ¶
func PossibleProjectTargetPlatformValues() []ProjectTargetPlatform
PossibleProjectTargetPlatformValues returns an array of possible values for the ProjectTargetPlatform const type.
type ProjectTask ¶
type ProjectTask struct { autorest.Response `json:"-"` // Etag - HTTP strong entity tag value. This is ignored if submitted. Etag *string `json:"etag,omitempty"` // Properties - Custom task properties Properties BasicProjectTaskProperties `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ProjectTask a task resource
func (*ProjectTask) UnmarshalJSON ¶
func (pt *ProjectTask) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProjectTask struct.
type ProjectTaskProperties ¶
type ProjectTaskProperties struct { // Errors - Array of errors. This is ignored if submitted. Errors *[]ODataError `json:"errors,omitempty"` // State - The state of the task. This is ignored if submitted. Possible values include: 'TaskStateUnknown', 'TaskStateQueued', 'TaskStateRunning', 'TaskStateCanceled', 'TaskStateSucceeded', 'TaskStateFailed', 'TaskStateFailedInputValidation', 'TaskStateFaulted' State TaskState `json:"state,omitempty"` // TaskType - Possible values include: 'TaskTypeUnknown', 'TaskTypeMigrateSQLServerSQLDb', 'TaskTypeGetUserTablesSQL', 'TaskTypeConnectToTargetSQLDb', 'TaskTypeConnectToSourceSQLServer' TaskType TaskType `json:"taskType,omitempty"` }
ProjectTaskProperties base class for all types of DMS task properties. If task is not supported by current client, this object is returned.
func (ProjectTaskProperties) AsBasicProjectTaskProperties ¶
func (ptp ProjectTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)
AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties ¶
func (ptp ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)
AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties ¶
func (ptp ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)
AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) AsGetUserTablesSQLTaskProperties ¶
func (ptp ProjectTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)
AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties ¶
func (ptp ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)
AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) AsProjectTaskProperties ¶
func (ptp ProjectTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)
AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.
func (ProjectTaskProperties) MarshalJSON ¶
func (ptp ProjectTaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProjectTaskProperties.
type ProjectsClient ¶
type ProjectsClient struct {
BaseClient
}
ProjectsClient is the data Migration Client
func NewProjectsClient ¶
func NewProjectsClient(subscriptionID string) ProjectsClient
NewProjectsClient creates an instance of the ProjectsClient client.
func NewProjectsClientWithBaseURI ¶
func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string) ProjectsClient
NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client.
func (ProjectsClient) CreateOrUpdate ¶
func (client ProjectsClient) CreateOrUpdate(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (result Project, err error)
CreateOrUpdate the project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one. Parameters: parameters - information about the project groupName - name of the resource group serviceName - name of the service projectName - name of the project
func (ProjectsClient) CreateOrUpdatePreparer ¶
func (client ProjectsClient) CreateOrUpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ProjectsClient) CreateOrUpdateResponder ¶
func (client ProjectsClient) CreateOrUpdateResponder(resp *http.Response) (result Project, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ProjectsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ProjectsClient) Delete ¶
func (client ProjectsClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, deleteRunningTasks *bool) (result autorest.Response, err error)
Delete the project resource is a nested resource representing a stored migration project. The DELETE method deletes a project. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project deleteRunningTasks - delete the resource even if it contains running tasks
func (ProjectsClient) DeletePreparer ¶
func (client ProjectsClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, deleteRunningTasks *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ProjectsClient) DeleteResponder ¶
func (client ProjectsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ProjectsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ProjectsClient) Get ¶
func (client ProjectsClient) Get(ctx context.Context, groupName string, serviceName string, projectName string) (result Project, err error)
Get the project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project
func (ProjectsClient) GetPreparer ¶
func (client ProjectsClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProjectsClient) GetResponder ¶
func (client ProjectsClient) GetResponder(resp *http.Response) (result Project, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProjectsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProjectsClient) ListByResourceGroup ¶
func (client ProjectsClient) ListByResourceGroup(ctx context.Context, groupName string, serviceName string) (result ProjectListPage, err error)
ListByResourceGroup the project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource. Parameters: groupName - name of the resource group serviceName - name of the service
func (ProjectsClient) ListByResourceGroupComplete ¶
func (client ProjectsClient) ListByResourceGroupComplete(ctx context.Context, groupName string, serviceName string) (result ProjectListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ProjectsClient) ListByResourceGroupPreparer ¶
func (client ProjectsClient) ListByResourceGroupPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ProjectsClient) ListByResourceGroupResponder ¶
func (client ProjectsClient) ListByResourceGroupResponder(resp *http.Response) (result ProjectList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ProjectsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ProjectsClient) Update ¶
func (client ProjectsClient) Update(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (result Project, err error)
Update the project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project. Parameters: parameters - information about the project groupName - name of the resource group serviceName - name of the service projectName - name of the project
func (ProjectsClient) UpdatePreparer ¶
func (client ProjectsClient) UpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ProjectsClient) UpdateResponder ¶
func (client ProjectsClient) UpdateResponder(resp *http.Response) (result Project, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ProjectsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type QueryAnalysisValidationResult ¶
type QueryAnalysisValidationResult struct { // QueryResults - List of queries executed and it's execution results in source and target QueryResults *QueryExecutionResult `json:"queryResults,omitempty"` // ValidationErrors - Errors that are part of the execution ValidationErrors *ValidationError `json:"validationErrors,omitempty"` }
QueryAnalysisValidationResult results for query analysis comparison between the source and target
type QueryExecutionResult ¶
type QueryExecutionResult struct { // QueryText - Query text retrieved from the source server QueryText *string `json:"queryText,omitempty"` // StatementsInBatch - Total no. of statements in the batch StatementsInBatch *int64 `json:"statementsInBatch,omitempty"` // SourceResult - Query analysis result from the source SourceResult *ExecutionStatistics `json:"sourceResult,omitempty"` // TargetResult - Query analysis result from the target TargetResult *ExecutionStatistics `json:"targetResult,omitempty"` }
QueryExecutionResult describes query analysis results for execution in source and target
type Quota ¶
type Quota struct { // CurrentValue - The current value of the quota. If null or missing, the current value cannot be determined in the context of the request. CurrentValue *float64 `json:"currentValue,omitempty"` // ID - The resource ID of the quota object ID *string `json:"id,omitempty"` // Limit - The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage. Limit *float64 `json:"limit,omitempty"` // Name - The name of the quota Name *QuotaName `json:"name,omitempty"` // Unit - The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. Unit *string `json:"unit,omitempty"` }
Quota describes a quota for or usage details about a resource
type QuotaList ¶
type QuotaList struct { autorest.Response `json:"-"` // Value - List of quotas Value *[]Quota `json:"value,omitempty"` // NextLink - URL to load the next page of quotas, or null or missing if this is the last page NextLink *string `json:"nextLink,omitempty"` }
QuotaList oData page of quota objects
type QuotaListIterator ¶
type QuotaListIterator struct {
// contains filtered or unexported fields
}
QuotaListIterator provides access to a complete listing of Quota values.
func NewQuotaListIterator ¶
func NewQuotaListIterator(page QuotaListPage) QuotaListIterator
Creates a new instance of the QuotaListIterator type.
func (*QuotaListIterator) Next ¶
func (iter *QuotaListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*QuotaListIterator) NextWithContext ¶
func (iter *QuotaListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (QuotaListIterator) NotDone ¶
func (iter QuotaListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (QuotaListIterator) Response ¶
func (iter QuotaListIterator) Response() QuotaList
Response returns the raw server response from the last page request.
func (QuotaListIterator) Value ¶
func (iter QuotaListIterator) Value() Quota
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type QuotaListPage ¶
type QuotaListPage struct {
// contains filtered or unexported fields
}
QuotaListPage contains a page of Quota values.
func NewQuotaListPage ¶
func NewQuotaListPage(getNextPage func(context.Context, QuotaList) (QuotaList, error)) QuotaListPage
Creates a new instance of the QuotaListPage type.
func (*QuotaListPage) Next ¶
func (page *QuotaListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*QuotaListPage) NextWithContext ¶
func (page *QuotaListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (QuotaListPage) NotDone ¶
func (page QuotaListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (QuotaListPage) Response ¶
func (page QuotaListPage) Response() QuotaList
Response returns the raw server response from the last page request.
func (QuotaListPage) Values ¶
func (page QuotaListPage) Values() []Quota
Values returns the slice of values for the current page or nil if there are no values.
type QuotaName ¶
type QuotaName struct { // LocalizedValue - The localized name of the quota LocalizedValue *string `json:"localizedValue,omitempty"` // Value - The unlocalized name (or ID) of the quota Value *string `json:"value,omitempty"` }
QuotaName the name of the quota
type ReportableException ¶
type ReportableException struct { // Message - Error message Message *string `json:"message,omitempty"` // FilePath - The path to the file where exception occurred FilePath *string `json:"filePath,omitempty"` // LineNumber - The line number where exception occurred LineNumber *string `json:"lineNumber,omitempty"` // HResult - Coded numerical value that is assigned to a specific exception HResult *int32 `json:"hResult,omitempty"` // StackTrace - Stack trace StackTrace *string `json:"stackTrace,omitempty"` }
ReportableException exception object for all custom exceptions
type Resource ¶
type Resource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
Resource ARM resource.
type ResourceSku ¶
type ResourceSku struct { // ResourceType - The type of resource the SKU applies to. ResourceType *string `json:"resourceType,omitempty"` // Name - The name of SKU. Name *string `json:"name,omitempty"` // Tier - Specifies the tier of DMS in a scale set. Tier *string `json:"tier,omitempty"` // Size - The Size of the SKU. Size *string `json:"size,omitempty"` // Family - The Family of this particular SKU. Family *string `json:"family,omitempty"` // Kind - The Kind of resources that are supported in this SKU. Kind *string `json:"kind,omitempty"` // Capacity - Not used. Capacity *ResourceSkuCapacity `json:"capacity,omitempty"` // Locations - The set of locations that the SKU is available. Locations *[]string `json:"locations,omitempty"` // APIVersions - The api versions that support this SKU. APIVersions *[]string `json:"apiVersions,omitempty"` // Costs - Metadata for retrieving price info. Costs *[]ResourceSkuCosts `json:"costs,omitempty"` // Capabilities - A name value pair to describe the capability. Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` // Restrictions - The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` }
ResourceSku describes an available DMS SKU.
type ResourceSkuCapabilities ¶
type ResourceSkuCapabilities struct { // Name - An invariant to describe the feature. Name *string `json:"name,omitempty"` // Value - An invariant if the feature is measured by quantity. Value *string `json:"value,omitempty"` }
ResourceSkuCapabilities describes The SKU capabilites object.
type ResourceSkuCapacity ¶
type ResourceSkuCapacity struct { // Minimum - The minimum capacity. Minimum *int64 `json:"minimum,omitempty"` // Maximum - The maximum capacity. Maximum *int64 `json:"maximum,omitempty"` // Default - The default capacity. Default *int64 `json:"default,omitempty"` // ScaleType - The scale type applicable to the SKU. Possible values include: 'ResourceSkuCapacityScaleTypeAutomatic', 'ResourceSkuCapacityScaleTypeManual', 'ResourceSkuCapacityScaleTypeNone' ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` }
ResourceSkuCapacity describes scaling information of a SKU.
type ResourceSkuCapacityScaleType ¶
type ResourceSkuCapacityScaleType string
ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
const ( // ResourceSkuCapacityScaleTypeAutomatic ... ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic" // ResourceSkuCapacityScaleTypeManual ... ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual" // ResourceSkuCapacityScaleTypeNone ... ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None" )
func PossibleResourceSkuCapacityScaleTypeValues ¶
func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType
PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.
type ResourceSkuCosts ¶
type ResourceSkuCosts struct { // MeterID - Used for querying price from commerce. MeterID *string `json:"meterID,omitempty"` // Quantity - The multiplier is needed to extend the base metered cost. Quantity *int64 `json:"quantity,omitempty"` // ExtendedUnit - An invariant to show the extended unit. ExtendedUnit *string `json:"extendedUnit,omitempty"` }
ResourceSkuCosts describes metadata for retrieving price info.
type ResourceSkuRestrictions ¶
type ResourceSkuRestrictions struct { // Type - The type of restrictions. Possible values include: 'Location' Type ResourceSkuRestrictionsType `json:"type,omitempty"` // Values - The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Values *[]string `json:"values,omitempty"` // ReasonCode - The reason code for restriction. Possible values include: 'QuotaID', 'NotAvailableForSubscription' ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` }
ResourceSkuRestrictions describes scaling information of a SKU.
type ResourceSkuRestrictionsReasonCode ¶
type ResourceSkuRestrictionsReasonCode string
ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
const ( // NotAvailableForSubscription ... NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription" // QuotaID ... QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId" )
func PossibleResourceSkuRestrictionsReasonCodeValues ¶
func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode
PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
const ( // Location ... Location ResourceSkuRestrictionsType = "location" )
func PossibleResourceSkuRestrictionsTypeValues ¶
func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType
PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.
type ResourceSkusClient ¶
type ResourceSkusClient struct {
BaseClient
}
ResourceSkusClient is the data Migration Client
func NewResourceSkusClient ¶
func NewResourceSkusClient(subscriptionID string) ResourceSkusClient
NewResourceSkusClient creates an instance of the ResourceSkusClient client.
func NewResourceSkusClientWithBaseURI ¶
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient
NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.
func (ResourceSkusClient) ListSkus ¶
func (client ResourceSkusClient) ListSkus(ctx context.Context) (result ResourceSkusResultPage, err error)
ListSkus the skus action returns the list of SKUs that DMS supports.
func (ResourceSkusClient) ListSkusComplete ¶
func (client ResourceSkusClient) ListSkusComplete(ctx context.Context) (result ResourceSkusResultIterator, err error)
ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceSkusClient) ListSkusPreparer ¶
ListSkusPreparer prepares the ListSkus request.
func (ResourceSkusClient) ListSkusResponder ¶
func (client ResourceSkusClient) ListSkusResponder(resp *http.Response) (result ResourceSkusResult, err error)
ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (ResourceSkusClient) ListSkusSender ¶
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
type ResourceSkusResult ¶
type ResourceSkusResult struct { autorest.Response `json:"-"` // Value - The list of SKUs available for the subscription. Value *[]ResourceSku `json:"value,omitempty"` // NextLink - The uri to fetch the next page of DMS SKUs. Call ListNext() with this to fetch the next page of DMS SKUs. NextLink *string `json:"nextLink,omitempty"` }
ResourceSkusResult the DMS List SKUs operation response.
func (ResourceSkusResult) IsEmpty ¶
func (rsr ResourceSkusResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResourceSkusResultIterator ¶
type ResourceSkusResultIterator struct {
// contains filtered or unexported fields
}
ResourceSkusResultIterator provides access to a complete listing of ResourceSku values.
func NewResourceSkusResultIterator ¶
func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator
Creates a new instance of the ResourceSkusResultIterator type.
func (*ResourceSkusResultIterator) Next ¶
func (iter *ResourceSkusResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ResourceSkusResultIterator) NextWithContext ¶
func (iter *ResourceSkusResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ResourceSkusResultIterator) NotDone ¶
func (iter ResourceSkusResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ResourceSkusResultIterator) Response ¶
func (iter ResourceSkusResultIterator) Response() ResourceSkusResult
Response returns the raw server response from the last page request.
func (ResourceSkusResultIterator) Value ¶
func (iter ResourceSkusResultIterator) Value() ResourceSku
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ResourceSkusResultPage ¶
type ResourceSkusResultPage struct {
// contains filtered or unexported fields
}
ResourceSkusResultPage contains a page of ResourceSku values.
func NewResourceSkusResultPage ¶
func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage
Creates a new instance of the ResourceSkusResultPage type.
func (*ResourceSkusResultPage) Next ¶
func (page *ResourceSkusResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ResourceSkusResultPage) NextWithContext ¶
func (page *ResourceSkusResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ResourceSkusResultPage) NotDone ¶
func (page ResourceSkusResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ResourceSkusResultPage) Response ¶
func (page ResourceSkusResultPage) Response() ResourceSkusResult
Response returns the raw server response from the last page request.
func (ResourceSkusResultPage) Values ¶
func (page ResourceSkusResultPage) Values() []ResourceSku
Values returns the slice of values for the current page or nil if there are no values.
type ResultType ¶
type ResultType string
ResultType enumerates the values for result type.
const ( // ResultTypeDatabaseLevelOutput ... ResultTypeDatabaseLevelOutput ResultType = "DatabaseLevelOutput" // ResultTypeErrorOutput ... ResultTypeErrorOutput ResultType = "ErrorOutput" // ResultTypeMigrateSQLServerSQLDbTaskOutput ... ResultTypeMigrateSQLServerSQLDbTaskOutput ResultType = "MigrateSqlServerSqlDbTaskOutput" // ResultTypeMigrationDatabaseLevelValidationOutput ... ResultTypeMigrationDatabaseLevelValidationOutput ResultType = "MigrationDatabaseLevelValidationOutput" // ResultTypeMigrationLevelOutput ... ResultTypeMigrationLevelOutput ResultType = "MigrationLevelOutput" // ResultTypeMigrationValidationOutput ... ResultTypeMigrationValidationOutput ResultType = "MigrationValidationOutput" // ResultTypeTableLevelOutput ... ResultTypeTableLevelOutput ResultType = "TableLevelOutput" )
func PossibleResultTypeValues ¶
func PossibleResultTypeValues() []ResultType
PossibleResultTypeValues returns an array of possible values for the ResultType const type.
type ResultTypeBasicConnectToSourceSQLServerTaskOutput ¶
type ResultTypeBasicConnectToSourceSQLServerTaskOutput string
ResultTypeBasicConnectToSourceSQLServerTaskOutput enumerates the values for result type basic connect to source sql server task output.
const ( // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput ... ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeAgentJobLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "AgentJobLevelOutput" // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput ... ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "ConnectToSourceSqlServerTaskOutput" // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput ... ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "DatabaseLevelOutput" // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput ... ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeLoginLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "LoginLevelOutput" // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput ... ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "TaskLevelOutput" )
func PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues ¶
func PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues() []ResultTypeBasicConnectToSourceSQLServerTaskOutput
PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues returns an array of possible values for the ResultTypeBasicConnectToSourceSQLServerTaskOutput const type.
type SQLConnectionInfo ¶
type SQLConnectionInfo struct { // DataSource - Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber DataSource *string `json:"dataSource,omitempty"` // Authentication - Authentication type to use for connection. Possible values include: 'None', 'WindowsAuthentication', 'SQLAuthentication', 'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword' Authentication AuthenticationType `json:"authentication,omitempty"` // EncryptConnection - Whether to encrypt the connection EncryptConnection *bool `json:"encryptConnection,omitempty"` // AdditionalSettings - Additional connection settings AdditionalSettings *string `json:"additionalSettings,omitempty"` // TrustServerCertificate - Whether to trust the server certificate TrustServerCertificate *bool `json:"trustServerCertificate,omitempty"` // UserName - User name UserName *string `json:"userName,omitempty"` // Password - Password credential. Password *string `json:"password,omitempty"` // Type - Possible values include: 'TypeUnknown', 'TypeSQLConnectionInfo' Type Type `json:"type,omitempty"` }
SQLConnectionInfo information for connecting to SQL database server
func (SQLConnectionInfo) AsBasicConnectionInfo ¶
func (sci SQLConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool)
AsBasicConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.
func (SQLConnectionInfo) AsConnectionInfo ¶
func (sci SQLConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool)
AsConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.
func (SQLConnectionInfo) AsSQLConnectionInfo ¶
func (sci SQLConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool)
AsSQLConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.
func (SQLConnectionInfo) MarshalJSON ¶
func (sci SQLConnectionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLConnectionInfo.
type SQLMigrationTaskInput ¶
type SQLMigrationTaskInput struct { // SourceConnectionInfo - Information for connecting to source SourceConnectionInfo *SQLConnectionInfo `json:"sourceConnectionInfo,omitempty"` // TargetConnectionInfo - Information for connecting to target TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` }
SQLMigrationTaskInput base class for migration task input
type SchemaComparisonValidationResult ¶
type SchemaComparisonValidationResult struct { // SchemaDifferences - List of schema differences between the source and target databases SchemaDifferences *SchemaComparisonValidationResultType `json:"schemaDifferences,omitempty"` // ValidationErrors - List of errors that happened while performing schema compare validation ValidationErrors *ValidationError `json:"validationErrors,omitempty"` // SourceDatabaseObjectCount - Count of source database objects SourceDatabaseObjectCount map[string]*int64 `json:"sourceDatabaseObjectCount"` // TargetDatabaseObjectCount - Count of target database objects TargetDatabaseObjectCount map[string]*int64 `json:"targetDatabaseObjectCount"` }
SchemaComparisonValidationResult results for schema comparison between the source and target
func (SchemaComparisonValidationResult) MarshalJSON ¶
func (scvr SchemaComparisonValidationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SchemaComparisonValidationResult.
type SchemaComparisonValidationResultType ¶
type SchemaComparisonValidationResultType struct { // ObjectName - Name of the object that has the difference ObjectName *string `json:"objectName,omitempty"` // ObjectType - Type of the object that has the difference. e.g (Table/View/StoredProcedure). Possible values include: 'StoredProcedures', 'Table', 'User', 'View', 'Function' ObjectType ObjectType `json:"objectType,omitempty"` // UpdateAction - Update action type with respect to target. Possible values include: 'DeletedOnTarget', 'ChangedOnTarget', 'AddedOnTarget' UpdateAction UpdateActionType `json:"updateAction,omitempty"` }
SchemaComparisonValidationResultType description about the errors happen while performing migration validation
type ServerLevelPermissionsGroup ¶
type ServerLevelPermissionsGroup string
ServerLevelPermissionsGroup enumerates the values for server level permissions group.
const ( // Default ... Default ServerLevelPermissionsGroup = "Default" // MigrationFromSQLServerToAzureDB ... MigrationFromSQLServerToAzureDB ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB" )
func PossibleServerLevelPermissionsGroupValues ¶
func PossibleServerLevelPermissionsGroupValues() []ServerLevelPermissionsGroup
PossibleServerLevelPermissionsGroupValues returns an array of possible values for the ServerLevelPermissionsGroup const type.
type Service ¶
type Service struct { autorest.Response `json:"-"` // Etag - HTTP strong entity tag value. Ignored if submitted Etag *string `json:"etag,omitempty"` // Kind - The resource kind. Only 'vm' (the default) is supported. Kind *string `json:"kind,omitempty"` // ServiceProperties - Custom service properties *ServiceProperties `json:"properties,omitempty"` // Sku - Service SKU Sku *ServiceSku `json:"sku,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - Resource location. Location *string `json:"location,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
Service a Database Migration Service resource
func (Service) MarshalJSON ¶
MarshalJSON is the custom marshaler for Service.
func (*Service) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Service struct.
type ServiceList ¶
type ServiceList struct { autorest.Response `json:"-"` // Value - List of services Value *[]Service `json:"value,omitempty"` // NextLink - URL to load the next page of services NextLink *string `json:"nextLink,omitempty"` }
ServiceList oData page of service objects
func (ServiceList) IsEmpty ¶
func (sl ServiceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceListIterator ¶
type ServiceListIterator struct {
// contains filtered or unexported fields
}
ServiceListIterator provides access to a complete listing of Service values.
func NewServiceListIterator ¶
func NewServiceListIterator(page ServiceListPage) ServiceListIterator
Creates a new instance of the ServiceListIterator type.
func (*ServiceListIterator) Next ¶
func (iter *ServiceListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceListIterator) NextWithContext ¶
func (iter *ServiceListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServiceListIterator) NotDone ¶
func (iter ServiceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceListIterator) Response ¶
func (iter ServiceListIterator) Response() ServiceList
Response returns the raw server response from the last page request.
func (ServiceListIterator) Value ¶
func (iter ServiceListIterator) Value() Service
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceListPage ¶
type ServiceListPage struct {
// contains filtered or unexported fields
}
ServiceListPage contains a page of Service values.
func NewServiceListPage ¶
func NewServiceListPage(getNextPage func(context.Context, ServiceList) (ServiceList, error)) ServiceListPage
Creates a new instance of the ServiceListPage type.
func (*ServiceListPage) Next ¶
func (page *ServiceListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceListPage) NextWithContext ¶
func (page *ServiceListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServiceListPage) NotDone ¶
func (page ServiceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceListPage) Response ¶
func (page ServiceListPage) Response() ServiceList
Response returns the raw server response from the last page request.
func (ServiceListPage) Values ¶
func (page ServiceListPage) Values() []Service
Values returns the slice of values for the current page or nil if there are no values.
type ServiceOperation ¶
type ServiceOperation struct { // Name - The fully qualified action name, e.g. Microsoft.DataMigration/services/read Name *string `json:"name,omitempty"` // Display - Localized display text Display *ServiceOperationDisplay `json:"display,omitempty"` }
ServiceOperation description of an action supported by the Database Migration Service
type ServiceOperationDisplay ¶
type ServiceOperationDisplay struct { // Provider - The localized resource provider name Provider *string `json:"provider,omitempty"` // Resource - The localized resource type name Resource *string `json:"resource,omitempty"` // Operation - The localized operation name Operation *string `json:"operation,omitempty"` // Description - The localized operation description Description *string `json:"description,omitempty"` }
ServiceOperationDisplay localized display text
type ServiceOperationList ¶
type ServiceOperationList struct { autorest.Response `json:"-"` // Value - List of actions Value *[]ServiceOperation `json:"value,omitempty"` // NextLink - URL to load the next page of actions NextLink *string `json:"nextLink,omitempty"` }
ServiceOperationList oData page of action (operation) objects
func (ServiceOperationList) IsEmpty ¶
func (sol ServiceOperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceOperationListIterator ¶
type ServiceOperationListIterator struct {
// contains filtered or unexported fields
}
ServiceOperationListIterator provides access to a complete listing of ServiceOperation values.
func NewServiceOperationListIterator ¶
func NewServiceOperationListIterator(page ServiceOperationListPage) ServiceOperationListIterator
Creates a new instance of the ServiceOperationListIterator type.
func (*ServiceOperationListIterator) Next ¶
func (iter *ServiceOperationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceOperationListIterator) NextWithContext ¶
func (iter *ServiceOperationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServiceOperationListIterator) NotDone ¶
func (iter ServiceOperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceOperationListIterator) Response ¶
func (iter ServiceOperationListIterator) Response() ServiceOperationList
Response returns the raw server response from the last page request.
func (ServiceOperationListIterator) Value ¶
func (iter ServiceOperationListIterator) Value() ServiceOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceOperationListPage ¶
type ServiceOperationListPage struct {
// contains filtered or unexported fields
}
ServiceOperationListPage contains a page of ServiceOperation values.
func NewServiceOperationListPage ¶
func NewServiceOperationListPage(getNextPage func(context.Context, ServiceOperationList) (ServiceOperationList, error)) ServiceOperationListPage
Creates a new instance of the ServiceOperationListPage type.
func (*ServiceOperationListPage) Next ¶
func (page *ServiceOperationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceOperationListPage) NextWithContext ¶
func (page *ServiceOperationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServiceOperationListPage) NotDone ¶
func (page ServiceOperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceOperationListPage) Response ¶
func (page ServiceOperationListPage) Response() ServiceOperationList
Response returns the raw server response from the last page request.
func (ServiceOperationListPage) Values ¶
func (page ServiceOperationListPage) Values() []ServiceOperation
Values returns the slice of values for the current page or nil if there are no values.
type ServiceProperties ¶
type ServiceProperties struct { // ProvisioningState - The resource's provisioning state. Possible values include: 'ServiceProvisioningStateAccepted', 'ServiceProvisioningStateDeleting', 'ServiceProvisioningStateDeploying', 'ServiceProvisioningStateStopped', 'ServiceProvisioningStateStopping', 'ServiceProvisioningStateStarting', 'ServiceProvisioningStateFailedToStart', 'ServiceProvisioningStateFailedToStop', 'ServiceProvisioningStateSucceeded', 'ServiceProvisioningStateFailed' ProvisioningState ServiceProvisioningState `json:"provisioningState,omitempty"` // PublicKey - The public key of the service, used to encrypt secrets sent to the service PublicKey *string `json:"publicKey,omitempty"` // VirtualSubnetID - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined VirtualSubnetID *string `json:"virtualSubnetId,omitempty"` }
ServiceProperties properties of the Data Migration service instance
type ServiceProvisioningState ¶
type ServiceProvisioningState string
ServiceProvisioningState enumerates the values for service provisioning state.
const ( // ServiceProvisioningStateAccepted ... ServiceProvisioningStateAccepted ServiceProvisioningState = "Accepted" // ServiceProvisioningStateDeleting ... ServiceProvisioningStateDeleting ServiceProvisioningState = "Deleting" // ServiceProvisioningStateDeploying ... ServiceProvisioningStateDeploying ServiceProvisioningState = "Deploying" // ServiceProvisioningStateFailed ... ServiceProvisioningStateFailed ServiceProvisioningState = "Failed" // ServiceProvisioningStateFailedToStart ... ServiceProvisioningStateFailedToStart ServiceProvisioningState = "FailedToStart" // ServiceProvisioningStateFailedToStop ... ServiceProvisioningStateFailedToStop ServiceProvisioningState = "FailedToStop" // ServiceProvisioningStateStarting ... ServiceProvisioningStateStarting ServiceProvisioningState = "Starting" // ServiceProvisioningStateStopped ... ServiceProvisioningStateStopped ServiceProvisioningState = "Stopped" // ServiceProvisioningStateStopping ... ServiceProvisioningStateStopping ServiceProvisioningState = "Stopping" // ServiceProvisioningStateSucceeded ... ServiceProvisioningStateSucceeded ServiceProvisioningState = "Succeeded" )
func PossibleServiceProvisioningStateValues ¶
func PossibleServiceProvisioningStateValues() []ServiceProvisioningState
PossibleServiceProvisioningStateValues returns an array of possible values for the ServiceProvisioningState const type.
type ServiceScalability ¶
type ServiceScalability string
ServiceScalability enumerates the values for service scalability.
const ( // ServiceScalabilityAutomatic ... ServiceScalabilityAutomatic ServiceScalability = "automatic" // ServiceScalabilityManual ... ServiceScalabilityManual ServiceScalability = "manual" // ServiceScalabilityNone ... ServiceScalabilityNone ServiceScalability = "none" )
func PossibleServiceScalabilityValues ¶
func PossibleServiceScalabilityValues() []ServiceScalability
PossibleServiceScalabilityValues returns an array of possible values for the ServiceScalability const type.
type ServiceSku ¶
type ServiceSku struct { // Name - The unique name of the SKU, such as 'P3' Name *string `json:"name,omitempty"` // Tier - The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium' Tier *string `json:"tier,omitempty"` // Family - The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines Family *string `json:"family,omitempty"` // Size - The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines Size *string `json:"size,omitempty"` // Capacity - The capacity of the SKU, if it supports scaling Capacity *int32 `json:"capacity,omitempty"` }
ServiceSku an Azure SKU instance
type ServiceSkuList ¶
type ServiceSkuList struct { autorest.Response `json:"-"` // Value - List of service SKUs Value *[]AvailableServiceSku `json:"value,omitempty"` // NextLink - URL to load the next page of service SKUs NextLink *string `json:"nextLink,omitempty"` }
ServiceSkuList oData page of available SKUs
func (ServiceSkuList) IsEmpty ¶
func (ssl ServiceSkuList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceSkuListIterator ¶
type ServiceSkuListIterator struct {
// contains filtered or unexported fields
}
ServiceSkuListIterator provides access to a complete listing of AvailableServiceSku values.
func NewServiceSkuListIterator ¶
func NewServiceSkuListIterator(page ServiceSkuListPage) ServiceSkuListIterator
Creates a new instance of the ServiceSkuListIterator type.
func (*ServiceSkuListIterator) Next ¶
func (iter *ServiceSkuListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceSkuListIterator) NextWithContext ¶
func (iter *ServiceSkuListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServiceSkuListIterator) NotDone ¶
func (iter ServiceSkuListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceSkuListIterator) Response ¶
func (iter ServiceSkuListIterator) Response() ServiceSkuList
Response returns the raw server response from the last page request.
func (ServiceSkuListIterator) Value ¶
func (iter ServiceSkuListIterator) Value() AvailableServiceSku
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceSkuListPage ¶
type ServiceSkuListPage struct {
// contains filtered or unexported fields
}
ServiceSkuListPage contains a page of AvailableServiceSku values.
func NewServiceSkuListPage ¶
func NewServiceSkuListPage(getNextPage func(context.Context, ServiceSkuList) (ServiceSkuList, error)) ServiceSkuListPage
Creates a new instance of the ServiceSkuListPage type.
func (*ServiceSkuListPage) Next ¶
func (page *ServiceSkuListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceSkuListPage) NextWithContext ¶
func (page *ServiceSkuListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServiceSkuListPage) NotDone ¶
func (page ServiceSkuListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceSkuListPage) Response ¶
func (page ServiceSkuListPage) Response() ServiceSkuList
Response returns the raw server response from the last page request.
func (ServiceSkuListPage) Values ¶
func (page ServiceSkuListPage) Values() []AvailableServiceSku
Values returns the slice of values for the current page or nil if there are no values.
type ServiceStatusResponse ¶
type ServiceStatusResponse struct { autorest.Response `json:"-"` // AgentVersion - The DMS instance agent version AgentVersion *string `json:"agentVersion,omitempty"` // Status - The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed' Status *string `json:"status,omitempty"` // VMSize - The services virtual machine size, such as 'Standard_D2_v2' VMSize *string `json:"vmSize,omitempty"` // SupportedTaskTypes - The list of supported task types SupportedTaskTypes *[]string `json:"supportedTaskTypes,omitempty"` }
ServiceStatusResponse service health status
type ServicesClient ¶
type ServicesClient struct {
BaseClient
}
ServicesClient is the data Migration Client
func NewServicesClient ¶
func NewServicesClient(subscriptionID string) ServicesClient
NewServicesClient creates an instance of the ServicesClient client.
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient
NewServicesClientWithBaseURI creates an instance of the ServicesClient client.
func (ServicesClient) CheckNameAvailability ¶
func (client ServicesClient) CheckNameAvailability(ctx context.Context, location string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error)
CheckNameAvailability this method checks whether a proposed top-level resource name is valid and available. Parameters: location - the Azure region of the operation parameters - requested name to validate
func (ServicesClient) CheckNameAvailabilityPreparer ¶
func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters NameAvailabilityRequest) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (ServicesClient) CheckNameAvailabilityResponder ¶
func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (ServicesClient) CheckNameAvailabilitySender ¶
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) CheckStatus ¶
func (client ServicesClient) CheckStatus(ctx context.Context, groupName string, serviceName string) (result ServiceStatusResponse, err error)
CheckStatus the services resource is the top-level resource that represents the Database Migration Service. This action performs a health check and returns the status of the service and virtual machine size. Parameters: groupName - name of the resource group serviceName - name of the service
func (ServicesClient) CheckStatusPreparer ¶
func (client ServicesClient) CheckStatusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
CheckStatusPreparer prepares the CheckStatus request.
func (ServicesClient) CheckStatusResponder ¶
func (client ServicesClient) CheckStatusResponder(resp *http.Response) (result ServiceStatusResponse, err error)
CheckStatusResponder handles the response to the CheckStatus request. The method always closes the http.Response Body.
func (ServicesClient) CheckStatusSender ¶
CheckStatusSender sends the CheckStatus request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) CreateOrUpdate ¶
func (client ServicesClient) CreateOrUpdate(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesCreateOrUpdateFuture, err error)
CreateOrUpdate the services resource is the top-level resource that represents the Database Migration Service. The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property. Parameters: parameters - information about the service groupName - name of the resource group serviceName - name of the service
func (ServicesClient) CreateOrUpdatePreparer ¶
func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServicesClient) CreateOrUpdateResponder ¶
func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServicesClient) CreateOrUpdateSender ¶
func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future ServicesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Delete ¶
func (client ServicesClient) Delete(ctx context.Context, groupName string, serviceName string, deleteRunningTasks *bool) (result ServicesDeleteFuture, err error)
Delete the services resource is the top-level resource that represents the Database Migration Service. The DELETE method deletes a service. Any running tasks will be canceled. Parameters: groupName - name of the resource group serviceName - name of the service deleteRunningTasks - delete the resource even if it contains running tasks
func (ServicesClient) DeletePreparer ¶
func (client ServicesClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, deleteRunningTasks *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServicesClient) DeleteResponder ¶
func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ServicesClient) DeleteSender ¶
func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Get ¶
func (client ServicesClient) Get(ctx context.Context, groupName string, serviceName string) (result Service, err error)
Get the services resource is the top-level resource that represents the Database Migration Service. The GET method retrieves information about a service instance. Parameters: groupName - name of the resource group serviceName - name of the service
func (ServicesClient) GetPreparer ¶
func (client ServicesClient) GetPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServicesClient) GetResponder ¶
func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServicesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) List ¶
func (client ServicesClient) List(ctx context.Context) (result ServiceListPage, err error)
List the services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.
func (ServicesClient) ListByResourceGroup ¶
func (client ServicesClient) ListByResourceGroup(ctx context.Context, groupName string) (result ServiceListPage, err error)
ListByResourceGroup the Services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a resource group. Parameters: groupName - name of the resource group
func (ServicesClient) ListByResourceGroupComplete ¶
func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, groupName string) (result ServiceListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ServicesClient) ListByResourceGroupPreparer ¶
func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, groupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServicesClient) ListByResourceGroupResponder ¶
func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ServicesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) ListComplete ¶
func (client ServicesClient) ListComplete(ctx context.Context) (result ServiceListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServicesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ServicesClient) ListResponder ¶
func (client ServicesClient) ListResponder(resp *http.Response) (result ServiceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) ListSkus ¶
func (client ServicesClient) ListSkus(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListPage, err error)
ListSkus the services resource is the top-level resource that represents the Database Migration Service. The skus action returns the list of SKUs that a service resource can be updated to. Parameters: groupName - name of the resource group serviceName - name of the service
func (ServicesClient) ListSkusComplete ¶
func (client ServicesClient) ListSkusComplete(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListIterator, err error)
ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (ServicesClient) ListSkusPreparer ¶
func (client ServicesClient) ListSkusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
ListSkusPreparer prepares the ListSkus request.
func (ServicesClient) ListSkusResponder ¶
func (client ServicesClient) ListSkusResponder(resp *http.Response) (result ServiceSkuList, err error)
ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (ServicesClient) ListSkusSender ¶
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) NestedCheckNameAvailability ¶
func (client ServicesClient) NestedCheckNameAvailability(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error)
NestedCheckNameAvailability this method checks whether a proposed nested resource name is valid and available. Parameters: groupName - name of the resource group serviceName - name of the service parameters - requested name to validate
func (ServicesClient) NestedCheckNameAvailabilityPreparer ¶
func (client ServicesClient) NestedCheckNameAvailabilityPreparer(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (*http.Request, error)
NestedCheckNameAvailabilityPreparer prepares the NestedCheckNameAvailability request.
func (ServicesClient) NestedCheckNameAvailabilityResponder ¶
func (client ServicesClient) NestedCheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
NestedCheckNameAvailabilityResponder handles the response to the NestedCheckNameAvailability request. The method always closes the http.Response Body.
func (ServicesClient) NestedCheckNameAvailabilitySender ¶
func (client ServicesClient) NestedCheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
NestedCheckNameAvailabilitySender sends the NestedCheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Start ¶
func (client ServicesClient) Start(ctx context.Context, groupName string, serviceName string) (result ServicesStartFuture, err error)
Start the services resource is the top-level resource that represents the Database Migration Service. This action starts the service and the service can be used for data migration. Parameters: groupName - name of the resource group serviceName - name of the service
func (ServicesClient) StartPreparer ¶
func (client ServicesClient) StartPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (ServicesClient) StartResponder ¶
func (client ServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (ServicesClient) StartSender ¶
func (client ServicesClient) StartSender(req *http.Request) (future ServicesStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Stop ¶
func (client ServicesClient) Stop(ctx context.Context, groupName string, serviceName string) (result ServicesStopFuture, err error)
Stop the services resource is the top-level resource that represents the Database Migration Service. This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped. Parameters: groupName - name of the resource group serviceName - name of the service
func (ServicesClient) StopPreparer ¶
func (client ServicesClient) StopPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (ServicesClient) StopResponder ¶
func (client ServicesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (ServicesClient) StopSender ¶
func (client ServicesClient) StopSender(req *http.Request) (future ServicesStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Update ¶
func (client ServicesClient) Update(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesUpdateFuture, err error)
Update the services resource is the top-level resource that represents the Database Migration Service. The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). Parameters: parameters - information about the service groupName - name of the resource group serviceName - name of the service
func (ServicesClient) UpdatePreparer ¶
func (client ServicesClient) UpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServicesClient) UpdateResponder ¶
func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServicesClient) UpdateSender ¶
func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServicesCreateOrUpdateFuture ¶
ServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServicesCreateOrUpdateFuture) Result ¶
func (future *ServicesCreateOrUpdateFuture) Result(client ServicesClient) (s Service, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServicesDeleteFuture ¶
ServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServicesDeleteFuture) Result ¶
func (future *ServicesDeleteFuture) Result(client ServicesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServicesStartFuture ¶
ServicesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServicesStartFuture) Result ¶
func (future *ServicesStartFuture) Result(client ServicesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServicesStopFuture ¶
ServicesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServicesStopFuture) Result ¶
func (future *ServicesStopFuture) Result(client ServicesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ServicesUpdateFuture ¶
ServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ServicesUpdateFuture) Result ¶
func (future *ServicesUpdateFuture) Result(client ServicesClient) (s Service, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type Severity ¶
type Severity string
Severity enumerates the values for severity.
func PossibleSeverityValues ¶
func PossibleSeverityValues() []Severity
PossibleSeverityValues returns an array of possible values for the Severity const type.
type StartMigrationScenarioServerRoleResult ¶
type StartMigrationScenarioServerRoleResult struct { // Name - Name of server role. Name *string `json:"name,omitempty"` // State - Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped' State MigrationState `json:"state,omitempty"` // ExceptionsAndWarnings - Migration exceptions and warnings. ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"` }
StartMigrationScenarioServerRoleResult migration results from a server role.
type TaskList ¶
type TaskList struct { autorest.Response `json:"-"` // Value - List of tasks Value *[]ProjectTask `json:"value,omitempty"` // NextLink - URL to load the next page of tasks NextLink *string `json:"nextLink,omitempty"` }
TaskList oData page of tasks
type TaskListIterator ¶
type TaskListIterator struct {
// contains filtered or unexported fields
}
TaskListIterator provides access to a complete listing of ProjectTask values.
func NewTaskListIterator ¶
func NewTaskListIterator(page TaskListPage) TaskListIterator
Creates a new instance of the TaskListIterator type.
func (*TaskListIterator) Next ¶
func (iter *TaskListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TaskListIterator) NextWithContext ¶
func (iter *TaskListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (TaskListIterator) NotDone ¶
func (iter TaskListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TaskListIterator) Response ¶
func (iter TaskListIterator) Response() TaskList
Response returns the raw server response from the last page request.
func (TaskListIterator) Value ¶
func (iter TaskListIterator) Value() ProjectTask
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type TaskListPage ¶
type TaskListPage struct {
// contains filtered or unexported fields
}
TaskListPage contains a page of ProjectTask values.
func NewTaskListPage ¶
Creates a new instance of the TaskListPage type.
func (*TaskListPage) Next ¶
func (page *TaskListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*TaskListPage) NextWithContext ¶
func (page *TaskListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (TaskListPage) NotDone ¶
func (page TaskListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TaskListPage) Response ¶
func (page TaskListPage) Response() TaskList
Response returns the raw server response from the last page request.
func (TaskListPage) Values ¶
func (page TaskListPage) Values() []ProjectTask
Values returns the slice of values for the current page or nil if there are no values.
type TaskState ¶
type TaskState string
TaskState enumerates the values for task state.
const ( // TaskStateCanceled ... TaskStateCanceled TaskState = "Canceled" // TaskStateFailed ... TaskStateFailed TaskState = "Failed" // TaskStateFailedInputValidation ... TaskStateFailedInputValidation TaskState = "FailedInputValidation" // TaskStateFaulted ... TaskStateFaulted TaskState = "Faulted" // TaskStateQueued ... TaskStateQueued TaskState = "Queued" // TaskStateRunning ... TaskStateRunning TaskState = "Running" // TaskStateSucceeded ... TaskStateSucceeded TaskState = "Succeeded" // TaskStateUnknown ... TaskStateUnknown TaskState = "Unknown" )
func PossibleTaskStateValues ¶
func PossibleTaskStateValues() []TaskState
PossibleTaskStateValues returns an array of possible values for the TaskState const type.
type TaskType ¶
type TaskType string
TaskType enumerates the values for task type.
const ( // TaskTypeConnectToSourceSQLServer ... TaskTypeConnectToSourceSQLServer TaskType = "ConnectToSource.SqlServer" // TaskTypeConnectToTargetSQLDb ... TaskTypeConnectToTargetSQLDb TaskType = "ConnectToTarget.SqlDb" // TaskTypeGetUserTablesSQL ... TaskTypeGetUserTablesSQL TaskType = "GetUserTables.Sql" // TaskTypeMigrateSQLServerSQLDb ... TaskTypeMigrateSQLServerSQLDb TaskType = "Migrate.SqlServer.SqlDb" // TaskTypeUnknown ... TaskTypeUnknown TaskType = "Unknown" )
func PossibleTaskTypeValues ¶
func PossibleTaskTypeValues() []TaskType
PossibleTaskTypeValues returns an array of possible values for the TaskType const type.
type TasksClient ¶
type TasksClient struct {
BaseClient
}
TasksClient is the data Migration Client
func NewTasksClient ¶
func NewTasksClient(subscriptionID string) TasksClient
NewTasksClient creates an instance of the TasksClient client.
func NewTasksClientWithBaseURI ¶
func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient
NewTasksClientWithBaseURI creates an instance of the TasksClient client.
func (TasksClient) Cancel ¶
func (client TasksClient) Cancel(ctx context.Context, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error)
Cancel the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project taskName - name of the Task
func (TasksClient) CancelPreparer ¶
func (client TasksClient) CancelPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (TasksClient) CancelResponder ¶
func (client TasksClient) CancelResponder(resp *http.Response) (result ProjectTask, err error)
CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.
func (TasksClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (TasksClient) CreateOrUpdate ¶
func (client TasksClient) CreateOrUpdate(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error)
CreateOrUpdate the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an exising one. Parameters: parameters - information about the task groupName - name of the resource group serviceName - name of the service projectName - name of the project taskName - name of the Task
func (TasksClient) CreateOrUpdatePreparer ¶
func (client TasksClient) CreateOrUpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TasksClient) CreateOrUpdateResponder ¶
func (client TasksClient) CreateOrUpdateResponder(resp *http.Response) (result ProjectTask, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TasksClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TasksClient) Delete ¶
func (client TasksClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, deleteRunningTasks *bool) (result autorest.Response, err error)
Delete the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project taskName - name of the Task deleteRunningTasks - delete the resource even if it contains running tasks
func (TasksClient) DeletePreparer ¶
func (client TasksClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, deleteRunningTasks *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TasksClient) DeleteResponder ¶
func (client TasksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (TasksClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TasksClient) Get ¶
func (client TasksClient) Get(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, expand string) (result ProjectTask, err error)
Get the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project taskName - name of the Task expand - expand the response
func (TasksClient) GetPreparer ¶
func (client TasksClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TasksClient) GetResponder ¶
func (client TasksClient) GetResponder(resp *http.Response) (result ProjectTask, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TasksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TasksClient) List ¶
func (client TasksClient) List(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (result TaskListPage, err error)
List the services resource is the top-level resource that represents the Database Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task. Parameters: groupName - name of the resource group serviceName - name of the service projectName - name of the project taskType - filter tasks by task type
func (TasksClient) ListComplete ¶
func (client TasksClient) ListComplete(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (result TaskListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (TasksClient) ListPreparer ¶
func (client TasksClient) ListPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (*http.Request, error)
ListPreparer prepares the List request.
func (TasksClient) ListResponder ¶
func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TasksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (TasksClient) Update ¶
func (client TasksClient) Update(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error)
Update the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so. Parameters: parameters - information about the task groupName - name of the resource group serviceName - name of the service projectName - name of the project taskName - name of the Task
func (TasksClient) UpdatePreparer ¶
func (client TasksClient) UpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (TasksClient) UpdateResponder ¶
func (client TasksClient) UpdateResponder(resp *http.Response) (result ProjectTask, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (TasksClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - Resource location. Location *string `json:"location,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
TrackedResource ARM tracked top level resource.
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type Type ¶
type Type string
Type enumerates the values for type.
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
PossibleTypeValues returns an array of possible values for the Type const type.
type UpdateActionType ¶
type UpdateActionType string
UpdateActionType enumerates the values for update action type.
const ( // AddedOnTarget ... AddedOnTarget UpdateActionType = "AddedOnTarget" // ChangedOnTarget ... ChangedOnTarget UpdateActionType = "ChangedOnTarget" // DeletedOnTarget ... DeletedOnTarget UpdateActionType = "DeletedOnTarget" )
func PossibleUpdateActionTypeValues ¶
func PossibleUpdateActionTypeValues() []UpdateActionType
PossibleUpdateActionTypeValues returns an array of possible values for the UpdateActionType const type.
type UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient is the data Migration Client
func NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func (UsagesClient) List ¶
func (client UsagesClient) List(ctx context.Context, location string) (result QuotaListPage, err error)
List this method returns region-specific quotas and resource usage information for the Database Migration Service. Parameters: location - the Azure region of the operation
func (UsagesClient) ListComplete ¶
func (client UsagesClient) ListComplete(ctx context.Context, location string) (result QuotaListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (UsagesClient) ListPreparer ¶
func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (UsagesClient) ListResponder ¶
func (client UsagesClient) ListResponder(resp *http.Response) (result QuotaList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UsagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ValidationError ¶
type ValidationError struct { // Text - Error Text Text *string `json:"text,omitempty"` // Severity - Severity of the error. Possible values include: 'SeverityMessage', 'SeverityWarning', 'SeverityError' Severity Severity `json:"severity,omitempty"` }
ValidationError description about the errors happen while performing migration validation
type ValidationStatus ¶
type ValidationStatus string
ValidationStatus enumerates the values for validation status.
const ( // ValidationStatusCompleted ... ValidationStatusCompleted ValidationStatus = "Completed" // ValidationStatusCompletedWithIssues ... ValidationStatusCompletedWithIssues ValidationStatus = "CompletedWithIssues" // ValidationStatusDefault ... ValidationStatusDefault ValidationStatus = "Default" // ValidationStatusFailed ... ValidationStatusFailed ValidationStatus = "Failed" // ValidationStatusInitialized ... ValidationStatusInitialized ValidationStatus = "Initialized" // ValidationStatusInProgress ... ValidationStatusInProgress ValidationStatus = "InProgress" // ValidationStatusNotStarted ... ValidationStatusNotStarted ValidationStatus = "NotStarted" // ValidationStatusStopped ... ValidationStatusStopped ValidationStatus = "Stopped" )
func PossibleValidationStatusValues ¶
func PossibleValidationStatusValues() []ValidationStatus
PossibleValidationStatusValues returns an array of possible values for the ValidationStatus const type.
type WaitStatistics ¶
type WaitStatistics struct { // WaitType - Type of the Wait WaitType *string `json:"waitType,omitempty"` // WaitTimeMs - Total wait time in millisecond(s) WaitTimeMs *float64 `json:"waitTimeMs,omitempty"` // WaitCount - Total no. of waits WaitCount *int64 `json:"waitCount,omitempty"` }
WaitStatistics wait statistics gathered during query batch execution