dbs

package
v0.0.0-...-66ec9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupGateway

type BackupGateway struct {
	BackupGatewayId          string `json:"BackupGatewayId" xml:"BackupGatewayId"`
	SourceEndpointInternetIP string `json:"SourceEndpointInternetIP" xml:"SourceEndpointInternetIP"`
	SourceEndpointIntranetIP string `json:"SourceEndpointIntranetIP" xml:"SourceEndpointIntranetIP"`
	SourceEndpointHostname   string `json:"SourceEndpointHostname" xml:"SourceEndpointHostname"`
	BackupGatewayStatus      string `json:"BackupGatewayStatus" xml:"BackupGatewayStatus"`
	LastHeartbeatTime        int    `json:"LastHeartbeatTime" xml:"LastHeartbeatTime"`
	BackupGatewayCreateTime  int    `json:"BackupGatewayCreateTime" xml:"BackupGatewayCreateTime"`
	Region                   string `json:"Region" xml:"Region"`
	DisplayName              string `json:"DisplayName" xml:"DisplayName"`
	Identifier               string `json:"Identifier" xml:"Identifier"`
}

BackupGateway is a nested struct in dbs response

type BackupPlanDetail

type BackupPlanDetail struct {
	BackupPlanId                      string `json:"BackupPlanId" xml:"BackupPlanId"`
	SourceEndpointInstanceType        string `json:"SourceEndpointInstanceType" xml:"SourceEndpointInstanceType"`
	SourceEndpointRegion              string `json:"SourceEndpointRegion" xml:"SourceEndpointRegion"`
	SourceEndpointInstanceID          string `json:"SourceEndpointInstanceID" xml:"SourceEndpointInstanceID"`
	SourceEndpointIpPort              string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
	SourceEndpointDatabaseName        string `json:"SourceEndpointDatabaseName" xml:"SourceEndpointDatabaseName"`
	SourceEndpointUserName            string `json:"SourceEndpointUserName" xml:"SourceEndpointUserName"`
	BackupObjects                     string `json:"BackupObjects" xml:"BackupObjects"`
	BackupGatewayId                   int    `json:"BackupGatewayId" xml:"BackupGatewayId"`
	OSSBucketRegion                   string `json:"OSSBucketRegion" xml:"OSSBucketRegion"`
	OSSBucketName                     string `json:"OSSBucketName" xml:"OSSBucketName"`
	BackupPeriod                      string `json:"BackupPeriod" xml:"BackupPeriod"`
	BackupStartTime                   string `json:"BackupStartTime" xml:"BackupStartTime"`
	EnableBackupLog                   bool   `json:"EnableBackupLog" xml:"EnableBackupLog"`
	BackupRetentionPeriod             int    `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
	DuplicationInfrequentAccessPeriod int    `json:"DuplicationInfrequentAccessPeriod" xml:"DuplicationInfrequentAccessPeriod"`
	DuplicationArchivePeriod          int    `json:"DuplicationArchivePeriod" xml:"DuplicationArchivePeriod"`
	BackupPlanName                    string `json:"BackupPlanName" xml:"BackupPlanName"`
	SourceEndpointOracleSID           string `json:"SourceEndpointOracleSID" xml:"SourceEndpointOracleSID"`
	InstanceClass                     string `json:"InstanceClass" xml:"InstanceClass"`
	BackupMethod                      string `json:"BackupMethod" xml:"BackupMethod"`
	BackupPlanCreateTime              int    `json:"BackupPlanCreateTime" xml:"BackupPlanCreateTime"`
	BackupPlanStatus                  string `json:"BackupPlanStatus" xml:"BackupPlanStatus"`
}

BackupPlanDetail is a nested struct in dbs 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://help.aliyun.com/document_detail/66217.html

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://help.aliyun.com/document_detail/66223.html

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 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://help.aliyun.com/document_detail/66222.html

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 attention: rsa key pair auth is only Japan regions available

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://help.aliyun.com/document_detail/66222.html

func (*Client) ConfigureBackupPlan

func (client *Client) ConfigureBackupPlan(request *ConfigureBackupPlanRequest) (response *ConfigureBackupPlanResponse, err error)

ConfigureBackupPlan invokes the dbs.ConfigureBackupPlan API synchronously api document: https://help.aliyun.com/api/dbs/configurebackupplan.html

func (*Client) ConfigureBackupPlanWithCallback

func (client *Client) ConfigureBackupPlanWithCallback(request *ConfigureBackupPlanRequest, callback func(response *ConfigureBackupPlanResponse, err error)) <-chan int

ConfigureBackupPlanWithCallback invokes the dbs.ConfigureBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/configurebackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigureBackupPlanWithChan

func (client *Client) ConfigureBackupPlanWithChan(request *ConfigureBackupPlanRequest) (<-chan *ConfigureBackupPlanResponse, <-chan error)

ConfigureBackupPlanWithChan invokes the dbs.ConfigureBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/configurebackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateBackupPlan

func (client *Client) CreateBackupPlan(request *CreateBackupPlanRequest) (response *CreateBackupPlanResponse, err error)

CreateBackupPlan invokes the dbs.CreateBackupPlan API synchronously api document: https://help.aliyun.com/api/dbs/createbackupplan.html

func (*Client) CreateBackupPlanWithCallback

func (client *Client) CreateBackupPlanWithCallback(request *CreateBackupPlanRequest, callback func(response *CreateBackupPlanResponse, err error)) <-chan int

CreateBackupPlanWithCallback invokes the dbs.CreateBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/createbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateBackupPlanWithChan

func (client *Client) CreateBackupPlanWithChan(request *CreateBackupPlanRequest) (<-chan *CreateBackupPlanResponse, <-chan error)

CreateBackupPlanWithChan invokes the dbs.CreateBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/createbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateRestoreTask

func (client *Client) CreateRestoreTask(request *CreateRestoreTaskRequest) (response *CreateRestoreTaskResponse, err error)

CreateRestoreTask invokes the dbs.CreateRestoreTask API synchronously api document: https://help.aliyun.com/api/dbs/createrestoretask.html

func (*Client) CreateRestoreTaskWithCallback

func (client *Client) CreateRestoreTaskWithCallback(request *CreateRestoreTaskRequest, callback func(response *CreateRestoreTaskResponse, err error)) <-chan int

CreateRestoreTaskWithCallback invokes the dbs.CreateRestoreTask API asynchronously api document: https://help.aliyun.com/api/dbs/createrestoretask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateRestoreTaskWithChan

func (client *Client) CreateRestoreTaskWithChan(request *CreateRestoreTaskRequest) (<-chan *CreateRestoreTaskResponse, <-chan error)

CreateRestoreTaskWithChan invokes the dbs.CreateRestoreTask API asynchronously api document: https://help.aliyun.com/api/dbs/createrestoretask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackupGatewayList

func (client *Client) DescribeBackupGatewayList(request *DescribeBackupGatewayListRequest) (response *DescribeBackupGatewayListResponse, err error)

DescribeBackupGatewayList invokes the dbs.DescribeBackupGatewayList API synchronously api document: https://help.aliyun.com/api/dbs/describebackupgatewaylist.html

func (*Client) DescribeBackupGatewayListWithCallback

func (client *Client) DescribeBackupGatewayListWithCallback(request *DescribeBackupGatewayListRequest, callback func(response *DescribeBackupGatewayListResponse, err error)) <-chan int

DescribeBackupGatewayListWithCallback invokes the dbs.DescribeBackupGatewayList API asynchronously api document: https://help.aliyun.com/api/dbs/describebackupgatewaylist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackupGatewayListWithChan

func (client *Client) DescribeBackupGatewayListWithChan(request *DescribeBackupGatewayListRequest) (<-chan *DescribeBackupGatewayListResponse, <-chan error)

DescribeBackupGatewayListWithChan invokes the dbs.DescribeBackupGatewayList API asynchronously api document: https://help.aliyun.com/api/dbs/describebackupgatewaylist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackupPlanList

func (client *Client) DescribeBackupPlanList(request *DescribeBackupPlanListRequest) (response *DescribeBackupPlanListResponse, err error)

DescribeBackupPlanList invokes the dbs.DescribeBackupPlanList API synchronously api document: https://help.aliyun.com/api/dbs/describebackupplanlist.html

func (*Client) DescribeBackupPlanListWithCallback

func (client *Client) DescribeBackupPlanListWithCallback(request *DescribeBackupPlanListRequest, callback func(response *DescribeBackupPlanListResponse, err error)) <-chan int

DescribeBackupPlanListWithCallback invokes the dbs.DescribeBackupPlanList API asynchronously api document: https://help.aliyun.com/api/dbs/describebackupplanlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackupPlanListWithChan

func (client *Client) DescribeBackupPlanListWithChan(request *DescribeBackupPlanListRequest) (<-chan *DescribeBackupPlanListResponse, <-chan error)

DescribeBackupPlanListWithChan invokes the dbs.DescribeBackupPlanList API asynchronously api document: https://help.aliyun.com/api/dbs/describebackupplanlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFullBackupList

func (client *Client) DescribeFullBackupList(request *DescribeFullBackupListRequest) (response *DescribeFullBackupListResponse, err error)

DescribeFullBackupList invokes the dbs.DescribeFullBackupList API synchronously api document: https://help.aliyun.com/api/dbs/describefullbackuplist.html

func (*Client) DescribeFullBackupListWithCallback

func (client *Client) DescribeFullBackupListWithCallback(request *DescribeFullBackupListRequest, callback func(response *DescribeFullBackupListResponse, err error)) <-chan int

DescribeFullBackupListWithCallback invokes the dbs.DescribeFullBackupList API asynchronously api document: https://help.aliyun.com/api/dbs/describefullbackuplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFullBackupListWithChan

func (client *Client) DescribeFullBackupListWithChan(request *DescribeFullBackupListRequest) (<-chan *DescribeFullBackupListResponse, <-chan error)

DescribeFullBackupListWithChan invokes the dbs.DescribeFullBackupList API asynchronously api document: https://help.aliyun.com/api/dbs/describefullbackuplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIncrementBackupList

func (client *Client) DescribeIncrementBackupList(request *DescribeIncrementBackupListRequest) (response *DescribeIncrementBackupListResponse, err error)

DescribeIncrementBackupList invokes the dbs.DescribeIncrementBackupList API synchronously api document: https://help.aliyun.com/api/dbs/describeincrementbackuplist.html

func (*Client) DescribeIncrementBackupListWithCallback

func (client *Client) DescribeIncrementBackupListWithCallback(request *DescribeIncrementBackupListRequest, callback func(response *DescribeIncrementBackupListResponse, err error)) <-chan int

DescribeIncrementBackupListWithCallback invokes the dbs.DescribeIncrementBackupList API asynchronously api document: https://help.aliyun.com/api/dbs/describeincrementbackuplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIncrementBackupListWithChan

func (client *Client) DescribeIncrementBackupListWithChan(request *DescribeIncrementBackupListRequest) (<-chan *DescribeIncrementBackupListResponse, <-chan error)

DescribeIncrementBackupListWithChan invokes the dbs.DescribeIncrementBackupList API asynchronously api document: https://help.aliyun.com/api/dbs/describeincrementbackuplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartBackupPlan

func (client *Client) StartBackupPlan(request *StartBackupPlanRequest) (response *StartBackupPlanResponse, err error)

StartBackupPlan invokes the dbs.StartBackupPlan API synchronously api document: https://help.aliyun.com/api/dbs/startbackupplan.html

func (*Client) StartBackupPlanWithCallback

func (client *Client) StartBackupPlanWithCallback(request *StartBackupPlanRequest, callback func(response *StartBackupPlanResponse, err error)) <-chan int

StartBackupPlanWithCallback invokes the dbs.StartBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/startbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartBackupPlanWithChan

func (client *Client) StartBackupPlanWithChan(request *StartBackupPlanRequest) (<-chan *StartBackupPlanResponse, <-chan error)

StartBackupPlanWithChan invokes the dbs.StartBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/startbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartRestoreTask

func (client *Client) StartRestoreTask(request *StartRestoreTaskRequest) (response *StartRestoreTaskResponse, err error)

StartRestoreTask invokes the dbs.StartRestoreTask API synchronously api document: https://help.aliyun.com/api/dbs/startrestoretask.html

func (*Client) StartRestoreTaskWithCallback

func (client *Client) StartRestoreTaskWithCallback(request *StartRestoreTaskRequest, callback func(response *StartRestoreTaskResponse, err error)) <-chan int

StartRestoreTaskWithCallback invokes the dbs.StartRestoreTask API asynchronously api document: https://help.aliyun.com/api/dbs/startrestoretask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartRestoreTaskWithChan

func (client *Client) StartRestoreTaskWithChan(request *StartRestoreTaskRequest) (<-chan *StartRestoreTaskResponse, <-chan error)

StartRestoreTaskWithChan invokes the dbs.StartRestoreTask API asynchronously api document: https://help.aliyun.com/api/dbs/startrestoretask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StopBackupPlan

func (client *Client) StopBackupPlan(request *StopBackupPlanRequest) (response *StopBackupPlanResponse, err error)

StopBackupPlan invokes the dbs.StopBackupPlan API synchronously api document: https://help.aliyun.com/api/dbs/stopbackupplan.html

func (*Client) StopBackupPlanWithCallback

func (client *Client) StopBackupPlanWithCallback(request *StopBackupPlanRequest, callback func(response *StopBackupPlanResponse, err error)) <-chan int

StopBackupPlanWithCallback invokes the dbs.StopBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/stopbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StopBackupPlanWithChan

func (client *Client) StopBackupPlanWithChan(request *StopBackupPlanRequest) (<-chan *StopBackupPlanResponse, <-chan error)

StopBackupPlanWithChan invokes the dbs.StopBackupPlan API asynchronously api document: https://help.aliyun.com/api/dbs/stopbackupplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type ConfigureBackupPlanRequest

type ConfigureBackupPlanRequest struct {
	*requests.RpcRequest
	SourceEndpointRegion              string           `position:"Query" name:"SourceEndpointRegion"`
	DuplicationArchivePeriod          requests.Integer `position:"Query" name:"DuplicationArchivePeriod"`
	BackupGatewayId                   requests.Integer `position:"Query" name:"BackupGatewayId"`
	SourceEndpointInstanceID          string           `position:"Query" name:"SourceEndpointInstanceID"`
	SourceEndpointUserName            string           `position:"Query" name:"SourceEndpointUserName"`
	ClientToken                       string           `position:"Query" name:"ClientToken"`
	SourceEndpointPassword            string           `position:"Query" name:"SourceEndpointPassword"`
	BackupPlanId                      string           `position:"Query" name:"BackupPlanId"`
	BackupObjects                     string           `position:"Query" name:"BackupObjects"`
	OwnerId                           string           `position:"Query" name:"OwnerId"`
	SourceEndpointPort                requests.Integer `position:"Query" name:"SourceEndpointPort"`
	SourceEndpointDatabaseName        string           `position:"Query" name:"SourceEndpointDatabaseName"`
	BackupRetentionPeriod             requests.Integer `position:"Query" name:"BackupRetentionPeriod"`
	DuplicationInfrequentAccessPeriod requests.Integer `position:"Query" name:"DuplicationInfrequentAccessPeriod"`
	BackupPeriod                      string           `position:"Query" name:"BackupPeriod"`
	BackupStartTime                   string           `position:"Query" name:"BackupStartTime"`
	SourceEndpointInstanceType        string           `position:"Query" name:"SourceEndpointInstanceType"`
	SourceEndpointIP                  string           `position:"Query" name:"SourceEndpointIP"`
	BackupPlanName                    string           `position:"Query" name:"BackupPlanName"`
	SourceEndpointOracleSID           string           `position:"Query" name:"SourceEndpointOracleSID"`
	OSSBucketName                     string           `position:"Query" name:"OSSBucketName"`
	EnableBackupLog                   requests.Boolean `position:"Query" name:"EnableBackupLog"`
}

ConfigureBackupPlanRequest is the request struct for api ConfigureBackupPlan

func CreateConfigureBackupPlanRequest

func CreateConfigureBackupPlanRequest() (request *ConfigureBackupPlanRequest)

CreateConfigureBackupPlanRequest creates a request to invoke ConfigureBackupPlan API

type ConfigureBackupPlanResponse

type ConfigureBackupPlanResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	BackupPlanId   string `json:"BackupPlanId" xml:"BackupPlanId"`
}

ConfigureBackupPlanResponse is the response struct for api ConfigureBackupPlan

func CreateConfigureBackupPlanResponse

func CreateConfigureBackupPlanResponse() (response *ConfigureBackupPlanResponse)

CreateConfigureBackupPlanResponse creates a response to parse from ConfigureBackupPlan response

type CreateBackupPlanRequest

type CreateBackupPlanRequest struct {
	*requests.RpcRequest
	BackupMethod  string           `position:"Query" name:"BackupMethod"`
	DatabaseType  string           `position:"Query" name:"DatabaseType"`
	Period        string           `position:"Query" name:"Period"`
	ClientToken   string           `position:"Query" name:"ClientToken"`
	Region        string           `position:"Query" name:"Region"`
	OwnerId       string           `position:"Query" name:"OwnerId"`
	UsedTime      requests.Integer `position:"Query" name:"UsedTime"`
	InstanceClass string           `position:"Query" name:"InstanceClass"`
}

CreateBackupPlanRequest is the request struct for api CreateBackupPlan

func CreateCreateBackupPlanRequest

func CreateCreateBackupPlanRequest() (request *CreateBackupPlanRequest)

CreateCreateBackupPlanRequest creates a request to invoke CreateBackupPlan API

type CreateBackupPlanResponse

type CreateBackupPlanResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	BackupPlanId   string `json:"BackupPlanId" xml:"BackupPlanId"`
	OrderId        string `json:"OrderId" xml:"OrderId"`
}

CreateBackupPlanResponse is the response struct for api CreateBackupPlan

func CreateCreateBackupPlanResponse

func CreateCreateBackupPlanResponse() (response *CreateBackupPlanResponse)

CreateCreateBackupPlanResponse creates a response to parse from CreateBackupPlan response

type CreateRestoreTaskRequest

type CreateRestoreTaskRequest struct {
	*requests.RpcRequest
	BackupGatewayId                 requests.Integer `position:"Query" name:"BackupGatewayId"`
	DestinationEndpointOracleSID    string           `position:"Query" name:"DestinationEndpointOracleSID"`
	RestoreTime                     requests.Integer `position:"Query" name:"RestoreTime"`
	DestinationEndpointInstanceType string           `position:"Query" name:"DestinationEndpointInstanceType"`
	ClientToken                     string           `position:"Query" name:"ClientToken"`
	DestinationEndpointInstanceID   string           `position:"Query" name:"DestinationEndpointInstanceID"`
	DestinationEndpointPort         requests.Integer `position:"Query" name:"DestinationEndpointPort"`
	BackupPlanId                    string           `position:"Query" name:"BackupPlanId"`
	BackupSetId                     string           `position:"Query" name:"BackupSetId"`
	OwnerId                         string           `position:"Query" name:"OwnerId"`
	DestinationEndpointRegion       string           `position:"Query" name:"DestinationEndpointRegion"`
	RestoreDir                      string           `position:"Query" name:"RestoreDir"`
	DestinationEndpointIP           string           `position:"Query" name:"DestinationEndpointIP"`
	DestinationEndpointDatabaseName string           `position:"Query" name:"DestinationEndpointDatabaseName"`
	DestinationEndpointUserName     string           `position:"Query" name:"DestinationEndpointUserName"`
	RestoreObjects                  string           `position:"Query" name:"RestoreObjects"`
	RestoreTaskName                 string           `position:"Query" name:"RestoreTaskName"`
	DestinationEndpointPassword     string           `position:"Query" name:"DestinationEndpointPassword"`
}

CreateRestoreTaskRequest is the request struct for api CreateRestoreTask

func CreateCreateRestoreTaskRequest

func CreateCreateRestoreTaskRequest() (request *CreateRestoreTaskRequest)

CreateCreateRestoreTaskRequest creates a request to invoke CreateRestoreTask API

type CreateRestoreTaskResponse

type CreateRestoreTaskResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	RestoreTaskId  string `json:"RestoreTaskId" xml:"RestoreTaskId"`
}

CreateRestoreTaskResponse is the response struct for api CreateRestoreTask

func CreateCreateRestoreTaskResponse

func CreateCreateRestoreTaskResponse() (response *CreateRestoreTaskResponse)

CreateCreateRestoreTaskResponse creates a response to parse from CreateRestoreTask response

type DescribeBackupGatewayListRequest

type DescribeBackupGatewayListRequest struct {
	*requests.RpcRequest
	Identifier  string           `position:"Query" name:"Identifier"`
	ClientToken string           `position:"Query" name:"ClientToken"`
	PageSize    requests.Integer `position:"Query" name:"PageSize"`
	Region      string           `position:"Query" name:"Region"`
	PageNum     requests.Integer `position:"Query" name:"PageNum"`
	OwnerId     string           `position:"Query" name:"OwnerId"`
}

DescribeBackupGatewayListRequest is the request struct for api DescribeBackupGatewayList

func CreateDescribeBackupGatewayListRequest

func CreateDescribeBackupGatewayListRequest() (request *DescribeBackupGatewayListRequest)

CreateDescribeBackupGatewayListRequest creates a request to invoke DescribeBackupGatewayList API

type DescribeBackupGatewayListResponse

type DescribeBackupGatewayListResponse struct {
	*responses.BaseResponse
	Success        bool                             `json:"Success" xml:"Success"`
	ErrCode        string                           `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string                           `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int                              `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string                           `json:"RequestId" xml:"RequestId"`
	TotalPages     int                              `json:"TotalPages" xml:"TotalPages"`
	PageSize       int                              `json:"PageSize" xml:"PageSize"`
	PageNum        int                              `json:"PageNum" xml:"PageNum"`
	TotalElements  int                              `json:"TotalElements" xml:"TotalElements"`
	Items          ItemsInDescribeBackupGatewayList `json:"Items" xml:"Items"`
}

