v2

package
v0.1.71 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvsClientBuilder

func EvsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchCreateVolumeTags

func GenReqDefForBatchCreateVolumeTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteVolumeTags

func GenReqDefForBatchDeleteVolumeTags() *def.HttpRequestDef

func GenReqDefForCinderAcceptVolumeTransfer added in v0.1.1

func GenReqDefForCinderAcceptVolumeTransfer() *def.HttpRequestDef

func GenReqDefForCinderCreateVolumeTransfer added in v0.1.1

func GenReqDefForCinderCreateVolumeTransfer() *def.HttpRequestDef

func GenReqDefForCinderDeleteVolumeTransfer added in v0.1.1

func GenReqDefForCinderDeleteVolumeTransfer() *def.HttpRequestDef

func GenReqDefForCinderListAvailabilityZones

func GenReqDefForCinderListAvailabilityZones() *def.HttpRequestDef

func GenReqDefForCinderListQuotas

func GenReqDefForCinderListQuotas() *def.HttpRequestDef

func GenReqDefForCinderListVolumeTransfers added in v0.1.1

func GenReqDefForCinderListVolumeTransfers() *def.HttpRequestDef

func GenReqDefForCinderListVolumeTypes

func GenReqDefForCinderListVolumeTypes() *def.HttpRequestDef

func GenReqDefForCinderShowVolumeTransfer added in v0.1.1

func GenReqDefForCinderShowVolumeTransfer() *def.HttpRequestDef

func GenReqDefForCreateSnapshot

func GenReqDefForCreateSnapshot() *def.HttpRequestDef

func GenReqDefForCreateVolume

func GenReqDefForCreateVolume() *def.HttpRequestDef

func GenReqDefForDeleteSnapshot

func GenReqDefForDeleteSnapshot() *def.HttpRequestDef

func GenReqDefForDeleteVolume

func GenReqDefForDeleteVolume() *def.HttpRequestDef

func GenReqDefForListSnapshots

func GenReqDefForListSnapshots() *def.HttpRequestDef

func GenReqDefForListVersions added in v0.1.1

func GenReqDefForListVersions() *def.HttpRequestDef

func GenReqDefForListVolumeTags

func GenReqDefForListVolumeTags() *def.HttpRequestDef

func GenReqDefForListVolumes

func GenReqDefForListVolumes() *def.HttpRequestDef

func GenReqDefForListVolumesByTags

func GenReqDefForListVolumesByTags() *def.HttpRequestDef

func GenReqDefForModifyVolumeQoS added in v0.1.59

func GenReqDefForModifyVolumeQoS() *def.HttpRequestDef

func GenReqDefForResizeVolume

func GenReqDefForResizeVolume() *def.HttpRequestDef

func GenReqDefForRollbackSnapshot

func GenReqDefForRollbackSnapshot() *def.HttpRequestDef

func GenReqDefForShowJob

func GenReqDefForShowJob() *def.HttpRequestDef

func GenReqDefForShowSnapshot

func GenReqDefForShowSnapshot() *def.HttpRequestDef

func GenReqDefForShowVersion added in v0.1.1

func GenReqDefForShowVersion() *def.HttpRequestDef

func GenReqDefForShowVolume

func GenReqDefForShowVolume() *def.HttpRequestDef

func GenReqDefForShowVolumeTags

func GenReqDefForShowVolumeTags() *def.HttpRequestDef

func GenReqDefForUpdateSnapshot

func GenReqDefForUpdateSnapshot() *def.HttpRequestDef

func GenReqDefForUpdateVolume

func GenReqDefForUpdateVolume() *def.HttpRequestDef

Types

type BatchCreateVolumeTagsInvoker added in v0.0.90

type BatchCreateVolumeTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateVolumeTagsInvoker) Invoke added in v0.0.90

type BatchDeleteVolumeTagsInvoker added in v0.0.90

type BatchDeleteVolumeTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteVolumeTagsInvoker) Invoke added in v0.0.90

type CinderAcceptVolumeTransferInvoker added in v0.1.1

type CinderAcceptVolumeTransferInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderAcceptVolumeTransferInvoker) Invoke added in v0.1.1

