@huaweicloud/huaweicloud-sdk-workspaceapp 3.1.161 → 3.1.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/v1/WorkspaceAppClient.d.ts +443 -82
- package/v1/WorkspaceAppClient.d.ts.map +1 -1
- package/v1/WorkspaceAppClient.js +846 -94
- package/v1/WorkspaceAppClient.js.map +1 -1
- package/v1/model/App.d.ts +9 -0
- package/v1/model/App.d.ts.map +1 -1
- package/v1/model/App.js +20 -0
- package/v1/model/App.js.map +1 -1
- package/v1/model/AppExtendedInfo.d.ts +14 -0
- package/v1/model/AppExtendedInfo.d.ts.map +1 -0
- package/v1/model/AppExtendedInfo.js +19 -0
- package/v1/model/AppExtendedInfo.js.map +1 -0
- package/v1/model/BatchDeleteCloudStorageReq.d.ts +6 -0
- package/v1/model/BatchDeleteCloudStorageReq.d.ts.map +1 -0
- package/v1/model/BatchDeleteCloudStorageReq.js +14 -0
- package/v1/model/BatchDeleteCloudStorageReq.js.map +1 -0
- package/v1/model/BatchDeleteCloudStorageRequest.d.ts +7 -0
- package/v1/model/BatchDeleteCloudStorageRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteCloudStorageRequest.js +13 -0
- package/v1/model/BatchDeleteCloudStorageRequest.js.map +1 -0
- package/v1/model/BatchDeleteCloudStorageResponse.d.ts +5 -0
- package/v1/model/BatchDeleteCloudStorageResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteCloudStorageResponse.js +11 -0
- package/v1/model/BatchDeleteCloudStorageResponse.js.map +1 -0
- package/v1/model/BindAppWarehouseBucketRequest.d.ts +7 -0
- package/v1/model/BindAppWarehouseBucketRequest.d.ts.map +1 -0
- package/v1/model/BindAppWarehouseBucketRequest.js +13 -0
- package/v1/model/BindAppWarehouseBucketRequest.js.map +1 -0
- package/v1/model/BindAppWarehouseBucketResponse.d.ts +5 -0
- package/v1/model/BindAppWarehouseBucketResponse.d.ts.map +1 -0
- package/v1/model/BindAppWarehouseBucketResponse.js +11 -0
- package/v1/model/BindAppWarehouseBucketResponse.js.map +1 -0
- package/v1/model/BucketNameReq.d.ts +8 -0
- package/v1/model/BucketNameReq.d.ts.map +1 -0
- package/v1/model/BucketNameReq.js +19 -0
- package/v1/model/BucketNameReq.js.map +1 -0
- package/v1/model/CloudStorage.d.ts +24 -0
- package/v1/model/CloudStorage.d.ts.map +1 -0
- package/v1/model/CloudStorage.js +57 -0
- package/v1/model/CloudStorage.js.map +1 -0
- package/v1/model/CloudStorageAssignment.d.ts +38 -0
- package/v1/model/CloudStorageAssignment.d.ts.map +1 -0
- package/v1/model/CloudStorageAssignment.js +93 -0
- package/v1/model/CloudStorageAssignment.js.map +1 -0
- package/v1/model/CloudStorageAssignmentCreateInfo.d.ts +37 -0
- package/v1/model/CloudStorageAssignmentCreateInfo.d.ts.map +1 -0
- package/v1/model/CloudStorageAssignmentCreateInfo.js +85 -0
- package/v1/model/CloudStorageAssignmentCreateInfo.js.map +1 -0
- package/v1/model/CloudStorageOptions.d.ts +8 -0
- package/v1/model/CloudStorageOptions.d.ts.map +1 -0
- package/v1/model/CloudStorageOptions.js +19 -0
- package/v1/model/CloudStorageOptions.js.map +1 -0
- package/v1/model/CreateCloudStorageReq.d.ts +8 -0
- package/v1/model/CreateCloudStorageReq.d.ts.map +1 -0
- package/v1/model/CreateCloudStorageReq.js +20 -0
- package/v1/model/CreateCloudStorageReq.js.map +1 -0
- package/v1/model/CreateCloudStorageRequest.d.ts +7 -0
- package/v1/model/CreateCloudStorageRequest.d.ts.map +1 -0
- package/v1/model/CreateCloudStorageRequest.js +13 -0
- package/v1/model/CreateCloudStorageRequest.js.map +1 -0
- package/v1/model/CreateCloudStorageResponse.d.ts +5 -0
- package/v1/model/CreateCloudStorageResponse.d.ts.map +1 -0
- package/v1/model/CreateCloudStorageResponse.js +11 -0
- package/v1/model/CreateCloudStorageResponse.js.map +1 -0
- package/v1/model/CreateUserAssignmentInfo.d.ts +32 -0
- package/v1/model/CreateUserAssignmentInfo.d.ts.map +1 -0
- package/v1/model/CreateUserAssignmentInfo.js +81 -0
- package/v1/model/CreateUserAssignmentInfo.js.map +1 -0
- package/v1/model/CreateUserFolderAssignmentRequest.d.ts +11 -0
- package/v1/model/CreateUserFolderAssignmentRequest.d.ts.map +1 -0
- package/v1/model/CreateUserFolderAssignmentRequest.js +24 -0
- package/v1/model/CreateUserFolderAssignmentRequest.js.map +1 -0
- package/v1/model/CreateUserFolderAssignmentResponse.d.ts +8 -0
- package/v1/model/CreateUserFolderAssignmentResponse.d.ts.map +1 -0
- package/v1/model/CreateUserFolderAssignmentResponse.js +15 -0
- package/v1/model/CreateUserFolderAssignmentResponse.js.map +1 -0
- package/v1/model/CreateUserFolderReq.d.ts +7 -0
- package/v1/model/CreateUserFolderReq.d.ts.map +1 -0
- package/v1/model/CreateUserFolderReq.js +14 -0
- package/v1/model/CreateUserFolderReq.js.map +1 -0
- package/v1/model/CreateWarehouseAppReq.d.ts +5 -0
- package/v1/model/CreateWarehouseAppReq.d.ts.map +1 -1
- package/v1/model/CreateWarehouseAppReq.js +10 -0
- package/v1/model/CreateWarehouseAppReq.js.map +1 -1
- package/v1/model/CreateWarehouseAppResponse.d.ts +5 -0
- package/v1/model/CreateWarehouseAppResponse.d.ts.map +1 -1
- package/v1/model/CreateWarehouseAppResponse.js +10 -0
- package/v1/model/CreateWarehouseAppResponse.js.map +1 -1
- package/v1/model/CustomOptions.d.ts +5 -0
- package/v1/model/CustomOptions.d.ts.map +1 -1
- package/v1/model/CustomOptions.js +10 -0
- package/v1/model/CustomOptions.js.map +1 -1
- package/v1/model/DeleteCloudStorageAttachmentReq.d.ts +6 -0
- package/v1/model/DeleteCloudStorageAttachmentReq.d.ts.map +1 -0
- package/v1/model/DeleteCloudStorageAttachmentReq.js +13 -0
- package/v1/model/DeleteCloudStorageAttachmentReq.js.map +1 -0
- package/v1/model/DeleteCloudStorageAttachmentRequest.d.ts +11 -0
- package/v1/model/DeleteCloudStorageAttachmentRequest.d.ts.map +1 -0
- package/v1/model/DeleteCloudStorageAttachmentRequest.js +24 -0
- package/v1/model/DeleteCloudStorageAttachmentRequest.js.map +1 -0
- package/v1/model/DeleteCloudStorageAttachmentResponse.d.ts +5 -0
- package/v1/model/DeleteCloudStorageAttachmentResponse.d.ts.map +1 -0
- package/v1/model/DeleteCloudStorageAttachmentResponse.js +11 -0
- package/v1/model/DeleteCloudStorageAttachmentResponse.js.map +1 -0
- package/v1/model/DeleteCloudStorageRequest.d.ts +8 -0
- package/v1/model/DeleteCloudStorageRequest.d.ts.map +1 -0
- package/v1/model/DeleteCloudStorageRequest.js +20 -0
- package/v1/model/DeleteCloudStorageRequest.js.map +1 -0
- package/v1/model/DeleteCloudStorageResponse.d.ts +5 -0
- package/v1/model/DeleteCloudStorageResponse.d.ts.map +1 -0
- package/v1/model/DeleteCloudStorageResponse.js +11 -0
- package/v1/model/DeleteCloudStorageResponse.js.map +1 -0
- package/v1/model/ListAppGroupAuthorizationRequest.d.ts +4 -0
- package/v1/model/ListAppGroupAuthorizationRequest.d.ts.map +1 -1
- package/v1/model/ListAppGroupAuthorizationRequest.js +10 -0
- package/v1/model/ListAppGroupAuthorizationRequest.js.map +1 -1
- package/v1/model/ListCloudStorageAssignmentRequest.d.ts +26 -0
- package/v1/model/ListCloudStorageAssignmentRequest.d.ts.map +1 -0
- package/v1/model/ListCloudStorageAssignmentRequest.js +63 -0
- package/v1/model/ListCloudStorageAssignmentRequest.js.map +1 -0
- package/v1/model/ListCloudStorageAssignmentResponse.d.ts +10 -0
- package/v1/model/ListCloudStorageAssignmentResponse.d.ts.map +1 -0
- package/v1/model/ListCloudStorageAssignmentResponse.js +19 -0
- package/v1/model/ListCloudStorageAssignmentResponse.js.map +1 -0
- package/v1/model/ListCloudStorageRequest.d.ts +14 -0
- package/v1/model/ListCloudStorageRequest.d.ts.map +1 -0
- package/v1/model/ListCloudStorageRequest.js +31 -0
- package/v1/model/ListCloudStorageRequest.js.map +1 -0
- package/v1/model/ListCloudStorageResponse.d.ts +10 -0
- package/v1/model/ListCloudStorageResponse.d.ts.map +1 -0
- package/v1/model/ListCloudStorageResponse.js +19 -0
- package/v1/model/ListCloudStorageResponse.js.map +1 -0
- package/v1/model/ListProjectConfigsRequest.d.ts +10 -0
- package/v1/model/ListProjectConfigsRequest.d.ts.map +1 -0
- package/v1/model/ListProjectConfigsRequest.js +21 -0
- package/v1/model/ListProjectConfigsRequest.js.map +1 -0
- package/v1/model/ListProjectConfigsResponse.d.ts +10 -0
- package/v1/model/ListProjectConfigsResponse.d.ts.map +1 -0
- package/v1/model/ListProjectConfigsResponse.js +19 -0
- package/v1/model/ListProjectConfigsResponse.js.map +1 -0
- package/v1/model/Policies.d.ts +10 -0
- package/v1/model/Policies.d.ts.map +1 -1
- package/v1/model/Policies.js +20 -0
- package/v1/model/Policies.js.map +1 -1
- package/v1/model/PoliciesCloudStorage.d.ts +11 -0
- package/v1/model/PoliciesCloudStorage.d.ts.map +1 -0
- package/v1/model/PoliciesCloudStorage.js +23 -0
- package/v1/model/PoliciesCloudStorage.js.map +1 -0
- package/v1/model/PoliciesUserProfile.d.ts +11 -0
- package/v1/model/PoliciesUserProfile.d.ts.map +1 -0
- package/v1/model/PoliciesUserProfile.js +23 -0
- package/v1/model/PoliciesUserProfile.js.map +1 -0
- package/v1/model/ProjectConfig.d.ts +24 -0
- package/v1/model/ProjectConfig.d.ts.map +1 -0
- package/v1/model/ProjectConfig.js +59 -0
- package/v1/model/ProjectConfig.js.map +1 -0
- package/v1/model/PublishApp.d.ts +5 -0
- package/v1/model/PublishApp.d.ts.map +1 -1
- package/v1/model/PublishApp.js +10 -0
- package/v1/model/PublishApp.js.map +1 -1
- package/v1/model/PublishableApp.d.ts +9 -0
- package/v1/model/PublishableApp.d.ts.map +1 -1
- package/v1/model/PublishableApp.js +20 -0
- package/v1/model/PublishableApp.js.map +1 -1
- package/v1/model/RailTransparentConfig.d.ts +12 -0
- package/v1/model/RailTransparentConfig.d.ts.map +1 -0
- package/v1/model/RailTransparentConfig.js +29 -0
- package/v1/model/RailTransparentConfig.js.map +1 -0
- package/v1/model/ServerAddressNetWork.d.ts +20 -0
- package/v1/model/ServerAddressNetWork.d.ts.map +1 -0
- package/v1/model/ServerAddressNetWork.js +47 -0
- package/v1/model/ServerAddressNetWork.js.map +1 -0
- package/v1/model/ShowAppDetailResponse.d.ts +9 -0
- package/v1/model/ShowAppDetailResponse.d.ts.map +1 -1
- package/v1/model/ShowAppDetailResponse.js +20 -0
- package/v1/model/ShowAppDetailResponse.js.map +1 -1
- package/v1/model/ShowAppWarehouseBucketRequest.d.ts +4 -0
- package/v1/model/ShowAppWarehouseBucketRequest.d.ts.map +1 -0
- package/v1/model/ShowAppWarehouseBucketRequest.js +9 -0
- package/v1/model/ShowAppWarehouseBucketRequest.js.map +1 -0
- package/v1/model/ShowAppWarehouseBucketResponse.d.ts +19 -0
- package/v1/model/ShowAppWarehouseBucketResponse.d.ts.map +1 -0
- package/v1/model/ShowAppWarehouseBucketResponse.js +45 -0
- package/v1/model/ShowAppWarehouseBucketResponse.js.map +1 -0
- package/v1/model/ShowProjectConfigRequest.d.ts +8 -0
- package/v1/model/ShowProjectConfigRequest.d.ts.map +1 -0
- package/v1/model/ShowProjectConfigRequest.js +20 -0
- package/v1/model/ShowProjectConfigRequest.js.map +1 -0
- package/v1/model/ShowProjectConfigResponse.d.ts +10 -0
- package/v1/model/ShowProjectConfigResponse.d.ts.map +1 -0
- package/v1/model/ShowProjectConfigResponse.js +21 -0
- package/v1/model/ShowProjectConfigResponse.js.map +1 -0
- package/v1/model/UpdateAppReq.d.ts +5 -0
- package/v1/model/UpdateAppReq.d.ts.map +1 -1
- package/v1/model/UpdateAppReq.js +10 -0
- package/v1/model/UpdateAppReq.js.map +1 -1
- package/v1/model/UpdateAppResponse.d.ts +9 -0
- package/v1/model/UpdateAppResponse.d.ts.map +1 -1
- package/v1/model/UpdateAppResponse.js +20 -0
- package/v1/model/UpdateAppResponse.js.map +1 -1
- package/v1/model/UpdateCloudUserFolderAssignmentRequest.d.ts +15 -0
- package/v1/model/UpdateCloudUserFolderAssignmentRequest.d.ts.map +1 -0
- package/v1/model/UpdateCloudUserFolderAssignmentRequest.js +35 -0
- package/v1/model/UpdateCloudUserFolderAssignmentRequest.js.map +1 -0
- package/v1/model/UpdateCloudUserFolderAssignmentResponse.d.ts +5 -0
- package/v1/model/UpdateCloudUserFolderAssignmentResponse.d.ts.map +1 -0
- package/v1/model/UpdateCloudUserFolderAssignmentResponse.js +11 -0
- package/v1/model/UpdateCloudUserFolderAssignmentResponse.js.map +1 -0
- package/v1/model/UpdatePreBootPolicyReq.d.ts +10 -0
- package/v1/model/UpdatePreBootPolicyReq.d.ts.map +1 -0
- package/v1/model/UpdatePreBootPolicyReq.js +25 -0
- package/v1/model/UpdatePreBootPolicyReq.js.map +1 -0
- package/v1/model/UpdatePreBootPolicyRequest.d.ts +11 -0
- package/v1/model/UpdatePreBootPolicyRequest.d.ts.map +1 -0
- package/v1/model/UpdatePreBootPolicyRequest.js +24 -0
- package/v1/model/UpdatePreBootPolicyRequest.js.map +1 -0
- package/v1/model/UpdatePreBootPolicyResponse.d.ts +5 -0
- package/v1/model/UpdatePreBootPolicyResponse.d.ts.map +1 -0
- package/v1/model/UpdatePreBootPolicyResponse.js +11 -0
- package/v1/model/UpdatePreBootPolicyResponse.js.map +1 -0
- package/v1/model/UpdateUserAssignmentInfo.d.ts +24 -0
- package/v1/model/UpdateUserAssignmentInfo.d.ts.map +1 -0
- package/v1/model/UpdateUserAssignmentInfo.js +59 -0
- package/v1/model/UpdateUserAssignmentInfo.js.map +1 -0
- package/v1/model/UpdateUserFolderReq.d.ts +9 -0
- package/v1/model/UpdateUserFolderReq.d.ts.map +1 -0
- package/v1/model/UpdateUserFolderReq.js +19 -0
- package/v1/model/UpdateUserFolderReq.js.map +1 -0
- package/v1/model/UpdateWarehouseAppReq.d.ts +5 -0
- package/v1/model/UpdateWarehouseAppReq.d.ts.map +1 -1
- package/v1/model/UpdateWarehouseAppReq.js +10 -0
- package/v1/model/UpdateWarehouseAppReq.js.map +1 -1
- package/v1/model/UploadAppIconResponse.d.ts +9 -0
- package/v1/model/UploadAppIconResponse.d.ts.map +1 -1
- package/v1/model/UploadAppIconResponse.js +20 -0
- package/v1/model/UploadAppIconResponse.js.map +1 -1
- package/v1/model/UpmOptions.d.ts +32 -0
- package/v1/model/UpmOptions.d.ts.map +1 -0
- package/v1/model/UpmOptions.js +79 -0
- package/v1/model/UpmOptions.js.map +1 -0
- package/v1/model/WarehouseApp.d.ts +5 -0
- package/v1/model/WarehouseApp.d.ts.map +1 -1
- package/v1/model/WarehouseApp.js +10 -0
- package/v1/model/WarehouseApp.js.map +1 -1
- package/v1/public-api.d.ts +46 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +46 -0
- package/v1/public-api.js.map +1 -1
package/v1/WorkspaceAppClient.js
CHANGED
|
@@ -15,6 +15,7 @@ const BatchCreateServerGroupTagsRequest_1 = require("./model/BatchCreateServerGr
|
|
|
15
15
|
const BatchDeleteAppGroupAuthorizationRequest_1 = require("./model/BatchDeleteAppGroupAuthorizationRequest");
|
|
16
16
|
const BatchDeleteAppGroupRequest_1 = require("./model/BatchDeleteAppGroupRequest");
|
|
17
17
|
const BatchDeleteAppSubJobsRequest_1 = require("./model/BatchDeleteAppSubJobsRequest");
|
|
18
|
+
const BatchDeleteCloudStorageRequest_1 = require("./model/BatchDeleteCloudStorageRequest");
|
|
18
19
|
const BatchDeleteImageServerRequest_1 = require("./model/BatchDeleteImageServerRequest");
|
|
19
20
|
const BatchDeleteImageSubJobsRequest_1 = require("./model/BatchDeleteImageSubJobsRequest");
|
|
20
21
|
const BatchDeletePersistentStorageRequest_1 = require("./model/BatchDeletePersistentStorageRequest");
|
|
@@ -32,11 +33,13 @@ const BatchStartServerRequest_1 = require("./model/BatchStartServerRequest");
|
|
|
32
33
|
const BatchStopServerRequest_1 = require("./model/BatchStopServerRequest");
|
|
33
34
|
const BatchUpdateTsviRequest_1 = require("./model/BatchUpdateTsviRequest");
|
|
34
35
|
const BatchUpgradeHdaVersionRequest_1 = require("./model/BatchUpgradeHdaVersionRequest");
|
|
36
|
+
const BindAppWarehouseBucketRequest_1 = require("./model/BindAppWarehouseBucketRequest");
|
|
35
37
|
const ChangeServerImageRequest_1 = require("./model/ChangeServerImageRequest");
|
|
36
38
|
const CheckQuotaRequest_1 = require("./model/CheckQuotaRequest");
|
|
37
39
|
const CountSubJobsRequest_1 = require("./model/CountSubJobsRequest");
|
|
38
40
|
const CreateAppGroupRequest_1 = require("./model/CreateAppGroupRequest");
|
|
39
41
|
const CreateAppServersRequest_1 = require("./model/CreateAppServersRequest");
|
|
42
|
+
const CreateCloudStorageRequest_1 = require("./model/CreateCloudStorageRequest");
|
|
40
43
|
const CreateImageServerRequest_1 = require("./model/CreateImageServerRequest");
|
|
41
44
|
const CreateOrUpdateScalingPolicyRequest_1 = require("./model/CreateOrUpdateScalingPolicyRequest");
|
|
42
45
|
const CreateOrUpdateStoragePolicyStatementRequest_1 = require("./model/CreateOrUpdateStoragePolicyStatementRequest");
|
|
@@ -48,9 +51,12 @@ const CreateScheduleTaskRequest_1 = require("./model/CreateScheduleTaskRequest")
|
|
|
48
51
|
const CreateServerGroupRequest_1 = require("./model/CreateServerGroupRequest");
|
|
49
52
|
const CreateServerGroupTagsRequest_1 = require("./model/CreateServerGroupTagsRequest");
|
|
50
53
|
const CreateShareFolderRequest_1 = require("./model/CreateShareFolderRequest");
|
|
54
|
+
const CreateUserFolderAssignmentRequest_1 = require("./model/CreateUserFolderAssignmentRequest");
|
|
51
55
|
const CreateWarehouseAppRequest_1 = require("./model/CreateWarehouseAppRequest");
|
|
52
56
|
const DeleteAppGroupRequest_1 = require("./model/DeleteAppGroupRequest");
|
|
53
57
|
const DeleteAppIconRequest_1 = require("./model/DeleteAppIconRequest");
|
|
58
|
+
const DeleteCloudStorageAttachmentRequest_1 = require("./model/DeleteCloudStorageAttachmentRequest");
|
|
59
|
+
const DeleteCloudStorageRequest_1 = require("./model/DeleteCloudStorageRequest");
|
|
54
60
|
const DeletePersistentStorageRequest_1 = require("./model/DeletePersistentStorageRequest");
|
|
55
61
|
const DeletePolicyGroupRequest_1 = require("./model/DeletePolicyGroupRequest");
|
|
56
62
|
const DeletePolicyTemplateRequest_1 = require("./model/DeletePolicyTemplateRequest");
|
|
@@ -68,6 +74,8 @@ const ListAppConnectionRequest_1 = require("./model/ListAppConnectionRequest");
|
|
|
68
74
|
const ListAppGroupAuthorizationRequest_1 = require("./model/ListAppGroupAuthorizationRequest");
|
|
69
75
|
const ListAppGroupRequest_1 = require("./model/ListAppGroupRequest");
|
|
70
76
|
const ListAuthorizationMailRecordRequest_1 = require("./model/ListAuthorizationMailRecordRequest");
|
|
77
|
+
const ListCloudStorageAssignmentRequest_1 = require("./model/ListCloudStorageAssignmentRequest");
|
|
78
|
+
const ListCloudStorageRequest_1 = require("./model/ListCloudStorageRequest");
|
|
71
79
|
const ListCorpConfigInfoRequest_1 = require("./model/ListCorpConfigInfoRequest");
|
|
72
80
|
const ListFutureExecutionsRequest_1 = require("./model/ListFutureExecutionsRequest");
|
|
73
81
|
const ListImageJobsRequest_1 = require("./model/ListImageJobsRequest");
|
|
@@ -80,6 +88,7 @@ const ListPolicyGroupRequest_1 = require("./model/ListPolicyGroupRequest");
|
|
|
80
88
|
const ListPolicyOfPolicyGroupRequest_1 = require("./model/ListPolicyOfPolicyGroupRequest");
|
|
81
89
|
const ListPolicyTemplateRequest_1 = require("./model/ListPolicyTemplateRequest");
|
|
82
90
|
const ListProductRequest_1 = require("./model/ListProductRequest");
|
|
91
|
+
const ListProjectConfigsRequest_1 = require("./model/ListProjectConfigsRequest");
|
|
83
92
|
const ListPublishedAppRequest_1 = require("./model/ListPublishedAppRequest");
|
|
84
93
|
const ListScheduleTasksRequest_1 = require("./model/ListScheduleTasksRequest");
|
|
85
94
|
const ListServerGroupsRequest_1 = require("./model/ListServerGroupsRequest");
|
|
@@ -113,6 +122,7 @@ const ShowImageServerRequest_1 = require("./model/ShowImageServerRequest");
|
|
|
113
122
|
const ShowJobDetailRequest_1 = require("./model/ShowJobDetailRequest");
|
|
114
123
|
const ShowJobRequest_1 = require("./model/ShowJobRequest");
|
|
115
124
|
const ShowPolicyGroupRequest_1 = require("./model/ShowPolicyGroupRequest");
|
|
125
|
+
const ShowProjectConfigRequest_1 = require("./model/ShowProjectConfigRequest");
|
|
116
126
|
const ShowPublishableAppRequest_1 = require("./model/ShowPublishableAppRequest");
|
|
117
127
|
const ShowScalingPolicyRequest_1 = require("./model/ShowScalingPolicyRequest");
|
|
118
128
|
const ShowScheduleTaskRequest_1 = require("./model/ShowScheduleTaskRequest");
|
|
@@ -126,9 +136,11 @@ const ShowSessionTypesRequest_1 = require("./model/ShowSessionTypesRequest");
|
|
|
126
136
|
const UnpublishAppRequest_1 = require("./model/UnpublishAppRequest");
|
|
127
137
|
const UpdateAppGroupRequest_1 = require("./model/UpdateAppGroupRequest");
|
|
128
138
|
const UpdateAppRequest_1 = require("./model/UpdateAppRequest");
|
|
139
|
+
const UpdateCloudUserFolderAssignmentRequest_1 = require("./model/UpdateCloudUserFolderAssignmentRequest");
|
|
129
140
|
const UpdateImageServerRequest_1 = require("./model/UpdateImageServerRequest");
|
|
130
141
|
const UpdatePolicyGroupRequest_1 = require("./model/UpdatePolicyGroupRequest");
|
|
131
142
|
const UpdatePolicyTemplateRequest_1 = require("./model/UpdatePolicyTemplateRequest");
|
|
143
|
+
const UpdatePreBootPolicyRequest_1 = require("./model/UpdatePreBootPolicyRequest");
|
|
132
144
|
const UpdateScheduleTaskRequest_1 = require("./model/UpdateScheduleTaskRequest");
|
|
133
145
|
const UpdateServerGroupRequest_1 = require("./model/UpdateServerGroupRequest");
|
|
134
146
|
const UpdateServerRequest_1 = require("./model/UpdateServerRequest");
|
|
@@ -180,6 +192,22 @@ class WorkspaceAppClient {
|
|
|
180
192
|
options['responseHeaders'] = [''];
|
|
181
193
|
return this.hcClient.sendRequest(options);
|
|
182
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* 添加用户应用仓库桶及桶授权。
|
|
197
|
+
*
|
|
198
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
199
|
+
*
|
|
200
|
+
* @summary 添加用户应用仓库桶及桶授权
|
|
201
|
+
* @param {BucketNameReq} [bindAppWarehouseBucketRequestBody] 桶名称结构体。
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
bindAppWarehouseBucket(bindAppWarehouseBucketRequest) {
|
|
206
|
+
const options = (0, exports.ParamCreater)().bindAppWarehouseBucket(bindAppWarehouseBucketRequest);
|
|
207
|
+
// @ts-ignore
|
|
208
|
+
options['responseHeaders'] = [''];
|
|
209
|
+
return this.hcClient.sendRequest(options);
|
|
210
|
+
}
|
|
183
211
|
/**
|
|
184
212
|
* 添加桶或者桶授权。
|
|
185
213
|
*
|
|
@@ -233,8 +261,8 @@ class WorkspaceAppClient {
|
|
|
233
261
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
234
262
|
*
|
|
235
263
|
* @summary 查询租户应用仓库中的应用列表
|
|
236
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
237
|
-
* @param {number} [offset]
|
|
264
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
265
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
238
266
|
* @param {string} [verifyStatus] 审核状态。
|
|
239
267
|
* @param {string} [appId] 应用仓库中的应用记录ID。
|
|
240
268
|
* @param {string} [appName] 应用名称。
|
|
@@ -249,7 +277,22 @@ class WorkspaceAppClient {
|
|
|
249
277
|
return this.hcClient.sendRequest(options);
|
|
250
278
|
}
|
|
251
279
|
/**
|
|
252
|
-
*
|
|
280
|
+
* 查询用户应用仓库桶
|
|
281
|
+
*
|
|
282
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
283
|
+
*
|
|
284
|
+
* @summary 查询用户应用仓库桶
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
showAppWarehouseBucket(showAppWarehouseBucketRequest) {
|
|
289
|
+
const options = (0, exports.ParamCreater)().showAppWarehouseBucket();
|
|
290
|
+
// @ts-ignore
|
|
291
|
+
options['responseHeaders'] = [''];
|
|
292
|
+
return this.hcClient.sendRequest(options);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* 修改应用仓库中的指定应用信息。
|
|
253
296
|
*
|
|
254
297
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
255
298
|
*
|
|
@@ -288,7 +331,7 @@ class WorkspaceAppClient {
|
|
|
288
331
|
*
|
|
289
332
|
* @summary 批量禁用应用
|
|
290
333
|
* @param {string} appGroupId 应用组ID。
|
|
291
|
-
* @param {BatchUpdateAppReq} batchDisableAppRequestBody update published app request body
|
|
334
|
+
* @param {BatchUpdateAppReq} batchDisableAppRequestBody update published app request body。
|
|
292
335
|
* @param {*} [options] Override http request option.
|
|
293
336
|
* @throws {RequiredError}
|
|
294
337
|
*/
|
|
@@ -305,7 +348,7 @@ class WorkspaceAppClient {
|
|
|
305
348
|
*
|
|
306
349
|
* @summary 批量启用应用
|
|
307
350
|
* @param {string} appGroupId 应用组ID。
|
|
308
|
-
* @param {BatchUpdateAppReq} batchEnableAppRequestBody update published app request body
|
|
351
|
+
* @param {BatchUpdateAppReq} batchEnableAppRequestBody update published app request body。
|
|
309
352
|
* @param {*} [options] Override http request option.
|
|
310
353
|
* @throws {RequiredError}
|
|
311
354
|
*/
|
|
@@ -339,8 +382,8 @@ class WorkspaceAppClient {
|
|
|
339
382
|
*
|
|
340
383
|
* @summary 查询已发布应用
|
|
341
384
|
* @param {string} appGroupId 应用组ID。
|
|
342
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
343
|
-
* @param {number} [offset]
|
|
385
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
386
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
344
387
|
* @param {string} [name] 应用名称。
|
|
345
388
|
* @param {string} [state] 应用状态: * `NORMAL` - 正常状态。 * `FORBIDDEN` - 禁用状态。
|
|
346
389
|
* @param {string} [appId] 应用ID。
|
|
@@ -411,7 +454,7 @@ class WorkspaceAppClient {
|
|
|
411
454
|
*
|
|
412
455
|
* @summary 批量取消应用发布
|
|
413
456
|
* @param {string} appGroupId 应用组ID。
|
|
414
|
-
* @param {UnpublishAppReq} unpublishAppRequestBody delete published app request
|
|
457
|
+
* @param {UnpublishAppReq} unpublishAppRequestBody delete published app request。
|
|
415
458
|
* @param {*} [options] Override http request option.
|
|
416
459
|
* @throws {RequiredError}
|
|
417
460
|
*/
|
|
@@ -439,6 +482,23 @@ class WorkspaceAppClient {
|
|
|
439
482
|
options['responseHeaders'] = [''];
|
|
440
483
|
return this.hcClient.sendRequest(options);
|
|
441
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* 批量设置应用预启动。
|
|
487
|
+
*
|
|
488
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
489
|
+
*
|
|
490
|
+
* @summary 批量设置应用预启动
|
|
491
|
+
* @param {string} appGroupId 应用组ID。
|
|
492
|
+
* @param {UpdatePreBootPolicyReq} updatePreBootPolicyRequestBody 批量设置应用预启动请求体。
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
*/
|
|
496
|
+
updatePreBootPolicy(updatePreBootPolicyRequest) {
|
|
497
|
+
const options = (0, exports.ParamCreater)().updatePreBootPolicy(updatePreBootPolicyRequest);
|
|
498
|
+
// @ts-ignore
|
|
499
|
+
options['responseHeaders'] = [''];
|
|
500
|
+
return this.hcClient.sendRequest(options);
|
|
501
|
+
}
|
|
442
502
|
/**
|
|
443
503
|
* 修改自定义应用图标。
|
|
444
504
|
*
|
|
@@ -575,11 +635,11 @@ class WorkspaceAppClient {
|
|
|
575
635
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
576
636
|
*
|
|
577
637
|
* @summary 查询应用组
|
|
578
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
579
|
-
* @param {number} [offset]
|
|
638
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
639
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
580
640
|
* @param {string} [appServerGroupId] 应用服务器组ID。
|
|
581
641
|
* @param {string} [appGroupId] 应用组ID。
|
|
582
|
-
* @param {string} [name]
|
|
642
|
+
* @param {string} [name] 应用组名称。
|
|
583
643
|
* @param {string} [authorizationType] 授权类型: * `APP` - 应用 * `APP_GROUP` - 应用组
|
|
584
644
|
* @param {string} [appType] 应用组类型: * `SESSION_DESKTOP_APP` - 会话桌面app * `COMMON_APP` - 普通app
|
|
585
645
|
* @param {*} [options] Override http request option.
|
|
@@ -678,11 +738,11 @@ class WorkspaceAppClient {
|
|
|
678
738
|
return this.hcClient.sendRequest(options);
|
|
679
739
|
}
|
|
680
740
|
/**
|
|
681
|
-
*
|
|
741
|
+
* 该接口用于查询会话套餐列表。
|
|
682
742
|
*
|
|
683
743
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
684
744
|
*
|
|
685
|
-
* @summary
|
|
745
|
+
* @summary 查询会话套餐列表(已废弃)
|
|
686
746
|
* @param {QuerySessionTypesReq} showSessionTypesRequestBody 查询会话套餐请求结构体。
|
|
687
747
|
* @param {*} [options] Override http request option.
|
|
688
748
|
* @throws {RequiredError}
|
|
@@ -733,9 +793,10 @@ class WorkspaceAppClient {
|
|
|
733
793
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
734
794
|
*
|
|
735
795
|
* @summary 查询应用组授权记录
|
|
736
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
737
|
-
* @param {number} [offset]
|
|
796
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
797
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
738
798
|
* @param {string} [appGroupId] 应用组ID。
|
|
799
|
+
* @param {string} [accountId] 应用授权的用户(组)ID,精确查询。
|
|
739
800
|
* @param {string} [account] 应用授权的用户(组)名称,精确查询。
|
|
740
801
|
* @param {string} [accountType] 应用授权的用户(组)类型: * \'USER\' - 用户 * \'USER_GROUP\' - 用户组
|
|
741
802
|
* @param {*} [options] Override http request option.
|
|
@@ -767,7 +828,7 @@ class WorkspaceAppClient {
|
|
|
767
828
|
*
|
|
768
829
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
769
830
|
*
|
|
770
|
-
* @summary
|
|
831
|
+
* @summary 查询可用分区列表(按站点分类)
|
|
771
832
|
* @param {*} [options] Override http request option.
|
|
772
833
|
* @throws {RequiredError}
|
|
773
834
|
*/
|
|
@@ -777,6 +838,181 @@ class WorkspaceAppClient {
|
|
|
777
838
|
options['responseHeaders'] = [''];
|
|
778
839
|
return this.hcClient.sendRequest(options);
|
|
779
840
|
}
|
|
841
|
+
/**
|
|
842
|
+
* 批量删除云存储。
|
|
843
|
+
*
|
|
844
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
845
|
+
*
|
|
846
|
+
* @summary 批量删除云存储
|
|
847
|
+
* @param {BatchDeleteCloudStorageReq} batchDeleteCloudStorageRequestBody 删除文件夹请求体。
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
*/
|
|
851
|
+
batchDeleteCloudStorage(batchDeleteCloudStorageRequest) {
|
|
852
|
+
const options = (0, exports.ParamCreater)().batchDeleteCloudStorage(batchDeleteCloudStorageRequest);
|
|
853
|
+
// @ts-ignore
|
|
854
|
+
options['responseHeaders'] = [''];
|
|
855
|
+
return this.hcClient.sendRequest(options);
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* 创建项目配置关联,目前仅支持关联项目配置。
|
|
859
|
+
*
|
|
860
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
861
|
+
*
|
|
862
|
+
* @summary 创建项目配置关联
|
|
863
|
+
* @param {CreateCloudStorageReq} createCloudStorageRequestBody WKS存储。
|
|
864
|
+
* @param {*} [options] Override http request option.
|
|
865
|
+
* @throws {RequiredError}
|
|
866
|
+
*/
|
|
867
|
+
createCloudStorage(createCloudStorageRequest) {
|
|
868
|
+
const options = (0, exports.ParamCreater)().createCloudStorage(createCloudStorageRequest);
|
|
869
|
+
// @ts-ignore
|
|
870
|
+
options['responseHeaders'] = [''];
|
|
871
|
+
return this.hcClient.sendRequest(options);
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* 创建个人文件夹,已存在对应目录时,仅更新策略不会重复创建目录。
|
|
875
|
+
*
|
|
876
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
877
|
+
*
|
|
878
|
+
* @summary 创建个人文件夹
|
|
879
|
+
* @param {string} storageId WKS存储ID。
|
|
880
|
+
* @param {CreateUserFolderReq} createUserFolderAssignmentRequestBody 创建并设置个人目录关联对象。
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
createUserFolderAssignment(createUserFolderAssignmentRequest) {
|
|
885
|
+
const options = (0, exports.ParamCreater)().createUserFolderAssignment(createUserFolderAssignmentRequest);
|
|
886
|
+
// @ts-ignore
|
|
887
|
+
options['responseHeaders'] = [''];
|
|
888
|
+
return this.hcClient.sendRequest(options);
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* 删除共享存储,只会解除NAS与项目配置之间的关联关系。
|
|
892
|
+
*
|
|
893
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
894
|
+
*
|
|
895
|
+
* @summary 删除云存储
|
|
896
|
+
* @param {string} storageId WKS存储ID。
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
*/
|
|
900
|
+
deleteCloudStorage(deleteCloudStorageRequest) {
|
|
901
|
+
const options = (0, exports.ParamCreater)().deleteCloudStorage(deleteCloudStorageRequest);
|
|
902
|
+
// @ts-ignore
|
|
903
|
+
options['responseHeaders'] = [''];
|
|
904
|
+
return this.hcClient.sendRequest(options);
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* 删除个人存储目录,个人目录中的数据也将永久删除且无法恢复。
|
|
908
|
+
*
|
|
909
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
910
|
+
*
|
|
911
|
+
* @summary 删除个人文件夹
|
|
912
|
+
* @param {string} storageId WKS存储ID。
|
|
913
|
+
* @param {DeleteCloudStorageAttachmentReq} deleteCloudStorageAttachmentRequestBody 删除个人存储。
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
deleteCloudStorageAttachment(deleteCloudStorageAttachmentRequest) {
|
|
918
|
+
const options = (0, exports.ParamCreater)().deleteCloudStorageAttachment(deleteCloudStorageAttachmentRequest);
|
|
919
|
+
// @ts-ignore
|
|
920
|
+
options['responseHeaders'] = [''];
|
|
921
|
+
return this.hcClient.sendRequest(options);
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* 查询云存储。
|
|
925
|
+
*
|
|
926
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
927
|
+
*
|
|
928
|
+
* @summary 查询云存储
|
|
929
|
+
* @param {number} [offset] 查询的偏移量。
|
|
930
|
+
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
931
|
+
* @param {string} [storageId] 云存储id。
|
|
932
|
+
* @param {string} [name] 查询名称,模糊匹配。
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
listCloudStorage(listCloudStorageRequest) {
|
|
937
|
+
const options = (0, exports.ParamCreater)().listCloudStorage(listCloudStorageRequest);
|
|
938
|
+
// @ts-ignore
|
|
939
|
+
options['responseHeaders'] = [''];
|
|
940
|
+
return this.hcClient.sendRequest(options);
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* 查询个人文件夹列表。
|
|
944
|
+
*
|
|
945
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
946
|
+
*
|
|
947
|
+
* @summary 查询个人文件夹列表
|
|
948
|
+
* @param {string} storageId WKS存储ID。
|
|
949
|
+
* @param {string} claimMode 存储声明的类型,目前只支持USER,后面可以拓展。 * `USER` - 个人文件夹 * `SHARE` - 共享文件夹
|
|
950
|
+
* @param {number} [offset] 查询的偏移量。
|
|
951
|
+
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
952
|
+
* @param {string} [attach] 被分配的个体或组的名称,当传attach_names时,本字段不生效。
|
|
953
|
+
* @param {Array<string>} [attachNames] 被分配的个体或组的名称。
|
|
954
|
+
* @param {string} [capacityFilter] 是否查询容量过滤: - true : 是。 - false: 否。
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
*/
|
|
958
|
+
listCloudStorageAssignment(listCloudStorageAssignmentRequest) {
|
|
959
|
+
const options = (0, exports.ParamCreater)().listCloudStorageAssignment(listCloudStorageAssignmentRequest);
|
|
960
|
+
// @ts-ignore
|
|
961
|
+
options['responseHeaders'] = [''];
|
|
962
|
+
return this.hcClient.sendRequest(options);
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* 查询项目配置列表。
|
|
966
|
+
*
|
|
967
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
968
|
+
*
|
|
969
|
+
* @summary 查询项目配置列表
|
|
970
|
+
* @param {number} [offset] 查询的偏移量。
|
|
971
|
+
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
972
|
+
* @param {string} [name] 查询名称,模糊匹配。
|
|
973
|
+
* @param {*} [options] Override http request option.
|
|
974
|
+
* @throws {RequiredError}
|
|
975
|
+
*/
|
|
976
|
+
listProjectConfigs(listProjectConfigsRequest) {
|
|
977
|
+
const options = (0, exports.ParamCreater)().listProjectConfigs(listProjectConfigsRequest);
|
|
978
|
+
// @ts-ignore
|
|
979
|
+
options['responseHeaders'] = [''];
|
|
980
|
+
return this.hcClient.sendRequest(options);
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* 查询项目配置信息。
|
|
984
|
+
*
|
|
985
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
986
|
+
*
|
|
987
|
+
* @summary 查询项目配置信息
|
|
988
|
+
* @param {string} cloudStorageId 云存储ID。
|
|
989
|
+
* @param {*} [options] Override http request option.
|
|
990
|
+
* @throws {RequiredError}
|
|
991
|
+
*/
|
|
992
|
+
showProjectConfig(showProjectConfigRequest) {
|
|
993
|
+
const options = (0, exports.ParamCreater)().showProjectConfig(showProjectConfigRequest);
|
|
994
|
+
// @ts-ignore
|
|
995
|
+
options['responseHeaders'] = [''];
|
|
996
|
+
return this.hcClient.sendRequest(options);
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* 创建个人文件夹。
|
|
1000
|
+
*
|
|
1001
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1002
|
+
*
|
|
1003
|
+
* @summary 修改个人文件夹
|
|
1004
|
+
* @param {string} storageId WKS存储ID。
|
|
1005
|
+
* @param {string} cloudAssignmentId 文件夹id。
|
|
1006
|
+
* @param {UpdateUserFolderReq} updateCloudUserFolderAssignmentRequestBody 修改个人文件夹。
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
*/
|
|
1010
|
+
updateCloudUserFolderAssignment(updateCloudUserFolderAssignmentRequest) {
|
|
1011
|
+
const options = (0, exports.ParamCreater)().updateCloudUserFolderAssignment(updateCloudUserFolderAssignmentRequest);
|
|
1012
|
+
// @ts-ignore
|
|
1013
|
+
options['responseHeaders'] = [''];
|
|
1014
|
+
return this.hcClient.sendRequest(options);
|
|
1015
|
+
}
|
|
780
1016
|
/**
|
|
781
1017
|
* 分发应用软件信息至镜像实例,管理员可以按需下载并安装应用软件。
|
|
782
1018
|
* * 目前只支持来自云应用仓库的软件信息。
|
|
@@ -838,8 +1074,8 @@ class WorkspaceAppClient {
|
|
|
838
1074
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
839
1075
|
*
|
|
840
1076
|
* @summary 查询镜像实例列表
|
|
841
|
-
* @param {number} [offset]
|
|
842
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1077
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1078
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
843
1079
|
* @param {string} [serverName] 镜像实例名称,支持部分匹配。
|
|
844
1080
|
* @param {string} [serverId] 镜像实例唯一标识。
|
|
845
1081
|
* @param {string} [enterpriseProjectId] 企业项目ID(字段为空或者0表示使用默认default企业项目)。
|
|
@@ -887,7 +1123,7 @@ class WorkspaceAppClient {
|
|
|
887
1123
|
return this.hcClient.sendRequest(options);
|
|
888
1124
|
}
|
|
889
1125
|
/**
|
|
890
|
-
* 查询指定的镜像实例当前这个接口的查询数据和list
|
|
1126
|
+
* 查询指定的镜像实例当前这个接口的查询数据和list查询的一致。
|
|
891
1127
|
*
|
|
892
1128
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
893
1129
|
*
|
|
@@ -945,7 +1181,7 @@ class WorkspaceAppClient {
|
|
|
945
1181
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
946
1182
|
*
|
|
947
1183
|
* @summary 批量删除镜像子任务
|
|
948
|
-
* @param {BatchDeleteSubJobsReq} batchDeleteImageSubJobsRequestBody
|
|
1184
|
+
* @param {BatchDeleteSubJobsReq} batchDeleteImageSubJobsRequestBody 批量删除子任务请求内容。
|
|
949
1185
|
* @param {*} [options] Override http request option.
|
|
950
1186
|
* @throws {RequiredError}
|
|
951
1187
|
*/
|
|
@@ -974,15 +1210,15 @@ class WorkspaceAppClient {
|
|
|
974
1210
|
return this.hcClient.sendRequest(options);
|
|
975
1211
|
}
|
|
976
1212
|
/**
|
|
977
|
-
*
|
|
1213
|
+
* 该接口用于查询租户的异步任务执行情况。
|
|
978
1214
|
*
|
|
979
1215
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
980
1216
|
*
|
|
981
1217
|
* @summary 查询租户的镜像任务列表
|
|
982
1218
|
* @param {string} jobType job类型: * `CREATE_SERVER` - 创建镜像实例 * `CREATE_SERVER_IMAGE` - 构建镜像 * `DELETE_SERVER` - 删除镜像实例
|
|
983
1219
|
* @param {string} [status] job状态: * `WAITING` - 等待 * `RUNNING` - 运行中 * `SUCCESS` - 完成 * `FAILED` - 失败
|
|
984
|
-
* @param {number} [offset]
|
|
985
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1220
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1221
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
986
1222
|
* @param {*} [options] Override http request option.
|
|
987
1223
|
* @throws {RequiredError}
|
|
988
1224
|
*/
|
|
@@ -993,15 +1229,15 @@ class WorkspaceAppClient {
|
|
|
993
1229
|
return this.hcClient.sendRequest(options);
|
|
994
1230
|
}
|
|
995
1231
|
/**
|
|
996
|
-
* 该接口用于查询异步子任务执行情况,sub_job_ids非空时offset和limit
|
|
1232
|
+
* 该接口用于查询异步子任务执行情况,sub_job_ids非空时offset和limit不会生效。
|
|
997
1233
|
*
|
|
998
1234
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
999
1235
|
*
|
|
1000
1236
|
* @summary 镜像子任务查询
|
|
1001
1237
|
* @param {string} jobType job类型: * `CREATE_SERVER` - 创建镜像实例 * `CREATE_SERVER_IMAGE` - 构建镜像 * `DELETE_SERVER` - 删除镜像实例
|
|
1002
1238
|
* @param {string} [status] job详情的状态: * `WAITING` - 等待 * `RUNNING` - 运行中 * `SUCCESS` - 成功 * `FAILED` - 失败 * `ABNORMAL` - 异常 * `ROLLBACK` - 回滚中 * `ABORTING` - 取消
|
|
1003
|
-
* @param {number} [offset]
|
|
1004
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1239
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1240
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
1005
1241
|
* @param {string} [jobId] 任务ID。
|
|
1006
1242
|
* @param {*} [options] Override http request option.
|
|
1007
1243
|
* @throws {RequiredError}
|
|
@@ -1020,8 +1256,8 @@ class WorkspaceAppClient {
|
|
|
1020
1256
|
* @summary 子任务查询
|
|
1021
1257
|
* @param {string} jobType job类型 * `CREATE_SERVER` - 创建服务器 * `DELETE_SERVER` - 删除服务器 * `REJOIN_DOMAIN` - 服务器重新加域 * `CHANGE_SERVER_IMAGE` - 修改服务器镜像 * `REINSTALL_OS` - 服务器重装操作系统 * `MIGRATE_SERVER` - 迁移服务器 * `UPDATE_SERVER_TSVI` - 更新虚拟IP配置 * `UPGRADE_ACCESS_AGENT` - hda升级 * `SCHEDULED_TASK` - 定时任务 * `UPDATE_FREEZE_STATUS` - 更新服务器冻结状态
|
|
1022
1258
|
* @param {string} [status] job详情的状态: * `WAITING` - 等待 * `RUNNING` - 运行中 * `SUCCESS` - 成功 * `FAILED` - 失败 * `ABNORMAL` - 异常 * `ROLLBACK` - 回滚中 * `ABORTING` - 取消
|
|
1023
|
-
* @param {number} [offset]
|
|
1024
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1259
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1260
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
1025
1261
|
* @param {string} [jobId] 任务ID。
|
|
1026
1262
|
* @param {*} [options] Override http request option.
|
|
1027
1263
|
* @throws {RequiredError}
|
|
@@ -1055,7 +1291,7 @@ class WorkspaceAppClient {
|
|
|
1055
1291
|
*
|
|
1056
1292
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1057
1293
|
*
|
|
1058
|
-
* @summary
|
|
1294
|
+
* @summary 查询任务的执行状态(已废弃)
|
|
1059
1295
|
* @param {string} jobId 任务ID。
|
|
1060
1296
|
* @param {*} [options] Override http request option.
|
|
1061
1297
|
* @throws {RequiredError}
|
|
@@ -1073,7 +1309,7 @@ class WorkspaceAppClient {
|
|
|
1073
1309
|
*
|
|
1074
1310
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1075
1311
|
*
|
|
1076
|
-
* @summary
|
|
1312
|
+
* @summary 查询任务的执行状态详情
|
|
1077
1313
|
* @param {string} jobId 任务ID。
|
|
1078
1314
|
* @param {*} [options] Override http request option.
|
|
1079
1315
|
* @throws {RequiredError}
|
|
@@ -1091,10 +1327,10 @@ class WorkspaceAppClient {
|
|
|
1091
1327
|
*
|
|
1092
1328
|
* @summary 查询应用组授权邮件发送记录
|
|
1093
1329
|
* @param {string} appGroupId 应用组ID。
|
|
1094
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
1095
|
-
* @param {number} [offset]
|
|
1330
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
1331
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1096
1332
|
* @param {string} [account] 用户(组)名称。
|
|
1097
|
-
* @param {string} [mailSendType] 授权类型: - ADD_GROUP_AUTHORIZATION 添加组授权 - DEL_GROUP_AUTHORIZATION
|
|
1333
|
+
* @param {string} [mailSendType] 授权类型: - ADD_GROUP_AUTHORIZATION 添加组授权 - DEL_GROUP_AUTHORIZATION 删除组授权。
|
|
1098
1334
|
* @param {string} [mailSendResult] 邮件发送结果(SUCCESS|FAIL)。
|
|
1099
1335
|
* @param {*} [options] Override http request option.
|
|
1100
1336
|
* @throws {RequiredError}
|
|
@@ -1140,12 +1376,12 @@ class WorkspaceAppClient {
|
|
|
1140
1376
|
return this.hcClient.sendRequest(options);
|
|
1141
1377
|
}
|
|
1142
1378
|
/**
|
|
1143
|
-
*
|
|
1379
|
+
* 批量删除WKS存储。
|
|
1144
1380
|
*
|
|
1145
1381
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1146
1382
|
*
|
|
1147
|
-
* @summary
|
|
1148
|
-
* @param {BatchDeletePersistentStorageReq} batchDeletePersistentStorageRequestBody
|
|
1383
|
+
* @summary 批量删除WKS存储
|
|
1384
|
+
* @param {BatchDeletePersistentStorageReq} batchDeletePersistentStorageRequestBody 批量删除WKS存储请求体。
|
|
1149
1385
|
* @param {*} [options] Override http request option.
|
|
1150
1386
|
* @throws {RequiredError}
|
|
1151
1387
|
*/
|
|
@@ -1386,12 +1622,12 @@ class WorkspaceAppClient {
|
|
|
1386
1622
|
return this.hcClient.sendRequest(options);
|
|
1387
1623
|
}
|
|
1388
1624
|
/**
|
|
1389
|
-
*
|
|
1625
|
+
* 新增策略组,通过策略组能灵活地控制客户端访问与接入策略,如:文件、剪切板、会话等。
|
|
1390
1626
|
*
|
|
1391
1627
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1392
1628
|
*
|
|
1393
1629
|
* @summary 新增策略组
|
|
1394
|
-
* @param {CreatePolicyGroupReq} createPolicyGroupRequestBody
|
|
1630
|
+
* @param {CreatePolicyGroupReq} createPolicyGroupRequestBody 请求体。
|
|
1395
1631
|
* @param {*} [options] Override http request option.
|
|
1396
1632
|
* @throws {RequiredError}
|
|
1397
1633
|
*/
|
|
@@ -1458,7 +1694,7 @@ class WorkspaceAppClient {
|
|
|
1458
1694
|
* @param {number} [offset] 查询的偏移量。
|
|
1459
1695
|
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1460
1696
|
* @param {string} [policyGroupName] 根据策略组名字过滤结果。
|
|
1461
|
-
* @param {number} [policyGroupType]
|
|
1697
|
+
* @param {number} [policyGroupType] 根据策略组类型名字过滤结果, 0:VM类, 4:策略模板。
|
|
1462
1698
|
* @param {*} [options] Override http request option.
|
|
1463
1699
|
* @throws {RequiredError}
|
|
1464
1700
|
*/
|
|
@@ -1477,7 +1713,7 @@ class WorkspaceAppClient {
|
|
|
1477
1713
|
* @param {number} [offset] 查询的偏移量。
|
|
1478
1714
|
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1479
1715
|
* @param {string} [policyGroupName] 根据策略组名字过滤结果。
|
|
1480
|
-
* @param {number} [policyGroupType]
|
|
1716
|
+
* @param {number} [policyGroupType] 根据策略组类型名字过滤结果, 0:VM类, 4:策略模板。
|
|
1481
1717
|
* @param {*} [options] Override http request option.
|
|
1482
1718
|
* @throws {RequiredError}
|
|
1483
1719
|
*/
|
|
@@ -1494,7 +1730,7 @@ class WorkspaceAppClient {
|
|
|
1494
1730
|
*
|
|
1495
1731
|
* @summary 查询策略组中的策略项
|
|
1496
1732
|
* @param {string} policyGroupId 策略组id。
|
|
1497
|
-
* @param {string} [policyType] 根据策略类型过滤结果,不传则查询所有策略。 可选类型: - 外设:Peripherals; - 音频:Audio; - 客户端:Client; - 显示:Display; - 文件与剪切板:FileAndClip; - 接入控制:ClientAccessControl; - 会话:SessionAutoDisconnect; - 虚拟通道:VirtualChannel -
|
|
1733
|
+
* @param {string} [policyType] 根据策略类型过滤结果,不传则查询所有策略。 可选类型: - 外设:Peripherals; - 音频:Audio; - 客户端:Client; - 显示:Display; - 文件与剪切板:FileAndClip; - 接入控制:ClientAccessControl; - 会话:SessionAutoDisconnect; - 虚拟通道:VirtualChannel - 键盘鼠标:KeyboardAndMouse; - 通用音视频旁路:Seamless。
|
|
1498
1734
|
* @param {*} [options] Override http request option.
|
|
1499
1735
|
* @throws {RequiredError}
|
|
1500
1736
|
*/
|
|
@@ -1681,7 +1917,7 @@ class WorkspaceAppClient {
|
|
|
1681
1917
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1682
1918
|
*
|
|
1683
1919
|
* @summary 批量删除定时任务
|
|
1684
|
-
* @param {BatchDeleteScheduleTaskReq} batchDeleteScheduleTaskRequestBody
|
|
1920
|
+
* @param {BatchDeleteScheduleTaskReq} batchDeleteScheduleTaskRequestBody 批量删除服务器组请求内容。
|
|
1685
1921
|
* @param {*} [options] Override http request option.
|
|
1686
1922
|
* @throws {RequiredError}
|
|
1687
1923
|
*/
|
|
@@ -1745,9 +1981,9 @@ class WorkspaceAppClient {
|
|
|
1745
1981
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1746
1982
|
*
|
|
1747
1983
|
* @summary 查询定时任务列表
|
|
1748
|
-
* @param {number} [offset]
|
|
1749
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
1750
|
-
* @param {string} [taskName]
|
|
1984
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
1985
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
1986
|
+
* @param {string} [taskName] 定时任务名称。
|
|
1751
1987
|
* @param {string} [taskType] 任务类型: * `RESTART_SERVER` - 定时重启服务器 * `START_SERVER` - 定时开机 * `STOP_SERVER` - 定时关机 * `REINSTALL_OS` - 定时重装操作系统
|
|
1752
1988
|
* @param {*} [options] Override http request option.
|
|
1753
1989
|
* @throws {RequiredError}
|
|
@@ -1765,8 +2001,8 @@ class WorkspaceAppClient {
|
|
|
1765
2001
|
*
|
|
1766
2002
|
* @summary 查询定时任务执行子任务列表
|
|
1767
2003
|
* @param {string} executeHistoryId 定时任务唯一标识。
|
|
1768
|
-
* @param {number} [offset]
|
|
1769
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2004
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2005
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
1770
2006
|
* @param {*} [options] Override http request option.
|
|
1771
2007
|
* @throws {RequiredError}
|
|
1772
2008
|
*/
|
|
@@ -1783,8 +2019,8 @@ class WorkspaceAppClient {
|
|
|
1783
2019
|
*
|
|
1784
2020
|
* @summary 查询定时任务执行列表
|
|
1785
2021
|
* @param {string} taskId 定时任务唯一标识。
|
|
1786
|
-
* @param {number} [offset]
|
|
1787
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2022
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2023
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
1788
2024
|
* @param {*} [options] Override http request option.
|
|
1789
2025
|
* @throws {RequiredError}
|
|
1790
2026
|
*/
|
|
@@ -1850,7 +2086,7 @@ class WorkspaceAppClient {
|
|
|
1850
2086
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1851
2087
|
*
|
|
1852
2088
|
* @summary 标记服务器维护状态
|
|
1853
|
-
* @param {BatchChangeMaintainServerReq} batchChangeServerMaintainModeRequestBody
|
|
2089
|
+
* @param {BatchChangeMaintainServerReq} batchChangeServerMaintainModeRequestBody 标记指定的服务器维护状态的请求内容。
|
|
1854
2090
|
* @param {*} [options] Override http request option.
|
|
1855
2091
|
* @throws {RequiredError}
|
|
1856
2092
|
*/
|
|
@@ -2077,8 +2313,8 @@ class WorkspaceAppClient {
|
|
|
2077
2313
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2078
2314
|
*
|
|
2079
2315
|
* @summary 查询服务器的HDA相关信息
|
|
2080
|
-
* @param {number} [offset]
|
|
2081
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2316
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2317
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
2082
2318
|
* @param {string} [serverGroupId] 服务器组id。
|
|
2083
2319
|
* @param {string} [serverName] 服务器名称。
|
|
2084
2320
|
* @param {*} [options] Override http request option.
|
|
@@ -2096,8 +2332,8 @@ class WorkspaceAppClient {
|
|
|
2096
2332
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2097
2333
|
*
|
|
2098
2334
|
* @summary 查询服务器的HDA升级跟踪记录
|
|
2099
|
-
* @param {number} [offset]
|
|
2100
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2335
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2336
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
2101
2337
|
* @param {*} [options] Override http request option.
|
|
2102
2338
|
* @throws {RequiredError}
|
|
2103
2339
|
*/
|
|
@@ -2135,8 +2371,8 @@ class WorkspaceAppClient {
|
|
|
2135
2371
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2136
2372
|
*
|
|
2137
2373
|
* @summary 查询服务器列表
|
|
2138
|
-
* @param {number} [offset]
|
|
2139
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2374
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2375
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
2140
2376
|
* @param {string} [serverGroupId] 服务器组唯一标识。
|
|
2141
2377
|
* @param {string} [serverName] 服务器名称,支持部分匹配。
|
|
2142
2378
|
* @param {string} [machineName] 机器名称,支持部分匹配。
|
|
@@ -2295,13 +2531,13 @@ class WorkspaceAppClient {
|
|
|
2295
2531
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2296
2532
|
*
|
|
2297
2533
|
* @summary 查询服务器组列表
|
|
2298
|
-
* @param {number} [offset]
|
|
2299
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2534
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2535
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
2300
2536
|
* @param {string} [serverGroupName] 服务器组名称。
|
|
2301
2537
|
* @param {string} [serverGroupId] 服务器组唯一标识。
|
|
2302
2538
|
* @param {string} [appType] 应用组类型: * `SESSION_DESKTOP_APP` - 会话桌面app * `COMMON_APP` - 普通app
|
|
2303
2539
|
* @param {string} [tags] 查询tag字段中包含该值的服务器组。
|
|
2304
|
-
* @param {string} [enterpriseProjectId] 企业项目ID(字段为空或者0表示使用默认default企业项目)
|
|
2540
|
+
* @param {string} [enterpriseProjectId] 企业项目ID(字段为空或者0表示使用默认default企业项目)。
|
|
2305
2541
|
* @param {string} [isSecondaryServerGroup] 是否为备服务器组,不传默认查所有: true : 是备服务器组。 false: 主服务器组,默认。
|
|
2306
2542
|
* @param {*} [options] Override http request option.
|
|
2307
2543
|
* @throws {RequiredError}
|
|
@@ -2318,8 +2554,8 @@ class WorkspaceAppClient {
|
|
|
2318
2554
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2319
2555
|
*
|
|
2320
2556
|
* @summary 查询租户服务器组基础信息列表
|
|
2321
|
-
* @param {number} [offset]
|
|
2322
|
-
* @param {number} [limit] 查询的数量,值区间[1-100]。
|
|
2557
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2558
|
+
* @param {number} [limit] 查询的数量,值区间[1-100],默认值10。
|
|
2323
2559
|
* @param {string} [severGroupName] 服务器组名称。
|
|
2324
2560
|
* @param {string} [appType] 应用组类型: * `SESSION_DESKTOP_APP` - 会话桌面app * `COMMON_APP` - 普通app
|
|
2325
2561
|
* @param {string} [isSecondaryServerGroup] 是否为备服务器组,不传默认查所有: true : 是备服务器组。 false: 主服务器组,默认。
|
|
@@ -2404,8 +2640,8 @@ class WorkspaceAppClient {
|
|
|
2404
2640
|
*
|
|
2405
2641
|
* @summary 查询应用使用记录
|
|
2406
2642
|
* @param {ListAppConnectionReq} listAppConnectionRequestBody list app connection.
|
|
2407
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
2408
|
-
* @param {number} [offset]
|
|
2643
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
2644
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2409
2645
|
* @param {*} [options] Override http request option.
|
|
2410
2646
|
* @throws {RequiredError}
|
|
2411
2647
|
*/
|
|
@@ -2439,8 +2675,8 @@ class WorkspaceAppClient {
|
|
|
2439
2675
|
* @summary 查询用户会话列表
|
|
2440
2676
|
* @param {string} queryBeginTime 搜索开始时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。
|
|
2441
2677
|
* @param {string} queryEndTime 搜索结束时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。
|
|
2442
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
2443
|
-
* @param {number} [offset]
|
|
2678
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
2679
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2444
2680
|
* @param {string} [userName] 用户名。
|
|
2445
2681
|
* @param {string} [appServerGroupId] AppServer组ID。
|
|
2446
2682
|
* @param {string} [vmIp] 服务器IP。
|
|
@@ -2464,8 +2700,8 @@ class WorkspaceAppClient {
|
|
|
2464
2700
|
*
|
|
2465
2701
|
* @summary 查询用户登录记录
|
|
2466
2702
|
* @param {ListUserConnectionReq} listUserConnectionRequestBody list user connection.
|
|
2467
|
-
* @param {number} [limit] 单次查询的大小[1-100]。
|
|
2468
|
-
* @param {number} [offset]
|
|
2703
|
+
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
2704
|
+
* @param {number} [offset] 查询的偏移量,默认值0。
|
|
2469
2705
|
* @param {*} [options] Override http request option.
|
|
2470
2706
|
* @throws {RequiredError}
|
|
2471
2707
|
*/
|
|
@@ -2500,7 +2736,7 @@ class WorkspaceAppClient {
|
|
|
2500
2736
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2501
2737
|
*
|
|
2502
2738
|
* @summary 批量添加服务器组标签
|
|
2503
|
-
* @param {BatchCreateServerGroupTagsReq} batchCreateServerGroupTagsRequestBody
|
|
2739
|
+
* @param {BatchCreateServerGroupTagsReq} batchCreateServerGroupTagsRequestBody 批量创建标签。
|
|
2504
2740
|
* @param {*} [options] Override http request option.
|
|
2505
2741
|
* @throws {RequiredError}
|
|
2506
2742
|
*/
|
|
@@ -2519,7 +2755,7 @@ class WorkspaceAppClient {
|
|
|
2519
2755
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2520
2756
|
*
|
|
2521
2757
|
* @summary 批量删除服务器组标签
|
|
2522
|
-
* @param {BatchDeleteServerGroupTagsReq} batchDeleteServerGroupTagsRequestBody
|
|
2758
|
+
* @param {BatchDeleteServerGroupTagsReq} batchDeleteServerGroupTagsRequestBody 批量删除标签。
|
|
2523
2759
|
* @param {*} [options] Override http request option.
|
|
2524
2760
|
* @throws {RequiredError}
|
|
2525
2761
|
*/
|
|
@@ -2539,7 +2775,7 @@ class WorkspaceAppClient {
|
|
|
2539
2775
|
*
|
|
2540
2776
|
* @summary 添加服务器组标签
|
|
2541
2777
|
* @param {string} serverGroupId 服务器组唯一标识。
|
|
2542
|
-
* @param {CreateResourceTagReq} createServerGroupTagsRequestBody
|
|
2778
|
+
* @param {CreateResourceTagReq} createServerGroupTagsRequestBody 创建资源标签。
|
|
2543
2779
|
* @param {*} [options] Override http request option.
|
|
2544
2780
|
* @throws {RequiredError}
|
|
2545
2781
|
*/
|
|
@@ -2559,7 +2795,7 @@ class WorkspaceAppClient {
|
|
|
2559
2795
|
*
|
|
2560
2796
|
* @summary 删除服务器组标签
|
|
2561
2797
|
* @param {string} serverGroupId 服务器组唯一标识。
|
|
2562
|
-
* @param {DeleteResourceTagReq} deleteServerGroupTagsRequestBody
|
|
2798
|
+
* @param {DeleteResourceTagReq} deleteServerGroupTagsRequestBody 删除资源标签。
|
|
2563
2799
|
* @param {*} [options] Override http request option.
|
|
2564
2800
|
* @throws {RequiredError}
|
|
2565
2801
|
*/
|
|
@@ -2570,7 +2806,7 @@ class WorkspaceAppClient {
|
|
|
2570
2806
|
return this.hcClient.sendRequest(options);
|
|
2571
2807
|
}
|
|
2572
2808
|
/**
|
|
2573
|
-
*
|
|
2809
|
+
* 查询租户在所有服务器组上的资源标签集合。
|
|
2574
2810
|
*
|
|
2575
2811
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2576
2812
|
*
|
|
@@ -2585,7 +2821,7 @@ class WorkspaceAppClient {
|
|
|
2585
2821
|
return this.hcClient.sendRequest(options);
|
|
2586
2822
|
}
|
|
2587
2823
|
/**
|
|
2588
|
-
*
|
|
2824
|
+
* 查询指定服务器组的标签信息。
|
|
2589
2825
|
*
|
|
2590
2826
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2591
2827
|
*
|
|
@@ -2685,6 +2921,36 @@ const ParamCreater = function () {
|
|
|
2685
2921
|
options.headers = localVarHeaderParameter;
|
|
2686
2922
|
return options;
|
|
2687
2923
|
},
|
|
2924
|
+
/**
|
|
2925
|
+
* 添加用户应用仓库桶及桶授权。
|
|
2926
|
+
*
|
|
2927
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2928
|
+
*/
|
|
2929
|
+
bindAppWarehouseBucket(bindAppWarehouseBucketRequest) {
|
|
2930
|
+
const options = {
|
|
2931
|
+
method: "POST",
|
|
2932
|
+
url: "/v1/{project_id}/app-warehouse/bucket",
|
|
2933
|
+
contentType: "application/json",
|
|
2934
|
+
queryParams: {},
|
|
2935
|
+
pathParams: {},
|
|
2936
|
+
headers: {},
|
|
2937
|
+
data: {}
|
|
2938
|
+
};
|
|
2939
|
+
const localVarHeaderParameter = {};
|
|
2940
|
+
let body;
|
|
2941
|
+
if (bindAppWarehouseBucketRequest !== null && bindAppWarehouseBucketRequest !== undefined) {
|
|
2942
|
+
if (bindAppWarehouseBucketRequest instanceof BindAppWarehouseBucketRequest_1.BindAppWarehouseBucketRequest) {
|
|
2943
|
+
body = bindAppWarehouseBucketRequest.body;
|
|
2944
|
+
}
|
|
2945
|
+
else {
|
|
2946
|
+
body = bindAppWarehouseBucketRequest['body'];
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2950
|
+
options.data = body !== undefined ? body : {};
|
|
2951
|
+
options.headers = localVarHeaderParameter;
|
|
2952
|
+
return options;
|
|
2953
|
+
},
|
|
2688
2954
|
/**
|
|
2689
2955
|
* 添加桶或者桶授权。
|
|
2690
2956
|
*
|
|
@@ -2830,7 +3096,25 @@ const ParamCreater = function () {
|
|
|
2830
3096
|
return options;
|
|
2831
3097
|
},
|
|
2832
3098
|
/**
|
|
2833
|
-
*
|
|
3099
|
+
* 查询用户应用仓库桶
|
|
3100
|
+
*
|
|
3101
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3102
|
+
*/
|
|
3103
|
+
showAppWarehouseBucket() {
|
|
3104
|
+
const options = {
|
|
3105
|
+
method: "GET",
|
|
3106
|
+
url: "/v1/{project_id}/app-warehouse/bucket",
|
|
3107
|
+
contentType: "application/json",
|
|
3108
|
+
queryParams: {},
|
|
3109
|
+
pathParams: {},
|
|
3110
|
+
headers: {}
|
|
3111
|
+
};
|
|
3112
|
+
const localVarHeaderParameter = {};
|
|
3113
|
+
options.headers = localVarHeaderParameter;
|
|
3114
|
+
return options;
|
|
3115
|
+
},
|
|
3116
|
+
/**
|
|
3117
|
+
* 修改应用仓库中的指定应用信息。
|
|
2834
3118
|
*
|
|
2835
3119
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2836
3120
|
*/
|
|
@@ -3281,30 +3565,70 @@ const ParamCreater = function () {
|
|
|
3281
3565
|
return options;
|
|
3282
3566
|
},
|
|
3283
3567
|
/**
|
|
3284
|
-
*
|
|
3568
|
+
* 批量设置应用预启动。
|
|
3285
3569
|
*
|
|
3286
3570
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3287
3571
|
*/
|
|
3288
|
-
|
|
3289
|
-
var _a;
|
|
3572
|
+
updatePreBootPolicy(updatePreBootPolicyRequest) {
|
|
3290
3573
|
const options = {
|
|
3291
3574
|
method: "POST",
|
|
3292
|
-
url: "/v1/{project_id}/app-groups/{app_group_id}/apps/
|
|
3293
|
-
contentType: "
|
|
3575
|
+
url: "/v1/{project_id}/app-groups/{app_group_id}/apps/pre-boot-policy",
|
|
3576
|
+
contentType: "application/json",
|
|
3294
3577
|
queryParams: {},
|
|
3295
3578
|
pathParams: {},
|
|
3296
3579
|
headers: {},
|
|
3297
3580
|
data: {}
|
|
3298
3581
|
};
|
|
3299
3582
|
const localVarHeaderParameter = {};
|
|
3300
|
-
|
|
3583
|
+
let body;
|
|
3301
3584
|
let appGroupId;
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3585
|
+
if (updatePreBootPolicyRequest !== null && updatePreBootPolicyRequest !== undefined) {
|
|
3586
|
+
if (updatePreBootPolicyRequest instanceof UpdatePreBootPolicyRequest_1.UpdatePreBootPolicyRequest) {
|
|
3587
|
+
appGroupId = updatePreBootPolicyRequest.appGroupId;
|
|
3588
|
+
body = updatePreBootPolicyRequest.body;
|
|
3589
|
+
}
|
|
3590
|
+
else {
|
|
3591
|
+
appGroupId = updatePreBootPolicyRequest['app_group_id'];
|
|
3592
|
+
body = updatePreBootPolicyRequest['body'];
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
if (appGroupId === null || appGroupId === undefined) {
|
|
3596
|
+
throw new RequiredError('appGroupId', 'Required parameter appGroupId was null or undefined when calling updatePreBootPolicy.');
|
|
3597
|
+
}
|
|
3598
|
+
if (body === null || body === undefined) {
|
|
3599
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
3600
|
+
}
|
|
3601
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3602
|
+
options.data = body !== undefined ? body : {};
|
|
3603
|
+
options.pathParams = { 'app_group_id': appGroupId, };
|
|
3604
|
+
options.headers = localVarHeaderParameter;
|
|
3605
|
+
return options;
|
|
3606
|
+
},
|
|
3607
|
+
/**
|
|
3608
|
+
* 修改自定义应用图标。
|
|
3609
|
+
*
|
|
3610
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3611
|
+
*/
|
|
3612
|
+
uploadAppIcon(uploadAppIconRequest) {
|
|
3613
|
+
var _a;
|
|
3614
|
+
const options = {
|
|
3615
|
+
method: "POST",
|
|
3616
|
+
url: "/v1/{project_id}/app-groups/{app_group_id}/apps/{app_id}/icon",
|
|
3617
|
+
contentType: "multipart/form-data",
|
|
3618
|
+
queryParams: {},
|
|
3619
|
+
pathParams: {},
|
|
3620
|
+
headers: {},
|
|
3621
|
+
data: {}
|
|
3622
|
+
};
|
|
3623
|
+
const localVarHeaderParameter = {};
|
|
3624
|
+
const localVarFormParams = new form_data_1.default();
|
|
3625
|
+
let appGroupId;
|
|
3626
|
+
let appId;
|
|
3627
|
+
let data;
|
|
3628
|
+
if (uploadAppIconRequest !== null && uploadAppIconRequest !== undefined) {
|
|
3629
|
+
if (uploadAppIconRequest instanceof UploadAppIconRequest_1.UploadAppIconRequest) {
|
|
3630
|
+
appGroupId = uploadAppIconRequest.appGroupId;
|
|
3631
|
+
appId = uploadAppIconRequest.appId;
|
|
3308
3632
|
data = (_a = uploadAppIconRequest.body) === null || _a === void 0 ? void 0 : _a.data;
|
|
3309
3633
|
}
|
|
3310
3634
|
else {
|
|
@@ -3808,7 +4132,7 @@ const ParamCreater = function () {
|
|
|
3808
4132
|
return options;
|
|
3809
4133
|
},
|
|
3810
4134
|
/**
|
|
3811
|
-
*
|
|
4135
|
+
* 该接口用于查询会话套餐列表。
|
|
3812
4136
|
*
|
|
3813
4137
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3814
4138
|
*/
|
|
@@ -3937,6 +4261,7 @@ const ParamCreater = function () {
|
|
|
3937
4261
|
let limit;
|
|
3938
4262
|
let offset;
|
|
3939
4263
|
let appGroupId;
|
|
4264
|
+
let accountId;
|
|
3940
4265
|
let account;
|
|
3941
4266
|
let accountType;
|
|
3942
4267
|
if (listAppGroupAuthorizationRequest !== null && listAppGroupAuthorizationRequest !== undefined) {
|
|
@@ -3944,6 +4269,7 @@ const ParamCreater = function () {
|
|
|
3944
4269
|
limit = listAppGroupAuthorizationRequest.limit;
|
|
3945
4270
|
offset = listAppGroupAuthorizationRequest.offset;
|
|
3946
4271
|
appGroupId = listAppGroupAuthorizationRequest.appGroupId;
|
|
4272
|
+
accountId = listAppGroupAuthorizationRequest.accountId;
|
|
3947
4273
|
account = listAppGroupAuthorizationRequest.account;
|
|
3948
4274
|
accountType = listAppGroupAuthorizationRequest.accountType;
|
|
3949
4275
|
}
|
|
@@ -3951,6 +4277,7 @@ const ParamCreater = function () {
|
|
|
3951
4277
|
limit = listAppGroupAuthorizationRequest['limit'];
|
|
3952
4278
|
offset = listAppGroupAuthorizationRequest['offset'];
|
|
3953
4279
|
appGroupId = listAppGroupAuthorizationRequest['app_group_id'];
|
|
4280
|
+
accountId = listAppGroupAuthorizationRequest['account_id'];
|
|
3954
4281
|
account = listAppGroupAuthorizationRequest['account'];
|
|
3955
4282
|
accountType = listAppGroupAuthorizationRequest['account_type'];
|
|
3956
4283
|
}
|
|
@@ -3964,6 +4291,9 @@ const ParamCreater = function () {
|
|
|
3964
4291
|
if (appGroupId !== null && appGroupId !== undefined) {
|
|
3965
4292
|
localVarQueryParameter['app_group_id'] = appGroupId;
|
|
3966
4293
|
}
|
|
4294
|
+
if (accountId !== null && accountId !== undefined) {
|
|
4295
|
+
localVarQueryParameter['account_id'] = accountId;
|
|
4296
|
+
}
|
|
3967
4297
|
if (account !== null && account !== undefined) {
|
|
3968
4298
|
localVarQueryParameter['account'] = account;
|
|
3969
4299
|
}
|
|
@@ -4010,6 +4340,428 @@ const ParamCreater = function () {
|
|
|
4010
4340
|
options.headers = localVarHeaderParameter;
|
|
4011
4341
|
return options;
|
|
4012
4342
|
},
|
|
4343
|
+
/**
|
|
4344
|
+
* 批量删除云存储。
|
|
4345
|
+
*
|
|
4346
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4347
|
+
*/
|
|
4348
|
+
batchDeleteCloudStorage(batchDeleteCloudStorageRequest) {
|
|
4349
|
+
const options = {
|
|
4350
|
+
method: "POST",
|
|
4351
|
+
url: "/v1/{project_id}/cloud-storages/actions/batch-delete-cloud-storages",
|
|
4352
|
+
contentType: "application/json",
|
|
4353
|
+
queryParams: {},
|
|
4354
|
+
pathParams: {},
|
|
4355
|
+
headers: {},
|
|
4356
|
+
data: {}
|
|
4357
|
+
};
|
|
4358
|
+
const localVarHeaderParameter = {};
|
|
4359
|
+
let body;
|
|
4360
|
+
if (batchDeleteCloudStorageRequest !== null && batchDeleteCloudStorageRequest !== undefined) {
|
|
4361
|
+
if (batchDeleteCloudStorageRequest instanceof BatchDeleteCloudStorageRequest_1.BatchDeleteCloudStorageRequest) {
|
|
4362
|
+
body = batchDeleteCloudStorageRequest.body;
|
|
4363
|
+
}
|
|
4364
|
+
else {
|
|
4365
|
+
body = batchDeleteCloudStorageRequest['body'];
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
if (body === null || body === undefined) {
|
|
4369
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4370
|
+
}
|
|
4371
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4372
|
+
options.data = body !== undefined ? body : {};
|
|
4373
|
+
options.headers = localVarHeaderParameter;
|
|
4374
|
+
return options;
|
|
4375
|
+
},
|
|
4376
|
+
/**
|
|
4377
|
+
* 创建项目配置关联,目前仅支持关联项目配置。
|
|
4378
|
+
*
|
|
4379
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4380
|
+
*/
|
|
4381
|
+
createCloudStorage(createCloudStorageRequest) {
|
|
4382
|
+
const options = {
|
|
4383
|
+
method: "POST",
|
|
4384
|
+
url: "/v1/{project_id}/cloud-storages",
|
|
4385
|
+
contentType: "application/json",
|
|
4386
|
+
queryParams: {},
|
|
4387
|
+
pathParams: {},
|
|
4388
|
+
headers: {},
|
|
4389
|
+
data: {}
|
|
4390
|
+
};
|
|
4391
|
+
const localVarHeaderParameter = {};
|
|
4392
|
+
let body;
|
|
4393
|
+
if (createCloudStorageRequest !== null && createCloudStorageRequest !== undefined) {
|
|
4394
|
+
if (createCloudStorageRequest instanceof CreateCloudStorageRequest_1.CreateCloudStorageRequest) {
|
|
4395
|
+
body = createCloudStorageRequest.body;
|
|
4396
|
+
}
|
|
4397
|
+
else {
|
|
4398
|
+
body = createCloudStorageRequest['body'];
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
4401
|
+
if (body === null || body === undefined) {
|
|
4402
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4403
|
+
}
|
|
4404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4405
|
+
options.data = body !== undefined ? body : {};
|
|
4406
|
+
options.headers = localVarHeaderParameter;
|
|
4407
|
+
return options;
|
|
4408
|
+
},
|
|
4409
|
+
/**
|
|
4410
|
+
* 创建个人文件夹,已存在对应目录时,仅更新策略不会重复创建目录。
|
|
4411
|
+
*
|
|
4412
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4413
|
+
*/
|
|
4414
|
+
createUserFolderAssignment(createUserFolderAssignmentRequest) {
|
|
4415
|
+
const options = {
|
|
4416
|
+
method: "POST",
|
|
4417
|
+
url: "/v1/{project_id}/cloud-storages/{storage_id}/actions/create-folder",
|
|
4418
|
+
contentType: "application/json",
|
|
4419
|
+
queryParams: {},
|
|
4420
|
+
pathParams: {},
|
|
4421
|
+
headers: {},
|
|
4422
|
+
data: {}
|
|
4423
|
+
};
|
|
4424
|
+
const localVarHeaderParameter = {};
|
|
4425
|
+
let body;
|
|
4426
|
+
let storageId;
|
|
4427
|
+
if (createUserFolderAssignmentRequest !== null && createUserFolderAssignmentRequest !== undefined) {
|
|
4428
|
+
if (createUserFolderAssignmentRequest instanceof CreateUserFolderAssignmentRequest_1.CreateUserFolderAssignmentRequest) {
|
|
4429
|
+
storageId = createUserFolderAssignmentRequest.storageId;
|
|
4430
|
+
body = createUserFolderAssignmentRequest.body;
|
|
4431
|
+
}
|
|
4432
|
+
else {
|
|
4433
|
+
storageId = createUserFolderAssignmentRequest['storage_id'];
|
|
4434
|
+
body = createUserFolderAssignmentRequest['body'];
|
|
4435
|
+
}
|
|
4436
|
+
}
|
|
4437
|
+
if (storageId === null || storageId === undefined) {
|
|
4438
|
+
throw new RequiredError('storageId', 'Required parameter storageId was null or undefined when calling createUserFolderAssignment.');
|
|
4439
|
+
}
|
|
4440
|
+
if (body === null || body === undefined) {
|
|
4441
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4442
|
+
}
|
|
4443
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4444
|
+
options.data = body !== undefined ? body : {};
|
|
4445
|
+
options.pathParams = { 'storage_id': storageId, };
|
|
4446
|
+
options.headers = localVarHeaderParameter;
|
|
4447
|
+
return options;
|
|
4448
|
+
},
|
|
4449
|
+
/**
|
|
4450
|
+
* 删除共享存储,只会解除NAS与项目配置之间的关联关系。
|
|
4451
|
+
*
|
|
4452
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4453
|
+
*/
|
|
4454
|
+
deleteCloudStorage(deleteCloudStorageRequest) {
|
|
4455
|
+
const options = {
|
|
4456
|
+
method: "DELETE",
|
|
4457
|
+
url: "/v1/{project_id}/cloud-storages/{storage_id}",
|
|
4458
|
+
contentType: "application/json",
|
|
4459
|
+
queryParams: {},
|
|
4460
|
+
pathParams: {},
|
|
4461
|
+
headers: {}
|
|
4462
|
+
};
|
|
4463
|
+
const localVarHeaderParameter = {};
|
|
4464
|
+
let storageId;
|
|
4465
|
+
if (deleteCloudStorageRequest !== null && deleteCloudStorageRequest !== undefined) {
|
|
4466
|
+
if (deleteCloudStorageRequest instanceof DeleteCloudStorageRequest_1.DeleteCloudStorageRequest) {
|
|
4467
|
+
storageId = deleteCloudStorageRequest.storageId;
|
|
4468
|
+
}
|
|
4469
|
+
else {
|
|
4470
|
+
storageId = deleteCloudStorageRequest['storage_id'];
|
|
4471
|
+
}
|
|
4472
|
+
}
|
|
4473
|
+
if (storageId === null || storageId === undefined) {
|
|
4474
|
+
throw new RequiredError('storageId', 'Required parameter storageId was null or undefined when calling deleteCloudStorage.');
|
|
4475
|
+
}
|
|
4476
|
+
options.pathParams = { 'storage_id': storageId, };
|
|
4477
|
+
options.headers = localVarHeaderParameter;
|
|
4478
|
+
return options;
|
|
4479
|
+
},
|
|
4480
|
+
/**
|
|
4481
|
+
* 删除个人存储目录,个人目录中的数据也将永久删除且无法恢复。
|
|
4482
|
+
*
|
|
4483
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4484
|
+
*/
|
|
4485
|
+
deleteCloudStorageAttachment(deleteCloudStorageAttachmentRequest) {
|
|
4486
|
+
const options = {
|
|
4487
|
+
method: "POST",
|
|
4488
|
+
url: "/v1/{project_id}/cloud-storages/{storage_id}/actions/delete-folder",
|
|
4489
|
+
contentType: "application/json",
|
|
4490
|
+
queryParams: {},
|
|
4491
|
+
pathParams: {},
|
|
4492
|
+
headers: {},
|
|
4493
|
+
data: {}
|
|
4494
|
+
};
|
|
4495
|
+
const localVarHeaderParameter = {};
|
|
4496
|
+
let body;
|
|
4497
|
+
let storageId;
|
|
4498
|
+
if (deleteCloudStorageAttachmentRequest !== null && deleteCloudStorageAttachmentRequest !== undefined) {
|
|
4499
|
+
if (deleteCloudStorageAttachmentRequest instanceof DeleteCloudStorageAttachmentRequest_1.DeleteCloudStorageAttachmentRequest) {
|
|
4500
|
+
storageId = deleteCloudStorageAttachmentRequest.storageId;
|
|
4501
|
+
body = deleteCloudStorageAttachmentRequest.body;
|
|
4502
|
+
}
|
|
4503
|
+
else {
|
|
4504
|
+
storageId = deleteCloudStorageAttachmentRequest['storage_id'];
|
|
4505
|
+
body = deleteCloudStorageAttachmentRequest['body'];
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
if (storageId === null || storageId === undefined) {
|
|
4509
|
+
throw new RequiredError('storageId', 'Required parameter storageId was null or undefined when calling deleteCloudStorageAttachment.');
|
|
4510
|
+
}
|
|
4511
|
+
if (body === null || body === undefined) {
|
|
4512
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4513
|
+
}
|
|
4514
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4515
|
+
options.data = body !== undefined ? body : {};
|
|
4516
|
+
options.pathParams = { 'storage_id': storageId, };
|
|
4517
|
+
options.headers = localVarHeaderParameter;
|
|
4518
|
+
return options;
|
|
4519
|
+
},
|
|
4520
|
+
/**
|
|
4521
|
+
* 查询云存储。
|
|
4522
|
+
*
|
|
4523
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4524
|
+
*/
|
|
4525
|
+
listCloudStorage(listCloudStorageRequest) {
|
|
4526
|
+
const options = {
|
|
4527
|
+
method: "GET",
|
|
4528
|
+
url: "/v1/{project_id}/cloud-storages",
|
|
4529
|
+
contentType: "application/json",
|
|
4530
|
+
queryParams: {},
|
|
4531
|
+
pathParams: {},
|
|
4532
|
+
headers: {}
|
|
4533
|
+
};
|
|
4534
|
+
const localVarHeaderParameter = {};
|
|
4535
|
+
const localVarQueryParameter = {};
|
|
4536
|
+
let offset;
|
|
4537
|
+
let limit;
|
|
4538
|
+
let storageId;
|
|
4539
|
+
let name;
|
|
4540
|
+
if (listCloudStorageRequest !== null && listCloudStorageRequest !== undefined) {
|
|
4541
|
+
if (listCloudStorageRequest instanceof ListCloudStorageRequest_1.ListCloudStorageRequest) {
|
|
4542
|
+
offset = listCloudStorageRequest.offset;
|
|
4543
|
+
limit = listCloudStorageRequest.limit;
|
|
4544
|
+
storageId = listCloudStorageRequest.storageId;
|
|
4545
|
+
name = listCloudStorageRequest.name;
|
|
4546
|
+
}
|
|
4547
|
+
else {
|
|
4548
|
+
offset = listCloudStorageRequest['offset'];
|
|
4549
|
+
limit = listCloudStorageRequest['limit'];
|
|
4550
|
+
storageId = listCloudStorageRequest['storage_id'];
|
|
4551
|
+
name = listCloudStorageRequest['name'];
|
|
4552
|
+
}
|
|
4553
|
+
}
|
|
4554
|
+
if (offset !== null && offset !== undefined) {
|
|
4555
|
+
localVarQueryParameter['offset'] = offset;
|
|
4556
|
+
}
|
|
4557
|
+
if (limit !== null && limit !== undefined) {
|
|
4558
|
+
localVarQueryParameter['limit'] = limit;
|
|
4559
|
+
}
|
|
4560
|
+
if (storageId !== null && storageId !== undefined) {
|
|
4561
|
+
localVarQueryParameter['storage_id'] = storageId;
|
|
4562
|
+
}
|
|
4563
|
+
if (name !== null && name !== undefined) {
|
|
4564
|
+
localVarQueryParameter['name'] = name;
|
|
4565
|
+
}
|
|
4566
|
+
options.queryParams = localVarQueryParameter;
|
|
4567
|
+
options.headers = localVarHeaderParameter;
|
|
4568
|
+
return options;
|
|
4569
|
+
},
|
|
4570
|
+
/**
|
|
4571
|
+
* 查询个人文件夹列表。
|
|
4572
|
+
*
|
|
4573
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4574
|
+
*/
|
|
4575
|
+
listCloudStorageAssignment(listCloudStorageAssignmentRequest) {
|
|
4576
|
+
const options = {
|
|
4577
|
+
method: "GET",
|
|
4578
|
+
url: "/v1/{project_id}/cloud-storages/actions/list-folders",
|
|
4579
|
+
contentType: "application/json",
|
|
4580
|
+
queryParams: {},
|
|
4581
|
+
pathParams: {},
|
|
4582
|
+
headers: {}
|
|
4583
|
+
};
|
|
4584
|
+
const localVarHeaderParameter = {};
|
|
4585
|
+
const localVarQueryParameter = {};
|
|
4586
|
+
let storageId;
|
|
4587
|
+
let claimMode;
|
|
4588
|
+
let offset;
|
|
4589
|
+
let limit;
|
|
4590
|
+
let attach;
|
|
4591
|
+
let attachNames;
|
|
4592
|
+
let capacityFilter;
|
|
4593
|
+
if (listCloudStorageAssignmentRequest !== null && listCloudStorageAssignmentRequest !== undefined) {
|
|
4594
|
+
if (listCloudStorageAssignmentRequest instanceof ListCloudStorageAssignmentRequest_1.ListCloudStorageAssignmentRequest) {
|
|
4595
|
+
storageId = listCloudStorageAssignmentRequest.storageId;
|
|
4596
|
+
claimMode = listCloudStorageAssignmentRequest.claimMode;
|
|
4597
|
+
offset = listCloudStorageAssignmentRequest.offset;
|
|
4598
|
+
limit = listCloudStorageAssignmentRequest.limit;
|
|
4599
|
+
attach = listCloudStorageAssignmentRequest.attach;
|
|
4600
|
+
attachNames = listCloudStorageAssignmentRequest.attachNames;
|
|
4601
|
+
capacityFilter = listCloudStorageAssignmentRequest.capacityFilter;
|
|
4602
|
+
}
|
|
4603
|
+
else {
|
|
4604
|
+
storageId = listCloudStorageAssignmentRequest['storage_id'];
|
|
4605
|
+
claimMode = listCloudStorageAssignmentRequest['claim_mode'];
|
|
4606
|
+
offset = listCloudStorageAssignmentRequest['offset'];
|
|
4607
|
+
limit = listCloudStorageAssignmentRequest['limit'];
|
|
4608
|
+
attach = listCloudStorageAssignmentRequest['attach'];
|
|
4609
|
+
attachNames = listCloudStorageAssignmentRequest['attach_names'];
|
|
4610
|
+
capacityFilter = listCloudStorageAssignmentRequest['capacity_filter'];
|
|
4611
|
+
}
|
|
4612
|
+
}
|
|
4613
|
+
if (storageId === null || storageId === undefined) {
|
|
4614
|
+
throw new RequiredError('storageId', 'Required parameter storageId was null or undefined when calling listCloudStorageAssignment.');
|
|
4615
|
+
}
|
|
4616
|
+
if (storageId !== null && storageId !== undefined) {
|
|
4617
|
+
localVarQueryParameter['storage_id'] = storageId;
|
|
4618
|
+
}
|
|
4619
|
+
if (claimMode === null || claimMode === undefined) {
|
|
4620
|
+
throw new RequiredError('claimMode', 'Required parameter claimMode was null or undefined when calling listCloudStorageAssignment.');
|
|
4621
|
+
}
|
|
4622
|
+
if (claimMode !== null && claimMode !== undefined) {
|
|
4623
|
+
localVarQueryParameter['claim_mode'] = claimMode;
|
|
4624
|
+
}
|
|
4625
|
+
if (offset !== null && offset !== undefined) {
|
|
4626
|
+
localVarQueryParameter['offset'] = offset;
|
|
4627
|
+
}
|
|
4628
|
+
if (limit !== null && limit !== undefined) {
|
|
4629
|
+
localVarQueryParameter['limit'] = limit;
|
|
4630
|
+
}
|
|
4631
|
+
if (attach !== null && attach !== undefined) {
|
|
4632
|
+
localVarQueryParameter['attach'] = attach;
|
|
4633
|
+
}
|
|
4634
|
+
if (attachNames !== null && attachNames !== undefined) {
|
|
4635
|
+
localVarQueryParameter['attach_names'] = attachNames;
|
|
4636
|
+
}
|
|
4637
|
+
if (capacityFilter !== null && capacityFilter !== undefined) {
|
|
4638
|
+
localVarQueryParameter['capacity_filter'] = capacityFilter;
|
|
4639
|
+
}
|
|
4640
|
+
options.queryParams = localVarQueryParameter;
|
|
4641
|
+
options.headers = localVarHeaderParameter;
|
|
4642
|
+
return options;
|
|
4643
|
+
},
|
|
4644
|
+
/**
|
|
4645
|
+
* 查询项目配置列表。
|
|
4646
|
+
*
|
|
4647
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4648
|
+
*/
|
|
4649
|
+
listProjectConfigs(listProjectConfigsRequest) {
|
|
4650
|
+
const options = {
|
|
4651
|
+
method: "GET",
|
|
4652
|
+
url: "/v1/{project_id}/cloud-storages/actions/list-project-configs",
|
|
4653
|
+
contentType: "application/json",
|
|
4654
|
+
queryParams: {},
|
|
4655
|
+
pathParams: {},
|
|
4656
|
+
headers: {}
|
|
4657
|
+
};
|
|
4658
|
+
const localVarHeaderParameter = {};
|
|
4659
|
+
const localVarQueryParameter = {};
|
|
4660
|
+
let offset;
|
|
4661
|
+
let limit;
|
|
4662
|
+
let name;
|
|
4663
|
+
if (listProjectConfigsRequest !== null && listProjectConfigsRequest !== undefined) {
|
|
4664
|
+
if (listProjectConfigsRequest instanceof ListProjectConfigsRequest_1.ListProjectConfigsRequest) {
|
|
4665
|
+
offset = listProjectConfigsRequest.offset;
|
|
4666
|
+
limit = listProjectConfigsRequest.limit;
|
|
4667
|
+
name = listProjectConfigsRequest.name;
|
|
4668
|
+
}
|
|
4669
|
+
else {
|
|
4670
|
+
offset = listProjectConfigsRequest['offset'];
|
|
4671
|
+
limit = listProjectConfigsRequest['limit'];
|
|
4672
|
+
name = listProjectConfigsRequest['name'];
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
if (offset !== null && offset !== undefined) {
|
|
4676
|
+
localVarQueryParameter['offset'] = offset;
|
|
4677
|
+
}
|
|
4678
|
+
if (limit !== null && limit !== undefined) {
|
|
4679
|
+
localVarQueryParameter['limit'] = limit;
|
|
4680
|
+
}
|
|
4681
|
+
if (name !== null && name !== undefined) {
|
|
4682
|
+
localVarQueryParameter['name'] = name;
|
|
4683
|
+
}
|
|
4684
|
+
options.queryParams = localVarQueryParameter;
|
|
4685
|
+
options.headers = localVarHeaderParameter;
|
|
4686
|
+
return options;
|
|
4687
|
+
},
|
|
4688
|
+
/**
|
|
4689
|
+
* 查询项目配置信息。
|
|
4690
|
+
*
|
|
4691
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4692
|
+
*/
|
|
4693
|
+
showProjectConfig(showProjectConfigRequest) {
|
|
4694
|
+
const options = {
|
|
4695
|
+
method: "GET",
|
|
4696
|
+
url: "/v1/{project_id}/cloud-storages/actions/project-config/{cloud_storage_id}",
|
|
4697
|
+
contentType: "application/json",
|
|
4698
|
+
queryParams: {},
|
|
4699
|
+
pathParams: {},
|
|
4700
|
+
headers: {}
|
|
4701
|
+
};
|
|
4702
|
+
const localVarHeaderParameter = {};
|
|
4703
|
+
let cloudStorageId;
|
|
4704
|
+
if (showProjectConfigRequest !== null && showProjectConfigRequest !== undefined) {
|
|
4705
|
+
if (showProjectConfigRequest instanceof ShowProjectConfigRequest_1.ShowProjectConfigRequest) {
|
|
4706
|
+
cloudStorageId = showProjectConfigRequest.cloudStorageId;
|
|
4707
|
+
}
|
|
4708
|
+
else {
|
|
4709
|
+
cloudStorageId = showProjectConfigRequest['cloud_storage_id'];
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
if (cloudStorageId === null || cloudStorageId === undefined) {
|
|
4713
|
+
throw new RequiredError('cloudStorageId', 'Required parameter cloudStorageId was null or undefined when calling showProjectConfig.');
|
|
4714
|
+
}
|
|
4715
|
+
options.pathParams = { 'cloud_storage_id': cloudStorageId, };
|
|
4716
|
+
options.headers = localVarHeaderParameter;
|
|
4717
|
+
return options;
|
|
4718
|
+
},
|
|
4719
|
+
/**
|
|
4720
|
+
* 创建个人文件夹。
|
|
4721
|
+
*
|
|
4722
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4723
|
+
*/
|
|
4724
|
+
updateCloudUserFolderAssignment(updateCloudUserFolderAssignmentRequest) {
|
|
4725
|
+
const options = {
|
|
4726
|
+
method: "PATCH",
|
|
4727
|
+
url: "/v1/{project_id}/cloud-storages/{storage_id}/actions/update-folder/{cloud_assignment_id}",
|
|
4728
|
+
contentType: "application/json",
|
|
4729
|
+
queryParams: {},
|
|
4730
|
+
pathParams: {},
|
|
4731
|
+
headers: {},
|
|
4732
|
+
data: {}
|
|
4733
|
+
};
|
|
4734
|
+
const localVarHeaderParameter = {};
|
|
4735
|
+
let body;
|
|
4736
|
+
let storageId;
|
|
4737
|
+
let cloudAssignmentId;
|
|
4738
|
+
if (updateCloudUserFolderAssignmentRequest !== null && updateCloudUserFolderAssignmentRequest !== undefined) {
|
|
4739
|
+
if (updateCloudUserFolderAssignmentRequest instanceof UpdateCloudUserFolderAssignmentRequest_1.UpdateCloudUserFolderAssignmentRequest) {
|
|
4740
|
+
storageId = updateCloudUserFolderAssignmentRequest.storageId;
|
|
4741
|
+
cloudAssignmentId = updateCloudUserFolderAssignmentRequest.cloudAssignmentId;
|
|
4742
|
+
body = updateCloudUserFolderAssignmentRequest.body;
|
|
4743
|
+
}
|
|
4744
|
+
else {
|
|
4745
|
+
storageId = updateCloudUserFolderAssignmentRequest['storage_id'];
|
|
4746
|
+
cloudAssignmentId = updateCloudUserFolderAssignmentRequest['cloud_assignment_id'];
|
|
4747
|
+
body = updateCloudUserFolderAssignmentRequest['body'];
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
if (storageId === null || storageId === undefined) {
|
|
4751
|
+
throw new RequiredError('storageId', 'Required parameter storageId was null or undefined when calling updateCloudUserFolderAssignment.');
|
|
4752
|
+
}
|
|
4753
|
+
if (cloudAssignmentId === null || cloudAssignmentId === undefined) {
|
|
4754
|
+
throw new RequiredError('cloudAssignmentId', 'Required parameter cloudAssignmentId was null or undefined when calling updateCloudUserFolderAssignment.');
|
|
4755
|
+
}
|
|
4756
|
+
if (body === null || body === undefined) {
|
|
4757
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4758
|
+
}
|
|
4759
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4760
|
+
options.data = body !== undefined ? body : {};
|
|
4761
|
+
options.pathParams = { 'storage_id': storageId, 'cloud_assignment_id': cloudAssignmentId, };
|
|
4762
|
+
options.headers = localVarHeaderParameter;
|
|
4763
|
+
return options;
|
|
4764
|
+
},
|
|
4013
4765
|
/**
|
|
4014
4766
|
* 分发应用软件信息至镜像实例,管理员可以按需下载并安装应用软件。
|
|
4015
4767
|
* * 目前只支持来自云应用仓库的软件信息。
|
|
@@ -4256,7 +5008,7 @@ const ParamCreater = function () {
|
|
|
4256
5008
|
return options;
|
|
4257
5009
|
},
|
|
4258
5010
|
/**
|
|
4259
|
-
* 查询指定的镜像实例当前这个接口的查询数据和list
|
|
5011
|
+
* 查询指定的镜像实例当前这个接口的查询数据和list查询的一致。
|
|
4260
5012
|
*
|
|
4261
5013
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4262
5014
|
*/
|
|
@@ -4441,7 +5193,7 @@ const ParamCreater = function () {
|
|
|
4441
5193
|
return options;
|
|
4442
5194
|
},
|
|
4443
5195
|
/**
|
|
4444
|
-
*
|
|
5196
|
+
* 该接口用于查询租户的异步任务执行情况。
|
|
4445
5197
|
*
|
|
4446
5198
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4447
5199
|
*/
|
|
@@ -4494,7 +5246,7 @@ const ParamCreater = function () {
|
|
|
4494
5246
|
return options;
|
|
4495
5247
|
},
|
|
4496
5248
|
/**
|
|
4497
|
-
* 该接口用于查询异步子任务执行情况,sub_job_ids非空时offset和limit
|
|
5249
|
+
* 该接口用于查询异步子任务执行情况,sub_job_ids非空时offset和limit不会生效。
|
|
4498
5250
|
*
|
|
4499
5251
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4500
5252
|
*/
|
|
@@ -4852,7 +5604,7 @@ const ParamCreater = function () {
|
|
|
4852
5604
|
return options;
|
|
4853
5605
|
},
|
|
4854
5606
|
/**
|
|
4855
|
-
*
|
|
5607
|
+
* 批量删除WKS存储。
|
|
4856
5608
|
*
|
|
4857
5609
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4858
5610
|
*/
|
|
@@ -5448,7 +6200,7 @@ const ParamCreater = function () {
|
|
|
5448
6200
|
return options;
|
|
5449
6201
|
},
|
|
5450
6202
|
/**
|
|
5451
|
-
*
|
|
6203
|
+
* 新增策略组,通过策略组能灵活地控制客户端访问与接入策略,如:文件、剪切板、会话等。
|
|
5452
6204
|
*
|
|
5453
6205
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
5454
6206
|
*/
|
|
@@ -8155,7 +8907,7 @@ const ParamCreater = function () {
|
|
|
8155
8907
|
return options;
|
|
8156
8908
|
},
|
|
8157
8909
|
/**
|
|
8158
|
-
*
|
|
8910
|
+
* 查询租户在所有服务器组上的资源标签集合。
|
|
8159
8911
|
*
|
|
8160
8912
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
8161
8913
|
*/
|
|
@@ -8173,7 +8925,7 @@ const ParamCreater = function () {
|
|
|
8173
8925
|
return options;
|
|
8174
8926
|
},
|
|
8175
8927
|
/**
|
|
8176
|
-
*
|
|
8928
|
+
* 查询指定服务器组的标签信息。
|
|
8177
8929
|
*
|
|
8178
8930
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
8179
8931
|
*/
|