DescribeBackupGatewayListResponse is the response struct for api DescribeBackupGatewayList

func CreateDescribeBackupGatewayListResponse

func CreateDescribeBackupGatewayListResponse() (response *DescribeBackupGatewayListResponse)

CreateDescribeBackupGatewayListResponse creates a response to parse from DescribeBackupGatewayList response

type DescribeBackupPlanListRequest

type DescribeBackupPlanListRequest struct {
	*requests.RpcRequest
	ClientToken  string           `position:"Query" name:"ClientToken"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
	BackupPlanId string           `position:"Query" name:"BackupPlanId"`
	Region       string           `position:"Query" name:"Region"`
	PageNum      requests.Integer `position:"Query" name:"PageNum"`
	OwnerId      string           `position:"Query" name:"OwnerId"`
}

DescribeBackupPlanListRequest is the request struct for api DescribeBackupPlanList

func CreateDescribeBackupPlanListRequest

func CreateDescribeBackupPlanListRequest() (request *DescribeBackupPlanListRequest)

CreateDescribeBackupPlanListRequest creates a request to invoke DescribeBackupPlanList API

type DescribeBackupPlanListResponse

type DescribeBackupPlanListResponse struct {
	*responses.BaseResponse
	Success        bool                          `json:"Success" xml:"Success"`
	ErrCode        string                        `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string                        `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int                           `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string                        `json:"RequestId" xml:"RequestId"`
	TotalPages     int                           `json:"TotalPages" xml:"TotalPages"`
	PageSize       int                           `json:"PageSize" xml:"PageSize"`
	PageNum        int                           `json:"PageNum" xml:"PageNum"`
	TotalElements  int                           `json:"TotalElements" xml:"TotalElements"`
	Items          ItemsInDescribeBackupPlanList `json:"Items" xml:"Items"`
}

