client

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*RenewalClient) RenewInstance

对相关实例进行续费。调用该接口会创建一个续费订单,并自动扣除您账户可用代金券和余额完成支付,如因为某些原因支付失败,订单会自动取消。

func (*RenewalClient) SetConfig

func (c *RenewalClient) SetConfig(config *core.Config)

func (*RenewalClient) SetLogger

func (c *RenewalClient) SetLogger(logger core.Logger)

func (*RenewalClient) SetRenewal

为一个或多个实例设置自动续费服务。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL