Documentation ¶
Index ¶
- type RenewalClient
- func (c *RenewalClient) DisableLogger()
- func (c *RenewalClient) QueryInstance(request *renewal.QueryInstanceRequest) (*renewal.QueryInstanceResponse, error)
- func (c *RenewalClient) RenewInstance(request *renewal.RenewInstanceRequest) (*renewal.RenewInstanceResponse, error)
- func (c *RenewalClient) SetConfig(config *core.Config)
- func (c *RenewalClient) SetLogger(logger core.Logger)
- func (c *RenewalClient) SetRenewal(request *renewal.SetRenewalRequest) (*renewal.SetRenewalResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenewalClient ¶
type RenewalClient struct {
core.JDCloudClient
}
func NewRenewalClient ¶
func NewRenewalClient(credential *core.Credential) *RenewalClient
func (*RenewalClient) DisableLogger ¶ added in v1.13.0
func (c *RenewalClient) DisableLogger()
func (*RenewalClient) QueryInstance ¶
func (c *RenewalClient) QueryInstance(request *renewal.QueryInstanceRequest) (*renewal.QueryInstanceResponse, error)
提供可续费的实例信息查询。
func (*RenewalClient) RenewInstance ¶
func (c *RenewalClient) RenewInstance(request *renewal.RenewInstanceRequest) (*renewal.RenewInstanceResponse, error)
对相关实例进行续费。调用该接口会创建一个续费订单,并自动扣除您账户可用代金券和余额完成支付,如因为某些原因支付失败,订单会自动取消。
func (*RenewalClient) SetConfig ¶
func (c *RenewalClient) SetConfig(config *core.Config)
func (*RenewalClient) SetLogger ¶
func (c *RenewalClient) SetLogger(logger core.Logger)
func (*RenewalClient) SetRenewal ¶
func (c *RenewalClient) SetRenewal(request *renewal.SetRenewalRequest) (*renewal.SetRenewalResponse, error)
为一个或多个实例设置自动续费服务。
Click to show internal directories.
Click to hide internal directories.