DescribeBackupPlanListResponse is the response struct for api DescribeBackupPlanList

func CreateDescribeBackupPlanListResponse

func CreateDescribeBackupPlanListResponse() (response *DescribeBackupPlanListResponse)

CreateDescribeBackupPlanListResponse creates a response to parse from DescribeBackupPlanList response

type DescribeFullBackupListRequest

type DescribeFullBackupListRequest struct {
	*requests.RpcRequest
	ClientToken  string           `position:"Query" name:"ClientToken"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
	BackupPlanId string           `position:"Query" name:"BackupPlanId"`
	PageNum      requests.Integer `position:"Query" name:"PageNum"`
	OwnerId      string           `position:"Query" name:"OwnerId"`
}

DescribeFullBackupListRequest is the request struct for api DescribeFullBackupList

func CreateDescribeFullBackupListRequest

func CreateDescribeFullBackupListRequest() (request *DescribeFullBackupListRequest)

CreateDescribeFullBackupListRequest creates a request to invoke DescribeFullBackupList API

type DescribeFullBackupListResponse

type DescribeFullBackupListResponse struct {
	*responses.BaseResponse
	Success        bool                          `json:"Success" xml:"Success"`
	ErrCode        string                        `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string                        `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int                           `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string                        `json:"RequestId" xml:"RequestId"`
	TotalPages     int                           `json:"TotalPages" xml:"TotalPages"`
	PageSize       int                           `json:"PageSize" xml:"PageSize"`
	PageNum        int                           `json:"PageNum" xml:"PageNum"`
	TotalElements  int                           `json:"TotalElements" xml:"TotalElements"`
	Items          ItemsInDescribeFullBackupList `json:"Items" xml:"Items"`
}

