Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostConversionCreateOptions ¶
type CostConversionCreateOptions struct { Name string IsPublicCloud string `help:"public cloud filter of cost conversion" json:"is_public_cloud"` Brand string `help:"brand filter of cost conversion" json:"brand"` CloudaccountId string `help:"cloudaccount filter of cost conversion" json:"cloudaccount_id"` CloudproviderId string `help:"cloudprovider filter of cost conversion" json:"cloudprovider_id"` DomainIdFilter string `help:"domain filter of cost conversion" json:"domain_id_filter"` EnableDate string `help:"enable date of conversion ratio, example:202107" json:"enable_date"` Ratio float64 `help:"cost conversion ratio" json:"ratio"` }
func (*CostConversionCreateOptions) Params ¶
func (opt *CostConversionCreateOptions) Params() (jsonutils.JSONObject, error)
type CostConversionDeleteOptions ¶
type CostConversionDeleteOptions struct {
ID string `help:"ID of cost conversion" json:"-"`
}
func (*CostConversionDeleteOptions) GetId ¶
func (opt *CostConversionDeleteOptions) GetId() string
func (*CostConversionDeleteOptions) Params ¶
func (opt *CostConversionDeleteOptions) Params() (jsonutils.JSONObject, error)
type CostConversionListOptions ¶
type CostConversionListOptions struct {
options.BaseListOptions
}
func (*CostConversionListOptions) Params ¶
func (opt *CostConversionListOptions) Params() (jsonutils.JSONObject, error)
type CostConversionUpdateOptions ¶
type CostConversionUpdateOptions struct { ID string `help:"ID of cost conversion" json:"-"` Ratio float64 `help:"cost conversion ratio" json:"ratio"` }
func (*CostConversionUpdateOptions) GetId ¶
func (opt *CostConversionUpdateOptions) GetId() string
func (*CostConversionUpdateOptions) Params ¶
func (opt *CostConversionUpdateOptions) Params() (jsonutils.JSONObject, error)
Click to show internal directories.
Click to hide internal directories.