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: 0 Imported by: 10 modules, 9 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 ClusterDetailModel

type ClusterDetailModel struct {

	/* 集群ID (Optional) */
	Id string `json:"id"`

	/* 集群名称,长度为6到32个字符,支持中文、数字、大小写字母、英文下划线“_”及中划线“-” (Optional) */
	Name string `json:"name"`

	/* 集群主键ID (Optional) */
	ClusterPrimaryId int64 `json:"clusterPrimaryId"`

	/* 集群状态 (Optional) */
	Status string `json:"status"`

	/* 节点数量 (Optional) */
	NodeCount int `json:"nodeCount"`

	/* 付费类型 (Optional) */
	PayType string `json:"payType"`

	/* 付费价格 (Optional) */
	PayPrice string `json:"payPrice"`

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

	/* 运营时长 (Optional) */
	Duration string `json:"duration"`

	/*  (Optional) */
	Hardware []HardwareInfo `json:"hardware"`

	/* 软件信息 (Optional) */
	SoftwareStack interface{} `json:"softwareStack"`

	/* 地域,同regionID (Optional) */
	DataCenter string `json:"dataCenter"`

	/* 是否关联对象存储 (Optional) */
	JssFlag bool `json:"jssFlag"`

	/* 是否为高可用模式 (Optional) */
	HaFlag bool `json:"haFlag"`

	/* 私有网络名称 (Optional) */
	VpcName string `json:"vpcName"`

	/* 子网名称 (Optional) */
	VpcSubnetName string `json:"vpcSubnetName"`

	/* 网络带宽 (Optional) */
	BandwidthOut int `json:"bandwidthOut"`
}

type ClusterModel

type ClusterModel struct {

	/* 集群名称,长度为6到32个字符,支持中文、数字、大小写字母、英文下划线“_”及中划线“-” (Optional) */
	Name *string `json:"name"`

	/* "集群密码"
	"1.必须包含大写字母、小写字母、数字及特殊字符中三类,且不能少于8字符不能超过30字符"
	"2.特殊字符如下!@#$%^*"
	"3.不能出现的字符或完整单词,如下:jd、JD、360、bug、BUG、com、COM、jcloud、JCLOUD、cloud、CLOUD、password、PASSWORD"
	"4.不能出现连续数字,例:123、987"
	"5.不能出现连续或键位连续字母,例:abc、CBA、bcde、qaz、tfc、zaq、qwer"
	"6.密码中不能出现自己的用户名"
	 (Optional) */
	Password *string `json:"password"`

	/* "软件服务版本,请填写以下列表中的一个:"
	"JMR1.0.0"
	"JMR1.0.1"
	"JMR1.0.2"
	"JMR2.0.0"
	"JMR_BD-OS-1.0"
	 (Optional) */
	Version *string `json:"version"`

	/* "付费类型,请填写以下列表中的一个:"
	"按量"
	 (Optional) */
	PayType *string `json:"payType"`

	/* Master节点数量 (Optional) */
	MasterNodeNumber *int `json:"masterNodeNumber"`

	/* "Master节点云盘类型,可传类型为(以下以“/”分割各类型)"
	"NBD/NBD_SATA"
	"分别代表:性能型/容量型"
	 (Optional) */
	MasterNodeDiskType *string `json:"masterNodeDiskType"`

	/* Master节点云盘容量,必须是10的整数倍,且大于20小于3000 (Optional) */
	MasterNodeDiskVolume *int `json:"masterNodeDiskVolume"`

	/* Master节点规格,比如:g.n1.xlarge,更多规格请参考[文档](https://www.jdcloud.com/help/detail/296/isCatalog/1) (Optional) */
	MasterInstanceType *string `json:"masterInstanceType"`

	/* Slave节点数量 (Optional) */
	SlaveNodeNumber *int `json:"slaveNodeNumber"`

	/* "Slave节点云盘类型,可传类型为(以下以“/”分割各类型)"
	"NBD/NBD_SATA"
	"分别代表:性能型/容量型"
	 (Optional) */
	SlaveNodeDiskType *string `json:"slaveNodeDiskType"`

	/* Slave节点云盘容量,必须是10的整数倍,且大于20小于3000 (Optional) */
	SlaveNodeDiskVolume *int `json:"slaveNodeDiskVolume"`

	/* Core节点规格,比如:g.n1.xlarge,更多规格请参考[文档](https://www.jdcloud.com/help/detail/296/isCatalog/1) (Optional) */
	CoreInstanceType *string `json:"coreInstanceType"`

	/* 地域,同regionID (Optional) */
	DataCenter *string `json:"dataCenter"`

	/* 软件清单,不同软件之间以英文逗号(,)分割,参考[文档](https://www.jdcloud.com/help/detail/1323/isCatalog/1) (Optional) */
	SoftwareList *string `json:"softwareList"`

	/* 是否关联对象存储 (Optional) */
	JssFlag *bool `json:"jssFlag"`

	/* 集群是否为高可用模式 (Optional) */
	HaFlag *bool `json:"haFlag"`

	/* 私有网络ID (Optional) */
	VpcId *string `json:"vpcId"`

	/* 子网UUID,可以通过查询子网列表获得 (Optional) */
	VpcSubnetId *string `json:"vpcSubnetId"`

	/* 网络带宽上限 (Optional) */
	Bandwidth *int `json:"bandwidth"`
}

type HardwareInfo

type HardwareInfo struct {

	/* 节点名称 (Optional) */
	NodeName string `json:"nodeName"`

	/* 节点类型 (Optional) */
	NodeType string `json:"nodeType"`

	/* 节点状态 (Optional) */
	NodeStatus string `json:"nodeStatus"`

	/* 内网IP (Optional) */
	InnerIp string `json:"innerIp"`

	/* 外网IP (Optional) */
	OuterIp string `json:"outerIp"`

	/* 防火墙 (Optional) */
	Firewall string `json:"firewall"`

	/* 节点核心数 (Optional) */
	NodeCoreNum int `json:"nodeCoreNum"`

	/* 节点内存数 (Optional) */
	NodeMemoryNum int `json:"nodeMemoryNum"`

	/* 节点系统信息 (Optional) */
	NodeSystemInfo string `json:"nodeSystemInfo"`

	/* 节点硬盘类型 (Optional) */
	NodeDiskType string `json:"nodeDiskType"`

	/* 节点硬盘容量 (Optional) */
	NodeDiskVolume int `json:"nodeDiskVolume"`

	/* 节点实例ID (Optional) */
	ServerId string `json:"serverId"`

	/* 消息 (Optional) */
	Msg string `json:"msg"`

	/* 节点硬件配置 (Optional) */
	InstanceType string `json:"instanceType"`

	/* 节点硬件类型 (Optional) */
	InstanceInfo string `json:"instanceInfo"`
}

Jump to

Keyboard shortcuts

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