DescribeFullBackupListResponse is the response struct for api DescribeFullBackupList

func CreateDescribeFullBackupListResponse

func CreateDescribeFullBackupListResponse() (response *DescribeFullBackupListResponse)

CreateDescribeFullBackupListResponse creates a response to parse from DescribeFullBackupList response

type DescribeIncrementBackupListRequest

type DescribeIncrementBackupListRequest struct {
	*requests.RpcRequest
	ClientToken  string           `position:"Query" name:"ClientToken"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
	BackupPlanId string           `position:"Query" name:"BackupPlanId"`
	PageNum      requests.Integer `position:"Query" name:"PageNum"`
	OwnerId      string           `position:"Query" name:"OwnerId"`
}

DescribeIncrementBackupListRequest is the request struct for api DescribeIncrementBackupList

func CreateDescribeIncrementBackupListRequest

func CreateDescribeIncrementBackupListRequest() (request *DescribeIncrementBackupListRequest)

CreateDescribeIncrementBackupListRequest creates a request to invoke DescribeIncrementBackupList API

type DescribeIncrementBackupListResponse

type DescribeIncrementBackupListResponse struct {
	*responses.BaseResponse
	Success        bool                               `json:"Success" xml:"Success"`
	ErrCode        string                             `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string                             `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int                                `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string                             `json:"RequestId" xml:"RequestId"`
	TotalPages     int                                `json:"TotalPages" xml:"TotalPages"`
	PageSize       int                                `json:"PageSize" xml:"PageSize"`
	PageNum        int                                `json:"PageNum" xml:"PageNum"`
	TotalElements  int                                `json:"TotalElements" xml:"TotalElements"`
	Items          ItemsInDescribeIncrementBackupList `json:"Items" xml:"Items"`
}

