v1

package
v0.1.123 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 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 BmsClientBuilder

func BmsClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForAddServerNics added in v0.1.6

func GenReqDefForAddServerNics() *def.HttpRequestDef

func GenReqDefForAttachBaremetalServerVolume

func GenReqDefForAttachBaremetalServerVolume() *def.HttpRequestDef

func GenReqDefForBatchCreateBaremetalServerTags

func GenReqDefForBatchCreateBaremetalServerTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteBaremetalServerTags

func GenReqDefForBatchDeleteBaremetalServerTags() *def.HttpRequestDef

func GenReqDefForBatchRebootBaremetalServers

func GenReqDefForBatchRebootBaremetalServers() *def.HttpRequestDef

func GenReqDefForBatchStartBaremetalServers

func GenReqDefForBatchStartBaremetalServers() *def.HttpRequestDef

func GenReqDefForBatchStopBaremetalServers

func GenReqDefForBatchStopBaremetalServers() *def.HttpRequestDef

func GenReqDefForChangeBaremetalServerName

func GenReqDefForChangeBaremetalServerName() *def.HttpRequestDef

func GenReqDefForChangeBaremetalServerOs added in v0.0.49

func GenReqDefForChangeBaremetalServerOs() *def.HttpRequestDef

func GenReqDefForCreateBareMetalServers

func GenReqDefForCreateBareMetalServers() *def.HttpRequestDef

func GenReqDefForDeleteBaremetalServer added in v0.1.72

func GenReqDefForDeleteBaremetalServer() *def.HttpRequestDef

func GenReqDefForDeleteServerNics added in v0.1.6

func GenReqDefForDeleteServerNics() *def.HttpRequestDef

func GenReqDefForDeleteWindowsBareMetalServerPassword

func GenReqDefForDeleteWindowsBareMetalServerPassword() *def.HttpRequestDef

func GenReqDefForDetachBaremetalServerVolume

func GenReqDefForDetachBaremetalServerVolume() *def.HttpRequestDef

func GenReqDefForListBareMetalServerDetails

func GenReqDefForListBareMetalServerDetails() *def.HttpRequestDef

func GenReqDefForListBareMetalServers

func GenReqDefForListBareMetalServers() *def.HttpRequestDef

func GenReqDefForListBaremetalFlavorDetailExtends

func GenReqDefForListBaremetalFlavorDetailExtends() *def.HttpRequestDef

func GenReqDefForReinstallBaremetalServerOs

func GenReqDefForReinstallBaremetalServerOs() *def.HttpRequestDef

func GenReqDefForResetPwdOneClick

func GenReqDefForResetPwdOneClick() *def.HttpRequestDef

func GenReqDefForShowBaremetalServerInterfaceAttachments

func GenReqDefForShowBaremetalServerInterfaceAttachments() *def.HttpRequestDef

func GenReqDefForShowBaremetalServerTags

func GenReqDefForShowBaremetalServerTags() *def.HttpRequestDef

func GenReqDefForShowBaremetalServerVolumeInfo

func GenReqDefForShowBaremetalServerVolumeInfo() *def.HttpRequestDef

func GenReqDefForShowJobInfos

func GenReqDefForShowJobInfos() *def.HttpRequestDef

func GenReqDefForShowResetPwd

func GenReqDefForShowResetPwd() *def.HttpRequestDef

func GenReqDefForShowServerRemoteConsole added in v0.1.6

func GenReqDefForShowServerRemoteConsole() *def.HttpRequestDef

func GenReqDefForShowSpecifiedVersion

func GenReqDefForShowSpecifiedVersion() *def.HttpRequestDef

func GenReqDefForShowTenantQuota

func GenReqDefForShowTenantQuota() *def.HttpRequestDef

func GenReqDefForShowWindowsBaremetalServerPwd

func GenReqDefForShowWindowsBaremetalServerPwd() *def.HttpRequestDef

func GenReqDefForUpdateBaremetalServerInterfaceAttachments added in v0.1.6

func GenReqDefForUpdateBaremetalServerInterfaceAttachments() *def.HttpRequestDef

func GenReqDefForUpdateBaremetalServerMetadata

func GenReqDefForUpdateBaremetalServerMetadata() *def.HttpRequestDef

Types

type AddServerNicsInvoker added in v0.1.6

