standardoperation

package
v0.20241016.1080325 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README ¶

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

The standardoperation SDK allows for interaction with Azure Resource Manager datamigration (API Version 2018-04-19).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/standardoperation"

Client Initialization

client := standardoperation.NewStandardOperationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: StandardOperationClient.ProjectsCreateOrUpdate

ctx := context.TODO()
id := standardoperation.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName")

payload := standardoperation.Project{
	// ...
}


read, err := client.ProjectsCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ProjectsDelete

ctx := context.TODO()
id := standardoperation.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName")

read, err := client.ProjectsDelete(ctx, id, standardoperation.DefaultProjectsDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ProjectsGet

ctx := context.TODO()
id := standardoperation.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName")

read, err := client.ProjectsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ProjectsListByResourceGroup

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

// alternatively `client.ProjectsListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ProjectsListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.ProjectsUpdate

ctx := context.TODO()
id := standardoperation.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName")

payload := standardoperation.Project{
	// ...
}


read, err := client.ProjectsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ResourceSkusListSkus

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ResourceSkusListSkus(ctx, id)` can be used to do batched pagination
items, err := client.ResourceSkusListSkusComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.ServicesCheckNameAvailability

ctx := context.TODO()
id := standardoperation.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

payload := standardoperation.NameAvailabilityRequest{
	// ...
}


read, err := client.ServicesCheckNameAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ServicesCreateOrUpdate

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

payload := standardoperation.DataMigrationService{
	// ...
}


if err := client.ServicesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: StandardOperationClient.ServicesDelete

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

if err := client.ServicesDeleteThenPoll(ctx, id, standardoperation.DefaultServicesDeleteOperationOptions()); err != nil {
	// handle the error
}

Example Usage: StandardOperationClient.ServicesGet

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

read, err := client.ServicesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.ServicesList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ServicesList(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.ServicesListByResourceGroup

ctx := context.TODO()
id := standardoperation.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "resourceGroupName")

// alternatively `client.ServicesListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.ServicesListSkus

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

// alternatively `client.ServicesListSkus(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListSkusComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.ServicesUpdate

ctx := context.TODO()
id := standardoperation.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName")

payload := standardoperation.DataMigrationService{
	// ...
}


if err := client.ServicesUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: StandardOperationClient.TasksCreateOrUpdate

ctx := context.TODO()
id := standardoperation.NewTaskID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName", "taskName")

payload := standardoperation.ProjectTask{
	// ...
}


read, err := client.TasksCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.TasksDelete

ctx := context.TODO()
id := standardoperation.NewTaskID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName", "taskName")

read, err := client.TasksDelete(ctx, id, standardoperation.DefaultTasksDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.TasksGet

ctx := context.TODO()
id := standardoperation.NewTaskID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName", "taskName")

read, err := client.TasksGet(ctx, id, standardoperation.DefaultTasksGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.TasksList

ctx := context.TODO()
id := standardoperation.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName")

// alternatively `client.TasksList(ctx, id, standardoperation.DefaultTasksListOperationOptions())` can be used to do batched pagination
items, err := client.TasksListComplete(ctx, id, standardoperation.DefaultTasksListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StandardOperationClient.TasksUpdate

ctx := context.TODO()
id := standardoperation.NewTaskID("12345678-1234-9876-4563-123456789012", "resourceGroupName", "serviceName", "projectName", "taskName")

payload := standardoperation.ProjectTask{
	// ...
}


read, err := client.TasksUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StandardOperationClient.UsagesList

ctx := context.TODO()
id := standardoperation.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

// alternatively `client.UsagesList(ctx, id)` can be used to do batched pagination
items, err := client.UsagesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func PossibleValuesForAuthenticationType ¶ added in v0.20241009.1142232

func PossibleValuesForAuthenticationType() []string

func PossibleValuesForBackupFileStatus ¶ added in v0.20241009.1142232

func PossibleValuesForBackupFileStatus() []string

func PossibleValuesForBackupMode ¶ added in v0.20241009.1142232

func PossibleValuesForBackupMode() []string

func PossibleValuesForBackupType ¶ added in v0.20241009.1142232

func PossibleValuesForBackupType() []string

func PossibleValuesForCommandState ¶

func PossibleValuesForCommandState() []string

func PossibleValuesForDatabaseCompatLevel ¶ added in v0.20241009.1142232

func PossibleValuesForDatabaseCompatLevel() []string

func PossibleValuesForDatabaseFileType ¶ added in v0.20241009.1142232

func PossibleValuesForDatabaseFileType() []string

func PossibleValuesForDatabaseMigrationStage ¶ added in v0.20241009.1142232

func PossibleValuesForDatabaseMigrationStage() []string

func PossibleValuesForDatabaseMigrationState ¶ added in v0.20241009.1142232

func PossibleValuesForDatabaseMigrationState() []string

func PossibleValuesForDatabaseState ¶ added in v0.20241009.1142232

func PossibleValuesForDatabaseState() []string

func PossibleValuesForLoginMigrationStage ¶ added in v0.20241009.1142232

func PossibleValuesForLoginMigrationStage() []string

func PossibleValuesForLoginType ¶ added in v0.20241009.1142232

func PossibleValuesForLoginType() []string

func PossibleValuesForMigrationState ¶ added in v0.20241009.1142232

func PossibleValuesForMigrationState() []string

func PossibleValuesForMigrationStatus ¶ added in v0.20241009.1142232

func PossibleValuesForMigrationStatus() []string

func PossibleValuesForNameCheckFailureReason ¶

func PossibleValuesForNameCheckFailureReason() []string

func PossibleValuesForObjectType ¶ added in v0.20241009.1142232

func PossibleValuesForObjectType() []string

func PossibleValuesForProjectProvisioningState ¶

func PossibleValuesForProjectProvisioningState() []string

func PossibleValuesForProjectSourcePlatform ¶

func PossibleValuesForProjectSourcePlatform() []string

func PossibleValuesForProjectTargetPlatform ¶

func PossibleValuesForProjectTargetPlatform() []string

func PossibleValuesForResourceSkuCapacityScaleType ¶

func PossibleValuesForResourceSkuCapacityScaleType() []string

func PossibleValuesForResourceSkuRestrictionsReasonCode ¶

func PossibleValuesForResourceSkuRestrictionsReasonCode() []string

func PossibleValuesForResourceSkuRestrictionsType ¶

func PossibleValuesForResourceSkuRestrictionsType() []string

func PossibleValuesForServerLevelPermissionsGroup ¶ added in v0.20241009.1142232

func PossibleValuesForServerLevelPermissionsGroup() []string

func PossibleValuesForServiceProvisioningState ¶

func PossibleValuesForServiceProvisioningState() []string

func PossibleValuesForServiceScalability ¶

func PossibleValuesForServiceScalability() []string

func PossibleValuesForSeverity ¶ added in v0.20241009.1142232

func PossibleValuesForSeverity() []string

func PossibleValuesForSqlSourcePlatform ¶ added in v0.20241009.1142232

func PossibleValuesForSqlSourcePlatform() []string

func PossibleValuesForSyncDatabaseMigrationReportingState ¶ added in v0.20241009.1142232

func PossibleValuesForSyncDatabaseMigrationReportingState() []string

func PossibleValuesForSyncTableMigrationState ¶ added in v0.20241009.1142232

func PossibleValuesForSyncTableMigrationState() []string

func PossibleValuesForTaskState ¶

func PossibleValuesForTaskState() []string

func PossibleValuesForUpdateActionType ¶ added in v0.20241009.1142232

func PossibleValuesForUpdateActionType() []string

func PossibleValuesForValidationStatus ¶ added in v0.20241009.1142232

func PossibleValuesForValidationStatus() []string

func ValidateLocationID ¶

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateProjectID ¶

func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)

ValidateProjectID checks that 'input' can be parsed as a Project ID

func ValidateResourceGroupID ¶

func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateServiceID ¶

func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)

ValidateServiceID checks that 'input' can be parsed as a Service ID

func ValidateTaskID ¶

func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)

ValidateTaskID checks that 'input' can be parsed as a Task ID

Types ¶

type AuthenticationType ¶ added in v0.20241009.1142232

type AuthenticationType string
const (
	AuthenticationTypeActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated"
	AuthenticationTypeActiveDirectoryPassword   AuthenticationType = "ActiveDirectoryPassword"
	AuthenticationTypeNone                      AuthenticationType = "None"
	AuthenticationTypeSqlAuthentication         AuthenticationType = "SqlAuthentication"
	AuthenticationTypeWindowsAuthentication     AuthenticationType = "WindowsAuthentication"
)

func (*AuthenticationType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error

type AvailableServiceSku ¶

type AvailableServiceSku struct {
	Capacity     *AvailableServiceSkuCapacity `json:"capacity,omitempty"`
	ResourceType *string                      `json:"resourceType,omitempty"`
	Sku          *AvailableServiceSkuSku      `json:"sku,omitempty"`
}

type AvailableServiceSkuCapacity ¶

type AvailableServiceSkuCapacity struct {
	Default   *int64              `json:"default,omitempty"`
	Maximum   *int64              `json:"maximum,omitempty"`
	Minimum   *int64              `json:"minimum,omitempty"`
	ScaleType *ServiceScalability `json:"scaleType,omitempty"`
}

type AvailableServiceSkuOperationPredicate ¶

type AvailableServiceSkuOperationPredicate struct {
	ResourceType *string
}

func (AvailableServiceSkuOperationPredicate) Matches ¶

type AvailableServiceSkuSku ¶

type AvailableServiceSkuSku struct {
	Family *string `json:"family,omitempty"`
	Name   *string `json:"name,omitempty"`
	Size   *string `json:"size,omitempty"`
	Tier   *string `json:"tier,omitempty"`
}

type AzureActiveDirectoryApp ¶ added in v0.20241009.1142232

type AzureActiveDirectoryApp struct {
	AppKey        string `json:"appKey"`
	ApplicationId string `json:"applicationId"`
	TenantId      string `json:"tenantId"`
}

type BackupFileInfo ¶ added in v0.20241009.1142232

type BackupFileInfo struct {
	FamilySequenceNumber *int64            `json:"familySequenceNumber,omitempty"`
	FileLocation         *string           `json:"fileLocation,omitempty"`
	Status               *BackupFileStatus `json:"status,omitempty"`
}

type BackupFileStatus ¶ added in v0.20241009.1142232

type BackupFileStatus string
const (
	BackupFileStatusArrived   BackupFileStatus = "Arrived"
	BackupFileStatusCancelled BackupFileStatus = "Cancelled"
	BackupFileStatusQueued    BackupFileStatus = "Queued"
	BackupFileStatusRestored  BackupFileStatus = "Restored"
	BackupFileStatusRestoring BackupFileStatus = "Restoring"
	BackupFileStatusUploaded  BackupFileStatus = "Uploaded"
	BackupFileStatusUploading BackupFileStatus = "Uploading"
)

func (*BackupFileStatus) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *BackupFileStatus) UnmarshalJSON(bytes []byte) error

type BackupMode ¶ added in v0.20241009.1142232

type BackupMode string
const (
	BackupModeCreateBackup   BackupMode = "CreateBackup"
	BackupModeExistingBackup BackupMode = "ExistingBackup"
)

func (*BackupMode) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *BackupMode) UnmarshalJSON(bytes []byte) error

type BackupSetInfo ¶ added in v0.20241009.1142232

type BackupSetInfo struct {
	BackupFinishedDate *string           `json:"backupFinishedDate,omitempty"`
	BackupSetId        *string           `json:"backupSetId,omitempty"`
	BackupStartDate    *string           `json:"backupStartDate,omitempty"`
	BackupType         *BackupType       `json:"backupType,omitempty"`
	DatabaseName       *string           `json:"databaseName,omitempty"`
	FirstLsn           *string           `json:"firstLsn,omitempty"`
	IsBackupRestored   *bool             `json:"isBackupRestored,omitempty"`
	LastLsn            *string           `json:"lastLsn,omitempty"`
	LastModifiedTime   *string           `json:"lastModifiedTime,omitempty"`
	ListOfBackupFiles  *[]BackupFileInfo `json:"listOfBackupFiles,omitempty"`
}

func (*BackupSetInfo) GetBackupFinishedDateAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) GetBackupFinishedDateAsTime() (*time.Time, error)

func (*BackupSetInfo) GetBackupStartDateAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) GetBackupStartDateAsTime() (*time.Time, error)

func (*BackupSetInfo) GetLastModifiedTimeAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*BackupSetInfo) SetBackupFinishedDateAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) SetBackupFinishedDateAsTime(input time.Time)

func (*BackupSetInfo) SetBackupStartDateAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) SetBackupStartDateAsTime(input time.Time)

func (*BackupSetInfo) SetLastModifiedTimeAsTime ¶ added in v0.20241009.1142232

func (o *BackupSetInfo) SetLastModifiedTimeAsTime(input time.Time)

type BackupType ¶ added in v0.20241009.1142232

type BackupType string
const (
	BackupTypeDatabase             BackupType = "Database"
	BackupTypeDifferentialDatabase BackupType = "DifferentialDatabase"
	BackupTypeDifferentialFile     BackupType = "DifferentialFile"
	BackupTypeDifferentialPartial  BackupType = "DifferentialPartial"
	BackupTypeFile                 BackupType = "File"
	BackupTypePartial              BackupType = "Partial"
	BackupTypeTransactionLog       BackupType = "TransactionLog"
)