DescribeIncrementBackupListResponse is the response struct for api DescribeIncrementBackupList

func CreateDescribeIncrementBackupListResponse

func CreateDescribeIncrementBackupListResponse() (response *DescribeIncrementBackupListResponse)

CreateDescribeIncrementBackupListResponse creates a response to parse from DescribeIncrementBackupList response

type FullBackupFile

type FullBackupFile struct {
	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
	StartTime            int    `json:"StartTime" xml:"StartTime"`
	EndTime              int    `json:"EndTime" xml:"EndTime"`
	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
}

FullBackupFile is a nested struct in dbs response

type IncrementBackupFile

type IncrementBackupFile struct {
	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
	StartTime            int    `json:"StartTime" xml:"StartTime"`
	EndTime              int    `json:"EndTime" xml:"EndTime"`
	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
}

IncrementBackupFile is a nested struct in dbs response

type ItemsInDescribeBackupGatewayList

type ItemsInDescribeBackupGatewayList struct {
	BackupGateway []BackupGateway `json:"BackupGateway" xml:"BackupGateway"`
}

ItemsInDescribeBackupGatewayList is a nested struct in dbs response

type ItemsInDescribeBackupPlanList

type ItemsInDescribeBackupPlanList struct {
	BackupPlanDetail []BackupPlanDetail `json:"BackupPlanDetail" xml:"BackupPlanDetail"`
}

