v1

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CbhClientBuilder

func CbhClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForChangeInstanceNetwork added in v0.1.15

func GenReqDefForChangeInstanceNetwork() *def.HttpRequestDef

func GenReqDefForChangeInstanceOrder added in v0.1.17

func GenReqDefForChangeInstanceOrder() *def.HttpRequestDef

func GenReqDefForCreateInstance added in v0.1.15

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForCreateInstanceOrder added in v0.1.15

func GenReqDefForCreateInstanceOrder() *def.HttpRequestDef

func GenReqDefForInstallInstanceEip added in v0.1.15

func GenReqDefForInstallInstanceEip() *def.HttpRequestDef

func GenReqDefForListCbhInstance

func GenReqDefForListCbhInstance() *def.HttpRequestDef

func GenReqDefForListQuotaStatus added in v0.1.32

func GenReqDefForListQuotaStatus() *def.HttpRequestDef

func GenReqDefForResetLoginMethod added in v0.1.15

func GenReqDefForResetLoginMethod() *def.HttpRequestDef

func GenReqDefForResetPassword added in v0.1.15

func GenReqDefForResetPassword() *def.HttpRequestDef

func GenReqDefForRestartCbhInstance added in v0.1.15

func GenReqDefForRestartCbhInstance() *def.HttpRequestDef

func GenReqDefForSearchQuota added in v0.1.15

func GenReqDefForSearchQuota() *def.HttpRequestDef

func GenReqDefForShowAvailableZoneInfo added in v0.1.15

func GenReqDefForShowAvailableZoneInfo() *def.HttpRequestDef

func GenReqDefForShowNetworkConfiguration added in v0.1.15

func GenReqDefForShowNetworkConfiguration() *def.HttpRequestDef

func GenReqDefForStartCbhInstance added in v0.1.15

func GenReqDefForStartCbhInstance() *def.HttpRequestDef

func GenReqDefForStopCbhInstance added in v0.1.15

func GenReqDefForStopCbhInstance() *def.HttpRequestDef

func GenReqDefForUninstallInstanceEip added in v0.1.15

func GenReqDefForUninstallInstanceEip() *def.HttpRequestDef

func GenReqDefForUpgradeCbhInstance added in v0.1.15

func GenReqDefForUpgradeCbhInstance() *def.HttpRequestDef

Types

type CbhClient

type CbhClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCbhClient

func NewCbhClient(hcClient *http_client.HcHttpClient) *CbhClient

func (*CbhClient) ChangeInstanceNetwork added in v0.1.15

ChangeInstanceNetwork 修改实例网络

修改云堡垒机实例网络。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ChangeInstanceNetworkInvoker added in v0.1.15

func (c *CbhClient) ChangeInstanceNetworkInvoker(request *model.ChangeInstanceNetworkRequest) *ChangeInstanceNetworkInvoker

ChangeInstanceNetworkInvoker 修改实例网络

func (*CbhClient) ChangeInstanceOrder added in v0.1.17

ChangeInstanceOrder 创建变更云堡垒机实例订单

创建变更云堡垒机实例订单。(调用此接口前先调用创建变更云堡垒机实例任务接口,当前接口未开放)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ChangeInstanceOrderInvoker added in v0.1.17

func (c *CbhClient) ChangeInstanceOrderInvoker(request *model.ChangeInstanceOrderRequest) *ChangeInstanceOrderInvoker

ChangeInstanceOrderInvoker 创建变更云堡垒机实例订单

func (*CbhClient) CreateInstance added in v0.1.15

