Documentation ¶
Index ¶
- type InstancevoucherClient
- func (c *InstancevoucherClient) CreateInstanceVoucher(request *instancevoucher.CreateInstanceVoucherRequest) (*instancevoucher.CreateInstanceVoucherResponse, error)
- func (c *InstancevoucherClient) DeleteInstanceVoucher(request *instancevoucher.DeleteInstanceVoucherRequest) (*instancevoucher.DeleteInstanceVoucherResponse, error)
- func (c *InstancevoucherClient) DescribeInstanceVoucher(request *instancevoucher.DescribeInstanceVoucherRequest) (*instancevoucher.DescribeInstanceVoucherResponse, error)
- func (c *InstancevoucherClient) DescribeInstanceVoucherTypes(request *instancevoucher.DescribeInstanceVoucherTypesRequest) (*instancevoucher.DescribeInstanceVoucherTypesResponse, error)
- func (c *InstancevoucherClient) DescribeInstanceVouchers(request *instancevoucher.DescribeInstanceVouchersRequest) (*instancevoucher.DescribeInstanceVouchersResponse, error)
- func (c *InstancevoucherClient) DescribeQuotas(request *instancevoucher.DescribeQuotasRequest) (*instancevoucher.DescribeQuotasResponse, error)
- func (c *InstancevoucherClient) DisableLogger()
- func (c *InstancevoucherClient) ModifyInstanceVoucherAttribute(request *instancevoucher.ModifyInstanceVoucherAttributeRequest) (*instancevoucher.ModifyInstanceVoucherAttributeResponse, error)
- func (c *InstancevoucherClient) SetConfig(config *core.Config)
- func (c *InstancevoucherClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancevoucherClient ¶
type InstancevoucherClient struct {
core.JDCloudClient
}
func NewInstancevoucherClient ¶
func NewInstancevoucherClient(credential *core.Credential) *InstancevoucherClient
func (*InstancevoucherClient) CreateInstanceVoucher ¶
func (c *InstancevoucherClient) CreateInstanceVoucher(request *instancevoucher.CreateInstanceVoucherRequest) (*instancevoucher.CreateInstanceVoucherResponse, error)
创建实例抵扣券
func (*InstancevoucherClient) DeleteInstanceVoucher ¶
func (c *InstancevoucherClient) DeleteInstanceVoucher(request *instancevoucher.DeleteInstanceVoucherRequest) (*instancevoucher.DeleteInstanceVoucherResponse, error)
删除实例抵扣券
func (*InstancevoucherClient) DescribeInstanceVoucher ¶
func (c *InstancevoucherClient) DescribeInstanceVoucher(request *instancevoucher.DescribeInstanceVoucherRequest) (*instancevoucher.DescribeInstanceVoucherResponse, error)
查询实例抵扣券的详细信息
func (*InstancevoucherClient) DescribeInstanceVoucherTypes ¶
func (c *InstancevoucherClient) DescribeInstanceVoucherTypes(request *instancevoucher.DescribeInstanceVoucherTypesRequest) (*instancevoucher.DescribeInstanceVoucherTypesResponse, error)
查询实例规格信息列表
func (*InstancevoucherClient) DescribeInstanceVouchers ¶
func (c *InstancevoucherClient) DescribeInstanceVouchers(request *instancevoucher.DescribeInstanceVouchersRequest) (*instancevoucher.DescribeInstanceVouchersResponse, error)
批量查询实例抵扣券的详细信息<br>
此接口支持分页查询,默认每页20条。
func (*InstancevoucherClient) DescribeQuotas ¶
func (c *InstancevoucherClient) DescribeQuotas(request *instancevoucher.DescribeQuotasRequest) (*instancevoucher.DescribeQuotasResponse, error)
查询配额
func (*InstancevoucherClient) DisableLogger ¶
func (c *InstancevoucherClient) DisableLogger()
func (*InstancevoucherClient) ModifyInstanceVoucherAttribute ¶
func (c *InstancevoucherClient) ModifyInstanceVoucherAttribute(request *instancevoucher.ModifyInstanceVoucherAttributeRequest) (*instancevoucher.ModifyInstanceVoucherAttributeResponse, error)
修改实例抵扣券的 名称 和 描述。<br>
name 和 description 必须要指定一个
func (*InstancevoucherClient) SetConfig ¶
func (c *InstancevoucherClient) SetConfig(config *core.Config)
func (*InstancevoucherClient) SetLogger ¶
func (c *InstancevoucherClient) SetLogger(logger core.Logger)
Click to show internal directories.
Click to hide internal directories.