Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInstance ¶
type CacheInstance struct { /* 实例ID (Optional) */ CacheInstanceId string `json:"cacheInstanceId"` /* 实例名称 (Optional) */ CacheInstanceName string `json:"cacheInstanceName"` /* 实例规格代码,参见实例规格代码表 (Optional) */ CacheInstanceClass string `json:"cacheInstanceClass"` /* 容量,单位MB (Optional) */ CacheInstanceMemoryMB int `json:"cacheInstanceMemoryMB"` /* 实例状态,running:运行,error:错误,creating:创建中,changing:变配中,deleting:删除中 (Optional) */ CacheInstancStatus string `json:"cacheInstancStatus"` /* 实例描述 (Optional) */ CacheInstanceDescription string `json:"cacheInstanceDescription"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* az信息 (Optional) */ AzId AzId `json:"azId"` /* 所属VPC的ID (Optional) */ VpcId string `json:"vpcId"` /* 所属子网的ID (Optional) */ SubnetId string `json:"subnetId"` /* 访问域名 (Optional) */ ConnectionDomain string `json:"connectionDomain"` /* 端口 (Optional) */ Port int `json:"port"` /* 计费信息 (Optional) */ Charge charge.Charge `json:"charge"` }
type CacheInstanceSpec ¶
type CacheInstanceSpec struct { /* 所属VPC的ID */ VpcId string `json:"vpcId"` /* 所属子网的ID */ SubnetId string `json:"subnetId"` /* 实例名称,只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符 */ CacheInstanceName string `json:"cacheInstanceName"` /* 实例规格代码,参见实例规格代码表。 */ CacheInstanceClass string `json:"cacheInstanceClass"` /* 密码,必须包含且只支持字母及数字,不少于8字符不超过16字符 */ Password string `json:"password"` /* 缓存Redis实例所在区域可用区ID信息 */ AzId *AzIdSpec `json:"azId"` /* 缓存Redis实例描述 (Optional) */ CacheInstanceDescription *string `json:"cacheInstanceDescription"` }
type InstanceClass ¶
type InstanceClass struct { /* 实例规格代码,参见实例规格代码表 (Optional) */ InstanceClass string `json:"instanceClass"` /* cpu (Optional) */ Cpu int `json:"cpu"` /* 内存 (Optional) */ MemoryMB int `json:"memoryMB"` /* 磁盘 (Optional) */ DiskGB int `json:"diskGB"` /* 最大链接数 (Optional) */ MaxConnetction int `json:"maxConnetction"` /* 带宽 (Optional) */ BandwidthMbps int `json:"bandwidthMbps"` }
Click to show internal directories.
Click to hide internal directories.