models

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 0 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 AllocateEipAddress

type AllocateEipAddress struct {

	/* 公网IP名称  */
	Name string `json:"name"`

	/* EIP的带宽峰值,单位为Mbps  */
	Bandwidth string `json:"bandwidth"`

	/* IP服务商  */
	Provider string `json:"provider"`
}

type Apply added in v1.4.0

type Apply struct {

	/* 备注信息 (Optional) */
	Comment *string `json:"comment"`
}

type ArrayDiskAttachment

type ArrayDiskAttachment struct {

	/* 挂载实例的ID (Optional) */
	InstanceId *string `json:"instanceId"`
}

type AssociateEipAddress

type AssociateEipAddress struct {

	/* 云产品的实例ID (Optional) */
	InstanceId *string `json:"instanceId"`

	/* 要绑定的云产品实例的类型 (Optional) */
	InstanceType *string `json:"instanceType"`
}

type AttachDataDisk

type AttachDataDisk struct {

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`

	/* 释放实例时,该云盘是否随实例一起释放。默认值:False (Optional) */
	DeleteWithInstance *bool `json:"deleteWithInstance"`
}

type AttachNetInterface

type AttachNetInterface struct {

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`
}

type AzInfo added in v1.7.0

type AzInfo struct {

	/* 可用域 ID (Optional) */
	ZoneId string `json:"zoneId"`

	/* 名称 (Optional) */
	LocalName string `json:"localName"`
}

type BackendServer

type BackendServer struct {

	/* 所属云ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 负载均衡实例ID。 (Optional) */
	ServerId *string `json:"serverId"`

	/* 负载均衡实例的名称。 (Optional) */
	ServerHealthStatus *string `json:"serverHealthStatus"`

	/* 后端服务器端口。 (Optional) */
	Port *int `json:"port"`

	/* 后端服务器的权重。 (Optional) */
	Weight *int `json:"weight"`

	/* 后端服务器类型。 (Optional) */
	Type *string `json:"type"`
}

type BackendServer2

type BackendServer2 struct {

	/* 后端服务器名(ECS实例)ID。 (Optional) */
	ServerId string `json:"serverId"`

	/* 后端服务器的权重。 (Optional) */
	Weight int `json:"weight"`

	/* 后端服务器类型。 (Optional) */
	Type string `json:"type"`
}

type ChannelBaseInfo added in v1.4.0