type CinderCreateVolumeTransferInvoker added in v0.1.1

type CinderCreateVolumeTransferInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderCreateVolumeTransferInvoker) Invoke added in v0.1.1

type CinderDeleteVolumeTransferInvoker added in v0.1.1

type CinderDeleteVolumeTransferInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderDeleteVolumeTransferInvoker) Invoke added in v0.1.1

type CinderListAvailabilityZonesInvoker added in v0.0.90

type CinderListAvailabilityZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderListAvailabilityZonesInvoker) Invoke added in v0.0.90

type CinderListQuotasInvoker added in v0.0.90

type CinderListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderListQuotasInvoker) Invoke added in v0.0.90

type CinderListVolumeTransfersInvoker added in v0.1.1

type CinderListVolumeTransfersInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderListVolumeTransfersInvoker) Invoke added in v0.1.1

type CinderListVolumeTypesInvoker added in v0.0.90

type CinderListVolumeTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderListVolumeTypesInvoker) Invoke added in v0.0.90

type CinderShowVolumeTransferInvoker added in v0.1.1

type CinderShowVolumeTransferInvoker struct {
	*invoker.BaseInvoker
}

func (*CinderShowVolumeTransferInvoker) Invoke added in v0.1.1

type CreateSnapshotInvoker added in v0.0.90

type CreateSnapshotInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSnapshotInvoker) Invoke added in v0.0.90

type CreateVolumeInvoker added in v0.0.90

type CreateVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateVolumeInvoker) Invoke added in v0.0.90

type DeleteSnapshotInvoker added in v0.0.90

type DeleteSnapshotInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSnapshotInvoker) Invoke added in v0.0.90

type DeleteVolumeInvoker added in v0.0.90

type DeleteVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteVolumeInvoker) Invoke added in v0.0.90

type EvsClient

type EvsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewEvsClient

func NewEvsClient(hcClient *http_client.HcHttpClient) *EvsClient

func (*EvsClient) BatchCreateVolumeTags

BatchCreateVolumeTags 为指定云硬盘批量添加标签

为指定云硬盘批量添加标签。

添加标签时,如果云硬盘的标签已存在相同key,则会覆盖已有标签。 单个云硬盘最多支持创建10个标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) BatchCreateVolumeTagsInvoker added in v0.0.90

func (c *EvsClient) BatchCreateVolumeTagsInvoker(request *model.BatchCreateVolumeTagsRequest) *BatchCreateVolumeTagsInvoker

BatchCreateVolumeTagsInvoker 为指定云硬盘批量添加标签

func (*EvsClient) BatchDeleteVolumeTags

BatchDeleteVolumeTags 为指定云硬盘批量删除标签

为指定云硬盘批量删除标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) BatchDeleteVolumeTagsInvoker added in v0.0.90

func (c *EvsClient) BatchDeleteVolumeTagsInvoker(request *model.BatchDeleteVolumeTagsRequest) *BatchDeleteVolumeTagsInvoker

BatchDeleteVolumeTagsInvoker 为指定云硬盘批量删除标签

func (*EvsClient) CinderAcceptVolumeTransfer added in v0.1.1

CinderAcceptVolumeTransfer 接受云硬盘过户

通过云硬盘过户记录ID以及身份认证密钥来接受云硬盘过户。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderAcceptVolumeTransferInvoker added in v0.1.1

func (c *EvsClient) CinderAcceptVolumeTransferInvoker(request *model.CinderAcceptVolumeTransferRequest) *CinderAcceptVolumeTransferInvoker

CinderAcceptVolumeTransferInvoker 接受云硬盘过户

func (*EvsClient) CinderCreateVolumeTransfer added in v0.1.1

CinderCreateVolumeTransfer 创建云硬盘过户

指定云硬盘来创建云硬盘过户记录,创建成功后,会返回过户记录ID以及身份认证密钥。 云硬盘在过户过程中的状态变化如下:创建云硬盘过户后,云硬盘状态由“available”变为“awaiting-transfer”。当云硬盘过户被接收后,云硬盘状态变为“available”。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderCreateVolumeTransferInvoker added in v0.1.1