ItemsInDescribeBackupPlanList is a nested struct in dbs response

type ItemsInDescribeFullBackupList

type ItemsInDescribeFullBackupList struct {
	FullBackupFile []FullBackupFile `json:"FullBackupFile" xml:"FullBackupFile"`
}

ItemsInDescribeFullBackupList is a nested struct in dbs response

type ItemsInDescribeIncrementBackupList

type ItemsInDescribeIncrementBackupList struct {
	IncrementBackupFile []IncrementBackupFile `json:"IncrementBackupFile" xml:"IncrementBackupFile"`
}

ItemsInDescribeIncrementBackupList is a nested struct in dbs response

type StartBackupPlanRequest

type StartBackupPlanRequest struct {
	*requests.RpcRequest
	ClientToken  string `position:"Query" name:"ClientToken"`
	BackupPlanId string `position:"Query" name:"BackupPlanId"`
	OwnerId      string `position:"Query" name:"OwnerId"`
}

StartBackupPlanRequest is the request struct for api StartBackupPlan

func CreateStartBackupPlanRequest

func CreateStartBackupPlanRequest() (request *StartBackupPlanRequest)

CreateStartBackupPlanRequest creates a request to invoke StartBackupPlan API

type StartBackupPlanResponse

type StartBackupPlanResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	BackupPlanId   string `json:"BackupPlanId" xml:"BackupPlanId"`
}