type ChannelBaseInfo struct {

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

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

	/* 名称 (Optional) */
	Description *string `json:"description"`

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

type ChannelInfo added in v1.4.0

type ChannelInfo struct {

	/*  (Optional) */
	Info *ChannelBaseInfo `json:"info"`

	/*  (Optional) */
	Source *DataMediaInfo `json:"source"`

	/*  (Optional) */
	Target *DataMediaInfo `json:"target"`
}

type CloudDataDisk

type CloudDataDisk struct {

	/* 云注册信息ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 云硬盘ID (Optional) */
	Id string `json:"id"`

	/* 云硬盘名称 (Optional) */
	Name string `json:"name"`

	/* 云硬盘描述 (Optional) */
	Description string `json:"description"`

	/* 磁盘大小,单位为 GiB (Optional) */
	DiskSizeGB int `json:"diskSizeGB"`

	/* 挂载信息 (Optional) */
	Attachments []ArrayDiskAttachment `json:"attachments"`

	/* 云硬盘所属AZ (Optional) */
	Az string `json:"az"`

	/* 磁盘类型,取值为 ssd 或 premium-hdd (Optional) */
	DiskType string `json:"diskType"`

	/* 创建该云硬盘的快照ID (Optional) */
	SnapshotId string `json:"snapshotId"`

	/* 云硬盘状态 (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	Tags []Tag `json:"tags"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`
}

type CloudInfo

type CloudInfo struct {

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

	/*   */
	Name string `json:"name"`

	/*   */
	Vendor string `json:"vendor"`

	/*   */
	Info interface{} `json:"info"`

	/*  (Optional) */
	Metadata *interface{} `json:"metadata"`
}

type CloudInfoListResp

type CloudInfoListResp struct {

	/*  (Optional) */
	Clouds []CloudInfo `json:"clouds"`
}

type CloudInfoResp

type CloudInfoResp struct {

	/*  (Optional) */
	Cloud CloudInfo `json:"cloud"`
}

type CloudNotFoundException

type CloudNotFoundException struct {

	/*   */
	Message string `json:"message"`

	/*   */
	Code int `json:"code"`

	/*   */
	Payload Payload1 `json:"payload"`
}

type CreateChannel added in v1.4.0

type CreateChannel struct {

	/*  (Optional) */
	Channel ChannelInfo `json:"channel"`
}

type CreateDataDisk

type CreateDataDisk struct {

	/* 云注册信息ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 云硬盘ID (Optional) */
	Id *string `json:"id"`

	/* 云硬盘名称 (Optional) */
	Name *string `json:"name"`

	/* 云硬盘描述 (Optional) */
	Description *string `json:"description"`

	/* 磁盘大小,单位为 GiB  */
	DiskSizeGB int `json:"diskSizeGB"`

	/* 挂载信息 (Optional) */
	Attachments []ArrayDiskAttachment `json:"attachments"`

	/* 云硬盘所属AZ  */
	Az string `json:"az"`

	/* 磁盘类型,取值为 ssd 或 premium-hdd (Optional) */
	DiskType *string `json:"diskType"`

	/* 创建该云硬盘的快照ID (Optional) */
	SnapshotId *string `json:"snapshotId"`

	/* 云硬盘状态 (Optional) */
	Status *string `json:"status"`

	/*  (Optional) */
	Tags []Tag `json:"tags"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`
}

type CreateDatasource added in v1.4.0

type CreateDatasource struct {

	/*  (Optional) */
	Datasource DatasourceInfo `json:"datasource"`
}

type CreateKeypair

type CreateKeypair struct {

	/* 密钥名称  */
	Name string `json:"name"`

	/* 密钥指纹 (Optional) */
	KeyFingerprint *string `json:"keyFingerprint"`

	/* 云注册信息ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 否  导入的公钥 (Optional) */
	PublicKey *string `json:"publicKey"`
}

type CreateLoadBalancerHTTPListener

type CreateLoadBalancerHTTPListener struct {

	/* 是  负载均衡实例ID (Optional) */
	LoadBalancerId *string `json:"loadBalancerId"`

	/* 是  负载均衡实例前端使用的端口 (Optional) */
	ListenerPort *int `json:"listenerPort"`

	/* 是  负载均衡实例后端使用的端口 (Optional) */
	BackendServerPort *int `json:"backendServerPort"`

	/* 否  服务器组ID (Optional) */
	VserverGroupId *string `json:"vserverGroupId"`

	/* 是  监听的带宽峰值 (Optional) */
	Bandwidth *int `json:"bandwidth"`

	/* 否  健康检查使用的端口 (Optional) */
	HealthCheckConnectPort *int `json:"healthCheckConnectPort"`

	/* 否  健康检查连续成功多少次后,将后端服务器的健康检查状态由fail判定为success。取值:2-10 (Optional) */
	HealthyThreshold *int `json:"healthyThreshold"`

	/* 否  健康检查连续失败多少次后,将后端服务器的健康检查状态由success判定为fail。取值:2-10 (Optional) */
	UnhealthyThreshold *int `json:"unhealthyThreshold"`

	/* 否  接收来自运行状况检查的响应需要等待的时间。如果后端ECS在指定的时间内没有正确响应,则判定为健康检查失败。取值:1-300(秒) (Optional) */
	HealthCheckTimeout *int `json:"healthCheckTimeout"`

	/* 否  健康检查的时间间隔。取值:1-50(秒) (Optional) */
	HealthCheckInterval *int `json:"healthCheckInterval"`

	/* 否  健康检查正常的HTTP状态码,多个状态码用逗号分隔。取值:http_2xx(默认值) | http_3xx | http_4xx | http_5xx (Optional) */
	HealthCheckHttpCode *string `json:"healthCheckHttpCode"`
}

type CreateNetInterface

type CreateNetInterface struct {

	/* 网卡的Id (Optional) */
	Id *string `json:"id"`

	/* 网卡名称 (Optional) */
	Name *string `json:"name"`

	/* 网卡描述信息 (Optional) */
	Description *string `json:"description"`

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

	/* 网卡类型 (Optional) */
	Type *string `json:"type"`

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

	/* 可用区的 ID (Optional) */
	Az *string `json:"az"`

	/* 弹性网卡关联的公网 IP (Optional) */
	AssociatedPublicIp *string `json:"associatedPublicIp"`

	/* 弹性网卡主私有 IP 地址 (Optional) */
	PrivateIpAddress *string `json:"privateIpAddress"`

	/* 弹性网卡的 MAC 地址 (Optional) */
	MacAddress *string `json:"macAddress"`

	/* 弹性网卡附加的实例 ID (Optional) */
	InstanceId *string `json:"instanceId"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 安全组  */
	SecurityGroupId string `json:"securityGroupId"`
}

type CreateOSSBucket added in v1.4.0

type CreateOSSBucket struct {

	/* 存储桶名称  */
	Name string `json:"name"`

	/* 创建时间 (Optional) */
	CreationDate *string `json:"creationDate"`

	/* 云信息 (Optional) */
	CloudID *string `json:"cloudID"`

	/* 访问控制,private\public-read\public-read-write (Optional) */
	Acl *string `json:"acl"`
}

type CreateRDSAccount added in v1.4.0

type CreateRDSAccount struct {

	/* 账号名  */
	Name string `json:"name"`

	/* 密码  */
	Password string `json:"password"`
}

type CreateRDSAccountReq added in v1.4.0

type CreateRDSAccountReq struct {

	/*  (Optional) */
	Account CreateRDSAccount `json:"account"`
}

type CreateRDSDB added in v1.4.0

type CreateRDSDB struct {

	/* 数据库名  */
	Name string `json:"name"`

	/* 字符集  */
	CharacterSetName string `json:"characterSetName"`
}

type CreateRDSInstance added in v1.4.0

type CreateRDSInstance struct {

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

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

	/* 计费信息,prepaid\postpaid  */
	PayType string `json:"payType"`

	/* 可用区ID (Optional) */
	Azs []string `json:"azs"`

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

	/* 实例状态 (Optional) */
	Status *string `json:"status"`

	/* 实例类型 (Optional) */
	InstanceType *string `json:"instanceType"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 数据库版本号  */
	EngineVersion string `json:"engineVersion"`

	/* 实例规格  */
	InstanceClass string `json:"instanceClass"`

	/* 磁盘大小,单位GB  */
	StorageGB int `json:"storageGB"`

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

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

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

type CreateRDSInstanceReq added in v1.4.0

type CreateRDSInstanceReq struct {

	/*  (Optional) */
	Instance CreateRDSInstance `json:"instance"`
}

type CreateSecurityGroup

type CreateSecurityGroup struct {

	/* 注册云信息ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 安全组 id (Optional) */
	Id *string `json:"id"`

	/* 目标安全组名称 (Optional) */
	Name *string `json:"name"`

	/* 安全组描述信息 (Optional) */
	Description *string `json:"description"`

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

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`
}

type CreateSgRule added in v1.7.0

type CreateSgRule struct {

	/* 规则类型,ingress、egress  */
	RuleType string `json:"ruleType"`

	/* 协议,tcp、udp、icmp 或者 all  */
	Protocol string `json:"protocol"`

	/* 起始端口  */
	FromPort int `json:"fromPort"`

	/* 终止端口  */
	ToPort int `json:"toPort"`

	/* 安全组ID  */
	SecurityGroupId string `json:"securityGroupId"`

	/* 网络类型,internet、intranet (Optional) */
	NicType *string `json:"nicType"`

	/* 认证策略,accept、drop (Optional) */
	Policy *string `json:"policy"`

	/* 认证策略的权重,1-100。 (Optional) */
	Priority *int `json:"priority"`

	/* 目标IP地址范围  */
	CidrIp string `json:"cidrIp"`
}

type CreateSubnet

type CreateSubnet struct {

	/* Subnet的Id (Optional) */
	Id *string `json:"id"`

	/* 子网名称 (Optional) */
	Name *string `json:"name"`

	/* 子网所属VPC的Id  */
	VpcId string `json:"vpcId"`

	/* 子网网段  */
	CidrBlock string `json:"cidrBlock"`

	/* 子网描述信息 (Optional) */
	Description *string `json:"description"`

	/* 子网所属可用域Id  */
	Az string `json:"az"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`
}

type CreateVm

type CreateVm struct {

	/* 资源ID,如果为空,则执行创建操作,否则执行修改操作 (Optional) */
	Id *string `json:"id"`

	/* 可用区,根据各云平台规范填写 (Optional) */
	Region *string `json:"region"`

	/* 云主机所属的可用区 (Optional) */
	Az *string `json:"az"`

	/* 云主机名称  */
	Name string `json:"name"`

	/* 云主机 (Optional) */
	HostName *string `json:"hostName"`

	/*  (Optional) */
	ImageType *ImageType `json:"imageType"`

	/*  (Optional) */
	InstanceType *InstanceType `json:"instanceType"`

	/* 云主机描述 (Optional) */
	Description *string `json:"description"`

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

	/*  (Optional) */
	Tags []Tag `json:"tags"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 密钥对名称,jd当前只支持传入一个 (Optional) */
	KeyNames []string `json:"keyNames"`

	/* 主网卡主IP绑定弹性IP的地址 (Optional) */
	ElasticIpAddress *string `json:"elasticIpAddress"`

	/* 私有ip地址 (Optional) */
	PrivateIpAddress *string `json:"privateIpAddress"`

	/* 云主机状态 (Optional) */
	Status *string `json:"status"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`

	/* 镜像文件ID,启动实例时选择的镜像资源  */
	ImageId string `json:"imageId"`

	/* 规格类型  */
	InstanceFlavorType string `json:"instanceFlavorType"`

	/* 指定新创建实例所属于的安全组代码,同一个安全组内的实例之间可以互相访问 (Optional) */
	SecurityGroupId *string `json:"securityGroupId"`

	/* 否  公网入带宽最大值,单位为Mbit/s (Optional) */
	InternetMaxBandwidthIn *int `json:"internetMaxBandwidthIn"`

	/* 否  公网出带宽最大值,单位为Mbit/s (Optional) */
	InternetMaxBandwidthOut *int `json:"internetMaxBandwidthOut"`

	/* 否  实例的密码 (Optional) */
	Password *string `json:"password"`

	/* 否  是否使用镜像预设的密码 (Optional) */
	PasswordInherit *bool `json:"passwordInherit"`

	/* 否  实例自定义数据,需要以Base64方式编码,原始数据最多为16KB (Optional) */
	UserData *string `json:"userData"`

	/* 否  密钥对名称 (Optional) */
	KeyPairName *string `json:"keyPairName"`

	/*  (Optional) */
	SystemDisk *SystemDisk `json:"systemDisk"`
}

type CreateVserverGroup

type CreateVserverGroup struct {

	/* 负载均衡实例ID (Optional) */
	LoadBalancerId *string `json:"loadBalancerId"`

	/* 服务器组名称 (Optional) */
	VserverGroupName *string `json:"vserverGroupName"`

	/* 安全组权限规则集合 (Optional) */
	BackendServers []BackendServer `json:"backendServers"`
}

type DataDiskAttachment

type DataDiskAttachment struct {

	/* 是否随云主机一起删除,true:自动;false:非自动 (Optional) */
	AutoDelete bool `json:"autoDelete"`

	/*  (Optional) */
	DataDisk DataDiskInfo `json:"dataDisk"`

	/* 数据盘逻辑挂载点 (Optional) */
	DeviceName string `json:"deviceName"`

	/* 磁盘分类,取值为本地盘(local)或者数据盘(cloud) (Optional) */
	DiskCategory string `json:"diskCategory"`
}

type DataDiskInfo

type DataDiskInfo struct {

	/* 硬盘ID (Optional) */
	DiskId string `json:"diskId"`

	/* 硬盘大小 (Optional) */
	DiskSize int `json:"diskSize"`

	/* 磁盘介质分类,目前为预留,可以为空 (Optional) */
	DiskMediumType string `json:"diskMediumType"`

	/* 磁盘名称 (Optional) */
	DiskName string `json:"diskName"`

	/* 磁盘是否随主机一起删除 (Optional) */
	AutoDelete string `json:"autoDelete"`

	/* 磁盘状态 (Optional) */
	Status string `json:"status"`
}

type DataMediaInfo added in v1.4.0

type DataMediaInfo struct {

	/*  (Optional) */
	Cloud *CloudInfo `json:"cloud"`

	/*  (Optional) */
	Datasource *DatasourceInfo `json:"datasource"`

	/* schema (Optional) */
	Schema *string `json:"schema"`

	/* table (Optional) */
	Tables []string `json:"tables"`
}

type DatasourceInfo added in v1.4.0

type DatasourceInfo struct {

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

	/* 服务器地址 (Optional) */
	Address *string `json:"address"`

	/* 端口 (Optional) */
	Port *int `json:"port"`

	/* 数据库账号 (Optional) */
	Username *string `json:"username"`

	/* 数据库密码 (Optional) */
	Password *string `json:"password"`
}

type DbPrivilegeInfo added in v1.4.0

type DbPrivilegeInfo struct {

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

	/* 权限,RO:只读,RW:读写  */
	Privilege string `json:"privilege"`
}

type Deployment added in v1.4.0

type Deployment struct {

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

type DeploymentAccountGrant added in v1.7.0

type DeploymentAccountGrant struct {

	/* 实例ID (Optional) */
	InstId string `json:"instId"`

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

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

	/* 权限 (Optional) */
	Privilege string `json:"privilege"`
}

type DeploymentApplyInfo added in v1.4.0

type DeploymentApplyInfo struct {

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

	/* 备注信息 (Optional) */
	Comment string `json:"comment"`

	/* 应用时间 (Optional) */
	ApplyTime string `json:"applyTime"`

	/* 版本 (Optional) */
	Version string `json:"version"`

	/*  (Optional) */
	Content DeploymentResourcesInfo `json:"content"`
}

type DeploymentAssociateEip added in v1.4.0

type DeploymentAssociateEip struct {

	/* 公网IP id (Optional) */
	EipId string `json:"eipId"`

	/* 云产品的实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 要解绑的资源类型  虚拟机:vm 负载均衡:slb (Optional) */
	InstanceType string `json:"instanceType"`
}

type DeploymentAttachDisk added in v1.4.0

type DeploymentAttachDisk struct {

	/* 云硬盘 id  */
	DiskId string `json:"diskId"`

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`
}

type DeploymentAttachNetInterface added in v1.4.0

type DeploymentAttachNetInterface struct {

	/* 网卡 id  */
	InterfaceId string `json:"interfaceId"`

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`
}

type DeploymentBaseInfo added in v1.4.0

type DeploymentBaseInfo struct {

	/* 云ID (Optional) */
	CloudId *string `json:"cloudId"`

	/* 版本 (Optional) */
	Version *string `json:"version"`

	/* 是否只读 0:否 1:是 (Optional) */
	ReadOnly *int `json:"readOnly"`

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

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

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

	/* 用户ID (Optional) */
	UserId *string `json:"userId"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`

	/* 更新时间 (Optional) */
	UpdatedTime *string `json:"updatedTime"`

	/* 最近一次操作 (Optional) */
	LastOperation *string `json:"lastOperation"`
}

type DeploymentBucket added in v1.7.0

type DeploymentBucket struct {

	/* 存储桶名称 (Optional) */
	Name string `json:"name"`

	/* 访问控制,private,public-read,public-read-write (Optional) */
	Acl string `json:"acl"`
}

type DeploymentInfo added in v1.4.0

type DeploymentInfo struct {

	/*  (Optional) */
	Info *DeploymentBaseInfo `json:"info"`

	/*  (Optional) */
	Content *DeploymentResourcesInfo `json:"content"`
}

type DeploymentRdsAccount added in v1.7.0

type DeploymentRdsAccount struct {

	/* 实例ID (Optional) */
	InstId string `json:"instId"`

	/* 账号名称 (Optional) */
	Name string `json:"name"`

	/* 账号密码 (Optional) */
	Password string `json:"password"`
}

type DeploymentRdsDatabase added in v1.7.0

type DeploymentRdsDatabase struct {

	/* 实例ID (Optional) */
	InstId string `json:"instId"`

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

	/* 字符编码 (Optional) */
	CharacterSetName string `json:"characterSetName"`
}

type DeploymentResourcesInfo added in v1.4.0

type DeploymentResourcesInfo struct {

	/*  (Optional) */
	Vms *interface{} `json:"vms"`

	/*  (Optional) */
	Eips *interface{} `json:"eips"`

	/*  (Optional) */
	Subnets *interface{} `json:"subnets"`

	/*  (Optional) */
	NetworkInterfaces *interface{} `json:"networkInterfaces"`

	/*  (Optional) */
	Slbs *interface{} `json:"slbs"`

	/*  (Optional) */
	SecurityGroups *interface{} `json:"securityGroups"`

	/*  (Optional) */
	SecurityGroupRules *interface{} `json:"securityGroupRules"`

	/*  (Optional) */
	Keypairs *interface{} `json:"keypairs"`

	/*  (Optional) */
	Disks *interface{} `json:"disks"`

	/*  (Optional) */
	Vpcs *interface{} `json:"vpcs"`

	/*  (Optional) */
	VserverGroups *interface{} `json:"vserverGroups"`

	/*  (Optional) */
	HttpListeners *interface{} `json:"httpListeners"`

	/*  (Optional) */
	DiskAttachment *interface{} `json:"diskAttachment"`

	/*  (Optional) */
	NetInterfaceAttachment *interface{} `json:"netInterfaceAttachment"`

	/*  (Optional) */
	EipAssociate *interface{} `json:"eipAssociate"`

	/*  (Optional) */
	Rds *interface{} `json:"rds"`

	/*  (Optional) */
	RdsDatabase *interface{} `json:"rdsDatabase"`

	/*  (Optional) */
	RdsAccount *interface{} `json:"rdsAccount"`

	/*  (Optional) */
	RdsAccountGrant *interface{} `json:"rdsAccountGrant"`

	/*  (Optional) */
	Bucket *interface{} `json:"bucket"`

	/*  (Optional) */
	Variables *interface{} `json:"variables"`
}

type DetachDataDisk

type DetachDataDisk struct {

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`
}

type DetachNetInterface

type DetachNetInterface struct {

	/* 虚拟机 id  */
	InstanceId string `json:"instanceId"`
}

type DiskCollection

type DiskCollection struct {

	/*  (Optional) */
	Disks []CloudDataDisk `json:"disks"`
}

type DiskCreateTask

type DiskCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type DiskItem

type DiskItem struct {

	/*  (Optional) */
	Disk CloudDataDisk `json:"disk"`
}

type EipAddress

type EipAddress struct {

	/* 云注册信息ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 公网IP地址 (Optional) */
	IpAddress string `json:"ipAddress"`

	/* 公网IP ID (Optional) */
	Id string `json:"id"`

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

	/* 当前绑定的实例类型 (Optional) */
	InstanceType string `json:"instanceType"`

	/* 当前绑定的实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* EIP的带宽峰值,单位为Mbps (Optional) */
	Bandwidth string `json:"bandwidth"`

	/* EIP的创建时间 (Optional) */
	AllocationTime string `json:"allocationTime"`
}

type Error added in v1.4.0

type Error struct {

	/*  (Optional) */
	Info Info `json:"info"`

	/*  (Optional) */
	Payload interface{} `json:"payload"`
}

type GetUserCloudNotFoundResp

type GetUserCloudNotFoundResp struct {

	/*  (Optional) */
	Error interface{} `json:"error"`
}

type ImageInfo

type ImageInfo struct {

	/* 镜像ID (Optional) */
	Id string `json:"id"`

	/* 镜像名称 (Optional) */
	Name string `json:"name"`

	/* 镜像描述 (Optional) */
	Description string `json:"description"`

	/* 镜像架构 (Optional) */
	Architecture string `json:"architecture"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 镜像来源 (Optional) */
	ImageSource string `json:"imageSource"`

	/* 镜像操作系统类型 (Optional) */
	OsType string `json:"osType"`

	/* 操作系统平台 (Optional) */
	Platform string `json:"platform"`

	/* 镜像复制和转换时的进度,仅显示数值,单位为百分比 (Optional) */
	Progress string `json:"progress"`

	/* 镜像大小 单位MB (Optional) */
	Size int `json:"size"`

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

	/* 云注册信息ID (Optional) */
	CloudID string `json:"cloudID"`
}

type ImageType

type ImageType struct {

	/* 镜像ID (Optional) */
	Id *string `json:"id"`

	/* 镜像描述 (Optional) */
	Desc *string `json:"desc"`

	/* 镜像来源 (Optional) */
	ImageSource *string `json:"imageSource"`

	/* 镜像名称 (Optional) */
	Name *string `json:"name"`

	/* 镜像的操作系统类型 (Optional) */
	OsType *string `json:"osType"`

	/* 镜像的操作系统版本 (Optional) */
	OsVersion *string `json:"osVersion"`

	/* 镜像的操作系统发行版 (Optional) */
	Platform *string `json:"platform"`

	/* 镜像所属区域 (Optional) */
	Region *string `json:"region"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`
}

type Info added in v1.4.0

type Info struct {

	/* 10位错误码;1-4服务码,5-7业务码,8-0错误码 (Optional) */
	Code string `json:"code"`

	/* 错误信息 (Optional) */
	Message string `json:"message"`
}

type InstanceType

type InstanceType struct {

	/* 实例配置类型名称 (Optional) */
	Name *string `json:"name"`

	/* 处理器核数,单位为C (Optional) */
	Cpu *int `json:"cpu"`

	/* 内存大小,单位为M (Optional) */
	Memory *int `json:"memory"`
}

type InstanceTypeInfo

type InstanceTypeInfo struct {

	/* 类型 (Optional) */
	InstanceType string `json:"instanceType"`

	/* 处理器核数,单位为C (Optional) */
	Cpu int `json:"cpu"`

	/* 内存大小,单位为M (Optional) */
	Memory int `json:"memory"`

	/* GPU 数量 (Optional) */
	GpuAmount int `json:"gpuAmount"`

	/* GPU 类型 (Optional) */
	GpuSpec string `json:"gpuSpec"`

	/* 本地存储的单盘容量 (Optional) */
	LocalStorageSize int `json:"localStorageSize"`

	/* 本地存储的类型 (Optional) */
	LocalStorageType string `json:"localStorageType"`

	/* 本地存储的数量 (Optional) */
	LocalStorageAmount int `json:"localStorageAmount"`

	/* 支持弹性网卡的数量 (Optional) */
	NicLimit int `json:"nicLimit"`
}

type Ip

type Ip struct {

	/* 弹性IP实例地址 (Optional) */
	ElasticIpAddress string `json:"elasticIpAddress"`

	/* 私有IP的IPV4地址 (Optional) */
	PrivateIpAddress string `json:"privateIpAddress"`
}

type KeypairInfo

type KeypairInfo struct {

	/* 密钥名称 (Optional) */
	Name string `json:"name"`

	/* 密钥指纹 (Optional) */
	KeyFingerprint string `json:"keyFingerprint"`

	/* 云注册信息ID (Optional) */
	CloudID string `json:"cloudID"`
}

type LbHttpListener added in v1.7.0

type LbHttpListener struct {

	/* 负载均衡实例前端使用的端口。 (Optional) */
	ListenerPort int `json:"listenerPort"`

	/* 负载均衡实例后端使用的端口。 (Optional) */
	BackendServerPort int `json:"backendServerPort"`

	/* 当前监听的状态。 (Optional) */
	Status string `json:"status"`

	/* 调度算法。 (Optional) */
	Scheduler string `json:"scheduler"`

	/* 绑定的服务器组ID。 (Optional) */
	VServerGroupId string `json:"vServerGroupId"`

	/* 是否开启健康检查。 (Optional) */
	HealthCheck string `json:"healthCheck"`

	/* 否  健康检查使用的端口 (Optional) */
	HealthCheckConnectPort int `json:"healthCheckConnectPort"`

	/* 否  健康检查连续成功多少次后,将后端服务器的健康检查状态由fail判定为success。取值:2-10 (Optional) */
	HealthyThreshold int `json:"healthyThreshold"`

	/* 否  健康检查连续失败多少次后,将后端服务器的健康检查状态由success判定为fail。取值:2-10 (Optional) */
	UnhealthyThreshold int `json:"unhealthyThreshold"`

	/* 否  接收来自运行状况检查的响应需要等待的时间。如果后端ECS在指定的时间内没有正确响应,则判定为健康检查失败。取值:1-300(秒) (Optional) */
	HealthCheckTimeout int `json:"healthCheckTimeout"`

	/* 否  健康检查的时间间隔。取值:1-50(秒) (Optional) */
	HealthCheckInterval int `json:"healthCheckInterval"`

	/* 否  健康检查正常的HTTP状态码,多个状态码用逗号分隔。取值:http_2xx(默认值) | http_3xx | http_4xx | http_5xx (Optional) */
	HealthCheckHttpCode string `json:"healthCheckHttpCode"`
}

type ListenerPortsAndProtocol

type ListenerPortsAndProtocol struct {

	/* 负载均衡实例前端使用的端口。 (Optional) */
	ListenerPort int `json:"listenerPort"`

	/* 负载均衡实例前端使用的协议。 (Optional) */
	ListenerProtocol string `json:"listenerProtocol"`

	/* 是否启用监听转发。 (Optional) */
	ListenerForward string `json:"listenerForward"`

	/* 转发到的目的监听端口,必须是已经存在的HTTPS监听端口。 (Optional) */
	ForwardPort int `json:"forwardPort"`
}

type NetAttachment

type NetAttachment struct {

	/* 指明删除实例时是否删除网卡,默认true;(当前只能是true) (Optional) */
	AutoDelete bool `json:"autoDelete"`

	/* 设备Index (Optional) */
	DeviceIndex int `json:"deviceIndex"`

	/*  (Optional) */
	NetworkInterface NetworkInterface `json:"networkInterface"`
}

type NetInterfaceInfo

type NetInterfaceInfo struct {

	/* 网卡的Id (Optional) */
	Id string `json:"id"`

	/* 网卡名称 (Optional) */
	Name string `json:"name"`

	/* 网卡描述信息 (Optional) */
	Description string `json:"description"`

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

	/* 网卡类型 (Optional) */
	Type string `json:"type"`

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

	/* 可用区的 ID (Optional) */
	Az string `json:"az"`

	/* 弹性网卡关联的公网 IP (Optional) */
	AssociatedPublicIp string `json:"associatedPublicIp"`

	/* 弹性网卡主私有 IP 地址 (Optional) */
	PrivateIpAddress string `json:"privateIpAddress"`

	/* 弹性网卡的 MAC 地址 (Optional) */
	MacAddress string `json:"macAddress"`

	/* 弹性网卡附加的实例 ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 安全组id列表 (Optional) */
	SecurityGroupIds []string `json:"securityGroupIds"`

	/* 内网ip详情列表。 (Optional) */
	PrivateIps []PrivateIp `json:"privateIps"`
}

type NetworkInterface

type NetworkInterface struct {

	/* 以太网地址 (Optional) */
	MacAddress string `json:"macAddress"`

	/* 弹性网卡ID (Optional) */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 源和目标IP地址校验,取值为0或者1 (Optional) */
	SanityCheck int `json:"sanityCheck"`

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

	/* 虚拟网络ID (Optional) */
	VpcId string `json:"vpcId"`

	/*  (Optional) */
	PrimaryIp Ip `json:"primaryIp"`

	/* 网卡辅IP (Optional) */
	SecondaryIps []Ip `json:"secondaryIps"`

	/* 所属安全组列表 (Optional) */
	SecurityGroups []SecurityGroup `json:"securityGroups"`
}

type OssBucketDetailInfo added in v1.7.0

type OssBucketDetailInfo struct {

	/* 存储桶名称 (Optional) */
	Name string `json:"name"`

	/* 存储桶权限 (Optional) */
	Acl string `json:"acl"`

	/* 内网endpoint (Optional) */
	IntranetEndpoint string `json:"intranetEndpoint"`

	/* 外网endpoint (Optional) */
	ExtranetEndpoint string `json:"extranetEndpoint"`

	/* 创建时间 (Optional) */
	CreationDate string `json:"creationDate"`

	/* 云信息 (Optional) */
	CloudID string `json:"cloudID"`
}

type OssBucketInfo added in v1.4.0

type OssBucketInfo struct {

	/* 存储桶名称 (Optional) */
	Name string `json:"name"`

	/* 创建时间 (Optional) */
	CreationDate string `json:"creationDate"`

	/* 云信息 (Optional) */
	CloudID string `json:"cloudID"`
}

type OssFileInfo added in v1.4.0

type OssFileInfo struct {

	/* 存储桶名称 (Optional) */
	BucketName string `json:"bucketName"`

	/* 文件存储Key值 (Optional) */
	Key string `json:"key"`

	/* 文件大小(字节) (Optional) */
	Size float64 `json:"size"`

	/* 上次修改时间 (Optional) */
	LastModifiedTime string `json:"lastModifiedTime"`

	/* 存储类型 (Optional) */
	StorageClass string `json:"storageClass"`
}

type Payload

type Payload struct {

	/*   */
	Id string `json:"id"`
}

type Payload1

type Payload1 struct {

	/*   */
	Cloud string `json:"cloud"`
}

type PermissionType

type PermissionType struct {

	/* 云注册信息ID (Optional) */
	CloudID string `json:"cloudID"`

	/* IP协议 (Optional) */
	IpProtocol string `json:"ipProtocol"`

	/* 端口范围 (Optional) */
	PortRange string `json:"portRange"`

	/* 描述信息 (Optional) */
	Description string `json:"description"`

	/* 源IP地址段,用于入方向授权 (Optional) */
	SourceCidrIp string `json:"sourceCidrIp"`

	/* 源安全组,用于入方向授权 (Optional) */
	SourceGroupId string `json:"sourceGroupId"`

	/* 源安全组所属阿里云账户Id (Optional) */
	SourceGroupOwnerAccount string `json:"sourceGroupOwnerAccount"`

	/* 目标IP地址段,用于出方向授权 (Optional) */
	DestCidrIp string `json:"destCidrIp"`

	/* 目标安全组,用于出方向授权 (Optional) */
	DestGroupId string `json:"destGroupId"`

	/* 目标安全组所属阿里云账户Id (Optional) */
	DestGroupOwnerAccount string `json:"destGroupOwnerAccount"`

	/* 授权策略 (Optional) */
	Policy string `json:"policy"`

	/* 网络类型 (Optional) */
	NicType string `json:"nicType"`

	/* 规则优先级 (Optional) */
	Priority string `json:"priority"`

	/* 授权方向 (Optional) */
	Direction string `json:"direction"`
}

type PrivateIp added in v1.7.0

type PrivateIp struct {

	/* 内网IP的地址。 (Optional) */
	IpAddress string `json:"ipAddress"`

	/* 是否为主IP (Optional) */
	Primary bool `json:"primary"`

	/* 弹性IP实例ID。 (Optional) */
	EipId string `json:"eipId"`

	/* 弹性IP实例地址。 (Optional) */
	EipAddress string `json:"eipAddress"`
}

type RdsAccountInfo added in v1.4.0

type RdsAccountInfo struct {

	/* 账号名 (Optional) */
	Name string `json:"name"`

	/* 账号状态 (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	AccountPrivileges []RdsAccountPrivilege `json:"accountPrivileges"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type RdsAccountPrivilege added in v1.4.0

type RdsAccountPrivilege struct {

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

	/* 账号对数据库所具有的权限 (Optional) */
	Privilege string `json:"privilege"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type RdsDBAccessPrivilege added in v1.4.0

type RdsDBAccessPrivilege struct {

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

	/* 账号对数据库所具有的权限 (Optional) */
	Privilege string `json:"privilege"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type RdsDBInfo added in v1.4.0

type RdsDBInfo struct {

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

	/* 数据库状态 (Optional) */
	Status string `json:"status"`

	/* 字符集 (Optional) */
	CharacterSetName string `json:"characterSetName"`

	/*  (Optional) */
	AccountPrivileges []RdsDBAccessPrivilege `json:"accountPrivileges"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type RdsInstanceDetailInfo added in v1.4.0

type RdsInstanceDetailInfo struct {

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

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

	/* 可用区ID (Optional) */
	Azs []string `json:"azs"`

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

	/* 实例引擎版本 (Optional) */
	EngineVersion string `json:"engineVersion"`

	/* 实例状态 (Optional) */
	Status string `json:"status"`

	/* 付费方式,Postpaid:后付费; Prepaid:预付费 (Optional) */
	PayType string `json:"payType"`

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

	/* 内存大小,单位MB (Optional) */
	MemoryMB float64 `json:"memoryMB"`

	/* 实例类型 (Optional) */
	InstanceType string `json:"instanceType"`

	/* 实例规格 (Optional) */
	InstanceClassType string `json:"instanceClassType"`

	/* 实例的访问模式 (Optional) */
	ConnectionMode string `json:"connectionMode"`

	/* 连接地址 (Optional) */
	ConnectionString string `json:"connectionString"`

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

	/* 端口 (Optional) */
	Port string `json:"port"`

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

	/* subnet ID (Optional) */
	SubnetId string `json:"subnetId"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type RdsSpecification added in v1.7.0

type RdsSpecification struct {

	/* 规格编号 (Optional) */
	InstanceClass string `json:"instanceClass"`

	/* CPU核数 (Optional) */
	Cpu int `json:"cpu"`

	/* 内存大小 (Optional) */
	MemoryGB int `json:"memoryGB"`

	/*  (Optional) */
	Disk RdsSpecificationDisk `json:"disk"`
}

type RdsSpecificationDisk added in v1.7.0

type RdsSpecificationDisk struct {

	/* 硬盘大小列表 (Optional) */
	List []int `json:"list"`

	/* 硬盘最小值 (Optional) */
	Min int `json:"min"`

	/* 硬盘最大值 (Optional) */
	Max int `json:"max"`
}

type RegionInfo added in v1.7.0

type RegionInfo struct {

	/* 地域 ID (Optional) */
	RegionId string `json:"regionId"`

	/* 地域名称 (Optional) */
	LocalName string `json:"localName"`

	/* 供应商 (Optional) */
	Vendor string `json:"vendor"`
}

type ResourceTFInfo

type ResourceTFInfo struct {

	/* uuid (Optional) */
	Uuid string `json:"uuid"`

	/* 请求体 (Optional) */
	Body string `json:"body"`

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

	/* 执行结果 (Optional) */
	Result string `json:"result"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* cloud provider (Optional) */
	Provider string `json:"provider"`

	/* cloud ID (Optional) */
	CloudId string `json:"cloudId"`

	/* user ID (Optional) */
	UserId string `json:"userId"`
}

type ReturnError added in v1.4.0

type ReturnError struct {

	/*  (Optional) */
	Error Error `json:"error"`
}

type ReturnErrorInfo added in v1.4.0

type ReturnErrorInfo struct {

	/* 10位错误码;1-4服务码,5-7业务码,8-0错误码 (Optional) */
	Code string `json:"code"`

	/* 错误信息 (Optional) */
	Msg string `json:"msg"`

	/* http协议状态码 (Optional) */
	HttpStatus int `json:"httpStatus"`

	/*  (Optional) */
	PayloadInfo interface{} `json:"payloadInfo"`
}

type ReverseDeploymentInfo added in v1.4.0

type ReverseDeploymentInfo struct {

	/* 模板名称 (Optional) */
	Name *string `json:"name"`

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

	/* 版本 (Optional) */
	Version *string `json:"version"`

	/* 是否只读 0:否 1:是 (Optional) */
	ReadOnly *int `json:"readOnly"`

	/*  (Optional) */
	Resources *ReverseDeploymentResourcesInfo `json:"resources"`
}

type ReverseDeploymentResourcesInfo added in v1.4.0

type ReverseDeploymentResourcesInfo struct {

	/*  (Optional) */
	VmIds *interface{} `json:"vmIds"`

	/*  (Optional) */
	EipIds *interface{} `json:"eipIds"`

	/*  (Optional) */
	SubnetIds *interface{} `json:"subnetIds"`

	/*  (Optional) */
	NetworkInterfaceIds *interface{} `json:"networkInterfaceIds"`

	/*  (Optional) */
	SlbIds *interface{} `json:"slbIds"`

	/*  (Optional) */
	SecurityGroupIds *interface{} `json:"securityGroupIds"`

	/*  (Optional) */
	KeypairIds *interface{} `json:"keypairIds"`

	/*  (Optional) */
	DiskIds *interface{} `json:"diskIds"`

	/*  (Optional) */
	VpcIds *interface{} `json:"vpcIds"`

	/*  (Optional) */
	VserverGroupIds *interface{} `json:"vserverGroupIds"`

	/*  (Optional) */
	HttpListenerIds *interface{} `json:"httpListenerIds"`

	/*  (Optional) */
	DiskAttachmentIds *interface{} `json:"diskAttachmentIds"`

	/*  (Optional) */
	NetInterfaceAttachmentIds *interface{} `json:"netInterfaceAttachmentIds"`

	/*  (Optional) */
	EipAssociateIds *interface{} `json:"eipAssociateIds"`
}

type SecurityGroup

type SecurityGroup struct {

	/* 安全组ID (Optional) */
	GroupId string `json:"groupId"`

	/* 安全组名称 (Optional) */
	GroupName string `json:"groupName"`
}

type SecurityGroupDetail

type SecurityGroupDetail struct {

	/* 注册云信息ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 安全组 id (Optional) */
	Id string `json:"id"`

	/* 目标安全组名称 (Optional) */
	Name string `json:"name"`

	/* 安全组描述信息 (Optional) */
	Description string `json:"description"`

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

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 安全组权限规则集合 (Optional) */
	Permissions []PermissionType `json:"permissions"`
}

type SecurityGroupInfo

type SecurityGroupInfo struct {

	/* 注册云信息ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 安全组 id (Optional) */
	Id string `json:"id"`

	/* 目标安全组名称 (Optional) */
	Name string `json:"name"`

	/* 安全组描述信息 (Optional) */
	Description string `json:"description"`

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

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`
}

type SimpleTaskAddressInfo added in v1.7.0

type SimpleTaskAddressInfo struct {

	/* 云信息ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 源地址的Bucket (Optional) */
	Bucket *string `json:"bucket"`

	/* 源地址的Prefix,不能以/开头 (Optional) */
	Prefix *string `json:"prefix"`
}

type SlbInfo

type SlbInfo struct {

	/* 所属云ID (Optional) */
	CloudID *string `json:"cloudID"`

	/* 负载均衡实例ID。 (Optional) */
	Id *string `json:"id"`

	/* 负载均衡实例的名称。 (Optional) */
	Name *string `json:"name"`

	/* 负载均衡实例状态 (Optional) */
	Status *string `json:"status"`

	/* 负载均衡实例的服务地址。 (Optional) */
	IpAddress *string `json:"ipAddress"`

	/* 负载均衡实例的网络类型。 (Optional) */
	AddressType *string `json:"addressType"`

	/* 私网负载均衡实例的交换机ID。 (Optional) */
	SubnetId *string `json:"subnetId"`

	/* 私网负载均衡实例的专有网络ID。 (Optional) */
	Vpc *string `json:"vpc"`

	/* 私网负载均衡实例的网络类型 (Optional) */
	NetworkType *string `json:"networkType"`

	/* 可用区域。 (Optional) */
	Azs []string `json:"azs"`

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`
}

type SlbInfoDetail

type SlbInfoDetail struct {

	/* 所属云ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 负载均衡实例ID。 (Optional) */
	Id string `json:"id"`

	/* 负载均衡实例的名称。 (Optional) */
	Name string `json:"name"`

	/* 负载均衡实例状态 (Optional) */
	Status string `json:"status"`

	/* 负载均衡实例的服务地址。 (Optional) */
	IpAddress string `json:"ipAddress"`

	/* 负载均衡实例的网络类型。 (Optional) */
	AddressType string `json:"addressType"`

	/* 私网负载均衡实例的交换机ID。 (Optional) */
	SubnetId string `json:"subnetId"`

	/* 私网负载均衡实例的专有网络ID。 (Optional) */
	Vpc string `json:"vpc"`

	/* 私网负载均衡实例的网络类型 (Optional) */
	NetworkType string `json:"networkType"`

	/* 实例的主可用区ID。 (Optional) */
	MasterAz string `json:"masterAz"`

	/* 实例的备可用区ID。 (Optional) */
	SlaveAz string `json:"slaveAz"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 负载均衡实例前端使用的端口和协议列表。 (Optional) */
	ListenerPortsAndProtocol []ListenerPortsAndProtocol `json:"listenerPortsAndProtocol"`

	/* 负载均衡实例的后端服务器列表。 (Optional) */
	BackendServers []BackendServer2 `json:"backendServers"`

	/* 负载均衡实例的的性能规格。取值:slb.s1.small、slb.s2.small、slb.s2.medium、slb.s3.small、slb.s3.medium、slb.s3.large (Optional) */
	LoadBalancerSpec string `json:"loadBalancerSpec"`
}

type SubnetDesInfo

type SubnetDesInfo struct {

	/* Subnet的Id (Optional) */
	Id string `json:"id"`

	/* 子网名称 (Optional) */
	Name string `json:"name"`

	/* 子网所属VPC的Id (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网网段 (Optional) */
	CidrBlock string `json:"cidrBlock"`

	/* 子网描述信息 (Optional) */
	Description string `json:"description"`

	/* 子网所属可用域Id (Optional) */
	Az string `json:"az"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`
}

type SubnetInfo

type SubnetInfo struct {

	/* Subnet的Id (Optional) */
	Id string `json:"id"`

	/* 子网所属VPC的Id (Optional) */
	VpcId string `json:"vpcId"`

	/* 子网名称 (Optional) */
	SubnetName string `json:"subnetName"`

	/* 子网网段 (Optional) */
	CidrBlock string `json:"cidrBlock"`

	/* 子网可用ip数量 (Optional) */
	AvailableIpCount int `json:"availableIpCount"`

	/* 子网描述信息 (Optional) */
	Description string `json:"description"`

	/* 子网的结束地址 (Optional) */
	EndIp string `json:"endIp"`

	/* 子网关联的路由表Id (Optional) */
	RouteTableId string `json:"routeTableId"`

	/* 子网的起始地址 (Optional) */
	StartIp string `json:"startIp"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 子网创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`
}

type SysDiskInfo

type SysDiskInfo struct {

	/* 硬盘大小 (Optional) */
	DiskSize int `json:"diskSize"`

	/* 磁盘介质分类,目前为预留,可以为空 (Optional) */
	DiskMediumType string `json:"diskMediumType"`

	/* 磁盘名称 (Optional) */
	DiskName string `json:"diskName"`

	/* 磁盘是否随主机一起删除 (Optional) */
	AutoDelete string `json:"autoDelete"`

	/* 磁盘状态 (Optional) */
	Status string `json:"status"`
}

type SystemDisk

type SystemDisk struct {

	/* 否  系统盘的磁盘种类 (Optional) */
	Category *string `json:"category"`

	/* 系统盘大小 (Optional) */
	DiskSize *int `json:"diskSize"`

	/* 系统盘描述 (Optional) */
	Description *string `json:"description"`
}

type Tag

type Tag struct {

	/* 标签KEY值 (Optional) */
	TagKey *string `json:"tagKey"`

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

type TaskAddressInfo added in v1.4.0

type TaskAddressInfo struct {

	/* 任务类型:源地址中支持 s3file, aliyunfile,目标现在只支持s3file (Optional) */
	StorageType *string `json:"storageType"`

	/* 源地址的accesskey (Optional) */
	AccessKey *string `json:"accessKey"`

	/* 源地址的securitykey (Optional) */
	SecretKey *string `json:"secretKey"`

	/* 源地址的Endpoint (Optional) */
	Endpoint *string `json:"endpoint"`

	/* 源地址的Bucket (Optional) */
	Bucket *string `json:"bucket"`

	/* 源地址的Prefix,不能以/开头 (Optional) */
	Prefix *string `json:"prefix"`

	/* 云信息ID (Optional) */
	CloudID *string `json:"cloudID"`
}

type TaskInfo

type TaskInfo struct {

	/* 任务执行开始时间 (Optional) */
	BeginTime string `json:"beginTime"`

	/* 任务执行结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 任务执行状态:running、finished (Optional) */
	TaskStatus string `json:"taskStatus"`

	/* 任务执行结果:done、error、nochange (Optional) */
	TaskResult string `json:"taskResult"`

	/* 任务执行最后编码:
	CREATEING_RESOURCE_INFO->未完成:正在构建目标资源信息
	CREATE_RESOURCE_INFO_ERROR->失败完成:目标资源描述信息创建失败!
	CREATE_RESOURCE_INFO_SUCCESS->未完成:目标资源描述信息创建成功!开始初始化构建程序
	PROGRAM_INITING->未完成:正在初始化构建程序
	PROGRAM_INIT_ERROR->失败完成:构建程序初始化失败!
	PROGRAM_INIT_SUCCESS->未完成:构建程序初始化成功!开始分析本次构建任务
	TASK_PLAN_ERROR->失败完成:构建分析发生错误!
	TASK_PLAN_NOCHANGE->完成:本次构建无可执行操作
	TASK_PLAN_SUCCESS->未完成:分析完成!开始执行资源构建
	TASK_RUN_FAILED->失败完成:资源构建任务执行失败!
	TASK_RUN_NOCHANGE->完成:本次构建未执行任何操作
	TASK_RUN_SUCCESS->完成:资源构建任务执行完毕! (Optional) */
	LastCode string `json:"lastCode"`

	/* 任务执行之后编码描述 (Optional) */
	TaskLastInfo string `json:"taskLastInfo"`

	/* 任务执行成功后返回的ID列表 (Optional) */
	ResourceIDs []interface{} `json:"resourceIDs"`

	/* 任务执行日志信息 (Optional) */
	Msg []interface{} `json:"msg"`
}

type TransferSimpleTaskInfo added in v1.7.0

type TransferSimpleTaskInfo struct {

	/* 任务名称 (Optional) */
	Name *string `json:"name"`

	/*  (Optional) */
	SrcAddress *SimpleTaskAddressInfo `json:"srcAddress"`

	/*  (Optional) */
	DstAddress *SimpleTaskAddressInfo `json:"dstAddress"`
}

type TransferTaskFailedDetailInfo added in v1.4.0

type TransferTaskFailedDetailInfo struct {

	/* 错误文件个数 (Optional) */
	Count string `json:"count"`

	/*  (Optional) */
	Files []TransferTaskFailedFileInfo `json:"files"`
}

type TransferTaskFailedFileInfo added in v1.4.0

type TransferTaskFailedFileInfo struct {

	/* 文件路径 (Optional) */
	Path string `json:"path"`
}

type TransferTaskInfo added in v1.4.0

type TransferTaskInfo struct {

	/* 任务名称 (Optional) */
	Name *string `json:"name"`

	/*  (Optional) */
	SrcAddress *TaskAddressInfo `json:"srcAddress"`

	/*  (Optional) */
	DstAddress *TaskAddressInfo `json:"dstAddress"`
}

type TransferTaskInfoWithID added in v1.4.0

type TransferTaskInfoWithID struct {

	/* 任务ID (Optional) */
	Id string `json:"id"`

	/* 任务名称 (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	SrcAddress TaskAddressInfo `json:"srcAddress"`

	/*  (Optional) */
	DstAddress TaskAddressInfo `json:"dstAddress"`
}

type TransferTaskProgressInfo added in v1.4.0

type TransferTaskProgressInfo struct {

	/* 任务ID (Optional) */
	Id string `json:"id"`

	/* 运行状态 (Optional) */
	Status string `json:"status"`

	/* 启动时间 (Optional) */
	TimeStart string `json:"timeStart"`

	/* 迁移成功文件个数 (Optional) */
	SucceedFileCount string `json:"succeedFileCount"`

	/* 迁移失败文件个数 (Optional) */
	FailedFileCount string `json:"failedFileCount"`
}

type UnassociateEipAddress

type UnassociateEipAddress struct {

	/* 云产品的实例ID (Optional) */
	InstanceId *string `json:"instanceId"`

	/* 要解绑的资源类型 (Optional) */
	InstanceType *string `json:"instanceType"`
}

type UserNotFoundException

type UserNotFoundException struct {

	/*   */
	Message string `json:"message"`

	/*   */
	Code int `json:"code"`

	/*   */
	Payload Payload `json:"payload"`
}

type UserNotFoundResp

type UserNotFoundResp struct {

	/*  (Optional) */
	Error UserNotFoundException `json:"error"`
}

type VmImageCollection

type VmImageCollection struct {

	/*  (Optional) */
	Images []ImageInfo `json:"images"`
}

type VmInfo

type VmInfo struct {

	/* 资源ID,如果为空,则执行创建操作,否则执行修改操作 (Optional) */
	Id string `json:"id"`

	/* 可用区,根据各云平台规范填写 (Optional) */
	Region string `json:"region"`

	/* 云主机所属的可用区 (Optional) */
	Az string `json:"az"`

	/* 云主机名称 (Optional) */
	Name string `json:"name"`

	/* 云主机 (Optional) */
	HostName string `json:"hostName"`

	/*  (Optional) */
	ImageType ImageType `json:"imageType"`

	/*  (Optional) */
	InstanceType InstanceType `json:"instanceType"`

	/* 云主机描述 (Optional) */
	Description string `json:"description"`

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

	/*  (Optional) */
	Tags []Tag `json:"tags"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 密钥对名称,jd当前只支持传入一个 (Optional) */
	KeyNames []string `json:"keyNames"`

	/* 主网卡主IP绑定弹性IP的地址 (Optional) */
	ElasticIpAddress string `json:"elasticIpAddress"`

	/* 私有ip地址 (Optional) */
	PrivateIpAddress string `json:"privateIpAddress"`

	/* 云主机状态 (Optional) */
	Status string `json:"status"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 镜像ID (Optional) */
	ImageId string `json:"imageId"`

	/* 安全组ID (Optional) */
	SecurityGroupIds []string `json:"securityGroupIds"`
}

type VmInfoDetail

type VmInfoDetail struct {

	/* 资源ID,如果为空,则执行创建操作,否则执行修改操作 (Optional) */
	Id string `json:"id"`

	/* 可用区,根据各云平台规范填写 (Optional) */
	Region string `json:"region"`

	/* 云主机所属的可用区 (Optional) */
	Az string `json:"az"`

	/* 云主机名称 (Optional) */
	Name string `json:"name"`

	/* 云主机 (Optional) */
	HostName string `json:"hostName"`

	/* 镜像ID (Optional) */
	ImageId string `json:"imageId"`

	/*  (Optional) */
	ImageType ImageType `json:"imageType"`

	/*  (Optional) */
	InstanceType InstanceType `json:"instanceType"`

	/* 云主机描述 (Optional) */
	Description string `json:"description"`

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

	/*  (Optional) */
	Tags []Tag `json:"tags"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 密钥对名称,jd当前只支持传入一个 (Optional) */
	KeyNames []string `json:"keyNames"`

	/* 主网卡主IP绑定弹性IP的地址 (Optional) */
	ElasticIpAddress string `json:"elasticIpAddress"`

	/* 私有ip地址 (Optional) */
	PrivateIpAddress string `json:"privateIpAddress"`

	/* 安全组ID (Optional) */
	SecurityGroupIds []string `json:"securityGroupIds"`

	/* 云主机状态 (Optional) */
	Status string `json:"status"`

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/*  (Optional) */
	SysDiskInfo SysDiskInfo `json:"sysDiskInfo"`

	/* 数据盘配置信息 (Optional) */
	DataDiskAttachments []DataDiskAttachment `json:"dataDiskAttachments"`

	/*  (Optional) */
	PrimaryNetworkInterface NetAttachment `json:"primaryNetworkInterface"`

	/* 辅助网卡配置 (Optional) */
	SecondaryNetworkInterfaces []NetAttachment `json:"secondaryNetworkInterfaces"`

	/* 扩展信息 (Optional) */
	Metadata string `json:"metadata"`
}

type VmInstanceCollection

type VmInstanceCollection struct {

	/*  (Optional) */
	Vms []VmInfo `json:"vms"`
}

type VmInstanceCreateTask

type VmInstanceCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type VmInstanceItem

type VmInstanceItem struct {

	/*  (Optional) */
	Vm VmInfoDetail `json:"vm"`
}

type VmInstanceTypeCollection

type VmInstanceTypeCollection struct {

	/*  (Optional) */
	InstanceTypes []InstanceTypeInfo `json:"instanceTypes"`
}

type VmKeypairCollection

type VmKeypairCollection struct {

	/*  (Optional) */
	Keypairs []KeypairInfo `json:"keypairs"`
}

type VmKeypairCreateTask

type VmKeypairCreateTask struct {

	/*  (Optional) */
	Tasks []ResourceTFInfo `json:"tasks"`
}

type VmKeypairItem

type VmKeypairItem struct {

	/*  (Optional) */
	Keypair KeypairInfo `json:"keypair"`
}

type VpcCollection

type VpcCollection struct {

	/*  (Optional) */
	Vpcs []VpcInfo `json:"vpcs"`
}

type VpcCreateTask

type VpcCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type VpcEipCollection

type VpcEipCollection struct {

	/*  (Optional) */
	EipAddresses []EipAddress `json:"eipAddresses"`
}

type VpcEipCreateTask

type VpcEipCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type VpcEipItem

type VpcEipItem struct {

	/*  (Optional) */
	EipAddress EipAddress `json:"eipAddress"`
}

type VpcInfo

type VpcInfo struct {

	/* Vpc的Id (Optional) */
	Id *string `json:"id"`

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

	/* 地址范围 (Optional) */
	CidrBlock *string `json:"cidrBlock"`

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

	/* 创建时间 (Optional) */
	CreatedTime *string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID *string `json:"cloudID"`
}

type VpcInfoDetail

type VpcInfoDetail struct {

	/* Vpc的Id (Optional) */
	Id string `json:"id"`

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

	/* 地址范围 (Optional) */
	CidrBlock string `json:"cidrBlock"`

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

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 私有网络包含的子网列表 (Optional) */
	Subnets []SubnetInfo `json:"subnets"`

	/* 路由表ID集合 (Optional) */
	RouteTableIds []string `json:"routeTableIds"`
}

type VpcItem

type VpcItem struct {

	/*  (Optional) */
	Vpc VpcInfoDetail `json:"vpc"`
}

type VpcListInfo added in v1.7.0

type VpcListInfo struct {

	/* Vpc的Id (Optional) */
	Id string `json:"id"`

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

	/* VPC的网段 (Optional) */
	CidrBlock string `json:"cidrBlock"`

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

	/* 创建时间 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* 所属云提供商ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 私有网络包含的子网列表 (Optional) */
	SubnetIds []string `json:"subnetIds"`

	/* 路由表ID集合 (Optional) */
	RouteTableIds []string `json:"routeTableIds"`
}

type VpcNetworkInterfaceCollection

type VpcNetworkInterfaceCollection struct {

	/*  (Optional) */
	NetInterfaces []NetInterfaceInfo `json:"netInterfaces"`
}

type VpcNetworkInterfaceItem

type VpcNetworkInterfaceItem struct {

	/*  (Optional) */
	NetInterface NetInterfaceInfo `json:"netInterface"`
}

type VpcSecurityGroupCollection

type VpcSecurityGroupCollection struct {

	/*  (Optional) */
	SecurityGroups []SecurityGroupInfo `json:"securityGroups"`
}

type VpcSecurityGroupCreateTask

type VpcSecurityGroupCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type VpcSecurityGroupItem

type VpcSecurityGroupItem struct {

	/*  (Optional) */
	SecurityGroup SecurityGroupDetail `json:"securityGroup"`
}

type VpcSlbCollection

type VpcSlbCollection struct {

	/*  (Optional) */
	Slbs []SlbInfo `json:"slbs"`
}

type VpcSlbCreateTask

type VpcSlbCreateTask struct {

	/*  (Optional) */
	Task ResourceTFInfo `json:"task"`
}

type VpcSlbItem

type VpcSlbItem struct {

	/*  (Optional) */
	Slb SlbInfoDetail `json:"slb"`
}

type VpcSubnetCollection

type VpcSubnetCollection struct {

	/*  (Optional) */
	Subnets []SubnetDesInfo `json:"subnets"`
}

type VpcSubnetItem

type VpcSubnetItem struct {

	/*  (Optional) */
	Subnet SubnetDesInfo `json:"subnet"`
}

type VpcVServerGroupCollection

type VpcVServerGroupCollection struct {

	/*  (Optional) */
	VserverGroups []VserverGroupInfo `json:"vserverGroups"`
}

type VserverGroupBackendServer added in v1.7.0

type VserverGroupBackendServer struct {

	/* 负载均衡实例ID。 (Optional) */
	ServerId string `json:"serverId"`

	/* 后端服务器端口。 (Optional) */
	Port int `json:"port"`

	/* 后端服务器的权重。 (Optional) */
	Weight int `json:"weight"`
}

type VserverGroupDetail added in v1.7.0

type VserverGroupDetail struct {

	/* 所属云ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 服务器组ID (Optional) */
	VserverGroupId string `json:"vserverGroupId"`

	/* 服务器组名称 (Optional) */
	VserverGroupName string `json:"vserverGroupName"`

	/*  (Optional) */
	BackendServers []VserverGroupBackendServer `json:"backendServers"`
}

type VserverGroupInfo

type VserverGroupInfo struct {

	/* 所属云ID (Optional) */
	CloudID string `json:"cloudID"`

	/* 服务器组ID (Optional) */
	VserverGroupId string `json:"vserverGroupId"`

	/* 服务器组名称 (Optional) */
	VserverGroupName string `json:"vserverGroupName"`
}

Source Files

Jump to

Keyboard shortcuts

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