client

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

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 BastionClient

type BastionClient struct {
	core.JDCloudClient
}

func NewBastionClient

func NewBastionClient(credential *core.Credential) *BastionClient

func (*BastionClient) CreateInstance

创建指定配置实例

func (*BastionClient) DeleteInstance

删除实例

func (*BastionClient) DescribeBastion

查询一个堡垒机的信息

func (*BastionClient) DescribeBastions

批量查询堡垒机的信息,此接口支持分页查询,默认每页20条

func (*BastionClient) DescribeInstance

查询一个堡垒机的信息

func (*BastionClient) DescribePins

获取堡垒机有效信息

func (*BastionClient) DescribeSign

获取加密sign

func (*BastionClient) DescribeSourceId

查询一个堡垒机的信息

func (*BastionClient) DisableLogger

func (c *BastionClient) DisableLogger()

func (*BastionClient) ModifyInstanceExpireOrStart

变更实例到期或者恢复实例服务

func (*BastionClient) ModifyInstanceSpec

变更实例的配置,目前只允许升配

func (*BastionClient) SetConfig

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

func (*BastionClient) SetInstancePublicAccess

设置公网IP状态,true为开放,false为关闭

func (*BastionClient) SetInstanceZeroEnable

开关零信任功能

func (*BastionClient) SetLogger

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

func (*BastionClient) UpdateBastionDesc

更新堡垒机实例的描述信息

Jump to

Keyboard shortcuts

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