v2

package
v0.1.39 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddVolumes

func GenReqDefForAddVolumes() *def.HttpRequestDef

func GenReqDefForApplyWorkspace

func GenReqDefForApplyWorkspace() *def.HttpRequestDef

func GenReqDefForBatchDeleteAccessPolicies added in v0.1.15

func GenReqDefForBatchDeleteAccessPolicies() *def.HttpRequestDef

func GenReqDefForBatchDeleteDesktops

func GenReqDefForBatchDeleteDesktops() *def.HttpRequestDef

func GenReqDefForBatchDeleteOtpDevices added in v0.1.15

func GenReqDefForBatchDeleteOtpDevices() *def.HttpRequestDef

func GenReqDefForBatchRunDesktops

func GenReqDefForBatchRunDesktops() *def.HttpRequestDef

func GenReqDefForCancelWorkspace

func GenReqDefForCancelWorkspace() *def.HttpRequestDef

func GenReqDefForChangeUserStatus added in v0.1.10

func GenReqDefForChangeUserStatus() *def.HttpRequestDef

func GenReqDefForCreateAccessPolicy added in v0.1.15

func GenReqDefForCreateAccessPolicy() *def.HttpRequestDef

func GenReqDefForCreateDesktop

func GenReqDefForCreateDesktop() *def.HttpRequestDef

func GenReqDefForCreateDesktopUser

func GenReqDefForCreateDesktopUser() *def.HttpRequestDef

func GenReqDefForCreateTerminalsBindingDesktops added in v0.1.15

func GenReqDefForCreateTerminalsBindingDesktops() *def.HttpRequestDef

func GenReqDefForDeleteDesktop

func GenReqDefForDeleteDesktop() *def.HttpRequestDef

func GenReqDefForDeleteDesktopVolumes added in v0.1.15

func GenReqDefForDeleteDesktopVolumes() *def.HttpRequestDef

func GenReqDefForDeleteTerminalsBindingDesktops added in v0.1.15

func GenReqDefForDeleteTerminalsBindingDesktops() *def.HttpRequestDef

func GenReqDefForDeleteUser

func GenReqDefForDeleteUser() *def.HttpRequestDef

func GenReqDefForExpandVolumes

func GenReqDefForExpandVolumes() *def.HttpRequestDef

func GenReqDefForExportUserLoginInfoNew

func GenReqDefForExportUserLoginInfoNew() *def.HttpRequestDef

func GenReqDefForListAccessPolicies added in v0.1.15

func GenReqDefForListAccessPolicies() *def.HttpRequestDef

func GenReqDefForListAccessPolicyObjects added in v0.1.15

func GenReqDefForListAccessPolicyObjects() *def.HttpRequestDef

func GenReqDefForListAvailabilityZones

func GenReqDefForListAvailabilityZones() *def.HttpRequestDef

func GenReqDefForListDesktops

func GenReqDefForListDesktops() *def.HttpRequestDef

func GenReqDefForListDesktopsDetail

func GenReqDefForListDesktopsDetail() *def.HttpRequestDef

func GenReqDefForListHistoryOnlineInfoNew

func GenReqDefForListHistoryOnlineInfoNew() *def.HttpRequestDef

func GenReqDefForListImages

func GenReqDefForListImages() *def.HttpRequestDef

func GenReqDefForListItaSubJobs

func GenReqDefForListItaSubJobs() *def.HttpRequestDef

func GenReqDefForListLoginRecordsNew

func GenReqDefForListLoginRecordsNew() *def.HttpRequestDef

func GenReqDefForListOtpDevicesByUserId added in v0.1.15

func GenReqDefForListOtpDevicesByUserId() *def.HttpRequestDef

func GenReqDefForListProducts

func GenReqDefForListProducts() *def.HttpRequestDef

func GenReqDefForListTerminalsBindingDesktops added in v0.1.15

func GenReqDefForListTerminalsBindingDesktops() *def.HttpRequestDef

func GenReqDefForListTerminalsBindingDesktopsConfig added in v0.1.15

func GenReqDefForListTerminalsBindingDesktopsConfig() *def.HttpRequestDef

func GenReqDefForListUserDetail

func GenReqDefForListUserDetail() *def.HttpRequestDef

func GenReqDefForListUsers

func GenReqDefForListUsers() *def.HttpRequestDef

func GenReqDefForListWorkspaces

func GenReqDefForListWorkspaces() *def.HttpRequestDef

func GenReqDefForResizeDesktop

func GenReqDefForResizeDesktop() *def.HttpRequestDef

func GenReqDefForShowAssistAuthConfig added in v0.1.15

func GenReqDefForShowAssistAuthConfig() *def.HttpRequestDef

func GenReqDefForShowDesktopDetail

func GenReqDefForShowDesktopDetail() *def.HttpRequestDef

func GenReqDefForShowQuotas added in v0.1.16

func GenReqDefForShowQuotas() *def.HttpRequestDef

func GenReqDefForShowWorkspaceLock added in v0.1.15

func GenReqDefForShowWorkspaceLock() *def.HttpRequestDef

func GenReqDefForUnlockWorkspace added in v0.1.15

func GenReqDefForUnlockWorkspace() *def.HttpRequestDef

func GenReqDefForUpdateAccessPolicyObjects added in v0.1.15

func GenReqDefForUpdateAccessPolicyObjects() *def.HttpRequestDef

func GenReqDefForUpdateAssistAuthMethodConfig added in v0.1.15

func GenReqDefForUpdateAssistAuthMethodConfig() *def.HttpRequestDef

func GenReqDefForUpdateTerminalsBindingDesktops added in v0.1.15

func GenReqDefForUpdateTerminalsBindingDesktops() *def.HttpRequestDef

func GenReqDefForUpdateTerminalsBindingDesktopsConfig added in v0.1.15

func GenReqDefForUpdateTerminalsBindingDesktopsConfig() *def.HttpRequestDef

func GenReqDefForUpdateUserInfo

func GenReqDefForUpdateUserInfo() *def.HttpRequestDef

func GenReqDefForUpdateWorkspace

func GenReqDefForUpdateWorkspace() *def.HttpRequestDef

func WorkspaceClientBuilder

func WorkspaceClientBuilder() *http_client.HcHttpClientBuilder

Types

type AddVolumesInvoker

type AddVolumesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddVolumesInvoker) Invoke

type ApplyWorkspaceInvoker

type ApplyWorkspaceInvoker struct {
	*invoker.BaseInvoker
}

func (*ApplyWorkspaceInvoker) Invoke

type BatchDeleteAccessPoliciesInvoker added in v0.1.15

type BatchDeleteAccessPoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteAccessPoliciesInvoker) Invoke added in v0.1.15

type BatchDeleteDesktopsInvoker

type BatchDeleteDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteDesktopsInvoker) Invoke

type BatchDeleteOtpDevicesInvoker added in v0.1.15

type BatchDeleteOtpDevicesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteOtpDevicesInvoker) Invoke added in v0.1.15

type BatchRunDesktopsInvoker

type BatchRunDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchRunDesktopsInvoker) Invoke

type CancelWorkspaceInvoker

type CancelWorkspaceInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelWorkspaceInvoker) Invoke

type ChangeUserStatusInvoker added in v0.1.10

type ChangeUserStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeUserStatusInvoker) Invoke added in v0.1.10

type CreateAccessPolicyInvoker added in v0.1.15

type CreateAccessPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAccessPolicyInvoker) Invoke added in v0.1.15

type CreateDesktopInvoker

type CreateDesktopInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDesktopInvoker) Invoke

type CreateDesktopUserInvoker

type CreateDesktopUserInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDesktopUserInvoker) Invoke

type CreateTerminalsBindingDesktopsInvoker added in v0.1.15

type CreateTerminalsBindingDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTerminalsBindingDesktopsInvoker) Invoke added in v0.1.15

type DeleteDesktopInvoker

type DeleteDesktopInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDesktopInvoker) Invoke

type DeleteDesktopVolumesInvoker added in v0.1.15

type DeleteDesktopVolumesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDesktopVolumesInvoker) Invoke added in v0.1.15

type DeleteTerminalsBindingDesktopsInvoker added in v0.1.15

type DeleteTerminalsBindingDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTerminalsBindingDesktopsInvoker) Invoke added in v0.1.15

type DeleteUserInvoker

type DeleteUserInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteUserInvoker) Invoke

type ExpandVolumesInvoker

type ExpandVolumesInvoker struct {
	*invoker.BaseInvoker
}

func (*ExpandVolumesInvoker) Invoke

type ExportUserLoginInfoNewInvoker

type ExportUserLoginInfoNewInvoker struct {
	*invoker.BaseInvoker
}

func (*ExportUserLoginInfoNewInvoker) Invoke

type ListAccessPoliciesInvoker added in v0.1.15

type ListAccessPoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAccessPoliciesInvoker) Invoke added in v0.1.15

type ListAccessPolicyObjectsInvoker added in v0.1.15

type ListAccessPolicyObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAccessPolicyObjectsInvoker) Invoke added in v0.1.15

type ListAvailabilityZonesInvoker

type ListAvailabilityZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailabilityZonesInvoker) Invoke

type ListDesktopsDetailInvoker

type ListDesktopsDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDesktopsDetailInvoker) Invoke

type ListDesktopsInvoker

type ListDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDesktopsInvoker) Invoke

type ListHistoryOnlineInfoNewInvoker

type ListHistoryOnlineInfoNewInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHistoryOnlineInfoNewInvoker) Invoke

type ListImagesInvoker

type ListImagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListImagesInvoker) Invoke

type ListItaSubJobsInvoker

type ListItaSubJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListItaSubJobsInvoker) Invoke

type ListLoginRecordsNewInvoker

type ListLoginRecordsNewInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLoginRecordsNewInvoker) Invoke

type ListOtpDevicesByUserIdInvoker added in v0.1.15

type ListOtpDevicesByUserIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOtpDevicesByUserIdInvoker) Invoke added in v0.1.15

type ListProductsInvoker

type ListProductsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProductsInvoker) Invoke

type ListTerminalsBindingDesktopsConfigInvoker added in v0.1.15

type ListTerminalsBindingDesktopsConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTerminalsBindingDesktopsConfigInvoker) Invoke added in v0.1.15

type ListTerminalsBindingDesktopsInvoker added in v0.1.15

type ListTerminalsBindingDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTerminalsBindingDesktopsInvoker) Invoke added in v0.1.15

type ListUserDetailInvoker

type ListUserDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUserDetailInvoker) Invoke

type ListUsersInvoker

type ListUsersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsersInvoker) Invoke

type ListWorkspacesInvoker

type ListWorkspacesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkspacesInvoker) Invoke

type ResizeDesktopInvoker

type ResizeDesktopInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeDesktopInvoker) Invoke

type ShowAssistAuthConfigInvoker added in v0.1.15

type ShowAssistAuthConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssistAuthConfigInvoker) Invoke added in v0.1.15

type ShowDesktopDetailInvoker

type ShowDesktopDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDesktopDetailInvoker) Invoke

type ShowQuotasInvoker added in v0.1.16

type ShowQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQuotasInvoker) Invoke added in v0.1.16

type ShowWorkspaceLockInvoker added in v0.1.15

type ShowWorkspaceLockInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWorkspaceLockInvoker) Invoke added in v0.1.15

type UnlockWorkspaceInvoker added in v0.1.15

type UnlockWorkspaceInvoker struct {
	*invoker.BaseInvoker
}

func (*UnlockWorkspaceInvoker) Invoke added in v0.1.15

type UpdateAccessPolicyObjectsInvoker added in v0.1.15

type UpdateAccessPolicyObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAccessPolicyObjectsInvoker) Invoke added in v0.1.15

type UpdateAssistAuthMethodConfigInvoker added in v0.1.15

type UpdateAssistAuthMethodConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAssistAuthMethodConfigInvoker) Invoke added in v0.1.15

type UpdateTerminalsBindingDesktopsConfigInvoker added in v0.1.15

type UpdateTerminalsBindingDesktopsConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTerminalsBindingDesktopsConfigInvoker) Invoke added in v0.1.15

type UpdateTerminalsBindingDesktopsInvoker added in v0.1.15

type UpdateTerminalsBindingDesktopsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTerminalsBindingDesktopsInvoker) Invoke added in v0.1.15

type UpdateUserInfoInvoker

type UpdateUserInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateUserInfoInvoker) Invoke

type UpdateWorkspaceInvoker

type UpdateWorkspaceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateWorkspaceInvoker) Invoke

type WorkspaceClient

type WorkspaceClient struct {
	HcClient *http_client.HcHttpClient
}

func NewWorkspaceClient

func NewWorkspaceClient(hcClient *http_client.HcHttpClient) *WorkspaceClient

func (*WorkspaceClient) AddVolumes

AddVolumes 增加桌面磁盘

增加桌面磁盘。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) AddVolumesInvoker

func (c *WorkspaceClient) AddVolumesInvoker(request *model.AddVolumesRequest) *AddVolumesInvoker

AddVolumesInvoker 增加桌面磁盘

func (*WorkspaceClient) ApplyWorkspace

ApplyWorkspace 开通云办公服务

该接口用于开通云办公服务。

作为异步接口,调用成功说明云办公服务后台收到了开通请求,但服务是否开通成功需要通过任务查询接口(GET /v2/{project_id}/workspace-sub-jobs)查询该任务的执行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ApplyWorkspaceInvoker

func (c *WorkspaceClient) ApplyWorkspaceInvoker(request *model.ApplyWorkspaceRequest) *ApplyWorkspaceInvoker

ApplyWorkspaceInvoker 开通云办公服务

func (*WorkspaceClient) BatchDeleteAccessPolicies added in v0.1.15

BatchDeleteAccessPolicies 删除接入策略

该接口用于删除指定接入策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) BatchDeleteAccessPoliciesInvoker added in v0.1.15

func (c *WorkspaceClient) BatchDeleteAccessPoliciesInvoker(request *model.BatchDeleteAccessPoliciesRequest) *BatchDeleteAccessPoliciesInvoker

BatchDeleteAccessPoliciesInvoker 删除接入策略

func (*WorkspaceClient) BatchDeleteDesktops

BatchDeleteDesktops 批量删除桌面

批量删除桌面,删除后无法恢复。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) BatchDeleteDesktopsInvoker

func (c *WorkspaceClient) BatchDeleteDesktopsInvoker(request *model.BatchDeleteDesktopsRequest) *BatchDeleteDesktopsInvoker

BatchDeleteDesktopsInvoker 批量删除桌面

func (*WorkspaceClient) BatchDeleteOtpDevices added in v0.1.15

BatchDeleteOtpDevices 解绑OTP设备

该接口用于解绑用户的OTP设备

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) BatchDeleteOtpDevicesInvoker added in v0.1.15

func (c *WorkspaceClient) BatchDeleteOtpDevicesInvoker(request *model.BatchDeleteOtpDevicesRequest) *BatchDeleteOtpDevicesInvoker

BatchDeleteOtpDevicesInvoker 解绑OTP设备

func (*WorkspaceClient) BatchRunDesktops

BatchRunDesktops 操作桌面

批量操作桌面,用于批量开机、关机和重启。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) BatchRunDesktopsInvoker

func (c *WorkspaceClient) BatchRunDesktopsInvoker(request *model.BatchRunDesktopsRequest) *BatchRunDesktopsInvoker

BatchRunDesktopsInvoker 操作桌面

func (*WorkspaceClient) CancelWorkspace

CancelWorkspace 注销云办公服务

该接口用于注销云办公服务。注销前请确保当前用户下的云桌面已经删除,注销后无法恢复。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) CancelWorkspaceInvoker

func (c *WorkspaceClient) CancelWorkspaceInvoker(request *model.CancelWorkspaceRequest) *CancelWorkspaceInvoker

CancelWorkspaceInvoker 注销云办公服务

func (*WorkspaceClient) ChangeUserStatus added in v0.1.10

ChangeUserStatus 操作用户

该接口用于操作用户,包含三种操作:锁定、解锁和重置密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ChangeUserStatusInvoker added in v0.1.10

func (c *WorkspaceClient) ChangeUserStatusInvoker(request *model.ChangeUserStatusRequest) *ChangeUserStatusInvoker

ChangeUserStatusInvoker 操作用户

func (*WorkspaceClient) CreateAccessPolicy added in v0.1.15

CreateAccessPolicy 创建接入策略

该接口用于创建接入策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) CreateAccessPolicyInvoker added in v0.1.15

func (c *WorkspaceClient) CreateAccessPolicyInvoker(request *model.CreateAccessPolicyRequest) *CreateAccessPolicyInvoker

CreateAccessPolicyInvoker 创建接入策略

func (*WorkspaceClient) CreateDesktop

CreateDesktop 创建桌面

创建桌面,并将此桌面分配给用户,当桌面创建成功后用户可以登录使用。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) CreateDesktopInvoker

func (c *WorkspaceClient) CreateDesktopInvoker(request *model.CreateDesktopRequest) *CreateDesktopInvoker

CreateDesktopInvoker 创建桌面

func (*WorkspaceClient) CreateDesktopUser

CreateDesktopUser 创建用户

该接口用于创建桌面用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) CreateDesktopUserInvoker

func (c *WorkspaceClient) CreateDesktopUserInvoker(request *model.CreateDesktopUserRequest) *CreateDesktopUserInvoker

CreateDesktopUserInvoker 创建用户

func (*WorkspaceClient) CreateTerminalsBindingDesktops added in v0.1.15

CreateTerminalsBindingDesktops 增加终端与桌面绑定配置

增加终端与桌面绑定配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) CreateTerminalsBindingDesktopsInvoker added in v0.1.15

func (c *WorkspaceClient) CreateTerminalsBindingDesktopsInvoker(request *model.CreateTerminalsBindingDesktopsRequest) *CreateTerminalsBindingDesktopsInvoker

CreateTerminalsBindingDesktopsInvoker 增加终端与桌面绑定配置

func (*WorkspaceClient) DeleteDesktop

DeleteDesktop 删除单个桌面

删除单个桌面,删除后无法恢复。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) DeleteDesktopInvoker

func (c *WorkspaceClient) DeleteDesktopInvoker(request *model.DeleteDesktopRequest) *DeleteDesktopInvoker

DeleteDesktopInvoker 删除单个桌面

func (*WorkspaceClient) DeleteDesktopVolumes added in v0.1.15

DeleteDesktopVolumes 删除桌面数据盘

删除桌面数据盘,删除后无法恢复。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) DeleteDesktopVolumesInvoker added in v0.1.15

func (c *WorkspaceClient) DeleteDesktopVolumesInvoker(request *model.DeleteDesktopVolumesRequest) *DeleteDesktopVolumesInvoker

DeleteDesktopVolumesInvoker 删除桌面数据盘

func (*WorkspaceClient) DeleteTerminalsBindingDesktops added in v0.1.15

DeleteTerminalsBindingDesktops 删除终端与桌面绑定配置

删除终端与桌面绑定配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) DeleteTerminalsBindingDesktopsInvoker added in v0.1.15

func (c *WorkspaceClient) DeleteTerminalsBindingDesktopsInvoker(request *model.DeleteTerminalsBindingDesktopsRequest) *DeleteTerminalsBindingDesktopsInvoker

DeleteTerminalsBindingDesktopsInvoker 删除终端与桌面绑定配置

func (*WorkspaceClient) DeleteUser

DeleteUser 删除指定用户

删除指定的桌面用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) DeleteUserInvoker

func (c *WorkspaceClient) DeleteUserInvoker(request *model.DeleteUserRequest) *DeleteUserInvoker

DeleteUserInvoker 删除指定用户

func (*WorkspaceClient) ExpandVolumes

ExpandVolumes 扩容桌面磁盘

扩容桌面磁盘。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ExpandVolumesInvoker

func (c *WorkspaceClient) ExpandVolumesInvoker(request *model.ExpandVolumesRequest) *ExpandVolumesInvoker

ExpandVolumesInvoker 扩容桌面磁盘

func (*WorkspaceClient) ExportUserLoginInfoNew

ExportUserLoginInfoNew 导出连接记录

该接口用于导出连接记录。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ExportUserLoginInfoNewInvoker

func (c *WorkspaceClient) ExportUserLoginInfoNewInvoker(request *model.ExportUserLoginInfoNewRequest) *ExportUserLoginInfoNewInvoker

ExportUserLoginInfoNewInvoker 导出连接记录

func (*WorkspaceClient) ListAccessPolicies added in v0.1.15

ListAccessPolicies 查询接入策略

该接口用于查询接入策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListAccessPoliciesInvoker added in v0.1.15

func (c *WorkspaceClient) ListAccessPoliciesInvoker(request *model.ListAccessPoliciesRequest) *ListAccessPoliciesInvoker

ListAccessPoliciesInvoker 查询接入策略

func (*WorkspaceClient) ListAccessPolicyObjects added in v0.1.15

ListAccessPolicyObjects 查询指定接入策略的应用对象

该接口用于查询指定接入策略的应用对象。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListAccessPolicyObjectsInvoker added in v0.1.15

func (c *WorkspaceClient) ListAccessPolicyObjectsInvoker(request *model.ListAccessPolicyObjectsRequest) *ListAccessPolicyObjectsInvoker

ListAccessPolicyObjectsInvoker 查询指定接入策略的应用对象

func (*WorkspaceClient) ListAvailabilityZones

ListAvailabilityZones 查询可用分区列表

该接口用于查询云桌面支持的可用分区列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListAvailabilityZonesInvoker

func (c *WorkspaceClient) ListAvailabilityZonesInvoker(request *model.ListAvailabilityZonesRequest) *ListAvailabilityZonesInvoker

ListAvailabilityZonesInvoker 查询可用分区列表

func (*WorkspaceClient) ListDesktops

ListDesktops 查询桌面列表

该接口用于查询桌面虚拟机列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListDesktopsDetail

ListDesktopsDetail 查询桌面详情列表

查询桌面详情信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListDesktopsDetailInvoker

func (c *WorkspaceClient) ListDesktopsDetailInvoker(request *model.ListDesktopsDetailRequest) *ListDesktopsDetailInvoker

ListDesktopsDetailInvoker 查询桌面详情列表

func (*WorkspaceClient) ListDesktopsInvoker

func (c *WorkspaceClient) ListDesktopsInvoker(request *model.ListDesktopsRequest) *ListDesktopsInvoker

ListDesktopsInvoker 查询桌面列表

func (*WorkspaceClient) ListHistoryOnlineInfoNew

ListHistoryOnlineInfoNew 查询登录人数

该接口用于查询登录人数,注意查询参数不可全空。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListHistoryOnlineInfoNewInvoker

func (c *WorkspaceClient) ListHistoryOnlineInfoNewInvoker(request *model.ListHistoryOnlineInfoNewRequest) *ListHistoryOnlineInfoNewInvoker

ListHistoryOnlineInfoNewInvoker 查询登录人数

func (*WorkspaceClient) ListImages

ListImages 查询产品镜像列表

该接口用于查询云桌面支持的产品镜像列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListImagesInvoker

func (c *WorkspaceClient) ListImagesInvoker(request *model.ListImagesRequest) *ListImagesInvoker

ListImagesInvoker 查询产品镜像列表

func (*WorkspaceClient) ListItaSubJobs

ListItaSubJobs 子任务查询

该接口用于查询异步任务执行情况,比如查询创建桌面的执行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListItaSubJobsInvoker

func (c *WorkspaceClient) ListItaSubJobsInvoker(request *model.ListItaSubJobsRequest) *ListItaSubJobsInvoker

ListItaSubJobsInvoker 子任务查询

func (*WorkspaceClient) ListLoginRecordsNew

ListLoginRecordsNew 查询登录信息

该接口用于查询登录信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListLoginRecordsNewInvoker

func (c *WorkspaceClient) ListLoginRecordsNewInvoker(request *model.ListLoginRecordsNewRequest) *ListLoginRecordsNewInvoker

ListLoginRecordsNewInvoker 查询登录信息

func (*WorkspaceClient) ListOtpDevicesByUserId added in v0.1.15

ListOtpDevicesByUserId 查询MFA设备

该接口用于查询相应用户下面的MFA设备

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListOtpDevicesByUserIdInvoker added in v0.1.15

func (c *WorkspaceClient) ListOtpDevicesByUserIdInvoker(request *model.ListOtpDevicesByUserIdRequest) *ListOtpDevicesByUserIdInvoker

ListOtpDevicesByUserIdInvoker 查询MFA设备

func (*WorkspaceClient) ListProducts

ListProducts 查询产品套餐列表

该接口用于查询云桌面支持的产品套餐列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListProductsInvoker

func (c *WorkspaceClient) ListProductsInvoker(request *model.ListProductsRequest) *ListProductsInvoker

ListProductsInvoker 查询产品套餐列表

func (*WorkspaceClient) ListTerminalsBindingDesktops added in v0.1.15

ListTerminalsBindingDesktops 查询终端与桌面绑定配置列表

查询终端与桌面绑定配置列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListTerminalsBindingDesktopsConfig added in v0.1.15

ListTerminalsBindingDesktopsConfig 查询终端与桌面绑定的开关配置信息

查询终端与桌面绑定的开关配置信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListTerminalsBindingDesktopsConfigInvoker added in v0.1.15

func (c *WorkspaceClient) ListTerminalsBindingDesktopsConfigInvoker(request *model.ListTerminalsBindingDesktopsConfigRequest) *ListTerminalsBindingDesktopsConfigInvoker

ListTerminalsBindingDesktopsConfigInvoker 查询终端与桌面绑定的开关配置信息

func (*WorkspaceClient) ListTerminalsBindingDesktopsInvoker added in v0.1.15

func (c *WorkspaceClient) ListTerminalsBindingDesktopsInvoker(request *model.ListTerminalsBindingDesktopsRequest) *ListTerminalsBindingDesktopsInvoker

ListTerminalsBindingDesktopsInvoker 查询终端与桌面绑定配置列表

func (*WorkspaceClient) ListUserDetail

ListUserDetail 查询用户详情信息

该接口用于查询指定的桌面用户详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListUserDetailInvoker

func (c *WorkspaceClient) ListUserDetailInvoker(request *model.ListUserDetailRequest) *ListUserDetailInvoker

ListUserDetailInvoker 查询用户详情信息

func (*WorkspaceClient) ListUsers

ListUsers 查询用户列表

该接口用于查询桌面用户列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListUsersInvoker

func (c *WorkspaceClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker

ListUsersInvoker 查询用户列表

func (*WorkspaceClient) ListWorkspaces

ListWorkspaces 查询云办公服务详情

该接口用于查询云办公服务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ListWorkspacesInvoker

func (c *WorkspaceClient) ListWorkspacesInvoker(request *model.ListWorkspacesRequest) *ListWorkspacesInvoker

ListWorkspacesInvoker 查询云办公服务详情

func (*WorkspaceClient) ResizeDesktop

ResizeDesktop 变更规格

变更云桌面规格,只支持变更CPU和内存,不支持变更磁盘,不支持同规格互相变更。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ResizeDesktopInvoker

func (c *WorkspaceClient) ResizeDesktopInvoker(request *model.ResizeDesktopRequest) *ResizeDesktopInvoker

ResizeDesktopInvoker 变更规格

func (*WorkspaceClient) ShowAssistAuthConfig added in v0.1.15

ShowAssistAuthConfig 查询辅助认证配置

查询辅助认证的配置信息

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ShowAssistAuthConfigInvoker added in v0.1.15

func (c *WorkspaceClient) ShowAssistAuthConfigInvoker(request *model.ShowAssistAuthConfigRequest) *ShowAssistAuthConfigInvoker

ShowAssistAuthConfigInvoker 查询辅助认证配置

func (*WorkspaceClient) ShowDesktopDetail

ShowDesktopDetail 查询单个桌面详情

指定桌面Id查询详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ShowDesktopDetailInvoker

func (c *WorkspaceClient) ShowDesktopDetailInvoker(request *model.ShowDesktopDetailRequest) *ShowDesktopDetailInvoker

ShowDesktopDetailInvoker 查询单个桌面详情

func (*WorkspaceClient) ShowQuotas added in v0.1.16

ShowQuotas 查询租户配额

Console Framework和WKSDesktopManager调用该接口查询租户配额。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ShowQuotasInvoker added in v0.1.16

func (c *WorkspaceClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker

ShowQuotasInvoker 查询租户配额

func (*WorkspaceClient) ShowWorkspaceLock added in v0.1.15

ShowWorkspaceLock 查询云办公服务是否被锁定

查询云办公服务是否被锁定。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) ShowWorkspaceLockInvoker added in v0.1.15

func (c *WorkspaceClient) ShowWorkspaceLockInvoker(request *model.ShowWorkspaceLockRequest) *ShowWorkspaceLockInvoker

ShowWorkspaceLockInvoker 查询云办公服务是否被锁定

func (*WorkspaceClient) UnlockWorkspace added in v0.1.15

UnlockWorkspace 解除云办公服务锁定状态

该接口目前支持解除云办公服务锁定状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UnlockWorkspaceInvoker added in v0.1.15

func (c *WorkspaceClient) UnlockWorkspaceInvoker(request *model.UnlockWorkspaceRequest) *UnlockWorkspaceInvoker

UnlockWorkspaceInvoker 解除云办公服务锁定状态

func (*WorkspaceClient) UpdateAccessPolicyObjects added in v0.1.15

UpdateAccessPolicyObjects 更新指定接入策略的应用对象

该接口用于更新指定接入策略的应用对象。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateAccessPolicyObjectsInvoker added in v0.1.15

func (c *WorkspaceClient) UpdateAccessPolicyObjectsInvoker(request *model.UpdateAccessPolicyObjectsRequest) *UpdateAccessPolicyObjectsInvoker

UpdateAccessPolicyObjectsInvoker 更新指定接入策略的应用对象

func (*WorkspaceClient) UpdateAssistAuthMethodConfig added in v0.1.15

UpdateAssistAuthMethodConfig 更新辅助认证策略配置

更新辅助认证策略配置

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateAssistAuthMethodConfigInvoker added in v0.1.15

func (c *WorkspaceClient) UpdateAssistAuthMethodConfigInvoker(request *model.UpdateAssistAuthMethodConfigRequest) *UpdateAssistAuthMethodConfigInvoker

UpdateAssistAuthMethodConfigInvoker 更新辅助认证策略配置

func (*WorkspaceClient) UpdateTerminalsBindingDesktops added in v0.1.15

UpdateTerminalsBindingDesktops 修改终端与桌面绑定配置

修改终端与桌面绑定配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateTerminalsBindingDesktopsConfig added in v0.1.15

UpdateTerminalsBindingDesktopsConfig 设置终端与桌面绑定的开关配置

设置终端与桌面绑定的开关配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateTerminalsBindingDesktopsConfigInvoker added in v0.1.15

UpdateTerminalsBindingDesktopsConfigInvoker 设置终端与桌面绑定的开关配置

func (*WorkspaceClient) UpdateTerminalsBindingDesktopsInvoker added in v0.1.15

func (c *WorkspaceClient) UpdateTerminalsBindingDesktopsInvoker(request *model.UpdateTerminalsBindingDesktopsRequest) *UpdateTerminalsBindingDesktopsInvoker

UpdateTerminalsBindingDesktopsInvoker 修改终端与桌面绑定配置

func (*WorkspaceClient) UpdateUserInfo

UpdateUserInfo 修改用户信息

该接口用于修改桌面用户信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateUserInfoInvoker

func (c *WorkspaceClient) UpdateUserInfoInvoker(request *model.UpdateUserInfoRequest) *UpdateUserInfoInvoker

UpdateUserInfoInvoker 修改用户信息

func (*WorkspaceClient) UpdateWorkspace

UpdateWorkspace 修改云办公服务属性

该接口目前支持修改云办公服务属性。单次请求仅支持修改一种属性类型。

Please refer to HUAWEI cloud API Explorer for details.

func (*WorkspaceClient) UpdateWorkspaceInvoker

func (c *WorkspaceClient) UpdateWorkspaceInvoker(request *model.UpdateWorkspaceRequest) *UpdateWorkspaceInvoker

UpdateWorkspaceInvoker 修改云办公服务属性

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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