Documentation
¶
Index ¶
- type BackInstanceVoucherVo
- type ConsoleInstanceVoucherVo
- type DeductionDetailOperatorVo
- type DeductionDetailVo
- type InstanceVoucherDTO
- type InstanceVoucherSpec
- type InstanceVoucherVo
- type Pagination
- type Product
- type ProductQuery
- type SpecificationDTO
- type SpecificationVo
- type SysConfig
- type SysConfigVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackInstanceVoucherVo ¶
type BackInstanceVoucherVo struct { /* pin (Optional) */ Pin string `json:"pin"` /* 账户名 (Optional) */ Account string `json:"account"` /* 实例券id (Optional) */ InstanceVoucherId string `json:"instanceVoucherId"` /* 实例券类型 (Optional) */ InstanceVoucherType string `json:"instanceVoucherType"` /* 资源预留(1 有预留、2 无预留) (Optional) */ IsReserved int `json:"isReserved"` /* 地域 (Optional) */ Region string `json:"region"` /* 展示说明 (Optional) */ Tips string `json:"tips"` /* 展示实例族/规格 (Optional) */ Label string `json:"label"` /* 数量 (Optional) */ Count int `json:"count"` /* 显示单位 (Optional) */ Unit string `json:"unit"` /* 生效时间 (Optional) */ StartTime string `json:"startTime"` /* 失效时间 (Optional) */ EndTime string `json:"endTime"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 状态(1:正常: 2:已退订 -1:失效) (Optional) */ Status int `json:"status"` }
type ConsoleInstanceVoucherVo ¶
type ConsoleInstanceVoucherVo struct { /* 实例券id (Optional) */ InstanceVoucherId string `json:"instanceVoucherId"` /* 实例券类型 (Optional) */ InstanceVoucherType string `json:"instanceVoucherType"` /* 资源预留(1 有预留、2 无预留) (Optional) */ IsReserved int `json:"isReserved"` /* 地域 (Optional) */ Region string `json:"region"` /* 展示说明 (Optional) */ Tips string `json:"tips"` /* 展示实例族/规格 (Optional) */ Label string `json:"label"` /* 数量 (Optional) */ Count int `json:"count"` /* 显示单位 (Optional) */ Unit string `json:"unit"` /* 生效时间 (Optional) */ StartTime string `json:"startTime"` /* 失效时间 (Optional) */ EndTime string `json:"endTime"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 状态(1:正常: 2:已退订 -1:失效) (Optional) */ Status int `json:"status"` }
type DeductionDetailOperatorVo ¶
type DeductionDetailOperatorVo struct { /* pin (Optional) */ Pin string `json:"pin"` /* 账户名 (Optional) */ LoginName string `json:"loginName"` /* 实例券ID (Optional) */ ReservedInstanceId string `json:"reservedInstanceId"` /* 实例券类型 (Optional) */ ReservedInstanceTypeName string `json:"reservedInstanceTypeName"` /* 抵扣时间 (Optional) */ UsageTime string `json:"usageTime"` /* 抵扣产品 (Optional) */ InstanceServiceCodeName string `json:"instanceServiceCodeName"` /* 抵扣实例ID (Optional) */ InstanceId string `json:"instanceId"` /* 实例规格 (Optional) */ InstanceSpec string `json:"instanceSpec"` /* 抵扣量 (Optional) */ ConsumeAmount string `json:"consumeAmount"` /* 实例地域 (Optional) */ InstanceRegionName string `json:"instanceRegionName"` /* 用量开始时间 (Optional) */ StartTime string `json:"startTime"` /* 用量结束时间 (Optional) */ EndTime string `json:"endTime"` }
type DeductionDetailVo ¶
type DeductionDetailVo struct { /* pin (Optional) */ Pin string `json:"pin"` /* 实例券ID (Optional) */ ReservedInstanceId string `json:"reservedInstanceId"` /* 实例券类型 (Optional) */ ReservedInstanceTypeName string `json:"reservedInstanceTypeName"` /* 抵扣时间 (Optional) */ UsageTime string `json:"usageTime"` /* 抵扣产品 (Optional) */ InstanceServiceCodeName string `json:"instanceServiceCodeName"` /* 抵扣实例ID (Optional) */ InstanceId string `json:"instanceId"` /* 实例规格 (Optional) */ InstanceSpec string `json:"instanceSpec"` /* 抵扣量 (Optional) */ ConsumeAmount string `json:"consumeAmount"` /* 实例地域 (Optional) */ InstanceRegionName string `json:"instanceRegionName"` /* 用量开始时间 (Optional) */ StartTime string `json:"startTime"` /* 用量结束时间 (Optional) */ EndTime string `json:"endTime"` }
type InstanceVoucherDTO ¶
type InstanceVoucherDTO struct { /* 实例券ID (Optional) */ InstanceVoucherId string `json:"instanceVoucherId"` /* 实例券类型(对应iaas侧resourceType) (Optional) */ ReservedInstanceType string `json:"reservedInstanceType"` /* pin (Optional) */ Pin string `json:"pin"` /* 产品 (Optional) */ ServiceCode string `json:"serviceCode"` /* 是否有预留(1 有预留、2 无预留,对应iaas侧reservedType 预留:reserved, 不预留:unReserved) (Optional) */ IsReserved int `json:"isReserved"` /* 状态(1:正常: 2:已退订,-1:失效) (Optional) */ Status int `json:"status"` /* 生效时间 (Optional) */ StartTime string `json:"startTime"` /* 失效时间 (Optional) */ EndTime string `json:"endTime"` }
type InstanceVoucherSpec ¶
type InstanceVoucherSpec struct { /* sourceId (Optional) */ SourceId string `json:"sourceId"` /* 订单号 (Optional) */ OrderNumber string `json:"orderNumber"` /* 实例券ID (Optional) */ InstanceVoucherId string `json:"instanceVoucherId"` /* 用户pin (Optional) */ Pin string `json:"pin"` /* 产品线 (Optional) */ AppCode string `json:"appCode"` /* 产品编码 (Optional) */ ServiceCode string `json:"serviceCode"` /* 产品类型(实例券类型) (Optional) */ ResourceType string `json:"resourceType"` /* 地域 (Optional) */ Region string `json:"region"` /* 可用区(新购时,预留:reserved,az必传) (Optional) */ Az string `json:"az"` /* 资源分配方式(是否预留 预留:reserved, 不预留:unReserved) (Optional) */ ReservedType string `json:"reservedType"` /* 规格族(不预留:unReserved,instanceTypeFamily必传) (Optional) */ InstanceTypeFamily string `json:"instanceTypeFamily"` /* 规格(预留:reserved,instanceType必传) (Optional) */ InstanceType string `json:"instanceType"` /* 购买数量 (Optional) */ UnitCount int `json:"unitCount"` /* 计费单位,预付费必填(month、year,默认为month) (Optional) */ ChargeUnit string `json:"chargeUnit"` /* 计费时长,预付费必填 (Optional) */ ChargeDuration int `json:"chargeDuration"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 操作(1:新购 2:配置变更) (Optional) */ Action int `json:"action"` }
type InstanceVoucherVo ¶
type InstanceVoucherVo struct { /* 实例券ID (Optional) */ InstanceVoucherId string `json:"instanceVoucherId"` /* 实例券类型(对应iaas侧resourceType) (Optional) */ ReservedInstanceType string `json:"reservedInstanceType"` /* 是否有预留(1 有预留、2 无预留,对应iaas侧reservedType 预留:reserved, 不预留:unReserved) (Optional) */ IsReserved int `json:"isReserved"` /* 状态(1:正常: 2:已退订,-1:失效) (Optional) */ Status int `json:"status"` /* 生效时间 (Optional) */ StartTime string `json:"startTime"` /* 失效时间 (Optional) */ EndTime string `json:"endTime"` }
type Pagination ¶
type Pagination struct { /* 当前页(默认:1) (Optional) */ CurrPageNo int `json:"currPageNo"` /* 总页数 (Optional) */ NumberPages int `json:"numberPages"` /* 总记录数 (Optional) */ NumberRecords int `json:"numberRecords"` /* 每页记录数(默认每页:10) (Optional) */ PageSize int `json:"pageSize"` /* 起始页 (Optional) */ StartIndex int `json:"startIndex"` }
type Product ¶
type Product struct { /* ID (Optional) */ Id int `json:"id"` /* 应用编码 (Optional) */ AppCode string `json:"appCode"` /* 产品编码 (Optional) */ ServiceCode string `json:"serviceCode"` /* 预留实例类型 (Optional) */ ReservedInstanceType string `json:"reservedInstanceType"` /* 预留实例券类型名称 (Optional) */ TypeName string `json:"typeName"` /* 状态 : 1 有效 2 失效 (Optional) */ Status int `json:"status"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 修改时间 (Optional) */ UpdateTime string `json:"updateTime"` /* 创建人 (Optional) */ CreateErp string `json:"createErp"` }
type ProductQuery ¶
type ProductQuery struct { /* ID (Optional) */ Id int `json:"id"` /* 应用编码 (Optional) */ AppCode string `json:"appCode"` /* 产品编码 (Optional) */ ServiceCode string `json:"serviceCode"` /* 预留实例类型 (Optional) */ ReservedInstanceType string `json:"reservedInstanceType"` /* 预留实例券类型名称 (Optional) */ TypeName string `json:"typeName"` /* 状态 : 1 有效 2 失效 (Optional) */ Status int `json:"status"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 修改时间 (Optional) */ UpdateTime string `json:"updateTime"` /* 创建人 (Optional) */ CreateErp string `json:"createErp"` }
type SpecificationDTO ¶
type SpecificationDTO struct { /* 产品线 (Optional) */ AppCode string `json:"appCode"` /* 产品 (Optional) */ ServiceCode string `json:"serviceCode"` /* 券类型 (Optional) */ ReservedInstanceType int `json:"reservedInstanceType"` /* 预留类型 (Optional) */ IsReserved int `json:"isReserved"` /* 券规格 (Optional) */ InstanceTypeFamily string `json:"instanceTypeFamily"` /* 可抵扣产品 (Optional) */ UsingServiceCode string `json:"usingServiceCode"` /* 可抵扣规格 (Optional) */ InstanceType string `json:"instanceType"` /* 标准化因子 (Optional) */ StandardFactor int `json:"standardFactor"` /* 状态 (Optional) */ Status int `json:"status"` }
type SpecificationVo ¶
type SpecificationVo struct { /* 主键id (Optional) */ Id int `json:"id"` /* 产品线 (Optional) */ AppCode string `json:"appCode"` /* 产品线展示名称 (Optional) */ AppCodeName string `json:"appCodeName"` /* 产品 (Optional) */ ServiceCode string `json:"serviceCode"` /* 产品展示名称 (Optional) */ ServiceCodeName string `json:"serviceCodeName"` /* 券类型 (Optional) */ ReservedInstanceType string `json:"reservedInstanceType"` /* 券类型展示名称 (Optional) */ ReservedInstanceTypeName string `json:"reservedInstanceTypeName"` /* 预留类型 1、有预留,2、无预留 (Optional) */ IsReserved int `json:"isReserved"` /* 预留类型 1、有预留,2、无预留 (Optional) */ IsReservedStr string `json:"isReservedStr"` /* 券规格 (Optional) */ InstanceTypeFamily string `json:"instanceTypeFamily"` /* 可抵扣产品 (Optional) */ UsingServiceCode string `json:"usingServiceCode"` /* 可抵扣产品展示名称 (Optional) */ UsingServiceCodeName string `json:"usingServiceCodeName"` /* 可抵扣规格 (Optional) */ InstanceType string `json:"instanceType"` /* 标准化因子 (Optional) */ StandardFactor int `json:"standardFactor"` /* 状态 1-有效, 2-无效 (Optional) */ Status int `json:"status"` /* 状态 1-有效, 2-无效 (Optional) */ StatusStr string `json:"statusStr"` }
type SysConfig ¶
type SysConfig struct { /* id (Optional) */ Id int `json:"id"` /* 键 (Optional) */ Key string `json:"key"` /* 值 (Optional) */ Value string `json:"value"` /* 类型 (Optional) */ ConfigType string `json:"configType"` /* 描述 (Optional) */ Description string `json:"description"` /* 创建时间 (Optional) */ CreatedTime string `json:"createdTime"` /* 更新时间 (Optional) */ UpdatedTime string `json:"updatedTime"` /* 创建人 (Optional) */ CreateErp string `json:"createErp"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.