func (*BackupType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *BackupType) UnmarshalJSON(bytes []byte) error

type BaseCommandPropertiesImpl ¶ added in v0.20241009.1142232

type BaseCommandPropertiesImpl struct {
	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (BaseCommandPropertiesImpl) CommandProperties ¶ added in v0.20241009.1142232

type BaseConnectToSourceSqlServerTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseConnectToSourceSqlServerTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (BaseConnectToSourceSqlServerTaskOutputImpl) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

type BaseConnectionInfoImpl ¶ added in v0.20241009.1142232

type BaseConnectionInfoImpl struct {
	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (BaseConnectionInfoImpl) ConnectionInfo ¶ added in v0.20241009.1142232

type BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbSyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlDbSyncTaskOutputImpl) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlDbTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (BaseMigrateSqlServerSqlDbTaskOutputImpl) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMISyncTaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMISyncTaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlMISyncTaskOutputImpl) MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMITaskOutputImpl ¶ added in v0.20241009.1142232

type BaseMigrateSqlServerSqlMITaskOutputImpl struct {
	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (BaseMigrateSqlServerSqlMITaskOutputImpl) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type BaseProjectTaskPropertiesImpl ¶ added in v0.20241009.1142232

type BaseProjectTaskPropertiesImpl struct {
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (BaseProjectTaskPropertiesImpl) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*BaseProjectTaskPropertiesImpl) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *BaseProjectTaskPropertiesImpl) UnmarshalJSON(bytes []byte) error

type BlobShare ¶ added in v0.20241009.1142232

type BlobShare struct {
	SasUri string `json:"sasUri"`
}

type CommandProperties ¶

type CommandProperties interface {
	CommandProperties() BaseCommandPropertiesImpl
}

func UnmarshalCommandPropertiesImplementation ¶ added in v0.20241009.1142232

func UnmarshalCommandPropertiesImplementation(input []byte) (CommandProperties, error)

type CommandState ¶

type CommandState string
const (
	CommandStateAccepted  CommandState = "Accepted"
	CommandStateFailed    CommandState = "Failed"
	CommandStateRunning   CommandState = "Running"
	CommandStateSucceeded CommandState = "Succeeded"
	CommandStateUnknown   CommandState = "Unknown"
)

func (*CommandState) UnmarshalJSON ¶

func (s *CommandState) UnmarshalJSON(bytes []byte) error

type ConnectToSourcePostgreSqlSyncTaskInput ¶ added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskInput struct {
	SourceConnectionInfo PostgreSqlConnectionInfo `json:"sourceConnectionInfo"`
}

type ConnectToSourcePostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	SourceServerBrandVersion *string                `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                `json:"sourceServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToSourcePostgreSqlSyncTaskProperties ¶ added in v0.20241009.1142232

type ConnectToSourcePostgreSqlSyncTaskProperties struct {
	Input  *ConnectToSourcePostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourcePostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourcePostgreSqlSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ConnectToSourcePostgreSqlSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToSourcePostgreSqlSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToSourcePostgreSqlSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToSourceSqlServerSyncTaskProperties ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerSyncTaskProperties struct {
	Input  *ConnectToSourceSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourceSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourceSqlServerSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ConnectToSourceSqlServerSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToSourceSqlServerSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToSourceSqlServerSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToSourceSqlServerTaskInput ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskInput struct {
	CheckPermissionsGroup *ServerLevelPermissionsGroup `json:"checkPermissionsGroup,omitempty"`
	CollectAgentJobs      *bool                        `json:"collectAgentJobs,omitempty"`
	CollectLogins         *bool                        `json:"collectLogins,omitempty"`
	SourceConnectionInfo  SqlConnectionInfo            `json:"sourceConnectionInfo"`
}

type ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutput interface {
	ConnectToSourceSqlServerTaskOutput() BaseConnectToSourceSqlServerTaskOutputImpl
}

func UnmarshalConnectToSourceSqlServerTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalConnectToSourceSqlServerTaskOutputImplementation(input []byte) (ConnectToSourceSqlServerTaskOutput, error)

type ConnectToSourceSqlServerTaskOutputAgentJobLevel ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputAgentJobLevel struct {
	IsEnabled            *bool                     `json:"isEnabled,omitempty"`
	JobCategory          *string                   `json:"jobCategory,omitempty"`
	JobOwner             *string                   `json:"jobOwner,omitempty"`
	LastExecutedOn       *string                   `json:"lastExecutedOn,omitempty"`
	MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"`
	Name                 *string                   `json:"name,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputAgentJobLevel) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputAgentJobLevel) MarshalJSON ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputDatabaseLevel struct {
	CompatibilityLevel *DatabaseCompatLevel `json:"compatibilityLevel,omitempty"`
	DatabaseFiles      *[]DatabaseFileInfo  `json:"databaseFiles,omitempty"`
	DatabaseState      *DatabaseState       `json:"databaseState,omitempty"`
	Name               *string              `json:"name,omitempty"`
	SizeMB             *float64             `json:"sizeMB,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputDatabaseLevel) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputLoginLevel ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputLoginLevel struct {
	DefaultDatabase      *string                   `json:"defaultDatabase,omitempty"`
	IsEnabled            *bool                     `json:"isEnabled,omitempty"`
	LoginType            *LoginType                `json:"loginType,omitempty"`
	MigrationEligibility *MigrationEligibilityInfo `json:"migrationEligibility,omitempty"`
	Name                 *string                   `json:"name,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputLoginLevel) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputLoginLevel) MarshalJSON ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputTaskLevel ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskOutputTaskLevel struct {
	AgentJobs                *map[string]string     `json:"agentJobs,omitempty"`
	Databases                *map[string]string     `json:"databases,omitempty"`
	Logins                   *map[string]string     `json:"logins,omitempty"`
	SourceServerBrandVersion *string                `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                `json:"sourceServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (ConnectToSourceSqlServerTaskOutputTaskLevel) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

func (ConnectToSourceSqlServerTaskOutputTaskLevel) MarshalJSON ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskProperties ¶ added in v0.20241009.1142232

type ConnectToSourceSqlServerTaskProperties struct {
	Input  *ConnectToSourceSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToSourceSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToSourceSqlServerTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (ConnectToSourceSqlServerTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToSourceSqlServerTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToSourceSqlServerTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToTargetAzureDbForMySqlTaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskInput struct {
	SourceConnectionInfo MySqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo MySqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetAzureDbForMySqlTaskOutput ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	ServerVersion            *string                `json:"serverVersion,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetAzureDbForMySqlTaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForMySqlTaskProperties struct {
	Input  *ConnectToTargetAzureDbForMySqlTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetAzureDbForMySqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetAzureDbForMySqlTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ConnectToTargetAzureDbForMySqlTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetAzureDbForMySqlTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToTargetAzureDbForMySqlTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToTargetAzureDbForPostgreSqlSyncTaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskInput struct {
	SourceConnectionInfo PostgreSqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo PostgreSqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput struct {
	Databases                *[]string              `json:"databases,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties struct {
	Input  *ConnectToTargetAzureDbForPostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskInput struct {
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlDbTaskOutput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskOutput struct {
	Databases                *map[string]string `json:"databases,omitempty"`
	Id                       *string            `json:"id,omitempty"`
	TargetServerBrandVersion *string            `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string            `json:"targetServerVersion,omitempty"`
}

type ConnectToTargetSqlDbTaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetSqlDbTaskProperties struct {
	Input  *ConnectToTargetSqlDbTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlDbTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlDbTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (ConnectToTargetSqlDbTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetSqlDbTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToTargetSqlDbTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToTargetSqlMISyncTaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskInput struct {
	AzureApp             AzureActiveDirectoryApp `json:"azureApp"`
	TargetConnectionInfo MiSqlConnectionInfo     `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskOutput struct {
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetSqlMISyncTaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMISyncTaskProperties struct {
	Input  *ConnectToTargetSqlMISyncTaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlMISyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (ConnectToTargetSqlMISyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetSqlMISyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToTargetSqlMISyncTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToTargetSqlMITaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMITaskInput struct {
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlMITaskOutput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMITaskOutput struct {
	AgentJobs                *[]string              `json:"agentJobs,omitempty"`
	Id                       *string                `json:"id,omitempty"`
	Logins                   *[]string              `json:"logins,omitempty"`
	TargetServerBrandVersion *string                `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                `json:"targetServerVersion,omitempty"`
	ValidationErrors         *[]ReportableException `json:"validationErrors,omitempty"`
}

type ConnectToTargetSqlMITaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetSqlMITaskProperties struct {
	Input  *ConnectToTargetSqlMITaskInput    `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlMITaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (ConnectToTargetSqlMITaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetSqlMITaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToTargetSqlMITaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectToTargetSqlSqlDbSyncTaskInput ¶ added in v0.20241009.1142232

type ConnectToTargetSqlSqlDbSyncTaskInput struct {
	SourceConnectionInfo SqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo `json:"targetConnectionInfo"`
}

type ConnectToTargetSqlSqlDbSyncTaskProperties ¶ added in v0.20241009.1142232

type ConnectToTargetSqlSqlDbSyncTaskProperties struct {
	Input  *ConnectToTargetSqlSqlDbSyncTaskInput `json:"input,omitempty"`
	Output *[]ConnectToTargetSqlDbTaskOutput     `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ConnectToTargetSqlSqlDbSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ConnectToTargetSqlSqlDbSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ConnectToTargetSqlSqlDbSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ConnectToTargetSqlSqlDbSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type ConnectionInfo ¶

type ConnectionInfo interface {
	ConnectionInfo() BaseConnectionInfoImpl
}

func UnmarshalConnectionInfoImplementation ¶ added in v0.20241009.1142232

func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error)

type DataIntegrityValidationResult ¶ added in v0.20241009.1142232

type DataIntegrityValidationResult struct {
	FailedObjects    *map[string]string `json:"failedObjects,omitempty"`
	ValidationErrors *ValidationError   `json:"validationErrors,omitempty"`
}

type DataItemMigrationSummaryResult ¶ added in v0.20241009.1142232

type DataItemMigrationSummaryResult struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	Name                *string         `json:"name,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`
}

func (*DataItemMigrationSummaryResult) GetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*DataItemMigrationSummaryResult) GetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*DataItemMigrationSummaryResult) SetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) SetEndedOnAsTime(input time.Time)

func (*DataItemMigrationSummaryResult) SetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *DataItemMigrationSummaryResult) SetStartedOnAsTime(input time.Time)

type DataMigrationService ¶

type DataMigrationService struct {
	Etag       *string                         `json:"etag,omitempty"`
	Id         *string                         `json:"id,omitempty"`
	Kind       *string                         `json:"kind,omitempty"`
	Location   string                          `json:"location"`
	Name       *string                         `json:"name,omitempty"`
	Properties *DataMigrationServiceProperties `json:"properties,omitempty"`
	Sku        *ServiceSku                     `json:"sku,omitempty"`
	Tags       *map[string]string              `json:"tags,omitempty"`
	Type       *string                         `json:"type,omitempty"`
}

type DataMigrationServiceOperationPredicate ¶

type DataMigrationServiceOperationPredicate struct {
	Etag     *string
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (DataMigrationServiceOperationPredicate) Matches ¶

type DataMigrationServiceProperties ¶

type DataMigrationServiceProperties struct {
	ProvisioningState *ServiceProvisioningState `json:"provisioningState,omitempty"`
	PublicKey         *string                   `json:"publicKey,omitempty"`
	VirtualSubnetId   string                    `json:"virtualSubnetId"`
}

type DatabaseBackupInfo ¶ added in v0.20241009.1142232

type DatabaseBackupInfo struct {
	BackupFiles      *[]string   `json:"backupFiles,omitempty"`
	BackupFinishDate *string     `json:"backupFinishDate,omitempty"`
	BackupType       *BackupType `json:"backupType,omitempty"`
	DatabaseName     *string     `json:"databaseName,omitempty"`
	FamilyCount      *int64      `json:"familyCount,omitempty"`
	IsCompressed     *bool       `json:"isCompressed,omitempty"`
	IsDamaged        *bool       `json:"isDamaged,omitempty"`
	Position         *int64      `json:"position,omitempty"`
}

func (*DatabaseBackupInfo) GetBackupFinishDateAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseBackupInfo) GetBackupFinishDateAsTime() (*time.Time, error)

func (*DatabaseBackupInfo) SetBackupFinishDateAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseBackupInfo) SetBackupFinishDateAsTime(input time.Time)

type DatabaseCompatLevel ¶ added in v0.20241009.1142232

type DatabaseCompatLevel string
const (
	DatabaseCompatLevelCompatLevelEightZero    DatabaseCompatLevel = "CompatLevel80"
	DatabaseCompatLevelCompatLevelNineZero     DatabaseCompatLevel = "CompatLevel90"
	DatabaseCompatLevelCompatLevelOneFourZero  DatabaseCompatLevel = "CompatLevel140"
	DatabaseCompatLevelCompatLevelOneHundred   DatabaseCompatLevel = "CompatLevel100"
	DatabaseCompatLevelCompatLevelOneOneZero   DatabaseCompatLevel = "CompatLevel110"
	DatabaseCompatLevelCompatLevelOneThreeZero DatabaseCompatLevel = "CompatLevel130"
	DatabaseCompatLevelCompatLevelOneTwoZero   DatabaseCompatLevel = "CompatLevel120"
)

