models

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 1 Imported by: 11 modules, 10 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 AzId

type AzId struct {

	/* 缓存Redis主实例所在区域可用区ID (Optional) */
	Master string `json:"master"`

	/* 缓存Redis从实例所在区域可用区ID (Optional) */
	Slave string `json:"slave"`
}

type AzIdSpec

type AzIdSpec struct {

	/* 缓存Redis主实例所在区域可用区ID (Optional) */
	Master *string `json:"master"`

	/* 缓存Redis从实例所在区域可用区ID (Optional) */
	Slave *string `json:"slave"`
}

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"`
}

Jump to

Keyboard shortcuts

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