StartBackupPlanResponse is the response struct for api StartBackupPlan

func CreateStartBackupPlanResponse

func CreateStartBackupPlanResponse() (response *StartBackupPlanResponse)

CreateStartBackupPlanResponse creates a response to parse from StartBackupPlan response

type StartRestoreTaskRequest

type StartRestoreTaskRequest struct {
	*requests.RpcRequest
	ClientToken   string `position:"Query" name:"ClientToken"`
	RestoreTaskId string `position:"Query" name:"RestoreTaskId"`
	OwnerId       string `position:"Query" name:"OwnerId"`
}

StartRestoreTaskRequest is the request struct for api StartRestoreTask

func CreateStartRestoreTaskRequest

func CreateStartRestoreTaskRequest() (request *StartRestoreTaskRequest)

CreateStartRestoreTaskRequest creates a request to invoke StartRestoreTask API

type StartRestoreTaskResponse

type StartRestoreTaskResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	RestoreTaskId  string `json:"RestoreTaskId" xml:"RestoreTaskId"`
}

StartRestoreTaskResponse is the response struct for api StartRestoreTask

func CreateStartRestoreTaskResponse

func CreateStartRestoreTaskResponse() (response *StartRestoreTaskResponse)

CreateStartRestoreTaskResponse creates a response to parse from StartRestoreTask response

type StopBackupPlanRequest

type StopBackupPlanRequest struct {
	*requests.RpcRequest
	StopMethod   string `position:"Query" name:"StopMethod"`
	ClientToken  string `position:"Query" name:"ClientToken"`
	BackupPlanId string `position:"Query" name:"BackupPlanId"`
	OwnerId      string `position:"Query" name:"OwnerId"`
}

StopBackupPlanRequest is the request struct for api StopBackupPlan

func CreateStopBackupPlanRequest

func CreateStopBackupPlanRequest() (request *StopBackupPlanRequest)

CreateStopBackupPlanRequest creates a request to invoke StopBackupPlan API

type StopBackupPlanResponse

type StopBackupPlanResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	ErrCode        string `json:"ErrCode" xml:"ErrCode"`
	ErrMessage     string `json:"ErrMessage" xml:"ErrMessage"`
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	BackupPlanId   string `json:"BackupPlanId" xml:"BackupPlanId"`
}

StopBackupPlanResponse is the response struct for api StopBackupPlan

func CreateStopBackupPlanResponse

func CreateStopBackupPlanResponse() (response *StopBackupPlanResponse)

CreateStopBackupPlanResponse creates a response to parse from StopBackupPlan response

Jump to

Keyboard shortcuts

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