azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration Index | Files | Directories

package datamigration

import "github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration"

Package datamigration implements the Azure ARM Datamigration service API version 2017-11-15-preview.

Data Migration Client

Index

Package Files

client.go models.go operations.go projects.go resourceskus.go services.go tasks.go usages.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Datamigration
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type APIError Uses

type APIError struct {
    // Error - Error information in OData format
    Error *ODataError `json:"error,omitempty"`
}

APIError error information.

type AuthenticationType Uses

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 Uses

func PossibleAuthenticationTypeValues() []AuthenticationType

PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.

type AvailableServiceSku Uses

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 Uses

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 Uses

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 Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Datamigration.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicConnectToSourceSQLServerTaskOutput Uses

type BasicConnectToSourceSQLServerTaskOutput interface {
    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 Uses

type BasicConnectionInfo interface {
    AsSQLConnectionInfo() (*SQLConnectionInfo, bool)
    AsConnectionInfo() (*ConnectionInfo, bool)
}

BasicConnectionInfo defines the connection properties of a server

type BasicMigrateSQLServerSQLDbTaskOutput Uses

type BasicMigrateSQLServerSQLDbTaskOutput interface {
    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 Uses

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

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

ConnectToSourceSQLServerTaskInput input for the task that validates connection to SQL Server and also validates source server requirements

type ConnectToSourceSQLServerTaskOutput Uses

type ConnectToSourceSQLServerTaskOutput struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', '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 Uses

func (ctsssto ConnectToSourceSQLServerTaskOutput) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)

AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.

func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput Uses

func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)

AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.

func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel Uses

func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)

AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.

func (ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel Uses

func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)

AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput.

func (ConnectToSourceSQLServerTaskOutput) MarshalJSON Uses

func (ctsssto ConnectToSourceSQLServerTaskOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutput.

type ConnectToSourceSQLServerTaskOutputDatabaseLevel Uses

type ConnectToSourceSQLServerTaskOutputDatabaseLevel struct {
    // Name - READ-ONLY; Database name
    Name *string `json:"name,omitempty"`
    // SizeMB - READ-ONLY; Size of the file in megabytes
    SizeMB *float64 `json:"sizeMB,omitempty"`
    // DatabaseFiles - READ-ONLY; The list of database files
    DatabaseFiles *[]DatabaseFileInfo `json:"databaseFiles,omitempty"`
    // CompatibilityLevel - READ-ONLY; SQL Server compatibility level of database. Possible values include: 'CompatLevel80', 'CompatLevel90', 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', 'CompatLevel140'
    CompatibilityLevel DatabaseCompatLevel `json:"compatibilityLevel,omitempty"`
    // DatabaseState - READ-ONLY; State of the database. Possible values include: 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', 'Emergency', 'Offline', 'Copying', 'OfflineSecondary'
    DatabaseState DatabaseState `json:"databaseState,omitempty"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', '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 Uses

func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)

AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.

func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput Uses

func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)

AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.

func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel Uses

func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)

AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.

func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel Uses

func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)

AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel.

func (ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON Uses

func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputDatabaseLevel.

type ConnectToSourceSQLServerTaskOutputTaskLevel Uses

type ConnectToSourceSQLServerTaskOutputTaskLevel struct {
    // Databases - READ-ONLY; Source databases as a map from database name to database id
    Databases map[string]*string `json:"databases"`
    // SourceServerVersion - READ-ONLY; Source server version
    SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
    // SourceServerBrandVersion - READ-ONLY; Source server brand version
    SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"`
    // ValidationErrors - READ-ONLY; Validation errors
    ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput', '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 Uses

func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool)

AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.

func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput Uses

func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool)

AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.

func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel Uses

func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool)

AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.

func (ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel Uses

func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool)

AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel.

func (ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON Uses

func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputTaskLevel.

type ConnectToSourceSQLServerTaskProperties Uses

type ConnectToSourceSQLServerTaskProperties struct {
    // Input - Task input
    Input *ConnectToSourceSQLServerTaskInput `json:"input,omitempty"`
    // Output - READ-ONLY; Task output. This is ignored if submitted.
    Output *[]BasicConnectToSourceSQLServerTaskOutput `json:"output,omitempty"`
    // Errors - READ-ONLY; Array of errors. This is ignored if submitted.
    Errors *[]ODataError `json:"errors,omitempty"`
    // State - READ-ONLY; 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: 'TaskTypeProjectTaskProperties', '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 Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)

AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)

AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)

AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)

AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)

AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)

AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties.

func (ConnectToSourceSQLServerTaskProperties) MarshalJSON Uses

func (ctssstp ConnectToSourceSQLServerTaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskProperties.

func (*ConnectToSourceSQLServerTaskProperties) UnmarshalJSON Uses

func (ctssstp *ConnectToSourceSQLServerTaskProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectToSourceSQLServerTaskProperties struct.

type ConnectToTargetSQLDbTaskInput Uses

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 Uses

type ConnectToTargetSQLDbTaskOutput struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // Databases - READ-ONLY; Source databases as a map from database name to database id
    Databases map[string]*string `json:"databases"`
    // TargetServerVersion - READ-ONLY; Version of the target server
    TargetServerVersion *string `json:"targetServerVersion,omitempty"`
    // TargetServerBrandVersion - READ-ONLY; 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 Uses

func (cttsdto ConnectToTargetSQLDbTaskOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskOutput.

type ConnectToTargetSQLDbTaskProperties Uses

type ConnectToTargetSQLDbTaskProperties struct {
    // Input - Task input
    Input *ConnectToTargetSQLDbTaskInput `json:"input,omitempty"`
    // Output - READ-ONLY; Task output. This is ignored if submitted.
    Output *[]ConnectToTargetSQLDbTaskOutput `json:"output,omitempty"`
    // Errors - READ-ONLY; Array of errors. This is ignored if submitted.
    Errors *[]ODataError `json:"errors,omitempty"`
    // State - READ-ONLY; 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: 'TaskTypeProjectTaskProperties', '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 Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)

AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)

AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)

AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)

AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)

AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)

AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties.

func (ConnectToTargetSQLDbTaskProperties) MarshalJSON Uses

func (cttsdtp ConnectToTargetSQLDbTaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskProperties.

type ConnectionInfo Uses

type ConnectionInfo struct {
    // UserName - User name
    UserName *string `json:"userName,omitempty"`
    // Password - Password credential.
    Password *string `json:"password,omitempty"`
    // Type - Possible values include: 'TypeConnectionInfo', 'TypeSQLConnectionInfo'
    Type Type `json:"type,omitempty"`
}

ConnectionInfo defines the connection properties of a server

func (ConnectionInfo) AsBasicConnectionInfo Uses

func (ci ConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool)

AsBasicConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.

func (ConnectionInfo) AsConnectionInfo Uses

func (ci ConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool)

AsConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.

func (ConnectionInfo) AsSQLConnectionInfo Uses

func (ci ConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool)

AsSQLConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo.

func (ConnectionInfo) MarshalJSON Uses

func (ci ConnectionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionInfo.

type DataIntegrityValidationResult Uses

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 Uses

func (divr DataIntegrityValidationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataIntegrityValidationResult.

type DataItemMigrationSummaryResult Uses

type DataItemMigrationSummaryResult struct {
    // Name - READ-ONLY; Name of the item
    Name *string `json:"name,omitempty"`
    // StartedOn - READ-ONLY; Migration start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Migration end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // State - READ-ONLY; Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped'
    State MigrationState `json:"state,omitempty"`
    // StatusMessage - READ-ONLY; Status message
    StatusMessage *string `json:"statusMessage,omitempty"`
    // ItemsCount - READ-ONLY; Number of items
    ItemsCount *int64 `json:"itemsCount,omitempty"`
    // ItemsCompletedCount - READ-ONLY; Number of successfully completed items
    ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"`
    // ErrorPrefix - READ-ONLY; Wildcard string prefix to use for querying all errors of the item
    ErrorPrefix *string `json:"errorPrefix,omitempty"`
    // ResultPrefix - READ-ONLY; 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 Uses

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 Uses

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 Uses

func PossibleDatabaseCompatLevelValues() []DatabaseCompatLevel

PossibleDatabaseCompatLevelValues returns an array of possible values for the DatabaseCompatLevel const type.

type DatabaseFileInfo Uses

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 Uses

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 Uses

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 Uses

func PossibleDatabaseFileTypeValues() []DatabaseFileType

PossibleDatabaseFileTypeValues returns an array of possible values for the DatabaseFileType const type.

type DatabaseInfo Uses

type DatabaseInfo struct {
    // SourceDatabaseName - Name of the database
    SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"`
}

DatabaseInfo project Database Details

type DatabaseMigrationStage Uses

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 Uses

func PossibleDatabaseMigrationStageValues() []DatabaseMigrationStage

PossibleDatabaseMigrationStageValues returns an array of possible values for the DatabaseMigrationStage const type.

type DatabaseObjectName Uses

type DatabaseObjectName struct {
    // DatabaseName - READ-ONLY; The unescaped name of the database containing the object
    DatabaseName *string `json:"databaseName,omitempty"`
    // ObjectName - READ-ONLY; The unescaped name of the object
    ObjectName *string `json:"objectName,omitempty"`
    // SchemaName - READ-ONLY; 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 Uses

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 Uses

func PossibleDatabaseStateValues() []DatabaseState

PossibleDatabaseStateValues returns an array of possible values for the DatabaseState const type.

type DatabaseSummaryResult Uses

type DatabaseSummaryResult struct {
    // SizeMB - READ-ONLY; Size of the database in megabytes
    SizeMB *float64 `json:"sizeMB,omitempty"`
    // Name - READ-ONLY; Name of the item
    Name *string `json:"name,omitempty"`
    // StartedOn - READ-ONLY; Migration start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Migration end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // State - READ-ONLY; Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped'
    State MigrationState `json:"state,omitempty"`
    // StatusMessage - READ-ONLY; Status message
    StatusMessage *string `json:"statusMessage,omitempty"`
    // ItemsCount - READ-ONLY; Number of items
    ItemsCount *int64 `json:"itemsCount,omitempty"`
    // ItemsCompletedCount - READ-ONLY; Number of successfully completed items
    ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"`
    // ErrorPrefix - READ-ONLY; Wildcard string prefix to use for querying all errors of the item
    ErrorPrefix *string `json:"errorPrefix,omitempty"`
    // ResultPrefix - READ-ONLY; 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 Uses

type DatabaseTable struct {
    // HasRows - READ-ONLY; Indicates whether table is empty or not
    HasRows *bool `json:"hasRows,omitempty"`
    // Name - READ-ONLY; Schema-qualified name of the table
    Name *string `json:"name,omitempty"`
}

DatabaseTable table properties

type Error Uses

type Error struct {
    // Message - READ-ONLY; Error description
    Message *string `json:"message,omitempty"`
    // Type - Possible values include: 'ErrorTypeDefault', 'ErrorTypeWarning', 'ErrorTypeError'
    Type ErrorType `json:"type,omitempty"`
}

Error migration Task errors

type ErrorType Uses

type ErrorType string

ErrorType enumerates the values for error type.

const (
    // ErrorTypeDefault ...
    ErrorTypeDefault ErrorType = "Default"
    // ErrorTypeError ...
    ErrorTypeError ErrorType = "Error"
    // ErrorTypeWarning ...
    ErrorTypeWarning ErrorType = "Warning"
)

func PossibleErrorTypeValues Uses

func PossibleErrorTypeValues() []ErrorType

PossibleErrorTypeValues returns an array of possible values for the ErrorType const type.

type ExecutionStatistics Uses

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 Uses

func (es ExecutionStatistics) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExecutionStatistics.

type GetUserTablesSQLTaskInput Uses

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 Uses

type GetUserTablesSQLTaskOutput struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // DatabasesToTables - READ-ONLY; Mapping from database name to list of tables
    DatabasesToTables map[string][]DatabaseTable `json:"databasesToTables"`
    // ValidationErrors - READ-ONLY; 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 Uses

func (gutsto GetUserTablesSQLTaskOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GetUserTablesSQLTaskOutput.

type GetUserTablesSQLTaskProperties Uses

type GetUserTablesSQLTaskProperties struct {
    // Input - Task input
    Input *GetUserTablesSQLTaskInput `json:"input,omitempty"`
    // Output - READ-ONLY; Task output. This is ignored if submitted.
    Output *[]GetUserTablesSQLTaskOutput `json:"output,omitempty"`
    // Errors - READ-ONLY; Array of errors. This is ignored if submitted.
    Errors *[]ODataError `json:"errors,omitempty"`
    // State - READ-ONLY; 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: 'TaskTypeProjectTaskProperties', '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 Uses

func (gutstp GetUserTablesSQLTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)

AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties Uses

func (gutstp GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)

AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties Uses

func (gutstp GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)

AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties Uses

func (gutstp GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)

AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties Uses

func (gutstp GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)

AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) AsProjectTaskProperties Uses

func (gutstp GetUserTablesSQLTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)

AsProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties.

func (GetUserTablesSQLTaskProperties) MarshalJSON Uses

func (gutstp GetUserTablesSQLTaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GetUserTablesSQLTaskProperties.

type MigrateSQLServerSQLDbDatabaseInput Uses

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 Uses

func (msssddi MigrateSQLServerSQLDbDatabaseInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbDatabaseInput.

type MigrateSQLServerSQLDbTaskInput Uses

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 Uses

type MigrateSQLServerSQLDbTaskOutput struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', '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 Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)

AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)

AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)

AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput.

func (MigrateSQLServerSQLDbTaskOutput) MarshalJSON Uses

func (msssdto MigrateSQLServerSQLDbTaskOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutput.

type MigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

type MigrateSQLServerSQLDbTaskOutputDatabaseLevel struct {
    // DatabaseName - READ-ONLY; Name of the item
    DatabaseName *string `json:"databaseName,omitempty"`
    // StartedOn - READ-ONLY; Migration start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Migration end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // State - READ-ONLY; Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped'
    State MigrationState `json:"state,omitempty"`
    // Stage - READ-ONLY; Migration stage that this database is in. Possible values include: 'DatabaseMigrationStageNone', 'DatabaseMigrationStageInitialize', 'DatabaseMigrationStageBackup', 'DatabaseMigrationStageFileCopy', 'DatabaseMigrationStageRestore', 'DatabaseMigrationStageCompleted'
    Stage DatabaseMigrationStage `json:"stage,omitempty"`
    // StatusMessage - READ-ONLY; Status message
    StatusMessage *string `json:"statusMessage,omitempty"`
    // Message - READ-ONLY; Migration progress message
    Message *string `json:"message,omitempty"`
    // NumberOfObjects - READ-ONLY; Number of objects
    NumberOfObjects *int64 `json:"numberOfObjects,omitempty"`
    // NumberOfObjectsCompleted - READ-ONLY; Number of successfully completed objects
    NumberOfObjectsCompleted *int64 `json:"numberOfObjectsCompleted,omitempty"`
    // ErrorCount - READ-ONLY; Number of database/object errors.
    ErrorCount *int64 `json:"errorCount,omitempty"`
    // ErrorPrefix - READ-ONLY; Wildcard string prefix to use for querying all errors of the item
    ErrorPrefix *string `json:"errorPrefix,omitempty"`
    // ResultPrefix - READ-ONLY; Wildcard string prefix to use for querying all sub-tem results of the item
    ResultPrefix *string `json:"resultPrefix,omitempty"`
    // ExceptionsAndWarnings - READ-ONLY; Migration exceptions and warnings.
    ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
    // ObjectSummary - READ-ONLY; Summary of object results in the migration
    ObjectSummary map[string]*DataItemMigrationSummaryResult `json:"objectSummary"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput'
    ResultType ResultType `json:"resultType,omitempty"`
}

MigrateSQLServerSQLDbTaskOutputDatabaseLevel database level result for Sql Server to Azure Sql DB migration.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)

AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)

AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)

AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

func (MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON Uses

func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputDatabaseLevel.

type MigrateSQLServerSQLDbTaskOutputError Uses

type MigrateSQLServerSQLDbTaskOutputError struct {
    // Error - READ-ONLY; Migration error
    Error *ReportableException `json:"error,omitempty"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput'
    ResultType ResultType `json:"resultType,omitempty"`
}

MigrateSQLServerSQLDbTaskOutputError task errors for Sql Server to Azure Sql DB migration.

func (MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)

AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)

AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)

AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError.

func (MigrateSQLServerSQLDbTaskOutputError) MarshalJSON Uses

func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputError.

type MigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

type MigrateSQLServerSQLDbTaskOutputMigrationLevel struct {
    // StartedOn - READ-ONLY; Migration start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Migration end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // DurationInSeconds - READ-ONLY; Duration of task execution in seconds.
    DurationInSeconds *int64 `json:"durationInSeconds,omitempty"`
    // Status - READ-ONLY; Current status of migration. Possible values include: 'MigrationStatusDefault', 'MigrationStatusConnecting', 'MigrationStatusSourceAndTargetSelected', 'MigrationStatusSelectLogins', 'MigrationStatusConfigured', 'MigrationStatusRunning', 'MigrationStatusError', 'MigrationStatusStopped', 'MigrationStatusCompleted', 'MigrationStatusCompletedWithWarnings'
    Status MigrationStatus `json:"status,omitempty"`
    // StatusMessage - READ-ONLY; Migration status message
    StatusMessage *string `json:"statusMessage,omitempty"`
    // Message - READ-ONLY; Migration progress message
    Message *string `json:"message,omitempty"`
    // Databases - READ-ONLY; Selected databases as a map from database name to database id
    Databases map[string]*string `json:"databases"`
    // DatabaseSummary - READ-ONLY; Summary of database results in the migration
    DatabaseSummary map[string]*DatabaseSummaryResult `json:"databaseSummary"`
    // MigrationReportResult - Migration Report Result, provides unique url for downloading your migration report.
    MigrationReportResult *MigrationReportResult `json:"migrationReportResult,omitempty"`
    // SourceServerVersion - READ-ONLY; Source server version
    SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
    // SourceServerBrandVersion - READ-ONLY; Source server brand version
    SourceServerBrandVersion *string `json:"sourceServerBrandVersion,omitempty"`
    // TargetServerVersion - READ-ONLY; Target server version
    TargetServerVersion *string `json:"targetServerVersion,omitempty"`
    // TargetServerBrandVersion - READ-ONLY; Target server brand version
    TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"`
    // ExceptionsAndWarnings - READ-ONLY; Migration exceptions and warnings.
    ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput'
    ResultType ResultType `json:"resultType,omitempty"`
}

MigrateSQLServerSQLDbTaskOutputMigrationLevel migration level result for Sql server to Azure Sql DB migration.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)

AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)

AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)

AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

func (MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON Uses

func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputMigrationLevel.

type MigrateSQLServerSQLDbTaskOutputTableLevel Uses

type MigrateSQLServerSQLDbTaskOutputTableLevel struct {
    // ObjectName - READ-ONLY; Name of the item
    ObjectName *string `json:"objectName,omitempty"`
    // StartedOn - READ-ONLY; Migration start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Migration end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // State - READ-ONLY; Current state of migration. Possible values include: 'MigrationStateNone', 'MigrationStateInProgress', 'MigrationStateFailed', 'MigrationStateWarning', 'MigrationStateCompleted', 'MigrationStateSkipped', 'MigrationStateStopped'
    State MigrationState `json:"state,omitempty"`
    // StatusMessage - READ-ONLY; Status message
    StatusMessage *string `json:"statusMessage,omitempty"`
    // ItemsCount - READ-ONLY; Number of items
    ItemsCount *int64 `json:"itemsCount,omitempty"`
    // ItemsCompletedCount - READ-ONLY; Number of successfully completed items
    ItemsCompletedCount *int64 `json:"itemsCompletedCount,omitempty"`
    // ErrorPrefix - READ-ONLY; Wildcard string prefix to use for querying all errors of the item
    ErrorPrefix *string `json:"errorPrefix,omitempty"`
    // ResultPrefix - READ-ONLY; Wildcard string prefix to use for querying all sub-tem results of the item
    ResultPrefix *string `json:"resultPrefix,omitempty"`
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // ResultType - Possible values include: 'ResultTypeMigrateSQLServerSQLDbTaskOutput', 'ResultTypeErrorOutput', 'ResultTypeTableLevelOutput', 'ResultTypeDatabaseLevelOutput', 'ResultTypeMigrationLevelOutput'
    ResultType ResultType `json:"resultType,omitempty"`
}

MigrateSQLServerSQLDbTaskOutputTableLevel table level result for Sql Server to Azure Sql DB migration.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool)

AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool)

AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool)

AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool)

AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel.

func (MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON Uses

func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputTableLevel.

type MigrateSQLServerSQLDbTaskProperties Uses

type MigrateSQLServerSQLDbTaskProperties struct {
    // Input - Task input
    Input *MigrateSQLServerSQLDbTaskInput `json:"input,omitempty"`
    // Output - READ-ONLY; Task output. This is ignored if submitted.
    Output *[]BasicMigrateSQLServerSQLDbTaskOutput `json:"output,omitempty"`
    // Errors - READ-ONLY; Array of errors. This is ignored if submitted.
    Errors *[]ODataError `json:"errors,omitempty"`
    // State - READ-ONLY; 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: 'TaskTypeProjectTaskProperties', '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 Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)

AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)

AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)

AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)

AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)

AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)

AsProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties.

func (MigrateSQLServerSQLDbTaskProperties) MarshalJSON Uses

func (msssdtp MigrateSQLServerSQLDbTaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskProperties.

func (*MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON Uses

func (msssdtp *MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MigrateSQLServerSQLDbTaskProperties struct.

type MigrationReportResult Uses

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 Uses

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 Uses

func PossibleMigrationStateValues() []MigrationState

PossibleMigrationStateValues returns an array of possible values for the MigrationState const type.

type MigrationStatus Uses

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 Uses

func PossibleMigrationStatusValues() []MigrationStatus

PossibleMigrationStatusValues returns an array of possible values for the MigrationStatus const type.

type MigrationTableMetadata Uses

type MigrationTableMetadata struct {
    // SourceTableName - READ-ONLY; Source table name
    SourceTableName *string `json:"sourceTableName,omitempty"`
    // TargetTableName - READ-ONLY; Target table name
    TargetTableName *string `json:"targetTableName,omitempty"`
}

MigrationTableMetadata metadata for tables selected in migration project

type MigrationValidationDatabaseLevelResult Uses

type MigrationValidationDatabaseLevelResult struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // MigrationID - READ-ONLY; Migration Identifier
    MigrationID *string `json:"migrationId,omitempty"`
    // SourceDatabaseName - READ-ONLY; Name of the source database
    SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"`
    // TargetDatabaseName - READ-ONLY; Name of the target database
    TargetDatabaseName *string `json:"targetDatabaseName,omitempty"`
    // StartedOn - READ-ONLY; Validation start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Validation end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // DataIntegrityValidationResult - READ-ONLY; Provides data integrity validation result between the source and target tables that are migrated.
    DataIntegrityValidationResult *DataIntegrityValidationResult `json:"dataIntegrityValidationResult,omitempty"`
    // SchemaValidationResult - READ-ONLY; Provides schema comparison result between source and target database
    SchemaValidationResult *SchemaComparisonValidationResult `json:"schemaValidationResult,omitempty"`
    // QueryAnalysisValidationResult - READ-ONLY; Results of some of the query execution result between source and target database
    QueryAnalysisValidationResult *QueryAnalysisValidationResult `json:"queryAnalysisValidationResult,omitempty"`
    // Status - READ-ONLY; Current status of validation at the database level. Possible values include: 'ValidationStatusDefault', 'ValidationStatusNotStarted', 'ValidationStatusInitialized', 'ValidationStatusInProgress', 'ValidationStatusCompleted', 'ValidationStatusCompletedWithIssues', 'ValidationStatusFailed', 'ValidationStatusStopped'
    Status ValidationStatus `json:"status,omitempty"`
}

MigrationValidationDatabaseLevelResult database level validation results

type MigrationValidationDatabaseSummaryResult Uses

type MigrationValidationDatabaseSummaryResult struct {
    // ID - READ-ONLY; Result identifier
    ID  *string `json:"id,omitempty"`
    // MigrationID - READ-ONLY; Migration Identifier
    MigrationID *string `json:"migrationId,omitempty"`
    // SourceDatabaseName - READ-ONLY; Name of the source database
    SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"`
    // TargetDatabaseName - READ-ONLY; Name of the target database
    TargetDatabaseName *string `json:"targetDatabaseName,omitempty"`
    // StartedOn - READ-ONLY; Validation start time
    StartedOn *date.Time `json:"startedOn,omitempty"`
    // EndedOn - READ-ONLY; Validation end time
    EndedOn *date.Time `json:"endedOn,omitempty"`
    // Status - READ-ONLY; 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 Uses

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

type MigrationValidationResult struct {
    // ID - READ-ONLY; Migration validation result identifier
    ID  *string `json:"id,omitempty"`
    // MigrationID - READ-ONLY; Migration Identifier
    MigrationID *string `json:"migrationId,omitempty"`
    // SummaryResults - Validation summary results for each database
    SummaryResults map[string]*MigrationValidationDatabaseSummaryResult `json:"summaryResults"`
    // Status - READ-ONLY; 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"`
}

MigrationValidationResult migration Validation Result

func (MigrationValidationResult) MarshalJSON Uses

func (mvr MigrationValidationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrationValidationResult.

type NameAvailabilityRequest Uses

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 Uses

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 Uses

type NameCheckFailureReason string

NameCheckFailureReason enumerates the values for name check failure reason.

const (
    // AlreadyExists ...
    AlreadyExists NameCheckFailureReason = "AlreadyExists"
    // Invalid ...
    Invalid NameCheckFailureReason = "Invalid"
)

func PossibleNameCheckFailureReasonValues Uses

func PossibleNameCheckFailureReasonValues() []NameCheckFailureReason

PossibleNameCheckFailureReasonValues returns an array of possible values for the NameCheckFailureReason const type.

type ODataError Uses

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 Uses

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 Uses

func PossibleObjectTypeValues() []ObjectType

PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the data Migration Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result ServiceOperationListPage, err error)

List lists all available actions exposed by the Data Migration Service resource provider.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result ServiceOperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Project Uses

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 - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

Project a project resource

func (Project) MarshalJSON Uses

func (p Project) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Project.

func (*Project) UnmarshalJSON Uses

func (p *Project) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Project struct.

type ProjectList Uses

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 Uses

func (pl ProjectList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProjectListIterator Uses

type ProjectListIterator struct {
    // contains filtered or unexported fields
}

ProjectListIterator provides access to a complete listing of Project values.

func NewProjectListIterator Uses

func NewProjectListIterator(page ProjectListPage) ProjectListIterator

Creates a new instance of the ProjectListIterator type.

func (*ProjectListIterator) Next Uses

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 Uses

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 Uses

func (iter ProjectListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProjectListIterator) Response Uses

func (iter ProjectListIterator) Response() ProjectList

Response returns the raw server response from the last page request.

func (ProjectListIterator) Value Uses

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 Uses

type ProjectListPage struct {
    // contains filtered or unexported fields
}

ProjectListPage contains a page of Project values.

func NewProjectListPage Uses

func NewProjectListPage(getNextPage func(context.Context, ProjectList) (ProjectList, error)) ProjectListPage

Creates a new instance of the ProjectListPage type.

func (*ProjectListPage) Next Uses

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 Uses

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 Uses

func (page ProjectListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProjectListPage) Response Uses

func (page ProjectListPage) Response() ProjectList

Response returns the raw server response from the last page request.

func (ProjectListPage) Values Uses

func (page ProjectListPage) Values() []Project

Values returns the slice of values for the current page or nil if there are no values.

type ProjectMetadata Uses

type ProjectMetadata struct {
    // SourceServerName - READ-ONLY; Source server name
    SourceServerName *string `json:"sourceServerName,omitempty"`
    // SourceServerPort - READ-ONLY; Source server port number
    SourceServerPort *string `json:"sourceServerPort,omitempty"`
    // SourceUsername - READ-ONLY; Source username
    SourceUsername *string `json:"sourceUsername,omitempty"`
    // TargetServerName - READ-ONLY; Target server name
    TargetServerName *string `json:"targetServerName,omitempty"`
    // TargetUsername - READ-ONLY; Target username
    TargetUsername *string `json:"targetUsername,omitempty"`
    // TargetDbName - READ-ONLY; Target database name
    TargetDbName *string `json:"targetDbName,omitempty"`
    // TargetUsingWinAuth - READ-ONLY; Whether target connection is Windows authentication
    TargetUsingWinAuth *bool `json:"targetUsingWinAuth,omitempty"`
    // SelectedMigrationTables - READ-ONLY; List of tables selected for migration
    SelectedMigrationTables *[]MigrationTableMetadata `json:"selectedMigrationTables,omitempty"`
}

ProjectMetadata common metadata for migration projects

type ProjectProperties Uses

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 - READ-ONLY; 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 - READ-ONLY; The project's provisioning state. Possible values include: 'Deleting', 'Succeeded'
    ProvisioningState ProjectProvisioningState `json:"provisioningState,omitempty"`
}

ProjectProperties project-specific properties

func (*ProjectProperties) UnmarshalJSON Uses

func (pp *ProjectProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProjectProperties struct.

type ProjectProvisioningState Uses

type ProjectProvisioningState string

ProjectProvisioningState enumerates the values for project provisioning state.

const (
    // Deleting ...
    Deleting ProjectProvisioningState = "Deleting"
    // Succeeded ...
    Succeeded ProjectProvisioningState = "Succeeded"
)

func PossibleProjectProvisioningStateValues Uses

func PossibleProjectProvisioningStateValues() []ProjectProvisioningState

PossibleProjectProvisioningStateValues returns an array of possible values for the ProjectProvisioningState const type.

type ProjectSourcePlatform Uses

type ProjectSourcePlatform string

ProjectSourcePlatform enumerates the values for project source platform.

const (
    // SQL ...
    SQL ProjectSourcePlatform = "SQL"
    // Unknown ...
    Unknown ProjectSourcePlatform = "Unknown"
)

func PossibleProjectSourcePlatformValues Uses

func PossibleProjectSourcePlatformValues() []ProjectSourcePlatform

PossibleProjectSourcePlatformValues returns an array of possible values for the ProjectSourcePlatform const type.

type ProjectTargetPlatform Uses

type ProjectTargetPlatform string

ProjectTargetPlatform enumerates the values for project target platform.

const (
    // ProjectTargetPlatformSQLDB ...
    ProjectTargetPlatformSQLDB ProjectTargetPlatform = "SQLDB"
    // ProjectTargetPlatformUnknown ...
    ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown"
)

func PossibleProjectTargetPlatformValues Uses

func PossibleProjectTargetPlatformValues() []ProjectTargetPlatform

PossibleProjectTargetPlatformValues returns an array of possible values for the ProjectTargetPlatform const type.

type ProjectTask Uses

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 - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

ProjectTask a task resource

func (*ProjectTask) UnmarshalJSON Uses

func (pt *ProjectTask) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProjectTask struct.

type ProjectTaskProperties Uses

type ProjectTaskProperties struct {
    // Errors - READ-ONLY; Array of errors. This is ignored if submitted.
    Errors *[]ODataError `json:"errors,omitempty"`
    // State - READ-ONLY; 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: 'TaskTypeProjectTaskProperties', '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 Uses

func (ptp ProjectTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool)

AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties Uses

func (ptp ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool)

AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties Uses

func (ptp ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool)

AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) AsGetUserTablesSQLTaskProperties Uses

func (ptp ProjectTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool)

AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties Uses

func (ptp ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool)

AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) AsProjectTaskProperties Uses

func (ptp ProjectTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool)

AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties.

func (ProjectTaskProperties) MarshalJSON Uses

func (ptp ProjectTaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProjectTaskProperties.

type ProjectsClient Uses

type ProjectsClient struct {
    BaseClient
}

ProjectsClient is the data Migration Client

func NewProjectsClient Uses

func NewProjectsClient(subscriptionID string) ProjectsClient

NewProjectsClient creates an instance of the ProjectsClient client.

func NewProjectsClientWithBaseURI Uses

func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string) ProjectsClient

NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client.

func (ProjectsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

func (client ProjectsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) Delete Uses

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 Uses

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 Uses

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 Uses

func (client ProjectsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) Get Uses

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 Uses

func (client ProjectsClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProjectsClient) GetResponder Uses

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 Uses

func (client ProjectsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) List Uses

func (client ProjectsClient) List(ctx context.Context, groupName string, serviceName string) (result ProjectListPage, err error)

List 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) ListComplete Uses

func (client ProjectsClient) ListComplete(ctx context.Context, groupName string, serviceName string) (result ProjectListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ProjectsClient) ListPreparer Uses

func (client ProjectsClient) ListPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProjectsClient) ListResponder Uses

func (client ProjectsClient) ListResponder(resp *http.Response) (result ProjectList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ProjectsClient) ListSender Uses

func (client ProjectsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) Update Uses

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 Uses

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 Uses

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 Uses

func (client ProjectsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type QueryAnalysisValidationResult Uses

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 Uses

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 Uses

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 Uses

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

func (QuotaList) IsEmpty Uses

func (ql QuotaList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type QuotaListIterator Uses

type QuotaListIterator struct {
    // contains filtered or unexported fields
}

QuotaListIterator provides access to a complete listing of Quota values.

func NewQuotaListIterator Uses

func NewQuotaListIterator(page QuotaListPage) QuotaListIterator

Creates a new instance of the QuotaListIterator type.

func (*QuotaListIterator) Next Uses

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 Uses

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 Uses

func (iter QuotaListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (QuotaListIterator) Response Uses

func (iter QuotaListIterator) Response() QuotaList

Response returns the raw server response from the last page request.

func (QuotaListIterator) Value Uses

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 Uses

type QuotaListPage struct {
    // contains filtered or unexported fields
}

QuotaListPage contains a page of Quota values.

func NewQuotaListPage Uses

func NewQuotaListPage(getNextPage func(context.Context, QuotaList) (QuotaList, error)) QuotaListPage

Creates a new instance of the QuotaListPage type.

func (*QuotaListPage) Next Uses

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 Uses

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 Uses

func (page QuotaListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (QuotaListPage) Response Uses

func (page QuotaListPage) Response() QuotaList

Response returns the raw server response from the last page request.

func (QuotaListPage) Values Uses

func (page QuotaListPage) Values() []Quota

Values returns the slice of values for the current page or nil if there are no values.

type QuotaName Uses

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 Uses

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 Uses

type Resource struct {
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

Resource ARM resource.

type ResourceSku Uses

type ResourceSku struct {
    // ResourceType - READ-ONLY; The type of resource the SKU applies to.
    ResourceType *string `json:"resourceType,omitempty"`
    // Name - READ-ONLY; The name of SKU.
    Name *string `json:"name,omitempty"`
    // Tier - READ-ONLY; Specifies the tier of DMS in a scale set.
    Tier *string `json:"tier,omitempty"`
    // Size - READ-ONLY; The Size of the SKU.
    Size *string `json:"size,omitempty"`
    // Family - READ-ONLY; The Family of this particular SKU.
    Family *string `json:"family,omitempty"`
    // Kind - READ-ONLY; The Kind of resources that are supported in this SKU.
    Kind *string `json:"kind,omitempty"`
    // Capacity - READ-ONLY; Not used.
    Capacity *ResourceSkuCapacity `json:"capacity,omitempty"`
    // Locations - READ-ONLY; The set of locations that the SKU is available.
    Locations *[]string `json:"locations,omitempty"`
    // APIVersions - READ-ONLY; The api versions that support this SKU.
    APIVersions *[]string `json:"apiVersions,omitempty"`
    // Costs - READ-ONLY; Metadata for retrieving price info.
    Costs *[]ResourceSkuCosts `json:"costs,omitempty"`
    // Capabilities - READ-ONLY; A name value pair to describe the capability.
    Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
    // Restrictions - READ-ONLY; 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 Uses

type ResourceSkuCapabilities struct {
    // Name - READ-ONLY; An invariant to describe the feature.
    Name *string `json:"name,omitempty"`
    // Value - READ-ONLY; An invariant if the feature is measured by quantity.
    Value *string `json:"value,omitempty"`
}

ResourceSkuCapabilities describes The SKU capabilities object.

type ResourceSkuCapacity Uses

type ResourceSkuCapacity struct {
    // Minimum - READ-ONLY; The minimum capacity.
    Minimum *int64 `json:"minimum,omitempty"`
    // Maximum - READ-ONLY; The maximum capacity.
    Maximum *int64 `json:"maximum,omitempty"`
    // Default - READ-ONLY; The default capacity.
    Default *int64 `json:"default,omitempty"`
    // ScaleType - READ-ONLY; 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 Uses

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 Uses

func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType

PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.

type ResourceSkuCosts Uses

type ResourceSkuCosts struct {
    // MeterID - READ-ONLY; Used for querying price from commerce.
    MeterID *string `json:"meterID,omitempty"`
    // Quantity - READ-ONLY; The multiplier is needed to extend the base metered cost.
    Quantity *int64 `json:"quantity,omitempty"`
    // ExtendedUnit - READ-ONLY; An invariant to show the extended unit.
    ExtendedUnit *string `json:"extendedUnit,omitempty"`
}

ResourceSkuCosts describes metadata for retrieving price info.

type ResourceSkuRestrictions Uses

type ResourceSkuRestrictions struct {
    // Type - READ-ONLY; The type of restrictions. Possible values include: 'Location'
    Type ResourceSkuRestrictionsType `json:"type,omitempty"`
    // Values - READ-ONLY; 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 - READ-ONLY; The reason code for restriction. Possible values include: 'QuotaID', 'NotAvailableForSubscription'
    ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

ResourceSkuRestrictions describes scaling information of a SKU.

type ResourceSkuRestrictionsReasonCode Uses

type ResourceSkuRestrictionsReasonCode string

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

const (
    // NotAvailableForSubscription ...
    NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
    // QuotaID ...
    QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)

func PossibleResourceSkuRestrictionsReasonCodeValues Uses

func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode

PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.

type ResourceSkuRestrictionsType Uses

type ResourceSkuRestrictionsType string

ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.

const (
    // Location ...
    Location ResourceSkuRestrictionsType = "location"
)

func PossibleResourceSkuRestrictionsTypeValues Uses

func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType

PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.

type ResourceSkusClient Uses

type ResourceSkusClient struct {
    BaseClient
}

ResourceSkusClient is the data Migration Client

func NewResourceSkusClient Uses

func NewResourceSkusClient(subscriptionID string) ResourceSkusClient

NewResourceSkusClient creates an instance of the ResourceSkusClient client.

func NewResourceSkusClientWithBaseURI Uses

func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient

NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.

func (ResourceSkusClient) ListSkus Uses

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 Uses

func (client ResourceSkusClient) ListSkusComplete(ctx context.Context) (result ResourceSkusResultIterator, err error)

ListSkusComplete enumerates all values, automatically crossing page boundaries as required.

func (ResourceSkusClient) ListSkusPreparer Uses

func (client ResourceSkusClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (ResourceSkusClient) ListSkusResponder Uses

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 Uses

func (client ResourceSkusClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

type ResourceSkusResult Uses

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 Uses

func (rsr ResourceSkusResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceSkusResultIterator Uses

type ResourceSkusResultIterator struct {
    // contains filtered or unexported fields
}

ResourceSkusResultIterator provides access to a complete listing of ResourceSku values.

func NewResourceSkusResultIterator Uses

func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator

Creates a new instance of the ResourceSkusResultIterator type.

func (*ResourceSkusResultIterator) Next Uses

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 Uses

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 Uses

func (iter ResourceSkusResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceSkusResultIterator) Response Uses

func (iter ResourceSkusResultIterator) Response() ResourceSkusResult

Response returns the raw server response from the last page request.

func (ResourceSkusResultIterator) Value Uses

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 Uses

type ResourceSkusResultPage struct {
    // contains filtered or unexported fields
}

ResourceSkusResultPage contains a page of ResourceSku values.

func NewResourceSkusResultPage Uses

func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage

Creates a new instance of the ResourceSkusResultPage type.

func (*ResourceSkusResultPage) Next Uses

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 Uses

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 Uses

func (page ResourceSkusResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceSkusResultPage) Response Uses

func (page ResourceSkusResultPage) Response() ResourceSkusResult

Response returns the raw server response from the last page request.

func (ResourceSkusResultPage) Values Uses

func (page ResourceSkusResultPage) Values() []ResourceSku

Values returns the slice of values for the current page or nil if there are no values.

type ResultType Uses

type ResultType string

ResultType enumerates the values for result type.

const (
    // ResultTypeDatabaseLevelOutput ...
    ResultTypeDatabaseLevelOutput ResultType = "DatabaseLevelOutput"
    // ResultTypeErrorOutput ...
    ResultTypeErrorOutput ResultType = "ErrorOutput"
    // ResultTypeMigrateSQLServerSQLDbTaskOutput ...
    ResultTypeMigrateSQLServerSQLDbTaskOutput ResultType = "MigrateSqlServerSqlDbTaskOutput"
    // ResultTypeMigrationLevelOutput ...
    ResultTypeMigrationLevelOutput ResultType = "MigrationLevelOutput"
    // ResultTypeTableLevelOutput ...
    ResultTypeTableLevelOutput ResultType = "TableLevelOutput"
)

func PossibleResultTypeValues Uses

func PossibleResultTypeValues() []ResultType

PossibleResultTypeValues returns an array of possible values for the ResultType const type.

type ResultTypeBasicConnectToSourceSQLServerTaskOutput Uses

type ResultTypeBasicConnectToSourceSQLServerTaskOutput string

ResultTypeBasicConnectToSourceSQLServerTaskOutput enumerates the values for result type basic connect to source sql server task output.

const (
    // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput ...
    ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "ConnectToSourceSqlServerTaskOutput"
    // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput ...
    ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "DatabaseLevelOutput"
    // ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput ...
    ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "TaskLevelOutput"
)

func PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues Uses

func PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues() []ResultTypeBasicConnectToSourceSQLServerTaskOutput

PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues returns an array of possible values for the ResultTypeBasicConnectToSourceSQLServerTaskOutput const type.

type SQLConnectionInfo Uses

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: 'TypeConnectionInfo', 'TypeSQLConnectionInfo'
    Type Type `json:"type,omitempty"`
}

SQLConnectionInfo information for connecting to SQL database server

func (SQLConnectionInfo) AsBasicConnectionInfo Uses

func (sci SQLConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool)

AsBasicConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.

func (SQLConnectionInfo) AsConnectionInfo Uses

func (sci SQLConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool)

AsConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.

func (SQLConnectionInfo) AsSQLConnectionInfo Uses

func (sci SQLConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool)

AsSQLConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo.

func (SQLConnectionInfo) MarshalJSON Uses

func (sci SQLConnectionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLConnectionInfo.

type SQLMigrationTaskInput Uses

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 Uses

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 Uses

func (scvr SchemaComparisonValidationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SchemaComparisonValidationResult.

type SchemaComparisonValidationResultType Uses

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 Uses

type ServerLevelPermissionsGroup string

ServerLevelPermissionsGroup enumerates the values for server level permissions group.

const (
    // Default ...
    Default ServerLevelPermissionsGroup = "Default"
    // MigrationFromSQLServerToAzureDB ...
    MigrationFromSQLServerToAzureDB ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB"
)

func PossibleServerLevelPermissionsGroupValues Uses

func PossibleServerLevelPermissionsGroupValues() []ServerLevelPermissionsGroup

PossibleServerLevelPermissionsGroupValues returns an array of possible values for the ServerLevelPermissionsGroup const type.

type Service Uses

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 - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

Service a Data Migration Service resource

func (Service) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Service.

func (*Service) UnmarshalJSON Uses

func (s *Service) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Service struct.

type ServiceList Uses

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 Uses

func (sl ServiceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceListIterator Uses

type ServiceListIterator struct {
    // contains filtered or unexported fields
}

ServiceListIterator provides access to a complete listing of Service values.

func NewServiceListIterator Uses

func NewServiceListIterator(page ServiceListPage) ServiceListIterator

Creates a new instance of the ServiceListIterator type.

func (*ServiceListIterator) Next Uses

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 Uses

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 Uses

func (iter ServiceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceListIterator) Response Uses

func (iter ServiceListIterator) Response() ServiceList

Response returns the raw server response from the last page request.

func (ServiceListIterator) Value Uses

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 Uses

type ServiceListPage struct {
    // contains filtered or unexported fields
}

ServiceListPage contains a page of Service values.

func NewServiceListPage Uses

func NewServiceListPage(getNextPage func(context.Context, ServiceList) (ServiceList, error)) ServiceListPage

Creates a new instance of the ServiceListPage type.

func (*ServiceListPage) Next Uses

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 Uses

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 Uses

func (page ServiceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceListPage) Response Uses

func (page ServiceListPage) Response() ServiceList

Response returns the raw server response from the last page request.

func (ServiceListPage) Values Uses

func (page ServiceListPage) Values() []Service

Values returns the slice of values for the current page or nil if there are no values.

type ServiceOperation Uses

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 Data Migration Service

type ServiceOperationDisplay Uses

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 Uses

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 Uses

func (sol ServiceOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceOperationListIterator Uses

type ServiceOperationListIterator struct {
    // contains filtered or unexported fields
}

ServiceOperationListIterator provides access to a complete listing of ServiceOperation values.

func NewServiceOperationListIterator Uses

func NewServiceOperationListIterator(page ServiceOperationListPage) ServiceOperationListIterator

Creates a new instance of the ServiceOperationListIterator type.

func (*ServiceOperationListIterator) Next Uses

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 Uses

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 Uses

func (iter ServiceOperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceOperationListIterator) Response Uses

func (iter ServiceOperationListIterator) Response() ServiceOperationList

Response returns the raw server response from the last page request.

func (ServiceOperationListIterator) Value Uses

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 Uses

type ServiceOperationListPage struct {
    // contains filtered or unexported fields
}

ServiceOperationListPage contains a page of ServiceOperation values.

func NewServiceOperationListPage Uses

func NewServiceOperationListPage(getNextPage func(context.Context, ServiceOperationList) (ServiceOperationList, error)) ServiceOperationListPage

Creates a new instance of the ServiceOperationListPage type.

func (*ServiceOperationListPage) Next Uses

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 Uses

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 Uses

func (page ServiceOperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceOperationListPage) Response Uses

func (page ServiceOperationListPage) Response() ServiceOperationList

Response returns the raw server response from the last page request.

func (ServiceOperationListPage) Values Uses

func (page ServiceOperationListPage) Values() []ServiceOperation

Values returns the slice of values for the current page or nil if there are no values.

type ServiceProperties Uses

type ServiceProperties struct {
    // ProvisioningState - READ-ONLY; 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 Uses

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 Uses

func PossibleServiceProvisioningStateValues() []ServiceProvisioningState

PossibleServiceProvisioningStateValues returns an array of possible values for the ServiceProvisioningState const type.

type ServiceScalability Uses

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 Uses

func PossibleServiceScalabilityValues() []ServiceScalability

PossibleServiceScalabilityValues returns an array of possible values for the ServiceScalability const type.

type ServiceSku Uses

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 Uses

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 Uses

func (ssl ServiceSkuList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceSkuListIterator Uses

type ServiceSkuListIterator struct {
    // contains filtered or unexported fields
}

ServiceSkuListIterator provides access to a complete listing of AvailableServiceSku values.

func NewServiceSkuListIterator Uses

func NewServiceSkuListIterator(page ServiceSkuListPage) ServiceSkuListIterator

Creates a new instance of the ServiceSkuListIterator type.

func (*ServiceSkuListIterator) Next Uses

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 Uses

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 Uses

func (iter ServiceSkuListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceSkuListIterator) Response Uses

func (iter ServiceSkuListIterator) Response() ServiceSkuList

Response returns the raw server response from the last page request.

func (ServiceSkuListIterator) Value Uses

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 Uses

type ServiceSkuListPage struct {
    // contains filtered or unexported fields
}

ServiceSkuListPage contains a page of AvailableServiceSku values.

func NewServiceSkuListPage Uses

func NewServiceSkuListPage(getNextPage func(context.Context, ServiceSkuList) (ServiceSkuList, error)) ServiceSkuListPage

Creates a new instance of the ServiceSkuListPage type.

func (*ServiceSkuListPage) Next Uses

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 Uses

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 Uses

func (page ServiceSkuListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceSkuListPage) Response Uses

func (page ServiceSkuListPage) Response() ServiceSkuList

Response returns the raw server response from the last page request.

func (ServiceSkuListPage) Values Uses

func (page ServiceSkuListPage) Values() []AvailableServiceSku

Values returns the slice of values for the current page or nil if there are no values.

type ServiceStatusResponse Uses

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 Uses

type ServicesClient struct {
    BaseClient
}

ServicesClient is the data Migration Client

func NewServicesClient Uses

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI Uses

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) CheckChildrenNameAvailability Uses

func (client ServicesClient) CheckChildrenNameAvailability(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error)

CheckChildrenNameAvailability 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) CheckChildrenNameAvailabilityPreparer Uses

func (client ServicesClient) CheckChildrenNameAvailabilityPreparer(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (*http.Request, error)

CheckChildrenNameAvailabilityPreparer prepares the CheckChildrenNameAvailability request.

func (ServicesClient) CheckChildrenNameAvailabilityResponder Uses

func (client ServicesClient) CheckChildrenNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)

CheckChildrenNameAvailabilityResponder handles the response to the CheckChildrenNameAvailability request. The method always closes the http.Response Body.

func (ServicesClient) CheckChildrenNameAvailabilitySender Uses

func (client ServicesClient) CheckChildrenNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckChildrenNameAvailabilitySender sends the CheckChildrenNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) CheckNameAvailability Uses

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 Uses

func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters NameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServicesClient) CheckNameAvailabilityResponder Uses

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 Uses

func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) CheckStatus Uses

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

func (client ServicesClient) CheckStatusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

CheckStatusPreparer prepares the CheckStatus request.

func (ServicesClient) CheckStatusResponder Uses

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 Uses

func (client ServicesClient) CheckStatusSender(req *http.Request) (*http.Response, error)

CheckStatusSender sends the CheckStatus request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) CreateOrUpdate Uses

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

func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

func (client ServicesClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, deleteRunningTasks *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder Uses

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 Uses

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 Uses

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

func (client ServicesClient) GetPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder Uses

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 Uses

func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) List Uses

func (client ServicesClient) List(ctx context.Context) (result ServiceListPage, err error)

List the services resource is the top-level resource that represents the Data Migration Service. This method returns a list of service resources in a subscription.

func (ServicesClient) ListByResourceGroup Uses

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 Data Migration Service. This method returns a list of service resources in a resource group. Parameters: groupName - name of the resource group

func (ServicesClient) ListByResourceGroupComplete Uses

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 Uses

func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, groupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServicesClient) ListByResourceGroupResponder Uses

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 Uses

func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) ListComplete Uses

func (client ServicesClient) ListComplete(ctx context.Context) (result ServiceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ServicesClient) ListPreparer Uses

func (client ServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ServicesClient) ListResponder Uses

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 Uses

func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) ListSkus Uses

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

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 Uses

func (client ServicesClient) ListSkusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (ServicesClient) ListSkusResponder Uses

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 Uses

func (client ServicesClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Start Uses

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

func (client ServicesClient) StartPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ServicesClient) StartResponder Uses

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 Uses

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 Uses

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

func (client ServicesClient) StopPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ServicesClient) StopResponder Uses

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 Uses

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 Uses

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

func (client ServicesClient) UpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder Uses

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 Uses

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 Uses

type ServicesCreateOrUpdateFuture struct {
    azure.Future
}

ServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesCreateOrUpdateFuture) Result Uses

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 Uses

type ServicesDeleteFuture struct {
    azure.Future
}

ServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesDeleteFuture) Result Uses

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 Uses

type ServicesStartFuture struct {
    azure.Future
}

ServicesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesStartFuture) Result Uses

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 Uses

type ServicesStopFuture struct {
    azure.Future
}

ServicesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesStopFuture) Result Uses

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 Uses

type ServicesUpdateFuture struct {
    azure.Future
}

ServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesUpdateFuture) Result Uses

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 Uses

type Severity string

Severity enumerates the values for severity.

const (
    // SeverityError ...
    SeverityError Severity = "Error"
    // SeverityMessage ...
    SeverityMessage Severity = "Message"
    // SeverityWarning ...
    SeverityWarning Severity = "Warning"
)

func PossibleSeverityValues Uses

func PossibleSeverityValues() []Severity

PossibleSeverityValues returns an array of possible values for the Severity const type.

type TaskList Uses

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

func (TaskList) IsEmpty Uses

func (tl TaskList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TaskListIterator Uses

type TaskListIterator struct {
    // contains filtered or unexported fields
}

TaskListIterator provides access to a complete listing of ProjectTask values.

func NewTaskListIterator Uses

func NewTaskListIterator(page TaskListPage) TaskListIterator

Creates a new instance of the TaskListIterator type.

func (*TaskListIterator) Next Uses

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 Uses

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 Uses

func (iter TaskListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TaskListIterator) Response Uses

func (iter TaskListIterator) Response() TaskList

Response returns the raw server response from the last page request.

func (TaskListIterator) Value Uses

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 Uses

type TaskListPage struct {
    // contains filtered or unexported fields
}

TaskListPage contains a page of ProjectTask values.

func NewTaskListPage Uses

func NewTaskListPage(getNextPage func(context.Context, TaskList) (TaskList, error)) TaskListPage

Creates a new instance of the TaskListPage type.

func (*TaskListPage) Next Uses

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 Uses

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 Uses

func (page TaskListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TaskListPage) Response Uses

func (page TaskListPage) Response() TaskList

Response returns the raw server response from the last page request.

func (TaskListPage) Values Uses

func (page TaskListPage) Values() []ProjectTask

Values returns the slice of values for the current page or nil if there are no values.

type TaskState Uses

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 Uses

func PossibleTaskStateValues() []TaskState

PossibleTaskStateValues returns an array of possible values for the TaskState const type.

type TaskType Uses

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"
    // TaskTypeProjectTaskProperties ...
    TaskTypeProjectTaskProperties TaskType = "ProjectTaskProperties"
)

func PossibleTaskTypeValues Uses

func PossibleTaskTypeValues() []TaskType

PossibleTaskTypeValues returns an array of possible values for the TaskType const type.

type TasksClient Uses

type TasksClient struct {
    BaseClient
}

TasksClient is the data Migration Client

func NewTasksClient Uses

func NewTasksClient(subscriptionID string) TasksClient

NewTasksClient creates an instance of the TasksClient client.

func NewTasksClientWithBaseURI Uses

func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient

NewTasksClientWithBaseURI creates an instance of the TasksClient client.

func (TasksClient) Cancel Uses

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 Uses

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 Uses

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 Uses

func (client TasksClient) CancelSender(req *http.Request) (*http.Response, error)

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (TasksClient) CreateOrUpdate Uses

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

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 Uses

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 Uses

func (client TasksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (TasksClient) Delete Uses

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 Uses

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 Uses

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 Uses

func (client TasksClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (TasksClient) Get Uses

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 Uses

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 Uses

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 Uses

func (client TasksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TasksClient) List Uses

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

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 Uses

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 Uses

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 Uses

func (client TasksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (TasksClient) Update Uses

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 Uses

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 Uses

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 Uses

func (client TasksClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type TrackedResource Uses

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

TrackedResource ARM tracked top level resource.

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Type Uses

type Type string

Type enumerates the values for type.

const (
    // TypeConnectionInfo ...
    TypeConnectionInfo Type = "ConnectionInfo"
    // TypeSQLConnectionInfo ...
    TypeSQLConnectionInfo Type = "SqlConnectionInfo"
)

func PossibleTypeValues Uses

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type UpdateActionType Uses

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 Uses

func PossibleUpdateActionTypeValues() []UpdateActionType

PossibleUpdateActionTypeValues returns an array of possible values for the UpdateActionType const type.

type UsagesClient Uses

type UsagesClient struct {
    BaseClient
}

UsagesClient is the data Migration Client

func NewUsagesClient Uses

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI Uses

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.

func (UsagesClient) List Uses

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 Data Migration Service. Parameters: location - the Azure region of the operation

func (UsagesClient) ListComplete Uses

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 Uses

func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsagesClient) ListResponder Uses

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 Uses

func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ValidationError Uses

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 Uses

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 Uses

func PossibleValidationStatusValues() []ValidationStatus

PossibleValidationStatusValues returns an array of possible values for the ValidationStatus const type.

type WaitStatistics Uses

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

Directories

PathSynopsis
datamigrationapi

Package datamigration imports 10 packages (graph) and is imported by 4 packages. Updated 2019-09-03. Refresh now. Tools for package owners.