models

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 1 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 ADService added in v1.37.0

type ADService struct {

	/* 对接的目录服务的资源ID (Optional) */
	AdResourceId string `json:"adResourceId"`

	/* 目录服务的状态 (Optional) */
	AdStatus string `json:"adStatus"`
}

type Account added in v1.0.6

type Account struct {

	/* 账号名,账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	AccountName string `json:"accountName"`

	/* 账号状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- **MySQL:不支持,不返回该字段**<br>- **SQL Server:返回该字段** (Optional) */
	AccountStatus string `json:"accountStatus"`

	/* 账号类型,normal:普通,super:高权限<br>- 仅支持SQL Server (Optional) */
	AccountType string `json:"accountType"`

	/* 创建账号时间,格式为:YYYY-MM-DD HH:mm:ss<br>- 仅支持PostgreSQL (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改账号时间,格式为:YYYY-MM-DD HH:mm:ss<br>- 仅支持PostgreSQL (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 账号备注内容<br>- 仅支持PostgreSQL (Optional) */
	Notes string `json:"notes"`

	/* 具有的权限 (Optional) */
	AccountPrivileges []AccountPrivilege `json:"accountPrivileges"`
}

type AccountPrivilege

type AccountPrivilege struct {

	/* 数据库名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	DbName *string `json:"dbName"`

	/* 账号对数据库所具有的权限,权限的具体定义可以参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Privilege *string `json:"privilege"`
}

type ActiveQueryPerformanceResult added in v1.3.0

type ActiveQueryPerformanceResult struct {

	/* sql语句 (Optional) */
	Sql string `json:"sql"`

	/* 开始执行时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	StartTime string `json:"startTime"`

	/* 执行时长,单位秒 (Optional) */
	ElapsedTime int `json:"elapsedTime"`

	/* 数据库名 (Optional) */
	Db string `json:"db"`

	/* 该SQL执行时的Session ID (Optional) */
	SessionId string `json:"sessionId"`

	/* 执行该SQL的用户名 (Optional) */
	User string `json:"user"`

	/* SQL 的执行状态 (Optional) */
	Status string `json:"status"`
}

type AttachedDBInstance added in v1.5.0

type AttachedDBInstance struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName string `json:"instanceName"`

	/* 实例类型,例如主实例,只读实例等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceType string `json:"instanceType"`

	/* 实例引擎类型,如MySQL或SQL Server等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 参数组ID (Optional) */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 参数的状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	ParameterStatus string `json:"parameterStatus"`

	/* 实例状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStatus string `json:"instanceStatus"`

	/* 实例创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type AuditFile added in v1.0.6

type AuditFile struct {

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

	/* 审计日志文件大小,单位Byte (Optional) */
	SizeByte int64 `json:"sizeByte"`

	/* 审计日志文件最后更新时间 (Optional) */
	LastUpdateTime string `json:"lastUpdateTime"`

	/* 审计日志文件上传时间 (Optional) */
	UploadTime string `json:"uploadTime"`
}

type AuditResult added in v1.1.3

type AuditResult struct {

	/* SQL开始执行时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 源IP (Optional) */
	Ip string `json:"ip"`

	/* 账号名 (Optional) */
	AccountName string `json:"accountName"`

	/* 操作类型 (Optional) */
	Operation string `json:"operation"`

	/* 线程ID (Optional) */
	ThreadId string `json:"threadId"`

	/* 线程ID,仅 PostgreSQL 支持此参数 (Optional) */
	ProcessId string `json:"processId"`

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

	/* sql语句 (Optional) */
	Sql string `json:"sql"`
}

type Backup