func (c *EvsClient) CinderCreateVolumeTransferInvoker(request *model.CinderCreateVolumeTransferRequest) *CinderCreateVolumeTransferInvoker

CinderCreateVolumeTransferInvoker 创建云硬盘过户

func (*EvsClient) CinderDeleteVolumeTransfer added in v0.1.1

CinderDeleteVolumeTransfer 删除云硬盘过户

当云硬盘过户未被接受时,您可以删除云硬盘过户记录,接受后则无法执行删除操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderDeleteVolumeTransferInvoker added in v0.1.1

func (c *EvsClient) CinderDeleteVolumeTransferInvoker(request *model.CinderDeleteVolumeTransferRequest) *CinderDeleteVolumeTransferInvoker

CinderDeleteVolumeTransferInvoker 删除云硬盘过户

func (*EvsClient) CinderListAvailabilityZones

CinderListAvailabilityZones 查询所有的可用分区信息

查询所有的可用分区信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderListAvailabilityZonesInvoker added in v0.0.90

func (c *EvsClient) CinderListAvailabilityZonesInvoker(request *model.CinderListAvailabilityZonesRequest) *CinderListAvailabilityZonesInvoker

CinderListAvailabilityZonesInvoker 查询所有的可用分区信息

func (*EvsClient) CinderListQuotas

func (c *EvsClient) CinderListQuotas(request *model.CinderListQuotasRequest) (*model.CinderListQuotasResponse, error)

CinderListQuotas 查询租户的详细配额

查询租户的详细配额。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderListQuotasInvoker added in v0.0.90

func (c *EvsClient) CinderListQuotasInvoker(request *model.CinderListQuotasRequest) *CinderListQuotasInvoker

CinderListQuotasInvoker 查询租户的详细配额

func (*EvsClient) CinderListVolumeTransfers added in v0.1.1

CinderListVolumeTransfers 查询云硬盘过户记录列表概要

查询当前租户下所有云硬盘的过户记录列表

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderListVolumeTransfersInvoker added in v0.1.1

func (c *EvsClient) CinderListVolumeTransfersInvoker(request *model.CinderListVolumeTransfersRequest) *CinderListVolumeTransfersInvoker

CinderListVolumeTransfersInvoker 查询云硬盘过户记录列表概要

func (*EvsClient) CinderListVolumeTypes

CinderListVolumeTypes 查询云硬盘类型列表

查询云硬盘类型列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderListVolumeTypesInvoker added in v0.0.90

func (c *EvsClient) CinderListVolumeTypesInvoker(request *model.CinderListVolumeTypesRequest) *CinderListVolumeTypesInvoker

CinderListVolumeTypesInvoker 查询云硬盘类型列表

func (*EvsClient) CinderShowVolumeTransfer added in v0.1.1

CinderShowVolumeTransfer 查询单个云硬盘过户记录详情

查询单个云硬盘的过户记录详情,比如过户记录创建时间、ID以及名称等信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CinderShowVolumeTransferInvoker added in v0.1.1

func (c *EvsClient) CinderShowVolumeTransferInvoker(request *model.CinderShowVolumeTransferRequest) *CinderShowVolumeTransferInvoker

CinderShowVolumeTransferInvoker 查询单个云硬盘过户记录详情

func (*EvsClient) CreateSnapshot

func (c *EvsClient) CreateSnapshot(request *model.CreateSnapshotRequest) (*model.CreateSnapshotResponse, error)

CreateSnapshot 创建云硬盘快照

创建云硬盘快照。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CreateSnapshotInvoker added in v0.0.90

func (c *EvsClient) CreateSnapshotInvoker(request *model.CreateSnapshotRequest) *CreateSnapshotInvoker

CreateSnapshotInvoker 创建云硬盘快照

func (*EvsClient) CreateVolume

func (c *EvsClient) CreateVolume(request *model.CreateVolumeRequest) (*model.CreateVolumeResponse, error)

CreateVolume 创建云硬盘

