From 3061b206e2b19732a4afaf3cbc5d4ab38e8c2726 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 2 May 2018 05:51:18 +0000 Subject: [PATCH 1/2] Generated from 76e946262de9e286acc0dbd49f1440f707189bed Revert all breaking changes in preview version folders as this PR is only focused on stable 2018-04-19. Marked some properties as readonly in '2018-04-19\definitions\TasksCommon.json' --- .../mgmt/2017-11-15-preview/datamigration/models.go | 8 ++++---- .../mgmt/2018-03-31-preview/datamigration/models.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration/models.go b/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration/models.go index 92b28c1c1a6f..2961a9d1f56d 100644 --- a/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration/models.go +++ b/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration/models.go @@ -1619,7 +1619,7 @@ func (msssdto MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskO return &msssdto, true } -// MigrateSQLServerSQLDbTaskOutputDatabaseLevel ... +// MigrateSQLServerSQLDbTaskOutputDatabaseLevel database level result for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputDatabaseLevel struct { // DatabaseName - Name of the item DatabaseName *string `json:"databaseName,omitempty"` @@ -1740,7 +1740,7 @@ func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLS return &msssdtodl, true } -// MigrateSQLServerSQLDbTaskOutputError ... +// MigrateSQLServerSQLDbTaskOutputError task errors for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputError struct { // Error - Migration error Error *ReportableException `json:"error,omitempty"` @@ -1796,7 +1796,7 @@ func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLD return &msssdtoe, true } -// MigrateSQLServerSQLDbTaskOutputMigrationLevel ... +// MigrateSQLServerSQLDbTaskOutputMigrationLevel migration level result for Sql server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputMigrationLevel struct { // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` @@ -1917,7 +1917,7 @@ func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQL return &msssdtoml, true } -// MigrateSQLServerSQLDbTaskOutputTableLevel ... +// MigrateSQLServerSQLDbTaskOutputTableLevel table level result for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputTableLevel struct { // ObjectName - Name of the item ObjectName *string `json:"objectName,omitempty"` diff --git a/services/preview/datamigration/mgmt/2018-03-31-preview/datamigration/models.go b/services/preview/datamigration/mgmt/2018-03-31-preview/datamigration/models.go index f3c0ee276abd..12ab2d9e99ce 100644 --- a/services/preview/datamigration/mgmt/2018-03-31-preview/datamigration/models.go +++ b/services/preview/datamigration/mgmt/2018-03-31-preview/datamigration/models.go @@ -1765,7 +1765,7 @@ type DataItemMigrationSummaryResult struct { type Error struct { // Message - Error description Message *string `json:"message,omitempty"` - // Type - Possible values include: 'ErrorTypeDefault', 'ErrorTypeWarning', 'ErrorTypeError' + // Type - Type of error. Possible values include: 'ErrorTypeDefault', 'ErrorTypeWarning', 'ErrorTypeError' Type ErrorType `json:"type,omitempty"` } @@ -5287,7 +5287,7 @@ type SQLMigrationTaskInput struct { TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` } -// StartMigrationScenarioServerRoleResult ... +// StartMigrationScenarioServerRoleResult server role migration result type StartMigrationScenarioServerRoleResult struct { // Name - Name of server role. Name *string `json:"name,omitempty"` From 0cba4ac894a37b43cbb181b96a0af18b9fd08599 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 2 May 2018 21:47:45 +0000 Subject: [PATCH 2/2] Generated from 76e946262de9e286acc0dbd49f1440f707189bed Revert all breaking changes in preview version folders as this PR is only focused on stable 2018-04-19. Marked some properties as readonly in '2018-04-19\definitions\TasksCommon.json' --- .../datamigration/client.go | 3 - .../datamigration/models.go | 342 +----------------- .../datamigration/operations.go | 8 - .../datamigration/projects.go | 59 ++- .../datamigration/resourceskus.go | 8 - .../datamigration/services.go | 116 ++---- .../2017-11-15-preview/datamigration/tasks.go | 80 ++-- .../datamigration/usages.go | 12 +- .../datamigration/version.go | 3 +- 9 files changed, 99 insertions(+), 532 deletions(-) diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/client.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/client.go index e15990290f42..aa24d3d6e48b 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/client.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/client.go @@ -29,7 +29,6 @@ const ( DefaultBaseURI = "https://management.azure.com" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // BaseClient is the base client for Datamigration. type BaseClient struct { autorest.Client @@ -37,13 +36,11 @@ type BaseClient struct { SubscriptionID string } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/models.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/models.go index d78ad99d7827..2961a9d1f56d 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/models.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/models.go @@ -26,7 +26,6 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AuthenticationType enumerates the values for authentication type. type AuthenticationType string @@ -43,13 +42,11 @@ const ( WindowsAuthentication AuthenticationType = "WindowsAuthentication" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. func PossibleAuthenticationTypeValues() []AuthenticationType { return []AuthenticationType{ActiveDirectoryIntegrated, ActiveDirectoryPassword, None, SQLAuthentication, WindowsAuthentication} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseCompatLevel enumerates the values for database compat level. type DatabaseCompatLevel string @@ -70,13 +67,11 @@ const ( CompatLevel90 DatabaseCompatLevel = "CompatLevel90" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleDatabaseCompatLevelValues returns an array of possible values for the DatabaseCompatLevel const type. func PossibleDatabaseCompatLevelValues() []DatabaseCompatLevel { return []DatabaseCompatLevel{CompatLevel100, CompatLevel110, CompatLevel120, CompatLevel130, CompatLevel140, CompatLevel80, CompatLevel90} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseFileType enumerates the values for database file type. type DatabaseFileType string @@ -93,13 +88,11 @@ const ( Rows DatabaseFileType = "Rows" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleDatabaseFileTypeValues returns an array of possible values for the DatabaseFileType const type. func PossibleDatabaseFileTypeValues() []DatabaseFileType { return []DatabaseFileType{Filestream, Fulltext, Log, NotSupported, Rows} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseMigrationStage enumerates the values for database migration stage. type DatabaseMigrationStage string @@ -118,13 +111,11 @@ const ( DatabaseMigrationStageRestore DatabaseMigrationStage = "Restore" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleDatabaseMigrationStageValues returns an array of possible values for the DatabaseMigrationStage const type. func PossibleDatabaseMigrationStageValues() []DatabaseMigrationStage { return []DatabaseMigrationStage{DatabaseMigrationStageBackup, DatabaseMigrationStageCompleted, DatabaseMigrationStageFileCopy, DatabaseMigrationStageInitialize, DatabaseMigrationStageNone, DatabaseMigrationStageRestore} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseState enumerates the values for database state. type DatabaseState string @@ -149,13 +140,11 @@ const ( Suspect DatabaseState = "Suspect" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleDatabaseStateValues returns an array of possible values for the DatabaseState const type. func PossibleDatabaseStateValues() []DatabaseState { return []DatabaseState{Copying, Emergency, Offline, OfflineSecondary, Online, Recovering, RecoveryPending, Restoring, Suspect} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ErrorType enumerates the values for error type. type ErrorType string @@ -168,13 +157,11 @@ const ( ErrorTypeWarning ErrorType = "Warning" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleErrorTypeValues returns an array of possible values for the ErrorType const type. func PossibleErrorTypeValues() []ErrorType { return []ErrorType{ErrorTypeDefault, ErrorTypeError, ErrorTypeWarning} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationState enumerates the values for migration state. type MigrationState string @@ -195,13 +182,11 @@ const ( MigrationStateWarning MigrationState = "Warning" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleMigrationStateValues returns an array of possible values for the MigrationState const type. func PossibleMigrationStateValues() []MigrationState { return []MigrationState{MigrationStateCompleted, MigrationStateFailed, MigrationStateInProgress, MigrationStateNone, MigrationStateSkipped, MigrationStateStopped, MigrationStateWarning} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationStatus enumerates the values for migration status. type MigrationStatus string @@ -228,13 +213,11 @@ const ( MigrationStatusStopped MigrationStatus = "Stopped" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleMigrationStatusValues returns an array of possible values for the MigrationStatus const type. func PossibleMigrationStatusValues() []MigrationStatus { return []MigrationStatus{MigrationStatusCompleted, MigrationStatusCompletedWithWarnings, MigrationStatusConfigured, MigrationStatusConnecting, MigrationStatusDefault, MigrationStatusError, MigrationStatusRunning, MigrationStatusSelectLogins, MigrationStatusSourceAndTargetSelected, MigrationStatusStopped} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NameCheckFailureReason enumerates the values for name check failure reason. type NameCheckFailureReason string @@ -245,13 +228,11 @@ const ( Invalid NameCheckFailureReason = "Invalid" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleNameCheckFailureReasonValues returns an array of possible values for the NameCheckFailureReason const type. func PossibleNameCheckFailureReasonValues() []NameCheckFailureReason { return []NameCheckFailureReason{AlreadyExists, Invalid} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ObjectType enumerates the values for object type. type ObjectType string @@ -268,13 +249,11 @@ const ( View ObjectType = "View" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleObjectTypeValues returns an array of possible values for the ObjectType const type. func PossibleObjectTypeValues() []ObjectType { return []ObjectType{Function, StoredProcedures, Table, User, View} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectProvisioningState enumerates the values for project provisioning state. type ProjectProvisioningState string @@ -285,13 +264,11 @@ const ( Succeeded ProjectProvisioningState = "Succeeded" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleProjectProvisioningStateValues returns an array of possible values for the ProjectProvisioningState const type. func PossibleProjectProvisioningStateValues() []ProjectProvisioningState { return []ProjectProvisioningState{Deleting, Succeeded} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectSourcePlatform enumerates the values for project source platform. type ProjectSourcePlatform string @@ -302,13 +279,11 @@ const ( Unknown ProjectSourcePlatform = "Unknown" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleProjectSourcePlatformValues returns an array of possible values for the ProjectSourcePlatform const type. func PossibleProjectSourcePlatformValues() []ProjectSourcePlatform { return []ProjectSourcePlatform{SQL, Unknown} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectTargetPlatform enumerates the values for project target platform. type ProjectTargetPlatform string @@ -319,13 +294,11 @@ const ( ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleProjectTargetPlatformValues returns an array of possible values for the ProjectTargetPlatform const type. func PossibleProjectTargetPlatformValues() []ProjectTargetPlatform { return []ProjectTargetPlatform{ProjectTargetPlatformSQLDB, ProjectTargetPlatformUnknown} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type. type ResourceSkuCapacityScaleType string @@ -338,13 +311,11 @@ const ( ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type. func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType { return []ResourceSkuCapacityScaleType{ResourceSkuCapacityScaleTypeAutomatic, ResourceSkuCapacityScaleTypeManual, ResourceSkuCapacityScaleTypeNone} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code. type ResourceSkuRestrictionsReasonCode string @@ -355,13 +326,11 @@ const ( QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type. func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode { return []ResourceSkuRestrictionsReasonCode{NotAvailableForSubscription, QuotaID} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type. type ResourceSkuRestrictionsType string @@ -370,13 +339,11 @@ const ( Location ResourceSkuRestrictionsType = "location" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type. func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType { return []ResourceSkuRestrictionsType{Location} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResultType enumerates the values for result type. type ResultType string @@ -393,13 +360,11 @@ const ( ResultTypeTableLevelOutput ResultType = "TableLevelOutput" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleResultTypeValues returns an array of possible values for the ResultType const type. func PossibleResultTypeValues() []ResultType { return []ResultType{ResultTypeDatabaseLevelOutput, ResultTypeErrorOutput, ResultTypeMigrateSQLServerSQLDbTaskOutput, ResultTypeMigrationLevelOutput, ResultTypeTableLevelOutput} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResultTypeBasicConnectToSourceSQLServerTaskOutput enumerates the values for result type basic connect to // source sql server task output. type ResultTypeBasicConnectToSourceSQLServerTaskOutput string @@ -413,13 +378,11 @@ const ( ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput ResultTypeBasicConnectToSourceSQLServerTaskOutput = "TaskLevelOutput" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues returns an array of possible values for the ResultTypeBasicConnectToSourceSQLServerTaskOutput const type. func PossibleResultTypeBasicConnectToSourceSQLServerTaskOutputValues() []ResultTypeBasicConnectToSourceSQLServerTaskOutput { return []ResultTypeBasicConnectToSourceSQLServerTaskOutput{ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput, ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput, ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServerLevelPermissionsGroup enumerates the values for server level permissions group. type ServerLevelPermissionsGroup string @@ -430,13 +393,11 @@ const ( MigrationFromSQLServerToAzureDB ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleServerLevelPermissionsGroupValues returns an array of possible values for the ServerLevelPermissionsGroup const type. func PossibleServerLevelPermissionsGroupValues() []ServerLevelPermissionsGroup { return []ServerLevelPermissionsGroup{Default, MigrationFromSQLServerToAzureDB} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceProvisioningState enumerates the values for service provisioning state. type ServiceProvisioningState string @@ -463,13 +424,11 @@ const ( ServiceProvisioningStateSucceeded ServiceProvisioningState = "Succeeded" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleServiceProvisioningStateValues returns an array of possible values for the ServiceProvisioningState const type. func PossibleServiceProvisioningStateValues() []ServiceProvisioningState { return []ServiceProvisioningState{ServiceProvisioningStateAccepted, ServiceProvisioningStateDeleting, ServiceProvisioningStateDeploying, ServiceProvisioningStateFailed, ServiceProvisioningStateFailedToStart, ServiceProvisioningStateFailedToStop, ServiceProvisioningStateStarting, ServiceProvisioningStateStopped, ServiceProvisioningStateStopping, ServiceProvisioningStateSucceeded} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceScalability enumerates the values for service scalability. type ServiceScalability string @@ -482,13 +441,11 @@ const ( ServiceScalabilityNone ServiceScalability = "none" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleServiceScalabilityValues returns an array of possible values for the ServiceScalability const type. func PossibleServiceScalabilityValues() []ServiceScalability { return []ServiceScalability{ServiceScalabilityAutomatic, ServiceScalabilityManual, ServiceScalabilityNone} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Severity enumerates the values for severity. type Severity string @@ -501,13 +458,11 @@ const ( SeverityWarning Severity = "Warning" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleSeverityValues returns an array of possible values for the Severity const type. func PossibleSeverityValues() []Severity { return []Severity{SeverityError, SeverityMessage, SeverityWarning} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TaskState enumerates the values for task state. type TaskState string @@ -530,13 +485,11 @@ const ( TaskStateUnknown TaskState = "Unknown" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleTaskStateValues returns an array of possible values for the TaskState const type. func PossibleTaskStateValues() []TaskState { return []TaskState{TaskStateCanceled, TaskStateFailed, TaskStateFailedInputValidation, TaskStateFaulted, TaskStateQueued, TaskStateRunning, TaskStateSucceeded, TaskStateUnknown} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TaskType enumerates the values for task type. type TaskType string @@ -553,13 +506,11 @@ const ( TaskTypeUnknown TaskType = "Unknown" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleTaskTypeValues returns an array of possible values for the TaskType const type. func PossibleTaskTypeValues() []TaskType { return []TaskType{TaskTypeConnectToSourceSQLServer, TaskTypeConnectToTargetSQLDb, TaskTypeGetUserTablesSQL, TaskTypeMigrateSQLServerSQLDb, TaskTypeUnknown} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Type enumerates the values for type. type Type string @@ -570,13 +521,11 @@ const ( TypeUnknown Type = "Unknown" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleTypeValues returns an array of possible values for the Type const type. func PossibleTypeValues() []Type { return []Type{TypeSQLConnectionInfo, TypeUnknown} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateActionType enumerates the values for update action type. type UpdateActionType string @@ -589,13 +538,11 @@ const ( DeletedOnTarget UpdateActionType = "DeletedOnTarget" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleUpdateActionTypeValues returns an array of possible values for the UpdateActionType const type. func PossibleUpdateActionTypeValues() []UpdateActionType { return []UpdateActionType{AddedOnTarget, ChangedOnTarget, DeletedOnTarget} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ValidationStatus enumerates the values for validation status. type ValidationStatus string @@ -618,20 +565,17 @@ const ( ValidationStatusStopped ValidationStatus = "Stopped" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // PossibleValidationStatusValues returns an array of possible values for the ValidationStatus const type. func PossibleValidationStatusValues() []ValidationStatus { return []ValidationStatus{ValidationStatusCompleted, ValidationStatusCompletedWithIssues, ValidationStatusDefault, ValidationStatusFailed, ValidationStatusInitialized, ValidationStatusInProgress, ValidationStatusNotStarted, ValidationStatusStopped} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // APIError error information. type APIError struct { // Error - Error information in OData format Error *ODataError `json:"error,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AvailableServiceSku describes the available service SKU. type AvailableServiceSku struct { // ResourceType - The resource type, including the provider namespace @@ -642,7 +586,6 @@ type AvailableServiceSku struct { Capacity *AvailableServiceSkuCapacity `json:"capacity,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AvailableServiceSkuCapacity a description of the scaling capacities of the SKU type AvailableServiceSkuCapacity struct { // Minimum - The minimum capacity, usually 0 or 1. @@ -655,7 +598,6 @@ type AvailableServiceSkuCapacity struct { ScaleType ServiceScalability `json:"scaleType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AvailableServiceSkuSku SKU name, tier, etc. type AvailableServiceSkuSku struct { // Name - The name of the SKU @@ -668,14 +610,12 @@ type AvailableServiceSkuSku struct { Tier *string `json:"tier,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // BasicConnectionInfo defines the connection properties of a server type BasicConnectionInfo interface { AsSQLConnectionInfo() (*SQLConnectionInfo, bool) AsConnectionInfo() (*ConnectionInfo, bool) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectionInfo defines the connection properties of a server type ConnectionInfo struct { // UserName - User name @@ -723,7 +663,6 @@ func unmarshalBasicConnectionInfoArray(body []byte) ([]BasicConnectionInfo, erro return ciArray, nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectionInfo. func (ci ConnectionInfo) MarshalJSON() ([]byte, error) { ci.Type = TypeUnknown @@ -740,25 +679,21 @@ func (ci ConnectionInfo) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsSQLConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo. func (ci ConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo. func (ci ConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool) { return &ci, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicConnectionInfo is the BasicConnectionInfo implementation for ConnectionInfo. func (ci ConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool) { return &ci, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToSourceSQLServerTaskInput input for the task that validates connection to SQL Server and also validates // source server requirements type ConnectToSourceSQLServerTaskInput struct { @@ -768,7 +703,6 @@ type ConnectToSourceSQLServerTaskInput struct { CheckPermissionsGroup ServerLevelPermissionsGroup `json:"checkPermissionsGroup,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // BasicConnectToSourceSQLServerTaskOutput output for the task that validates connection to SQL Server and also // validates source server requirements type BasicConnectToSourceSQLServerTaskOutput interface { @@ -777,7 +711,6 @@ type BasicConnectToSourceSQLServerTaskOutput interface { AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToSourceSQLServerTaskOutput output for the task that validates connection to SQL Server and also // validates source server requirements type ConnectToSourceSQLServerTaskOutput struct { @@ -828,7 +761,6 @@ func unmarshalBasicConnectToSourceSQLServerTaskOutputArray(body []byte) ([]Basic return ctssstoArray, nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutput. func (ctsssto ConnectToSourceSQLServerTaskOutput) MarshalJSON() ([]byte, error) { ctsssto.ResultType = ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeConnectToSourceSQLServerTaskOutput @@ -842,31 +774,26 @@ func (ctsssto ConnectToSourceSQLServerTaskOutput) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput. func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput. func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput. func (ctsssto ConnectToSourceSQLServerTaskOutput) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool) { return &ctsssto, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutput. func (ctsssto ConnectToSourceSQLServerTaskOutput) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool) { return &ctsssto, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToSourceSQLServerTaskOutputDatabaseLevel database level output for the task that validates connection to // SQL Server and also validates source server requirements type ConnectToSourceSQLServerTaskOutputDatabaseLevel struct { @@ -886,7 +813,6 @@ type ConnectToSourceSQLServerTaskOutputDatabaseLevel struct { ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputDatabaseLevel. func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error) { ctssstodl.ResultType = ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeDatabaseLevelOutput @@ -915,31 +841,26 @@ func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) MarshalJSON() ( return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel. func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool) { return &ctssstodl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel. func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel. func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputDatabaseLevel. func (ctssstodl ConnectToSourceSQLServerTaskOutputDatabaseLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool) { return &ctssstodl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToSourceSQLServerTaskOutputTaskLevel task level output for the task that validates connection to SQL // Server and also validates source server requirements type ConnectToSourceSQLServerTaskOutputTaskLevel struct { @@ -957,7 +878,6 @@ type ConnectToSourceSQLServerTaskOutputTaskLevel struct { ResultType ResultTypeBasicConnectToSourceSQLServerTaskOutput `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskOutputTaskLevel. func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON() ([]byte, error) { ctssstotl.ResultType = ResultTypeBasicConnectToSourceSQLServerTaskOutputResultTypeTaskLevelOutput @@ -983,31 +903,26 @@ func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) MarshalJSON() ([]by return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputDatabaseLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel. func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputDatabaseLevel() (*ConnectToSourceSQLServerTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutputTaskLevel is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel. func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutputTaskLevel() (*ConnectToSourceSQLServerTaskOutputTaskLevel, bool) { return &ctssstotl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel. func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsConnectToSourceSQLServerTaskOutput() (*ConnectToSourceSQLServerTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicConnectToSourceSQLServerTaskOutput is the BasicConnectToSourceSQLServerTaskOutput implementation for ConnectToSourceSQLServerTaskOutputTaskLevel. func (ctssstotl ConnectToSourceSQLServerTaskOutputTaskLevel) AsBasicConnectToSourceSQLServerTaskOutput() (BasicConnectToSourceSQLServerTaskOutput, bool) { return &ctssstotl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToSourceSQLServerTaskProperties properties for the task that validates connection to SQL Server and also // validates source server requirements type ConnectToSourceSQLServerTaskProperties struct { @@ -1023,7 +938,6 @@ type ConnectToSourceSQLServerTaskProperties struct { TaskType TaskType `json:"taskType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) MarshalJSON() ([]byte, error) { ctssstp.TaskType = TaskTypeConnectToSourceSQLServer @@ -1046,43 +960,36 @@ func (ctssstp ConnectToSourceSQLServerTaskProperties) MarshalJSON() ([]byte, err return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) { return &ctssstp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToSourceSQLServerTaskProperties. func (ctssstp ConnectToSourceSQLServerTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool) { return &ctssstp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for ConnectToSourceSQLServerTaskProperties struct. func (ctssstp *ConnectToSourceSQLServerTaskProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1142,7 +1049,6 @@ func (ctssstp *ConnectToSourceSQLServerTaskProperties) UnmarshalJSON(body []byte return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToTargetSQLDbTaskInput input for the task that validates connection to SQL DB and target server // requirements type ConnectToTargetSQLDbTaskInput struct { @@ -1150,7 +1056,6 @@ type ConnectToTargetSQLDbTaskInput struct { TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToTargetSQLDbTaskOutput output for the task that validates connection to SQL DB and target server // requirements type ConnectToTargetSQLDbTaskOutput struct { @@ -1164,7 +1069,6 @@ type ConnectToTargetSQLDbTaskOutput struct { TargetServerBrandVersion *string `json:"targetServerBrandVersion,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskOutput. func (cttsdto ConnectToTargetSQLDbTaskOutput) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1183,7 +1087,6 @@ func (cttsdto ConnectToTargetSQLDbTaskOutput) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ConnectToTargetSQLDbTaskProperties properties for the task that validates connection to SQL DB and target server // requirements type ConnectToTargetSQLDbTaskProperties struct { @@ -1199,7 +1102,6 @@ type ConnectToTargetSQLDbTaskProperties struct { TaskType TaskType `json:"taskType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) MarshalJSON() ([]byte, error) { cttsdtp.TaskType = TaskTypeConnectToTargetSQLDb @@ -1222,43 +1124,36 @@ func (cttsdtp ConnectToTargetSQLDbTaskProperties) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) { return &cttsdtp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ConnectToTargetSQLDbTaskProperties. func (cttsdtp ConnectToTargetSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool) { return &cttsdtp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Database information about a single database type Database struct { // ID - Unique identifier for the database @@ -1297,7 +1192,6 @@ type Database struct { ServerID *string `json:"serverId,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseFileInfo database file specific information type DatabaseFileInfo struct { // DatabaseName - Name of the database @@ -1316,7 +1210,6 @@ type DatabaseFileInfo struct { SizeMB *float64 `json:"sizeMB,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseFileInput database file specific information for input type DatabaseFileInput struct { // ID - Unique identifier for database file @@ -1331,14 +1224,12 @@ type DatabaseFileInput struct { FileType DatabaseFileType `json:"fileType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseInfo project Database Details type DatabaseInfo struct { // SourceDatabaseName - Name of the database SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseObjectName a representation of the name of an object in a database type DatabaseObjectName struct { // DatabaseName - The unescaped name of the database containing the object @@ -1351,7 +1242,6 @@ type DatabaseObjectName struct { ObjectType ObjectType `json:"objectType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseSummaryResult summary of database results in the migration type DatabaseSummaryResult struct { // SizeMB - Size of the database in megabytes @@ -1376,7 +1266,6 @@ type DatabaseSummaryResult struct { ResultPrefix *string `json:"resultPrefix,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DatabaseTable table properties type DatabaseTable struct { // HasRows - Indicates whether table is empty or not @@ -1385,7 +1274,6 @@ type DatabaseTable struct { Name *string `json:"name,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DataIntegrityValidationResult results for checksum based Data Integrity validation results type DataIntegrityValidationResult struct { // FailedObjects - List of failed table names of source and target pair @@ -1394,7 +1282,6 @@ type DataIntegrityValidationResult struct { ValidationErrors *ValidationError `json:"validationErrors,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for DataIntegrityValidationResult. func (divr DataIntegrityValidationResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1407,7 +1294,6 @@ func (divr DataIntegrityValidationResult) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DataItemMigrationSummaryResult basic summary of a data item migration type DataItemMigrationSummaryResult struct { // Name - Name of the item @@ -1430,7 +1316,6 @@ type DataItemMigrationSummaryResult struct { ResultPrefix *string `json:"resultPrefix,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Error migration Task errors type Error struct { // Message - Error description @@ -1439,7 +1324,6 @@ type Error struct { Type ErrorType `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ExecutionStatistics description about the errors happen while performing migration validation type ExecutionStatistics struct { // ExecutionCount - No. of query executions @@ -1456,7 +1340,6 @@ type ExecutionStatistics struct { SQLErrors *[]string `json:"sqlErrors,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ExecutionStatistics. func (es ExecutionStatistics) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1481,7 +1364,6 @@ func (es ExecutionStatistics) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetUserTablesSQLTaskInput input for the task that collects user tables for the given list of databases type GetUserTablesSQLTaskInput struct { // ConnectionInfo - Connection information for SQL Server @@ -1490,7 +1372,6 @@ type GetUserTablesSQLTaskInput struct { SelectedDatabases *[]string `json:"selectedDatabases,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetUserTablesSQLTaskOutput output of the task that collects user tables for the given list of databases type GetUserTablesSQLTaskOutput struct { // ID - Result identifier @@ -1501,7 +1382,6 @@ type GetUserTablesSQLTaskOutput struct { ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for GetUserTablesSQLTaskOutput. func (gutsto GetUserTablesSQLTaskOutput) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1517,7 +1397,6 @@ func (gutsto GetUserTablesSQLTaskOutput) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetUserTablesSQLTaskProperties properties for the task that collects user tables for the given list of databases type GetUserTablesSQLTaskProperties struct { // Input - Task input @@ -1532,7 +1411,6 @@ type GetUserTablesSQLTaskProperties struct { TaskType TaskType `json:"taskType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) MarshalJSON() ([]byte, error) { gutstp.TaskType = TaskTypeGetUserTablesSQL @@ -1555,43 +1433,36 @@ func (gutstp GetUserTablesSQLTaskProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) { return &gutstp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for GetUserTablesSQLTaskProperties. func (gutstp GetUserTablesSQLTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool) { return &gutstp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrateSQLServerSQLDbDatabaseInput database specific information for SQL to Azure SQL DB migration task inputs type MigrateSQLServerSQLDbDatabaseInput struct { // Name - Name of the database @@ -1604,7 +1475,6 @@ type MigrateSQLServerSQLDbDatabaseInput struct { TableMap map[string]*string `json:"tableMap"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbDatabaseInput. func (msssddi MigrateSQLServerSQLDbDatabaseInput) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1623,7 +1493,6 @@ func (msssddi MigrateSQLServerSQLDbDatabaseInput) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrateSQLServerSQLDbTaskInput input for the task that migrates on-prem SQL Server databases to Azure SQL // Database type MigrateSQLServerSQLDbTaskInput struct { @@ -1639,7 +1508,6 @@ type MigrateSQLServerSQLDbTaskInput struct { TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // BasicMigrateSQLServerSQLDbTaskOutput output for the task that migrates on-prem SQL Server databases to Azure SQL // Database type BasicMigrateSQLServerSQLDbTaskOutput interface { @@ -1650,7 +1518,6 @@ type BasicMigrateSQLServerSQLDbTaskOutput interface { AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrateSQLServerSQLDbTaskOutput output for the task that migrates on-prem SQL Server databases to Azure SQL // Database type MigrateSQLServerSQLDbTaskOutput struct { @@ -1709,7 +1576,6 @@ func unmarshalBasicMigrateSQLServerSQLDbTaskOutputArray(body []byte) ([]BasicMig return msssdtoArray, nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) MarshalJSON() ([]byte, error) { msssdto.ResultType = ResultTypeMigrateSQLServerSQLDbTaskOutput @@ -1723,44 +1589,37 @@ func (msssdto MigrateSQLServerSQLDbTaskOutput) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) { return &msssdto, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutput. func (msssdto MigrateSQLServerSQLDbTaskOutput) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool) { return &msssdto, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. -// MigrateSQLServerSQLDbTaskOutputDatabaseLevel ... +// MigrateSQLServerSQLDbTaskOutputDatabaseLevel database level result for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputDatabaseLevel struct { // DatabaseName - Name of the item DatabaseName *string `json:"databaseName,omitempty"` @@ -1796,7 +1655,6 @@ type MigrateSQLServerSQLDbTaskOutputDatabaseLevel struct { ResultType ResultType `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON() ([]byte, error) { msssdtodl.ResultType = ResultTypeDatabaseLevelOutput @@ -1852,44 +1710,37 @@ func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) MarshalJSON() ([]b return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) { return &msssdtodl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputDatabaseLevel. func (msssdtodl MigrateSQLServerSQLDbTaskOutputDatabaseLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool) { return &msssdtodl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. -// MigrateSQLServerSQLDbTaskOutputError ... +// MigrateSQLServerSQLDbTaskOutputError task errors for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputError struct { // Error - Migration error Error *ReportableException `json:"error,omitempty"` @@ -1899,7 +1750,6 @@ type MigrateSQLServerSQLDbTaskOutputError struct { ResultType ResultType `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) MarshalJSON() ([]byte, error) { msssdtoe.ResultType = ResultTypeErrorOutput @@ -1916,44 +1766,37 @@ func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) MarshalJSON() ([]byte, erro return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) { return &msssdtoe, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputError. func (msssdtoe MigrateSQLServerSQLDbTaskOutputError) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool) { return &msssdtoe, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. -// MigrateSQLServerSQLDbTaskOutputMigrationLevel ... +// MigrateSQLServerSQLDbTaskOutputMigrationLevel migration level result for Sql server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputMigrationLevel struct { // StartedOn - Migration start time StartedOn *date.Time `json:"startedOn,omitempty"` @@ -1989,7 +1832,6 @@ type MigrateSQLServerSQLDbTaskOutputMigrationLevel struct { ResultType ResultType `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON() ([]byte, error) { msssdtoml.ResultType = ResultTypeMigrationLevelOutput @@ -2045,44 +1887,37 @@ func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) MarshalJSON() ([] return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) { return &msssdtoml, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputMigrationLevel. func (msssdtoml MigrateSQLServerSQLDbTaskOutputMigrationLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool) { return &msssdtoml, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. -// MigrateSQLServerSQLDbTaskOutputTableLevel ... +// MigrateSQLServerSQLDbTaskOutputTableLevel table level result for Sql Server to Azure Sql DB migration. type MigrateSQLServerSQLDbTaskOutputTableLevel struct { // ObjectName - Name of the item ObjectName *string `json:"objectName,omitempty"` @@ -2108,7 +1943,6 @@ type MigrateSQLServerSQLDbTaskOutputTableLevel struct { ResultType ResultType `json:"resultType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON() ([]byte, error) { msssdtotl.ResultType = ResultTypeTableLevelOutput @@ -2149,43 +1983,36 @@ func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) MarshalJSON() ([]byte return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputError is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputError() (*MigrateSQLServerSQLDbTaskOutputError, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputTableLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputTableLevel() (*MigrateSQLServerSQLDbTaskOutputTableLevel, bool) { return &msssdtotl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputDatabaseLevel() (*MigrateSQLServerSQLDbTaskOutputDatabaseLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutputMigrationLevel is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutputMigrationLevel() (*MigrateSQLServerSQLDbTaskOutputMigrationLevel, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsMigrateSQLServerSQLDbTaskOutput() (*MigrateSQLServerSQLDbTaskOutput, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicMigrateSQLServerSQLDbTaskOutput is the BasicMigrateSQLServerSQLDbTaskOutput implementation for MigrateSQLServerSQLDbTaskOutputTableLevel. func (msssdtotl MigrateSQLServerSQLDbTaskOutputTableLevel) AsBasicMigrateSQLServerSQLDbTaskOutput() (BasicMigrateSQLServerSQLDbTaskOutput, bool) { return &msssdtotl, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrateSQLServerSQLDbTaskProperties properties for the task that migrates on-prem SQL Server databases to Azure // SQL Database type MigrateSQLServerSQLDbTaskProperties struct { @@ -2201,7 +2028,6 @@ type MigrateSQLServerSQLDbTaskProperties struct { TaskType TaskType `json:"taskType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) MarshalJSON() ([]byte, error) { msssdtp.TaskType = TaskTypeMigrateSQLServerSQLDb @@ -2224,43 +2050,36 @@ func (msssdtp MigrateSQLServerSQLDbTaskProperties) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) { return &msssdtp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for MigrateSQLServerSQLDbTaskProperties. func (msssdtp MigrateSQLServerSQLDbTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool) { return &msssdtp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for MigrateSQLServerSQLDbTaskProperties struct. func (msssdtp *MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2320,7 +2139,6 @@ func (msssdtp *MigrateSQLServerSQLDbTaskProperties) UnmarshalJSON(body []byte) e return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationReportResult migration validation report result, contains the url for downloading the generated report. type MigrationReportResult struct { // ID - Migration validation result identifier @@ -2329,7 +2147,6 @@ type MigrationReportResult struct { ReportURL *string `json:"reportUrl,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationTableMetadata metadata for tables selected in migration project type MigrationTableMetadata struct { // SourceTableName - Source table name @@ -2338,7 +2155,6 @@ type MigrationTableMetadata struct { TargetTableName *string `json:"targetTableName,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationValidationDatabaseLevelResult database level validation results type MigrationValidationDatabaseLevelResult struct { // ID - Result identifier @@ -2363,7 +2179,6 @@ type MigrationValidationDatabaseLevelResult struct { Status ValidationStatus `json:"status,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationValidationDatabaseSummaryResult migration Validation Database level summary result type MigrationValidationDatabaseSummaryResult struct { // ID - Result identifier @@ -2382,7 +2197,6 @@ type MigrationValidationDatabaseSummaryResult struct { Status ValidationStatus `json:"status,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationValidationOptions types of validations to run after the migration type MigrationValidationOptions struct { // EnableSchemaValidation - Allows to compare the schema information between source and target. @@ -2393,7 +2207,6 @@ type MigrationValidationOptions struct { EnableQueryAnalysisValidation *bool `json:"enableQueryAnalysisValidation,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MigrationValidationResult migration Validation Result type MigrationValidationResult struct { // ID - Migration validation result identifier @@ -2406,7 +2219,6 @@ type MigrationValidationResult struct { Status ValidationStatus `json:"status,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for MigrationValidationResult. func (mvr MigrationValidationResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2425,7 +2237,6 @@ func (mvr MigrationValidationResult) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NameAvailabilityRequest a resource type and proposed name type NameAvailabilityRequest struct { // Name - The proposed resource name @@ -2434,7 +2245,6 @@ type NameAvailabilityRequest struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NameAvailabilityResponse indicates whether a proposed resource name is available type NameAvailabilityResponse struct { autorest.Response `json:"-"` @@ -2446,7 +2256,6 @@ type NameAvailabilityResponse struct { Message *string `json:"message,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ODataError error information in OData format. type ODataError struct { // Code - The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError' @@ -2457,7 +2266,6 @@ type ODataError struct { Details *[]ODataError `json:"details,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Project a project resource type Project struct { autorest.Response `json:"-"` @@ -2475,7 +2283,6 @@ type Project struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for Project. func (p Project) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2500,7 +2307,6 @@ func (p Project) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for Project struct. func (p *Project) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2570,7 +2376,6 @@ func (p *Project) UnmarshalJSON(body []byte) error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectList oData page of project resources type ProjectList struct { autorest.Response `json:"-"` @@ -2580,14 +2385,12 @@ type ProjectList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectListIterator provides access to a complete listing of Project values. type ProjectListIterator struct { i int page ProjectListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ProjectListIterator) Next() error { @@ -2604,19 +2407,16 @@ func (iter *ProjectListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ProjectListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter ProjectListIterator) Response() ProjectList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ProjectListIterator) Value() Project { @@ -2626,7 +2426,6 @@ func (iter ProjectListIterator) Value() Project { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (pl ProjectList) IsEmpty() bool { return pl.Value == nil || len(*pl.Value) == 0 @@ -2644,14 +2443,12 @@ func (pl ProjectList) projectListPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(pl.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectListPage contains a page of Project values. type ProjectListPage struct { fn func(ProjectList) (ProjectList, error) pl ProjectList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *ProjectListPage) Next() error { @@ -2663,19 +2460,16 @@ func (page *ProjectListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ProjectListPage) NotDone() bool { return !page.pl.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page ProjectListPage) Response() ProjectList { return page.pl } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ProjectListPage) Values() []Project { if page.pl.IsEmpty() { @@ -2684,7 +2478,6 @@ func (page ProjectListPage) Values() []Project { return *page.pl.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectMetadata common metadata for migration projects type ProjectMetadata struct { // SourceServerName - Source server name @@ -2705,7 +2498,6 @@ type ProjectMetadata struct { SelectedMigrationTables *[]MigrationTableMetadata `json:"selectedMigrationTables,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectProperties project-specific properties type ProjectProperties struct { // SourcePlatform - Source platform for the project. Possible values include: 'SQL', 'Unknown' @@ -2724,7 +2516,6 @@ type ProjectProperties struct { ProvisioningState ProjectProvisioningState `json:"provisioningState,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for ProjectProperties struct. func (pp *ProjectProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2801,7 +2592,6 @@ func (pp *ProjectProperties) UnmarshalJSON(body []byte) error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectTask a task resource type ProjectTask struct { autorest.Response `json:"-"` @@ -2817,7 +2607,6 @@ type ProjectTask struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for ProjectTask struct. func (pt *ProjectTask) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2877,7 +2666,6 @@ func (pt *ProjectTask) UnmarshalJSON(body []byte) error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // BasicProjectTaskProperties base class for all types of DMS task properties. If task is not supported by current // client, this object is returned. type BasicProjectTaskProperties interface { @@ -2888,7 +2676,6 @@ type BasicProjectTaskProperties interface { AsProjectTaskProperties() (*ProjectTaskProperties, bool) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectTaskProperties base class for all types of DMS task properties. If task is not supported by current // client, this object is returned. type ProjectTaskProperties struct { @@ -2949,7 +2736,6 @@ func unmarshalBasicProjectTaskPropertiesArray(body []byte) ([]BasicProjectTaskPr return ptpArray, nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for ProjectTaskProperties. func (ptp ProjectTaskProperties) MarshalJSON() ([]byte, error) { ptp.TaskType = TaskTypeUnknown @@ -2966,43 +2752,36 @@ func (ptp ProjectTaskProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsMigrateSQLServerSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsMigrateSQLServerSQLDbTaskProperties() (*MigrateSQLServerSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsGetUserTablesSQLTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsGetUserTablesSQLTaskProperties() (*GetUserTablesSQLTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToTargetSQLDbTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsConnectToTargetSQLDbTaskProperties() (*ConnectToTargetSQLDbTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectToSourceSQLServerTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsConnectToSourceSQLServerTaskProperties() (*ConnectToSourceSQLServerTaskProperties, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsProjectTaskProperties() (*ProjectTaskProperties, bool) { return &ptp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicProjectTaskProperties is the BasicProjectTaskProperties implementation for ProjectTaskProperties. func (ptp ProjectTaskProperties) AsBasicProjectTaskProperties() (BasicProjectTaskProperties, bool) { return &ptp, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QueryAnalysisValidationResult results for query analysis comparison between the source and target type QueryAnalysisValidationResult struct { // QueryResults - List of queries executed and it's execution results in source and target @@ -3011,7 +2790,6 @@ type QueryAnalysisValidationResult struct { ValidationErrors *ValidationError `json:"validationErrors,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QueryExecutionResult describes query analysis results for execution in source and target type QueryExecutionResult struct { // QueryText - Query text retrieved from the source server @@ -3024,7 +2802,6 @@ type QueryExecutionResult struct { TargetResult *ExecutionStatistics `json:"targetResult,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Quota describes a quota for or usage details about a resource 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. @@ -3039,7 +2816,6 @@ type Quota struct { Unit *string `json:"unit,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QuotaList oData page of quota objects type QuotaList struct { autorest.Response `json:"-"` @@ -3049,14 +2825,12 @@ type QuotaList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QuotaListIterator provides access to a complete listing of Quota values. type QuotaListIterator struct { i int page QuotaListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *QuotaListIterator) Next() error { @@ -3073,19 +2847,16 @@ func (iter *QuotaListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter QuotaListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter QuotaListIterator) Response() QuotaList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter QuotaListIterator) Value() Quota { @@ -3095,7 +2866,6 @@ func (iter QuotaListIterator) Value() Quota { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (ql QuotaList) IsEmpty() bool { return ql.Value == nil || len(*ql.Value) == 0 @@ -3113,14 +2883,12 @@ func (ql QuotaList) quotaListPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(ql.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QuotaListPage contains a page of Quota values. type QuotaListPage struct { fn func(QuotaList) (QuotaList, error) ql QuotaList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *QuotaListPage) Next() error { @@ -3132,19 +2900,16 @@ func (page *QuotaListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page QuotaListPage) NotDone() bool { return !page.ql.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page QuotaListPage) Response() QuotaList { return page.ql } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page QuotaListPage) Values() []Quota { if page.ql.IsEmpty() { @@ -3153,7 +2918,6 @@ func (page QuotaListPage) Values() []Quota { return *page.ql.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // QuotaName the name of the quota type QuotaName struct { // LocalizedValue - The localized name of the quota @@ -3162,7 +2926,6 @@ type QuotaName struct { Value *string `json:"value,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ReportableException exception object for all custom exceptions type ReportableException struct { // Message - Error message @@ -3177,7 +2940,6 @@ type ReportableException struct { StackTrace *string `json:"stackTrace,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Resource ARM resource. type Resource struct { // ID - Resource ID. @@ -3188,7 +2950,6 @@ type Resource struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSku describes an available DMS SKU. type ResourceSku struct { // ResourceType - The type of resource the SKU applies to. @@ -3217,7 +2978,6 @@ type ResourceSku struct { Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuCapabilities describes The SKU capabilites object. type ResourceSkuCapabilities struct { // Name - An invariant to describe the feature. @@ -3226,7 +2986,6 @@ type ResourceSkuCapabilities struct { Value *string `json:"value,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuCapacity describes scaling information of a SKU. type ResourceSkuCapacity struct { // Minimum - The minimum capacity. @@ -3239,7 +2998,6 @@ type ResourceSkuCapacity struct { ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuCosts describes metadata for retrieving price info. type ResourceSkuCosts struct { // MeterID - Used for querying price from commerce. @@ -3250,7 +3008,6 @@ type ResourceSkuCosts struct { ExtendedUnit *string `json:"extendedUnit,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkuRestrictions describes scaling information of a SKU. type ResourceSkuRestrictions struct { // Type - The type of restrictions. Possible values include: 'Location' @@ -3261,7 +3018,6 @@ type ResourceSkuRestrictions struct { ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkusResult the DMS List SKUs operation response. type ResourceSkusResult struct { autorest.Response `json:"-"` @@ -3271,14 +3027,12 @@ type ResourceSkusResult struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkusResultIterator provides access to a complete listing of ResourceSku values. type ResourceSkusResultIterator struct { i int page ResourceSkusResultPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ResourceSkusResultIterator) Next() error { @@ -3295,19 +3049,16 @@ func (iter *ResourceSkusResultIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ResourceSkusResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter ResourceSkusResultIterator) Response() ResourceSkusResult { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ResourceSkusResultIterator) Value() ResourceSku { @@ -3317,7 +3068,6 @@ func (iter ResourceSkusResultIterator) Value() ResourceSku { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (rsr ResourceSkusResult) IsEmpty() bool { return rsr.Value == nil || len(*rsr.Value) == 0 @@ -3335,14 +3085,12 @@ func (rsr ResourceSkusResult) resourceSkusResultPreparer() (*http.Request, error autorest.WithBaseURL(to.String(rsr.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkusResultPage contains a page of ResourceSku values. type ResourceSkusResultPage struct { fn func(ResourceSkusResult) (ResourceSkusResult, error) rsr ResourceSkusResult } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *ResourceSkusResultPage) Next() error { @@ -3354,19 +3102,16 @@ func (page *ResourceSkusResultPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ResourceSkusResultPage) NotDone() bool { return !page.rsr.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page ResourceSkusResultPage) Response() ResourceSkusResult { return page.rsr } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ResourceSkusResultPage) Values() []ResourceSku { if page.rsr.IsEmpty() { @@ -3375,7 +3120,6 @@ func (page ResourceSkusResultPage) Values() []ResourceSku { return *page.rsr.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // SchemaComparisonValidationResult results for schema comparison between the source and target type SchemaComparisonValidationResult struct { // SchemaDifferences - List of schema differences between the source and target databases @@ -3388,7 +3132,6 @@ type SchemaComparisonValidationResult struct { TargetDatabaseObjectCount map[string]*int64 `json:"targetDatabaseObjectCount"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for SchemaComparisonValidationResult. func (scvr SchemaComparisonValidationResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -3407,7 +3150,6 @@ func (scvr SchemaComparisonValidationResult) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // SchemaComparisonValidationResultType description about the errors happen while performing migration validation type SchemaComparisonValidationResultType struct { // ObjectName - Name of the object that has the difference @@ -3418,7 +3160,6 @@ type SchemaComparisonValidationResultType struct { UpdateAction UpdateActionType `json:"updateAction,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Service a Data Migration Service resource type Service struct { autorest.Response `json:"-"` @@ -3442,7 +3183,6 @@ type Service struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for Service. func (s Service) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -3476,7 +3216,6 @@ func (s Service) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UnmarshalJSON is the custom unmarshaler for Service struct. func (s *Service) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -3573,7 +3312,6 @@ func (s *Service) UnmarshalJSON(body []byte) error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceList oData page of service objects type ServiceList struct { autorest.Response `json:"-"` @@ -3583,14 +3321,12 @@ type ServiceList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceListIterator provides access to a complete listing of Service values. type ServiceListIterator struct { i int page ServiceListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ServiceListIterator) Next() error { @@ -3607,19 +3343,16 @@ func (iter *ServiceListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ServiceListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter ServiceListIterator) Response() ServiceList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ServiceListIterator) Value() Service { @@ -3629,7 +3362,6 @@ func (iter ServiceListIterator) Value() Service { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (sl ServiceList) IsEmpty() bool { return sl.Value == nil || len(*sl.Value) == 0 @@ -3647,14 +3379,12 @@ func (sl ServiceList) serviceListPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(sl.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceListPage contains a page of Service values. type ServiceListPage struct { fn func(ServiceList) (ServiceList, error) sl ServiceList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *ServiceListPage) Next() error { @@ -3666,19 +3396,16 @@ func (page *ServiceListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ServiceListPage) NotDone() bool { return !page.sl.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page ServiceListPage) Response() ServiceList { return page.sl } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ServiceListPage) Values() []Service { if page.sl.IsEmpty() { @@ -3687,7 +3414,6 @@ func (page ServiceListPage) Values() []Service { return *page.sl.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceOperation description of an action supported by the Data Migration Service type ServiceOperation struct { // Name - The fully qualified action name, e.g. Microsoft.DataMigration/services/read @@ -3696,7 +3422,6 @@ type ServiceOperation struct { Display *ServiceOperationDisplay `json:"display,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceOperationDisplay localized display text type ServiceOperationDisplay struct { // Provider - The localized resource provider name @@ -3709,7 +3434,6 @@ type ServiceOperationDisplay struct { Description *string `json:"description,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceOperationList oData page of action (operation) objects type ServiceOperationList struct { autorest.Response `json:"-"` @@ -3719,14 +3443,12 @@ type ServiceOperationList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceOperationListIterator provides access to a complete listing of ServiceOperation values. type ServiceOperationListIterator struct { i int page ServiceOperationListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ServiceOperationListIterator) Next() error { @@ -3743,19 +3465,16 @@ func (iter *ServiceOperationListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ServiceOperationListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter ServiceOperationListIterator) Response() ServiceOperationList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ServiceOperationListIterator) Value() ServiceOperation { @@ -3765,7 +3484,6 @@ func (iter ServiceOperationListIterator) Value() ServiceOperation { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (sol ServiceOperationList) IsEmpty() bool { return sol.Value == nil || len(*sol.Value) == 0 @@ -3783,14 +3501,12 @@ func (sol ServiceOperationList) serviceOperationListPreparer() (*http.Request, e autorest.WithBaseURL(to.String(sol.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceOperationListPage contains a page of ServiceOperation values. type ServiceOperationListPage struct { fn func(ServiceOperationList) (ServiceOperationList, error) sol ServiceOperationList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *ServiceOperationListPage) Next() error { @@ -3802,19 +3518,16 @@ func (page *ServiceOperationListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ServiceOperationListPage) NotDone() bool { return !page.sol.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page ServiceOperationListPage) Response() ServiceOperationList { return page.sol } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ServiceOperationListPage) Values() []ServiceOperation { if page.sol.IsEmpty() { @@ -3823,7 +3536,6 @@ func (page ServiceOperationListPage) Values() []ServiceOperation { return *page.sol.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceProperties properties of the Data Migration service instance type ServiceProperties struct { // ProvisioningState - The resource's provisioning state. Possible values include: 'ServiceProvisioningStateAccepted', 'ServiceProvisioningStateDeleting', 'ServiceProvisioningStateDeploying', 'ServiceProvisioningStateStopped', 'ServiceProvisioningStateStopping', 'ServiceProvisioningStateStarting', 'ServiceProvisioningStateFailedToStart', 'ServiceProvisioningStateFailedToStop', 'ServiceProvisioningStateSucceeded', 'ServiceProvisioningStateFailed' @@ -3834,7 +3546,6 @@ type ServiceProperties struct { VirtualSubnetID *string `json:"virtualSubnetId,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ServicesCreateOrUpdateFuture struct { @@ -3842,7 +3553,6 @@ type ServicesCreateOrUpdateFuture struct { req *http.Request } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServicesCreateOrUpdateFuture) Result(client ServicesClient) (s Service, err error) { @@ -3885,14 +3595,12 @@ func (future ServicesCreateOrUpdateFuture) Result(client ServicesClient) (s Serv return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServicesDeleteFuture struct { azure.Future req *http.Request } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServicesDeleteFuture) Result(client ServicesClient) (ar autorest.Response, err error) { @@ -3935,7 +3643,6 @@ func (future ServicesDeleteFuture) Result(client ServicesClient) (ar autorest.Re return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceSku an Azure SKU instance type ServiceSku struct { // Name - The unique name of the SKU, such as 'P3' @@ -3950,7 +3657,6 @@ type ServiceSku struct { Capacity *int32 `json:"capacity,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceSkuList oData page of available SKUs type ServiceSkuList struct { autorest.Response `json:"-"` @@ -3960,14 +3666,12 @@ type ServiceSkuList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceSkuListIterator provides access to a complete listing of AvailableServiceSku values. type ServiceSkuListIterator struct { i int page ServiceSkuListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ServiceSkuListIterator) Next() error { @@ -3984,19 +3688,16 @@ func (iter *ServiceSkuListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ServiceSkuListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter ServiceSkuListIterator) Response() ServiceSkuList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ServiceSkuListIterator) Value() AvailableServiceSku { @@ -4006,7 +3707,6 @@ func (iter ServiceSkuListIterator) Value() AvailableServiceSku { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (ssl ServiceSkuList) IsEmpty() bool { return ssl.Value == nil || len(*ssl.Value) == 0 @@ -4024,14 +3724,12 @@ func (ssl ServiceSkuList) serviceSkuListPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(ssl.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceSkuListPage contains a page of AvailableServiceSku values. type ServiceSkuListPage struct { fn func(ServiceSkuList) (ServiceSkuList, error) ssl ServiceSkuList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *ServiceSkuListPage) Next() error { @@ -4043,19 +3741,16 @@ func (page *ServiceSkuListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ServiceSkuListPage) NotDone() bool { return !page.ssl.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page ServiceSkuListPage) Response() ServiceSkuList { return page.ssl } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ServiceSkuListPage) Values() []AvailableServiceSku { if page.ssl.IsEmpty() { @@ -4064,14 +3759,12 @@ func (page ServiceSkuListPage) Values() []AvailableServiceSku { return *page.ssl.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServicesStartFuture struct { azure.Future req *http.Request } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServicesStartFuture) Result(client ServicesClient) (ar autorest.Response, err error) { @@ -4114,14 +3807,12 @@ func (future ServicesStartFuture) Result(client ServicesClient) (ar autorest.Res return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServicesStopFuture struct { azure.Future req *http.Request } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServicesStopFuture) Result(client ServicesClient) (ar autorest.Response, err error) { @@ -4164,7 +3855,6 @@ func (future ServicesStopFuture) Result(client ServicesClient) (ar autorest.Resp return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServiceStatusResponse service health status type ServiceStatusResponse struct { autorest.Response `json:"-"` @@ -4178,14 +3868,12 @@ type ServiceStatusResponse struct { SupportedTaskTypes *[]string `json:"supportedTaskTypes,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServicesUpdateFuture struct { azure.Future req *http.Request } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServicesUpdateFuture) Result(client ServicesClient) (s Service, err error) { @@ -4228,7 +3916,6 @@ func (future ServicesUpdateFuture) Result(client ServicesClient) (s Service, err return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // SQLConnectionInfo information for connecting to SQL database server type SQLConnectionInfo struct { // DataSource - Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber @@ -4249,7 +3936,6 @@ type SQLConnectionInfo struct { Type Type `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for SQLConnectionInfo. func (sci SQLConnectionInfo) MarshalJSON() ([]byte, error) { sci.Type = TypeSQLConnectionInfo @@ -4281,25 +3967,21 @@ func (sci SQLConnectionInfo) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsSQLConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo. func (sci SQLConnectionInfo) AsSQLConnectionInfo() (*SQLConnectionInfo, bool) { return &sci, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo. func (sci SQLConnectionInfo) AsConnectionInfo() (*ConnectionInfo, bool) { return nil, false } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // AsBasicConnectionInfo is the BasicConnectionInfo implementation for SQLConnectionInfo. func (sci SQLConnectionInfo) AsBasicConnectionInfo() (BasicConnectionInfo, bool) { return &sci, true } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // SQLMigrationTaskInput base class for migration task input type SQLMigrationTaskInput struct { // SourceConnectionInfo - Information for connecting to source @@ -4308,7 +3990,6 @@ type SQLMigrationTaskInput struct { TargetConnectionInfo *SQLConnectionInfo `json:"targetConnectionInfo,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TaskList oData page of tasks type TaskList struct { autorest.Response `json:"-"` @@ -4318,14 +3999,12 @@ type TaskList struct { NextLink *string `json:"nextLink,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TaskListIterator provides access to a complete listing of ProjectTask values. type TaskListIterator struct { i int page TaskListPage } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *TaskListIterator) Next() error { @@ -4342,19 +4021,16 @@ func (iter *TaskListIterator) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter TaskListIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (iter TaskListIterator) Response() TaskList { return iter.page.Response() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter TaskListIterator) Value() ProjectTask { @@ -4364,7 +4040,6 @@ func (iter TaskListIterator) Value() ProjectTask { return iter.page.Values()[iter.i] } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // IsEmpty returns true if the ListResult contains no values. func (tl TaskList) IsEmpty() bool { return tl.Value == nil || len(*tl.Value) == 0 @@ -4382,14 +4057,12 @@ func (tl TaskList) taskListPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(tl.NextLink))) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TaskListPage contains a page of ProjectTask values. type TaskListPage struct { fn func(TaskList) (TaskList, error) tl TaskList } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. func (page *TaskListPage) Next() error { @@ -4401,19 +4074,16 @@ func (page *TaskListPage) Next() error { return nil } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page TaskListPage) NotDone() bool { return !page.tl.IsEmpty() } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Response returns the raw server response from the last page request. func (page TaskListPage) Response() TaskList { return page.tl } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Values returns the slice of values for the current page or nil if there are no values. func (page TaskListPage) Values() []ProjectTask { if page.tl.IsEmpty() { @@ -4422,7 +4092,6 @@ func (page TaskListPage) Values() []ProjectTask { return *page.tl.Value } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TrackedResource ARM tracked top level resource. type TrackedResource struct { // Tags - Resource tags. @@ -4437,7 +4106,6 @@ type TrackedResource struct { Type *string `json:"type,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // MarshalJSON is the custom marshaler for TrackedResource. func (tr TrackedResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4459,7 +4127,6 @@ func (tr TrackedResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ValidationError description about the errors happen while performing migration validation type ValidationError struct { // Text - Error Text @@ -4468,7 +4135,6 @@ type ValidationError struct { Severity Severity `json:"severity,omitempty"` } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // WaitStatistics wait statistics gathered during query batch execution type WaitStatistics struct { // WaitType - Type of the Wait diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/operations.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/operations.go index 33a8254a6149..ea9cf9dbcebb 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/operations.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/operations.go @@ -24,25 +24,21 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // OperationsClient is the data Migration Client type OperationsClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // List lists all available actions exposed by the Data Migration Service resource provider. func (client OperationsClient) List(ctx context.Context) (result ServiceOperationListPage, err error) { result.fn = client.listNextResults @@ -67,7 +63,6 @@ func (client OperationsClient) List(ctx context.Context) (result ServiceOperatio return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2017-11-15-preview" @@ -83,7 +78,6 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -91,7 +85,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result ServiceOperationList, err error) { @@ -126,7 +119,6 @@ func (client OperationsClient) listNextResults(lastResults ServiceOperationList) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client OperationsClient) ListComplete(ctx context.Context) (result ServiceOperationListIterator, err error) { result.page, err = client.List(ctx) diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/projects.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/projects.go index 5e9910a01f0b..92398d2cb288 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/projects.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/projects.go @@ -24,30 +24,28 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ProjectsClient is the data Migration Client type ProjectsClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewProjectsClient creates an instance of the ProjectsClient client. func NewProjectsClient(subscriptionID string) ProjectsClient { return NewProjectsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client. func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string) ProjectsClient { return ProjectsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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 is information about the project groupName is name of the resource group serviceName is name of the -// service projectName is name of the project +// Parameters: +// parameters - information about the project +// groupName - name of the resource group +// serviceName - name of the service +// projectName - name of the project func (client ProjectsClient) CreateOrUpdate(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (result Project, err error) { req, err := client.CreateOrUpdatePreparer(ctx, parameters, groupName, serviceName, projectName) if err != nil { @@ -70,7 +68,6 @@ func (client ProjectsClient) CreateOrUpdate(ctx context.Context, parameters Proj return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ProjectsClient) CreateOrUpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,7 +92,6 @@ func (client ProjectsClient) CreateOrUpdatePreparer(ctx context.Context, paramet return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ProjectsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -103,7 +99,6 @@ func (client ProjectsClient) CreateOrUpdateSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ProjectsClient) CreateOrUpdateResponder(resp *http.Response) (result Project, err error) { @@ -117,12 +112,13 @@ func (client ProjectsClient) CreateOrUpdateResponder(resp *http.Response) (resul return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Delete the project resource is a nested resource representing a stored migration project. The DELETE method deletes // a project. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project -// deleteRunningTasks is delete the resource even if it contains running tasks +// 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 (client ProjectsClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, deleteRunningTasks *bool) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, groupName, serviceName, projectName, deleteRunningTasks) if err != nil { @@ -145,7 +141,6 @@ func (client ProjectsClient) Delete(ctx context.Context, groupName string, servi return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeletePreparer prepares the Delete request. func (client ProjectsClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, deleteRunningTasks *bool) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -171,7 +166,6 @@ func (client ProjectsClient) DeletePreparer(ctx context.Context, groupName strin return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ProjectsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -179,7 +173,6 @@ func (client ProjectsClient) DeleteSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ProjectsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -192,11 +185,12 @@ func (client ProjectsClient) DeleteResponder(resp *http.Response) (result autore return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Get the project resource is a nested resource representing a stored migration project. The GET method retrieves // information about a project. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service +// projectName - name of the project func (client ProjectsClient) Get(ctx context.Context, groupName string, serviceName string, projectName string) (result Project, err error) { req, err := client.GetPreparer(ctx, groupName, serviceName, projectName) if err != nil { @@ -219,7 +213,6 @@ func (client ProjectsClient) Get(ctx context.Context, groupName string, serviceN return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetPreparer prepares the Get request. func (client ProjectsClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -242,7 +235,6 @@ func (client ProjectsClient) GetPreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ProjectsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -250,7 +242,6 @@ func (client ProjectsClient) GetSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ProjectsClient) GetResponder(resp *http.Response) (result Project, err error) { @@ -264,11 +255,11 @@ func (client ProjectsClient) GetResponder(resp *http.Response) (result Project, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ProjectsClient) List(ctx context.Context, groupName string, serviceName string) (result ProjectListPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, groupName, serviceName) @@ -292,7 +283,6 @@ func (client ProjectsClient) List(ctx context.Context, groupName string, service return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListPreparer prepares the List request. func (client ProjectsClient) ListPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -314,7 +304,6 @@ func (client ProjectsClient) ListPreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ProjectsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -322,7 +311,6 @@ func (client ProjectsClient) ListSender(req *http.Request) (*http.Response, erro azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ProjectsClient) ListResponder(resp *http.Response) (result ProjectList, err error) { @@ -357,19 +345,19 @@ func (client ProjectsClient) listNextResults(lastResults ProjectList) (result Pr return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client ProjectsClient) ListComplete(ctx context.Context, groupName string, serviceName string) (result ProjectListIterator, err error) { result.page, err = client.List(ctx, groupName, serviceName) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Update the project resource is a nested resource representing a stored migration project. The PATCH method updates // an existing project. -// -// parameters is information about the project groupName is name of the resource group serviceName is name of the -// service projectName is name of the project +// Parameters: +// parameters - information about the project +// groupName - name of the resource group +// serviceName - name of the service +// projectName - name of the project func (client ProjectsClient) Update(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (result Project, err error) { req, err := client.UpdatePreparer(ctx, parameters, groupName, serviceName, projectName) if err != nil { @@ -392,7 +380,6 @@ func (client ProjectsClient) Update(ctx context.Context, parameters Project, gro return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdatePreparer prepares the Update request. func (client ProjectsClient) UpdatePreparer(ctx context.Context, parameters Project, groupName string, serviceName string, projectName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -417,7 +404,6 @@ func (client ProjectsClient) UpdatePreparer(ctx context.Context, parameters Proj return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ProjectsClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -425,7 +411,6 @@ func (client ProjectsClient) UpdateSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ProjectsClient) UpdateResponder(resp *http.Response) (result Project, err error) { diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/resourceskus.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/resourceskus.go index 92038bc102a0..77ac53972a20 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/resourceskus.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/resourceskus.go @@ -24,25 +24,21 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ResourceSkusClient is the data Migration Client type ResourceSkusClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewResourceSkusClient creates an instance of the ResourceSkusClient client. func NewResourceSkusClient(subscriptionID string) ResourceSkusClient { return NewResourceSkusClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client. func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient { return ResourceSkusClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkus the skus action returns the list of SKUs that DMS supports. func (client ResourceSkusClient) ListSkus(ctx context.Context) (result ResourceSkusResultPage, err error) { result.fn = client.listSkusNextResults @@ -67,7 +63,6 @@ func (client ResourceSkusClient) ListSkus(ctx context.Context) (result ResourceS return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusPreparer prepares the ListSkus request. func (client ResourceSkusClient) ListSkusPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -87,7 +82,6 @@ func (client ResourceSkusClient) ListSkusPreparer(ctx context.Context) (*http.Re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusSender sends the ListSkus request. The method will close the // http.Response Body if it receives an error. func (client ResourceSkusClient) ListSkusSender(req *http.Request) (*http.Response, error) { @@ -95,7 +89,6 @@ func (client ResourceSkusClient) ListSkusSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusResponder handles the response to the ListSkus request. The method always // closes the http.Response Body. func (client ResourceSkusClient) ListSkusResponder(resp *http.Response) (result ResourceSkusResult, err error) { @@ -130,7 +123,6 @@ func (client ResourceSkusClient) listSkusNextResults(lastResults ResourceSkusRes return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusComplete enumerates all values, automatically crossing page boundaries as required. func (client ResourceSkusClient) ListSkusComplete(ctx context.Context) (result ResourceSkusResultIterator, err error) { result.page, err = client.ListSkus(ctx) diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/services.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/services.go index c82277974376..0235b8b9a961 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/services.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/services.go @@ -25,29 +25,26 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ServicesClient is the data Migration Client type ServicesClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewServicesClient creates an instance of the ServicesClient client. func NewServicesClient(subscriptionID string) ServicesClient { return NewServicesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewServicesClientWithBaseURI creates an instance of the ServicesClient client. func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient { return ServicesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckChildrenNameAvailability this method checks whether a proposed nested resource name is valid and available. -// -// groupName is name of the resource group serviceName is name of the service parameters is requested name to -// validate +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service +// parameters - requested name to validate func (client ServicesClient) CheckChildrenNameAvailability(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error) { req, err := client.CheckChildrenNameAvailabilityPreparer(ctx, groupName, serviceName, parameters) if err != nil { @@ -70,7 +67,6 @@ func (client ServicesClient) CheckChildrenNameAvailability(ctx context.Context, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckChildrenNameAvailabilityPreparer prepares the CheckChildrenNameAvailability request. func (client ServicesClient) CheckChildrenNameAvailabilityPreparer(ctx context.Context, groupName string, serviceName string, parameters NameAvailabilityRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -94,7 +90,6 @@ func (client ServicesClient) CheckChildrenNameAvailabilityPreparer(ctx context.C return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckChildrenNameAvailabilitySender sends the CheckChildrenNameAvailability request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) CheckChildrenNameAvailabilitySender(req *http.Request) (*http.Response, error) { @@ -102,7 +97,6 @@ func (client ServicesClient) CheckChildrenNameAvailabilitySender(req *http.Reque azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckChildrenNameAvailabilityResponder handles the response to the CheckChildrenNameAvailability request. The method always // closes the http.Response Body. func (client ServicesClient) CheckChildrenNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error) { @@ -116,10 +110,10 @@ func (client ServicesClient) CheckChildrenNameAvailabilityResponder(resp *http.R return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckNameAvailability this method checks whether a proposed top-level resource name is valid and available. -// -// location is the Azure region of the operation parameters is requested name to validate +// Parameters: +// location - the Azure region of the operation +// parameters - requested name to validate func (client ServicesClient) CheckNameAvailability(ctx context.Context, location string, parameters NameAvailabilityRequest) (result NameAvailabilityResponse, err error) { req, err := client.CheckNameAvailabilityPreparer(ctx, location, parameters) if err != nil { @@ -142,7 +136,6 @@ func (client ServicesClient) CheckNameAvailability(ctx context.Context, location return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckNameAvailabilityPreparer prepares the CheckNameAvailability request. func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters NameAvailabilityRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,7 +158,6 @@ func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) { @@ -173,7 +165,6 @@ func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always // closes the http.Response Body. func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error) { @@ -187,11 +178,11 @@ func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) CheckStatus(ctx context.Context, groupName string, serviceName string) (result ServiceStatusResponse, err error) { req, err := client.CheckStatusPreparer(ctx, groupName, serviceName) if err != nil { @@ -214,7 +205,6 @@ func (client ServicesClient) CheckStatus(ctx context.Context, groupName string, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckStatusPreparer prepares the CheckStatus request. func (client ServicesClient) CheckStatusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -236,7 +226,6 @@ func (client ServicesClient) CheckStatusPreparer(ctx context.Context, groupName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckStatusSender sends the CheckStatus request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) CheckStatusSender(req *http.Request) (*http.Response, error) { @@ -244,7 +233,6 @@ func (client ServicesClient) CheckStatusSender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CheckStatusResponder handles the response to the CheckStatus request. The method always // closes the http.Response Body. func (client ServicesClient) CheckStatusResponder(resp *http.Response) (result ServiceStatusResponse, err error) { @@ -258,7 +246,6 @@ func (client ServicesClient) CheckStatusResponder(resp *http.Response) (result S return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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 @@ -266,9 +253,10 @@ func (client ServicesClient) CheckStatusResponder(resp *http.Response) (result S // 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 is information about the service groupName is name of the resource group serviceName is name of the -// service +// Parameters: +// parameters - information about the service +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) CreateOrUpdate(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -292,7 +280,6 @@ func (client ServicesClient) CreateOrUpdate(ctx context.Context, parameters Serv return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -316,7 +303,6 @@ func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, paramet return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future ServicesCreateOrUpdateFuture, err error) { @@ -332,7 +318,6 @@ func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future Ser return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error) { @@ -346,12 +331,12 @@ func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (resul return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service deleteRunningTasks is delete the -// resource even if it contains running tasks +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service +// deleteRunningTasks - delete the resource even if it contains running tasks func (client ServicesClient) Delete(ctx context.Context, groupName string, serviceName string, deleteRunningTasks *bool) (result ServicesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, groupName, serviceName, deleteRunningTasks) if err != nil { @@ -368,7 +353,6 @@ func (client ServicesClient) Delete(ctx context.Context, groupName string, servi return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeletePreparer prepares the Delete request. func (client ServicesClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, deleteRunningTasks *bool) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -393,7 +377,6 @@ func (client ServicesClient) DeletePreparer(ctx context.Context, groupName strin return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDeleteFuture, err error) { @@ -409,7 +392,6 @@ func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDel return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -422,11 +404,11 @@ func (client ServicesClient) DeleteResponder(resp *http.Response) (result autore return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Get the services resource is the top-level resource that represents the Data Migration Service. The GET method // retrieves information about a service instance. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) Get(ctx context.Context, groupName string, serviceName string) (result Service, err error) { req, err := client.GetPreparer(ctx, groupName, serviceName) if err != nil { @@ -449,7 +431,6 @@ func (client ServicesClient) Get(ctx context.Context, groupName string, serviceN return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetPreparer prepares the Get request. func (client ServicesClient) GetPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -471,7 +452,6 @@ func (client ServicesClient) GetPreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -479,7 +459,6 @@ func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error) { @@ -493,7 +472,6 @@ func (client ServicesClient) GetResponder(resp *http.Response) (result Service, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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 (client ServicesClient) List(ctx context.Context) (result ServiceListPage, err error) { @@ -519,7 +497,6 @@ func (client ServicesClient) List(ctx context.Context) (result ServiceListPage, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListPreparer prepares the List request. func (client ServicesClient) ListPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -539,7 +516,6 @@ func (client ServicesClient) ListPreparer(ctx context.Context) (*http.Request, e return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error) { @@ -547,7 +523,6 @@ func (client ServicesClient) ListSender(req *http.Request) (*http.Response, erro azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ServicesClient) ListResponder(resp *http.Response) (result ServiceList, err error) { @@ -582,18 +557,16 @@ func (client ServicesClient) listNextResults(lastResults ServiceList) (result Se return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client ServicesClient) ListComplete(ctx context.Context) (result ServiceListIterator, err error) { result.page, err = client.List(ctx) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group +// Parameters: +// groupName - name of the resource group func (client ServicesClient) ListByResourceGroup(ctx context.Context, groupName string) (result ServiceListPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, groupName) @@ -617,7 +590,6 @@ func (client ServicesClient) ListByResourceGroup(ctx context.Context, groupName return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, groupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -638,7 +610,6 @@ func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, gr return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -646,7 +617,6 @@ func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceList, err error) { @@ -681,18 +651,17 @@ func (client ServicesClient) listByResourceGroupNextResults(lastResults ServiceL return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, groupName string) (result ServiceListIterator, err error) { result.page, err = client.ListByResourceGroup(ctx, groupName) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) ListSkus(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListPage, err error) { result.fn = client.listSkusNextResults req, err := client.ListSkusPreparer(ctx, groupName, serviceName) @@ -716,7 +685,6 @@ func (client ServicesClient) ListSkus(ctx context.Context, groupName string, ser return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusPreparer prepares the ListSkus request. func (client ServicesClient) ListSkusPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -738,7 +706,6 @@ func (client ServicesClient) ListSkusPreparer(ctx context.Context, groupName str return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusSender sends the ListSkus request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) ListSkusSender(req *http.Request) (*http.Response, error) { @@ -746,7 +713,6 @@ func (client ServicesClient) ListSkusSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusResponder handles the response to the ListSkus request. The method always // closes the http.Response Body. func (client ServicesClient) ListSkusResponder(resp *http.Response) (result ServiceSkuList, err error) { @@ -781,18 +747,17 @@ func (client ServicesClient) listSkusNextResults(lastResults ServiceSkuList) (re return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSkusComplete enumerates all values, automatically crossing page boundaries as required. func (client ServicesClient) ListSkusComplete(ctx context.Context, groupName string, serviceName string) (result ServiceSkuListIterator, err error) { result.page, err = client.ListSkus(ctx, groupName, serviceName) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) Start(ctx context.Context, groupName string, serviceName string) (result ServicesStartFuture, err error) { req, err := client.StartPreparer(ctx, groupName, serviceName) if err != nil { @@ -809,7 +774,6 @@ func (client ServicesClient) Start(ctx context.Context, groupName string, servic return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StartPreparer prepares the Start request. func (client ServicesClient) StartPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -831,7 +795,6 @@ func (client ServicesClient) StartPreparer(ctx context.Context, groupName string return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) StartSender(req *http.Request) (future ServicesStartFuture, err error) { @@ -847,7 +810,6 @@ func (client ServicesClient) StartSender(req *http.Request) (future ServicesStar return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StartResponder handles the response to the Start request. The method always // closes the http.Response Body. func (client ServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error) { @@ -860,12 +822,12 @@ func (client ServicesClient) StartResponder(resp *http.Response) (result autores return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) Stop(ctx context.Context, groupName string, serviceName string) (result ServicesStopFuture, err error) { req, err := client.StopPreparer(ctx, groupName, serviceName) if err != nil { @@ -882,7 +844,6 @@ func (client ServicesClient) Stop(ctx context.Context, groupName string, service return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StopPreparer prepares the Stop request. func (client ServicesClient) StopPreparer(ctx context.Context, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -904,7 +865,6 @@ func (client ServicesClient) StopPreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) StopSender(req *http.Request) (future ServicesStopFuture, err error) { @@ -920,7 +880,6 @@ func (client ServicesClient) StopSender(req *http.Request) (future ServicesStopF return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // StopResponder handles the response to the Stop request. The method always // closes the http.Response Body. func (client ServicesClient) StopResponder(resp *http.Response) (result autorest.Response, err error) { @@ -933,13 +892,13 @@ func (client ServicesClient) StopResponder(resp *http.Response) (result autorest return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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 is information about the service groupName is name of the resource group serviceName is name of the -// service +// Parameters: +// parameters - information about the service +// groupName - name of the resource group +// serviceName - name of the service func (client ServicesClient) Update(ctx context.Context, parameters Service, groupName string, serviceName string) (result ServicesUpdateFuture, err error) { req, err := client.UpdatePreparer(ctx, parameters, groupName, serviceName) if err != nil { @@ -956,7 +915,6 @@ func (client ServicesClient) Update(ctx context.Context, parameters Service, gro return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdatePreparer prepares the Update request. func (client ServicesClient) UpdatePreparer(ctx context.Context, parameters Service, groupName string, serviceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -980,7 +938,6 @@ func (client ServicesClient) UpdatePreparer(ctx context.Context, parameters Serv return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpdateFuture, err error) { @@ -996,7 +953,6 @@ func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpd return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error) { diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/tasks.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/tasks.go index ac5a83cb41d3..297dc22f0430 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/tasks.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/tasks.go @@ -24,30 +24,28 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // TasksClient is the data Migration Client type TasksClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewTasksClient creates an instance of the TasksClient client. func NewTasksClient(subscriptionID string) TasksClient { return NewTasksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewTasksClientWithBaseURI creates an instance of the TasksClient client. func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient { return TasksClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project -// taskName is name of the Task +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service +// projectName - name of the project +// taskName - name of the Task func (client TasksClient) Cancel(ctx context.Context, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error) { req, err := client.CancelPreparer(ctx, groupName, serviceName, projectName, taskName) if err != nil { @@ -70,7 +68,6 @@ func (client TasksClient) Cancel(ctx context.Context, groupName string, serviceN return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CancelPreparer prepares the Cancel request. func (client TasksClient) CancelPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -94,7 +91,6 @@ func (client TasksClient) CancelPreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CancelSender sends the Cancel request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) CancelSender(req *http.Request) (*http.Response, error) { @@ -102,7 +98,6 @@ func (client TasksClient) CancelSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CancelResponder handles the response to the Cancel request. The method always // closes the http.Response Body. func (client TasksClient) CancelResponder(resp *http.Response) (result ProjectTask, err error) { @@ -116,13 +111,15 @@ func (client TasksClient) CancelResponder(resp *http.Response) (result ProjectTa return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdate the tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. // The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom // properties, there is little reason to update an exising one. -// -// parameters is information about the task groupName is name of the resource group serviceName is name of the -// service projectName is name of the project taskName is name of the Task +// 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 (client TasksClient) CreateOrUpdate(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error) { req, err := client.CreateOrUpdatePreparer(ctx, parameters, groupName, serviceName, projectName, taskName) if err != nil { @@ -145,7 +142,6 @@ func (client TasksClient) CreateOrUpdate(ctx context.Context, parameters Project return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client TasksClient) CreateOrUpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -171,7 +167,6 @@ func (client TasksClient) CreateOrUpdatePreparer(ctx context.Context, parameters return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -179,7 +174,6 @@ func (client TasksClient) CreateOrUpdateSender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client TasksClient) CreateOrUpdateResponder(resp *http.Response) (result ProjectTask, err error) { @@ -193,12 +187,14 @@ func (client TasksClient) CreateOrUpdateResponder(resp *http.Response) (result P return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project -// taskName is name of the Task deleteRunningTasks is delete the resource even if it contains running tasks +// 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 (client TasksClient) Delete(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, deleteRunningTasks *bool) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, groupName, serviceName, projectName, taskName, deleteRunningTasks) if err != nil { @@ -221,7 +217,6 @@ func (client TasksClient) Delete(ctx context.Context, groupName string, serviceN return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeletePreparer prepares the Delete request. func (client TasksClient) DeletePreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, deleteRunningTasks *bool) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -248,7 +243,6 @@ func (client TasksClient) DeletePreparer(ctx context.Context, groupName string, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -256,7 +250,6 @@ func (client TasksClient) DeleteSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client TasksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -269,12 +262,14 @@ func (client TasksClient) DeleteResponder(resp *http.Response) (result autorest. return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project -// taskName is name of the Task expand is expand the response +// 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 (client TasksClient) Get(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, expand string) (result ProjectTask, err error) { req, err := client.GetPreparer(ctx, groupName, serviceName, projectName, taskName, expand) if err != nil { @@ -297,7 +292,6 @@ func (client TasksClient) Get(ctx context.Context, groupName string, serviceName return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetPreparer prepares the Get request. func (client TasksClient) GetPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskName string, expand string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -324,7 +318,6 @@ func (client TasksClient) GetPreparer(ctx context.Context, groupName string, ser return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) { @@ -332,7 +325,6 @@ func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) { azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client TasksClient) GetResponder(resp *http.Response) (result ProjectTask, err error) { @@ -346,13 +338,14 @@ func (client TasksClient) GetResponder(resp *http.Response) (result ProjectTask, return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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. -// -// groupName is name of the resource group serviceName is name of the service projectName is name of the project -// taskType is filter tasks by task type +// Parameters: +// groupName - name of the resource group +// serviceName - name of the service +// projectName - name of the project +// taskType - filter tasks by task type func (client TasksClient) List(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (result TaskListPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, groupName, serviceName, projectName, taskType) @@ -376,7 +369,6 @@ func (client TasksClient) List(ctx context.Context, groupName string, serviceNam return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListPreparer prepares the List request. func (client TasksClient) ListPreparer(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -402,7 +394,6 @@ func (client TasksClient) ListPreparer(ctx context.Context, groupName string, se return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) { @@ -410,7 +401,6 @@ func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error) { @@ -445,19 +435,20 @@ func (client TasksClient) listNextResults(lastResults TaskList) (result TaskList return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client TasksClient) ListComplete(ctx context.Context, groupName string, serviceName string, projectName string, taskType string) (result TaskListIterator, err error) { result.page, err = client.List(ctx, groupName, serviceName, projectName, taskType) return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // 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 is information about the task groupName is name of the resource group serviceName is name of the -// service projectName is name of the project taskName is name of the Task +// 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 (client TasksClient) Update(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (result ProjectTask, err error) { req, err := client.UpdatePreparer(ctx, parameters, groupName, serviceName, projectName, taskName) if err != nil { @@ -480,7 +471,6 @@ func (client TasksClient) Update(ctx context.Context, parameters ProjectTask, gr return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdatePreparer prepares the Update request. func (client TasksClient) UpdatePreparer(ctx context.Context, parameters ProjectTask, groupName string, serviceName string, projectName string, taskName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -506,7 +496,6 @@ func (client TasksClient) UpdatePreparer(ctx context.Context, parameters Project return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client TasksClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -514,7 +503,6 @@ func (client TasksClient) UpdateSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client TasksClient) UpdateResponder(resp *http.Response) (result ProjectTask, err error) { diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/usages.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/usages.go index 3596e4114ee4..6937f4d93b96 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/usages.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/usages.go @@ -24,28 +24,24 @@ import ( "net/http" ) -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // UsagesClient is the data Migration Client type UsagesClient struct { BaseClient } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewUsagesClient creates an instance of the UsagesClient client. func NewUsagesClient(subscriptionID string) UsagesClient { return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // NewUsagesClientWithBaseURI creates an instance of the UsagesClient client. func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient { return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)} } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // List this method returns region-specific quotas and resource usage information for the Data Migration Service. -// -// location is the Azure region of the operation +// Parameters: +// location - the Azure region of the operation func (client UsagesClient) List(ctx context.Context, location string) (result QuotaListPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, location) @@ -69,7 +65,6 @@ func (client UsagesClient) List(ctx context.Context, location string) (result Qu return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListPreparer prepares the List request. func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,7 +85,6 @@ func (client UsagesClient) ListPreparer(ctx context.Context, location string) (* return preparer.Prepare((&http.Request{}).WithContext(ctx)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error) { @@ -98,7 +92,6 @@ func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error) azure.DoRetryWithRegistration(client.Client)) } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client UsagesClient) ListResponder(resp *http.Response) (result QuotaList, err error) { @@ -133,7 +126,6 @@ func (client UsagesClient) listNextResults(lastResults QuotaList) (result QuotaL return } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client UsagesClient) ListComplete(ctx context.Context, location string) (result QuotaListIterator, err error) { result.page, err = client.List(ctx, location) diff --git a/services/datamigration/mgmt/2017-11-15-preview/datamigration/version.go b/services/datamigration/mgmt/2017-11-15-preview/datamigration/version.go index 8a4972f3a338..65c293362b4b 100644 --- a/services/datamigration/mgmt/2017-11-15-preview/datamigration/version.go +++ b/services/datamigration/mgmt/2017-11-15-preview/datamigration/version.go @@ -18,13 +18,12 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. + // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " datamigration/2017-11-15-preview" } -// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number