migratepostgresqlazuredbforpostgresqlsynctasks

package
v0.20240320.1000025 Latest Latest
Warning

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

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

README

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

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

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

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/migratepostgresqlazuredbforpostgresqlsynctasks"

Client Initialization

client := migratepostgresqlazuredbforpostgresqlsynctasks.NewMigratePostgreSqlAzureDbForPostgreSqlSyncTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSyncDatabaseMigrationReportingState

func PossibleValuesForSyncDatabaseMigrationReportingState() []string

func PossibleValuesForSyncTableMigrationState

func PossibleValuesForSyncTableMigrationState() []string

Types

type ConnectionInfo

type ConnectionInfo interface {
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput interface {
}

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError) MarshalJSON

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel) MarshalJSON

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError) MarshalJSON

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel) MarshalJSON

type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel

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

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

func (MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel) MarshalJSON

type MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient

type MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient struct {
	Client *resourcemanager.Client
}

func NewMigratePostgreSqlAzureDbForPostgreSqlSyncTasksClientWithBaseURI

func NewMigratePostgreSqlAzureDbForPostgreSqlSyncTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*MigratePostgreSqlAzureDbForPostgreSqlSyncTasksClient, error)

type PostgreSqlConnectionInfo

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

	// Fields inherited from ConnectionInfo
	Password *string `json:"password,omitempty"`
	UserName *string `json:"userName,omitempty"`
}

func (PostgreSqlConnectionInfo) MarshalJSON

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

type RawConnectionInfoImpl

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

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

type RawMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputImpl

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

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

type ReportableException

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

type SyncDatabaseMigrationReportingState

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

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

type SyncMigrationDatabaseErrorEvent

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

type SyncTableMigrationState

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

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

Jump to

Keyboard shortcuts

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