创建按需或包周期云硬盘。 在创建包周期云硬盘的场景下: - 如果您需要查看订单可用的优惠券,请参考\"[查询订单可用优惠券](https://support.huaweicloud.com/api-oce/zh-cn_topic_0092953630.html)\"。 - 如果您需要支付订单,请参考\"[支付包周期产品订单](https://support.huaweicloud.com/api-oce/zh-cn_topic_0075746561.html)\"。 - 如果您需要查询订单的资源开通详情,请参考\"[查询订单的资源开通详情](https://support.huaweicloud.com/api-oce/api_order_00001.html)\"。 - 如果您需要退订该包周期资源,请参考“[退订包周期资源](https://support.huaweicloud.com/api-oce/zh-cn_topic_0082522030.html)”。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) CreateVolumeInvoker added in v0.0.90

func (c *EvsClient) CreateVolumeInvoker(request *model.CreateVolumeRequest) *CreateVolumeInvoker

CreateVolumeInvoker 创建云硬盘

func (*EvsClient) DeleteSnapshot

func (c *EvsClient) DeleteSnapshot(request *model.DeleteSnapshotRequest) (*model.DeleteSnapshotResponse, error)

DeleteSnapshot 删除云硬盘快照

删除云硬盘快照。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) DeleteSnapshotInvoker added in v0.0.90

func (c *EvsClient) DeleteSnapshotInvoker(request *model.DeleteSnapshotRequest) *DeleteSnapshotInvoker

DeleteSnapshotInvoker 删除云硬盘快照

func (*EvsClient) DeleteVolume

func (c *EvsClient) DeleteVolume(request *model.DeleteVolumeRequest) (*model.DeleteVolumeResponse, error)

DeleteVolume 删除云硬盘

删除一个云硬盘。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) DeleteVolumeInvoker added in v0.0.90

func (c *EvsClient) DeleteVolumeInvoker(request *model.DeleteVolumeRequest) *DeleteVolumeInvoker

DeleteVolumeInvoker 删除云硬盘

func (*EvsClient) ListSnapshots

func (c *EvsClient) ListSnapshots(request *model.ListSnapshotsRequest) (*model.ListSnapshotsResponse, error)

ListSnapshots 查询云硬盘快照详情列表

查询云硬盘快照详细列表信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ListSnapshotsInvoker added in v0.0.90

func (c *EvsClient) ListSnapshotsInvoker(request *model.ListSnapshotsRequest) *ListSnapshotsInvoker

ListSnapshotsInvoker 查询云硬盘快照详情列表

func (*EvsClient) ListVersions added in v0.1.1

func (c *EvsClient) ListVersions(request *model.ListVersionsRequest) (*model.ListVersionsResponse, error)

ListVersions 查询接口版本信息列表

查询接口版本信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ListVersionsInvoker added in v0.1.1

func (c *EvsClient) ListVersionsInvoker(request *model.ListVersionsRequest) *ListVersionsInvoker

ListVersionsInvoker 查询接口版本信息列表

func (*EvsClient) ListVolumeTags

func (c *EvsClient) ListVolumeTags(request *model.ListVolumeTagsRequest) (*model.ListVolumeTagsResponse, error)

ListVolumeTags 获取云硬盘资源的所有标签

获取某个租户的所有云硬盘资源的标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ListVolumeTagsInvoker added in v0.0.90

func (c *EvsClient) ListVolumeTagsInvoker(request *model.ListVolumeTagsRequest) *ListVolumeTagsInvoker

ListVolumeTagsInvoker 获取云硬盘资源的所有标签

func (*EvsClient) ListVolumes

func (c *EvsClient) ListVolumes(request *model.ListVolumesRequest) (*model.ListVolumesResponse, error)

ListVolumes 查询所有云硬盘详情

查询所有云硬盘的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ListVolumesByTags

func (c *EvsClient) ListVolumesByTags(request *model.ListVolumesByTagsRequest) (*model.ListVolumesByTagsResponse, error)

ListVolumesByTags 通过标签查询云硬盘资源实例详情

通过标签查询云硬盘资源实例详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ListVolumesByTagsInvoker added in v0.0.90

func (c *EvsClient) ListVolumesByTagsInvoker(request *model.ListVolumesByTagsRequest) *ListVolumesByTagsInvoker

ListVolumesByTagsInvoker 通过标签查询云硬盘资源实例详情

