v1

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 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 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 GenReqDefForListQuotaState added in v0.1.15

func GenReqDefForListQuotaState() *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 修改CBH实例网络

修改CBH实例网络

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 修改CBH实例网络

func (*CbhClient) CreateInstance added in v0.1.15

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

CreateInstance 创建CBH实例

创建CBH实例

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 创建CBH实例

func (*CbhClient) CreateInstanceOrder added in v0.1.15

CreateInstanceOrder 创建CBH实例订单

创建CBH实例订单

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 创建CBH实例订单

func (*CbhClient) InstallInstanceEip added in v0.1.15

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

InstallInstanceEip 绑定CBH实例Eip

绑定CBH实例Eip

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 绑定CBH实例Eip

func (*CbhClient) ListCbhInstance

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

ListCbhInstance 获取CBH实例列表

获取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) ListQuotaState added in v0.1.15

func (c *CbhClient) ListQuotaState(request *model.ListQuotaStateRequest) (*model.ListQuotaStateResponse, error)

ListQuotaState 获取ECS配额

获取当前租户所选择的可用分区、性能规格所对应的ECS flavor是否可用

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListQuotaStateInvoker added in v0.1.15

func (c *CbhClient) ListQuotaStateInvoker(request *model.ListQuotaStateRequest) *ListQuotaStateInvoker

ListQuotaStateInvoker 获取ECS配额

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密码

修改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 重启CBH实例

重启CBH实例

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 重启CBH实例

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 获取CBH服务可用分区信息

获取CBH服务可用分区信息

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 获取CBH服务可用分区信息

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 启动CBH实例

启动CBH实例

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 启动CBH实例

func (*CbhClient) StopCbhInstance added in v0.1.15

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

StopCbhInstance 关闭CBH实例

关闭CBH实例

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 关闭CBH实例

func (*CbhClient) UninstallInstanceEip added in v0.1.15

UninstallInstanceEip 解绑CBH实例Eip

解绑CBH实例Eip

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 解绑CBH实例Eip

func (*CbhClient) UpgradeCbhInstance added in v0.1.15

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

UpgradeCbhInstance 升级CBH实例

升级CBH实例

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 升级CBH实例

type ChangeInstanceNetworkInvoker added in v0.1.15

type ChangeInstanceNetworkInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceNetworkInvoker) Invoke added in v0.1.15

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 ListQuotaStateInvoker added in v0.1.15

type ListQuotaStateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotaStateInvoker) Invoke added in v0.1.15

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