type AddServerNicsInvoker struct {
	*invoker.BaseInvoker
}

func (*AddServerNicsInvoker) GetBaseInvoker added in v0.1.118

func (i *AddServerNicsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddServerNicsInvoker) Invoke added in v0.1.6

type AttachBaremetalServerVolumeInvoker added in v0.0.90

type AttachBaremetalServerVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*AttachBaremetalServerVolumeInvoker) GetBaseInvoker added in v0.1.118

func (*AttachBaremetalServerVolumeInvoker) Invoke added in v0.0.90

type BatchCreateBaremetalServerTagsInvoker added in v0.0.90

type BatchCreateBaremetalServerTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateBaremetalServerTagsInvoker) GetBaseInvoker added in v0.1.118

func (*BatchCreateBaremetalServerTagsInvoker) Invoke added in v0.0.90

type BatchDeleteBaremetalServerTagsInvoker added in v0.0.90

type BatchDeleteBaremetalServerTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteBaremetalServerTagsInvoker) GetBaseInvoker added in v0.1.118

func (*BatchDeleteBaremetalServerTagsInvoker) Invoke added in v0.0.90

type BatchRebootBaremetalServersInvoker added in v0.0.90

type BatchRebootBaremetalServersInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchRebootBaremetalServersInvoker) GetBaseInvoker added in v0.1.118

func (*BatchRebootBaremetalServersInvoker) Invoke added in v0.0.90

type BatchStartBaremetalServersInvoker added in v0.0.90

type BatchStartBaremetalServersInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchStartBaremetalServersInvoker) GetBaseInvoker added in v0.1.118

func (*BatchStartBaremetalServersInvoker) Invoke added in v0.0.90

type BatchStopBaremetalServersInvoker added in v0.0.90

type BatchStopBaremetalServersInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchStopBaremetalServersInvoker) GetBaseInvoker added in v0.1.118

func (*BatchStopBaremetalServersInvoker) Invoke added in v0.0.90

type BmsClient

type BmsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewBmsClient

func NewBmsClient(hcClient *httpclient.HcHttpClient) *BmsClient

func (*BmsClient) AddServerNics added in v0.1.6

func (c *BmsClient) AddServerNics(request *model.AddServerNicsRequest) (*model.AddServerNicsResponse, error)

AddServerNics 裸金属服务器绑定弹性网卡

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) AddServerNicsInvoker added in v0.1.6

func (c *BmsClient) AddServerNicsInvoker(request *model.AddServerNicsRequest) *AddServerNicsInvoker

AddServerNicsInvoker 裸金属服务器绑定弹性网卡

func (*BmsClient) AttachBaremetalServerVolume

AttachBaremetalServerVolume 裸金属服务器挂载云硬盘

裸金属服务器创建成功后,如果发现磁盘不够用或者当前磁盘不满足要求,可以将已有云硬盘挂载给裸金属服务器,作为数据盘使用

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) AttachBaremetalServerVolumeInvoker added in v0.0.90

func (c *BmsClient) AttachBaremetalServerVolumeInvoker(request *model.AttachBaremetalServerVolumeRequest) *AttachBaremetalServerVolumeInvoker

AttachBaremetalServerVolumeInvoker 裸金属服务器挂载云硬盘

func (*BmsClient) BatchCreateBaremetalServerTags

BatchCreateBaremetalServerTags 批量添加裸金属服务器标签

- 为指定裸金属服务器批量添加标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) BatchCreateBaremetalServerTagsInvoker added in v0.0.90

func (c *BmsClient) BatchCreateBaremetalServerTagsInvoker(request *model.BatchCreateBaremetalServerTagsRequest) *BatchCreateBaremetalServerTagsInvoker

BatchCreateBaremetalServerTagsInvoker 批量添加裸金属服务器标签

func (*BmsClient) BatchDeleteBaremetalServerTags

BatchDeleteBaremetalServerTags 批量删除l裸金属服务器标签

- 为指定云服务器批量删除标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) BatchDeleteBaremetalServerTagsInvoker added in v0.0.90

func (c *BmsClient) BatchDeleteBaremetalServerTagsInvoker(request *model.BatchDeleteBaremetalServerTagsRequest) *BatchDeleteBaremetalServerTagsInvoker

BatchDeleteBaremetalServerTagsInvoker 批量删除l裸金属服务器标签

func (*BmsClient) BatchRebootBaremetalServers

BatchRebootBaremetalServers 重启裸金属服务器

根据给定的裸金属服务器ID列表,批量重启裸金属服务器

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) BatchRebootBaremetalServersInvoker added in v0.0.90

func (c *BmsClient) BatchRebootBaremetalServersInvoker(request *model.BatchRebootBaremetalServersRequest) *BatchRebootBaremetalServersInvoker

BatchRebootBaremetalServersInvoker 重启裸金属服务器

func (*BmsClient) BatchStartBaremetalServers

BatchStartBaremetalServers 启动裸金属服务器

根据给定的裸金属服务器ID列表,批量启动裸金属服务器

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) BatchStartBaremetalServersInvoker added in v0.0.90

func (c *BmsClient) BatchStartBaremetalServersInvoker(request *model.BatchStartBaremetalServersRequest) *BatchStartBaremetalServersInvoker

BatchStartBaremetalServersInvoker 启动裸金属服务器

func (*BmsClient) BatchStopBaremetalServers

BatchStopBaremetalServers 关闭裸金属服务器

根据给定的裸金属服务器ID列表,批量关闭裸金属服务器

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) BatchStopBaremetalServersInvoker added in v0.0.90

func (c *BmsClient) BatchStopBaremetalServersInvoker(request *model.BatchStopBaremetalServersRequest) *BatchStopBaremetalServersInvoker

BatchStopBaremetalServersInvoker 关闭裸金属服务器

func (*BmsClient) ChangeBaremetalServerName

ChangeBaremetalServerName 修改裸金属服务器名称

修改裸金属服务器名称

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ChangeBaremetalServerNameInvoker added in v0.0.90

func (c *BmsClient) ChangeBaremetalServerNameInvoker(request *model.ChangeBaremetalServerNameRequest) *ChangeBaremetalServerNameInvoker

ChangeBaremetalServerNameInvoker 修改裸金属服务器名称

func (*BmsClient) ChangeBaremetalServerOs added in v0.0.49

ChangeBaremetalServerOs

切换裸金属服务器的操作系统。切换操作系统支持密码或者密钥注入,该接口支持企业项目细粒度权限的校验,具体细粒度请参见 bms:servers:changeOS

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ChangeBaremetalServerOsInvoker added in v0.0.90

func (c *BmsClient) ChangeBaremetalServerOsInvoker(request *model.ChangeBaremetalServerOsRequest) *ChangeBaremetalServerOsInvoker

ChangeBaremetalServerOsInvoker

func (*BmsClient) CreateBareMetalServers

CreateBareMetalServers 创建裸金属服务器

创建一台或多台裸金属服务器,裸金属服务器的登录鉴权方式包括两种:密钥对、密码。为安全起见,推荐使用密钥对方式

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) CreateBareMetalServersInvoker added in v0.0.90

func (c *BmsClient) CreateBareMetalServersInvoker(request *model.CreateBareMetalServersRequest) *CreateBareMetalServersInvoker

CreateBareMetalServersInvoker 创建裸金属服务器

func (*BmsClient) DeleteBaremetalServer added in v0.1.72

DeleteBaremetalServer 删除裸金属服务器裸金属服务器物理机

删除裸金属服务器裸金属服务器物理机

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) DeleteBaremetalServerInvoker added in v0.1.72

func (c *BmsClient) DeleteBaremetalServerInvoker(request *model.DeleteBaremetalServerRequest) *DeleteBaremetalServerInvoker

DeleteBaremetalServerInvoker 删除裸金属服务器裸金属服务器物理机

func (*BmsClient) DeleteServerNics added in v0.1.6

func (c *BmsClient) DeleteServerNics(request *model.DeleteServerNicsRequest) (*model.DeleteServerNicsResponse, error)

DeleteServerNics 裸金属服务器解绑弹性网卡

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) DeleteServerNicsInvoker added in v0.1.6

func (c *BmsClient) DeleteServerNicsInvoker(request *model.DeleteServerNicsRequest) *DeleteServerNicsInvoker

DeleteServerNicsInvoker 裸金属服务器解绑弹性网卡

func (*BmsClient) DeleteWindowsBareMetalServerPassword

DeleteWindowsBareMetalServerPassword Windows裸金属服务器清除密码

清除Windows裸金属服务器初始安装时系统生成的密码记录。清除密码后,不影响裸金属服务器密码登录功能,但不能再使用获取密码功能来查询该裸金属服务器密码。如果裸金属服务器是通过私有镜像创建的,请确保已安装Cloudbase-init。公共镜像默认已安装该软件

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) DeleteWindowsBareMetalServerPasswordInvoker added in v0.0.90

func (c *BmsClient) DeleteWindowsBareMetalServerPasswordInvoker(request *model.DeleteWindowsBareMetalServerPasswordRequest) *DeleteWindowsBareMetalServerPasswordInvoker

DeleteWindowsBareMetalServerPasswordInvoker Windows裸金属服务器清除密码

func (*BmsClient) DetachBaremetalServerVolume

DetachBaremetalServerVolume 裸金属服务器卸载云磁盘

将挂载至裸金属服务器中的磁盘卸载;对于挂载在系统盘盘位(也就是“/dev/sda”挂载点)上的磁盘,不允许执行卸载操作;对于挂载在数据盘盘位(非“/dev/sda”挂载点)上的磁盘,支持离线卸载和在线卸载(裸金属服务器处于“运行中”状态)磁盘

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) DetachBaremetalServerVolumeInvoker added in v0.0.90

func (c *BmsClient) DetachBaremetalServerVolumeInvoker(request *model.DetachBaremetalServerVolumeRequest) *DetachBaremetalServerVolumeInvoker

DetachBaremetalServerVolumeInvoker 裸金属服务器卸载云磁盘

func (*BmsClient) ListBareMetalServerDetails

ListBareMetalServerDetails 查询裸金属服务器详情

获取裸金属服务器详细信息,该接口支持查询裸金属服务器的计费方式,以及是否被冻结

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ListBareMetalServerDetailsInvoker added in v0.0.90

func (c *BmsClient) ListBareMetalServerDetailsInvoker(request *model.ListBareMetalServerDetailsRequest) *ListBareMetalServerDetailsInvoker

ListBareMetalServerDetailsInvoker 查询裸金属服务器详情

func (*BmsClient) ListBareMetalServers

ListBareMetalServers 查询裸金属服务器详情列表

用户根据设置的请求条件筛选裸金属服务器,并获取裸金属服务器的详细信息。该接口支持查询裸金属服务器计费方式,以及是否被冻结。

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ListBareMetalServersInvoker added in v0.0.90

func (c *BmsClient) ListBareMetalServersInvoker(request *model.ListBareMetalServersRequest) *ListBareMetalServersInvoker

ListBareMetalServersInvoker 查询裸金属服务器详情列表

func (*BmsClient) ListBaremetalFlavorDetailExtends

ListBaremetalFlavorDetailExtends 查询规格详情和规格扩展信息列表

查询裸金属服务器的规格详情和规格的扩展信息。您可以调用此接口查询“baremetal:extBootType”参数取值,以确认某个规格是否支持快速发放

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ListBaremetalFlavorDetailExtendsInvoker added in v0.0.90

func (c *BmsClient) ListBaremetalFlavorDetailExtendsInvoker(request *model.ListBaremetalFlavorDetailExtendsRequest) *ListBaremetalFlavorDetailExtendsInvoker

ListBaremetalFlavorDetailExtendsInvoker 查询规格详情和规格扩展信息列表

func (*BmsClient) ReinstallBaremetalServerOs

ReinstallBaremetalServerOs 重装裸金属服务器操作系统

重装裸金属服务器的操作系统。快速发放裸金属服务器支持裸金属服务器数据盘不变的情况下,使用原镜像重装系统盘。重装操作系统支持密码或者密钥注入

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ReinstallBaremetalServerOsInvoker added in v0.0.90

func (c *BmsClient) ReinstallBaremetalServerOsInvoker(request *model.ReinstallBaremetalServerOsRequest) *ReinstallBaremetalServerOsInvoker

ReinstallBaremetalServerOsInvoker 重装裸金属服务器操作系统

func (*BmsClient) ResetPwdOneClick

func (c *BmsClient) ResetPwdOneClick(request *model.ResetPwdOneClickRequest) (*model.ResetPwdOneClickResponse, error)

ResetPwdOneClick 一键重置裸金属服务器密码

在裸金属服务器支持一键重置密码功能的前提下,重置裸金属服务器管理帐号(root用户或Administrator用户)的密码。可以通过6.10.1-查询是否支持一键重置密码API查询是否支持一键重置密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ResetPwdOneClickInvoker added in v0.0.90

func (c *BmsClient) ResetPwdOneClickInvoker(request *model.ResetPwdOneClickRequest) *ResetPwdOneClickInvoker

ResetPwdOneClickInvoker 一键重置裸金属服务器密码

func (*BmsClient) ShowBaremetalServerInterfaceAttachments

ShowBaremetalServerInterfaceAttachments 查询裸金属服务器网卡信息

查询裸金属服务器的网卡信息,比如网卡的IP地址、MAC地址

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowBaremetalServerInterfaceAttachmentsInvoker added in v0.0.90

func (c *BmsClient) ShowBaremetalServerInterfaceAttachmentsInvoker(request *model.ShowBaremetalServerInterfaceAttachmentsRequest) *ShowBaremetalServerInterfaceAttachmentsInvoker

ShowBaremetalServerInterfaceAttachmentsInvoker 查询裸金属服务器网卡信息

func (*BmsClient) ShowBaremetalServerTags

ShowBaremetalServerTags 查询裸金属服务器标签

- 查询指定云服务器的标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowBaremetalServerTagsInvoker added in v0.0.90

func (c *BmsClient) ShowBaremetalServerTagsInvoker(request *model.ShowBaremetalServerTagsRequest) *ShowBaremetalServerTagsInvoker

ShowBaremetalServerTagsInvoker 查询裸金属服务器标签

func (*BmsClient) ShowBaremetalServerVolumeInfo

ShowBaremetalServerVolumeInfo 查询裸金属服务器挂载的云硬盘信息

查询裸金属服务器挂载的磁盘信息

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowBaremetalServerVolumeInfoInvoker added in v0.0.90

func (c *BmsClient) ShowBaremetalServerVolumeInfoInvoker(request *model.ShowBaremetalServerVolumeInfoRequest) *ShowBaremetalServerVolumeInfoInvoker

ShowBaremetalServerVolumeInfoInvoker 查询裸金属服务器挂载的云硬盘信息

func (*BmsClient) ShowJobInfos

func (c *BmsClient) ShowJobInfos(request *model.ShowJobInfosRequest) (*model.ShowJobInfosResponse, error)

ShowJobInfos 查询Job状态

查询Job的执行状态。对于创建裸金属服务器物理机、挂卸卷等异步API,命令下发后,会返回job_id,通过job_id可以查询任务的执行状态

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowJobInfosInvoker added in v0.0.90

func (c *BmsClient) ShowJobInfosInvoker(request *model.ShowJobInfosRequest) *ShowJobInfosInvoker

ShowJobInfosInvoker 查询Job状态

func (*BmsClient) ShowResetPwd

func (c *BmsClient) ShowResetPwd(request *model.ShowResetPwdRequest) (*model.ShowResetPwdResponse, error)

ShowResetPwd 查询是否支持一键重置密码

查询是否支持一键重置密码

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowResetPwdInvoker added in v0.0.90

func (c *BmsClient) ShowResetPwdInvoker(request *model.ShowResetPwdRequest) *ShowResetPwdInvoker

ShowResetPwdInvoker 查询是否支持一键重置密码

func (*BmsClient) ShowServerRemoteConsole added in v0.1.6

ShowServerRemoteConsole 获取裸金属服务器远程登录地址

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowServerRemoteConsoleInvoker added in v0.1.6

func (c *BmsClient) ShowServerRemoteConsoleInvoker(request *model.ShowServerRemoteConsoleRequest) *ShowServerRemoteConsoleInvoker

ShowServerRemoteConsoleInvoker 获取裸金属服务器远程登录地址

func (*BmsClient) ShowSpecifiedVersion

ShowSpecifiedVersion 查询指定API版本信息

查询裸金属服务指定接口版本的信息

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowSpecifiedVersionInvoker added in v0.0.90

func (c *BmsClient) ShowSpecifiedVersionInvoker(request *model.ShowSpecifiedVersionRequest) *ShowSpecifiedVersionInvoker

ShowSpecifiedVersionInvoker 查询指定API版本信息

func (*BmsClient) ShowTenantQuota

func (c *BmsClient) ShowTenantQuota(request *model.ShowTenantQuotaRequest) (*model.ShowTenantQuotaResponse, error)

ShowTenantQuota 查询租户配额

查询该租户下,所有资源的配额信息,包括已使用配额

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowTenantQuotaInvoker added in v0.0.90

func (c *BmsClient) ShowTenantQuotaInvoker(request *model.ShowTenantQuotaRequest) *ShowTenantQuotaInvoker

ShowTenantQuotaInvoker 查询租户配额

func (*BmsClient) ShowWindowsBaremetalServerPwd

ShowWindowsBaremetalServerPwd Windows裸金属服务器获取密码

获取Windows裸金属服务器初始安装时系统生成的管理员帐户(Administrator帐户或Cloudbase-init设置的帐户)随机密码。如果裸金属服务器是通过私有镜像创建的,请确保已安装Cloudbase-init。公共镜像默认已安装该软件

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) ShowWindowsBaremetalServerPwdInvoker added in v0.0.90

func (c *BmsClient) ShowWindowsBaremetalServerPwdInvoker(request *model.ShowWindowsBaremetalServerPwdRequest) *ShowWindowsBaremetalServerPwdInvoker

ShowWindowsBaremetalServerPwdInvoker Windows裸金属服务器获取密码

func (*BmsClient) UpdateBaremetalServerInterfaceAttachments added in v0.1.6

UpdateBaremetalServerInterfaceAttachments 修改裸金属服务器弹性网卡的属性

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) UpdateBaremetalServerInterfaceAttachmentsInvoker added in v0.1.6

func (c *BmsClient) UpdateBaremetalServerInterfaceAttachmentsInvoker(request *model.UpdateBaremetalServerInterfaceAttachmentsRequest) *UpdateBaremetalServerInterfaceAttachmentsInvoker

UpdateBaremetalServerInterfaceAttachmentsInvoker 修改裸金属服务器弹性网卡的属性

func (*BmsClient) UpdateBaremetalServerMetadata

UpdateBaremetalServerMetadata 更新裸金属服务器元数据

更新裸金属服务器元数据。如果元数据中没有待更新字段,则自动添加该字段。如果元数据中已存在待更新字段,则直接更新字段值;如果元数据中的字段不再请求参数中,则保持不变

Please refer to HUAWEI cloud API Explorer for details.

func (*BmsClient) UpdateBaremetalServerMetadataInvoker added in v0.0.90

func (c *BmsClient) UpdateBaremetalServerMetadataInvoker(request *model.UpdateBaremetalServerMetadataRequest) *UpdateBaremetalServerMetadataInvoker

UpdateBaremetalServerMetadataInvoker 更新裸金属服务器元数据

type ChangeBaremetalServerNameInvoker added in v0.0.90

type ChangeBaremetalServerNameInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeBaremetalServerNameInvoker) GetBaseInvoker added in v0.1.118

func (*ChangeBaremetalServerNameInvoker) Invoke added in v0.0.90

type ChangeBaremetalServerOsInvoker added in v0.0.90

type ChangeBaremetalServerOsInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeBaremetalServerOsInvoker) GetBaseInvoker added in v0.1.118

func (i *ChangeBaremetalServerOsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ChangeBaremetalServerOsInvoker) Invoke added in v0.0.90

type CreateBareMetalServersInvoker added in v0.0.90

type CreateBareMetalServersInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateBareMetalServersInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateBareMetalServersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateBareMetalServersInvoker) Invoke added in v0.0.90

type DeleteBaremetalServerInvoker added in v0.1.72

type DeleteBaremetalServerInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBaremetalServerInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteBaremetalServerInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteBaremetalServerInvoker) Invoke added in v0.1.72

type DeleteServerNicsInvoker added in v0.1.6

type DeleteServerNicsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServerNicsInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteServerNicsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteServerNicsInvoker) Invoke added in v0.1.6

type DeleteWindowsBareMetalServerPasswordInvoker added in v0.0.90

type DeleteWindowsBareMetalServerPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteWindowsBareMetalServerPasswordInvoker) GetBaseInvoker added in v0.1.118

func (*DeleteWindowsBareMetalServerPasswordInvoker) Invoke added in v0.0.90

type DetachBaremetalServerVolumeInvoker added in v0.0.90

type DetachBaremetalServerVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*DetachBaremetalServerVolumeInvoker) GetBaseInvoker added in v0.1.118

func (*DetachBaremetalServerVolumeInvoker) Invoke added in v0.0.90

type ListBareMetalServerDetailsInvoker added in v0.0.90

type ListBareMetalServerDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBareMetalServerDetailsInvoker) GetBaseInvoker added in v0.1.118

func (*ListBareMetalServerDetailsInvoker) Invoke added in v0.0.90

type ListBareMetalServersInvoker added in v0.0.90

type ListBareMetalServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBareMetalServersInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBareMetalServersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBareMetalServersInvoker) Invoke added in v0.0.90

type ListBaremetalFlavorDetailExtendsInvoker added in v0.0.90

type ListBaremetalFlavorDetailExtendsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBaremetalFlavorDetailExtendsInvoker) GetBaseInvoker added in v0.1.118

func (*ListBaremetalFlavorDetailExtendsInvoker) Invoke added in v0.0.90

type ReinstallBaremetalServerOsInvoker added in v0.0.90

type ReinstallBaremetalServerOsInvoker struct {
	*invoker.BaseInvoker
}

func (*ReinstallBaremetalServerOsInvoker) GetBaseInvoker added in v0.1.118

func (*ReinstallBaremetalServerOsInvoker) Invoke added in v0.0.90

type ResetPwdOneClickInvoker added in v0.0.90

type ResetPwdOneClickInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetPwdOneClickInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetPwdOneClickInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetPwdOneClickInvoker) Invoke added in v0.0.90

type ShowBaremetalServerInterfaceAttachmentsInvoker added in v0.0.90

type ShowBaremetalServerInterfaceAttachmentsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBaremetalServerInterfaceAttachmentsInvoker) GetBaseInvoker added in v0.1.118

func (*ShowBaremetalServerInterfaceAttachmentsInvoker) Invoke added in v0.0.90

type ShowBaremetalServerTagsInvoker added in v0.0.90

type ShowBaremetalServerTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBaremetalServerTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowBaremetalServerTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowBaremetalServerTagsInvoker) Invoke added in v0.0.90

type ShowBaremetalServerVolumeInfoInvoker added in v0.0.90

type ShowBaremetalServerVolumeInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBaremetalServerVolumeInfoInvoker) GetBaseInvoker added in v0.1.118

func (*ShowBaremetalServerVolumeInfoInvoker) Invoke added in v0.0.90

type ShowJobInfosInvoker added in v0.0.90

type ShowJobInfosInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobInfosInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowJobInfosInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowJobInfosInvoker) Invoke added in v0.0.90

type ShowResetPwdInvoker added in v0.0.90

type ShowResetPwdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResetPwdInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowResetPwdInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowResetPwdInvoker) Invoke added in v0.0.90

type ShowServerRemoteConsoleInvoker added in v0.1.6

type ShowServerRemoteConsoleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowServerRemoteConsoleInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowServerRemoteConsoleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowServerRemoteConsoleInvoker) Invoke added in v0.1.6

type ShowSpecifiedVersionInvoker added in v0.0.90

type ShowSpecifiedVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSpecifiedVersionInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSpecifiedVersionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSpecifiedVersionInvoker) Invoke added in v0.0.90

type ShowTenantQuotaInvoker added in v0.0.90

type ShowTenantQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTenantQuotaInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowTenantQuotaInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowTenantQuotaInvoker) Invoke added in v0.0.90

type ShowWindowsBaremetalServerPwdInvoker added in v0.0.90

type ShowWindowsBaremetalServerPwdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWindowsBaremetalServerPwdInvoker) GetBaseInvoker added in v0.1.118

func (*ShowWindowsBaremetalServerPwdInvoker) Invoke added in v0.0.90

type UpdateBaremetalServerInterfaceAttachmentsInvoker added in v0.1.6

type UpdateBaremetalServerInterfaceAttachmentsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBaremetalServerInterfaceAttachmentsInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateBaremetalServerInterfaceAttachmentsInvoker) Invoke added in v0.1.6

type UpdateBaremetalServerMetadataInvoker added in v0.0.90

type UpdateBaremetalServerMetadataInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBaremetalServerMetadataInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateBaremetalServerMetadataInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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