func (*DatabaseCompatLevel) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *DatabaseCompatLevel) UnmarshalJSON(bytes []byte) error

type DatabaseFileInfo ¶ added in v0.20241009.1142232

type DatabaseFileInfo struct {
	DatabaseName     *string           `json:"databaseName,omitempty"`
	FileType         *DatabaseFileType `json:"fileType,omitempty"`
	Id               *string           `json:"id,omitempty"`
	LogicalName      *string           `json:"logicalName,omitempty"`
	PhysicalFullName *string           `json:"physicalFullName,omitempty"`
	RestoreFullName  *string           `json:"restoreFullName,omitempty"`
	SizeMB           *float64          `json:"sizeMB,omitempty"`
}

type DatabaseFileType ¶ added in v0.20241009.1142232

type DatabaseFileType string
const (
	DatabaseFileTypeFilestream   DatabaseFileType = "Filestream"
	DatabaseFileTypeFulltext     DatabaseFileType = "Fulltext"
	DatabaseFileTypeLog          DatabaseFileType = "Log"
	DatabaseFileTypeNotSupported DatabaseFileType = "NotSupported"
	DatabaseFileTypeRows         DatabaseFileType = "Rows"
)

func (*DatabaseFileType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *DatabaseFileType) UnmarshalJSON(bytes []byte) error

type DatabaseInfo ¶

type DatabaseInfo struct {
	SourceDatabaseName string `json:"sourceDatabaseName"`
}

type DatabaseMigrationStage ¶ added in v0.20241009.1142232

type DatabaseMigrationStage string
const (
	DatabaseMigrationStageBackup     DatabaseMigrationStage = "Backup"
	DatabaseMigrationStageCompleted  DatabaseMigrationStage = "Completed"
	DatabaseMigrationStageFileCopy   DatabaseMigrationStage = "FileCopy"
	DatabaseMigrationStageInitialize DatabaseMigrationStage = "Initialize"
	DatabaseMigrationStageNone       DatabaseMigrationStage = "None"
	DatabaseMigrationStageRestore    DatabaseMigrationStage = "Restore"
)

func (*DatabaseMigrationStage) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *DatabaseMigrationStage) UnmarshalJSON(bytes []byte) error

type DatabaseMigrationState ¶ added in v0.20241009.1142232

type DatabaseMigrationState string
const (
	DatabaseMigrationStateCANCELLED             DatabaseMigrationState = "CANCELLED"
	DatabaseMigrationStateCOMPLETED             DatabaseMigrationState = "COMPLETED"
	DatabaseMigrationStateCUTOVERSTART          DatabaseMigrationState = "CUTOVER_START"
	DatabaseMigrationStateFAILED                DatabaseMigrationState = "FAILED"
	DatabaseMigrationStateFULLBACKUPUPLOADSTART DatabaseMigrationState = "FULL_BACKUP_UPLOAD_START"
	DatabaseMigrationStateINITIAL               DatabaseMigrationState = "INITIAL"
	DatabaseMigrationStateLOGSHIPPINGSTART      DatabaseMigrationState = "LOG_SHIPPING_START"
	DatabaseMigrationStatePOSTCUTOVERCOMPLETE   DatabaseMigrationState = "POST_CUTOVER_COMPLETE"
	DatabaseMigrationStateUNDEFINED             DatabaseMigrationState = "UNDEFINED"
	DatabaseMigrationStateUPLOADLOGFILESSTART   DatabaseMigrationState = "UPLOAD_LOG_FILES_START"
)

func (*DatabaseMigrationState) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *DatabaseMigrationState) UnmarshalJSON(bytes []byte) error

type DatabaseState ¶ added in v0.20241009.1142232

type DatabaseState string
const (
	DatabaseStateCopying          DatabaseState = "Copying"
	DatabaseStateEmergency        DatabaseState = "Emergency"
	DatabaseStateOffline          DatabaseState = "Offline"
	DatabaseStateOfflineSecondary DatabaseState = "OfflineSecondary"
	DatabaseStateOnline           DatabaseState = "Online"
	DatabaseStateRecovering       DatabaseState = "Recovering"
	DatabaseStateRecoveryPending  DatabaseState = "RecoveryPending"
	DatabaseStateRestoring        DatabaseState = "Restoring"
	DatabaseStateSuspect          DatabaseState = "Suspect"
)

func (*DatabaseState) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *DatabaseState) UnmarshalJSON(bytes []byte) error

type DatabaseSummaryResult ¶ added in v0.20241009.1142232

type DatabaseSummaryResult struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	Name                *string         `json:"name,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	SizeMB              *float64        `json:"sizeMB,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`
}

func (*DatabaseSummaryResult) GetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*DatabaseSummaryResult) GetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*DatabaseSummaryResult) SetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseSummaryResult) SetEndedOnAsTime(input time.Time)

func (*DatabaseSummaryResult) SetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *DatabaseSummaryResult) SetStartedOnAsTime(input time.Time)

type DatabaseTable ¶ added in v0.20241009.1142232