type Backup struct {

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

	/* 备份名称,最长支持64个英文字符或等长的中文字符 (Optional) */
	BackupName string `json:"backupName"`

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

	/* 备份状态,请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	BackupStatus string `json:"backupStatus"`

	/* 备份开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	BackupStartTime string `json:"backupStartTime"`

	/* 备份结束时间,格式为:YYYY-MM-DD HH:mm:ss<br>- **SQL Server支持**<br>- **MySQL不支持** (Optional) */
	BackupEndTime string `json:"backupEndTime"`

	/* 备份类型,全量备份或增量备份,请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- **SQL Server支持**<br>- **MySQL不支持** (Optional) */
	BackupType string `json:"backupType"`

	/* 备份模式,系统自动备份或手动备份,请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	BackupMode string `json:"backupMode"`

	/* 备份方法,支持物理备份和快照备份,请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- **仅支持 MySQL、MariaDB、Percona** (Optional) */
	BackupMethod string `json:"backupMethod"`

	/* 备份粒度,实例备份或者多库备份,请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- **SQL Server支持**<br>- **MySQL不支持** (Optional) */
	BackupUnit string `json:"backupUnit"`

	/* 备份文件列表<br>- **SQL Server支持**,备份可以有多个文件,文件名的命名规则为:<br>(1)全备:数据库名+.bak<br>(2)增量:数据库名+.diff<br>- **MySQL不支持** (Optional) */
	BackupFiles []string `json:"backupFiles"`

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

type BackupSpec

type BackupSpec struct {

	/* 备份名称<br>SQL Server:最长支持64个英文字符或等长的中文字符<br>MySQL:只允许数字、小写字母及英文下划线“_”,不超过32字符 (Optional) */
	BackupName *string `json:"backupName"`

	/* 需要备份的数据库名称列表。如不填,则备份整个实例<br>- **MySQL:不支持该参数**<br>- **SQL Server:支持** (Optional) */
	DbNames []string `json:"dbNames"`
}

type BackupSynchronicity added in v1.1.3

type BackupSynchronicity struct {

	/* 跨地域备份同步服务ID (Optional) */
	ServiceId string `json:"serviceId"`

	/* RDS 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 跨地域备份同步服务状态,正常,running;错误,error (Optional) */
	ServiceStatus string `json:"serviceStatus"`

	/* 源实例所在地域 (Optional) */
	SrcRegion string `json:"srcRegion"`

	/* 备份同步的目标地域 (Optional) */
	DestRegion string `json:"destRegion"`

	/* 数据库类型 (Optional) */
	Engine string `json:"engine"`

	/* 数据库版本 (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 跨地域备份的最新数据时间点 (Optional) */
	NewestDataTime string `json:"newestDataTime"`
}

type BackupSynchronicityAbstract added in v1.12.0

type BackupSynchronicityAbstract struct {

	/* 跨地域备份同步服务ID (Optional) */
	ServiceId string `json:"serviceId"`

	/* 备份同步的目标地域 (Optional) */
	DestRegion string `json:"destRegion"`
}

type Binlog added in v1.0.9

type Binlog struct {

	/* binlog日志备份ID (Optional) */
	BinlogBackupId string `json:"binlogBackupId"`

	/* binlog日志名称 (Optional) */
	BinlogName string `json:"binlogName"`

	/* binlog日志大小,单位KB (Optional) */
	BinlogSizeKB int64 `json:"binlogSizeKB"`

	/* binlog开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	BinlogStartTime string `json:"binlogStartTime"`

	/* binlog结束时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	BinlogEndTime string `json:"binlogEndTime"`
}

type DBAccessPrivilege added in v1.0.6

type DBAccessPrivilege struct {

	/* 账号名称 (Optional) */
	AccountName string `json:"accountName"`

	/* 该账号对数据库具有的权限,权限的具体定义可以参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Privilege string `json:"privilege"`
}

type DBInstance added in v1.0.6

type DBInstance struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName string `json:"instanceName"`

	/* 实例类别,例如主实例,只读实例等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceType string `json:"instanceType"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- 仅支持MySQL,Percona,MariaDB, SQL Server (Optional) */
	InstanceStorageType string `json:"instanceStorageType"`

	/* 实例数据加密. false:不加密; true:加密 (Optional) */
	StorageEncrypted bool `json:"storageEncrypted"`

	/* 实例引擎类型,如MySQL或SQL Server等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 实例规格代码 (Optional) */
	InstanceClass string `json:"instanceClass"`

	/* 磁盘,单位GB (Optional) */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* CPU核数 (Optional) */
	InstanceCPU int `json:"instanceCPU"`

	/* 内存,单位MB (Optional) */
	InstanceMemoryMB int `json:"instanceMemoryMB"`

	/* 地域ID,参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md) (Optional) */
	RegionId string `json:"regionId"`

	/* 可用区ID,第一个为主实例在的可用区,参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md) (Optional) */
	AzId []string `json:"azId"`

	/* VPC的ID (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网的ID (Optional) */
	SubnetId string `json:"subnetId"`

	/* 实例状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStatus string `json:"instanceStatus"`

	/* 实例公网域名<br>- 仅支持MySQL (Optional) */
	PublicDomainName string `json:"publicDomainName"`

	/* 实例内网域名<br>- 仅支持MySQL (Optional) */
	InternalDomainName string `json:"internalDomainName"`

	/* 实例创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 实例跨地域备份服务开启相关信息 (Optional) */
	BackupSynchronicity []BackupSynchronicityAbstract `json:"backupSynchronicity"`

	/* 计费配置 (Optional) */
	Charge charge.Charge `json:"charge"`

	/* 标签信息 (Optional) */
	Tags []Tag `json:"tags"`

	/* MySQL、PostgreSQL只读实例对应的主实例ID (Optional) */
	SourceInstanceId string `json:"sourceInstanceId"`

	/* 应用访问端口<br>- 仅支持MySQL (Optional) */
	InstancePort string `json:"instancePort"`
}

type DBInstanceAccountForOps added in v1.37.0

type DBInstanceAccountForOps struct {

	/* 运维账号的名称,默认为jcloud-ops-ro (Optional) */
	AccountName string `json:"accountName"`

	/* 运维账号创建时间,UTC时间格式 (Optional) */
	CreateTime string `json:"createTime"`

	/* 运维账号到期时间,UTC时间格式 (Optional) */
	ExpiredTime string `json:"expiredTime"`
}

type DBInstanceAttribute added in v1.0.6

type DBInstanceAttribute struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName string `json:"instanceName"`

	/* 实例类型,例如主实例,只读实例等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceType string `json:"instanceType"`

	/* 实例引擎类型,如MySQL或SQL Server等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 实例规格代码 (Optional) */
	InstanceClass string `json:"instanceClass"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStorageType string `json:"instanceStorageType"`

	/* 实例数据加密. false:不加密; true:加密 (Optional) */
	StorageEncrypted bool `json:"storageEncrypted"`

	/* 磁盘,单位GB (Optional) */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* CPU核数 (Optional) */
	InstanceCPU int `json:"instanceCPU"`

	/* 内存大小,单位MB (Optional) */
	InstanceMemoryMB int `json:"instanceMemoryMB"`

	/* 地域ID,参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md) (Optional) */
	RegionId string `json:"regionId"`

	/* 可用区ID,第一个为主实例在的可用区,参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md) (Optional) */
	AzId []string `json:"azId"`

	/* VPC的ID (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网的ID (Optional) */
	SubnetId string `json:"subnetId"`

	/* 参数组的ID<br>- 仅支持MySQL (Optional) */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 参数组的名称<br>- 仅支持MySQL (Optional) */
	ParameterGroupName string `json:"parameterGroupName"`

	/* 参数的状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- 仅支持MySQL (Optional) */
	ParameterStatus string `json:"parameterStatus"`

	/* 实例内网域名 (Optional) */
	InternalDomainName string `json:"internalDomainName"`

	/* 实例公网域名 (Optional) */
	PublicDomainName string `json:"publicDomainName"`

	/* 应用访问端口 (Optional) */
	InstancePort string `json:"instancePort"`

	/* 访问模式,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- 仅支持MySQL (Optional) */
	ConnectionMode string `json:"connectionMode"`

	/* 审计状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- 仅支持MySQL (Optional) */
	AuditStatus string `json:"auditStatus"`

	/* 实例状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStatus string `json:"instanceStatus"`

	/* 实例创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 计费配置 (Optional) */
	Charge charge.Charge `json:"charge"`

	/* MySQL只读实例对应的主实例ID<br>- 仅支持MySQL (Optional) */
	SourceInstanceId string `json:"sourceInstanceId"`

	/* 只读实例ID列表<br>- 仅支持MySQL (Optional) */
	RoInstanceIds []string `json:"roInstanceIds"`

	/* 高可用集群中主节点的信息<br>- 仅支持SQL Server (Optional) */
	PrimaryNode DBInstanceNode `json:"primaryNode"`

	/* 高可用集群中从节点的信息<br>- 仅支持SQL Server (Optional) */
	SecondaryNode DBInstanceNode `json:"secondaryNode"`

	/* 标签信息 (Optional) */
	Tags []Tag `json:"tags"`

	/* 对接的目录服务的相关信息<br>仅支SQL Server (Optional) */
	ActiveDirectory ADService `json:"activeDirectory"`

	/* 只读代理服务 ID (Optional) */
	RoInstanceProxyID string `json:"roInstanceProxyID"`

	/* 只读代理服务 名称 (Optional) */
	RoInstanceProxyName string `json:"roInstanceProxyName"`

	/* 读写分离代理服务 ID (Optional) */
	ReadWriteProxyId string `json:"readWriteProxyId"`

	/* 实例关联的数据同步任务Id;未关联数据同步任务时返回空 (Optional) */
	SyncTaskId string `json:"syncTaskId"`

	/* 实例内网域名解析到的内网IP地址<br>仅支持MySQL, Percona, MariaDB (Optional) */
	InstanceVip string `json:"instanceVip"`
}

type DBInstanceInternal added in v1.12.0

type DBInstanceInternal struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName string `json:"instanceName"`

	/* 实例引擎类型,如MySQL或SQL Server等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Engine string `json:"engine"`

	/* 实例类别,例如主实例,只读实例等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceType string `json:"instanceType"`

	/* 实例状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStatus string `json:"instanceStatus"`

	/* 实例的网络状态;0表示实例的网络处于中断状态,1表示实例的网络处于正常状态 (Optional) */
	AccessibleStatus int `json:"accessibleStatus"`
}

type DBInstanceNode added in v1.1.3

type DBInstanceNode struct {

	/* 节点id (Optional) */
	Id string `json:"id"`

	/* 节点名称 (Optional) */
	Name string `json:"name"`

	/* 节点状态 (Optional) */
	Status string `json:"status"`
}

type DBInstanceParameter added in v1.3.0

type DBInstanceParameter struct {

	/* 参数名称 (Optional) */
	Name string `json:"name"`

	/* 参数描述 (Optional) */
	Description string `json:"description"`

	/* 参数修改后的数值,但不一定生效,需要视该参数生效是否需要重启 (Optional) */
	ConfigureValue string `json:"configureValue"`

	/* 当前在实例中生效的数值 (Optional) */
	RunningValue string `json:"runningValue"`

	/* 该参数数值的允许范围 (Optional) */
	Range string `json:"range"`

	/* 修改是否需要重启生效.- true:参数需要重启才能生效- false:参数生效无需重启 (Optional) */
	NeedRestart string `json:"needRestart"`
}

type DBInstanceSpec added in v1.0.6

type DBInstanceSpec struct {

	/* 实例名,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName *string `json:"instanceName"`

	/* 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	EngineVersion string `json:"engineVersion"`

	/* 实例规格代码,可以查看文档[MySQL 实例规格](../Instance-Specifications/Instance-Specifications-MySQL.md)、[SQL Server实例规格](../Instance-Specifications/Instance-Specifications-SQLServer.md)  */
	InstanceClass string `json:"instanceClass"`

	/* 磁盘大小,单位GB,可以查看文档[MySQL 实例规格](../Instance-Specifications/Instance-Specifications-MySQL.md)、[SQL Server实例规格](../Instance-Specifications/Instance-Specifications-SQLServer.md)  */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* 可用区ID, 第一个ID必须为主实例所在的可用区。如两个可用区一样,也需输入两个azId  */
	AzId []string `json:"azId"`

	/* VPC的ID  */
	VpcId string `json:"vpcId"`

	/* 子网ID  */
	SubnetId string `json:"subnetId"`

	/* 参数组ID, 缺省系统会创建一个默认参数组<br>- 仅支持MySQL (Optional) */
	ParameterGroup *string `json:"parameterGroup"`

	/* 计费规格,包括计费类型,计费周期等  */
	ChargeSpec *charge.ChargeSpec `json:"chargeSpec"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md), 缺省值为:LOCAL_SSD<br>- 仅支持MySQL (Optional) */
	InstanceStorageType *string `json:"instanceStorageType"`

	/* 应用访问端口,支持的端口范围:1150~5999。MySQL、Percona、MariaDB的默认值为 3306;SQL SQL Server的默认值为1433,不支持5022;PostgreSQL的默认端口号为5432; (Optional) */
	InstancePort *string `json:"instancePort"`

	/* 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密,true:加密,缺省为false<br>- 仅支持MySQL (Optional) */
	StorageEncrypted *bool `json:"storageEncrypted"`

	/* 实例的高可用架构。standalone:单机,cluster:主备双机架构,缺省为cluster<br>- 仅支持SQL Server (Optional) */
	InstanceType *string `json:"instanceType"`
}

type DBInstanceSpecWithoutCharge added in v1.12.0

type DBInstanceSpecWithoutCharge struct {

	/* 实例名,具体规则可参见帮助中心文档:[名称及密码限制](https://docs.jdcloud.com/cn/rds/sqlserver-restrictions)  */
	InstanceName string `json:"instanceName"`

	/* 实例引擎类型,参见[枚举参数定义](https://docs.jdcloud.com/cn/rds/api/enum-definitions)  */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](https://docs.jdcloud.com/cn/rds/api/enum-definitions)  */
	EngineVersion string `json:"engineVersion"`

	/* 实例规格代码,可以查看文档[MySQL 实例规格](https://docs.jdcloud.com/cn/rds/api/instance-specifications-mysql)、[SQL Server实例规格](https://docs.jdcloud.com/cn/rds/api/instance-specifications-sqlserver)  */
	InstanceClass string `json:"instanceClass"`

	/* 磁盘大小,单位GB,可以查看文档[MySQL 实例规格](https://docs.jdcloud.com/cn/rds/api/instance-specifications-mysql)、[SQL Server实例规格](https://docs.jdcloud.com/cn/rds/api/instance-specifications-sqlserver)  */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* 可用区ID, 第一个ID必须为主实例所在的可用区。如两个可用区一样,也需输入两个azId  */
	AzId []string `json:"azId"`

	/* VPC的ID  */
	VpcId string `json:"vpcId"`

	/* 子网ID  */
	SubnetId string `json:"subnetId"`

	/* 参数组ID, 缺省系统会创建一个默认参数组<br>- 仅支持MySQL (Optional) */
	ParameterGroup string `json:"parameterGroup"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md), 缺省值为:LOCAL_SSD<br>- 仅支持MySQL (Optional) */
	InstanceStorageType string `json:"instanceStorageType"`

	/* 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密,true:加密,缺省为false<br>- 仅支持MySQL (Optional) */
	StorageEncrypted bool `json:"storageEncrypted"`

	/* 实例的高可用架构。standalone:单机,cluster:主备双机架构,缺省为cluster<br>- 仅支持SQL Server (Optional) */
	InstanceType string `json:"instanceType"`
}

type Database added in v1.0.6

type Database struct {

	/* 数据库名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	DbName string `json:"dbName"`

	/* 数据库状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>- **MySQL:不支持,不返回该字段**<br>- **SQL Server:返回该字段** (Optional) */
	DbStatus string `json:"dbStatus"`

	/* 字符集,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	CharacterSetName string `json:"characterSetName"`

	/* 数据库创建时间,格式YYYY-MM-DD HH:mm:ss<br>- 仅支持SQL Server (Optional) */
	CreateTime string `json:"createTime"`

	/* 该数据库相关账户权限列表 (Optional) */
	AccessPrivilege []DBAccessPrivilege `json:"accessPrivilege"`
}

type DatabasePrivilege added in v1.16.0

type DatabasePrivilege struct {

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

	/* 账号对数据库所具有的细粒度权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Privileges []string `json:"privileges"`

	/* 数据库表的细粒度权限内容 (Optional) */
	TablePrivileges []TablePrivilege `json:"tablePrivileges"`
}

type DigestData added in v1.1.1

type DigestData struct {

	/* 表示执行结果中95% 数据小于或等于此数值 (Optional) */
	Pct95 float32 `json:"pct95"`

	/* 执行结果的最大值 (Optional) */
	Max float32 `json:"max"`

	/* 执行结果的平均值 (Optional) */
	Avg float32 `json:"avg"`

	/* 执行结果的最小值 (Optional) */
	Min float32 `json:"min"`

	/* 执行结果的合计值 (Optional) */
	Total float64 `json:"total"`
}

type ErrorLog added in v1.0.6

type ErrorLog struct {

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

	/* 错误日志文件大小,单位Byte (Optional) */
	SizeByte int64 `json:"sizeByte"`

	/* 错误日志最后更新时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	LastUpdateTime string `json:"lastUpdateTime"`

	/* 错误日志上传时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	UploadTime string `json:"uploadTime"`

	/* 公网下载链接 (Optional) */
	PublicURL string `json:"publicURL"`

	/* 内网下载链接 (Optional) */
	InternalURL string `json:"internalURL"`
}

type ErrorLogDigest added in v1.16.0

type ErrorLogDigest struct {

	/* 错误日志开始执行时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 数据库名,表示该SQL是在哪个数据库中执行的 (Optional) */
	DbName string `json:"dbName"`

	/* 数据库账号,表示该数据库在哪个账号下面 (Optional) */
	DbNameAccount string `json:"dbNameAccount"`

	/* 错误日志信息 (Optional) */
	ErrorLogInformation string `json:"errorLogInformation"`

	/* 错误日志级别 (Optional) */
	ErrorSeverity string `json:"errorSeverity"`
}

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 HealthCheck added in v1.37.0

type HealthCheck struct {

	/* 健康检查时间间隔,范围为1~600,单位为秒;默认值为100 (Optional) */
	MonitorInterval int `json:"monitorInterval"`

	/* 后端实例连接超时时间,范围为1~60,单位为秒;默认值为3 (Optional) */
	BackendConnectTimeout int `json:"backendConnectTimeout"`

	/* 后端实例连接重试次数,范围为1~10,单位为次;默认值为1 (Optional) */
	BackendConnectAttempts int `json:"backendConnectAttempts"`
}

type HealthCheckSpec added in v1.37.0

type HealthCheckSpec struct {

	/* 健康检查时间间隔,范围为1~600,单位为秒;默认值为100 (Optional) */
	MonitorInterval *int `json:"monitorInterval"`

	/* 后端实例连接超时时间,范围为1~60,单位为秒;默认值为3 (Optional) */
	BackendConnectTimeout *int `json:"backendConnectTimeout"`

	/* 后端实例连接重试次数,范围为1~10,单位为次;默认值为1 (Optional) */
	BackendConnectAttempts *int `json:"backendConnectAttempts"`
}

type ImportFile

type ImportFile struct {

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

	/* 如果该文件是共享文件,则有全局ID,如不是共享文件,则为空。该全局ID在文件删除时,需要用到 (Optional) */
	SharedFileGid string `json:"sharedFileGid"`

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

	/* 文件上传完成时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	UploadTime string `json:"uploadTime"`

	/* 是否所属当前实例.<br> 1:当前实例;<br>0:不是当前实例,为共享文件 (Optional) */
	IsLocal string `json:"isLocal"`

	/* 文件状态<br>- 仅支持SQL Server (Optional) */
	Status string `json:"status"`

	/* 导入完成时间,格式为:YYYY-MM-DD HH:mm:ss<br>- 仅支持SQL Server (Optional) */
	ImportTime string `json:"importTime"`
}

type IndexPerformanceResult added in v1.0.6

type IndexPerformanceResult struct {

	/* 数据库名 (Optional) */
	Db string `json:"db"`

	/* 表名 (Optional) */
	Table string `json:"table"`

	/* 索引名 (Optional) */
	Index string `json:"index"`

	/* 索引大小,单位KB (Optional) */
	SizeKB int `json:"sizeKB"`

	/* 服务器启动以来,累计索引搜索次数 (Optional) */
	UserSeeks int `json:"userSeeks"`

	/* 服务器启动以来,累计表扫描次数 (Optional) */
	UserScans int `json:"userScans"`

	/* 服务器启动以来,累计索引更新次数 (Optional) */
	UserUpdates int `json:"userUpdates"`

	/* 最近索引搜索时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	LastUserSeek string `json:"lastUserSeek"`

	/* 最近表扫描时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	LastUserScan string `json:"lastUserScan"`

	/* 最近索引更新时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	LastUserUpdate string `json:"lastUserUpdate"`
}

type InterceptResult added in v1.5.0

type InterceptResult struct {

	/* SQL开始执行时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 源IP (Optional) */
	Ip string `json:"ip"`

	/* 账号名 (Optional) */
	AccountName string `json:"accountName"`

	/* 线程ID (Optional) */
	ThreadId string `json:"threadId"`

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

	/* sql语句 (Optional) */
	Sql string `json:"sql"`
}

type Log added in v1.12.0

type Log struct {

	/* 日志文件id (Optional) */
	Id string `json:"id"`

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

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

	/* 日志最后更改时间 (Optional) */
	LastModified string `json:"lastModified"`

	/* 公网下载链接 (Optional) */
	PublicURL string `json:"publicURL"`

	/* 内网下载链接 (Optional) */
	InternalURL string `json:"internalURL"`
}

type MissingIndexResult added in v1.0.6

type MissingIndexResult struct {

	/* 数据库名 (Optional) */
	Db string `json:"db"`

	/* 表名 (Optional) */
	Table string `json:"table"`

	/* 构成相等谓词的列的逗号分隔列表,谓词的形式如下:<br>table.column =constant_value (Optional) */
	EqualityColumns string `json:"equalityColumns"`

	/* 用于查询的涵盖列的逗号分隔列表,即创建索引的SQL语句中,Include后的字段 (Optional) */
	InequalityColumns string `json:"inequalityColumns"`

	/* 构成不等谓词的列的逗号分隔列表,例如以下形式的谓词:<br>table.column > constant_value<br>“=”之外的任何比较运算符都表示不相等。 (Optional) */
	IncludedColumns string `json:"includedColumns"`

	/* 实现此缺失索引后,用户查询可能获得的平均百分比收益。 该值表示如果实现此缺失索引,则查询成本将按此百分比平均下降。 (Optional) */
	AvgUserImpact float32 `json:"avgUserImpact"`

	/* 由可能使用了组中建议索引的用户查询所导致的扫描次数。 (Optional) */
	UserScans int `json:"userScans"`

	/* 由可能使用了组中建议索引的用户查询所导致的搜索次数。 (Optional) */
	UserSeeks int `json:"userSeeks"`
}

type Parameter added in v1.3.0

type Parameter struct {

	/* 参数名称  */
	Name string `json:"name"`

	/* 参数修改值  */
	Value string `json:"value"`
}

type ParameterGroup added in v1.5.0

type ParameterGroup struct {

	/* 参数组ID (Optional) */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 参数组名称 (Optional) */
	ParameterGroupName string `json:"parameterGroupName"`

	/* 参数组状态 (Optional) */
	ParameterGroupStatus string `json:"parameterGroupStatus"`

	/* 参数组描述 (Optional) */
	Description string `json:"description"`

	/* 实例引擎类型 (Optional) */
	Engine string `json:"engine"`

	/* 数据库版本 (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Optional) */
	RegionId string `json:"regionId"`

	/* 参数组创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type ParameterGroupParameter added in v1.5.0

type ParameterGroupParameter struct {

	/* 参数名称 (Optional) */
	Name string `json:"name"`

	/* 参数描述 (Optional) */
	Description string `json:"description"`

	/* 参数修改后的数值,但不一定生效,需要视该参数生效是否需要重启 (Optional) */
	ConfigureValue string `json:"configureValue"`

	/* 参数默认值 (Optional) */
	DefaultValue string `json:"defaultValue"`

	/* 该参数数值的允许修改范围 (Optional) */
	Range string `json:"range"`

	/* 参数数值的类型 (Optional) */
	Type string `json:"type"`

	/* 参数修改是否需要重启生效.- true:参数需要重启才能生效- false:参数生效无需重启 (Optional) */
	NeedRestart string `json:"needRestart"`
}

type ParameterModifyRecords added in v1.5.0

type ParameterModifyRecords struct {

	/* 参数名称 (Optional) */
	Name string `json:"name"`

	/* 修改前的参数值 (Optional) */
	PreModify string `json:"preModify"`

	/* 修改后的参数值 (Optional) */
	PostModify string `json:"postModify"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type QueryPerformanceResult added in v1.0.6

type QueryPerformanceResult struct {

	/* sql语句 (Optional) */
	Sql string `json:"sql"`

	/* 上次执行时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	LastExecutionTime string `json:"lastExecutionTime"`

	/* 平均执行时长,单位毫秒(ms) (Optional) */
	ElapsedTime int `json:"elapsedTime"`

	/* 执行次数 (Optional) */
	ExecutionCount int `json:"executionCount"`

	/* 平均CPU使用时间,单位毫秒(ms) (Optional) */
	WorkerTime int `json:"workerTime"`

	/* 平均逻辑读次数 (Optional) */
	LogicalReads int `json:"logicalReads"`

	/* 平均逻辑写次数 (Optional) */
	LogicalWrites int `json:"logicalWrites"`

	/* 平均物理读次数 (Optional) */
	PhysicalReads int `json:"physicalReads"`

	/* 上次返回记录数 (Optional) */
	LastRows int `json:"lastRows"`
}

type ROInstanceProxyAttribute added in v1.37.0

type ROInstanceProxyAttribute struct {

	/* 只读代理服务 ID (Optional) */
	RoInstanceProxyID string `json:"roInstanceProxyID"`

	/* 只读代理服务名称 (Optional) */
	Name string `json:"name"`

	/* 只读代理服务公网域名 (Optional) */
	PublicDomainName string `json:"publicDomainName"`

	/* 只读代理服务内网域名 (Optional) */
	InternalDomainName string `json:"internalDomainName"`

	/* 只读代理服务访问端口 (Optional) */
	Port string `json:"port"`

	/* 只读代理服务转发策略 (Optional) */
	Strategy string `json:"strategy"`

	/* 绑定的只读实例 ID 列表 (Optional) */
	RoInstanceId []string `json:"roInstanceId"`

	/* 只读实例列表 (Optional) */
	RoInstanceList []RoInstanceList `json:"roInstanceList"`
}

type ReadWriteProxy added in v1.37.0

type ReadWriteProxy struct {

	/* 读写分离代理服务 ID (Optional) */
	ReadWriteProxyId string `json:"readWriteProxyId"`

	/* 读写分离代理服务的状态;参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Status string `json:"status"`

	/* 读写分离代理服务关联的RDS实例 ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 读写分离代理服务公网域名 (Optional) */
	PublicDomainName string `json:"publicDomainName"`

	/* 读写分离代理服务内网域名 (Optional) */
	InternalDomainName string `json:"internalDomainName"`

	/* 读写分离代理服务访问端口 (Optional) */
	Port string `json:"port"`

	/* 延迟阈值 (Optional) */
	DelayThreshold int `json:"delayThreshold"`

	/* 读写分离代理后端实例负载均衡策略;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	LoadBalancerPolicy string `json:"loadBalancerPolicy"`

	/* 后端实例健康检查配置详情 (Optional) */
	HealthCheck HealthCheck `json:"healthCheck"`
}

type ResourceInfo added in v1.3.0

type ResourceInfo struct {

	/* 实例id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 实例名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 备注 (Optional) */
	Remark string `json:"remark"`

	/* 绑定的资源 (Optional) */
	Bind []ResourceInfo `json:"bind"`
}

type RestoredNewDBInstanceSpec added in v1.0.11

type RestoredNewDBInstanceSpec struct {

	/* 数据库实例名,名称的限制可参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName *string `json:"instanceName"`

	/* 实例规格代码,可以查看文档[MySQL 实例规格](../Instance-Specifications/Instance-Specifications-MySQL.md)、[SQL Server实例规格](../Instance-Specifications/Instance-Specifications-SQLServer.md)  */
	InstanceClass string `json:"instanceClass"`

	/* 磁盘大小,单位GB  */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* 可用区ID, 第一个ID必须为主实例所在的可用区。如两个可用区一样,也需输入两个azId  */
	AzId []string `json:"azId"`

	/* VPC的ID  */
	VpcId string `json:"vpcId"`

	/* 子网ID  */
	SubnetId string `json:"subnetId"`

	/* 参数组ID, 缺省系统会创建一个默认参数组<br>- 仅支持MySQL (Optional) */
	ParameterGroup *string `json:"parameterGroup"`

	/* 计费规格,包括计费类型,计费周期等  */
	ChargeSpec *charge.ChargeSpec `json:"chargeSpec"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md), 缺省值为:LOCAL_SSD<br>- 仅支持MySQL (Optional) */
	InstanceStorageType *string `json:"instanceStorageType"`

	/* 应用访问端口,支持的端口范围:1150~5999。MySQL、Percona、MariaDB的默认值为 3306;PostgreSQL的默认端口号为5432; (Optional) */
	InstancePort *string `json:"instancePort"`

	/* 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密,true:加密,缺省为false<br>- 仅支持MySQL (Optional) */
	StorageEncrypted *bool `json:"storageEncrypted"`

	/* 实例的高可用架构。standalone:单机,cluster:主备双机架构,缺省为cluster<br>- 仅支持SQL Server (Optional) */
	InstanceType *string `json:"instanceType"`
}

type RoInstanceList added in v1.46.0

type RoInstanceList struct {

	/* 只读实例ID (Optional) */
	Id string `json:"id"`

	/* 只读实例名称 (Optional) */
	Name string `json:"name"`
}

type Schema added in v1.16.0

type Schema struct {

	/* 原数据库名  */
	DbName string `json:"dbName"`

	/* 新数据库名  */
	NewDBName string `json:"newDBName"`

	/* 原数据库表名 (Optional) */
	TableName string `json:"tableName"`

	/* 新数据库表名 (Optional) */
	NewTableName string `json:"newTableName"`
}

type SlowLogAttributes added in v1.1.1

type SlowLogAttributes struct {

	/* 数据库名,表示该SQL是在哪个数据库中执行的 (Optional) */
	DbName string `json:"dbName"`

	/* SQL语句 (Optional) */
	Sql string `json:"sql"`

	/* SQL语句执行的开始时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	ExecutionTime string `json:"executionTime"`

	/* SQL语句执行的时长,单位秒 (Optional) */
	ElapsedTime float32 `json:"elapsedTime"`

	/* SQL语句等待锁的时间,单位秒 (Optional) */
	LockTime float32 `json:"lockTime"`

	/* SQL语句扫描的行数 (Optional) */
	RowsExamined int `json:"rowsExamined"`

	/* SQL语句返回的行数 (Optional) */
	RowsReturned int `json:"rowsReturned"`
}

type SlowLogDigest added in v1.1.1

type SlowLogDigest struct {

	/* 数据库名,表示该SQL是在哪个数据库中执行的 (Optional) */
	DbName string `json:"dbName"`

	/* SQL语句 (Optional) */
	Sql string `json:"sql"`

	/* SQL语句执行的开始时间,格式为YYYY-MM-DD hh:mm:ss (Optional) */
	ExecutionTime string `json:"executionTime"`

	/* SQL语句的执行次数 (Optional) */
	ExecutionCount int `json:"executionCount"`

	/* SQL语句执行的时长,单位秒 (Optional) */
	ElapsedTime DigestData `json:"elapsedTime"`

	/* SQL语句等待锁的时间,单位秒 (Optional) */
	LockTime DigestData `json:"lockTime"`

	/* SQL语句的长度 (Optional) */
	SqlLength DigestData `json:"sqlLength"`

	/* SQL语句扫描的行数 (Optional) */
	RowsExamined DigestData `json:"rowsExamined"`

	/* SQL语句返回的行数 (Optional) */
	RowsReturned DigestData `json:"rowsReturned"`
}

type SoldOut added in v1.16.0

type SoldOut struct {

	/* 实例引擎类型,如MySQL或SQL Server等,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Engine string `json:"engine"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStorageType string `json:"instanceStorageType"`

	/* 可用区ID,第一个为主实例在的可用区,参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md) (Optional) */
	AzId []string `json:"azId"`
}

type StatusDetail added in v1.46.0

type StatusDetail struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
	InstanceName string `json:"instanceName"`

	/* 实例状态,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	InstanceStatus string `json:"instanceStatus"`

	/* 开启TDE加密后,实例级别的TDE生效状态,TDE加密已生效,返回true;如未生效,返回false; (Optional) */
	TdeStatus string `json:"tdeStatus"`
}

type TablePrivilege added in v1.16.0

type TablePrivilege struct {

	/* 数据库表名称 (Optional) */
	TableName string `json:"tableName"`

	/* 账号对数据库表所具有的细粒度权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	Privileges []string `json:"privileges"`
}

type Tag added in v1.3.0

type Tag struct {

	/* 标签键 (Optional) */
	Key string `json:"key"`

	/* 标签值 (Optional) */
	Value string `json:"value"`
}

type WhiteList added in v1.0.9

type WhiteList struct {

	/* 白名单名称 (Optional) */
	Name string `json:"name"`

	/* IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Optional) */
	Ips string `json:"ips"`
}

Jump to

Keyboard shortcuts

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