func (c *CbhClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

CreateInstance 创建云堡垒机实例

创建云堡垒机实例。(创建云堡垒机实例订单前,先调用此接口)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CreateInstanceInvoker added in v0.1.15

func (c *CbhClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker

CreateInstanceInvoker 创建云堡垒机实例

func (*CbhClient) CreateInstanceOrder added in v0.1.15

CreateInstanceOrder 创建云堡垒机实例订单

创建云堡垒机实例订单。(调用此接口前先调用创建云堡垒机实例接口)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CreateInstanceOrderInvoker added in v0.1.15

func (c *CbhClient) CreateInstanceOrderInvoker(request *model.CreateInstanceOrderRequest) *CreateInstanceOrderInvoker

CreateInstanceOrderInvoker 创建云堡垒机实例订单

func (*CbhClient) InstallInstanceEip added in v0.1.15

func (c *CbhClient) InstallInstanceEip(request *model.InstallInstanceEipRequest) (*model.InstallInstanceEipResponse, error)

InstallInstanceEip 绑定弹性公网IP

云堡垒机实例绑定弹性公网IP

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) InstallInstanceEipInvoker added in v0.1.15

func (c *CbhClient) InstallInstanceEipInvoker(request *model.InstallInstanceEipRequest) *InstallInstanceEipInvoker

InstallInstanceEipInvoker 绑定弹性公网IP

func (*CbhClient) ListCbhInstance

func (c *CbhClient) ListCbhInstance(request *model.ListCbhInstanceRequest) (*model.ListCbhInstanceResponse, error)

ListCbhInstance 获取CBH实例列表

获取当前租户下的云堡垒机实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListCbhInstanceInvoker added in v0.0.90

func (c *CbhClient) ListCbhInstanceInvoker(request *model.ListCbhInstanceRequest) *ListCbhInstanceInvoker

ListCbhInstanceInvoker 获取CBH实例列表

func (*CbhClient) ListQuotaStatus added in v0.1.32

func (c *CbhClient) ListQuotaStatus(request *model.ListQuotaStatusRequest) (*model.ListQuotaStatusResponse, error)

ListQuotaStatus 获取弹性云服务器配额

获取当前租户所选择的可用分区、性能规格所对应的弹性云服务器是否可用。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListQuotaStatusInvoker added in v0.1.32

func (c *CbhClient) ListQuotaStatusInvoker(request *model.ListQuotaStatusRequest) *ListQuotaStatusInvoker

ListQuotaStatusInvoker 获取弹性云服务器配额

func (*CbhClient) ResetLoginMethod added in v0.1.15

func (c *CbhClient) ResetLoginMethod(request *model.ResetLoginMethodRequest) (*model.ResetLoginMethodResponse, error)

ResetLoginMethod 重置admin用户多因子认证方式

重置admin用户多因子认证方式。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetLoginMethodInvoker added in v0.1.15

func (c *CbhClient) ResetLoginMethodInvoker(request *model.ResetLoginMethodRequest) *ResetLoginMethodInvoker

ResetLoginMethodInvoker 重置admin用户多因子认证方式

func (*CbhClient) ResetPassword added in v0.1.15

func (c *CbhClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)

ResetPassword 修改admin用户密码

修改云堡垒机实例web登录admin用户密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetPasswordInvoker added in v0.1.15

func (c *CbhClient) ResetPasswordInvoker(request *model.ResetPasswordRequest) *ResetPasswordInvoker

ResetPasswordInvoker 修改admin用户密码

func (*CbhClient) RestartCbhInstance added in v0.1.15

func (c *CbhClient) RestartCbhInstance(request *model.RestartCbhInstanceRequest) (*model.RestartCbhInstanceResponse, error)

RestartCbhInstance 重启云堡垒机实例

重启云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) RestartCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) RestartCbhInstanceInvoker(request *model.RestartCbhInstanceRequest) *RestartCbhInstanceInvoker

RestartCbhInstanceInvoker 重启云堡垒机实例

func (*CbhClient) SearchQuota added in v0.1.15

func (c *CbhClient) SearchQuota(request *model.SearchQuotaRequest) (*model.SearchQuotaResponse, error)

SearchQuota 查询堡垒机配额

查询云堡垒机配额信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) SearchQuotaInvoker added in v0.1.15

func (c *CbhClient) SearchQuotaInvoker(request *model.SearchQuotaRequest) *SearchQuotaInvoker

SearchQuotaInvoker 查询堡垒机配额

func (*CbhClient) ShowAvailableZoneInfo added in v0.1.15

ShowAvailableZoneInfo 获取可用用分区信息

获取云堡垒机服务可用分区信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowAvailableZoneInfoInvoker added in v0.1.15

func (c *CbhClient) ShowAvailableZoneInfoInvoker(request *model.ShowAvailableZoneInfoRequest) *ShowAvailableZoneInfoInvoker

ShowAvailableZoneInfoInvoker 获取可用用分区信息

func (*CbhClient) ShowNetworkConfiguration added in v0.1.15

ShowNetworkConfiguration 检查云堡垒机网络

检查云堡垒机实例网络信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowNetworkConfigurationInvoker added in v0.1.15

func (c *CbhClient) ShowNetworkConfigurationInvoker(request *model.ShowNetworkConfigurationRequest) *ShowNetworkConfigurationInvoker

ShowNetworkConfigurationInvoker 检查云堡垒机网络

func (*CbhClient) StartCbhInstance added in v0.1.15

