dts

package
v1.63.49 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.707

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.707

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.707

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.707

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type CheckItem added in v1.61.707

type CheckItem struct {
	CheckStatus  string `json:"CheckStatus" xml:"CheckStatus"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
	ItemName     string `json:"ItemName" xml:"ItemName"`
	RepairMethod string `json:"RepairMethod" xml:"RepairMethod"`
}

CheckItem is a nested struct in dts response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider added in v1.61.79

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy added in v1.61.79

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) ConfigureMigrationJob

func (client *Client) ConfigureMigrationJob(request *ConfigureMigrationJobRequest) (response *ConfigureMigrationJobResponse, err error)

ConfigureMigrationJob invokes the dts.ConfigureMigrationJob API synchronously

func (*Client) ConfigureMigrationJobWithCallback

func (client *Client) ConfigureMigrationJobWithCallback(request *ConfigureMigrationJobRequest, callback func(response *ConfigureMigrationJobResponse, err error)) <-chan int

ConfigureMigrationJobWithCallback invokes the dts.ConfigureMigrationJob API asynchronously

func (*Client) ConfigureMigrationJobWithChan

func (client *Client) ConfigureMigrationJobWithChan(request *ConfigureMigrationJobRequest) (<-chan *ConfigureMigrationJobResponse, <-chan error)

ConfigureMigrationJobWithChan invokes the dts.ConfigureMigrationJob API asynchronously

func (*Client) CreateMigrationJob

func (client *Client) CreateMigrationJob(request *CreateMigrationJobRequest) (response *CreateMigrationJobResponse, err error)

CreateMigrationJob invokes the dts.CreateMigrationJob API synchronously

func (*Client) CreateMigrationJobWithCallback

func (client *Client) CreateMigrationJobWithCallback(request *CreateMigrationJobRequest, callback func(response *CreateMigrationJobResponse, err error)) <-chan int

CreateMigrationJobWithCallback invokes the dts.CreateMigrationJob API asynchronously

func (*Client) CreateMigrationJobWithChan

func (client *Client) CreateMigrationJobWithChan(request *CreateMigrationJobRequest) (<-chan *CreateMigrationJobResponse, <-chan error)

CreateMigrationJobWithChan invokes the dts.CreateMigrationJob API asynchronously

func (*Client) DeleteMigrationJob

func (client *Client) DeleteMigrationJob(request *DeleteMigrationJobRequest) (response *DeleteMigrationJobResponse, err error)

DeleteMigrationJob invokes the dts.DeleteMigrationJob API synchronously

func (*Client) DeleteMigrationJobWithCallback

func (client *Client) DeleteMigrationJobWithCallback(request *DeleteMigrationJobRequest, callback func(response *DeleteMigrationJobResponse, err error)) <-chan int

DeleteMigrationJobWithCallback invokes the dts.DeleteMigrationJob API asynchronously

func (*Client) DeleteMigrationJobWithChan

func (client *Client) DeleteMigrationJobWithChan(request *DeleteMigrationJobRequest) (<-chan *DeleteMigrationJobResponse, <-chan error)

DeleteMigrationJobWithChan invokes the dts.DeleteMigrationJob API asynchronously

func (*Client) DescirbeMigrationJobs added in v1.62.482

func (client *Client) DescirbeMigrationJobs(request *DescirbeMigrationJobsRequest) (response *DescirbeMigrationJobsResponse, err error)

DescirbeMigrationJobs invokes the dts.DescirbeMigrationJobs API synchronously

func (*Client) DescirbeMigrationJobsWithCallback added in v1.62.482

func (client *Client) DescirbeMigrationJobsWithCallback(request *DescirbeMigrationJobsRequest, callback func(response *DescirbeMigrationJobsResponse, err error)) <-chan int

DescirbeMigrationJobsWithCallback invokes the dts.DescirbeMigrationJobs API asynchronously

func (*Client) DescirbeMigrationJobsWithChan added in v1.62.482

func (client *Client) DescirbeMigrationJobsWithChan(request *DescirbeMigrationJobsRequest) (<-chan *DescirbeMigrationJobsResponse, <-chan error)

DescirbeMigrationJobsWithChan invokes the dts.DescirbeMigrationJobs API asynchronously

func (*Client) DescribeMigrationJobDetail

func (client *Client) DescribeMigrationJobDetail(request *DescribeMigrationJobDetailRequest) (response *DescribeMigrationJobDetailResponse, err error)

DescribeMigrationJobDetail invokes the dts.DescribeMigrationJobDetail API synchronously

func (*Client) DescribeMigrationJobDetailWithCallback

func (client *Client) DescribeMigrationJobDetailWithCallback(request *DescribeMigrationJobDetailRequest, callback func(response *DescribeMigrationJobDetailResponse, err error)) <-chan int

DescribeMigrationJobDetailWithCallback invokes the dts.DescribeMigrationJobDetail API asynchronously

func (*Client) DescribeMigrationJobDetailWithChan

func (client *Client) DescribeMigrationJobDetailWithChan(request *DescribeMigrationJobDetailRequest) (<-chan *DescribeMigrationJobDetailResponse, <-chan error)

DescribeMigrationJobDetailWithChan invokes the dts.DescribeMigrationJobDetail API asynchronously

func (*Client) DescribeMigrationJobStatus

func (client *Client) DescribeMigrationJobStatus(request *DescribeMigrationJobStatusRequest) (response *DescribeMigrationJobStatusResponse, err error)

DescribeMigrationJobStatus invokes the dts.DescribeMigrationJobStatus API synchronously

func (*Client) DescribeMigrationJobStatusWithCallback

func (client *Client) DescribeMigrationJobStatusWithCallback(request *DescribeMigrationJobStatusRequest, callback func(response *DescribeMigrationJobStatusResponse, err error)) <-chan int

DescribeMigrationJobStatusWithCallback invokes the dts.DescribeMigrationJobStatus API asynchronously

func (*Client) DescribeMigrationJobStatusWithChan

func (client *Client) DescribeMigrationJobStatusWithChan(request *DescribeMigrationJobStatusRequest) (<-chan *DescribeMigrationJobStatusResponse, <-chan error)

DescribeMigrationJobStatusWithChan invokes the dts.DescribeMigrationJobStatus API asynchronously

func (*Client) ModifyMigrationObject

func (client *Client) ModifyMigrationObject(request *ModifyMigrationObjectRequest) (response *ModifyMigrationObjectResponse, err error)

ModifyMigrationObject invokes the dts.ModifyMigrationObject API synchronously

func (*Client) ModifyMigrationObjectWithCallback

func (client *Client) ModifyMigrationObjectWithCallback(request *ModifyMigrationObjectRequest, callback func(response *ModifyMigrationObjectResponse, err error)) <-chan int

ModifyMigrationObjectWithCallback invokes the dts.ModifyMigrationObject API asynchronously

func (*Client) ModifyMigrationObjectWithChan

func (client *Client) ModifyMigrationObjectWithChan(request *ModifyMigrationObjectRequest) (<-chan *ModifyMigrationObjectResponse, <-chan error)

ModifyMigrationObjectWithChan invokes the dts.ModifyMigrationObject API asynchronously

func (*Client) StartMigrationJob

func (client *Client) StartMigrationJob(request *StartMigrationJobRequest) (response *StartMigrationJobResponse, err error)

StartMigrationJob invokes the dts.StartMigrationJob API synchronously

func (*Client) StartMigrationJobWithCallback

func (client *Client) StartMigrationJobWithCallback(request *StartMigrationJobRequest, callback func(response *StartMigrationJobResponse, err error)) <-chan int

StartMigrationJobWithCallback invokes the dts.StartMigrationJob API asynchronously

func (*Client) StartMigrationJobWithChan

func (client *Client) StartMigrationJobWithChan(request *StartMigrationJobRequest) (<-chan *StartMigrationJobResponse, <-chan error)

StartMigrationJobWithChan invokes the dts.StartMigrationJob API asynchronously

func (*Client) StopMigrationJob

func (client *Client) StopMigrationJob(request *StopMigrationJobRequest) (response *StopMigrationJobResponse, err error)

StopMigrationJob invokes the dts.StopMigrationJob API synchronously

func (*Client) StopMigrationJobWithCallback

func (client *Client) StopMigrationJobWithCallback(request *StopMigrationJobRequest, callback func(response *StopMigrationJobResponse, err error)) <-chan int

StopMigrationJobWithCallback invokes the dts.StopMigrationJob API asynchronously

func (*Client) StopMigrationJobWithChan

func (client *Client) StopMigrationJobWithChan(request *StopMigrationJobRequest) (<-chan *StopMigrationJobResponse, <-chan error)

StopMigrationJobWithChan invokes the dts.StopMigrationJob API asynchronously

func (*Client) SuspendMigrationJob

func (client *Client) SuspendMigrationJob(request *SuspendMigrationJobRequest) (response *SuspendMigrationJobResponse, err error)

SuspendMigrationJob invokes the dts.SuspendMigrationJob API synchronously

func (*Client) SuspendMigrationJobWithCallback

func (client *Client) SuspendMigrationJobWithCallback(request *SuspendMigrationJobRequest, callback func(response *SuspendMigrationJobResponse, err error)) <-chan int

SuspendMigrationJobWithCallback invokes the dts.SuspendMigrationJob API asynchronously

func (*Client) SuspendMigrationJobWithChan

func (client *Client) SuspendMigrationJobWithChan(request *SuspendMigrationJobRequest) (<-chan *SuspendMigrationJobResponse, <-chan error)

SuspendMigrationJobWithChan invokes the dts.SuspendMigrationJob API asynchronously

type ConfigureMigrationJobRequest

type ConfigureMigrationJobRequest struct {
	*requests.RpcRequest
	SourceEndpointInstanceID            string           `position:"Query" name:"SourceEndpoint.InstanceID"`
	SourceEndpointEngineName            string           `position:"Query" name:"SourceEndpoint.EngineName"`
	SourceEndpointOracleSID             string           `position:"Query" name:"SourceEndpoint.OracleSID"`
	DestinationEndpointInstanceID       string           `position:"Query" name:"DestinationEndpoint.InstanceID"`
	SourceEndpointIP                    string           `position:"Query" name:"SourceEndpoint.IP"`
	DestinationEndpointPassword         string           `position:"Query" name:"DestinationEndpoint.Password"`
	MigrationObject                     string           `position:"Query" name:"MigrationObject"`
	MigrationModeDataIntialization      requests.Boolean `position:"Query" name:"MigrationMode.DataIntialization"`
	MigrationJobId                      string           `position:"Query" name:"MigrationJobId"`
	SourceEndpointInstanceType          string           `position:"Query" name:"SourceEndpoint.InstanceType"`
	DestinationEndpointEngineName       string           `position:"Query" name:"DestinationEndpoint.EngineName"`
	MigrationModeStructureIntialization requests.Boolean `position:"Query" name:"MigrationMode.StructureIntialization"`
	MigrationModeDataSynchronization    requests.Boolean `position:"Query" name:"MigrationMode.DataSynchronization"`
	DestinationEndpointRegion           string           `position:"Query" name:"DestinationEndpoint.Region"`
	SourceEndpointUserName              string           `position:"Query" name:"SourceEndpoint.UserName"`
	SourceEndpointDatabaseName          string           `position:"Query" name:"SourceEndpoint.DatabaseName"`
	SourceEndpointPort                  string           `position:"Query" name:"SourceEndpoint.Port"`
	SourceEndpointOwnerID               string           `position:"Query" name:"SourceEndpoint.OwnerID"`
	DestinationEndpointUserName         string           `position:"Query" name:"DestinationEndpoint.UserName"`
	DestinationEndpointPort             string           `position:"Query" name:"DestinationEndpoint.Port"`
	SourceEndpointRegion                string           `position:"Query" name:"SourceEndpoint.Region"`
	SourceEndpointRole                  string           `position:"Query" name:"SourceEndpoint.Role"`
	DestinationEndpointDataBaseName     string           `position:"Query" name:"DestinationEndpoint.DataBaseName"`
	SourceEndpointPassword              string           `position:"Query" name:"SourceEndpoint.Password"`
	MigrationReserved                   string           `position:"Query" name:"MigrationReserved"`
	DestinationEndpointIP               string           `position:"Query" name:"DestinationEndpoint.IP"`
	MigrationJobName                    string           `position:"Query" name:"MigrationJobName"`
	DestinationEndpointInstanceType     string           `position:"Query" name:"DestinationEndpoint.InstanceType"`
}

ConfigureMigrationJobRequest is the request struct for api ConfigureMigrationJob

func CreateConfigureMigrationJobRequest

func CreateConfigureMigrationJobRequest() (request *ConfigureMigrationJobRequest)

CreateConfigureMigrationJobRequest creates a request to invoke ConfigureMigrationJob API

type ConfigureMigrationJobResponse

type ConfigureMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

ConfigureMigrationJobResponse is the response struct for api ConfigureMigrationJob

func CreateConfigureMigrationJobResponse

func CreateConfigureMigrationJobResponse() (response *ConfigureMigrationJobResponse)

CreateConfigureMigrationJobResponse creates a response to parse from ConfigureMigrationJob response

type ConstraintList added in v1.61.707

type ConstraintList struct {
	StructureInitializationDetail []StructureInitializationDetail `json:"StructureInitializationDetail" xml:"StructureInitializationDetail"`
}

ConstraintList is a nested struct in dts response

type CreateMigrationJobRequest

type CreateMigrationJobRequest struct {
	*requests.RpcRequest
	ClientToken       string `position:"Query" name:"ClientToken"`
	Region            string `position:"Query" name:"Region"`
	MigrationJobClass string `position:"Query" name:"MigrationJobClass"`
	OwnerId           string `position:"Query" name:"OwnerId"`
}

CreateMigrationJobRequest is the request struct for api CreateMigrationJob

func CreateCreateMigrationJobRequest

func CreateCreateMigrationJobRequest() (request *CreateMigrationJobRequest)

CreateCreateMigrationJobRequest creates a request to invoke CreateMigrationJob API

type CreateMigrationJobResponse

type CreateMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	MigrationJobId string `json:"MigrationJobId" xml:"MigrationJobId"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	Success        string `json:"Success" xml:"Success"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
}

CreateMigrationJobResponse is the response struct for api CreateMigrationJob

func CreateCreateMigrationJobResponse

func CreateCreateMigrationJobResponse() (response *CreateMigrationJobResponse)

CreateCreateMigrationJobResponse creates a response to parse from CreateMigrationJob response

type DataInitialization added in v1.61.707

type DataInitialization struct {
	Percent      string `json:"Percent" xml:"Percent"`
	Progress     string `json:"Progress" xml:"Progress"`
	Status       string `json:"status" xml:"status"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

DataInitialization is a nested struct in dts response

type DataInitializationDetail added in v1.61.707

type DataInitializationDetail struct {
	SourceOwnerDBName      string `json:"SourceOwnerDBName" xml:"SourceOwnerDBName"`
	Status                 string `json:"Status" xml:"Status"`
	TableName              string `json:"TableName" xml:"TableName"`
	FinishRowNum           string `json:"FinishRowNum" xml:"FinishRowNum"`
	ErrorMessage           string `json:"ErrorMessage" xml:"ErrorMessage"`
	MigrationTime          string `json:"MigrationTime" xml:"MigrationTime"`
	DestinationOwnerDBName string `json:"DestinationOwnerDBName" xml:"DestinationOwnerDBName"`
	TotalRowNum            string `json:"TotalRowNum" xml:"TotalRowNum"`
}

DataInitializationDetail is a nested struct in dts response

type DataInitializationDetailList added in v1.61.707

type DataInitializationDetailList struct {
	DataInitializationDetail []DataInitializationDetail `json:"DataInitializationDetail" xml:"DataInitializationDetail"`
}

DataInitializationDetailList is a nested struct in dts response

type DataInitializationStatus added in v1.61.707

type DataInitializationStatus struct {
	Status       string `json:"Status" xml:"Status"`
	Percent      string `json:"Percent" xml:"Percent"`
	Progress     string `json:"Progress" xml:"Progress"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

DataInitializationStatus is a nested struct in dts response

type DataSynchronization added in v1.61.707

type DataSynchronization struct {
	Delay        string `json:"Delay" xml:"Delay"`
	Percent      string `json:"Percent" xml:"Percent"`
	Status       string `json:"status" xml:"status"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

DataSynchronization is a nested struct in dts response

type DataSynchronizationDetail added in v1.61.707

type DataSynchronizationDetail struct {
	Status                 string `json:"Status" xml:"Status"`
	SourceOwnerDBName      string `json:"SourceOwnerDBName" xml:"SourceOwnerDBName"`
	TableName              string `json:"TableName" xml:"TableName"`
	ErrorMessage           string `json:"ErrorMessage" xml:"ErrorMessage"`
	DestinationOwnerDBName string `json:"DestinationOwnerDBName" xml:"DestinationOwnerDBName"`
}

DataSynchronizationDetail is a nested struct in dts response

type DataSynchronizationDetailList added in v1.61.707

type DataSynchronizationDetailList struct {
	DataSynchronizationDetail []DataSynchronizationDetail `json:"DataSynchronizationDetail" xml:"DataSynchronizationDetail"`
}

DataSynchronizationDetailList is a nested struct in dts response

type DataSynchronizationStatus added in v1.61.707

type DataSynchronizationStatus struct {
	Status       string `json:"Status" xml:"Status"`
	Delay        string `json:"Delay" xml:"Delay"`
	Percent      string `json:"Percent" xml:"Percent"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

DataSynchronizationStatus is a nested struct in dts response

type DeleteMigrationJobRequest

type DeleteMigrationJobRequest struct {
	*requests.RpcRequest
	MigrationJobId string `position:"Query" name:"MigrationJobId"`
}

DeleteMigrationJobRequest is the request struct for api DeleteMigrationJob

func CreateDeleteMigrationJobRequest

func CreateDeleteMigrationJobRequest() (request *DeleteMigrationJobRequest)

CreateDeleteMigrationJobRequest creates a request to invoke DeleteMigrationJob API

type DeleteMigrationJobResponse

type DeleteMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

DeleteMigrationJobResponse is the response struct for api DeleteMigrationJob

func CreateDeleteMigrationJobResponse

func CreateDeleteMigrationJobResponse() (response *DeleteMigrationJobResponse)

CreateDeleteMigrationJobResponse creates a response to parse from DeleteMigrationJob response

type DescirbeMigrationJobsRequest added in v1.62.482

type DescirbeMigrationJobsRequest struct {
	*requests.RpcRequest
	PageSize         requests.Integer `position:"Query" name:"PageSize"`
	MigrationJobName string           `position:"Query" name:"MigrationJobName"`
	PageNum          requests.Integer `position:"Query" name:"PageNum"`
}

DescirbeMigrationJobsRequest is the request struct for api DescirbeMigrationJobs

func CreateDescirbeMigrationJobsRequest added in v1.62.482

func CreateDescirbeMigrationJobsRequest() (request *DescirbeMigrationJobsRequest)

CreateDescirbeMigrationJobsRequest creates a request to invoke DescirbeMigrationJobs API

type DescirbeMigrationJobsResponse added in v1.62.482

type DescirbeMigrationJobsResponse struct {
	*responses.BaseResponse
	PageNumber       int           `json:"PageNumber" xml:"PageNumber"`
	PageRecordCount  int           `json:"PageRecordCount" xml:"PageRecordCount"`
	TotalRecordCount int64         `json:"TotalRecordCount" xml:"TotalRecordCount"`
	MigrationJobs    MigrationJobs `json:"MigrationJobs" xml:"MigrationJobs"`
}

DescirbeMigrationJobsResponse is the response struct for api DescirbeMigrationJobs

func CreateDescirbeMigrationJobsResponse added in v1.62.482

func CreateDescirbeMigrationJobsResponse() (response *DescirbeMigrationJobsResponse)

CreateDescirbeMigrationJobsResponse creates a response to parse from DescirbeMigrationJobs response

type DescribeMigrationJobDetailRequest

type DescribeMigrationJobDetailRequest struct {
	*requests.RpcRequest
	ClientToken                          string           `position:"Query" name:"ClientToken"`
	MigrationModeDataInitialization      requests.Boolean `position:"Query" name:"MigrationMode.DataInitialization"`
	MigrationJobId                       string           `position:"Query" name:"MigrationJobId"`
	PageNum                              requests.Integer `position:"Query" name:"PageNum"`
	MigrationModeStructureInitialization requests.Boolean `position:"Query" name:"MigrationMode.StructureInitialization"`
	MigrationModeDataSynchronization     requests.Boolean `position:"Query" name:"MigrationMode.DataSynchronization"`
	PageSize                             requests.Integer `position:"Query" name:"PageSize"`
}

DescribeMigrationJobDetailRequest is the request struct for api DescribeMigrationJobDetail

func CreateDescribeMigrationJobDetailRequest

func CreateDescribeMigrationJobDetailRequest() (request *DescribeMigrationJobDetailRequest)

CreateDescribeMigrationJobDetailRequest creates a request to invoke DescribeMigrationJobDetail API

type DescribeMigrationJobDetailResponse

type DescribeMigrationJobDetailResponse struct {
	*responses.BaseResponse
	PageNumber                        int                               `json:"PageNumber" xml:"PageNumber"`
	PageRecordCount                   int                               `json:"PageRecordCount" xml:"PageRecordCount"`
	TotalRecordCount                  int64                             `json:"TotalRecordCount" xml:"TotalRecordCount"`
	StructureInitializationDetailList StructureInitializationDetailList `json:"StructureInitializationDetailList" xml:"StructureInitializationDetailList"`
	DataInitializationDetailList      DataInitializationDetailList      `json:"DataInitializationDetailList" xml:"DataInitializationDetailList"`
	DataSynchronizationDetailList     DataSynchronizationDetailList     `json:"DataSynchronizationDetailList" xml:"DataSynchronizationDetailList"`
}

DescribeMigrationJobDetailResponse is the response struct for api DescribeMigrationJobDetail

func CreateDescribeMigrationJobDetailResponse

func CreateDescribeMigrationJobDetailResponse() (response *DescribeMigrationJobDetailResponse)

CreateDescribeMigrationJobDetailResponse creates a response to parse from DescribeMigrationJobDetail response

type DescribeMigrationJobStatusRequest

type DescribeMigrationJobStatusRequest struct {
	*requests.RpcRequest
	ClientToken    string `position:"Query" name:"ClientToken"`
	MigrationJobId string `position:"Query" name:"MigrationJobId"`
}

DescribeMigrationJobStatusRequest is the request struct for api DescribeMigrationJobStatus

func CreateDescribeMigrationJobStatusRequest

func CreateDescribeMigrationJobStatusRequest() (request *DescribeMigrationJobStatusRequest)

CreateDescribeMigrationJobStatusRequest creates a request to invoke DescribeMigrationJobStatus API

type DescribeMigrationJobStatusResponse

type DescribeMigrationJobStatusResponse struct {
	*responses.BaseResponse
	MigrationJobName              string                        `json:"MigrationJobName" xml:"MigrationJobName"`
	MigrationJobStatus            string                        `json:"MigrationJobStatus" xml:"MigrationJobStatus"`
	PayType                       string                        `json:"PayType" xml:"PayType"`
	MigrationJobId                string                        `json:"MigrationJobId" xml:"MigrationJobId"`
	MigrationObject               string                        `json:"MigrationObject" xml:"MigrationObject"`
	MigrationJobClass             string                        `json:"MigrationJobClass" xml:"MigrationJobClass"`
	SourceEndpoint                SourceEndpoint                `json:"SourceEndpoint" xml:"SourceEndpoint"`
	DestinationEndpoint           DestinationEndpoint           `json:"DestinationEndpoint" xml:"DestinationEndpoint"`
	MigrationMode                 MigrationMode                 `json:"MigrationMode" xml:"MigrationMode"`
	PrecheckStatus                PrecheckStatus                `json:"PrecheckStatus" xml:"PrecheckStatus"`
	StructureInitializationStatus StructureInitializationStatus `json:"StructureInitializationStatus" xml:"StructureInitializationStatus"`
	DataInitializationStatus      DataInitializationStatus      `json:"DataInitializationStatus" xml:"DataInitializationStatus"`
	DataSynchronizationStatus     DataSynchronizationStatus     `json:"DataSynchronizationStatus" xml:"DataSynchronizationStatus"`
}

DescribeMigrationJobStatusResponse is the response struct for api DescribeMigrationJobStatus

func CreateDescribeMigrationJobStatusResponse

func CreateDescribeMigrationJobStatusResponse() (response *DescribeMigrationJobStatusResponse)

CreateDescribeMigrationJobStatusResponse creates a response to parse from DescribeMigrationJobStatus response

type DestinationEndpoint added in v1.61.707

type DestinationEndpoint struct {
	EngineName   string `json:"EngineName" xml:"EngineName"`
	Port         string `json:"Port" xml:"Port"`
	InstanceID   string `json:"InstanceID" xml:"InstanceID"`
	IP           string `json:"IP" xml:"IP"`
	InstanceId   string `json:"InstanceId" xml:"InstanceId"`
	OracleSID    string `json:"OracleSID" xml:"OracleSID"`
	UserName     string `json:"UserName" xml:"UserName"`
	InstanceType string `json:"InstanceType" xml:"InstanceType"`
	DatabaseName string `json:"DatabaseName" xml:"DatabaseName"`
}

DestinationEndpoint is a nested struct in dts response

type Detail added in v1.62.483

type Detail struct {
	CheckItem []CheckItem `json:"CheckItem" xml:"CheckItem"`
}

Detail is a nested struct in dts response

type MigrationJob added in v1.61.707

type MigrationJob struct {
	MigrationJobName        string                  `json:"MigrationJobName" xml:"MigrationJobName"`
	MigrationJobStatus      string                  `json:"MigrationJobStatus" xml:"MigrationJobStatus"`
	MigrationJobClass       string                  `json:"MigrationJobClass" xml:"MigrationJobClass"`
	MigrationJobID          string                  `json:"MigrationJobID" xml:"MigrationJobID"`
	PayType                 string                  `json:"PayType" xml:"PayType"`
	SourceEndpoint          SourceEndpoint          `json:"SourceEndpoint" xml:"SourceEndpoint"`
	DestinationEndpoint     DestinationEndpoint     `json:"DestinationEndpoint" xml:"DestinationEndpoint"`
	MigrationMode           MigrationMode           `json:"MigrationMode" xml:"MigrationMode"`
	Precheck                Precheck                `json:"Precheck" xml:"Precheck"`
	StructureInitialization StructureInitialization `json:"StructureInitialization" xml:"StructureInitialization"`
	DataInitialization      DataInitialization      `json:"DataInitialization" xml:"DataInitialization"`
	DataSynchronization     DataSynchronization     `json:"DataSynchronization" xml:"DataSynchronization"`
	MigrationObject         MigrationObject         `json:"MigrationObject" xml:"MigrationObject"`
}

MigrationJob is a nested struct in dts response

type MigrationJobs added in v1.61.707

type MigrationJobs struct {
	MigrationJob []MigrationJob `json:"MigrationJob" xml:"MigrationJob"`
}

MigrationJobs is a nested struct in dts response

type MigrationMode added in v1.61.707

type MigrationMode struct {
	DataInitialization      bool `json:"dataInitialization" xml:"dataInitialization"`
	StructureInitialization bool `json:"StructureInitialization" xml:"StructureInitialization"`
	DataSynchronization     bool `json:"dataSynchronization" xml:"dataSynchronization"`
}

MigrationMode is a nested struct in dts response

type MigrationObject added in v1.61.707

type MigrationObject struct {
	SynchronousObject []SynchronousObject `json:"SynchronousObject" xml:"SynchronousObject"`
}

MigrationObject is a nested struct in dts response

type ModifyMigrationObjectRequest

type ModifyMigrationObjectRequest struct {
	*requests.RpcRequest
	MigrationObject string `position:"Query" name:"MigrationObject"`
	ClientToken     string `position:"Query" name:"ClientToken"`
	MigrationJobId  string `position:"Query" name:"MigrationJobId"`
}

ModifyMigrationObjectRequest is the request struct for api ModifyMigrationObject

func CreateModifyMigrationObjectRequest

func CreateModifyMigrationObjectRequest() (request *ModifyMigrationObjectRequest)

CreateModifyMigrationObjectRequest creates a request to invoke ModifyMigrationObject API

type ModifyMigrationObjectResponse

type ModifyMigrationObjectResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

ModifyMigrationObjectResponse is the response struct for api ModifyMigrationObject

func CreateModifyMigrationObjectResponse

func CreateModifyMigrationObjectResponse() (response *ModifyMigrationObjectResponse)

CreateModifyMigrationObjectResponse creates a response to parse from ModifyMigrationObject response

type Precheck added in v1.61.707

type Precheck struct {
	Status  string `json:"Status" xml:"Status"`
	Percent string `json:"Percent" xml:"Percent"`
}

Precheck is a nested struct in dts response

type PrecheckStatus added in v1.61.707

type PrecheckStatus struct {
	Status  string `json:"Status" xml:"Status"`
	Percent string `json:"Percent" xml:"Percent"`
	Detail  Detail `json:"Detail" xml:"Detail"`
}

PrecheckStatus is a nested struct in dts response

type SourceEndpoint added in v1.61.707

type SourceEndpoint struct {
	EngineName   string `json:"EngineName" xml:"EngineName"`
	Port         string `json:"Port" xml:"Port"`
	InstanceID   string `json:"InstanceID" xml:"InstanceID"`
	IP           string `json:"IP" xml:"IP"`
	InstanceId   string `json:"InstanceId" xml:"InstanceId"`
	OracleSID    string `json:"OracleSID" xml:"OracleSID"`
	UserName     string `json:"UserName" xml:"UserName"`
	InstanceType string `json:"InstanceType" xml:"InstanceType"`
	DatabaseName string `json:"DatabaseName" xml:"DatabaseName"`
}

SourceEndpoint is a nested struct in dts response

type StartMigrationJobRequest

type StartMigrationJobRequest struct {
	*requests.RpcRequest
	MigrationJobId string `position:"Query" name:"MigrationJobId"`
}

StartMigrationJobRequest is the request struct for api StartMigrationJob

func CreateStartMigrationJobRequest

func CreateStartMigrationJobRequest() (request *StartMigrationJobRequest)

CreateStartMigrationJobRequest creates a request to invoke StartMigrationJob API

type StartMigrationJobResponse

type StartMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

StartMigrationJobResponse is the response struct for api StartMigrationJob

func CreateStartMigrationJobResponse

func CreateStartMigrationJobResponse() (response *StartMigrationJobResponse)

CreateStartMigrationJobResponse creates a response to parse from StartMigrationJob response

type StopMigrationJobRequest

type StopMigrationJobRequest struct {
	*requests.RpcRequest
	ClientToken    string `position:"Query" name:"ClientToken"`
	MigrationJobId string `position:"Query" name:"MigrationJobId"`
}

StopMigrationJobRequest is the request struct for api StopMigrationJob

func CreateStopMigrationJobRequest

func CreateStopMigrationJobRequest() (request *StopMigrationJobRequest)

CreateStopMigrationJobRequest creates a request to invoke StopMigrationJob API

type StopMigrationJobResponse

type StopMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

StopMigrationJobResponse is the response struct for api StopMigrationJob

func CreateStopMigrationJobResponse

func CreateStopMigrationJobResponse() (response *StopMigrationJobResponse)

CreateStopMigrationJobResponse creates a response to parse from StopMigrationJob response

type StructureInitialization added in v1.61.707

type StructureInitialization struct {
	Percent      string `json:"Percent" xml:"Percent"`
	Progress     string `json:"Progress" xml:"Progress"`
	Status       string `json:"status" xml:"status"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

StructureInitialization is a nested struct in dts response

type StructureInitializationDetail added in v1.61.707

type StructureInitializationDetail struct {
	SourceOwnerDBName      string         `json:"SourceOwnerDBName" xml:"SourceOwnerDBName"`
	ObjectName             string         `json:"ObjectName" xml:"ObjectName"`
	ErrorMessage           string         `json:"ErrorMessage" xml:"ErrorMessage"`
	ObjectType             string         `json:"ObjectType" xml:"ObjectType"`
	DestinationOwnerDBName string         `json:"DestinationOwnerDBName" xml:"DestinationOwnerDBName"`
	Status                 string         `json:"Status" xml:"Status"`
	ObjectDefinition       string         `json:"ObjectDefinition" xml:"ObjectDefinition"`
	ConstraintList         ConstraintList `json:"ConstraintList" xml:"ConstraintList"`
}

StructureInitializationDetail is a nested struct in dts response

type StructureInitializationDetailList added in v1.61.707

type StructureInitializationDetailList struct {
	StructureInitializationDetail []StructureInitializationDetail `json:"StructureInitializationDetail" xml:"StructureInitializationDetail"`
}

StructureInitializationDetailList is a nested struct in dts response

type StructureInitializationStatus added in v1.61.707

type StructureInitializationStatus struct {
	Status       string `json:"Status" xml:"Status"`
	Percent      string `json:"Percent" xml:"Percent"`
	Progress     string `json:"Progress" xml:"Progress"`
	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
}

StructureInitializationStatus is a nested struct in dts response

type SuspendMigrationJobRequest

type SuspendMigrationJobRequest struct {
	*requests.RpcRequest
	ClientToken    string `position:"Query" name:"ClientToken"`
	MigrationJobId string `position:"Query" name:"MigrationJobId"`
}

SuspendMigrationJobRequest is the request struct for api SuspendMigrationJob

func CreateSuspendMigrationJobRequest

func CreateSuspendMigrationJobRequest() (request *SuspendMigrationJobRequest)

CreateSuspendMigrationJobRequest creates a request to invoke SuspendMigrationJob API

type SuspendMigrationJobResponse

type SuspendMigrationJobResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	ErrCode    string `json:"ErrCode" xml:"ErrCode"`
	Success    string `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

SuspendMigrationJobResponse is the response struct for api SuspendMigrationJob

func CreateSuspendMigrationJobResponse

func CreateSuspendMigrationJobResponse() (response *SuspendMigrationJobResponse)

CreateSuspendMigrationJobResponse creates a response to parse from SuspendMigrationJob response

type SynchronousObject added in v1.61.707

type SynchronousObject struct {
	DatabaseName  string    `json:"DatabaseName" xml:"DatabaseName"`
	WholeDatabase string    `json:"WholeDatabase" xml:"WholeDatabase"`
	TableList     TableList `json:"TableList" xml:"TableList"`
}

SynchronousObject is a nested struct in dts response

type TableList added in v1.62.483

type TableList struct {
	Table []string `json:"Table" xml:"Table"`
}

TableList is a nested struct in dts response

Jump to

Keyboard shortcuts

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