udataark

package
v0.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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 DescribeUhostTmMetaRequest

type DescribeUhostTmMetaRequest struct {
	request.CommonBase

	// 可用区。参见 [可用区列表](../summary/regionlist.html)
	Zone *string `required:"true"`

	// 本地盘主机填主机Id,网盘主机填系统盘id
	UhostId *string `required:"true"`
}

DescribeUhostTmMetaRequest is request schema for DescribeUhostTmMeta action

type DescribeUhostTmMetaResponse

type DescribeUhostTmMetaResponse struct {
	response.CommonBase

	// JSON 格式的Snapshot列表, 详细参见DiskDataArkStatus
	DataSet []DiskUDataArkStatus

	// 总备份的大小(byte)
	UtmSize int

	// "normal" 正常状态 ,"in_init" 初始化中
	UtmStatus string

	// "enable" 可以Clone,"disable" 不能Clone
	CloneAble string
}

DescribeUhostTmMetaResponse is response schema for DescribeUhostTmMeta action

type DescribeVDiskTmListRequest

type DescribeVDiskTmListRequest struct {
	request.CommonBase

	// 可用区。参见 [可用区列表](../summary/regionlist.html)
	Zone *string `required:"true"`

	// 磁盘ID
	VDiskId *string `required:"true"`

	// 按备份类型过滤,"all"表示获取所有备份 ,目前仅支持“all”
	SnapshotType *string `required:"true"`
}

DescribeVDiskTmListRequest is request schema for DescribeVDiskTmList action

type DescribeVDiskTmListResponse

type DescribeVDiskTmListResponse struct {
	response.CommonBase

	// 返回数量
	TotalCount string

	// 备份链信息
	DataSet []DiskListDataSet

	// 备份链秒级信息
	FreshSet []DiskListFreshSet
}

DescribeVDiskTmListResponse is response schema for DescribeVDiskTmList action

type DiskListDataSet

type DiskListDataSet struct {

	// 快照ID
	SnapshotId string

	// 快照名
	SnapshotName string

	// 快照类型,"minor" 小时级别增量备份 ,"major"  天级别增量备份  ,"base" base备份 ,"user" 用户手动备份
	SnapshotType string

	// 快照描述
	Comment string

	// 快照创建时间
	CreateTime int

	// 快照时间
	SnapshotTime int

	// 快照大小
	Size int

	// 是否用户手动快照,1 表示用户手动快照, 0表示非用户手动快照
	User int

	// 快照对应的方舟磁盘版本
	Version int

	// 快照状态,"ready" 表示等待merge ,"finish" 表示已经merge完成
	Status string
}

DiskListDataSet - 备份链记录

this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.

type DiskListFreshSet

type DiskListFreshSet struct {

	// 秒级别快照数据开始时间
	StartTime int

	// 秒级别快照数据最新时间
	LatestTime int
}

DiskListFreshSet - 备份链秒级数据

this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.

type DiskUDataArkStatus

type DiskUDataArkStatus struct {

	// 磁盘Id
	VdiskId string

	// 磁盘名
	VdiskName string

	// 磁盘描述
	VdiskDesc string

	// 是否系统盘
	SysVdisk int

	// 最近一次恢复时间
	RecoverTick int

	// 当前时间
	CurrentTick int

	// "normal" 正常状态"in_init" 初始化中
	UtmStatus string

	// "inprogress" 恢复进行中"succ" 恢复成功 "error" 恢复失败 "cancel" 恢复取消
	RecoverStatus string

	// 备份大小
	UtmSize int
}

DiskUDataArkStatus - 磁盘方舟状态

this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.

type UDataArkClient

type UDataArkClient struct {
	// contains filtered or unexported fields
}

UDataArkClient is the client of UDataArk

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UDataArkClient

NewClient will return a instance of UDataArkClient

func (*UDataArkClient) DescribeUhostTmMeta

DescribeUhostTmMeta - 获取主机方舟状态,判断方舟是否可用

func (*UDataArkClient) DescribeVDiskTmList

DescribeVDiskTmList - 查询磁盘备份链信息

func (*UDataArkClient) NewDescribeUhostTmMetaRequest

func (c *UDataArkClient) NewDescribeUhostTmMetaRequest() *DescribeUhostTmMetaRequest

NewDescribeUhostTmMetaRequest will create request of DescribeUhostTmMeta action.

func (*UDataArkClient) NewDescribeVDiskTmListRequest

func (c *UDataArkClient) NewDescribeVDiskTmListRequest() *DescribeVDiskTmListRequest

NewDescribeVDiskTmListRequest will create request of DescribeVDiskTmList action.

Jump to

Keyboard shortcuts

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