type DatabaseTable struct {
	HasRows *bool   `json:"hasRows,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type ExecutionStatistics ¶ added in v0.20241009.1142232

type ExecutionStatistics struct {
	CpuTimeMs      *float64                   `json:"cpuTimeMs,omitempty"`
	ElapsedTimeMs  *float64                   `json:"elapsedTimeMs,omitempty"`
	ExecutionCount *int64                     `json:"executionCount,omitempty"`
	HasErrors      *bool                      `json:"hasErrors,omitempty"`
	SqlErrors      *[]string                  `json:"sqlErrors,omitempty"`
	WaitStats      *map[string]WaitStatistics `json:"waitStats,omitempty"`
}

type FileShare ¶ added in v0.20241009.1142232

type FileShare struct {
	Password *string `json:"password,omitempty"`
	Path     string  `json:"path"`
	UserName *string `json:"userName,omitempty"`
}

type GetTdeCertificatesSqlTaskInput ¶ added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskInput struct {
	BackupFileShare      FileShare                  `json:"backupFileShare"`
	ConnectionInfo       SqlConnectionInfo          `json:"connectionInfo"`
	SelectedCertificates []SelectedCertificateInput `json:"selectedCertificates"`
}

type GetTdeCertificatesSqlTaskOutput ¶ added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskOutput struct {
	Base64EncodedCertificates *map[string][]string   `json:"base64EncodedCertificates,omitempty"`
	ValidationErrors          *[]ReportableException `json:"validationErrors,omitempty"`
}

type GetTdeCertificatesSqlTaskProperties ¶ added in v0.20241009.1142232

type GetTdeCertificatesSqlTaskProperties struct {
	Input  *GetTdeCertificatesSqlTaskInput    `json:"input,omitempty"`
	Output *[]GetTdeCertificatesSqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetTdeCertificatesSqlTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (GetTdeCertificatesSqlTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*GetTdeCertificatesSqlTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *GetTdeCertificatesSqlTaskProperties) UnmarshalJSON(bytes []byte) error

type GetUserTablesSqlSyncTaskInput ¶ added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskInput struct {
	SelectedSourceDatabases []string          `json:"selectedSourceDatabases"`
	SelectedTargetDatabases []string          `json:"selectedTargetDatabases"`
	SourceConnectionInfo    SqlConnectionInfo `json:"sourceConnectionInfo"`
	TargetConnectionInfo    SqlConnectionInfo `json:"targetConnectionInfo"`
}

type GetUserTablesSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskOutput struct {
	DatabasesToSourceTables *map[string][]DatabaseTable `json:"databasesToSourceTables,omitempty"`
	DatabasesToTargetTables *map[string][]DatabaseTable `json:"databasesToTargetTables,omitempty"`
	TableValidationErrors   *map[string][]string        `json:"tableValidationErrors,omitempty"`
	ValidationErrors        *[]ReportableException      `json:"validationErrors,omitempty"`
}

type GetUserTablesSqlSyncTaskProperties ¶ added in v0.20241009.1142232

type GetUserTablesSqlSyncTaskProperties struct {
	Input  *GetUserTablesSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]GetUserTablesSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetUserTablesSqlSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (GetUserTablesSqlSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*GetUserTablesSqlSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *GetUserTablesSqlSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type GetUserTablesSqlTaskInput ¶ added in v0.20241009.1142232

type GetUserTablesSqlTaskInput struct {
	ConnectionInfo    SqlConnectionInfo `json:"connectionInfo"`
	SelectedDatabases []string          `json:"selectedDatabases"`
}

type GetUserTablesSqlTaskOutput ¶ added in v0.20241009.1142232

type GetUserTablesSqlTaskOutput struct {
	DatabasesToTables *map[string][]DatabaseTable `json:"databasesToTables,omitempty"`
	Id                *string                     `json:"id,omitempty"`
	ValidationErrors  *[]ReportableException      `json:"validationErrors,omitempty"`
}

type GetUserTablesSqlTaskProperties ¶ added in v0.20241009.1142232

type GetUserTablesSqlTaskProperties struct {
	Input  *GetUserTablesSqlTaskInput    `json:"input,omitempty"`
	Output *[]GetUserTablesSqlTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (GetUserTablesSqlTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (GetUserTablesSqlTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*GetUserTablesSqlTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *GetUserTablesSqlTaskProperties) UnmarshalJSON(bytes []byte) error

type LocationId ¶

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID ¶

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID ¶

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively ¶

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (*LocationId) FromParseResult ¶

func (id *LocationId) FromParseResult(input resourceids.ParseResult) error

func (LocationId) ID ¶

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments ¶

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String ¶

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type LoginMigrationStage ¶ added in v0.20241009.1142232

type LoginMigrationStage string
const (
	LoginMigrationStageAssignRoleMembership       LoginMigrationStage = "AssignRoleMembership"
	LoginMigrationStageAssignRoleOwnership        LoginMigrationStage = "AssignRoleOwnership"
	LoginMigrationStageCompleted                  LoginMigrationStage = "Completed"
	LoginMigrationStageEstablishObjectPermissions LoginMigrationStage = "EstablishObjectPermissions"
	LoginMigrationStageEstablishServerPermissions LoginMigrationStage = "EstablishServerPermissions"
	LoginMigrationStageEstablishUserMapping       LoginMigrationStage = "EstablishUserMapping"
	LoginMigrationStageInitialize                 LoginMigrationStage = "Initialize"
	LoginMigrationStageLoginMigration             LoginMigrationStage = "LoginMigration"
	LoginMigrationStageNone                       LoginMigrationStage = "None"
)

func (*LoginMigrationStage) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *LoginMigrationStage) UnmarshalJSON(bytes []byte) error

type LoginType ¶ added in v0.20241009.1142232

type LoginType string
const (
	LoginTypeAsymmetricKey LoginType = "AsymmetricKey"
	LoginTypeCertificate   LoginType = "Certificate"
	LoginTypeExternalGroup LoginType = "ExternalGroup"
	LoginTypeExternalUser  LoginType = "ExternalUser"
	LoginTypeSqlLogin      LoginType = "SqlLogin"
	LoginTypeWindowsGroup  LoginType = "WindowsGroup"
	LoginTypeWindowsUser   LoginType = "WindowsUser"
)

func (*LoginType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *LoginType) UnmarshalJSON(bytes []byte) error

type MiSqlConnectionInfo ¶ added in v0.20241009.1142232

type MiSqlConnectionInfo struct {
	ManagedInstanceResourceId string `json:"managedInstanceResourceId"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (MiSqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232

func (s MiSqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MiSqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232

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

type MigrateMISyncCompleteCommandInput ¶ added in v0.20241009.1142232

type MigrateMISyncCompleteCommandInput struct {
	SourceDatabaseName string `json:"sourceDatabaseName"`
}

type MigrateMISyncCompleteCommandOutput ¶ added in v0.20241009.1142232

type MigrateMISyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
}

type MigrateMISyncCompleteCommandProperties ¶ added in v0.20241009.1142232

type MigrateMISyncCompleteCommandProperties struct {
	Input  *MigrateMISyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateMISyncCompleteCommandOutput `json:"output,omitempty"`

	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (MigrateMISyncCompleteCommandProperties) CommandProperties ¶ added in v0.20241009.1142232

func (MigrateMISyncCompleteCommandProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

type MigrateMySqlAzureDbForMySqlSyncDatabaseInput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncDatabaseInput struct {
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigrateMySqlAzureDbForMySqlSyncTaskInput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskInput struct {
	SelectedDatabases    []MigrateMySqlAzureDbForMySqlSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo MySqlConnectionInfo                            `json:"sourceConnectionInfo"`
	TargetConnectionInfo MySqlConnectionInfo                            `json:"targetConnectionInfo"`
}

type MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutput interface {
	MigrateMySqlAzureDbForMySqlSyncTaskOutput() BaseMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl
}

func UnmarshalMigrateMySqlAzureDbForMySqlSyncTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigrateMySqlAzureDbForMySqlSyncTaskOutputImplementation(input []byte) (MigrateMySqlAzureDbForMySqlSyncTaskOutput, error)

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError struct {
	ErrorMessage *string                            `json:"errorMessage,omitempty"`
	Events       *[]SyncMigrationDatabaseErrorEvent `json:"events,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel struct {
	AppliedChanges          *int64                               `json:"appliedChanges,omitempty"`
	CdcDeleteCounter        *int64                               `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter        *int64                               `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter        *int64                               `json:"cdcUpdateCounter,omitempty"`
	DatabaseName            *string                              `json:"databaseName,omitempty"`
	EndedOn                 *string                              `json:"endedOn,omitempty"`
	FullLoadCompletedTables *int64                               `json:"fullLoadCompletedTables,omitempty"`
	FullLoadErroredTables   *int64                               `json:"fullLoadErroredTables,omitempty"`
	FullLoadLoadingTables   *int64                               `json:"fullLoadLoadingTables,omitempty"`
	FullLoadQueuedTables    *int64                               `json:"fullLoadQueuedTables,omitempty"`
	IncomingChanges         *int64                               `json:"incomingChanges,omitempty"`
	InitializationCompleted *bool                                `json:"initializationCompleted,omitempty"`
	Latency                 *int64                               `json:"latency,omitempty"`
	MigrationState          *SyncDatabaseMigrationReportingState `json:"migrationState,omitempty"`
	StartedOn               *string                              `json:"startedOn,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputError) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel struct {
	EndedOn             *string `json:"endedOn,omitempty"`
	SourceServer        *string `json:"sourceServer,omitempty"`
	SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
	StartedOn           *string `json:"startedOn,omitempty"`
	TargetServer        *string `json:"targetServer,omitempty"`
	TargetServerVersion *string `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel struct {
	CdcDeleteCounter      *string                  `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter      *string                  `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter      *string                  `json:"cdcUpdateCounter,omitempty"`
	DataErrorsCounter     *int64                   `json:"dataErrorsCounter,omitempty"`
	DatabaseName          *string                  `json:"databaseName,omitempty"`
	FullLoadEndedOn       *string                  `json:"fullLoadEndedOn,omitempty"`
	FullLoadEstFinishTime *string                  `json:"fullLoadEstFinishTime,omitempty"`
	FullLoadStartedOn     *string                  `json:"fullLoadStartedOn,omitempty"`
	FullLoadTotalRows     *int64                   `json:"fullLoadTotalRows,omitempty"`
	LastModifiedTime      *string                  `json:"lastModifiedTime,omitempty"`
	State                 *SyncTableMigrationState `json:"state,omitempty"`
	TableName             *string                  `json:"tableName,omitempty"`
	TotalChangesApplied   *int64                   `json:"totalChangesApplied,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskProperties ¶ added in v0.20241009.1142232

type MigrateMySqlAzureDbForMySqlSyncTaskProperties struct {
	Input  *MigrateMySqlAzureDbForMySqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigrateMySqlAzureDbForMySqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateMySqlAzureDbForMySqlSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigrateMySqlAzureDbForMySqlSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrateMySqlAzureDbForMySqlSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput struct {
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput struct {
	SelectedDatabases    []MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo PostgreSqlConnectionInfo                                 `json:"sourceConnectionInfo"`
	TargetConnectionInfo PostgreSqlConnectionInfo                                 `json:"targetConnectionInfo"`
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput interface {
	MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput() BaseMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl
}

func UnmarshalMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImplementation(input []byte) (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput, error)

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError struct {
	ErrorMessage *string                            `json:"errorMessage,omitempty"`
	Events       *[]SyncMigrationDatabaseErrorEvent `json:"events,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel struct {
	AppliedChanges          *int64                               `json:"appliedChanges,omitempty"`
	CdcDeleteCounter        *int64                               `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter        *int64                               `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter        *int64                               `json:"cdcUpdateCounter,omitempty"`
	DatabaseName            *string                              `json:"databaseName,omitempty"`
	EndedOn                 *string                              `json:"endedOn,omitempty"`
	FullLoadCompletedTables *int64                               `json:"fullLoadCompletedTables,omitempty"`
	FullLoadErroredTables   *int64                               `json:"fullLoadErroredTables,omitempty"`
	FullLoadLoadingTables   *int64                               `json:"fullLoadLoadingTables,omitempty"`
	FullLoadQueuedTables    *int64                               `json:"fullLoadQueuedTables,omitempty"`
	IncomingChanges         *int64                               `json:"incomingChanges,omitempty"`
	InitializationCompleted *bool                                `json:"initializationCompleted,omitempty"`
	Latency                 *int64                               `json:"latency,omitempty"`
	MigrationState          *SyncDatabaseMigrationReportingState `json:"migrationState,omitempty"`
	StartedOn               *string                              `json:"startedOn,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel struct {
	EndedOn             *string `json:"endedOn,omitempty"`
	SourceServer        *string `json:"sourceServer,omitempty"`
	SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
	StartedOn           *string `json:"startedOn,omitempty"`
	TargetServer        *string `json:"targetServer,omitempty"`
	TargetServerVersion *string `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel struct {
	CdcDeleteCounter      *int64                   `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter      *int64                   `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter      *int64                   `json:"cdcUpdateCounter,omitempty"`
	DataErrorsCounter     *int64                   `json:"dataErrorsCounter,omitempty"`
	DatabaseName          *string                  `json:"databaseName,omitempty"`
	FullLoadEndedOn       *string                  `json:"fullLoadEndedOn,omitempty"`
	FullLoadEstFinishTime *string                  `json:"fullLoadEstFinishTime,omitempty"`
	FullLoadStartedOn     *string                  `json:"fullLoadStartedOn,omitempty"`
	FullLoadTotalRows     *int64                   `json:"fullLoadTotalRows,omitempty"`
	LastModifiedTime      *string                  `json:"lastModifiedTime,omitempty"`
	State                 *SyncTableMigrationState `json:"state,omitempty"`
	TableName             *string                  `json:"tableName,omitempty"`
	TotalChangesApplied   *int64                   `json:"totalChangesApplied,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties ¶ added in v0.20241009.1142232

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties struct {
	Input  *MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbDatabaseInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbDatabaseInput struct {
	MakeSourceDbReadOnly *bool              `json:"makeSourceDbReadOnly,omitempty"`
	Name                 *string            `json:"name,omitempty"`
	TableMap             *map[string]string `json:"tableMap,omitempty"`
	TargetDatabaseName   *string            `json:"targetDatabaseName,omitempty"`
}

type MigrateSqlServerSqlDbSyncDatabaseInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncDatabaseInput struct {
	Id                 *string            `json:"id,omitempty"`
	MigrationSetting   *map[string]string `json:"migrationSetting,omitempty"`
	Name               *string            `json:"name,omitempty"`
	SchemaName         *string            `json:"schemaName,omitempty"`
	SourceSetting      *map[string]string `json:"sourceSetting,omitempty"`
	TableMap           *map[string]string `json:"tableMap,omitempty"`
	TargetDatabaseName *string            `json:"targetDatabaseName,omitempty"`
	TargetSetting      *map[string]string `json:"targetSetting,omitempty"`
}

type MigrateSqlServerSqlDbSyncTaskInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                        `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                        `json:"targetConnectionInfo"`
	ValidationOptions    *MigrationValidationOptions              `json:"validationOptions,omitempty"`
}

type MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutput interface {
	MigrateSqlServerSqlDbSyncTaskOutput() BaseMigrateSqlServerSqlDbSyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbSyncTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlDbSyncTaskOutputImplementation(input []byte) (MigrateSqlServerSqlDbSyncTaskOutput, error)

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseError ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseError struct {
	ErrorMessage *string                            `json:"errorMessage,omitempty"`
	Events       *[]SyncMigrationDatabaseErrorEvent `json:"events,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseError) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel struct {
	AppliedChanges          *int64                               `json:"appliedChanges,omitempty"`
	CdcDeleteCounter        *int64                               `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter        *int64                               `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter        *int64                               `json:"cdcUpdateCounter,omitempty"`
	DatabaseName            *string                              `json:"databaseName,omitempty"`
	EndedOn                 *string                              `json:"endedOn,omitempty"`
	FullLoadCompletedTables *int64                               `json:"fullLoadCompletedTables,omitempty"`
	FullLoadErroredTables   *int64                               `json:"fullLoadErroredTables,omitempty"`
	FullLoadLoadingTables   *int64                               `json:"fullLoadLoadingTables,omitempty"`
	FullLoadQueuedTables    *int64                               `json:"fullLoadQueuedTables,omitempty"`
	IncomingChanges         *int64                               `json:"incomingChanges,omitempty"`
	InitializationCompleted *bool                                `json:"initializationCompleted,omitempty"`
	Latency                 *int64                               `json:"latency,omitempty"`
	MigrationState          *SyncDatabaseMigrationReportingState `json:"migrationState,omitempty"`
	StartedOn               *string                              `json:"startedOn,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputError) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel struct {
	DatabaseCount       *int64  `json:"databaseCount,omitempty"`
	EndedOn             *string `json:"endedOn,omitempty"`
	SourceServer        *string `json:"sourceServer,omitempty"`
	SourceServerVersion *string `json:"sourceServerVersion,omitempty"`
	StartedOn           *string `json:"startedOn,omitempty"`
	TargetServer        *string `json:"targetServer,omitempty"`
	TargetServerVersion *string `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputTableLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskOutputTableLevel struct {
	CdcDeleteCounter      *int64                   `json:"cdcDeleteCounter,omitempty"`
	CdcInsertCounter      *int64                   `json:"cdcInsertCounter,omitempty"`
	CdcUpdateCounter      *int64                   `json:"cdcUpdateCounter,omitempty"`
	DataErrorsCounter     *int64                   `json:"dataErrorsCounter,omitempty"`
	DatabaseName          *string                  `json:"databaseName,omitempty"`
	FullLoadEndedOn       *string                  `json:"fullLoadEndedOn,omitempty"`
	FullLoadEstFinishTime *string                  `json:"fullLoadEstFinishTime,omitempty"`
	FullLoadStartedOn     *string                  `json:"fullLoadStartedOn,omitempty"`
	FullLoadTotalRows     *int64                   `json:"fullLoadTotalRows,omitempty"`
	LastModifiedTime      *string                  `json:"lastModifiedTime,omitempty"`
	State                 *SyncTableMigrationState `json:"state,omitempty"`
	TableName             *string                  `json:"tableName,omitempty"`
	TotalChangesApplied   *int64                   `json:"totalChangesApplied,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlDbSyncTaskOutputTableLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbSyncTaskOutputTableLevel) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskProperties ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbSyncTaskProperties struct {
	Input  *MigrateSqlServerSqlDbSyncTaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlDbSyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlDbSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigrateSqlServerSqlDbSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrateSqlServerSqlDbSyncTaskProperties) UnmarshalJSON(bytes []byte) error

type MigrateSqlServerSqlDbTaskInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
	ValidationOptions    *MigrationValidationOptions          `json:"validationOptions,omitempty"`
}

type MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutput interface {
	MigrateSqlServerSqlDbTaskOutput() BaseMigrateSqlServerSqlDbTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlDbTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlDbTaskOutputImplementation(input []byte) (MigrateSqlServerSqlDbTaskOutput, error)

type MigrateSqlServerSqlDbTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevel struct {
	DatabaseName             *string                                    `json:"databaseName,omitempty"`
	EndedOn                  *string                                    `json:"endedOn,omitempty"`
	ErrorCount               *int64                                     `json:"errorCount,omitempty"`
	ErrorPrefix              *string                                    `json:"errorPrefix,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException                     `json:"exceptionsAndWarnings,omitempty"`
	Message                  *string                                    `json:"message,omitempty"`
	NumberOfObjects          *int64                                     `json:"numberOfObjects,omitempty"`
	NumberOfObjectsCompleted *int64                                     `json:"numberOfObjectsCompleted,omitempty"`
	ObjectSummary            *map[string]DataItemMigrationSummaryResult `json:"objectSummary,omitempty"`
	ResultPrefix             *string                                    `json:"resultPrefix,omitempty"`
	Stage                    *DatabaseMigrationStage                    `json:"stage,omitempty"`
	StartedOn                *string                                    `json:"startedOn,omitempty"`
	State                    *MigrationState                            `json:"state,omitempty"`
	StatusMessage            *string                                    `json:"statusMessage,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevel) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult struct {
	DataIntegrityValidationResult *DataIntegrityValidationResult    `json:"dataIntegrityValidationResult,omitempty"`
	EndedOn                       *string                           `json:"endedOn,omitempty"`
	MigrationId                   *string                           `json:"migrationId,omitempty"`
	QueryAnalysisValidationResult *QueryAnalysisValidationResult    `json:"queryAnalysisValidationResult,omitempty"`
	SchemaValidationResult        *SchemaComparisonValidationResult `json:"schemaValidationResult,omitempty"`
	SourceDatabaseName            *string                           `json:"sourceDatabaseName,omitempty"`
	StartedOn                     *string                           `json:"startedOn,omitempty"`
	Status                        *ValidationStatus                 `json:"status,omitempty"`
	TargetDatabaseName            *string                           `json:"targetDatabaseName,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlDbTaskOutputError) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputMigrationLevel struct {
	DatabaseSummary          *map[string]DatabaseSummaryResult `json:"databaseSummary,omitempty"`
	Databases                *map[string]string                `json:"databases,omitempty"`
	DurationInSeconds        *int64                            `json:"durationInSeconds,omitempty"`
	EndedOn                  *string                           `json:"endedOn,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException            `json:"exceptionsAndWarnings,omitempty"`
	Message                  *string                           `json:"message,omitempty"`
	MigrationReport          *MigrationReportResult            `json:"migrationReport,omitempty"`
	SourceServerBrandVersion *string                           `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                           `json:"sourceServerVersion,omitempty"`
	StartedOn                *string                           `json:"startedOn,omitempty"`
	Status                   *MigrationStatus                  `json:"status,omitempty"`
	StatusMessage            *string                           `json:"statusMessage,omitempty"`
	TargetServerBrandVersion *string                           `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                           `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputMigrationLevel) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputTableLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputTableLevel struct {
	EndedOn             *string         `json:"endedOn,omitempty"`
	ErrorPrefix         *string         `json:"errorPrefix,omitempty"`
	ItemsCompletedCount *int64          `json:"itemsCompletedCount,omitempty"`
	ItemsCount          *int64          `json:"itemsCount,omitempty"`
	ObjectName          *string         `json:"objectName,omitempty"`
	ResultPrefix        *string         `json:"resultPrefix,omitempty"`
	StartedOn           *string         `json:"startedOn,omitempty"`
	State               *MigrationState `json:"state,omitempty"`
	StatusMessage       *string         `json:"statusMessage,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputTableLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputTableLevel) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputValidationResult ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskOutputValidationResult struct {
	MigrationId    *string                                              `json:"migrationId,omitempty"`
	Status         *ValidationStatus                                    `json:"status,omitempty"`
	SummaryResults *map[string]MigrationValidationDatabaseSummaryResult `json:"summaryResults,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType string  `json:"resultType"`
}

func (MigrateSqlServerSqlDbTaskOutputValidationResult) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlDbTaskOutputValidationResult) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskProperties ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlDbTaskProperties struct {
	Input  *MigrateSqlServerSqlDbTaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlDbTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlDbTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlDbTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigrateSqlServerSqlDbTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrateSqlServerSqlDbTaskProperties) UnmarshalJSON(bytes []byte) error

type MigrateSqlServerSqlMIDatabaseInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMIDatabaseInput struct {
	BackupFilePaths     *[]string  `json:"backupFilePaths,omitempty"`
	BackupFileShare     *FileShare `json:"backupFileShare,omitempty"`
	Name                string     `json:"name"`
	RestoreDatabaseName string     `json:"restoreDatabaseName"`
}

type MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutput interface {
	MigrateSqlServerSqlMISyncTaskOutput() BaseMigrateSqlServerSqlMISyncTaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMISyncTaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlMISyncTaskOutputImplementation(input []byte) (MigrateSqlServerSqlMISyncTaskOutput, error)

type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel struct {
	ActiveBackupSets          *[]BackupSetInfo        `json:"activeBackupSets,omitempty"`
	ContainerName             *string                 `json:"containerName,omitempty"`
	EndedOn                   *string                 `json:"endedOn,omitempty"`
	ErrorPrefix               *string                 `json:"errorPrefix,omitempty"`
	ExceptionsAndWarnings     *[]ReportableException  `json:"exceptionsAndWarnings,omitempty"`
	FullBackupSetInfo         *BackupSetInfo          `json:"fullBackupSetInfo,omitempty"`
	IsFullBackupRestored      *bool                   `json:"isFullBackupRestored,omitempty"`
	LastRestoredBackupSetInfo *BackupSetInfo          `json:"lastRestoredBackupSetInfo,omitempty"`
	MigrationState            *DatabaseMigrationState `json:"migrationState,omitempty"`
	SourceDatabaseName        *string                 `json:"sourceDatabaseName,omitempty"`
	StartedOn                 *string                 `json:"startedOn,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel) MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputError) MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel struct {
	DatabaseCount            *int64          `json:"databaseCount,omitempty"`
	DatabaseErrorCount       *int64          `json:"databaseErrorCount,omitempty"`
	EndedOn                  *string         `json:"endedOn,omitempty"`
	SourceServerBrandVersion *string         `json:"sourceServerBrandVersion,omitempty"`
	SourceServerName         *string         `json:"sourceServerName,omitempty"`
	SourceServerVersion      *string         `json:"sourceServerVersion,omitempty"`
	StartedOn                *string         `json:"startedOn,omitempty"`
	State                    *MigrationState `json:"state,omitempty"`
	TargetServerBrandVersion *string         `json:"targetServerBrandVersion,omitempty"`
	TargetServerName         *string         `json:"targetServerName,omitempty"`
	TargetServerVersion      *string         `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMISyncTaskOutputMigrationLevel) MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskProperties ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMISyncTaskProperties struct {
	Input  *SqlServerSqlMISyncTaskInput           `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlMISyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlMISyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigrateSqlServerSqlMISyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrateSqlServerSqlMISyncTaskProperties) UnmarshalJSON(bytes []byte) error

type MigrateSqlServerSqlMITaskInput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskInput struct {
	BackupBlobShare      BlobShare                            `json:"backupBlobShare"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	BackupMode           *BackupMode                          `json:"backupMode,omitempty"`
	SelectedAgentJobs    *[]string                            `json:"selectedAgentJobs,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SelectedLogins       *[]string                            `json:"selectedLogins,omitempty"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
}

type MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutput interface {
	MigrateSqlServerSqlMITaskOutput() BaseMigrateSqlServerSqlMITaskOutputImpl
}

func UnmarshalMigrateSqlServerSqlMITaskOutputImplementation ¶ added in v0.20241009.1142232

func UnmarshalMigrateSqlServerSqlMITaskOutputImplementation(input []byte) (MigrateSqlServerSqlMITaskOutput, error)

type MigrateSqlServerSqlMITaskOutputAgentJobLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputAgentJobLevel struct {
	EndedOn               *string                `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	IsEnabled             *bool                  `json:"isEnabled,omitempty"`
	Message               *string                `json:"message,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	StartedOn             *string                `json:"startedOn,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputAgentJobLevel) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputDatabaseLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputDatabaseLevel struct {
	DatabaseName          *string                 `json:"databaseName,omitempty"`
	EndedOn               *string                 `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException  `json:"exceptionsAndWarnings,omitempty"`
	Message               *string                 `json:"message,omitempty"`
	SizeMB                *float64                `json:"sizeMB,omitempty"`
	Stage                 *DatabaseMigrationStage `json:"stage,omitempty"`
	StartedOn             *string                 `json:"startedOn,omitempty"`
	State                 *MigrationState         `json:"state,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputDatabaseLevel) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputError ¶ added in v0.20241009.1142232

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

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputError) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlMITaskOutputError) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputLoginLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputLoginLevel struct {
	EndedOn               *string                `json:"endedOn,omitempty"`
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	LoginName             *string                `json:"loginName,omitempty"`
	Message               *string                `json:"message,omitempty"`
	Stage                 *LoginMigrationStage   `json:"stage,omitempty"`
	StartedOn             *string                `json:"startedOn,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputLoginLevel) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputMigrationLevel ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskOutputMigrationLevel struct {
	AgentJobs                *map[string]string                                 `json:"agentJobs,omitempty"`
	Databases                *map[string]string                                 `json:"databases,omitempty"`
	EndedOn                  *string                                            `json:"endedOn,omitempty"`
	ExceptionsAndWarnings    *[]ReportableException                             `json:"exceptionsAndWarnings,omitempty"`
	Logins                   *map[string]string                                 `json:"logins,omitempty"`
	Message                  *string                                            `json:"message,omitempty"`
	OrphanedUsersInfo        *[]OrphanedUserInfo                                `json:"orphanedUsersInfo,omitempty"`
	ServerRoleResults        *map[string]StartMigrationScenarioServerRoleResult `json:"serverRoleResults,omitempty"`
	SourceServerBrandVersion *string                                            `json:"sourceServerBrandVersion,omitempty"`
	SourceServerVersion      *string                                            `json:"sourceServerVersion,omitempty"`
	StartedOn                *string                                            `json:"startedOn,omitempty"`
	State                    *MigrationState                                    `json:"state,omitempty"`
	Status                   *MigrationStatus                                   `json:"status,omitempty"`
	TargetServerBrandVersion *string                                            `json:"targetServerBrandVersion,omitempty"`
	TargetServerVersion      *string                                            `json:"targetServerVersion,omitempty"`

	Id         *string `json:"id,omitempty"`
	ResultType *string `json:"resultType,omitempty"`
}

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MarshalJSON ¶ added in v0.20241009.1142232

func (MigrateSqlServerSqlMITaskOutputMigrationLevel) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskProperties ¶ added in v0.20241009.1142232

type MigrateSqlServerSqlMITaskProperties struct {
	Input  *MigrateSqlServerSqlMITaskInput    `json:"input,omitempty"`
	Output *[]MigrateSqlServerSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (MigrateSqlServerSqlMITaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

func (MigrateSqlServerSqlMITaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*MigrateSqlServerSqlMITaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrateSqlServerSqlMITaskProperties) UnmarshalJSON(bytes []byte) error

type MigrateSyncCompleteCommandInput ¶ added in v0.20241009.1142232

type MigrateSyncCompleteCommandInput struct {
	CommitTimeStamp *string `json:"commitTimeStamp,omitempty"`
	DatabaseName    string  `json:"databaseName"`
}

func (*MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime ¶ added in v0.20241009.1142232

func (o *MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime() (*time.Time, error)

func (*MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime ¶ added in v0.20241009.1142232

func (o *MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime(input time.Time)

type MigrateSyncCompleteCommandOutput ¶ added in v0.20241009.1142232

type MigrateSyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
	Id     *string                `json:"id,omitempty"`
}

type MigrateSyncCompleteCommandProperties ¶ added in v0.20241009.1142232

type MigrateSyncCompleteCommandProperties struct {
	Input  *MigrateSyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateSyncCompleteCommandOutput `json:"output,omitempty"`

	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

func (MigrateSyncCompleteCommandProperties) CommandProperties ¶ added in v0.20241009.1142232

func (MigrateSyncCompleteCommandProperties) MarshalJSON ¶ added in v0.20241009.1142232

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

type MigrationEligibilityInfo ¶ added in v0.20241009.1142232

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

type MigrationReportResult ¶ added in v0.20241009.1142232

type MigrationReportResult struct {
	Id        *string `json:"id,omitempty"`
	ReportURL *string `json:"reportUrl,omitempty"`
}

type MigrationState ¶ added in v0.20241009.1142232

type MigrationState string
const (
	MigrationStateCompleted  MigrationState = "Completed"
	MigrationStateFailed     MigrationState = "Failed"
	MigrationStateInProgress MigrationState = "InProgress"
	MigrationStateNone       MigrationState = "None"
	MigrationStateSkipped    MigrationState = "Skipped"
	MigrationStateStopped    MigrationState = "Stopped"
	MigrationStateWarning    MigrationState = "Warning"
)

func (*MigrationState) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrationState) UnmarshalJSON(bytes []byte) error

type MigrationStatus ¶ added in v0.20241009.1142232

type MigrationStatus string
const (
	MigrationStatusCompleted               MigrationStatus = "Completed"
	MigrationStatusCompletedWithWarnings   MigrationStatus = "CompletedWithWarnings"
	MigrationStatusConfigured              MigrationStatus = "Configured"
	MigrationStatusConnecting              MigrationStatus = "Connecting"
	MigrationStatusDefault                 MigrationStatus = "Default"
	MigrationStatusError                   MigrationStatus = "Error"
	MigrationStatusRunning                 MigrationStatus = "Running"
	MigrationStatusSelectLogins            MigrationStatus = "SelectLogins"
	MigrationStatusSourceAndTargetSelected MigrationStatus = "SourceAndTargetSelected"
	MigrationStatusStopped                 MigrationStatus = "Stopped"
)

func (*MigrationStatus) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *MigrationStatus) UnmarshalJSON(bytes []byte) error

type MigrationValidationDatabaseSummaryResult ¶ added in v0.20241009.1142232

type MigrationValidationDatabaseSummaryResult struct {
	EndedOn            *string           `json:"endedOn,omitempty"`
	Id                 *string           `json:"id,omitempty"`
	MigrationId        *string           `json:"migrationId,omitempty"`
	SourceDatabaseName *string           `json:"sourceDatabaseName,omitempty"`
	StartedOn          *string           `json:"startedOn,omitempty"`
	Status             *ValidationStatus `json:"status,omitempty"`
	TargetDatabaseName *string           `json:"targetDatabaseName,omitempty"`
}

func (*MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) GetEndedOnAsTime() (*time.Time, error)

func (*MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) GetStartedOnAsTime() (*time.Time, error)

func (*MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime ¶ added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) SetEndedOnAsTime(input time.Time)

func (*MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime ¶ added in v0.20241009.1142232

func (o *MigrationValidationDatabaseSummaryResult) SetStartedOnAsTime(input time.Time)

type MigrationValidationOptions ¶ added in v0.20241009.1142232

type MigrationValidationOptions struct {
	EnableDataIntegrityValidation *bool `json:"enableDataIntegrityValidation,omitempty"`
	EnableQueryAnalysisValidation *bool `json:"enableQueryAnalysisValidation,omitempty"`
	EnableSchemaValidation        *bool `json:"enableSchemaValidation,omitempty"`
}

type MySqlConnectionInfo ¶ added in v0.20241009.1142232

type MySqlConnectionInfo struct {
	Port       int64  `json:"port"`
	ServerName string `json:"serverName"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (MySqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232

func (s MySqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (MySqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232

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

type NameAvailabilityRequest ¶

type NameAvailabilityRequest struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type NameAvailabilityResponse ¶

type NameAvailabilityResponse struct {
	Message       *string                 `json:"message,omitempty"`
	NameAvailable *bool                   `json:"nameAvailable,omitempty"`
	Reason        *NameCheckFailureReason `json:"reason,omitempty"`
}

type NameCheckFailureReason ¶

type NameCheckFailureReason string
const (
	NameCheckFailureReasonAlreadyExists NameCheckFailureReason = "AlreadyExists"
	NameCheckFailureReasonInvalid       NameCheckFailureReason = "Invalid"
)

func (*NameCheckFailureReason) UnmarshalJSON ¶

func (s *NameCheckFailureReason) UnmarshalJSON(bytes []byte) error

type ODataError ¶

type ODataError struct {
	Code    *string       `json:"code,omitempty"`
	Details *[]ODataError `json:"details,omitempty"`
	Message *string       `json:"message,omitempty"`
}

type ObjectType ¶ added in v0.20241009.1142232

type ObjectType string
const (
	ObjectTypeFunction         ObjectType = "Function"
	ObjectTypeStoredProcedures ObjectType = "StoredProcedures"
	ObjectTypeTable            ObjectType = "Table"
	ObjectTypeUser             ObjectType = "User"
	ObjectTypeView             ObjectType = "View"
)

func (*ObjectType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ObjectType) UnmarshalJSON(bytes []byte) error

type OrphanedUserInfo ¶ added in v0.20241009.1142232

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

type PostgreSqlConnectionInfo ¶ added in v0.20241009.1142232

type PostgreSqlConnectionInfo struct {
	DatabaseName *string `json:"databaseName,omitempty"`
	Port         int64   `json:"port"`
	ServerName   string  `json:"serverName"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (PostgreSqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232

func (PostgreSqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232

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

type Project ¶

type Project struct {
	Id         *string            `json:"id,omitempty"`
	Location   string             `json:"location"`
	Name       *string            `json:"name,omitempty"`
	Properties *ProjectProperties `json:"properties,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type ProjectId ¶

type ProjectId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
}

ProjectId is a struct representing the Resource ID for a Project

func NewProjectID ¶

func NewProjectID(subscriptionId string, resourceGroupName string, serviceName string, projectName string) ProjectId

NewProjectID returns a new ProjectId struct

func ParseProjectID ¶

func ParseProjectID(input string) (*ProjectId, error)

ParseProjectID parses 'input' into a ProjectId

func ParseProjectIDInsensitively ¶

func ParseProjectIDInsensitively(input string) (*ProjectId, error)

ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input

func (*ProjectId) FromParseResult ¶

func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error

func (ProjectId) ID ¶

func (id ProjectId) ID() string

ID returns the formatted Project ID

func (ProjectId) Segments ¶

func (id ProjectId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Project ID

func (ProjectId) String ¶

func (id ProjectId) String() string

String returns a human-readable description of this Project ID

type ProjectOperationPredicate ¶

type ProjectOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ProjectOperationPredicate) Matches ¶

func (p ProjectOperationPredicate) Matches(input Project) bool

type ProjectProperties ¶

type ProjectProperties struct {
	CreationTime         *string                   `json:"creationTime,omitempty"`
	DatabasesInfo        *[]DatabaseInfo           `json:"databasesInfo,omitempty"`
	ProvisioningState    *ProjectProvisioningState `json:"provisioningState,omitempty"`
	SourceConnectionInfo ConnectionInfo            `json:"sourceConnectionInfo"`
	SourcePlatform       ProjectSourcePlatform     `json:"sourcePlatform"`
	TargetConnectionInfo ConnectionInfo            `json:"targetConnectionInfo"`
	TargetPlatform       ProjectTargetPlatform     `json:"targetPlatform"`
}

func (*ProjectProperties) GetCreationTimeAsTime ¶

func (o *ProjectProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*ProjectProperties) SetCreationTimeAsTime ¶

func (o *ProjectProperties) SetCreationTimeAsTime(input time.Time)

func (*ProjectProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ProjectProperties) UnmarshalJSON(bytes []byte) error

type ProjectProvisioningState ¶

type ProjectProvisioningState string
const (
	ProjectProvisioningStateDeleting  ProjectProvisioningState = "Deleting"
	ProjectProvisioningStateSucceeded ProjectProvisioningState = "Succeeded"
)

func (*ProjectProvisioningState) UnmarshalJSON ¶

func (s *ProjectProvisioningState) UnmarshalJSON(bytes []byte) error

type ProjectSourcePlatform ¶

type ProjectSourcePlatform string
const (
	ProjectSourcePlatformSQL     ProjectSourcePlatform = "SQL"
	ProjectSourcePlatformUnknown ProjectSourcePlatform = "Unknown"
)

func (*ProjectSourcePlatform) UnmarshalJSON ¶

func (s *ProjectSourcePlatform) UnmarshalJSON(bytes []byte) error

type ProjectTargetPlatform ¶

type ProjectTargetPlatform string
const (
	ProjectTargetPlatformSQLDB   ProjectTargetPlatform = "SQLDB"
	ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown"
)

func (*ProjectTargetPlatform) UnmarshalJSON ¶

func (s *ProjectTargetPlatform) UnmarshalJSON(bytes []byte) error

type ProjectTask ¶

type ProjectTask struct {
	Etag       *string               `json:"etag,omitempty"`
	Id         *string               `json:"id,omitempty"`
	Name       *string               `json:"name,omitempty"`
	Properties ProjectTaskProperties `json:"properties"`
	Type       *string               `json:"type,omitempty"`
}

func (*ProjectTask) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ProjectTask) UnmarshalJSON(bytes []byte) error

type ProjectTaskOperationPredicate ¶

type ProjectTaskOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ProjectTaskOperationPredicate) Matches ¶

type ProjectTaskProperties ¶

type ProjectTaskProperties interface {
	ProjectTaskProperties() BaseProjectTaskPropertiesImpl
}

func UnmarshalProjectTaskPropertiesImplementation ¶ added in v0.20241009.1142232

func UnmarshalProjectTaskPropertiesImplementation(input []byte) (ProjectTaskProperties, error)

type ProjectsCreateOrUpdateOperationResponse ¶

type ProjectsCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Project
}

type ProjectsDeleteOperationOptions ¶

type ProjectsDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultProjectsDeleteOperationOptions ¶

func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions

func (ProjectsDeleteOperationOptions) ToHeaders ¶

func (ProjectsDeleteOperationOptions) ToOData ¶

func (ProjectsDeleteOperationOptions) ToQuery ¶

type ProjectsDeleteOperationResponse ¶

type ProjectsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ProjectsGetOperationResponse ¶

type ProjectsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Project
}

type ProjectsListByResourceGroupCompleteResult ¶

type ProjectsListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Project
}

type ProjectsListByResourceGroupCustomPager ¶ added in v0.20240628.1153531

type ProjectsListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ProjectsListByResourceGroupOperationResponse ¶

type ProjectsListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Project
}

type ProjectsUpdateOperationResponse ¶

type ProjectsUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Project
}

type QueryAnalysisValidationResult ¶ added in v0.20241009.1142232

type QueryAnalysisValidationResult struct {
	QueryResults     *QueryExecutionResult `json:"queryResults,omitempty"`
	ValidationErrors *ValidationError      `json:"validationErrors,omitempty"`
}

type QueryExecutionResult ¶ added in v0.20241009.1142232

type QueryExecutionResult struct {
	QueryText         *string              `json:"queryText,omitempty"`
	SourceResult      *ExecutionStatistics `json:"sourceResult,omitempty"`
	StatementsInBatch *int64               `json:"statementsInBatch,omitempty"`
	TargetResult      *ExecutionStatistics `json:"targetResult,omitempty"`
}

type Quota ¶

type Quota struct {
	CurrentValue *float64   `json:"currentValue,omitempty"`
	Id           *string    `json:"id,omitempty"`
	Limit        *float64   `json:"limit,omitempty"`
	Name         *QuotaName `json:"name,omitempty"`
	Unit         *string    `json:"unit,omitempty"`
}

type QuotaName ¶

type QuotaName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type QuotaOperationPredicate ¶

type QuotaOperationPredicate struct {
	CurrentValue *float64
	Id           *string
	Limit        *float64
	Unit         *string
}

func (QuotaOperationPredicate) Matches ¶

func (p QuotaOperationPredicate) Matches(input Quota) bool

type RawCommandPropertiesImpl ¶ added in v0.20241009.1142232

type RawCommandPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawCommandPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawCommandPropertiesImpl) CommandProperties ¶ added in v0.20241009.1142232

type RawConnectToSourceSqlServerTaskOutputImpl ¶ added in v0.20241009.1142232

type RawConnectToSourceSqlServerTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawConnectToSourceSqlServerTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawConnectToSourceSqlServerTaskOutputImpl) ConnectToSourceSqlServerTaskOutput ¶ added in v0.20241009.1142232

type RawConnectionInfoImpl ¶ added in v0.20241009.1142232

type RawConnectionInfoImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawConnectionInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawConnectionInfoImpl) ConnectionInfo ¶ added in v0.20241009.1142232

func (s RawConnectionInfoImpl) ConnectionInfo() BaseConnectionInfoImpl

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigrateMySqlAzureDbForMySqlSyncTaskOutputImpl) MigrateMySqlAzureDbForMySqlSyncTaskOutput ¶ added in v0.20241009.1142232

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl) MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbSyncTaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbSyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlDbSyncTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigrateSqlServerSqlDbSyncTaskOutputImpl) MigrateSqlServerSqlDbSyncTaskOutput ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbTaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlDbTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlDbTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigrateSqlServerSqlDbTaskOutputImpl) MigrateSqlServerSqlDbTaskOutput ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlMISyncTaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlMISyncTaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlMISyncTaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigrateSqlServerSqlMISyncTaskOutputImpl) MigrateSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlMITaskOutputImpl ¶ added in v0.20241009.1142232

type RawMigrateSqlServerSqlMITaskOutputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawMigrateSqlServerSqlMITaskOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawMigrateSqlServerSqlMITaskOutputImpl) MigrateSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type RawProjectTaskPropertiesImpl ¶ added in v0.20241009.1142232

type RawProjectTaskPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawProjectTaskPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawProjectTaskPropertiesImpl) ProjectTaskProperties ¶ added in v0.20241009.1142232

type ReportableException ¶ added in v0.20241009.1142232

type ReportableException struct {
	ActionableMessage *string `json:"actionableMessage,omitempty"`
	FilePath          *string `json:"filePath,omitempty"`
	HResult           *int64  `json:"hResult,omitempty"`
	LineNumber        *string `json:"lineNumber,omitempty"`
	Message           *string `json:"message,omitempty"`
	StackTrace        *string `json:"stackTrace,omitempty"`
}

type ResourceGroupId ¶

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID ¶

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID ¶

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively ¶

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input

func (*ResourceGroupId) FromParseResult ¶

func (id *ResourceGroupId) FromParseResult(input resourceids.ParseResult) error

func (ResourceGroupId) ID ¶

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments ¶

func (id ResourceGroupId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Resource Group ID

func (ResourceGroupId) String ¶

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type ResourceSku ¶

type ResourceSku struct {
	ApiVersions  *[]string                  `json:"apiVersions,omitempty"`
	Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
	Capacity     *ResourceSkuCapacity       `json:"capacity,omitempty"`
	Costs        *[]ResourceSkuCosts        `json:"costs,omitempty"`
	Family       *string                    `json:"family,omitempty"`
	Kind         *string                    `json:"kind,omitempty"`
	Locations    *[]string                  `json:"locations,omitempty"`
	Name         *string                    `json:"name,omitempty"`
	ResourceType *string                    `json:"resourceType,omitempty"`
	Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
	Size         *string                    `json:"size,omitempty"`
	Tier         *string                    `json:"tier,omitempty"`
}

type ResourceSkuCapabilities ¶

type ResourceSkuCapabilities struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type ResourceSkuCapacity ¶

type ResourceSkuCapacity struct {
	Default   *int64                        `json:"default,omitempty"`
	Maximum   *int64                        `json:"maximum,omitempty"`
	Minimum   *int64                        `json:"minimum,omitempty"`
	ScaleType *ResourceSkuCapacityScaleType `json:"scaleType,omitempty"`
}

type ResourceSkuCapacityScaleType ¶

type ResourceSkuCapacityScaleType string
const (
	ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
	ResourceSkuCapacityScaleTypeManual    ResourceSkuCapacityScaleType = "Manual"
	ResourceSkuCapacityScaleTypeNone      ResourceSkuCapacityScaleType = "None"
)

func (*ResourceSkuCapacityScaleType) UnmarshalJSON ¶

func (s *ResourceSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error

type ResourceSkuCosts ¶

type ResourceSkuCosts struct {
	ExtendedUnit *string `json:"extendedUnit,omitempty"`
	MeterID      *string `json:"meterID,omitempty"`
	Quantity     *int64  `json:"quantity,omitempty"`
}

type ResourceSkuOperationPredicate ¶

type ResourceSkuOperationPredicate struct {
	Family       *string
	Kind         *string
	Name         *string
	ResourceType *string
	Size         *string
	Tier         *string
}

func (ResourceSkuOperationPredicate) Matches ¶

type ResourceSkuRestrictions ¶

type ResourceSkuRestrictions struct {
	ReasonCode *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
	Type       *ResourceSkuRestrictionsType       `json:"type,omitempty"`
	Values     *[]string                          `json:"values,omitempty"`
}

type ResourceSkuRestrictionsReasonCode ¶

type ResourceSkuRestrictionsReasonCode string
const (
	ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	ResourceSkuRestrictionsReasonCodeQuotaId                     ResourceSkuRestrictionsReasonCode = "QuotaId"
)

func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON ¶

func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error

type ResourceSkuRestrictionsType ¶

type ResourceSkuRestrictionsType string
const (
	ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "location"
)

func (*ResourceSkuRestrictionsType) UnmarshalJSON ¶

func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error

type ResourceSkusListSkusCompleteResult ¶

type ResourceSkusListSkusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ResourceSku
}

type ResourceSkusListSkusCustomPager ¶ added in v0.20240628.1153531

type ResourceSkusListSkusCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ResourceSkusListSkusCustomPager) NextPageLink() *odata.Link

