Documentation ¶
Index ¶
- type CreateCbcOrderRequestBody
- type CreateCbcOrderRequestBodyChargingMode
- type CreateCbcOrderRequestBodyChargingModeEnum
- type CreateCbcOrderRequestBodyIsAutoPay
- type CreateCbcOrderRequestBodyIsAutoPayEnum
- type CreateCbcOrderRequestBodyIsAutoRenew
- type CreateCbcOrderRequestBodyIsAutoRenewEnum
- type CreatePurchaseOrderRequest
- type CreatePurchaseOrderResponse
- type ProductInfo
- type UpdateCbcOrderRequestBody
- type UpdateCbcOrderRequestBodyIsAutoPay
- type UpdateCbcOrderRequestBodyIsAutoPayEnum
- type UpdateCbcOrderRequestBodyProductInfo
- type UpdatePurchaseOrderRequest
- type UpdatePurchaseOrderResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCbcOrderRequestBody ¶
type CreateCbcOrderRequestBody struct { // 计费模式: 0:一次性计费(默认值,对应包年包月) 10:RI ChargingMode CreateCbcOrderRequestBodyChargingMode `json:"charging_mode"` // 0:不自动续订 1:自动续订 IsAutoRenew CreateCbcOrderRequestBodyIsAutoRenew `json:"is_auto_renew"` // 该请求参数为预留参数,当前不支持自动支付,使用接口时该参数请使用0 0:不自动支付 1:自动支付 IsAutoPay CreateCbcOrderRequestBodyIsAutoPay `json:"is_auto_pay"` // period_num PeriodNum *int32 `json:"period_num,omitempty"` // 订购周期类型: 2:月; 3:年; 4:包小时(仅限带宽加油包购买场景使用) 5:绝对时间;(追加附属资源场景使用,比如主机上追加云硬盘) 6:一次性(chargingMode=1 一次性计费场景使用) PeriodType int32 `json:"period_type"` // 用户购买的云服务的主云服务类型 CloudServiceType string `json:"cloud_service_type"` // project_id ProjectId string `json:"project_id"` // promotion_info PromotionInfo *string `json:"promotion_info,omitempty"` // Region标识,填region编码如\"cn-north-1\",对于global服务,此处固定填写虚拟的Global regionCode(global-cbc-1) RegionId string `json:"region_id"` // product_infos ProductInfos []ProductInfo `json:"product_infos"` }
func (CreateCbcOrderRequestBody) String ¶
func (o CreateCbcOrderRequestBody) String() string
type CreateCbcOrderRequestBodyChargingMode ¶
type CreateCbcOrderRequestBodyChargingMode struct {
// contains filtered or unexported fields
}
func (CreateCbcOrderRequestBodyChargingMode) MarshalJSON ¶
func (c CreateCbcOrderRequestBodyChargingMode) MarshalJSON() ([]byte, error)
func (*CreateCbcOrderRequestBodyChargingMode) UnmarshalJSON ¶
func (c *CreateCbcOrderRequestBodyChargingMode) UnmarshalJSON(b []byte) error
func (CreateCbcOrderRequestBodyChargingMode) Value ¶
func (c CreateCbcOrderRequestBodyChargingMode) Value() int32
type CreateCbcOrderRequestBodyChargingModeEnum ¶
type CreateCbcOrderRequestBodyChargingModeEnum struct { E_1 CreateCbcOrderRequestBodyChargingMode E_10 CreateCbcOrderRequestBodyChargingMode }
func GetCreateCbcOrderRequestBodyChargingModeEnum ¶
func GetCreateCbcOrderRequestBodyChargingModeEnum() CreateCbcOrderRequestBodyChargingModeEnum
type CreateCbcOrderRequestBodyIsAutoPay ¶
type CreateCbcOrderRequestBodyIsAutoPay struct {
// contains filtered or unexported fields
}
func (CreateCbcOrderRequestBodyIsAutoPay) MarshalJSON ¶
func (c CreateCbcOrderRequestBodyIsAutoPay) MarshalJSON() ([]byte, error)
func (*CreateCbcOrderRequestBodyIsAutoPay) UnmarshalJSON ¶
func (c *CreateCbcOrderRequestBodyIsAutoPay) UnmarshalJSON(b []byte) error
func (CreateCbcOrderRequestBodyIsAutoPay) Value ¶
func (c CreateCbcOrderRequestBodyIsAutoPay) Value() int32
type CreateCbcOrderRequestBodyIsAutoPayEnum ¶
type CreateCbcOrderRequestBodyIsAutoPayEnum struct { E_0 CreateCbcOrderRequestBodyIsAutoPay E_1 CreateCbcOrderRequestBodyIsAutoPay }
func GetCreateCbcOrderRequestBodyIsAutoPayEnum ¶
func GetCreateCbcOrderRequestBodyIsAutoPayEnum() CreateCbcOrderRequestBodyIsAutoPayEnum
type CreateCbcOrderRequestBodyIsAutoRenew ¶
type CreateCbcOrderRequestBodyIsAutoRenew struct {
// contains filtered or unexported fields
}
func (CreateCbcOrderRequestBodyIsAutoRenew) MarshalJSON ¶
func (c CreateCbcOrderRequestBodyIsAutoRenew) MarshalJSON() ([]byte, error)
func (*CreateCbcOrderRequestBodyIsAutoRenew) UnmarshalJSON ¶
func (c *CreateCbcOrderRequestBodyIsAutoRenew) UnmarshalJSON(b []byte) error
func (CreateCbcOrderRequestBodyIsAutoRenew) Value ¶
func (c CreateCbcOrderRequestBodyIsAutoRenew) Value() int32
type CreateCbcOrderRequestBodyIsAutoRenewEnum ¶
type CreateCbcOrderRequestBodyIsAutoRenewEnum struct { E_0 CreateCbcOrderRequestBodyIsAutoRenew E_1 CreateCbcOrderRequestBodyIsAutoRenew }
func GetCreateCbcOrderRequestBodyIsAutoRenewEnum ¶
func GetCreateCbcOrderRequestBodyIsAutoRenewEnum() CreateCbcOrderRequestBodyIsAutoRenewEnum
type CreatePurchaseOrderRequest ¶
type CreatePurchaseOrderRequest struct { // servicename,购买vss服务时使用\"webscan\" Service string `json:"service"` Body *CreateCbcOrderRequestBody `json:"body,omitempty"` }
CreatePurchaseOrderRequest Request Object
func (CreatePurchaseOrderRequest) String ¶
func (o CreatePurchaseOrderRequest) String() string
type CreatePurchaseOrderResponse ¶
type CreatePurchaseOrderResponse struct { // order_id OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePurchaseOrderResponse Response Object
func (CreatePurchaseOrderResponse) String ¶
func (o CreatePurchaseOrderResponse) String() string
type ProductInfo ¶
type ProductInfo struct { // 用户购买的云服务的主云服务类型 CloudServiceType string `json:"cloud_service_type"` // 产品标识,通过订购询价接口获得 ProductId string `json:"product_id"` // 用户购买云服务产品的资源规格 ResourceSpeccode string `json:"resource_speccode"` // 用户购买云服务产品的资源类型 ResourceType string `json:"resource_type"` // 资源容量度量标识,购买vss服务时使用14: 15:Mbps(购买带宽时使用) 17:GB(购买云硬盘时使用) 14:个/次 ResouceSizeMeasureId *int32 `json:"resouce_size_measure_id,omitempty"` // 资源容量大小 ResourceSize *int32 `json:"resource_size,omitempty"` }
func (ProductInfo) String ¶
func (o ProductInfo) String() string
type UpdateCbcOrderRequestBody ¶
type UpdateCbcOrderRequestBody struct { // change_mode ChangeMode int32 `json:"change_mode"` // 该请求参数为预留参数,当前不支持自动支付,使用接口时该参数请使用0 0:不自动支付 1:自动支付 IsAutoPay UpdateCbcOrderRequestBodyIsAutoPay `json:"is_auto_pay"` // 发起规格变更操作的云服务类型 CloudServiceType string `json:"cloud_service_type"` // project_id ProjectId string `json:"project_id"` // 资源标识ID ResourceId string `json:"resource_id"` ProductInfo *UpdateCbcOrderRequestBodyProductInfo `json:"product_info"` }
func (UpdateCbcOrderRequestBody) String ¶
func (o UpdateCbcOrderRequestBody) String() string
type UpdateCbcOrderRequestBodyIsAutoPay ¶
type UpdateCbcOrderRequestBodyIsAutoPay struct {
// contains filtered or unexported fields
}
func (UpdateCbcOrderRequestBodyIsAutoPay) MarshalJSON ¶
func (c UpdateCbcOrderRequestBodyIsAutoPay) MarshalJSON() ([]byte, error)
func (*UpdateCbcOrderRequestBodyIsAutoPay) UnmarshalJSON ¶
func (c *UpdateCbcOrderRequestBodyIsAutoPay) UnmarshalJSON(b []byte) error
func (UpdateCbcOrderRequestBodyIsAutoPay) Value ¶
func (c UpdateCbcOrderRequestBodyIsAutoPay) Value() int32
type UpdateCbcOrderRequestBodyIsAutoPayEnum ¶
type UpdateCbcOrderRequestBodyIsAutoPayEnum struct { E_0 UpdateCbcOrderRequestBodyIsAutoPay E_1 UpdateCbcOrderRequestBodyIsAutoPay }
func GetUpdateCbcOrderRequestBodyIsAutoPayEnum ¶
func GetUpdateCbcOrderRequestBodyIsAutoPayEnum() UpdateCbcOrderRequestBodyIsAutoPayEnum
type UpdateCbcOrderRequestBodyProductInfo ¶
type UpdateCbcOrderRequestBodyProductInfo struct { // 用户购买的云服务的主云服务类型 CloudServiceType string `json:"cloud_service_type"` // 产品标识,通过订购询价接口获得 ProductId string `json:"product_id"` // 用户购买云服务产品的资源规格 ResourceSpeccode string `json:"resource_speccode"` // 用户购买云服务产品的资源类型 ResourceType string `json:"resource_type"` // 资源容量度量标识,购买vss服务时使用14: 15:Mbps(购买带宽时使用) 17:GB(购买云硬盘时使用) 14:个/次 ResouceSizeMeasureId *int32 `json:"resouce_size_measure_id,omitempty"` // 资源容量大小 ResourceSize *int32 `json:"resource_size,omitempty"` }
UpdateCbcOrderRequestBodyProductInfo product_info
func (UpdateCbcOrderRequestBodyProductInfo) String ¶
func (o UpdateCbcOrderRequestBodyProductInfo) String() string
type UpdatePurchaseOrderRequest ¶
type UpdatePurchaseOrderRequest struct { // servicename,购买vss服务时使用\"webscan\" Service string `json:"service"` Body *UpdateCbcOrderRequestBody `json:"body,omitempty"` }
UpdatePurchaseOrderRequest Request Object
func (UpdatePurchaseOrderRequest) String ¶
func (o UpdatePurchaseOrderRequest) String() string
type UpdatePurchaseOrderResponse ¶
type UpdatePurchaseOrderResponse struct { // order_id OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePurchaseOrderResponse Response Object
func (UpdatePurchaseOrderResponse) String ¶
func (o UpdatePurchaseOrderResponse) String() string
Source Files ¶
- model_create_cbc_order_request_body.go
- model_create_purchase_order_request.go
- model_create_purchase_order_response.go
- model_product_info.go
- model_update_cbc_order_request_body.go
- model_update_cbc_order_request_body_product_info.go
- model_update_purchase_order_request.go
- model_update_purchase_order_response.go
Click to show internal directories.
Click to hide internal directories.