models

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: Apache-2.0 Imports: 0 Imported by: 15 modules, 24 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountPrivilege

type AccountPrivilege struct {

	/* 数据库名称 (Optional) */
	DbName *string `json:"dbName"`

	/* 对数据库具有的权限,ro:只读  rw:读写 (Optional) */
	Privilege *string `json:"privilege"`
}

type Backup

type Backup struct {

	/* 备份ID (Optional) */
	BackupId string `json:"backupId"`

	/* 备份名称 (Optional) */
	BackupName string `json:"backupName"`

	/* 备份所属实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 备份状态,COMPLETED:备份完成,FAILED:备份失败,BUILDING:备份中,DELETING:删除中 (Optional) */
	BackupStatus string `json:"backupStatus"`

	/* 备份开始时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
	BackupStartTime string `json:"backupStartTime"`

	/* 备份结束时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
	BackupEndTime string `json:"backupEndTime"`

	/* 备份类型,全量备份或增量备份,full:全量,diff:增量 (Optional) */
	BackupType string `json:"backupType"`

	/* 备份模式,系统自动备份或手动备份,Automated:自动备份  Manual:手工备份 (Optional) */
	BackupMode string `json:"backupMode"`

	/* 备份粒度,实例备份或者多库备份,instance:实例备份 ,dbs:数据库备份 (Optional) */
	BackupUnit string `json:"backupUnit"`

	/* 备份文件列表,仅SQL Server支持该参数,文件名的命名规则为:全备:数据库名+.bak; 增量:数据库名+.diff (Optional) */
	BackupFiles []string `json:"backupFiles"`

	/* 整个备份集大小,单位:Byte (Optional) */
	BackupSizeByte int `json:"backupSizeByte"`
}

type BackupSpec

type BackupSpec struct {

	/* 备份名称,缺省为系统分配一个随机名称 (Optional) */
	BackupName *string `json:"backupName"`

	/*  (Optional) */
	DbNames []string `json:"dbNames"`
}

type File

type File struct {

	/* 文件名 (Optional) */
	Name string `json:"name"`

	/* 文件大小,单位Byte (Optional) */
	SizeByte int `json:"sizeByte"`
}

type FileDownloadURL

type FileDownloadURL struct {

	/* 公网下载链接,若当前不可下载,则为空串 (Optional) */
	PublicURL string `json:"publicURL"`

	/* 内网下载链接,若当前不可下载,则为空串 (Optional) */
	InternalURL string `json:"internalURL"`
}

type ImportFile

type ImportFile struct {

	/* 文件名称 (Optional) */
	Name string `json:"name"`

	/* 如果该文件是共享文件,则有全局ID,如不是共享文件,则为空 (Optional) */
	SharedFileGid string `json:"sharedFileGid"`

	/* 文件大小 (Optional) */
	SizeByte int `json:"sizeByte"`

	/* 文件上传完成时间 (Optional) */
	UploadTime string `json:"uploadTime"`

	/* 是否所属当前实例. “true”或者“false” (Optional) */
	IsLocal string `json:"isLocal"`
}

Jump to

Keyboard shortcuts

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