func (*EvsClient) ListVolumesInvoker added in v0.0.90

func (c *EvsClient) ListVolumesInvoker(request *model.ListVolumesRequest) *ListVolumesInvoker

ListVolumesInvoker 查询所有云硬盘详情

func (*EvsClient) ModifyVolumeQoS added in v0.1.59

func (c *EvsClient) ModifyVolumeQoS(request *model.ModifyVolumeQoSRequest) (*model.ModifyVolumeQoSResponse, error)

ModifyVolumeQoS 修改云硬盘QoS

调整云硬盘的iops或者吞吐量。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ModifyVolumeQoSInvoker added in v0.1.59

func (c *EvsClient) ModifyVolumeQoSInvoker(request *model.ModifyVolumeQoSRequest) *ModifyVolumeQoSInvoker

ModifyVolumeQoSInvoker 修改云硬盘QoS

func (*EvsClient) ResizeVolume

func (c *EvsClient) ResizeVolume(request *model.ResizeVolumeRequest) (*model.ResizeVolumeResponse, error)

ResizeVolume 扩容云硬盘

对按需或者包周期云硬盘进行扩容。 在扩容包周期云硬盘的场景下: - 如果您需要查看订单可用的优惠券,请参考\"[查询订单可用优惠券](https://support.huaweicloud.com/api-oce/zh-cn_topic_0092953630.html)\"。 - 如果您需要支付订单,请参考\"[支付包周期产品订单](https://support.huaweicloud.com/api-oce/zh-cn_topic_0075746561.html)\"。 - 如果您需要查询订单的资源开通详情,请参考\"[查询订单的资源开通详情](https://support.huaweicloud.com/api-oce/api_order_00001.html)\"。 - 如果您需要退订该包周期资源,请参考“[退订包周期资源](https://support.huaweicloud.com/api-oce/zh-cn_topic_0082522030.html)”。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ResizeVolumeInvoker added in v0.0.90

func (c *EvsClient) ResizeVolumeInvoker(request *model.ResizeVolumeRequest) *ResizeVolumeInvoker

ResizeVolumeInvoker 扩容云硬盘

func (*EvsClient) RollbackSnapshot

func (c *EvsClient) RollbackSnapshot(request *model.RollbackSnapshotRequest) (*model.RollbackSnapshotResponse, error)

RollbackSnapshot 回滚快照到云硬盘

将快照数据回滚到云硬盘。支持企业项目授权功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) RollbackSnapshotInvoker added in v0.0.90

func (c *EvsClient) RollbackSnapshotInvoker(request *model.RollbackSnapshotRequest) *RollbackSnapshotInvoker

RollbackSnapshotInvoker 回滚快照到云硬盘

func (*EvsClient) ShowJob

func (c *EvsClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)

ShowJob 查询job的状态

查询Job的执行状态。 可用于查询创建云硬盘,扩容云硬盘,删除云硬盘等API的执行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ShowJobInvoker added in v0.0.90

func (c *EvsClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker

ShowJobInvoker 查询job的状态

func (*EvsClient) ShowSnapshot

func (c *EvsClient) ShowSnapshot(request *model.ShowSnapshotRequest) (*model.ShowSnapshotResponse, error)

ShowSnapshot 查询单个云硬盘快照详情

查询单个云硬盘快照信息。支持企业项目授权功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ShowSnapshotInvoker added in v0.0.90

func (c *EvsClient) ShowSnapshotInvoker(request *model.ShowSnapshotRequest) *ShowSnapshotInvoker

ShowSnapshotInvoker 查询单个云硬盘快照详情

func (*EvsClient) ShowVersion added in v0.1.1

func (c *EvsClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)

ShowVersion 查询API接口的版本信息

查询接口的指定版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ShowVersionInvoker added in v0.1.1

func (c *EvsClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker

ShowVersionInvoker 查询API接口的版本信息

func (*EvsClient) ShowVolume

func (c *EvsClient) ShowVolume(request *model.ShowVolumeRequest) (*model.ShowVolumeResponse, error)

ShowVolume 查询单个云硬盘详情

查询单个云硬盘的详细信息。支持企业项目授权功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ShowVolumeInvoker added in v0.0.90

func (c *EvsClient) ShowVolumeInvoker(request *model.ShowVolumeRequest) *ShowVolumeInvoker

ShowVolumeInvoker 查询单个云硬盘详情

func (*EvsClient) ShowVolumeTags

func (c *EvsClient) ShowVolumeTags(request *model.ShowVolumeTagsRequest) (*model.ShowVolumeTagsResponse, error)

ShowVolumeTags 查询云硬盘标签

查询指定云硬盘的标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) ShowVolumeTagsInvoker added in v0.0.90

func (c *EvsClient) ShowVolumeTagsInvoker(request *model.ShowVolumeTagsRequest) *ShowVolumeTagsInvoker

ShowVolumeTagsInvoker 查询云硬盘标签

func (*EvsClient) UpdateSnapshot

func (c *EvsClient) UpdateSnapshot(request *model.UpdateSnapshotRequest) (*model.UpdateSnapshotResponse, error)

UpdateSnapshot 更新云硬盘快照

更新云硬盘快照。支持企业项目授权功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) UpdateSnapshotInvoker added in v0.0.90

