Documentation
¶
Index ¶
- type AppDesc
- type AppStatistics
- type CategoryDesc
- type CategorySpec
- type DataSourceDesc
- type DataSourceSpec
- type DataSourceTrendItem
- type DataTypeDesc
- type DataTypeSpec
- type EncryptTrendItem
- type FieldDesc
- type FieldSpec
- type FieldTagDesc
- type FieldTagSpec
- type InstanceDesc
- type InstanceSpec
- type KmsSpec
- type LevelSpec
- type OrderVo
- type PackageDetail
- type PackageSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatistics ¶
type CategoryDesc ¶
type CategorySpec ¶
type CategorySpec struct {
/* 敏感数据分类名称 (Optional) */
CategoryName *string `json:"categoryName"`
}
type DataSourceDesc ¶
type DataSourceDesc struct {
/* 数据源ID (Optional) */
DataSourceId string `json:"dataSourceId"`
/* 数据源类型: 1->MySQL (Optional) */
DataSourceType int `json:"dataSourceType"`
/* 数据源名称 (Optional) */
DataSourceName string `json:"dataSourceName"`
/* 数据源地址,域名或IP (Optional) */
DataSourceAddr string `json:"dataSourceAddr"`
/* 数据源端口 (Optional) */
DataSourcePort int `json:"dataSourcePort"`
/* 数据源数据库名称 (Optional) */
DataSourceDbName string `json:"dataSourceDbName"`
/* 区域 (Optional) */
Region string `json:"region"`
/* VPC ID (Optional) */
VpcId string `json:"vpcId"`
/* Subnet ID (Optional) */
SubnetId string `json:"subnetId"`
/* 防护状态: true->已防护,false->未防护 (Optional) */
ProtectStatus bool `json:"protectStatus"`
/* KMS 密钥ID (Optional) */
KmsKeyId string `json:"kmsKeyId"`
/* 数据密钥密文 (Optional) */
KeyCipher string `json:"keyCipher"`
/* 加密算法,AES256/SM4 (Optional) */
EncryptAlgo string `json:"encryptAlgo"`
/* 索引算法,SHA256/SM3 (Optional) */
IndexAlgo string `json:"indexAlgo"`
}
type DataSourceSpec ¶
type DataSourceSpec struct {
/* 数据源名称 */
DataSourceName string `json:"dataSourceName"`
/* 数据源类型: 1->MySQL */
DataSourceType int `json:"dataSourceType"`
/* VPC ID */
VpcId string `json:"vpcId"`
/* Subnet Id */
SubnetId string `json:"subnetId"`
/* 数据源地址 */
DataSourceAddr string `json:"dataSourceAddr"`
/* 数据源端口 */
DataSourcePort int `json:"dataSourcePort"`
/* 数据源数据库名称 */
DataSourceDbName string `json:"dataSourceDbName"`
/* KMS 密钥ID */
KmsKeyId string `json:"kmsKeyId"`
/* 数据密钥密文 */
KeyCipher string `json:"keyCipher"`
/* 加密算法,AES256/SM4 */
EncryptAlgo string `json:"encryptAlgo"`
/* 索引算法,SHA256/SM3 */
IndexAlgo string `json:"indexAlgo"`
}
type DataSourceTrendItem ¶
type DataTypeDesc ¶
type DataTypeSpec ¶
type EncryptTrendItem ¶
type FieldDesc ¶
type FieldDesc struct {
/* 字段名称 (Optional) */
FieldName string `json:"fieldName"`
/* 字段类型,如 varchar (Optional) */
FieldType int `json:"fieldType"`
/* 字段长度,如 11 (Optional) */
FieldLength int `json:"fieldLength"`
/* 字段属性 (Optional) */
FieldAttr string `json:"fieldAttr"`
/* 字段描述 (Optional) */
FieldComment string `json:"fieldComment"`
/* 加密字段 (Optional) */
EncryptField string `json:"encryptField"`
/* 索引字段 (Optional) */
IndexField string `json:"indexField"`
/* 是否保留明文字段 (Optional) */
KeepPlainText bool `json:"keepPlainText"`
/* 敏感数据标记 (Optional) */
FieldTag string `json:"fieldTag"`
/* 敏感数据等级 (Optional) */
FieldLevel string `json:"fieldLevel"`
}
type FieldTagDesc ¶
type FieldTagSpec ¶
type FieldTagSpec struct {
/* 敏感数据类型ID (Optional) */
TypeId *string `json:"typeId"`
}
type InstanceDesc ¶
type InstanceDesc struct {
/* 实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* 实例名称 (Optional) */
InstanceName string `json:"instanceName"`
/* 实例类型-规格 1->网关版本, 2->插件版本 (Optional) */
InstanceType int `json:"instanceType"`
/* 区域 (Optional) */
InsRegion string `json:"insRegion"`
/* 可用区 (Optional) */
InsZone string `json:"insZone"`
/* 是否为透传模式 (Optional) */
IsBypass bool `json:"isBypass"`
/* 实例运行状态: 1->创建中, 2->运行中, 3->欠费停服 (Optional) */
Status int `json:"status"`
/* 保护的数据源ID (Optional) */
DataSourceId string `json:"dataSourceId"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 更新时间 (Optional) */
UpdateTime string `json:"updateTime"`
/* 域名(网关版本) (Optional) */
Domain string `json:"domain"`
/* AccessKey (Optional) */
AccessKey string `json:"accessKey"`
/* SecretKey (Optional) */
SecretKey string `json:"secretKey"`
}
type InstanceSpec ¶
type InstanceSpec struct {
/* 实例名称,长度限制32字节,允许英文字母,数字,下划线,中划线和中文 */
InstanceName string `json:"instanceName"`
/* 实例类型-规格 1->网关版本, 2->插件版本 */
InstanceType int `json:"instanceType"`
/* 实例副本数量 */
Replicas int `json:"replicas"`
/* 数据源ID */
DataSourceId string `json:"dataSourceId"`
/* AccessKey */
AccessKey string `json:"accessKey"`
/* SecretKey */
SecretKey string `json:"secretKey"`
}
type OrderVo ¶
type OrderVo struct {
/* 付费类型 NEW - 新购 RESIZE_FORMULA - 变配 (Optional) */
OrderType string `json:"orderType"`
/* 需要变配的资源ID(变配必传) (Optional) */
SourceId string `json:"sourceId"`
/* 购买时长类型, 新购时必传.
MONTH: 按月购买
YEAR: 按年购买
(Optional) */
TimeUnit string `json:"timeUnit"`
/* 购买时长, 新购时必传.
timeUnit = MONTH 时, 可取值 1-9
timeUnit = YEAR 时, 可取值 1-3
(Optional) */
TimeSpan int `json:"timeSpan"`
/* 打包标识,组合购使用,可以为空 (Optional) */
TaskId string `json:"taskId"`
/* OPEN-开通自动续费,CLOSE-关闭自动续费,默认关闭
开通自动续费时,renewTimeUnit,renewTimeSpan为必选项
(Optional) */
AutoRenew string `json:"autoRenew"`
/* 自动续费时间单位(MONTH-月,YEAR-年) (Optional) */
RenewTimeUnit string `json:"renewTimeUnit"`
/* 自动续费时长
1. renewTimeUnit=MONTH 时,取值范围 [1,9]
2. renewTimeUnit=YEAR 时,取值范围 [1,3]
(Optional) */
RenewTimeSpan int `json:"renewTimeSpan"`
/* 自动支付标识(SDK下单自动付费时设置为true) (Optional) */
AutoPay bool `json:"autoPay"`
}
type PackageDetail ¶
type PackageSpec ¶
Source Files
¶
- AppDesc.go
- AppStatistics.go
- CategoryDesc.go
- CategorySpec.go
- DataSourceDesc.go
- DataSourceSpec.go
- DataSourceTrendItem.go
- DataTypeDesc.go
- DataTypeSpec.go
- EncryptTrendItem.go
- FieldDesc.go
- FieldSpec.go
- FieldTagDesc.go
- FieldTagSpec.go
- InstanceDesc.go
- InstanceSpec.go
- KmsSpec.go
- LevelSpec.go
- OrderVo.go
- PackageDetail.go
- PackageSpec.go
Click to show internal directories.
Click to hide internal directories.