type ResourceSkusListSkusOperationResponse ¶

type ResourceSkusListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceSku
}

type SchemaComparisonValidationResult ¶ added in v0.20241009.1142232

type SchemaComparisonValidationResult struct {
	SchemaDifferences         *SchemaComparisonValidationResultType `json:"schemaDifferences,omitempty"`
	SourceDatabaseObjectCount *map[string]int64                     `json:"sourceDatabaseObjectCount,omitempty"`
	TargetDatabaseObjectCount *map[string]int64                     `json:"targetDatabaseObjectCount,omitempty"`
	ValidationErrors          *ValidationError                      `json:"validationErrors,omitempty"`
}

type SchemaComparisonValidationResultType ¶ added in v0.20241009.1142232

type SchemaComparisonValidationResultType struct {
	ObjectName   *string           `json:"objectName,omitempty"`
	ObjectType   *ObjectType       `json:"objectType,omitempty"`
	UpdateAction *UpdateActionType `json:"updateAction,omitempty"`
}

type SelectedCertificateInput ¶ added in v0.20241009.1142232

type SelectedCertificateInput struct {
	CertificateName string `json:"certificateName"`
	Password        string `json:"password"`
}

type ServerLevelPermissionsGroup ¶ added in v0.20241009.1142232

type ServerLevelPermissionsGroup string
const (
	ServerLevelPermissionsGroupDefault                             ServerLevelPermissionsGroup = "Default"
	ServerLevelPermissionsGroupMigrationFromMySQLToAzureDBForMySQL ServerLevelPermissionsGroup = "MigrationFromMySQLToAzureDBForMySQL"
	ServerLevelPermissionsGroupMigrationFromSqlServerToAzureDB     ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureDB"
	ServerLevelPermissionsGroupMigrationFromSqlServerToAzureMI     ServerLevelPermissionsGroup = "MigrationFromSqlServerToAzureMI"
)

