Documentation ¶
Index ¶
- func GenReqDefForAddVolumes() *def.HttpRequestDef
- func GenReqDefForApplyWorkspace() *def.HttpRequestDef
- func GenReqDefForBatchDeleteDesktops() *def.HttpRequestDef
- func GenReqDefForBatchRunDesktops() *def.HttpRequestDef
- func GenReqDefForCancelWorkspace() *def.HttpRequestDef
- func GenReqDefForChangeUserStatus() *def.HttpRequestDef
- func GenReqDefForCreateDesktop() *def.HttpRequestDef
- func GenReqDefForCreateDesktopUser() *def.HttpRequestDef
- func GenReqDefForDeleteDesktop() *def.HttpRequestDef
- func GenReqDefForDeleteUser() *def.HttpRequestDef
- func GenReqDefForExpandVolumes() *def.HttpRequestDef
- func GenReqDefForExportUserLoginInfoNew() *def.HttpRequestDef
- func GenReqDefForListAvailabilityZones() *def.HttpRequestDef
- func GenReqDefForListDesktops() *def.HttpRequestDef
- func GenReqDefForListDesktopsDetail() *def.HttpRequestDef
- func GenReqDefForListHistoryOnlineInfoNew() *def.HttpRequestDef
- func GenReqDefForListImages() *def.HttpRequestDef
- func GenReqDefForListItaSubJobs() *def.HttpRequestDef
- func GenReqDefForListLoginRecordsNew() *def.HttpRequestDef
- func GenReqDefForListProducts() *def.HttpRequestDef
- func GenReqDefForListUserDetail() *def.HttpRequestDef
- func GenReqDefForListUsers() *def.HttpRequestDef
- func GenReqDefForListWorkspaces() *def.HttpRequestDef
- func GenReqDefForResizeDesktop() *def.HttpRequestDef
- func GenReqDefForShowDesktopDetail() *def.HttpRequestDef
- func GenReqDefForUpdateUserInfo() *def.HttpRequestDef
- func GenReqDefForUpdateWorkspace() *def.HttpRequestDef
- func WorkspaceClientBuilder() *http_client.HcHttpClientBuilder
- type AddVolumesInvoker
- type ApplyWorkspaceInvoker
- type BatchDeleteDesktopsInvoker
- type BatchRunDesktopsInvoker
- type CancelWorkspaceInvoker
- type ChangeUserStatusInvoker
- type CreateDesktopInvoker
- type CreateDesktopUserInvoker
- type DeleteDesktopInvoker
- type DeleteUserInvoker
- type ExpandVolumesInvoker
- type ExportUserLoginInfoNewInvoker
- type ListAvailabilityZonesInvoker
- type ListDesktopsDetailInvoker
- type ListDesktopsInvoker
- type ListHistoryOnlineInfoNewInvoker
- type ListImagesInvoker
- type ListItaSubJobsInvoker
- type ListLoginRecordsNewInvoker
- type ListProductsInvoker
- type ListUserDetailInvoker
- type ListUsersInvoker
- type ListWorkspacesInvoker
- type ResizeDesktopInvoker
- type ShowDesktopDetailInvoker
- type UpdateUserInfoInvoker
- type UpdateWorkspaceInvoker
- type WorkspaceClient
- func (c *WorkspaceClient) AddVolumes(request *model.AddVolumesRequest) (*model.AddVolumesResponse, error)
- func (c *WorkspaceClient) AddVolumesInvoker(request *model.AddVolumesRequest) *AddVolumesInvoker
- func (c *WorkspaceClient) ApplyWorkspace(request *model.ApplyWorkspaceRequest) (*model.ApplyWorkspaceResponse, error)
- func (c *WorkspaceClient) ApplyWorkspaceInvoker(request *model.ApplyWorkspaceRequest) *ApplyWorkspaceInvoker
- func (c *WorkspaceClient) BatchDeleteDesktops(request *model.BatchDeleteDesktopsRequest) (*model.BatchDeleteDesktopsResponse, error)
- func (c *WorkspaceClient) BatchDeleteDesktopsInvoker(request *model.BatchDeleteDesktopsRequest) *BatchDeleteDesktopsInvoker
- func (c *WorkspaceClient) BatchRunDesktops(request *model.BatchRunDesktopsRequest) (*model.BatchRunDesktopsResponse, error)
- func (c *WorkspaceClient) BatchRunDesktopsInvoker(request *model.BatchRunDesktopsRequest) *BatchRunDesktopsInvoker
- func (c *WorkspaceClient) CancelWorkspace(request *model.CancelWorkspaceRequest) (*model.CancelWorkspaceResponse, error)
- func (c *WorkspaceClient) CancelWorkspaceInvoker(request *model.CancelWorkspaceRequest) *CancelWorkspaceInvoker
- func (c *WorkspaceClient) ChangeUserStatus(request *model.ChangeUserStatusRequest) (*model.ChangeUserStatusResponse, error)
- func (c *WorkspaceClient) ChangeUserStatusInvoker(request *model.ChangeUserStatusRequest) *ChangeUserStatusInvoker
- func (c *WorkspaceClient) CreateDesktop(request *model.CreateDesktopRequest) (*model.CreateDesktopResponse, error)
- func (c *WorkspaceClient) CreateDesktopInvoker(request *model.CreateDesktopRequest) *CreateDesktopInvoker
- func (c *WorkspaceClient) CreateDesktopUser(request *model.CreateDesktopUserRequest) (*model.CreateDesktopUserResponse, error)
- func (c *WorkspaceClient) CreateDesktopUserInvoker(request *model.CreateDesktopUserRequest) *CreateDesktopUserInvoker
- func (c *WorkspaceClient) DeleteDesktop(request *model.DeleteDesktopRequest) (*model.DeleteDesktopResponse, error)
- func (c *WorkspaceClient) DeleteDesktopInvoker(request *model.DeleteDesktopRequest) *DeleteDesktopInvoker
- func (c *WorkspaceClient) DeleteUser(request *model.DeleteUserRequest) (*model.DeleteUserResponse, error)
- func (c *WorkspaceClient) DeleteUserInvoker(request *model.DeleteUserRequest) *DeleteUserInvoker
- func (c *WorkspaceClient) ExpandVolumes(request *model.ExpandVolumesRequest) (*model.ExpandVolumesResponse, error)
- func (c *WorkspaceClient) ExpandVolumesInvoker(request *model.ExpandVolumesRequest) *ExpandVolumesInvoker
- func (c *WorkspaceClient) ExportUserLoginInfoNew(request *model.ExportUserLoginInfoNewRequest) (*model.ExportUserLoginInfoNewResponse, error)
- func (c *WorkspaceClient) ExportUserLoginInfoNewInvoker(request *model.ExportUserLoginInfoNewRequest) *ExportUserLoginInfoNewInvoker
- func (c *WorkspaceClient) ListAvailabilityZones(request *model.ListAvailabilityZonesRequest) (*model.ListAvailabilityZonesResponse, error)
- func (c *WorkspaceClient) ListAvailabilityZonesInvoker(request *model.ListAvailabilityZonesRequest) *ListAvailabilityZonesInvoker
- func (c *WorkspaceClient) ListDesktops(request *model.ListDesktopsRequest) (*model.ListDesktopsResponse, error)
- func (c *WorkspaceClient) ListDesktopsDetail(request *model.ListDesktopsDetailRequest) (*model.ListDesktopsDetailResponse, error)
- func (c *WorkspaceClient) ListDesktopsDetailInvoker(request *model.ListDesktopsDetailRequest) *ListDesktopsDetailInvoker
- func (c *WorkspaceClient) ListDesktopsInvoker(request *model.ListDesktopsRequest) *ListDesktopsInvoker
- func (c *WorkspaceClient) ListHistoryOnlineInfoNew(request *model.ListHistoryOnlineInfoNewRequest) (*model.ListHistoryOnlineInfoNewResponse, error)
- func (c *WorkspaceClient) ListHistoryOnlineInfoNewInvoker(request *model.ListHistoryOnlineInfoNewRequest) *ListHistoryOnlineInfoNewInvoker
- func (c *WorkspaceClient) ListImages(request *model.ListImagesRequest) (*model.ListImagesResponse, error)
- func (c *WorkspaceClient) ListImagesInvoker(request *model.ListImagesRequest) *ListImagesInvoker
- func (c *WorkspaceClient) ListItaSubJobs(request *model.ListItaSubJobsRequest) (*model.ListItaSubJobsResponse, error)
- func (c *WorkspaceClient) ListItaSubJobsInvoker(request *model.ListItaSubJobsRequest) *ListItaSubJobsInvoker
- func (c *WorkspaceClient) ListLoginRecordsNew(request *model.ListLoginRecordsNewRequest) (*model.ListLoginRecordsNewResponse, error)
- func (c *WorkspaceClient) ListLoginRecordsNewInvoker(request *model.ListLoginRecordsNewRequest) *ListLoginRecordsNewInvoker
- func (c *WorkspaceClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
- func (c *WorkspaceClient) ListProductsInvoker(request *model.ListProductsRequest) *ListProductsInvoker
- func (c *WorkspaceClient) ListUserDetail(request *model.ListUserDetailRequest) (*model.ListUserDetailResponse, error)
- func (c *WorkspaceClient) ListUserDetailInvoker(request *model.ListUserDetailRequest) *ListUserDetailInvoker
- func (c *WorkspaceClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)
- func (c *WorkspaceClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker
- func (c *WorkspaceClient) ListWorkspaces(request *model.ListWorkspacesRequest) (*model.ListWorkspacesResponse, error)
- func (c *WorkspaceClient) ListWorkspacesInvoker(request *model.ListWorkspacesRequest) *ListWorkspacesInvoker
- func (c *WorkspaceClient) ResizeDesktop(request *model.ResizeDesktopRequest) (*model.ResizeDesktopResponse, error)
- func (c *WorkspaceClient) ResizeDesktopInvoker(request *model.ResizeDesktopRequest) *ResizeDesktopInvoker
- func (c *WorkspaceClient) ShowDesktopDetail(request *model.ShowDesktopDetailRequest) (*model.ShowDesktopDetailResponse, error)
- func (c *WorkspaceClient) ShowDesktopDetailInvoker(request *model.ShowDesktopDetailRequest) *ShowDesktopDetailInvoker
- func (c *WorkspaceClient) UpdateUserInfo(request *model.UpdateUserInfoRequest) (*model.UpdateUserInfoResponse, error)
- func (c *WorkspaceClient) UpdateUserInfoInvoker(request *model.UpdateUserInfoRequest) *UpdateUserInfoInvoker
- func (c *WorkspaceClient) UpdateWorkspace(request *model.UpdateWorkspaceRequest) (*model.UpdateWorkspaceResponse, error)
- func (c *WorkspaceClient) UpdateWorkspaceInvoker(request *model.UpdateWorkspaceRequest) *UpdateWorkspaceInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAddVolumes ¶
func GenReqDefForAddVolumes() *def.HttpRequestDef
func GenReqDefForApplyWorkspace ¶
func GenReqDefForApplyWorkspace() *def.HttpRequestDef
func GenReqDefForBatchDeleteDesktops ¶
func GenReqDefForBatchDeleteDesktops() *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 GenReqDefForCreateDesktop ¶
func GenReqDefForCreateDesktop() *def.HttpRequestDef
func GenReqDefForCreateDesktopUser ¶
func GenReqDefForCreateDesktopUser() *def.HttpRequestDef
func GenReqDefForDeleteDesktop ¶
func GenReqDefForDeleteDesktop() *def.HttpRequestDef
func GenReqDefForDeleteUser ¶
func GenReqDefForDeleteUser() *def.HttpRequestDef
func GenReqDefForExpandVolumes ¶
func GenReqDefForExpandVolumes() *def.HttpRequestDef
func GenReqDefForExportUserLoginInfoNew ¶
func GenReqDefForExportUserLoginInfoNew() *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 GenReqDefForListProducts ¶
func GenReqDefForListProducts() *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 GenReqDefForShowDesktopDetail ¶
func GenReqDefForShowDesktopDetail() *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 ¶
func (i *AddVolumesInvoker) Invoke() (*model.AddVolumesResponse, error)
type ApplyWorkspaceInvoker ¶
type ApplyWorkspaceInvoker struct {
*invoker.BaseInvoker
}
func (*ApplyWorkspaceInvoker) Invoke ¶
func (i *ApplyWorkspaceInvoker) Invoke() (*model.ApplyWorkspaceResponse, error)
type BatchDeleteDesktopsInvoker ¶
type BatchDeleteDesktopsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteDesktopsInvoker) Invoke ¶
func (i *BatchDeleteDesktopsInvoker) Invoke() (*model.BatchDeleteDesktopsResponse, error)
type BatchRunDesktopsInvoker ¶
type BatchRunDesktopsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchRunDesktopsInvoker) Invoke ¶
func (i *BatchRunDesktopsInvoker) Invoke() (*model.BatchRunDesktopsResponse, error)
type CancelWorkspaceInvoker ¶
type CancelWorkspaceInvoker struct {
*invoker.BaseInvoker
}
func (*CancelWorkspaceInvoker) Invoke ¶
func (i *CancelWorkspaceInvoker) Invoke() (*model.CancelWorkspaceResponse, error)
type ChangeUserStatusInvoker ¶ added in v0.1.10
type ChangeUserStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeUserStatusInvoker) Invoke ¶ added in v0.1.10
func (i *ChangeUserStatusInvoker) Invoke() (*model.ChangeUserStatusResponse, error)
type CreateDesktopInvoker ¶
type CreateDesktopInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDesktopInvoker) Invoke ¶
func (i *CreateDesktopInvoker) Invoke() (*model.CreateDesktopResponse, error)
type CreateDesktopUserInvoker ¶
type CreateDesktopUserInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDesktopUserInvoker) Invoke ¶
func (i *CreateDesktopUserInvoker) Invoke() (*model.CreateDesktopUserResponse, error)
type DeleteDesktopInvoker ¶
type DeleteDesktopInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDesktopInvoker) Invoke ¶
func (i *DeleteDesktopInvoker) Invoke() (*model.DeleteDesktopResponse, error)
type DeleteUserInvoker ¶
type DeleteUserInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteUserInvoker) Invoke ¶
func (i *DeleteUserInvoker) Invoke() (*model.DeleteUserResponse, error)
type ExpandVolumesInvoker ¶
type ExpandVolumesInvoker struct {
*invoker.BaseInvoker
}
func (*ExpandVolumesInvoker) Invoke ¶
func (i *ExpandVolumesInvoker) Invoke() (*model.ExpandVolumesResponse, error)
type ExportUserLoginInfoNewInvoker ¶
type ExportUserLoginInfoNewInvoker struct {
*invoker.BaseInvoker
}
func (*ExportUserLoginInfoNewInvoker) Invoke ¶
func (i *ExportUserLoginInfoNewInvoker) Invoke() (*model.ExportUserLoginInfoNewResponse, error)
type ListAvailabilityZonesInvoker ¶
type ListAvailabilityZonesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAvailabilityZonesInvoker) Invoke ¶
func (i *ListAvailabilityZonesInvoker) Invoke() (*model.ListAvailabilityZonesResponse, error)
type ListDesktopsDetailInvoker ¶
type ListDesktopsDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListDesktopsDetailInvoker) Invoke ¶
func (i *ListDesktopsDetailInvoker) Invoke() (*model.ListDesktopsDetailResponse, error)
type ListDesktopsInvoker ¶
type ListDesktopsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDesktopsInvoker) Invoke ¶
func (i *ListDesktopsInvoker) Invoke() (*model.ListDesktopsResponse, error)
type ListHistoryOnlineInfoNewInvoker ¶
type ListHistoryOnlineInfoNewInvoker struct {
*invoker.BaseInvoker
}
func (*ListHistoryOnlineInfoNewInvoker) Invoke ¶
func (i *ListHistoryOnlineInfoNewInvoker) Invoke() (*model.ListHistoryOnlineInfoNewResponse, error)
type ListImagesInvoker ¶
type ListImagesInvoker struct {
*invoker.BaseInvoker
}
func (*ListImagesInvoker) Invoke ¶
func (i *ListImagesInvoker) Invoke() (*model.ListImagesResponse, error)
type ListItaSubJobsInvoker ¶
type ListItaSubJobsInvoker struct {
*invoker.BaseInvoker
}
func (*ListItaSubJobsInvoker) Invoke ¶
func (i *ListItaSubJobsInvoker) Invoke() (*model.ListItaSubJobsResponse, error)
type ListLoginRecordsNewInvoker ¶
type ListLoginRecordsNewInvoker struct {
*invoker.BaseInvoker
}
func (*ListLoginRecordsNewInvoker) Invoke ¶
func (i *ListLoginRecordsNewInvoker) Invoke() (*model.ListLoginRecordsNewResponse, error)
type ListProductsInvoker ¶
type ListProductsInvoker struct {
*invoker.BaseInvoker
}
func (*ListProductsInvoker) Invoke ¶
func (i *ListProductsInvoker) Invoke() (*model.ListProductsResponse, error)
type ListUserDetailInvoker ¶
type ListUserDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListUserDetailInvoker) Invoke ¶
func (i *ListUserDetailInvoker) Invoke() (*model.ListUserDetailResponse, error)
type ListUsersInvoker ¶
type ListUsersInvoker struct {
*invoker.BaseInvoker
}
func (*ListUsersInvoker) Invoke ¶
func (i *ListUsersInvoker) Invoke() (*model.ListUsersResponse, error)
type ListWorkspacesInvoker ¶
type ListWorkspacesInvoker struct {
*invoker.BaseInvoker
}
func (*ListWorkspacesInvoker) Invoke ¶
func (i *ListWorkspacesInvoker) Invoke() (*model.ListWorkspacesResponse, error)
type ResizeDesktopInvoker ¶
type ResizeDesktopInvoker struct {
*invoker.BaseInvoker
}
func (*ResizeDesktopInvoker) Invoke ¶
func (i *ResizeDesktopInvoker) Invoke() (*model.ResizeDesktopResponse, error)
type ShowDesktopDetailInvoker ¶
type ShowDesktopDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDesktopDetailInvoker) Invoke ¶
func (i *ShowDesktopDetailInvoker) Invoke() (*model.ShowDesktopDetailResponse, error)
type UpdateUserInfoInvoker ¶
type UpdateUserInfoInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateUserInfoInvoker) Invoke ¶
func (i *UpdateUserInfoInvoker) Invoke() (*model.UpdateUserInfoResponse, error)
type UpdateWorkspaceInvoker ¶
type UpdateWorkspaceInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateWorkspaceInvoker) Invoke ¶
func (i *UpdateWorkspaceInvoker) Invoke() (*model.UpdateWorkspaceResponse, error)
type WorkspaceClient ¶
type WorkspaceClient struct {
HcClient *http_client.HcHttpClient
}
func NewWorkspaceClient ¶
func NewWorkspaceClient(hcClient *http_client.HcHttpClient) *WorkspaceClient
func (*WorkspaceClient) AddVolumes ¶
func (c *WorkspaceClient) AddVolumes(request *model.AddVolumesRequest) (*model.AddVolumesResponse, error)
AddVolumes 增加桌面磁盘
增加桌面磁盘。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) AddVolumesInvoker ¶
func (c *WorkspaceClient) AddVolumesInvoker(request *model.AddVolumesRequest) *AddVolumesInvoker
AddVolumesInvoker 增加桌面磁盘
func (*WorkspaceClient) ApplyWorkspace ¶
func (c *WorkspaceClient) ApplyWorkspace(request *model.ApplyWorkspaceRequest) (*model.ApplyWorkspaceResponse, error)
ApplyWorkspace 开通云办公服务
该接口用于开通云办公服务。
作为异步接口,调用成功说明云办公服务后台收到了开通请求,但服务是否开通成功需要通过任务查询接口(GET /v2/{project_id}/workspace-sub-jobs)查询该任务的执行状态。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ApplyWorkspaceInvoker ¶
func (c *WorkspaceClient) ApplyWorkspaceInvoker(request *model.ApplyWorkspaceRequest) *ApplyWorkspaceInvoker
ApplyWorkspaceInvoker 开通云办公服务
func (*WorkspaceClient) BatchDeleteDesktops ¶
func (c *WorkspaceClient) BatchDeleteDesktops(request *model.BatchDeleteDesktopsRequest) (*model.BatchDeleteDesktopsResponse, error)
BatchDeleteDesktops 批量删除桌面
批量删除桌面,删除后无法恢复。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) BatchDeleteDesktopsInvoker ¶
func (c *WorkspaceClient) BatchDeleteDesktopsInvoker(request *model.BatchDeleteDesktopsRequest) *BatchDeleteDesktopsInvoker
BatchDeleteDesktopsInvoker 批量删除桌面
func (*WorkspaceClient) BatchRunDesktops ¶
func (c *WorkspaceClient) BatchRunDesktops(request *model.BatchRunDesktopsRequest) (*model.BatchRunDesktopsResponse, error)
BatchRunDesktops 操作桌面
批量操作桌面,用于批量开机、关机和重启。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) BatchRunDesktopsInvoker ¶
func (c *WorkspaceClient) BatchRunDesktopsInvoker(request *model.BatchRunDesktopsRequest) *BatchRunDesktopsInvoker
BatchRunDesktopsInvoker 操作桌面
func (*WorkspaceClient) CancelWorkspace ¶
func (c *WorkspaceClient) CancelWorkspace(request *model.CancelWorkspaceRequest) (*model.CancelWorkspaceResponse, error)
CancelWorkspace 注销云办公服务
该接口用于注销云办公服务。注销前请确保当前用户下的云桌面已经删除,注销后无法恢复。
详细说明请参考华为云API Explorer。 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
func (c *WorkspaceClient) ChangeUserStatus(request *model.ChangeUserStatusRequest) (*model.ChangeUserStatusResponse, error)
ChangeUserStatus 操作用户
该接口用于操作用户,包含三种操作:锁定、解锁和重置密码。
详细说明请参考华为云API Explorer。 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) CreateDesktop ¶
func (c *WorkspaceClient) CreateDesktop(request *model.CreateDesktopRequest) (*model.CreateDesktopResponse, error)
CreateDesktop 创建桌面
创建桌面,并将此桌面分配给用户,当桌面创建成功后用户可以登录使用。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) CreateDesktopInvoker ¶
func (c *WorkspaceClient) CreateDesktopInvoker(request *model.CreateDesktopRequest) *CreateDesktopInvoker
CreateDesktopInvoker 创建桌面
func (*WorkspaceClient) CreateDesktopUser ¶
func (c *WorkspaceClient) CreateDesktopUser(request *model.CreateDesktopUserRequest) (*model.CreateDesktopUserResponse, error)
CreateDesktopUser 创建用户
该接口用于创建桌面用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) CreateDesktopUserInvoker ¶
func (c *WorkspaceClient) CreateDesktopUserInvoker(request *model.CreateDesktopUserRequest) *CreateDesktopUserInvoker
CreateDesktopUserInvoker 创建用户
func (*WorkspaceClient) DeleteDesktop ¶
func (c *WorkspaceClient) DeleteDesktop(request *model.DeleteDesktopRequest) (*model.DeleteDesktopResponse, error)
DeleteDesktop 删除单个桌面
删除单个桌面,删除后无法恢复。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) DeleteDesktopInvoker ¶
func (c *WorkspaceClient) DeleteDesktopInvoker(request *model.DeleteDesktopRequest) *DeleteDesktopInvoker
DeleteDesktopInvoker 删除单个桌面
func (*WorkspaceClient) DeleteUser ¶
func (c *WorkspaceClient) DeleteUser(request *model.DeleteUserRequest) (*model.DeleteUserResponse, error)
DeleteUser 删除指定用户
删除指定的桌面用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) DeleteUserInvoker ¶
func (c *WorkspaceClient) DeleteUserInvoker(request *model.DeleteUserRequest) *DeleteUserInvoker
DeleteUserInvoker 删除指定用户
func (*WorkspaceClient) ExpandVolumes ¶
func (c *WorkspaceClient) ExpandVolumes(request *model.ExpandVolumesRequest) (*model.ExpandVolumesResponse, error)
ExpandVolumes 扩容桌面磁盘
扩容桌面磁盘。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ExpandVolumesInvoker ¶
func (c *WorkspaceClient) ExpandVolumesInvoker(request *model.ExpandVolumesRequest) *ExpandVolumesInvoker
ExpandVolumesInvoker 扩容桌面磁盘
func (*WorkspaceClient) ExportUserLoginInfoNew ¶
func (c *WorkspaceClient) ExportUserLoginInfoNew(request *model.ExportUserLoginInfoNewRequest) (*model.ExportUserLoginInfoNewResponse, error)
ExportUserLoginInfoNew 导出连接记录
该接口用于导出连接记录。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ExportUserLoginInfoNewInvoker ¶
func (c *WorkspaceClient) ExportUserLoginInfoNewInvoker(request *model.ExportUserLoginInfoNewRequest) *ExportUserLoginInfoNewInvoker
ExportUserLoginInfoNewInvoker 导出连接记录
func (*WorkspaceClient) ListAvailabilityZones ¶
func (c *WorkspaceClient) ListAvailabilityZones(request *model.ListAvailabilityZonesRequest) (*model.ListAvailabilityZonesResponse, error)
ListAvailabilityZones 查询可用分区列表
该接口用于查询云桌面支持的可用分区列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListAvailabilityZonesInvoker ¶
func (c *WorkspaceClient) ListAvailabilityZonesInvoker(request *model.ListAvailabilityZonesRequest) *ListAvailabilityZonesInvoker
ListAvailabilityZonesInvoker 查询可用分区列表
func (*WorkspaceClient) ListDesktops ¶
func (c *WorkspaceClient) ListDesktops(request *model.ListDesktopsRequest) (*model.ListDesktopsResponse, error)
ListDesktops 查询桌面列表
该接口用于查询桌面虚拟机列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListDesktopsDetail ¶
func (c *WorkspaceClient) ListDesktopsDetail(request *model.ListDesktopsDetailRequest) (*model.ListDesktopsDetailResponse, error)
ListDesktopsDetail 查询桌面详情列表
查询桌面详情信息列表。
详细说明请参考华为云API Explorer。 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 ¶
func (c *WorkspaceClient) ListHistoryOnlineInfoNew(request *model.ListHistoryOnlineInfoNewRequest) (*model.ListHistoryOnlineInfoNewResponse, error)
ListHistoryOnlineInfoNew 查询登录人数
该接口用于查询登录人数,注意查询参数不可全空。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListHistoryOnlineInfoNewInvoker ¶
func (c *WorkspaceClient) ListHistoryOnlineInfoNewInvoker(request *model.ListHistoryOnlineInfoNewRequest) *ListHistoryOnlineInfoNewInvoker
ListHistoryOnlineInfoNewInvoker 查询登录人数
func (*WorkspaceClient) ListImages ¶
func (c *WorkspaceClient) ListImages(request *model.ListImagesRequest) (*model.ListImagesResponse, error)
ListImages 查询产品镜像列表
该接口用于查询云桌面支持的产品镜像列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListImagesInvoker ¶
func (c *WorkspaceClient) ListImagesInvoker(request *model.ListImagesRequest) *ListImagesInvoker
ListImagesInvoker 查询产品镜像列表
func (*WorkspaceClient) ListItaSubJobs ¶
func (c *WorkspaceClient) ListItaSubJobs(request *model.ListItaSubJobsRequest) (*model.ListItaSubJobsResponse, error)
ListItaSubJobs 子任务查询
该接口用于查询异步任务执行情况,比如查询创建桌面的执行状态。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListItaSubJobsInvoker ¶
func (c *WorkspaceClient) ListItaSubJobsInvoker(request *model.ListItaSubJobsRequest) *ListItaSubJobsInvoker
ListItaSubJobsInvoker 子任务查询
func (*WorkspaceClient) ListLoginRecordsNew ¶
func (c *WorkspaceClient) ListLoginRecordsNew(request *model.ListLoginRecordsNewRequest) (*model.ListLoginRecordsNewResponse, error)
ListLoginRecordsNew 查询登录信息
该接口用于查询登录信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListLoginRecordsNewInvoker ¶
func (c *WorkspaceClient) ListLoginRecordsNewInvoker(request *model.ListLoginRecordsNewRequest) *ListLoginRecordsNewInvoker
ListLoginRecordsNewInvoker 查询登录信息
func (*WorkspaceClient) ListProducts ¶
func (c *WorkspaceClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
ListProducts 查询产品套餐列表
该接口用于查询云桌面支持的产品套餐列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListProductsInvoker ¶
func (c *WorkspaceClient) ListProductsInvoker(request *model.ListProductsRequest) *ListProductsInvoker
ListProductsInvoker 查询产品套餐列表
func (*WorkspaceClient) ListUserDetail ¶
func (c *WorkspaceClient) ListUserDetail(request *model.ListUserDetailRequest) (*model.ListUserDetailResponse, error)
ListUserDetail 查询用户详情信息
该接口用于查询指定的桌面用户详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListUserDetailInvoker ¶
func (c *WorkspaceClient) ListUserDetailInvoker(request *model.ListUserDetailRequest) *ListUserDetailInvoker
ListUserDetailInvoker 查询用户详情信息
func (*WorkspaceClient) ListUsers ¶
func (c *WorkspaceClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)
ListUsers 查询用户列表
该接口用于查询桌面用户列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListUsersInvoker ¶
func (c *WorkspaceClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker
ListUsersInvoker 查询用户列表
func (*WorkspaceClient) ListWorkspaces ¶
func (c *WorkspaceClient) ListWorkspaces(request *model.ListWorkspacesRequest) (*model.ListWorkspacesResponse, error)
ListWorkspaces 查询云办公服务详情
该接口用于查询云办公服务详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ListWorkspacesInvoker ¶
func (c *WorkspaceClient) ListWorkspacesInvoker(request *model.ListWorkspacesRequest) *ListWorkspacesInvoker
ListWorkspacesInvoker 查询云办公服务详情
func (*WorkspaceClient) ResizeDesktop ¶
func (c *WorkspaceClient) ResizeDesktop(request *model.ResizeDesktopRequest) (*model.ResizeDesktopResponse, error)
ResizeDesktop 变更规格
变更云桌面规格,只支持变更CPU和内存,不支持变更磁盘,不支持同规格互相变更。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ResizeDesktopInvoker ¶
func (c *WorkspaceClient) ResizeDesktopInvoker(request *model.ResizeDesktopRequest) *ResizeDesktopInvoker
ResizeDesktopInvoker 变更规格
func (*WorkspaceClient) ShowDesktopDetail ¶
func (c *WorkspaceClient) ShowDesktopDetail(request *model.ShowDesktopDetailRequest) (*model.ShowDesktopDetailResponse, error)
ShowDesktopDetail 查询单个桌面详情
指定桌面Id查询详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) ShowDesktopDetailInvoker ¶
func (c *WorkspaceClient) ShowDesktopDetailInvoker(request *model.ShowDesktopDetailRequest) *ShowDesktopDetailInvoker
ShowDesktopDetailInvoker 查询单个桌面详情
func (*WorkspaceClient) UpdateUserInfo ¶
func (c *WorkspaceClient) UpdateUserInfo(request *model.UpdateUserInfoRequest) (*model.UpdateUserInfoResponse, error)
UpdateUserInfo 修改用户信息
该接口用于修改桌面用户信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) UpdateUserInfoInvoker ¶
func (c *WorkspaceClient) UpdateUserInfoInvoker(request *model.UpdateUserInfoRequest) *UpdateUserInfoInvoker
UpdateUserInfoInvoker 修改用户信息
func (*WorkspaceClient) UpdateWorkspace ¶
func (c *WorkspaceClient) UpdateWorkspace(request *model.UpdateWorkspaceRequest) (*model.UpdateWorkspaceResponse, error)
UpdateWorkspace 修改云办公服务属性
该接口目前支持修改云办公服务属性。单次请求仅支持修改一种属性类型。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*WorkspaceClient) UpdateWorkspaceInvoker ¶
func (c *WorkspaceClient) UpdateWorkspaceInvoker(request *model.UpdateWorkspaceRequest) *UpdateWorkspaceInvoker
UpdateWorkspaceInvoker 修改云办公服务属性