func (c *CbhClient) StartCbhInstance(request *model.StartCbhInstanceRequest) (*model.StartCbhInstanceResponse, error)

StartCbhInstance 启动云堡垒机实例

启动云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StartCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) StartCbhInstanceInvoker(request *model.StartCbhInstanceRequest) *StartCbhInstanceInvoker

StartCbhInstanceInvoker 启动云堡垒机实例

func (*CbhClient) StopCbhInstance added in v0.1.15

func (c *CbhClient) StopCbhInstance(request *model.StopCbhInstanceRequest) (*model.StopCbhInstanceResponse, error)

StopCbhInstance 关闭云堡垒机实例

关闭云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StopCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) StopCbhInstanceInvoker(request *model.StopCbhInstanceRequest) *StopCbhInstanceInvoker

StopCbhInstanceInvoker 关闭云堡垒机实例

func (*CbhClient) UninstallInstanceEip added in v0.1.15

UninstallInstanceEip 解绑弹性公网IP

云堡垒机实例解绑弹性公网IP。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UninstallInstanceEipInvoker added in v0.1.15

func (c *CbhClient) UninstallInstanceEipInvoker(request *model.UninstallInstanceEipRequest) *UninstallInstanceEipInvoker

UninstallInstanceEipInvoker 解绑弹性公网IP

func (*CbhClient) UpgradeCbhInstance added in v0.1.15

func (c *CbhClient) UpgradeCbhInstance(request *model.UpgradeCbhInstanceRequest) (*model.UpgradeCbhInstanceResponse, error)

UpgradeCbhInstance 升级云堡垒机实例

升级云堡垒机实例

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UpgradeCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) UpgradeCbhInstanceInvoker(request *model.UpgradeCbhInstanceRequest) *UpgradeCbhInstanceInvoker

UpgradeCbhInstanceInvoker 升级云堡垒机实例

type ChangeInstanceNetworkInvoker added in v0.1.15

type ChangeInstanceNetworkInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceNetworkInvoker) Invoke added in v0.1.15

type ChangeInstanceOrderInvoker added in v0.1.17

type ChangeInstanceOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceOrderInvoker) Invoke added in v0.1.17

type CreateInstanceInvoker added in v0.1.15

type CreateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceInvoker) Invoke added in v0.1.15

type CreateInstanceOrderInvoker added in v0.1.15

type CreateInstanceOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceOrderInvoker) Invoke added in v0.1.15

type InstallInstanceEipInvoker added in v0.1.15

type InstallInstanceEipInvoker struct {
	*invoker.BaseInvoker
}

func (*InstallInstanceEipInvoker) Invoke added in v0.1.15

type ListCbhInstanceInvoker added in v0.0.90

type ListCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCbhInstanceInvoker) Invoke added in v0.0.90

type ListQuotaStatusInvoker added in v0.1.32

type ListQuotaStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotaStatusInvoker) Invoke added in v0.1.32

type ResetLoginMethodInvoker added in v0.1.15

type ResetLoginMethodInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetLoginMethodInvoker) Invoke added in v0.1.15

type ResetPasswordInvoker added in v0.1.15

type ResetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetPasswordInvoker) Invoke added in v0.1.15

type RestartCbhInstanceInvoker added in v0.1.15

type RestartCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartCbhInstanceInvoker) Invoke added in v0.1.15

type SearchQuotaInvoker added in v0.1.15

type SearchQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchQuotaInvoker) Invoke added in v0.1.15

type ShowAvailableZoneInfoInvoker added in v0.1.15

type ShowAvailableZoneInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAvailableZoneInfoInvoker) Invoke added in v0.1.15

type ShowNetworkConfigurationInvoker added in v0.1.15

type ShowNetworkConfigurationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNetworkConfigurationInvoker) Invoke added in v0.1.15

type StartCbhInstanceInvoker added in v0.1.15

type StartCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StartCbhInstanceInvoker) Invoke added in v0.1.15

type StopCbhInstanceInvoker added in v0.1.15

type StopCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StopCbhInstanceInvoker) Invoke added in v0.1.15

type UninstallInstanceEipInvoker added in v0.1.15

type UninstallInstanceEipInvoker struct {
	*invoker.BaseInvoker
}

func (*UninstallInstanceEipInvoker) Invoke added in v0.1.15

type UpgradeCbhInstanceInvoker added in v0.1.15

type UpgradeCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpgradeCbhInstanceInvoker) Invoke added in v0.1.15

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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