Documentation ¶
Index ¶
- func CbhClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForBatchCreateInstanceTag() *def.HttpRequestDef
- func GenReqDefForChangeInstanceType() *def.HttpRequestDef
- func GenReqDefForCountInstancesByTag() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForInstallInstanceEip() *def.HttpRequestDef
- func GenReqDefForListAvailableZones() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListInstancesByTag() *def.HttpRequestDef
- func GenReqDefForListSpecifications() *def.HttpRequestDef
- func GenReqDefForListTags() *def.HttpRequestDef
- func GenReqDefForLoginInstance() *def.HttpRequestDef
- func GenReqDefForLoginInstanceAdmin() *def.HttpRequestDef
- func GenReqDefForRebootInstance() *def.HttpRequestDef
- func GenReqDefForRegisterAuthorization() *def.HttpRequestDef
- func GenReqDefForResetInstanceLoginMethod() *def.HttpRequestDef
- func GenReqDefForResetInstancePassword() *def.HttpRequestDef
- func GenReqDefForResizeInstance() *def.HttpRequestDef
- func GenReqDefForRollbackInstance() *def.HttpRequestDef
- func GenReqDefForShowAuthorization() *def.HttpRequestDef
- func GenReqDefForShowEcsQuota() *def.HttpRequestDef
- func GenReqDefForShowInstanceStatus() *def.HttpRequestDef
- func GenReqDefForShowInstanceTags() *def.HttpRequestDef
- func GenReqDefForShowOmUrl() *def.HttpRequestDef
- func GenReqDefForShowQuota() *def.HttpRequestDef
- func GenReqDefForStartInstance() *def.HttpRequestDef
- func GenReqDefForStopInstance() *def.HttpRequestDef
- func GenReqDefForSwitchInstanceVpc() *def.HttpRequestDef
- func GenReqDefForUninstallInstanceEip() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceSecurityGroup() *def.HttpRequestDef
- func GenReqDefForUpgradeInstance() *def.HttpRequestDef
- type BatchCreateInstanceTagInvoker
- type CbhClient
- func (c *CbhClient) BatchCreateInstanceTag(request *model.BatchCreateInstanceTagRequest) (*model.BatchCreateInstanceTagResponse, error)
- func (c *CbhClient) BatchCreateInstanceTagInvoker(request *model.BatchCreateInstanceTagRequest) *BatchCreateInstanceTagInvoker
- func (c *CbhClient) ChangeInstanceType(request *model.ChangeInstanceTypeRequest) (*model.ChangeInstanceTypeResponse, error)
- func (c *CbhClient) ChangeInstanceTypeInvoker(request *model.ChangeInstanceTypeRequest) *ChangeInstanceTypeInvoker
- func (c *CbhClient) CountInstancesByTag(request *model.CountInstancesByTagRequest) (*model.CountInstancesByTagResponse, error)
- func (c *CbhClient) CountInstancesByTagInvoker(request *model.CountInstancesByTagRequest) *CountInstancesByTagInvoker
- func (c *CbhClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *CbhClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker
- func (c *CbhClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *CbhClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker
- func (c *CbhClient) InstallInstanceEip(request *model.InstallInstanceEipRequest) (*model.InstallInstanceEipResponse, error)
- func (c *CbhClient) InstallInstanceEipInvoker(request *model.InstallInstanceEipRequest) *InstallInstanceEipInvoker
- func (c *CbhClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
- func (c *CbhClient) ListAvailableZonesInvoker(request *model.ListAvailableZonesRequest) *ListAvailableZonesInvoker
- func (c *CbhClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *CbhClient) ListInstancesByTag(request *model.ListInstancesByTagRequest) (*model.ListInstancesByTagResponse, error)
- func (c *CbhClient) ListInstancesByTagInvoker(request *model.ListInstancesByTagRequest) *ListInstancesByTagInvoker
- func (c *CbhClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
- func (c *CbhClient) ListSpecifications(request *model.ListSpecificationsRequest) (*model.ListSpecificationsResponse, error)
- func (c *CbhClient) ListSpecificationsInvoker(request *model.ListSpecificationsRequest) *ListSpecificationsInvoker
- func (c *CbhClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
- func (c *CbhClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
- func (c *CbhClient) LoginInstance(request *model.LoginInstanceRequest) (*model.LoginInstanceResponse, error)
- func (c *CbhClient) LoginInstanceAdmin(request *model.LoginInstanceAdminRequest) (*model.LoginInstanceAdminResponse, error)
- func (c *CbhClient) LoginInstanceAdminInvoker(request *model.LoginInstanceAdminRequest) *LoginInstanceAdminInvoker
- func (c *CbhClient) LoginInstanceInvoker(request *model.LoginInstanceRequest) *LoginInstanceInvoker
- func (c *CbhClient) RebootInstance(request *model.RebootInstanceRequest) (*model.RebootInstanceResponse, error)
- func (c *CbhClient) RebootInstanceInvoker(request *model.RebootInstanceRequest) *RebootInstanceInvoker
- func (c *CbhClient) RegisterAuthorization(request *model.RegisterAuthorizationRequest) (*model.RegisterAuthorizationResponse, error)
- func (c *CbhClient) RegisterAuthorizationInvoker(request *model.RegisterAuthorizationRequest) *RegisterAuthorizationInvoker
- func (c *CbhClient) ResetInstanceLoginMethod(request *model.ResetInstanceLoginMethodRequest) (*model.ResetInstanceLoginMethodResponse, error)
- func (c *CbhClient) ResetInstanceLoginMethodInvoker(request *model.ResetInstanceLoginMethodRequest) *ResetInstanceLoginMethodInvoker
- func (c *CbhClient) ResetInstancePassword(request *model.ResetInstancePasswordRequest) (*model.ResetInstancePasswordResponse, error)
- func (c *CbhClient) ResetInstancePasswordInvoker(request *model.ResetInstancePasswordRequest) *ResetInstancePasswordInvoker
- func (c *CbhClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
- func (c *CbhClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker
- func (c *CbhClient) RollbackInstance(request *model.RollbackInstanceRequest) (*model.RollbackInstanceResponse, error)
- func (c *CbhClient) RollbackInstanceInvoker(request *model.RollbackInstanceRequest) *RollbackInstanceInvoker
- func (c *CbhClient) ShowAuthorization(request *model.ShowAuthorizationRequest) (*model.ShowAuthorizationResponse, error)
- func (c *CbhClient) ShowAuthorizationInvoker(request *model.ShowAuthorizationRequest) *ShowAuthorizationInvoker
- func (c *CbhClient) ShowEcsQuota(request *model.ShowEcsQuotaRequest) (*model.ShowEcsQuotaResponse, error)
- func (c *CbhClient) ShowEcsQuotaInvoker(request *model.ShowEcsQuotaRequest) *ShowEcsQuotaInvoker
- func (c *CbhClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
- func (c *CbhClient) ShowInstanceStatusInvoker(request *model.ShowInstanceStatusRequest) *ShowInstanceStatusInvoker
- func (c *CbhClient) ShowInstanceTags(request *model.ShowInstanceTagsRequest) (*model.ShowInstanceTagsResponse, error)
- func (c *CbhClient) ShowInstanceTagsInvoker(request *model.ShowInstanceTagsRequest) *ShowInstanceTagsInvoker
- func (c *CbhClient) ShowOmUrl(request *model.ShowOmUrlRequest) (*model.ShowOmUrlResponse, error)
- func (c *CbhClient) ShowOmUrlInvoker(request *model.ShowOmUrlRequest) *ShowOmUrlInvoker
- func (c *CbhClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
- func (c *CbhClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker
- func (c *CbhClient) StartInstance(request *model.StartInstanceRequest) (*model.StartInstanceResponse, error)
- func (c *CbhClient) StartInstanceInvoker(request *model.StartInstanceRequest) *StartInstanceInvoker
- func (c *CbhClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)
- func (c *CbhClient) StopInstanceInvoker(request *model.StopInstanceRequest) *StopInstanceInvoker
- func (c *CbhClient) SwitchInstanceVpc(request *model.SwitchInstanceVpcRequest) (*model.SwitchInstanceVpcResponse, error)
- func (c *CbhClient) SwitchInstanceVpcInvoker(request *model.SwitchInstanceVpcRequest) *SwitchInstanceVpcInvoker
- func (c *CbhClient) UninstallInstanceEip(request *model.UninstallInstanceEipRequest) (*model.UninstallInstanceEipResponse, error)
- func (c *CbhClient) UninstallInstanceEipInvoker(request *model.UninstallInstanceEipRequest) *UninstallInstanceEipInvoker
- func (c *CbhClient) UpdateInstanceSecurityGroup(request *model.UpdateInstanceSecurityGroupRequest) (*model.UpdateInstanceSecurityGroupResponse, error)
- func (c *CbhClient) UpdateInstanceSecurityGroupInvoker(request *model.UpdateInstanceSecurityGroupRequest) *UpdateInstanceSecurityGroupInvoker
- func (c *CbhClient) UpgradeInstance(request *model.UpgradeInstanceRequest) (*model.UpgradeInstanceResponse, error)
- func (c *CbhClient) UpgradeInstanceInvoker(request *model.UpgradeInstanceRequest) *UpgradeInstanceInvoker
- type ChangeInstanceTypeInvoker
- type CountInstancesByTagInvoker
- type CreateInstanceInvoker
- type DeleteInstanceInvoker
- type InstallInstanceEipInvoker
- type ListAvailableZonesInvoker
- type ListInstancesByTagInvoker
- type ListInstancesInvoker
- type ListSpecificationsInvoker
- type ListTagsInvoker
- type LoginInstanceAdminInvoker
- type LoginInstanceInvoker
- type RebootInstanceInvoker
- type RegisterAuthorizationInvoker
- type ResetInstanceLoginMethodInvoker
- type ResetInstancePasswordInvoker
- type ResizeInstanceInvoker
- type RollbackInstanceInvoker
- type ShowAuthorizationInvoker
- type ShowEcsQuotaInvoker
- type ShowInstanceStatusInvoker
- type ShowInstanceTagsInvoker
- type ShowOmUrlInvoker
- type ShowQuotaInvoker
- type StartInstanceInvoker
- type StopInstanceInvoker
- type SwitchInstanceVpcInvoker
- type UninstallInstanceEipInvoker
- type UpdateInstanceSecurityGroupInvoker
- type UpgradeInstanceInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CbhClientBuilder ¶
func CbhClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForBatchCreateInstanceTag ¶
func GenReqDefForBatchCreateInstanceTag() *def.HttpRequestDef
func GenReqDefForChangeInstanceType ¶ added in v0.1.97
func GenReqDefForChangeInstanceType() *def.HttpRequestDef
func GenReqDefForCountInstancesByTag ¶
func GenReqDefForCountInstancesByTag() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForInstallInstanceEip ¶
func GenReqDefForInstallInstanceEip() *def.HttpRequestDef
func GenReqDefForListAvailableZones ¶
func GenReqDefForListAvailableZones() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListInstancesByTag ¶
func GenReqDefForListInstancesByTag() *def.HttpRequestDef
func GenReqDefForListSpecifications ¶
func GenReqDefForListSpecifications() *def.HttpRequestDef
func GenReqDefForListTags ¶
func GenReqDefForListTags() *def.HttpRequestDef
func GenReqDefForLoginInstance ¶
func GenReqDefForLoginInstance() *def.HttpRequestDef
func GenReqDefForLoginInstanceAdmin ¶ added in v0.1.97
func GenReqDefForLoginInstanceAdmin() *def.HttpRequestDef
func GenReqDefForRebootInstance ¶
func GenReqDefForRebootInstance() *def.HttpRequestDef
func GenReqDefForRegisterAuthorization ¶
func GenReqDefForRegisterAuthorization() *def.HttpRequestDef
func GenReqDefForResetInstanceLoginMethod ¶
func GenReqDefForResetInstanceLoginMethod() *def.HttpRequestDef
func GenReqDefForResetInstancePassword ¶
func GenReqDefForResetInstancePassword() *def.HttpRequestDef
func GenReqDefForResizeInstance ¶
func GenReqDefForResizeInstance() *def.HttpRequestDef
func GenReqDefForRollbackInstance ¶
func GenReqDefForRollbackInstance() *def.HttpRequestDef
func GenReqDefForShowAuthorization ¶
func GenReqDefForShowAuthorization() *def.HttpRequestDef
func GenReqDefForShowEcsQuota ¶
func GenReqDefForShowEcsQuota() *def.HttpRequestDef
func GenReqDefForShowInstanceStatus ¶
func GenReqDefForShowInstanceStatus() *def.HttpRequestDef
func GenReqDefForShowInstanceTags ¶
func GenReqDefForShowInstanceTags() *def.HttpRequestDef
func GenReqDefForShowOmUrl ¶
func GenReqDefForShowOmUrl() *def.HttpRequestDef
func GenReqDefForShowQuota ¶
func GenReqDefForShowQuota() *def.HttpRequestDef
func GenReqDefForStartInstance ¶
func GenReqDefForStartInstance() *def.HttpRequestDef
func GenReqDefForStopInstance ¶
func GenReqDefForStopInstance() *def.HttpRequestDef
func GenReqDefForSwitchInstanceVpc ¶ added in v0.1.97
func GenReqDefForSwitchInstanceVpc() *def.HttpRequestDef
func GenReqDefForUninstallInstanceEip ¶
func GenReqDefForUninstallInstanceEip() *def.HttpRequestDef
func GenReqDefForUpdateInstanceSecurityGroup ¶
func GenReqDefForUpdateInstanceSecurityGroup() *def.HttpRequestDef
func GenReqDefForUpgradeInstance ¶
func GenReqDefForUpgradeInstance() *def.HttpRequestDef
Types ¶
type BatchCreateInstanceTagInvoker ¶
type BatchCreateInstanceTagInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateInstanceTagInvoker) Invoke ¶
func (i *BatchCreateInstanceTagInvoker) Invoke() (*model.BatchCreateInstanceTagResponse, error)
type CbhClient ¶
type CbhClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCbhClient ¶
func NewCbhClient(hcClient *httpclient.HcHttpClient) *CbhClient
func (*CbhClient) BatchCreateInstanceTag ¶
func (c *CbhClient) BatchCreateInstanceTag(request *model.BatchCreateInstanceTagRequest) (*model.BatchCreateInstanceTagResponse, error)
BatchCreateInstanceTag 操作堡垒机实例资源标签
操作堡垒机实例资源标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) BatchCreateInstanceTagInvoker ¶
func (c *CbhClient) BatchCreateInstanceTagInvoker(request *model.BatchCreateInstanceTagRequest) *BatchCreateInstanceTagInvoker
BatchCreateInstanceTagInvoker 操作堡垒机实例资源标签
func (*CbhClient) ChangeInstanceType ¶ added in v0.1.97
func (c *CbhClient) ChangeInstanceType(request *model.ChangeInstanceTypeRequest) (*model.ChangeInstanceTypeResponse, error)
ChangeInstanceType 修改单机堡垒机实例类型
修改单机堡垒机实例类型。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ChangeInstanceTypeInvoker ¶ added in v0.1.97
func (c *CbhClient) ChangeInstanceTypeInvoker(request *model.ChangeInstanceTypeRequest) *ChangeInstanceTypeInvoker
ChangeInstanceTypeInvoker 修改单机堡垒机实例类型
func (*CbhClient) CountInstancesByTag ¶
func (c *CbhClient) CountInstancesByTag(request *model.CountInstancesByTagRequest) (*model.CountInstancesByTagResponse, error)
CountInstancesByTag 统计符合标签条件的实例数量
统计符合标签条件的实例数量。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) CountInstancesByTagInvoker ¶
func (c *CbhClient) CountInstancesByTagInvoker(request *model.CountInstancesByTagRequest) *CountInstancesByTagInvoker
CountInstancesByTagInvoker 统计符合标签条件的实例数量
func (*CbhClient) CreateInstance ¶
func (c *CbhClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
CreateInstance 创建堡垒机实例
创建云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) CreateInstanceInvoker ¶
func (c *CbhClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker
CreateInstanceInvoker 创建堡垒机实例
func (*CbhClient) DeleteInstance ¶
func (c *CbhClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
DeleteInstance 删除故障云堡垒机实例
删除云堡垒机故障实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) DeleteInstanceInvoker ¶
func (c *CbhClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker
DeleteInstanceInvoker 删除故障云堡垒机实例
func (*CbhClient) InstallInstanceEip ¶
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 ¶
func (c *CbhClient) InstallInstanceEipInvoker(request *model.InstallInstanceEipRequest) *InstallInstanceEipInvoker
InstallInstanceEipInvoker 堡垒机实例绑定弹性公网IP
func (*CbhClient) ListAvailableZones ¶
func (c *CbhClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
ListAvailableZones 获取服务可用区信息
获取云堡垒机服务可用区信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ListAvailableZonesInvoker ¶
func (c *CbhClient) ListAvailableZonesInvoker(request *model.ListAvailableZonesRequest) *ListAvailableZonesInvoker
ListAvailableZonesInvoker 获取服务可用区信息
func (*CbhClient) ListInstances ¶
func (c *CbhClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
ListInstances 获取堡垒机实例列表
获取当前租户下的堡垒机实例列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ListInstancesByTag ¶
func (c *CbhClient) ListInstancesByTag(request *model.ListInstancesByTagRequest) (*model.ListInstancesByTagResponse, error)
ListInstancesByTag 使用标签过滤实例
使用标签过滤实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ListInstancesByTagInvoker ¶
func (c *CbhClient) ListInstancesByTagInvoker(request *model.ListInstancesByTagRequest) *ListInstancesByTagInvoker
ListInstancesByTagInvoker 使用标签过滤实例
func (*CbhClient) ListInstancesInvoker ¶
func (c *CbhClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
ListInstancesInvoker 获取堡垒机实例列表
func (*CbhClient) ListSpecifications ¶
func (c *CbhClient) ListSpecifications(request *model.ListSpecificationsRequest) (*model.ListSpecificationsResponse, error)
ListSpecifications 查询云堡垒机规格信息
查询云堡垒机规格信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ListSpecificationsInvoker ¶
func (c *CbhClient) ListSpecificationsInvoker(request *model.ListSpecificationsRequest) *ListSpecificationsInvoker
ListSpecificationsInvoker 查询云堡垒机规格信息
func (*CbhClient) ListTags ¶
func (c *CbhClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
ListTags 查询租户在项目中的资源标签集合
查询租户在项目中的资源标签集合。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ListTagsInvoker ¶
func (c *CbhClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
ListTagsInvoker 查询租户在项目中的资源标签集合
func (*CbhClient) LoginInstance ¶
func (c *CbhClient) LoginInstance(request *model.LoginInstanceRequest) (*model.LoginInstanceResponse, error)
LoginInstance IAM用户登录堡垒机实例console
IAM用户登录堡垒机实例console。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) LoginInstanceAdmin ¶ added in v0.1.97
func (c *CbhClient) LoginInstanceAdmin(request *model.LoginInstanceAdminRequest) (*model.LoginInstanceAdminResponse, error)
LoginInstanceAdmin 用户登录堡垒机实例admin的console
用户登录堡垒机实例admin的console。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) LoginInstanceAdminInvoker ¶ added in v0.1.97
func (c *CbhClient) LoginInstanceAdminInvoker(request *model.LoginInstanceAdminRequest) *LoginInstanceAdminInvoker
LoginInstanceAdminInvoker 用户登录堡垒机实例admin的console
func (*CbhClient) LoginInstanceInvoker ¶
func (c *CbhClient) LoginInstanceInvoker(request *model.LoginInstanceRequest) *LoginInstanceInvoker
LoginInstanceInvoker IAM用户登录堡垒机实例console
func (*CbhClient) RebootInstance ¶
func (c *CbhClient) RebootInstance(request *model.RebootInstanceRequest) (*model.RebootInstanceResponse, error)
RebootInstance 重启堡垒机实例
重启云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) RebootInstanceInvoker ¶
func (c *CbhClient) RebootInstanceInvoker(request *model.RebootInstanceRequest) *RebootInstanceInvoker
RebootInstanceInvoker 重启堡垒机实例
func (*CbhClient) RegisterAuthorization ¶
func (c *CbhClient) RegisterAuthorization(request *model.RegisterAuthorizationRequest) (*model.RegisterAuthorizationResponse, error)
RegisterAuthorization 租户创建或取消云堡垒机服务的委托授权
租户创建或取消云堡垒机服务的委托授权。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) RegisterAuthorizationInvoker ¶
func (c *CbhClient) RegisterAuthorizationInvoker(request *model.RegisterAuthorizationRequest) *RegisterAuthorizationInvoker
RegisterAuthorizationInvoker 租户创建或取消云堡垒机服务的委托授权
func (*CbhClient) ResetInstanceLoginMethod ¶
func (c *CbhClient) ResetInstanceLoginMethod(request *model.ResetInstanceLoginMethodRequest) (*model.ResetInstanceLoginMethodResponse, error)
ResetInstanceLoginMethod 重置堡垒机实例admin登录方式
重置堡垒机实例admin用户登录方式。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ResetInstanceLoginMethodInvoker ¶
func (c *CbhClient) ResetInstanceLoginMethodInvoker(request *model.ResetInstanceLoginMethodRequest) *ResetInstanceLoginMethodInvoker
ResetInstanceLoginMethodInvoker 重置堡垒机实例admin登录方式
func (*CbhClient) ResetInstancePassword ¶
func (c *CbhClient) ResetInstancePassword(request *model.ResetInstancePasswordRequest) (*model.ResetInstancePasswordResponse, error)
ResetInstancePassword 重置堡垒机实例admin密码
重置云堡垒机实例web登录admin用户密码。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ResetInstancePasswordInvoker ¶
func (c *CbhClient) ResetInstancePasswordInvoker(request *model.ResetInstancePasswordRequest) *ResetInstancePasswordInvoker
ResetInstancePasswordInvoker 重置堡垒机实例admin密码
func (*CbhClient) ResizeInstance ¶
func (c *CbhClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
ResizeInstance 变更堡垒机实例
变更云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ResizeInstanceInvoker ¶
func (c *CbhClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker
ResizeInstanceInvoker 变更堡垒机实例
func (*CbhClient) RollbackInstance ¶
func (c *CbhClient) RollbackInstance(request *model.RollbackInstanceRequest) (*model.RollbackInstanceResponse, error)
RollbackInstance 回退升级的堡垒机实例
回退升级的云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) RollbackInstanceInvoker ¶
func (c *CbhClient) RollbackInstanceInvoker(request *model.RollbackInstanceRequest) *RollbackInstanceInvoker
RollbackInstanceInvoker 回退升级的堡垒机实例
func (*CbhClient) ShowAuthorization ¶
func (c *CbhClient) ShowAuthorization(request *model.ShowAuthorizationRequest) (*model.ShowAuthorizationResponse, error)
ShowAuthorization 获取租户给云堡垒机服务委托授权信息
获取租户给云堡垒机服务委托授权信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowAuthorizationInvoker ¶
func (c *CbhClient) ShowAuthorizationInvoker(request *model.ShowAuthorizationRequest) *ShowAuthorizationInvoker
ShowAuthorizationInvoker 获取租户给云堡垒机服务委托授权信息
func (*CbhClient) ShowEcsQuota ¶
func (c *CbhClient) ShowEcsQuota(request *model.ShowEcsQuotaRequest) (*model.ShowEcsQuotaResponse, error)
ShowEcsQuota 获取创建堡垒机实例所需ECS资源配额
获取当前租户所选择的可用分区里的堡垒机ECS规格是否可用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowEcsQuotaInvoker ¶
func (c *CbhClient) ShowEcsQuotaInvoker(request *model.ShowEcsQuotaRequest) *ShowEcsQuotaInvoker
ShowEcsQuotaInvoker 获取创建堡垒机实例所需ECS资源配额
func (*CbhClient) ShowInstanceStatus ¶
func (c *CbhClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)
ShowInstanceStatus 获取堡垒机实例状态信息
获取堡垒机实例状态信息(未删除实例)。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowInstanceStatusInvoker ¶
func (c *CbhClient) ShowInstanceStatusInvoker(request *model.ShowInstanceStatusRequest) *ShowInstanceStatusInvoker
ShowInstanceStatusInvoker 获取堡垒机实例状态信息
func (*CbhClient) ShowInstanceTags ¶
func (c *CbhClient) ShowInstanceTags(request *model.ShowInstanceTagsRequest) (*model.ShowInstanceTagsResponse, error)
ShowInstanceTags 查询堡垒机实例资源的标签信息
查询堡垒机实例资源的标签信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowInstanceTagsInvoker ¶
func (c *CbhClient) ShowInstanceTagsInvoker(request *model.ShowInstanceTagsRequest) *ShowInstanceTagsInvoker
ShowInstanceTagsInvoker 查询堡垒机实例资源的标签信息
func (*CbhClient) ShowOmUrl ¶
func (c *CbhClient) ShowOmUrl(request *model.ShowOmUrlRequest) (*model.ShowOmUrlResponse, error)
ShowOmUrl 获取运维链接
获取运维链接
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowOmUrlInvoker ¶
func (c *CbhClient) ShowOmUrlInvoker(request *model.ShowOmUrlRequest) *ShowOmUrlInvoker
ShowOmUrlInvoker 获取运维链接
func (*CbhClient) ShowQuota ¶
func (c *CbhClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
ShowQuota 获取堡垒机实例配额
获取堡垒机实例配额信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) ShowQuotaInvoker ¶
func (c *CbhClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker
ShowQuotaInvoker 获取堡垒机实例配额
func (*CbhClient) StartInstance ¶
func (c *CbhClient) StartInstance(request *model.StartInstanceRequest) (*model.StartInstanceResponse, error)
StartInstance 启动堡垒机实例
启动云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) StartInstanceInvoker ¶
func (c *CbhClient) StartInstanceInvoker(request *model.StartInstanceRequest) *StartInstanceInvoker
StartInstanceInvoker 启动堡垒机实例
func (*CbhClient) StopInstance ¶
func (c *CbhClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)
StopInstance 关闭堡垒机实例
关闭云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) StopInstanceInvoker ¶
func (c *CbhClient) StopInstanceInvoker(request *model.StopInstanceRequest) *StopInstanceInvoker
StopInstanceInvoker 关闭堡垒机实例
func (*CbhClient) SwitchInstanceVpc ¶ added in v0.1.97
func (c *CbhClient) SwitchInstanceVpc(request *model.SwitchInstanceVpcRequest) (*model.SwitchInstanceVpcResponse, error)
SwitchInstanceVpc 切换堡垒机虚拟私有云
切换堡垒机虚拟私有云
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) SwitchInstanceVpcInvoker ¶ added in v0.1.97
func (c *CbhClient) SwitchInstanceVpcInvoker(request *model.SwitchInstanceVpcRequest) *SwitchInstanceVpcInvoker
SwitchInstanceVpcInvoker 切换堡垒机虚拟私有云
func (*CbhClient) UninstallInstanceEip ¶
func (c *CbhClient) UninstallInstanceEip(request *model.UninstallInstanceEipRequest) (*model.UninstallInstanceEipResponse, error)
UninstallInstanceEip 堡垒机实例解绑弹性公网IP
为云堡垒机实例解绑弹性公网IP。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) UninstallInstanceEipInvoker ¶
func (c *CbhClient) UninstallInstanceEipInvoker(request *model.UninstallInstanceEipRequest) *UninstallInstanceEipInvoker
UninstallInstanceEipInvoker 堡垒机实例解绑弹性公网IP
func (*CbhClient) UpdateInstanceSecurityGroup ¶
func (c *CbhClient) UpdateInstanceSecurityGroup(request *model.UpdateInstanceSecurityGroupRequest) (*model.UpdateInstanceSecurityGroupResponse, error)
UpdateInstanceSecurityGroup 修改堡垒机实例安全组
修改堡垒机实例安全组。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) UpdateInstanceSecurityGroupInvoker ¶
func (c *CbhClient) UpdateInstanceSecurityGroupInvoker(request *model.UpdateInstanceSecurityGroupRequest) *UpdateInstanceSecurityGroupInvoker
UpdateInstanceSecurityGroupInvoker 修改堡垒机实例安全组
func (*CbhClient) UpgradeInstance ¶
func (c *CbhClient) UpgradeInstance(request *model.UpgradeInstanceRequest) (*model.UpgradeInstanceResponse, error)
UpgradeInstance 升级堡垒机实例
升级云堡垒机实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbhClient) UpgradeInstanceInvoker ¶
func (c *CbhClient) UpgradeInstanceInvoker(request *model.UpgradeInstanceRequest) *UpgradeInstanceInvoker
UpgradeInstanceInvoker 升级堡垒机实例
type ChangeInstanceTypeInvoker ¶ added in v0.1.97
type ChangeInstanceTypeInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeInstanceTypeInvoker) Invoke ¶ added in v0.1.97
func (i *ChangeInstanceTypeInvoker) Invoke() (*model.ChangeInstanceTypeResponse, error)
type CountInstancesByTagInvoker ¶
type CountInstancesByTagInvoker struct {
*invoker.BaseInvoker
}
func (*CountInstancesByTagInvoker) Invoke ¶
func (i *CountInstancesByTagInvoker) Invoke() (*model.CountInstancesByTagResponse, error)
type CreateInstanceInvoker ¶
type CreateInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateInstanceInvoker) Invoke ¶
func (i *CreateInstanceInvoker) Invoke() (*model.CreateInstanceResponse, error)
type DeleteInstanceInvoker ¶
type DeleteInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteInstanceInvoker) Invoke ¶
func (i *DeleteInstanceInvoker) Invoke() (*model.DeleteInstanceResponse, error)
type InstallInstanceEipInvoker ¶
type InstallInstanceEipInvoker struct {
*invoker.BaseInvoker
}
func (*InstallInstanceEipInvoker) Invoke ¶
func (i *InstallInstanceEipInvoker) Invoke() (*model.InstallInstanceEipResponse, error)
type ListAvailableZonesInvoker ¶
type ListAvailableZonesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAvailableZonesInvoker) Invoke ¶
func (i *ListAvailableZonesInvoker) Invoke() (*model.ListAvailableZonesResponse, error)
type ListInstancesByTagInvoker ¶
type ListInstancesByTagInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstancesByTagInvoker) Invoke ¶
func (i *ListInstancesByTagInvoker) Invoke() (*model.ListInstancesByTagResponse, error)
type ListInstancesInvoker ¶
type ListInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstancesInvoker) Invoke ¶
func (i *ListInstancesInvoker) Invoke() (*model.ListInstancesResponse, error)
type ListSpecificationsInvoker ¶
type ListSpecificationsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSpecificationsInvoker) Invoke ¶
func (i *ListSpecificationsInvoker) Invoke() (*model.ListSpecificationsResponse, error)
type ListTagsInvoker ¶
type ListTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagsInvoker) Invoke ¶
func (i *ListTagsInvoker) Invoke() (*model.ListTagsResponse, error)
type LoginInstanceAdminInvoker ¶ added in v0.1.97
type LoginInstanceAdminInvoker struct {
*invoker.BaseInvoker
}
func (*LoginInstanceAdminInvoker) Invoke ¶ added in v0.1.97
func (i *LoginInstanceAdminInvoker) Invoke() (*model.LoginInstanceAdminResponse, error)
type LoginInstanceInvoker ¶
type LoginInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*LoginInstanceInvoker) Invoke ¶
func (i *LoginInstanceInvoker) Invoke() (*model.LoginInstanceResponse, error)
type RebootInstanceInvoker ¶
type RebootInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*RebootInstanceInvoker) Invoke ¶
func (i *RebootInstanceInvoker) Invoke() (*model.RebootInstanceResponse, error)
type RegisterAuthorizationInvoker ¶
type RegisterAuthorizationInvoker struct {
*invoker.BaseInvoker
}
func (*RegisterAuthorizationInvoker) Invoke ¶
func (i *RegisterAuthorizationInvoker) Invoke() (*model.RegisterAuthorizationResponse, error)
type ResetInstanceLoginMethodInvoker ¶
type ResetInstanceLoginMethodInvoker struct {
*invoker.BaseInvoker
}
func (*ResetInstanceLoginMethodInvoker) Invoke ¶
func (i *ResetInstanceLoginMethodInvoker) Invoke() (*model.ResetInstanceLoginMethodResponse, error)
type ResetInstancePasswordInvoker ¶
type ResetInstancePasswordInvoker struct {
*invoker.BaseInvoker
}
func (*ResetInstancePasswordInvoker) Invoke ¶
func (i *ResetInstancePasswordInvoker) Invoke() (*model.ResetInstancePasswordResponse, error)
type ResizeInstanceInvoker ¶
type ResizeInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*ResizeInstanceInvoker) Invoke ¶
func (i *ResizeInstanceInvoker) Invoke() (*model.ResizeInstanceResponse, error)
type RollbackInstanceInvoker ¶
type RollbackInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*RollbackInstanceInvoker) Invoke ¶
func (i *RollbackInstanceInvoker) Invoke() (*model.RollbackInstanceResponse, error)
type ShowAuthorizationInvoker ¶
type ShowAuthorizationInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAuthorizationInvoker) Invoke ¶
func (i *ShowAuthorizationInvoker) Invoke() (*model.ShowAuthorizationResponse, error)
type ShowEcsQuotaInvoker ¶
type ShowEcsQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEcsQuotaInvoker) Invoke ¶
func (i *ShowEcsQuotaInvoker) Invoke() (*model.ShowEcsQuotaResponse, error)
type ShowInstanceStatusInvoker ¶
type ShowInstanceStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowInstanceStatusInvoker) Invoke ¶
func (i *ShowInstanceStatusInvoker) Invoke() (*model.ShowInstanceStatusResponse, error)
type ShowInstanceTagsInvoker ¶
type ShowInstanceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowInstanceTagsInvoker) Invoke ¶
func (i *ShowInstanceTagsInvoker) Invoke() (*model.ShowInstanceTagsResponse, error)
type ShowOmUrlInvoker ¶
type ShowOmUrlInvoker struct {
*invoker.BaseInvoker
}
func (*ShowOmUrlInvoker) Invoke ¶
func (i *ShowOmUrlInvoker) Invoke() (*model.ShowOmUrlResponse, error)
type ShowQuotaInvoker ¶
type ShowQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotaInvoker) Invoke ¶
func (i *ShowQuotaInvoker) Invoke() (*model.ShowQuotaResponse, error)
type StartInstanceInvoker ¶
type StartInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*StartInstanceInvoker) Invoke ¶
func (i *StartInstanceInvoker) Invoke() (*model.StartInstanceResponse, error)
type StopInstanceInvoker ¶
type StopInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*StopInstanceInvoker) Invoke ¶
func (i *StopInstanceInvoker) Invoke() (*model.StopInstanceResponse, error)
type SwitchInstanceVpcInvoker ¶ added in v0.1.97
type SwitchInstanceVpcInvoker struct {
*invoker.BaseInvoker
}
func (*SwitchInstanceVpcInvoker) Invoke ¶ added in v0.1.97
func (i *SwitchInstanceVpcInvoker) Invoke() (*model.SwitchInstanceVpcResponse, error)
type UninstallInstanceEipInvoker ¶
type UninstallInstanceEipInvoker struct {
*invoker.BaseInvoker
}
func (*UninstallInstanceEipInvoker) Invoke ¶
func (i *UninstallInstanceEipInvoker) Invoke() (*model.UninstallInstanceEipResponse, error)
type UpdateInstanceSecurityGroupInvoker ¶
type UpdateInstanceSecurityGroupInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateInstanceSecurityGroupInvoker) Invoke ¶
func (i *UpdateInstanceSecurityGroupInvoker) Invoke() (*model.UpdateInstanceSecurityGroupResponse, error)
type UpgradeInstanceInvoker ¶
type UpgradeInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*UpgradeInstanceInvoker) Invoke ¶
func (i *UpgradeInstanceInvoker) Invoke() (*model.UpgradeInstanceResponse, error)