Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryRemoteQuotaResVo ¶
type QueryRemoteQuotaResVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 产品线名称 (Optional) */
ServiceName string `json:"serviceName"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 地域名称 (Optional) */
RegionName string `json:"regionName"`
/* 用户该地域该资源下的配额值 (Optional) */
UserQuota int `json:"userQuota"`
/* 可用配额 (Optional) */
AvailableQuota int `json:"availableQuota"`
/* 已用配额 (Optional) */
UsedQuota int `json:"usedQuota"`
/* 父资源id (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 配额超出标识,[已使用配额,大于等于配额总量,false],[已使用配额,小于配额总量,返回true] (Optional) */
QuotaBeyondFlag bool `json:"quotaBeyondFlag"`
/* 失败原因 (Optional) */
FailReason string `json:"failReason"`
}
type QuotaQueryReqVo ¶
type QuotaQueryReqVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 站点类型 (Optional) */
SiteType int `json:"siteType"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 资源产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 父层资源id(针对有两层结构的服务) (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 业务唯一键 (Optional) */
Uid string `json:"uid"`
/* 配额数量 (Optional) */
QuotaAmount int `json:"quotaAmount"`
}
type QuotaReqVo ¶
type QuotaReqVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 站点类型 (Optional) */
SiteType int `json:"siteType"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 资源产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 用户该地域该资源下的配额值 (Optional) */
UserQuota int64 `json:"userQuota"`
/* 父层资源id(针对有两层结构的服务,如私有网络) (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 业务唯一键 (Optional) */
Uid string `json:"uid"`
/* 操作类型 (Optional) */
OpType string `json:"opType"`
/* 预占量 (Optional) */
PreoccupyAmount int `json:"preoccupyAmount"`
/* 配额数量 (Optional) */
QuotaAmount int `json:"quotaAmount"`
/* 父资源名称 (Optional) */
ParentResourceName string `json:"parentResourceName"`
}
type QuotaVerifyReqVo ¶
type QuotaVerifyReqVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 站点类型 (Optional) */
SiteType int `json:"siteType"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 资源产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 父层资源id(针对有两层结构的服务) (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 业务唯一键 (Optional) */
Uid string `json:"uid"`
/* 配额数量 (Optional) */
QuotaAmount int `json:"quotaAmount"`
}
type RemoteQuota ¶
type RemoteQuota struct {
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 资源名称 (Optional) */
Name string `json:"name"`
/* 配额总量 (Optional) */
TotalInventory string `json:"totalInventory"`
/* 已用配额 (Optional) */
UsedAmount string `json:"usedAmount"`
/* 父资源id (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 可用配额 (Optional) */
AvailableAmount string `json:"availableAmount"`
}
type RemoteQuotaReq ¶
type RemoteQuotaReq struct {
/* (Optional) */
Id int64 `json:"id"`
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 资源类型 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 一级资源serviceCode (Optional) */
ParentCode string `json:"parentCode"`
/* 所属地域 (Optional) */
Region string `json:"region"`
/* 资源id,私有网络 (Optional) */
ResourceId string `json:"resourceId"`
/* 修改后配额 (Optional) */
UserQuota int `json:"userQuota"`
/* 修改原因 (Optional) */
Reason string `json:"reason"`
/* 过期时间 (Optional) */
ExpireTime string `json:"expireTime"`
/* 修改配额时间 (Optional) */
UpdateTime string `json:"updateTime"`
/* 扩展字段,json格式字符串 (Optional) */
ExtraInfo string `json:"extraInfo"`
}
type UserQuotaReqVo ¶
type UserQuotaReqVo struct {
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 可用配额 (Optional) */
AvailableQuota int `json:"availableQuota"`
/* (Optional) */
CountSql bool `json:"countSql"`
/* 用户该地域该资源下的配额值 (Optional) */
ExpireTime string `json:"expireTime"`
/* id (Optional) */
Id int64 `json:"id"`
/* (Optional) */
OrderBy string `json:"orderBy"`
/* (Optional) */
PageNum int `json:"pageNum"`
/* (Optional) */
PageSize int `json:"pageSize"`
/* (Optional) */
PageSizeZero bool `json:"pageSizeZero"`
/* 父层id (Optional) */
ResourceId string `json:"resourceId"`
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 产品名称 (Optional) */
ProductName string `json:"productName"`
/* (Optional) */
Reasonable bool `json:"reasonable"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 区域配额 (Optional) */
RegionQuota int64 `json:"regionQuota"`
/* 资源产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 站点类型 (Optional) */
SiteType int `json:"siteType"`
/* 已用配额 (Optional) */
UsedQuota int `json:"usedQuota"`
/* 用户该地域该资源下的配额值 (Optional) */
UserQuota int64 `json:"userQuota"`
/* 扩展字段,json格式字符串 (Optional) */
ExtraInfo string `json:"extraInfo"`
}
type UserQuotaResVo ¶
type UserQuotaResVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 产品线名称 (Optional) */
ServiceName string `json:"serviceName"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 地域名称 (Optional) */
RegionName string `json:"regionName"`
/* 用户该地域该资源下的配额值 (Optional) */
UserQuota int `json:"userQuota"`
/* 用户该地域该资源下的最大可用配额值 (Optional) */
MaxUserQuota int `json:"maxUserQuota"`
/* 配额到期时间 (Optional) */
ExpireTime string `json:"expireTime"`
/* 可用配额 (Optional) */
AvailableQuota int `json:"availableQuota"`
/* 预占配额 (Optional) */
PreOccupyAmount int `json:"preOccupyAmount"`
/* 创建时间 (Optional) */
CreatedTime string `json:"createdTime"`
/* 更新时间 (Optional) */
UpdatedTime string `json:"updatedTime"`
/* 资源id (Optional) */
ResourceId string `json:"resourceId"`
/* 父资源id (Optional) */
ParentResourceId string `json:"parentResourceId"`
/* 产品名称 (Optional) */
ProductName string `json:"productName"`
/* 站点类型 (Optional) */
SiteType int `json:"siteType"`
/* 已用配额 (Optional) */
QuotaAmount int `json:"quotaAmount"`
/* 配额超出标识,[已使用配额,大于等于配额总量,false],[已使用配额,小于配额总量,返回true] (Optional) */
QuotaBeyondFlag bool `json:"quotaBeyondFlag"`
/* 是否资资源 (Optional) */
IsSubResource string `json:"isSubResource"`
/* 失败原因 (Optional) */
FailReason string `json:"failReason"`
}
type VerifyQuotaResVo ¶
type VerifyQuotaResVo struct {
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 业务线 (Optional) */
AppCode string `json:"appCode"`
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 产品线名称 (Optional) */
ServiceName string `json:"serviceName"`
/* 地域 (Optional) */
Region string `json:"region"`
/* 地域名称 (Optional) */
RegionName string `json:"regionName"`
/* 用户该地域该资源下的配额值 (Optional) */
UserQuota int `json:"userQuota"`
}
type Vo ¶
type Vo struct {
/* 资源 (Optional) */
Resources []QuotaReqVo `json:"resources"`
/* 操作类型 (Optional) */
OpType string `json:"opType"`
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
}
Click to show internal directories.
Click to hide internal directories.