Documentation ¶
Index ¶
- func PossibleValuesForCancelEnum() []string
- func PossibleValuesForLogicalReplicationOnSourceDbEnum() []string
- func PossibleValuesForMigrationDbState() []string
- func PossibleValuesForMigrationListFilter() []string
- func PossibleValuesForMigrationMode() []string
- func PossibleValuesForMigrationOption() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForMigrationSubState() []string
- func PossibleValuesForOverwriteDbsInTargetEnum() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSourceType() []string
- func PossibleValuesForSslMode() []string
- func PossibleValuesForStartDataMigrationEnum() []string
- func PossibleValuesForTriggerCutoverEnum() []string
- func PossibleValuesForValidationState() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMigrationID(input interface{}, key string) (warnings []string, errors []error)
- type AdminCredentials
- type CancelEnum
- type CreateOperationResponse
- type DbLevelValidationStatus
- type DbMigrationStatus
- type DbServerMetadata
- type DeleteOperationResponse
- type FlexibleServerId
- type GetOperationResponse
- type ListByTargetServerCompleteResult
- type ListByTargetServerCustomPager
- type ListByTargetServerOperationOptions
- type ListByTargetServerOperationResponse
- type LogicalReplicationOnSourceDbEnum
- type MigrationDbState
- type MigrationId
- type MigrationListFilter
- type MigrationMode
- type MigrationOption
- type MigrationResource
- type MigrationResourceForPatch
- type MigrationResourceOperationPredicate
- type MigrationResourceProperties
- func (o *MigrationResourceProperties) GetMigrationWindowEndTimeInUtcAsTime() (*time.Time, error)
- func (o *MigrationResourceProperties) GetMigrationWindowStartTimeInUtcAsTime() (*time.Time, error)
- func (o *MigrationResourceProperties) SetMigrationWindowEndTimeInUtcAsTime(input time.Time)
- func (o *MigrationResourceProperties) SetMigrationWindowStartTimeInUtcAsTime(input time.Time)
- type MigrationResourcePropertiesForPatch
- type MigrationSecretParameters
- type MigrationState
- type MigrationStatus
- type MigrationSubState
- type MigrationSubStateDetails
- type MigrationsClient
- func (c MigrationsClient) Create(ctx context.Context, id MigrationId, input MigrationResource) (result CreateOperationResponse, err error)
- func (c MigrationsClient) Delete(ctx context.Context, id MigrationId) (result DeleteOperationResponse, err error)
- func (c MigrationsClient) Get(ctx context.Context, id MigrationId) (result GetOperationResponse, err error)
- func (c MigrationsClient) ListByTargetServer(ctx context.Context, id FlexibleServerId, ...) (result ListByTargetServerOperationResponse, err error)
- func (c MigrationsClient) ListByTargetServerComplete(ctx context.Context, id FlexibleServerId, ...) (ListByTargetServerCompleteResult, error)
- func (c MigrationsClient) ListByTargetServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ListByTargetServerCompleteResult, err error)
- func (c MigrationsClient) Update(ctx context.Context, id MigrationId, input MigrationResourceForPatch) (result UpdateOperationResponse, err error)
- type OverwriteDbsInTargetEnum
- type ServerSku
- type SkuTier
- type SourceType
- type SslMode
- type StartDataMigrationEnum
- type TriggerCutoverEnum
- type UpdateOperationResponse
- type ValidationDetails
- func (o *ValidationDetails) GetValidationEndTimeInUtcAsTime() (*time.Time, error)
- func (o *ValidationDetails) GetValidationStartTimeInUtcAsTime() (*time.Time, error)
- func (o *ValidationDetails) SetValidationEndTimeInUtcAsTime(input time.Time)
- func (o *ValidationDetails) SetValidationStartTimeInUtcAsTime(input time.Time)
- type ValidationMessage
- type ValidationState
- type ValidationSummaryItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCancelEnum ¶
func PossibleValuesForCancelEnum() []string
func PossibleValuesForLogicalReplicationOnSourceDbEnum ¶
func PossibleValuesForLogicalReplicationOnSourceDbEnum() []string
func PossibleValuesForMigrationDbState ¶
func PossibleValuesForMigrationDbState() []string
func PossibleValuesForMigrationListFilter ¶
func PossibleValuesForMigrationListFilter() []string
func PossibleValuesForMigrationMode ¶
func PossibleValuesForMigrationMode() []string
func PossibleValuesForMigrationOption ¶
func PossibleValuesForMigrationOption() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForMigrationSubState ¶
func PossibleValuesForMigrationSubState() []string
func PossibleValuesForOverwriteDbsInTargetEnum ¶
func PossibleValuesForOverwriteDbsInTargetEnum() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSourceType ¶
func PossibleValuesForSourceType() []string
func PossibleValuesForSslMode ¶
func PossibleValuesForSslMode() []string
func PossibleValuesForStartDataMigrationEnum ¶
func PossibleValuesForStartDataMigrationEnum() []string
func PossibleValuesForTriggerCutoverEnum ¶
func PossibleValuesForTriggerCutoverEnum() []string
func PossibleValuesForValidationState ¶
func PossibleValuesForValidationState() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
func ValidateMigrationID ¶
ValidateMigrationID checks that 'input' can be parsed as a Migration ID
Types ¶
type AdminCredentials ¶
type CancelEnum ¶
type CancelEnum string
const ( CancelEnumFalse CancelEnum = "False" CancelEnumTrue CancelEnum = "True" )
func (*CancelEnum) UnmarshalJSON ¶
func (s *CancelEnum) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MigrationResource }
type DbLevelValidationStatus ¶
type DbLevelValidationStatus struct { DatabaseName *string `json:"databaseName,omitempty"` EndedOn *string `json:"endedOn,omitempty"` StartedOn *string `json:"startedOn,omitempty"` Summary *[]ValidationSummaryItem `json:"summary,omitempty"` }
func (*DbLevelValidationStatus) GetEndedOnAsTime ¶
func (o *DbLevelValidationStatus) GetEndedOnAsTime() (*time.Time, error)
func (*DbLevelValidationStatus) GetStartedOnAsTime ¶
func (o *DbLevelValidationStatus) GetStartedOnAsTime() (*time.Time, error)
func (*DbLevelValidationStatus) SetEndedOnAsTime ¶
func (o *DbLevelValidationStatus) SetEndedOnAsTime(input time.Time)
func (*DbLevelValidationStatus) SetStartedOnAsTime ¶
func (o *DbLevelValidationStatus) SetStartedOnAsTime(input time.Time)
type DbMigrationStatus ¶
type DbMigrationStatus 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"` Latency *int64 `json:"latency,omitempty"` Message *string `json:"message,omitempty"` MigrationOperation *string `json:"migrationOperation,omitempty"` MigrationState *MigrationDbState `json:"migrationState,omitempty"` StartedOn *string `json:"startedOn,omitempty"` }
func (*DbMigrationStatus) GetEndedOnAsTime ¶
func (o *DbMigrationStatus) GetEndedOnAsTime() (*time.Time, error)
func (*DbMigrationStatus) GetStartedOnAsTime ¶
func (o *DbMigrationStatus) GetStartedOnAsTime() (*time.Time, error)
func (*DbMigrationStatus) SetEndedOnAsTime ¶
func (o *DbMigrationStatus) SetEndedOnAsTime(input time.Time)
func (*DbMigrationStatus) SetStartedOnAsTime ¶
func (o *DbMigrationStatus) SetStartedOnAsTime(input time.Time)
type DbServerMetadata ¶
type DeleteOperationResponse ¶
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (*FlexibleServerId) FromParseResult ¶
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MigrationResource }
type ListByTargetServerCompleteResult ¶
type ListByTargetServerCompleteResult struct { LatestHttpResponse *http.Response Items []MigrationResource }
type ListByTargetServerCustomPager ¶ added in v0.20240628.1153531
func (*ListByTargetServerCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByTargetServerCustomPager) NextPageLink() *odata.Link
type ListByTargetServerOperationOptions ¶
type ListByTargetServerOperationOptions struct {
MigrationListFilter *MigrationListFilter
}
func DefaultListByTargetServerOperationOptions ¶
func DefaultListByTargetServerOperationOptions() ListByTargetServerOperationOptions
func (ListByTargetServerOperationOptions) ToHeaders ¶
func (o ListByTargetServerOperationOptions) ToHeaders() *client.Headers
func (ListByTargetServerOperationOptions) ToOData ¶
func (o ListByTargetServerOperationOptions) ToOData() *odata.Query
func (ListByTargetServerOperationOptions) ToQuery ¶
func (o ListByTargetServerOperationOptions) ToQuery() *client.QueryParams
type ListByTargetServerOperationResponse ¶
type ListByTargetServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MigrationResource }
type LogicalReplicationOnSourceDbEnum ¶
type LogicalReplicationOnSourceDbEnum string
const ( LogicalReplicationOnSourceDbEnumFalse LogicalReplicationOnSourceDbEnum = "False" LogicalReplicationOnSourceDbEnumTrue LogicalReplicationOnSourceDbEnum = "True" )
func (*LogicalReplicationOnSourceDbEnum) UnmarshalJSON ¶
func (s *LogicalReplicationOnSourceDbEnum) UnmarshalJSON(bytes []byte) error
type MigrationDbState ¶
type MigrationDbState string
const ( MigrationDbStateCanceled MigrationDbState = "Canceled" MigrationDbStateCanceling MigrationDbState = "Canceling" MigrationDbStateFailed MigrationDbState = "Failed" MigrationDbStateInProgress MigrationDbState = "InProgress" MigrationDbStateSucceeded MigrationDbState = "Succeeded" MigrationDbStateWaitingForCutoverTrigger MigrationDbState = "WaitingForCutoverTrigger" )
func (*MigrationDbState) UnmarshalJSON ¶
func (s *MigrationDbState) UnmarshalJSON(bytes []byte) error
type MigrationId ¶
type MigrationId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string MigrationName string }
MigrationId is a struct representing the Resource ID for a Migration
func NewMigrationID ¶
func NewMigrationID(subscriptionId string, resourceGroupName string, flexibleServerName string, migrationName string) MigrationId
NewMigrationID returns a new MigrationId struct
func ParseMigrationID ¶
func ParseMigrationID(input string) (*MigrationId, error)
ParseMigrationID parses 'input' into a MigrationId
func ParseMigrationIDInsensitively ¶
func ParseMigrationIDInsensitively(input string) (*MigrationId, error)
ParseMigrationIDInsensitively parses 'input' case-insensitively into a MigrationId note: this method should only be used for API response data and not user input
func (*MigrationId) FromParseResult ¶
func (id *MigrationId) FromParseResult(input resourceids.ParseResult) error
func (MigrationId) Segments ¶
func (id MigrationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Migration ID
func (MigrationId) String ¶
func (id MigrationId) String() string
String returns a human-readable description of this Migration ID
type MigrationListFilter ¶
type MigrationListFilter string
const ( MigrationListFilterActive MigrationListFilter = "Active" MigrationListFilterAll MigrationListFilter = "All" )
func (*MigrationListFilter) UnmarshalJSON ¶
func (s *MigrationListFilter) UnmarshalJSON(bytes []byte) error
type MigrationMode ¶
type MigrationMode string
const ( MigrationModeOffline MigrationMode = "Offline" MigrationModeOnline MigrationMode = "Online" )
func (*MigrationMode) UnmarshalJSON ¶
func (s *MigrationMode) UnmarshalJSON(bytes []byte) error
type MigrationOption ¶
type MigrationOption string
const ( MigrationOptionMigrate MigrationOption = "Migrate" MigrationOptionValidate MigrationOption = "Validate" MigrationOptionValidateAndMigrate MigrationOption = "ValidateAndMigrate" )
func (*MigrationOption) UnmarshalJSON ¶
func (s *MigrationOption) UnmarshalJSON(bytes []byte) error
type MigrationResource ¶
type MigrationResource struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MigrationResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MigrationResourceForPatch ¶
type MigrationResourceForPatch struct { Properties *MigrationResourcePropertiesForPatch `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MigrationResourceOperationPredicate ¶
type MigrationResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (MigrationResourceOperationPredicate) Matches ¶
func (p MigrationResourceOperationPredicate) Matches(input MigrationResource) bool
type MigrationResourceProperties ¶
type MigrationResourceProperties struct { Cancel *CancelEnum `json:"cancel,omitempty"` CurrentStatus *MigrationStatus `json:"currentStatus,omitempty"` DbsToCancelMigrationOn *[]string `json:"dbsToCancelMigrationOn,omitempty"` DbsToMigrate *[]string `json:"dbsToMigrate,omitempty"` DbsToTriggerCutoverOn *[]string `json:"dbsToTriggerCutoverOn,omitempty"` MigrationId *string `json:"migrationId,omitempty"` MigrationMode *MigrationMode `json:"migrationMode,omitempty"` MigrationOption *MigrationOption `json:"migrationOption,omitempty"` MigrationWindowEndTimeInUtc *string `json:"migrationWindowEndTimeInUtc,omitempty"` MigrationWindowStartTimeInUtc *string `json:"migrationWindowStartTimeInUtc,omitempty"` OverwriteDbsInTarget *OverwriteDbsInTargetEnum `json:"overwriteDbsInTarget,omitempty"` SecretParameters *MigrationSecretParameters `json:"secretParameters,omitempty"` SetupLogicalReplicationOnSourceDbIfNeeded *LogicalReplicationOnSourceDbEnum `json:"setupLogicalReplicationOnSourceDbIfNeeded,omitempty"` SourceDbServerFullyQualifiedDomainName *string `json:"sourceDbServerFullyQualifiedDomainName,omitempty"` SourceDbServerMetadata *DbServerMetadata `json:"sourceDbServerMetadata,omitempty"` SourceDbServerResourceId *string `json:"sourceDbServerResourceId,omitempty"` SourceType *SourceType `json:"sourceType,omitempty"` SslMode *SslMode `json:"sslMode,omitempty"` StartDataMigration *StartDataMigrationEnum `json:"startDataMigration,omitempty"` TargetDbServerFullyQualifiedDomainName *string `json:"targetDbServerFullyQualifiedDomainName,omitempty"` TargetDbServerMetadata *DbServerMetadata `json:"targetDbServerMetadata,omitempty"` TargetDbServerResourceId *string `json:"targetDbServerResourceId,omitempty"` TriggerCutover *TriggerCutoverEnum `json:"triggerCutover,omitempty"` }
func (*MigrationResourceProperties) GetMigrationWindowEndTimeInUtcAsTime ¶
func (o *MigrationResourceProperties) GetMigrationWindowEndTimeInUtcAsTime() (*time.Time, error)
func (*MigrationResourceProperties) GetMigrationWindowStartTimeInUtcAsTime ¶
func (o *MigrationResourceProperties) GetMigrationWindowStartTimeInUtcAsTime() (*time.Time, error)
func (*MigrationResourceProperties) SetMigrationWindowEndTimeInUtcAsTime ¶
func (o *MigrationResourceProperties) SetMigrationWindowEndTimeInUtcAsTime(input time.Time)
func (*MigrationResourceProperties) SetMigrationWindowStartTimeInUtcAsTime ¶
func (o *MigrationResourceProperties) SetMigrationWindowStartTimeInUtcAsTime(input time.Time)
type MigrationResourcePropertiesForPatch ¶
type MigrationResourcePropertiesForPatch struct { Cancel *CancelEnum `json:"cancel,omitempty"` DbsToCancelMigrationOn *[]string `json:"dbsToCancelMigrationOn,omitempty"` DbsToMigrate *[]string `json:"dbsToMigrate,omitempty"` DbsToTriggerCutoverOn *[]string `json:"dbsToTriggerCutoverOn,omitempty"` MigrationMode *MigrationMode `json:"migrationMode,omitempty"` MigrationWindowStartTimeInUtc *string `json:"migrationWindowStartTimeInUtc,omitempty"` OverwriteDbsInTarget *OverwriteDbsInTargetEnum `json:"overwriteDbsInTarget,omitempty"` SecretParameters *MigrationSecretParameters `json:"secretParameters,omitempty"` SetupLogicalReplicationOnSourceDbIfNeeded *LogicalReplicationOnSourceDbEnum `json:"setupLogicalReplicationOnSourceDbIfNeeded,omitempty"` SourceDbServerFullyQualifiedDomainName *string `json:"sourceDbServerFullyQualifiedDomainName,omitempty"` SourceDbServerResourceId *string `json:"sourceDbServerResourceId,omitempty"` StartDataMigration *StartDataMigrationEnum `json:"startDataMigration,omitempty"` TargetDbServerFullyQualifiedDomainName *string `json:"targetDbServerFullyQualifiedDomainName,omitempty"` TriggerCutover *TriggerCutoverEnum `json:"triggerCutover,omitempty"` }
func (*MigrationResourcePropertiesForPatch) GetMigrationWindowStartTimeInUtcAsTime ¶
func (o *MigrationResourcePropertiesForPatch) GetMigrationWindowStartTimeInUtcAsTime() (*time.Time, error)
func (*MigrationResourcePropertiesForPatch) SetMigrationWindowStartTimeInUtcAsTime ¶
func (o *MigrationResourcePropertiesForPatch) SetMigrationWindowStartTimeInUtcAsTime(input time.Time)
type MigrationSecretParameters ¶
type MigrationSecretParameters struct { AdminCredentials AdminCredentials `json:"adminCredentials"` SourceServerUsername *string `json:"sourceServerUsername,omitempty"` TargetServerUsername *string `json:"targetServerUsername,omitempty"` }
type MigrationState ¶
type MigrationState string
const ( MigrationStateCanceled MigrationState = "Canceled" MigrationStateCleaningUp MigrationState = "CleaningUp" MigrationStateFailed MigrationState = "Failed" MigrationStateInProgress MigrationState = "InProgress" MigrationStateSucceeded MigrationState = "Succeeded" MigrationStateValidationFailed MigrationState = "ValidationFailed" MigrationStateWaitingForUserAction MigrationState = "WaitingForUserAction" )
func (*MigrationState) UnmarshalJSON ¶
func (s *MigrationState) UnmarshalJSON(bytes []byte) error
type MigrationStatus ¶
type MigrationStatus struct { CurrentSubStateDetails *MigrationSubStateDetails `json:"currentSubStateDetails,omitempty"` Error *string `json:"error,omitempty"` State *MigrationState `json:"state,omitempty"` }
type MigrationSubState ¶
type MigrationSubState string
const ( MigrationSubStateCancelingRequestedDBMigrations MigrationSubState = "CancelingRequestedDBMigrations" MigrationSubStateCompleted MigrationSubState = "Completed" MigrationSubStateCompletingMigration MigrationSubState = "CompletingMigration" MigrationSubStateMigratingData MigrationSubState = "MigratingData" MigrationSubStatePerformingPreRequisiteSteps MigrationSubState = "PerformingPreRequisiteSteps" MigrationSubStateValidationInProgress MigrationSubState = "ValidationInProgress" MigrationSubStateWaitingForCutoverTrigger MigrationSubState = "WaitingForCutoverTrigger" MigrationSubStateWaitingForDBsToMigrateSpecification MigrationSubState = "WaitingForDBsToMigrateSpecification" MigrationSubStateWaitingForDataMigrationScheduling MigrationSubState = "WaitingForDataMigrationScheduling" MigrationSubStateWaitingForDataMigrationWindow MigrationSubState = "WaitingForDataMigrationWindow" MigrationSubStateWaitingForLogicalReplicationSetupRequestOnSourceDB MigrationSubState = "WaitingForLogicalReplicationSetupRequestOnSourceDB" MigrationSubStateWaitingForTargetDBOverwriteConfirmation MigrationSubState = "WaitingForTargetDBOverwriteConfirmation" )
func (*MigrationSubState) UnmarshalJSON ¶
func (s *MigrationSubState) UnmarshalJSON(bytes []byte) error
type MigrationSubStateDetails ¶
type MigrationSubStateDetails struct { CurrentSubState *MigrationSubState `json:"currentSubState,omitempty"` DbDetails *map[string]DbMigrationStatus `json:"dbDetails,omitempty"` ValidationDetails *ValidationDetails `json:"validationDetails,omitempty"` }
type MigrationsClient ¶
type MigrationsClient struct {
Client *resourcemanager.Client
}
func NewMigrationsClientWithBaseURI ¶
func NewMigrationsClientWithBaseURI(sdkApi sdkEnv.Api) (*MigrationsClient, error)
func (MigrationsClient) Create ¶
func (c MigrationsClient) Create(ctx context.Context, id MigrationId, input MigrationResource) (result CreateOperationResponse, err error)
Create ...
func (MigrationsClient) Delete ¶
func (c MigrationsClient) Delete(ctx context.Context, id MigrationId) (result DeleteOperationResponse, err error)
Delete ...
func (MigrationsClient) Get ¶
func (c MigrationsClient) Get(ctx context.Context, id MigrationId) (result GetOperationResponse, err error)
Get ...
func (MigrationsClient) ListByTargetServer ¶
func (c MigrationsClient) ListByTargetServer(ctx context.Context, id FlexibleServerId, options ListByTargetServerOperationOptions) (result ListByTargetServerOperationResponse, err error)
ListByTargetServer ...
func (MigrationsClient) ListByTargetServerComplete ¶
func (c MigrationsClient) ListByTargetServerComplete(ctx context.Context, id FlexibleServerId, options ListByTargetServerOperationOptions) (ListByTargetServerCompleteResult, error)
ListByTargetServerComplete retrieves all the results into a single object
func (MigrationsClient) ListByTargetServerCompleteMatchingPredicate ¶
func (c MigrationsClient) ListByTargetServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, options ListByTargetServerOperationOptions, predicate MigrationResourceOperationPredicate) (result ListByTargetServerCompleteResult, err error)
ListByTargetServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MigrationsClient) Update ¶
func (c MigrationsClient) Update(ctx context.Context, id MigrationId, input MigrationResourceForPatch) (result UpdateOperationResponse, err error)
Update ...
type OverwriteDbsInTargetEnum ¶
type OverwriteDbsInTargetEnum string
const ( OverwriteDbsInTargetEnumFalse OverwriteDbsInTargetEnum = "False" OverwriteDbsInTargetEnumTrue OverwriteDbsInTargetEnum = "True" )
func (*OverwriteDbsInTargetEnum) UnmarshalJSON ¶
func (s *OverwriteDbsInTargetEnum) UnmarshalJSON(bytes []byte) error
type SourceType ¶
type SourceType string
const ( SourceTypeAWS SourceType = "AWS" SourceTypeAzureVM SourceType = "AzureVM" SourceTypeGCP SourceType = "GCP" SourceTypeOnPremises SourceType = "OnPremises" SourceTypePostgreSQLSingleServer SourceType = "PostgreSQLSingleServer" )
func (*SourceType) UnmarshalJSON ¶
func (s *SourceType) UnmarshalJSON(bytes []byte) error
type StartDataMigrationEnum ¶
type StartDataMigrationEnum string
const ( StartDataMigrationEnumFalse StartDataMigrationEnum = "False" StartDataMigrationEnumTrue StartDataMigrationEnum = "True" )
func (*StartDataMigrationEnum) UnmarshalJSON ¶
func (s *StartDataMigrationEnum) UnmarshalJSON(bytes []byte) error
type TriggerCutoverEnum ¶
type TriggerCutoverEnum string
const ( TriggerCutoverEnumFalse TriggerCutoverEnum = "False" TriggerCutoverEnumTrue TriggerCutoverEnum = "True" )
func (*TriggerCutoverEnum) UnmarshalJSON ¶
func (s *TriggerCutoverEnum) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MigrationResource }
type ValidationDetails ¶
type ValidationDetails struct { DbLevelValidationDetails *[]DbLevelValidationStatus `json:"dbLevelValidationDetails,omitempty"` ServerLevelValidationDetails *[]ValidationSummaryItem `json:"serverLevelValidationDetails,omitempty"` Status *ValidationState `json:"status,omitempty"` ValidationEndTimeInUtc *string `json:"validationEndTimeInUtc,omitempty"` ValidationStartTimeInUtc *string `json:"validationStartTimeInUtc,omitempty"` }
func (*ValidationDetails) GetValidationEndTimeInUtcAsTime ¶
func (o *ValidationDetails) GetValidationEndTimeInUtcAsTime() (*time.Time, error)
func (*ValidationDetails) GetValidationStartTimeInUtcAsTime ¶
func (o *ValidationDetails) GetValidationStartTimeInUtcAsTime() (*time.Time, error)
func (*ValidationDetails) SetValidationEndTimeInUtcAsTime ¶
func (o *ValidationDetails) SetValidationEndTimeInUtcAsTime(input time.Time)
func (*ValidationDetails) SetValidationStartTimeInUtcAsTime ¶
func (o *ValidationDetails) SetValidationStartTimeInUtcAsTime(input time.Time)
type ValidationMessage ¶
type ValidationMessage struct { Message *string `json:"message,omitempty"` State *ValidationState `json:"state,omitempty"` }
type ValidationState ¶
type ValidationState string
const ( ValidationStateFailed ValidationState = "Failed" ValidationStateSucceeded ValidationState = "Succeeded" ValidationStateWarning ValidationState = "Warning" )
func (*ValidationState) UnmarshalJSON ¶
func (s *ValidationState) UnmarshalJSON(bytes []byte) error
type ValidationSummaryItem ¶
type ValidationSummaryItem struct { Messages *[]ValidationMessage `json:"messages,omitempty"` State *ValidationState `json:"state,omitempty"` Type *string `json:"type,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_flexibleserver.go
- id_migration.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbytargetserver.go
- method_update.go
- model_admincredentials.go
- model_dblevelvalidationstatus.go
- model_dbmigrationstatus.go
- model_dbservermetadata.go
- model_migrationresource.go
- model_migrationresourceforpatch.go
- model_migrationresourceproperties.go
- model_migrationresourcepropertiesforpatch.go
- model_migrationsecretparameters.go
- model_migrationstatus.go
- model_migrationsubstatedetails.go
- model_serversku.go
- model_validationdetails.go
- model_validationmessage.go
- model_validationsummaryitem.go
- predicates.go
- version.go