client

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgClient

type AgClient struct {
	core.JDCloudClient
}

func NewAgClient

func NewAgClient(credential *core.Credential) *AgClient

func (*AgClient) AbandonInstances

func (c *AgClient) AbandonInstances(request *ag.AbandonInstancesRequest) (*ag.AbandonInstancesResponse, error)

从高可用组中剔除实例

func (*AgClient) CreateAg

func (c *AgClient) CreateAg(request *ag.CreateAgRequest) (*ag.CreateAgResponse, error)

创建一个高可用组

func (*AgClient) DeleteAg

func (c *AgClient) DeleteAg(request *ag.DeleteAgRequest) (*ag.DeleteAgResponse, error)

根据 id 删除高可用组,需确保 AG 中云主机实例已全部删除

func (*AgClient) DescribeAg

func (c *AgClient) DescribeAg(request *ag.DescribeAgRequest) (*ag.DescribeAgResponse, error)

根据 id 查询高可用组详情

func (*AgClient) DescribeAgs

func (c *AgClient) DescribeAgs(request *ag.DescribeAgsRequest) (*ag.DescribeAgsResponse, error)

使用过滤条件查询一个或多个高可用组

func (*AgClient) DescribeQuotas

func (c *AgClient) DescribeQuotas(request *ag.DescribeQuotasRequest) (*ag.DescribeQuotasResponse, error)

查询(ag)配额

func (*AgClient) SetConfig

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

func (*AgClient) SetInstanceTemplate

func (c *AgClient) SetInstanceTemplate(request *ag.SetInstanceTemplateRequest) (*ag.SetInstanceTemplateResponse, error)

修改高可用组的实例模板

func (*AgClient) SetLogger

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

func (*AgClient) UpdateAg

func (c *AgClient) UpdateAg(request *ag.UpdateAgRequest) (*ag.UpdateAgResponse, error)

修改一个高可用组的信息

Jump to

Keyboard shortcuts

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