func (c *EvsClient) UpdateSnapshotInvoker(request *model.UpdateSnapshotRequest) *UpdateSnapshotInvoker

UpdateSnapshotInvoker 更新云硬盘快照

func (*EvsClient) UpdateVolume

func (c *EvsClient) UpdateVolume(request *model.UpdateVolumeRequest) (*model.UpdateVolumeResponse, error)

UpdateVolume 更新云硬盘

更新一个云硬盘的名称和描述。

Please refer to HUAWEI cloud API Explorer for details.

func (*EvsClient) UpdateVolumeInvoker added in v0.0.90

func (c *EvsClient) UpdateVolumeInvoker(request *model.UpdateVolumeRequest) *UpdateVolumeInvoker

UpdateVolumeInvoker 更新云硬盘

type ListSnapshotsInvoker added in v0.0.90

type ListSnapshotsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSnapshotsInvoker) Invoke added in v0.0.90

type ListVersionsInvoker added in v0.1.1

type ListVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVersionsInvoker) Invoke added in v0.1.1

type ListVolumeTagsInvoker added in v0.0.90

type ListVolumeTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVolumeTagsInvoker) Invoke added in v0.0.90

type ListVolumesByTagsInvoker added in v0.0.90

type ListVolumesByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVolumesByTagsInvoker) Invoke added in v0.0.90

type ListVolumesInvoker added in v0.0.90

type ListVolumesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVolumesInvoker) Invoke added in v0.0.90

type ModifyVolumeQoSInvoker added in v0.1.59

type ModifyVolumeQoSInvoker struct {
	*invoker.BaseInvoker
}

func (*ModifyVolumeQoSInvoker) Invoke added in v0.1.59

type ResizeVolumeInvoker added in v0.0.90

type ResizeVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeVolumeInvoker) Invoke added in v0.0.90

type RollbackSnapshotInvoker added in v0.0.90

type RollbackSnapshotInvoker struct {
	*invoker.BaseInvoker
}

func (*RollbackSnapshotInvoker) Invoke added in v0.0.90

type ShowJobInvoker added in v0.0.90

type ShowJobInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobInvoker) Invoke added in v0.0.90

func (i *ShowJobInvoker) Invoke() (*model.ShowJobResponse, error)

type ShowSnapshotInvoker added in v0.0.90

type ShowSnapshotInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSnapshotInvoker) Invoke added in v0.0.90

type ShowVersionInvoker added in v0.1.1

type ShowVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVersionInvoker) Invoke added in v0.1.1

type ShowVolumeInvoker added in v0.0.90

type ShowVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVolumeInvoker) Invoke added in v0.0.90

type ShowVolumeTagsInvoker added in v0.0.90

type ShowVolumeTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVolumeTagsInvoker) Invoke added in v0.0.90

type UpdateSnapshotInvoker added in v0.0.90

type UpdateSnapshotInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSnapshotInvoker) Invoke added in v0.0.90

type UpdateVolumeInvoker added in v0.0.90

type UpdateVolumeInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateVolumeInvoker) 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