func (*ServerLevelPermissionsGroup) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ServerLevelPermissionsGroup) UnmarshalJSON(bytes []byte) error

type ServiceId ¶

type ServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
}

ServiceId is a struct representing the Resource ID for a Service

func NewServiceID ¶

func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId

NewServiceID returns a new ServiceId struct

func ParseServiceID ¶

func ParseServiceID(input string) (*ServiceId, error)

ParseServiceID parses 'input' into a ServiceId

func ParseServiceIDInsensitively ¶

func ParseServiceIDInsensitively(input string) (*ServiceId, error)

ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input

func (*ServiceId) FromParseResult ¶

func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error

func (ServiceId) ID ¶

func (id ServiceId) ID() string

ID returns the formatted Service ID

func (ServiceId) Segments ¶

func (id ServiceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Service ID

func (ServiceId) String ¶

func (id ServiceId) String() string

String returns a human-readable description of this Service ID

type ServiceProvisioningState ¶

type ServiceProvisioningState string
const (
	ServiceProvisioningStateAccepted      ServiceProvisioningState = "Accepted"
	ServiceProvisioningStateDeleting      ServiceProvisioningState = "Deleting"
	ServiceProvisioningStateDeploying     ServiceProvisioningState = "Deploying"
	ServiceProvisioningStateFailed        ServiceProvisioningState = "Failed"
	ServiceProvisioningStateFailedToStart ServiceProvisioningState = "FailedToStart"
	ServiceProvisioningStateFailedToStop  ServiceProvisioningState = "FailedToStop"
	ServiceProvisioningStateStarting      ServiceProvisioningState = "Starting"
	ServiceProvisioningStateStopped       ServiceProvisioningState = "Stopped"
	ServiceProvisioningStateStopping      ServiceProvisioningState = "Stopping"
	ServiceProvisioningStateSucceeded     ServiceProvisioningState = "Succeeded"
)

func (*ServiceProvisioningState) UnmarshalJSON ¶

func (s *ServiceProvisioningState) UnmarshalJSON(bytes []byte) error

type ServiceScalability ¶

type ServiceScalability string
const (
	ServiceScalabilityAutomatic ServiceScalability = "automatic"
	ServiceScalabilityManual    ServiceScalability = "manual"
	ServiceScalabilityNone      ServiceScalability = "none"
)

func (*ServiceScalability) UnmarshalJSON ¶

func (s *ServiceScalability) UnmarshalJSON(bytes []byte) error

type ServiceSku ¶

type ServiceSku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Name     *string `json:"name,omitempty"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type ServicesCheckNameAvailabilityOperationResponse ¶

type ServicesCheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NameAvailabilityResponse
}

type ServicesCreateOrUpdateOperationResponse ¶

type ServicesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type ServicesDeleteOperationOptions ¶

type ServicesDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultServicesDeleteOperationOptions ¶

func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions

func (ServicesDeleteOperationOptions) ToHeaders ¶

func (ServicesDeleteOperationOptions) ToOData ¶

func (ServicesDeleteOperationOptions) ToQuery ¶

type ServicesDeleteOperationResponse ¶

type ServicesDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesGetOperationResponse ¶

type ServicesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type ServicesListByResourceGroupCompleteResult ¶

type ServicesListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataMigrationService
}

type ServicesListByResourceGroupCustomPager ¶ added in v0.20240628.1153531

type ServicesListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ServicesListByResourceGroupOperationResponse ¶

type ServicesListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListCompleteResult ¶

type ServicesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataMigrationService
}

type ServicesListCustomPager ¶ added in v0.20240628.1153531

type ServicesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ServicesListCustomPager) NextPageLink() *odata.Link

type ServicesListOperationResponse ¶

type ServicesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListSkusCompleteResult ¶

type ServicesListSkusCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AvailableServiceSku
}

type ServicesListSkusCustomPager ¶ added in v0.20240628.1153531

type ServicesListSkusCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ServicesListSkusCustomPager) NextPageLink() *odata.Link

type ServicesListSkusOperationResponse ¶

type ServicesListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AvailableServiceSku
}

type ServicesUpdateOperationResponse ¶

type ServicesUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type Severity ¶ added in v0.20241009.1142232

type Severity string
const (
	SeverityError   Severity = "Error"
	SeverityMessage Severity = "Message"
	SeverityWarning Severity = "Warning"
)

func (*Severity) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *Severity) UnmarshalJSON(bytes []byte) error

type SqlConnectionInfo ¶ added in v0.20241009.1142232

type SqlConnectionInfo struct {
	AdditionalSettings     *string             `json:"additionalSettings,omitempty"`
	Authentication         *AuthenticationType `json:"authentication,omitempty"`
	DataSource             string              `json:"dataSource"`
	EncryptConnection      *bool               `json:"encryptConnection,omitempty"`
	Platform               *SqlSourcePlatform  `json:"platform,omitempty"`
	TrustServerCertificate *bool               `json:"trustServerCertificate,omitempty"`

	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

func (SqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232

func (s SqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl

func (SqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232

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

type SqlServerSqlMISyncTaskInput ¶ added in v0.20241009.1142232

type SqlServerSqlMISyncTaskInput struct {
	AzureApp             AzureActiveDirectoryApp              `json:"azureApp"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	StorageResourceId    string                               `json:"storageResourceId"`
	TargetConnectionInfo MiSqlConnectionInfo                  `json:"targetConnectionInfo"`
}

type SqlSourcePlatform ¶ added in v0.20241009.1142232

type SqlSourcePlatform string
const (
	SqlSourcePlatformSqlOnPrem SqlSourcePlatform = "SqlOnPrem"
)

func (*SqlSourcePlatform) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *SqlSourcePlatform) UnmarshalJSON(bytes []byte) error

type StandardOperationClient ¶

type StandardOperationClient struct {
	Client *resourcemanager.Client
}

func NewStandardOperationClientWithBaseURI ¶

func NewStandardOperationClientWithBaseURI(sdkApi sdkEnv.Api) (*StandardOperationClient, error)

func (StandardOperationClient) ProjectsCreateOrUpdate ¶

func (c StandardOperationClient) ProjectsCreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsCreateOrUpdateOperationResponse, err error)

ProjectsCreateOrUpdate ...

func (StandardOperationClient) ProjectsDelete ¶

ProjectsDelete ...

func (StandardOperationClient) ProjectsGet ¶

ProjectsGet ...

func (StandardOperationClient) ProjectsListByResourceGroup ¶

func (c StandardOperationClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (result ProjectsListByResourceGroupOperationResponse, err error)

ProjectsListByResourceGroup ...

func (StandardOperationClient) ProjectsListByResourceGroupComplete ¶

func (c StandardOperationClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)

ProjectsListByResourceGroupComplete retrieves all the results into a single object

func (StandardOperationClient) ProjectsListByResourceGroupCompleteMatchingPredicate ¶

func (c StandardOperationClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (result ProjectsListByResourceGroupCompleteResult, err error)

ProjectsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) ProjectsUpdate ¶

func (c StandardOperationClient) ProjectsUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsUpdateOperationResponse, err error)

ProjectsUpdate ...

func (StandardOperationClient) ResourceSkusListSkus ¶

ResourceSkusListSkus ...

func (StandardOperationClient) ResourceSkusListSkusComplete ¶

ResourceSkusListSkusComplete retrieves all the results into a single object

func (StandardOperationClient) ResourceSkusListSkusCompleteMatchingPredicate ¶

func (c StandardOperationClient) ResourceSkusListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceSkuOperationPredicate) (result ResourceSkusListSkusCompleteResult, err error)

ResourceSkusListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) ServicesCheckNameAvailability ¶

ServicesCheckNameAvailability ...

func (StandardOperationClient) ServicesCreateOrUpdate ¶

ServicesCreateOrUpdate ...

func (StandardOperationClient) ServicesCreateOrUpdateThenPoll ¶

func (c StandardOperationClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesCreateOrUpdateThenPoll performs ServicesCreateOrUpdate then polls until it's completed

func (StandardOperationClient) ServicesDelete ¶

ServicesDelete ...

func (StandardOperationClient) ServicesDeleteThenPoll ¶

func (c StandardOperationClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error

ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed

func (StandardOperationClient) ServicesGet ¶

ServicesGet ...

func (StandardOperationClient) ServicesList ¶

ServicesList ...

func (StandardOperationClient) ServicesListByResourceGroup ¶

ServicesListByResourceGroup ...

func (StandardOperationClient) ServicesListByResourceGroupComplete ¶

ServicesListByResourceGroupComplete retrieves all the results into a single object

func (StandardOperationClient) ServicesListByResourceGroupCompleteMatchingPredicate ¶

func (c StandardOperationClient) ServicesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DataMigrationServiceOperationPredicate) (result ServicesListByResourceGroupCompleteResult, err error)

ServicesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) ServicesListComplete ¶

ServicesListComplete retrieves all the results into a single object

func (StandardOperationClient) ServicesListCompleteMatchingPredicate ¶

func (c StandardOperationClient) ServicesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataMigrationServiceOperationPredicate) (result ServicesListCompleteResult, err error)

ServicesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) ServicesListSkus ¶

func (c StandardOperationClient) ServicesListSkus(ctx context.Context, id ServiceId) (result ServicesListSkusOperationResponse, err error)

ServicesListSkus ...

func (StandardOperationClient) ServicesListSkusComplete ¶

ServicesListSkusComplete retrieves all the results into a single object

func (StandardOperationClient) ServicesListSkusCompleteMatchingPredicate ¶

func (c StandardOperationClient) ServicesListSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate AvailableServiceSkuOperationPredicate) (result ServicesListSkusCompleteResult, err error)

ServicesListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) ServicesUpdate ¶

ServicesUpdate ...

func (StandardOperationClient) ServicesUpdateThenPoll ¶

func (c StandardOperationClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesUpdateThenPoll performs ServicesUpdate then polls until it's completed

func (StandardOperationClient) TasksCreateOrUpdate ¶

func (c StandardOperationClient) TasksCreateOrUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksCreateOrUpdateOperationResponse, err error)

TasksCreateOrUpdate ...

func (StandardOperationClient) TasksDelete ¶

TasksDelete ...

func (StandardOperationClient) TasksGet ¶

TasksGet ...

func (StandardOperationClient) TasksList ¶

TasksList ...

func (StandardOperationClient) TasksListComplete ¶

TasksListComplete retrieves all the results into a single object

func (StandardOperationClient) TasksListCompleteMatchingPredicate ¶

func (c StandardOperationClient) TasksListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options TasksListOperationOptions, predicate ProjectTaskOperationPredicate) (result TasksListCompleteResult, err error)

TasksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (StandardOperationClient) TasksUpdate ¶

func (c StandardOperationClient) TasksUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksUpdateOperationResponse, err error)

TasksUpdate ...

func (StandardOperationClient) UsagesList ¶

UsagesList ...

func (StandardOperationClient) UsagesListComplete ¶

UsagesListComplete retrieves all the results into a single object

func (StandardOperationClient) UsagesListCompleteMatchingPredicate ¶

func (c StandardOperationClient) UsagesListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate QuotaOperationPredicate) (result UsagesListCompleteResult, err error)

UsagesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type StartMigrationScenarioServerRoleResult ¶ added in v0.20241009.1142232

type StartMigrationScenarioServerRoleResult struct {
	ExceptionsAndWarnings *[]ReportableException `json:"exceptionsAndWarnings,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	State                 *MigrationState        `json:"state,omitempty"`
}

type SyncDatabaseMigrationReportingState ¶ added in v0.20241009.1142232

type SyncDatabaseMigrationReportingState string
const (
	SyncDatabaseMigrationReportingStateCANCELLED       SyncDatabaseMigrationReportingState = "CANCELLED"
	SyncDatabaseMigrationReportingStateCANCELLING      SyncDatabaseMigrationReportingState = "CANCELLING"
	SyncDatabaseMigrationReportingStateCOMPLETE        SyncDatabaseMigrationReportingState = "COMPLETE"
	SyncDatabaseMigrationReportingStateCOMPLETING      SyncDatabaseMigrationReportingState = "COMPLETING"
	SyncDatabaseMigrationReportingStateCONFIGURING     SyncDatabaseMigrationReportingState = "CONFIGURING"
	SyncDatabaseMigrationReportingStateFAILED          SyncDatabaseMigrationReportingState = "FAILED"
	SyncDatabaseMigrationReportingStateINITIALIAZING   SyncDatabaseMigrationReportingState = "INITIALIAZING"
	SyncDatabaseMigrationReportingStateREADYTOCOMPLETE SyncDatabaseMigrationReportingState = "READY_TO_COMPLETE"
	SyncDatabaseMigrationReportingStateRUNNING         SyncDatabaseMigrationReportingState = "RUNNING"
	SyncDatabaseMigrationReportingStateSTARTING        SyncDatabaseMigrationReportingState = "STARTING"
	SyncDatabaseMigrationReportingStateUNDEFINED       SyncDatabaseMigrationReportingState = "UNDEFINED"
)

func (*SyncDatabaseMigrationReportingState) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *SyncDatabaseMigrationReportingState) UnmarshalJSON(bytes []byte) error

type SyncMigrationDatabaseErrorEvent ¶ added in v0.20241009.1142232

type SyncMigrationDatabaseErrorEvent struct {
	EventText       *string `json:"eventText,omitempty"`
	EventTypeString *string `json:"eventTypeString,omitempty"`
	TimestampString *string `json:"timestampString,omitempty"`
}

type SyncTableMigrationState ¶ added in v0.20241009.1142232

type SyncTableMigrationState string
const (
	SyncTableMigrationStateBEFORELOAD SyncTableMigrationState = "BEFORE_LOAD"
	SyncTableMigrationStateCANCELED   SyncTableMigrationState = "CANCELED"
	SyncTableMigrationStateCOMPLETED  SyncTableMigrationState = "COMPLETED"
	SyncTableMigrationStateERROR      SyncTableMigrationState = "ERROR"
	SyncTableMigrationStateFAILED     SyncTableMigrationState = "FAILED"
	SyncTableMigrationStateFULLLOAD   SyncTableMigrationState = "FULL_LOAD"
)

func (*SyncTableMigrationState) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *SyncTableMigrationState) UnmarshalJSON(bytes []byte) error

type TaskId ¶

type TaskId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
	TaskName          string
}

TaskId is a struct representing the Resource ID for a Task

func NewTaskID ¶

func NewTaskID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, taskName string) TaskId

NewTaskID returns a new TaskId struct

func ParseTaskID ¶

func ParseTaskID(input string) (*TaskId, error)

ParseTaskID parses 'input' into a TaskId

func ParseTaskIDInsensitively ¶

func ParseTaskIDInsensitively(input string) (*TaskId, error)

ParseTaskIDInsensitively parses 'input' case-insensitively into a TaskId note: this method should only be used for API response data and not user input

func (*TaskId) FromParseResult ¶

func (id *TaskId) FromParseResult(input resourceids.ParseResult) error

func (TaskId) ID ¶

func (id TaskId) ID() string

ID returns the formatted Task ID

func (TaskId) Segments ¶

func (id TaskId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Task ID

func (TaskId) String ¶

func (id TaskId) String() string

String returns a human-readable description of this Task ID

type TaskState ¶

type TaskState string
const (
	TaskStateCanceled              TaskState = "Canceled"
	TaskStateFailed                TaskState = "Failed"
	TaskStateFailedInputValidation TaskState = "FailedInputValidation"
	TaskStateFaulted               TaskState = "Faulted"
	TaskStateQueued                TaskState = "Queued"
	TaskStateRunning               TaskState = "Running"
	TaskStateSucceeded             TaskState = "Succeeded"
	TaskStateUnknown               TaskState = "Unknown"
)

func (*TaskState) UnmarshalJSON ¶

func (s *TaskState) UnmarshalJSON(bytes []byte) error

type TasksCreateOrUpdateOperationResponse ¶

type TasksCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectTask
}

type TasksDeleteOperationOptions ¶

type TasksDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultTasksDeleteOperationOptions ¶

func DefaultTasksDeleteOperationOptions() TasksDeleteOperationOptions

func (TasksDeleteOperationOptions) ToHeaders ¶

func (TasksDeleteOperationOptions) ToOData ¶

func (TasksDeleteOperationOptions) ToQuery ¶

type TasksDeleteOperationResponse ¶

type TasksDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type TasksGetOperationOptions ¶

type TasksGetOperationOptions struct {
	Expand *string
}

func DefaultTasksGetOperationOptions ¶

func DefaultTasksGetOperationOptions() TasksGetOperationOptions

func (TasksGetOperationOptions) ToHeaders ¶

func (o TasksGetOperationOptions) ToHeaders() *client.Headers

func (TasksGetOperationOptions) ToOData ¶

func (o TasksGetOperationOptions) ToOData() *odata.Query

func (TasksGetOperationOptions) ToQuery ¶

type TasksGetOperationResponse ¶

type TasksGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectTask
}

type TasksListCompleteResult ¶

type TasksListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ProjectTask
}

type TasksListCustomPager ¶ added in v0.20240628.1153531

type TasksListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *TasksListCustomPager) NextPageLink() *odata.Link

type TasksListOperationOptions ¶

type TasksListOperationOptions struct {
	TaskType *string
}

func DefaultTasksListOperationOptions ¶

func DefaultTasksListOperationOptions() TasksListOperationOptions

func (TasksListOperationOptions) ToHeaders ¶

func (o TasksListOperationOptions) ToHeaders() *client.Headers

func (TasksListOperationOptions) ToOData ¶

func (o TasksListOperationOptions) ToOData() *odata.Query

func (TasksListOperationOptions) ToQuery ¶

type TasksListOperationResponse ¶

type TasksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProjectTask
}

type TasksUpdateOperationResponse ¶

type TasksUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectTask
}

type UpdateActionType ¶ added in v0.20241009.1142232

type UpdateActionType string
const (
	UpdateActionTypeAddedOnTarget   UpdateActionType = "AddedOnTarget"
	UpdateActionTypeChangedOnTarget UpdateActionType = "ChangedOnTarget"
	UpdateActionTypeDeletedOnTarget UpdateActionType = "DeletedOnTarget"
)

func (*UpdateActionType) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *UpdateActionType) UnmarshalJSON(bytes []byte) error

type UsagesListCompleteResult ¶

type UsagesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Quota
}

type UsagesListCustomPager ¶ added in v0.20240628.1153531

type UsagesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *UsagesListCustomPager) NextPageLink() *odata.Link

type UsagesListOperationResponse ¶

type UsagesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Quota
}

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties struct {
	Input  *ValidateSyncMigrationInputSqlServerTaskInput    `json:"input,omitempty"`
	Output *[]ValidateSyncMigrationInputSqlServerTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlDbSyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskOutput ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskOutput struct {
	Id               *string                `json:"id,omitempty"`
	Name             *string                `json:"name,omitempty"`
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type ValidateMigrationInputSqlServerSqlMISyncTaskProperties ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMISyncTaskProperties struct {
	Input  *SqlServerSqlMISyncTaskInput                          `json:"input,omitempty"`
	Output *[]ValidateMigrationInputSqlServerSqlMISyncTaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlMISyncTaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlMISyncTaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskInput ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskInput struct {
	BackupBlobShare      BlobShare                            `json:"backupBlobShare"`
	BackupFileShare      *FileShare                           `json:"backupFileShare,omitempty"`
	BackupMode           *BackupMode                          `json:"backupMode,omitempty"`
	SelectedDatabases    []MigrateSqlServerSqlMIDatabaseInput `json:"selectedDatabases"`
	SelectedLogins       *[]string                            `json:"selectedLogins,omitempty"`
	SourceConnectionInfo SqlConnectionInfo                    `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                    `json:"targetConnectionInfo"`
}

type ValidateMigrationInputSqlServerSqlMITaskOutput ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskOutput struct {
	BackupFolderErrors           *[]ReportableException `json:"backupFolderErrors,omitempty"`
	BackupShareCredentialsErrors *[]ReportableException `json:"backupShareCredentialsErrors,omitempty"`
	BackupStorageAccountErrors   *[]ReportableException `json:"backupStorageAccountErrors,omitempty"`
	DatabaseBackupInfo           *DatabaseBackupInfo    `json:"databaseBackupInfo,omitempty"`
	ExistingBackupErrors         *[]ReportableException `json:"existingBackupErrors,omitempty"`
	Id                           *string                `json:"id,omitempty"`
	Name                         *string                `json:"name,omitempty"`
	RestoreDatabaseNameErrors    *[]ReportableException `json:"restoreDatabaseNameErrors,omitempty"`
}

type ValidateMigrationInputSqlServerSqlMITaskProperties ¶ added in v0.20241009.1142232

type ValidateMigrationInputSqlServerSqlMITaskProperties struct {
	Input  *ValidateMigrationInputSqlServerSqlMITaskInput    `json:"input,omitempty"`
	Output *[]ValidateMigrationInputSqlServerSqlMITaskOutput `json:"output,omitempty"`

	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

func (ValidateMigrationInputSqlServerSqlMITaskProperties) MarshalJSON ¶ added in v0.20241009.1142232

func (ValidateMigrationInputSqlServerSqlMITaskProperties) ProjectTaskProperties ¶ added in v0.20241009.1142232

func (*ValidateMigrationInputSqlServerSqlMITaskProperties) UnmarshalJSON ¶ added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskInput ¶ added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskInput struct {
	SelectedDatabases    []MigrateSqlServerSqlDbSyncDatabaseInput `json:"selectedDatabases"`
	SourceConnectionInfo SqlConnectionInfo                        `json:"sourceConnectionInfo"`
	TargetConnectionInfo SqlConnectionInfo                        `json:"targetConnectionInfo"`
}

type ValidateSyncMigrationInputSqlServerTaskOutput ¶ added in v0.20241009.1142232

type ValidateSyncMigrationInputSqlServerTaskOutput struct {
	Id               *string                `json:"id,omitempty"`
	Name             *string                `json:"name,omitempty"`
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type ValidationError ¶ added in v0.20241009.1142232

type ValidationError struct {
	Severity *Severity `json:"severity,omitempty"`
	Text     *string   `json:"text,omitempty"`
}

type ValidationStatus ¶ added in v0.20241009.1142232

type ValidationStatus string
const (
	ValidationStatusCompleted           ValidationStatus = "Completed"
	ValidationStatusCompletedWithIssues ValidationStatus = "CompletedWithIssues"
	ValidationStatusDefault             ValidationStatus = "Default"
	ValidationStatusFailed              ValidationStatus = "Failed"
	ValidationStatusInProgress          ValidationStatus = "InProgress"
	ValidationStatusInitialized         ValidationStatus = "Initialized"
	ValidationStatusNotStarted          ValidationStatus = "NotStarted"
	ValidationStatusStopped             ValidationStatus = "Stopped"
)

func (*ValidationStatus) UnmarshalJSON ¶ added in v0.20241009.1142232

func (s *ValidationStatus) UnmarshalJSON(bytes []byte) error

type WaitStatistics ¶ added in v0.20241009.1142232

type WaitStatistics struct {
	WaitCount  *int64   `json:"waitCount,omitempty"`
	WaitTimeMs *float64 `json:"waitTimeMs,omitempty"`
	WaitType   *string  `json:"waitType,omitempty"`
}

Source Files ¶

Jump to

Keyboard shortcuts

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