@huaweicloud/huaweicloud-sdk-workspace 3.1.182 → 3.1.183
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/v2/WorkspaceClient.d.ts +134 -11
- package/v2/WorkspaceClient.d.ts.map +1 -1
- package/v2/WorkspaceClient.js +337 -23
- package/v2/WorkspaceClient.js.map +1 -1
- package/v2/model/AdDomain.d.ts +5 -0
- package/v2/model/AdDomain.d.ts.map +1 -1
- package/v2/model/AdDomain.js +10 -0
- package/v2/model/AdDomain.js.map +1 -1
- package/v2/model/AdInfo.d.ts +5 -0
- package/v2/model/AdInfo.d.ts.map +1 -1
- package/v2/model/AdInfo.js +10 -0
- package/v2/model/AdInfo.js.map +1 -1
- package/v2/model/AddDesktopPoolVolumesReq.d.ts +17 -0
- package/v2/model/AddDesktopPoolVolumesReq.d.ts.map +1 -1
- package/v2/model/AddDesktopPoolVolumesReq.js +31 -1
- package/v2/model/AddDesktopPoolVolumesReq.js.map +1 -1
- package/v2/model/ApplyWorkspaceAdDomain.d.ts +65 -0
- package/v2/model/ApplyWorkspaceAdDomain.d.ts.map +1 -0
- package/v2/model/ApplyWorkspaceAdDomain.js +149 -0
- package/v2/model/ApplyWorkspaceAdDomain.js.map +1 -0
- package/v2/model/ApplyWorkspaceReq.d.ts +5 -5
- package/v2/model/ApplyWorkspaceReq.d.ts.map +1 -1
- package/v2/model/ApplyWorkspaceReq.js.map +1 -1
- package/v2/model/AttachInstancesReq.d.ts +9 -0
- package/v2/model/AttachInstancesReq.d.ts.map +1 -1
- package/v2/model/AttachInstancesReq.js +20 -0
- package/v2/model/AttachInstancesReq.js.map +1 -1
- package/v2/model/AttachInstancesUserInfo.d.ts +1 -1
- package/v2/model/AttachInstancesUserInfo.d.ts.map +1 -1
- package/v2/model/AttachInstancesUserInfo.js +3 -1
- package/v2/model/AttachInstancesUserInfo.js.map +1 -1
- package/v2/model/{AvailabilityZoneInfo.d.ts → AvailabilityZone.d.ts} +9 -9
- package/v2/model/AvailabilityZone.d.ts.map +1 -0
- package/v2/model/{AvailabilityZoneInfo.js → AvailabilityZone.js} +4 -4
- package/v2/model/AvailabilityZone.js.map +1 -0
- package/v2/model/BaseResponse.d.ts +4 -0
- package/v2/model/BaseResponse.d.ts.map +1 -1
- package/v2/model/BaseResponse.js +10 -0
- package/v2/model/BaseResponse.js.map +1 -1
- package/v2/model/BatchInquiryCommonInfo.d.ts +12 -3
- package/v2/model/BatchInquiryCommonInfo.d.ts.map +1 -1
- package/v2/model/BatchInquiryCommonInfo.js +11 -1
- package/v2/model/BatchInquiryCommonInfo.js.map +1 -1
- package/v2/model/BatchRebuildDesktopsSystemDiskResponse.d.ts +4 -0
- package/v2/model/BatchRebuildDesktopsSystemDiskResponse.d.ts.map +1 -1
- package/v2/model/BatchRebuildDesktopsSystemDiskResponse.js +10 -0
- package/v2/model/BatchRebuildDesktopsSystemDiskResponse.js.map +1 -1
- package/v2/model/CheckCidrRequest.d.ts +7 -0
- package/v2/model/CheckCidrRequest.d.ts.map +1 -0
- package/v2/model/CheckCidrRequest.js +13 -0
- package/v2/model/CheckCidrRequest.js.map +1 -0
- package/v2/model/CheckCidrRequestBody.d.ts +12 -0
- package/v2/model/CheckCidrRequestBody.d.ts.map +1 -0
- package/v2/model/CheckCidrRequestBody.js +29 -0
- package/v2/model/CheckCidrRequestBody.js.map +1 -0
- package/v2/model/CheckCidrResponse.d.ts +13 -0
- package/v2/model/CheckCidrResponse.d.ts.map +1 -0
- package/v2/model/CheckCidrResponse.js +31 -0
- package/v2/model/CheckCidrResponse.js.map +1 -0
- package/v2/model/CheckEdgeSiteResourcesReq.d.ts +3 -3
- package/v2/model/CheckEdgeSiteResourcesReq.d.ts.map +1 -1
- package/v2/model/CheckEdgeSiteResourcesReq.js.map +1 -1
- package/v2/model/CheckEdgeSiteResourcesVolume.d.ts +8 -0
- package/v2/model/CheckEdgeSiteResourcesVolume.d.ts.map +1 -0
- package/v2/model/CheckEdgeSiteResourcesVolume.js +19 -0
- package/v2/model/CheckEdgeSiteResourcesVolume.js.map +1 -0
- package/v2/model/CreateBatchChangeOrderRequestBody.d.ts +4 -0
- package/v2/model/CreateBatchChangeOrderRequestBody.d.ts.map +1 -1
- package/v2/model/CreateBatchChangeOrderRequestBody.js +10 -0
- package/v2/model/CreateBatchChangeOrderRequestBody.js.map +1 -1
- package/v2/model/CreateCertSignatureReq.d.ts +1 -5
- package/v2/model/CreateCertSignatureReq.d.ts.map +1 -1
- package/v2/model/CreateCertSignatureReq.js +1 -12
- package/v2/model/CreateCertSignatureReq.js.map +1 -1
- package/v2/model/CreateChangeImageOrderRequestBody.d.ts +21 -3
- package/v2/model/CreateChangeImageOrderRequestBody.d.ts.map +1 -1
- package/v2/model/CreateChangeImageOrderRequestBody.js +31 -1
- package/v2/model/CreateChangeImageOrderRequestBody.js.map +1 -1
- package/v2/model/CreateChangeOrderReq.d.ts +4 -0
- package/v2/model/CreateChangeOrderReq.d.ts.map +1 -1
- package/v2/model/CreateChangeOrderReq.js +10 -0
- package/v2/model/CreateChangeOrderReq.js.map +1 -1
- package/v2/model/CreateDeleteSubResourcesOrderRequestBody.d.ts +12 -3
- package/v2/model/CreateDeleteSubResourcesOrderRequestBody.d.ts.map +1 -1
- package/v2/model/CreateDeleteSubResourcesOrderRequestBody.js +11 -1
- package/v2/model/CreateDeleteSubResourcesOrderRequestBody.js.map +1 -1
- package/v2/model/CreateDesktopPoolReq.d.ts +4 -4
- package/v2/model/CreateDesktopPoolReq.d.ts.map +1 -1
- package/v2/model/CreateDesktopPoolReq.js.map +1 -1
- package/v2/model/CreateDesktopReq.d.ts +8 -4
- package/v2/model/CreateDesktopReq.d.ts.map +1 -1
- package/v2/model/CreateDesktopReq.js +10 -0
- package/v2/model/CreateDesktopReq.js.map +1 -1
- package/v2/model/CreateResizeOrderRequestBody.d.ts +12 -3
- package/v2/model/CreateResizeOrderRequestBody.d.ts.map +1 -1
- package/v2/model/CreateResizeOrderRequestBody.js +11 -1
- package/v2/model/CreateResizeOrderRequestBody.js.map +1 -1
- package/v2/model/CreateResourcePackageOrderReq.d.ts +5 -5
- package/v2/model/CreateResourcePackageOrderReq.d.ts.map +1 -1
- package/v2/model/CreateResourcePackageOrderReq.js.map +1 -1
- package/v2/model/CreateScheduledTasksReq.d.ts +2 -1
- package/v2/model/CreateScheduledTasksReq.d.ts.map +1 -1
- package/v2/model/CreateScheduledTasksReq.js +1 -0
- package/v2/model/CreateScheduledTasksReq.js.map +1 -1
- package/v2/model/CreateScheduledTasksResponse.d.ts +4 -0
- package/v2/model/CreateScheduledTasksResponse.d.ts.map +1 -1
- package/v2/model/CreateScheduledTasksResponse.js +10 -0
- package/v2/model/CreateScheduledTasksResponse.js.map +1 -1
- package/v2/model/DeleteDesktopPoolVolumesReq.d.ts +20 -3
- package/v2/model/DeleteDesktopPoolVolumesReq.d.ts.map +1 -1
- package/v2/model/DeleteDesktopPoolVolumesReq.js +31 -1
- package/v2/model/DeleteDesktopPoolVolumesReq.js.map +1 -1
- package/v2/model/DeleteDesktopPoolVolumesReqVolumes.d.ts +6 -0
- package/v2/model/DeleteDesktopPoolVolumesReqVolumes.d.ts.map +1 -0
- package/v2/model/DeleteDesktopPoolVolumesReqVolumes.js +14 -0
- package/v2/model/DeleteDesktopPoolVolumesReqVolumes.js.map +1 -0
- package/v2/model/DesktopDetailInfo.d.ts +4 -0
- package/v2/model/DesktopDetailInfo.d.ts.map +1 -1
- package/v2/model/DesktopDetailInfo.js +10 -0
- package/v2/model/DesktopDetailInfo.js.map +1 -1
- package/v2/model/DesktopPoolVolumeInfo.d.ts +4 -0
- package/v2/model/DesktopPoolVolumeInfo.d.ts.map +1 -1
- package/v2/model/DesktopPoolVolumeInfo.js +10 -0
- package/v2/model/DesktopPoolVolumeInfo.js.map +1 -1
- package/v2/model/DesktopToImageReq.d.ts +4 -0
- package/v2/model/DesktopToImageReq.d.ts.map +1 -1
- package/v2/model/DesktopToImageReq.js +10 -0
- package/v2/model/DesktopToImageReq.js.map +1 -1
- package/v2/model/DetachInstancesDesktopInfo.d.ts +4 -4
- package/v2/model/DetachInstancesUserInfo.d.ts +28 -0
- package/v2/model/DetachInstancesUserInfo.d.ts.map +1 -0
- package/v2/model/DetachInstancesUserInfo.js +57 -0
- package/v2/model/DetachInstancesUserInfo.js.map +1 -0
- package/v2/model/DomainController.d.ts +12 -0
- package/v2/model/DomainController.d.ts.map +1 -0
- package/v2/model/DomainController.js +31 -0
- package/v2/model/DomainController.js.map +1 -0
- package/v2/model/EncryptType.d.ts +4 -0
- package/v2/model/EncryptType.d.ts.map +1 -0
- package/v2/model/EncryptType.js +9 -0
- package/v2/model/EncryptType.js.map +1 -0
- package/v2/model/EstimateAddSubResourcesRequestBody.d.ts +12 -3
- package/v2/model/EstimateAddSubResourcesRequestBody.d.ts.map +1 -1
- package/v2/model/EstimateAddSubResourcesRequestBody.js +11 -1
- package/v2/model/EstimateAddSubResourcesRequestBody.js.map +1 -1
- package/v2/model/EstimateAddVolumeRequestBody.d.ts +12 -3
- package/v2/model/EstimateAddVolumeRequestBody.d.ts.map +1 -1
- package/v2/model/EstimateAddVolumeRequestBody.js +11 -1
- package/v2/model/EstimateAddVolumeRequestBody.js.map +1 -1
- package/v2/model/EstimateChangeImageRequestBody.d.ts +12 -3
- package/v2/model/EstimateChangeImageRequestBody.d.ts.map +1 -1
- package/v2/model/EstimateChangeImageRequestBody.js +11 -1
- package/v2/model/EstimateChangeImageRequestBody.js.map +1 -1
- package/v2/model/EstimateExtendVolumeRequestBody.d.ts +12 -3
- package/v2/model/EstimateExtendVolumeRequestBody.d.ts.map +1 -1
- package/v2/model/EstimateExtendVolumeRequestBody.js +11 -1
- package/v2/model/EstimateExtendVolumeRequestBody.js.map +1 -1
- package/v2/model/EstimateResizeRequestBody.d.ts +12 -3
- package/v2/model/EstimateResizeRequestBody.d.ts.map +1 -1
- package/v2/model/EstimateResizeRequestBody.js +11 -1
- package/v2/model/EstimateResizeRequestBody.js.map +1 -1
- package/v2/model/ExpandDesktopPoolVolumesReq.d.ts +20 -3
- package/v2/model/ExpandDesktopPoolVolumesReq.d.ts.map +1 -1
- package/v2/model/ExpandDesktopPoolVolumesReq.js +31 -1
- package/v2/model/ExpandDesktopPoolVolumesReq.js.map +1 -1
- package/v2/model/ExpandDesktopPoolVolumesReqVolumes.d.ts +8 -0
- package/v2/model/ExpandDesktopPoolVolumesReqVolumes.d.ts.map +1 -0
- package/v2/model/ExpandDesktopPoolVolumesReqVolumes.js +19 -0
- package/v2/model/ExpandDesktopPoolVolumesReqVolumes.js.map +1 -0
- package/v2/model/ExportUserConnectionNewRequest.d.ts +4 -0
- package/v2/model/ExportUserConnectionNewRequest.d.ts.map +1 -1
- package/v2/model/ExportUserConnectionNewRequest.js +10 -0
- package/v2/model/ExportUserConnectionNewRequest.js.map +1 -1
- package/v2/model/{ExportUsersV3Req.d.ts → ExportUsersNewReq.d.ts} +7 -7
- package/v2/model/ExportUsersNewReq.d.ts.map +1 -0
- package/v2/model/{ExportUsersV3Req.js → ExportUsersNewReq.js} +4 -4
- package/v2/model/ExportUsersNewReq.js.map +1 -0
- package/v2/model/ExportUsersNewRequest.d.ts +3 -3
- package/v2/model/ExportUsersNewRequest.d.ts.map +1 -1
- package/v2/model/ExportUsersNewRequest.js.map +1 -1
- package/v2/model/I18n.d.ts +8 -0
- package/v2/model/I18n.d.ts.map +1 -1
- package/v2/model/I18n.js +20 -0
- package/v2/model/I18n.js.map +1 -1
- package/v2/model/ImportCertificatePemReq.d.ts +1 -5
- package/v2/model/ImportCertificatePemReq.d.ts.map +1 -1
- package/v2/model/ImportCertificatePemReq.js +1 -12
- package/v2/model/ImportCertificatePemReq.js.map +1 -1
- package/v2/model/ImportPolicyGroupsResponse.d.ts +4 -0
- package/v2/model/ImportPolicyGroupsResponse.d.ts.map +1 -1
- package/v2/model/ImportPolicyGroupsResponse.js +10 -0
- package/v2/model/ImportPolicyGroupsResponse.js.map +1 -1
- package/v2/model/ImportUserListResponse.d.ts +4 -0
- package/v2/model/ImportUserListResponse.d.ts.map +1 -1
- package/v2/model/ImportUserListResponse.js +10 -0
- package/v2/model/ImportUserListResponse.js.map +1 -1
- package/v2/model/ListAppAuthorizationsRequest.d.ts +4 -0
- package/v2/model/ListAppAuthorizationsRequest.d.ts.map +1 -1
- package/v2/model/ListAppAuthorizationsRequest.js +10 -0
- package/v2/model/ListAppAuthorizationsRequest.js.map +1 -1
- package/v2/model/ListAvailabilityZonesResponse.d.ts +4 -4
- package/v2/model/ListAvailabilityZonesResponse.d.ts.map +1 -1
- package/v2/model/ListAvailabilityZonesResponse.js.map +1 -1
- package/v2/model/ListDesktopsByTagsRequest.d.ts +7 -0
- package/v2/model/ListDesktopsByTagsRequest.d.ts.map +1 -0
- package/v2/model/ListDesktopsByTagsRequest.js +13 -0
- package/v2/model/ListDesktopsByTagsRequest.js.map +1 -0
- package/v2/model/ListDesktopsByTagsResponse.d.ts +14 -0
- package/v2/model/ListDesktopsByTagsResponse.d.ts.map +1 -0
- package/v2/model/ListDesktopsByTagsResponse.js +29 -0
- package/v2/model/ListDesktopsByTagsResponse.js.map +1 -0
- package/v2/model/ListHourPackagesTypeRequest.d.ts +4 -0
- package/v2/model/ListHourPackagesTypeRequest.d.ts.map +1 -1
- package/v2/model/ListHourPackagesTypeRequest.js +8 -0
- package/v2/model/ListHourPackagesTypeRequest.js.map +1 -1
- package/v2/model/ListLoginRecordsNewRequest.d.ts +8 -4
- package/v2/model/ListLoginRecordsNewRequest.d.ts.map +1 -1
- package/v2/model/ListLoginRecordsNewRequest.js +20 -10
- package/v2/model/ListLoginRecordsNewRequest.js.map +1 -1
- package/v2/model/ListMetricsRequest.d.ts +2 -2
- package/v2/model/ListMetricsRequest.d.ts.map +1 -1
- package/v2/model/ListMetricsRequest.js +4 -4
- package/v2/model/ListMetricsRequest.js.map +1 -1
- package/v2/model/ListMetricsTrendRequest.d.ts +2 -2
- package/v2/model/ListMetricsTrendRequest.d.ts.map +1 -1
- package/v2/model/ListMetricsTrendRequest.js +4 -4
- package/v2/model/ListMetricsTrendRequest.js.map +1 -1
- package/v2/model/ListNatGatewaysRequest.d.ts +2 -0
- package/v2/model/ListNatGatewaysRequest.d.ts.map +1 -1
- package/v2/model/ListNatGatewaysRequest.js +4 -0
- package/v2/model/ListNatGatewaysRequest.js.map +1 -1
- package/v2/model/ListNotificationRecordsRequest.d.ts +65 -0
- package/v2/model/ListNotificationRecordsRequest.d.ts.map +1 -0
- package/v2/model/ListNotificationRecordsRequest.js +117 -0
- package/v2/model/ListNotificationRecordsRequest.js.map +1 -0
- package/v2/model/ListNotificationRecordsResponse.d.ts +14 -0
- package/v2/model/ListNotificationRecordsResponse.d.ts.map +1 -0
- package/v2/model/ListNotificationRecordsResponse.js +31 -0
- package/v2/model/ListNotificationRecordsResponse.js.map +1 -0
- package/v2/model/ListPoolDesktopsDetailResponse.d.ts +16 -0
- package/v2/model/ListPoolDesktopsDetailResponse.d.ts.map +1 -1
- package/v2/model/ListPoolDesktopsDetailResponse.js +40 -0
- package/v2/model/ListPoolDesktopsDetailResponse.js.map +1 -1
- package/v2/model/ListSecurityGroupsResponse.d.ts +4 -4
- package/v2/model/ListSecurityGroupsResponse.d.ts.map +1 -1
- package/v2/model/ListSecurityGroupsResponse.js.map +1 -1
- package/v2/model/ListSubnetsResponse.d.ts +3 -3
- package/v2/model/ListSubnetsResponse.d.ts.map +1 -1
- package/v2/model/ListSubnetsResponse.js.map +1 -1
- package/v2/model/ListWksEdgeSitesRequest.d.ts +4 -0
- package/v2/model/ListWksEdgeSitesRequest.d.ts.map +1 -1
- package/v2/model/ListWksEdgeSitesRequest.js +8 -0
- package/v2/model/ListWksEdgeSitesRequest.js.map +1 -1
- package/v2/model/MonitorUserOnlineInfo.d.ts +4 -0
- package/v2/model/MonitorUserOnlineInfo.d.ts.map +1 -1
- package/v2/model/MonitorUserOnlineInfo.js +10 -0
- package/v2/model/MonitorUserOnlineInfo.js.map +1 -1
- package/v2/model/NotificationRecordInfo.d.ts +32 -0
- package/v2/model/NotificationRecordInfo.d.ts.map +1 -0
- package/v2/model/NotificationRecordInfo.js +77 -0
- package/v2/model/NotificationRecordInfo.js.map +1 -0
- package/v2/model/Policies.d.ts +10 -0
- package/v2/model/Policies.d.ts.map +1 -1
- package/v2/model/Policies.js +20 -0
- package/v2/model/Policies.js.map +1 -1
- package/v2/model/PoliciesCloudStorage.d.ts +11 -0
- package/v2/model/PoliciesCloudStorage.d.ts.map +1 -0
- package/v2/model/PoliciesCloudStorage.js +23 -0
- package/v2/model/PoliciesCloudStorage.js.map +1 -0
- package/v2/model/PoliciesCloudStorageOptions.d.ts +8 -0
- package/v2/model/PoliciesCloudStorageOptions.d.ts.map +1 -0
- package/v2/model/PoliciesCloudStorageOptions.js +19 -0
- package/v2/model/PoliciesCloudStorageOptions.js.map +1 -0
- package/v2/model/PoliciesPeripheralsDeviceRedirectionPrinterRedirectionOptions.d.ts +4 -0
- package/v2/model/PoliciesPeripheralsDeviceRedirectionPrinterRedirectionOptions.d.ts.map +1 -1
- package/v2/model/PoliciesPeripheralsDeviceRedirectionPrinterRedirectionOptions.js +10 -0
- package/v2/model/PoliciesPeripheralsDeviceRedirectionPrinterRedirectionOptions.js.map +1 -1
- package/v2/model/PoliciesUserProfile.d.ts +11 -0
- package/v2/model/PoliciesUserProfile.d.ts.map +1 -0
- package/v2/model/PoliciesUserProfile.js +23 -0
- package/v2/model/PoliciesUserProfile.js.map +1 -0
- package/v2/model/PoliciesUserProfileOptions.d.ts +32 -0
- package/v2/model/PoliciesUserProfileOptions.d.ts.map +1 -0
- package/v2/model/PoliciesUserProfileOptions.js +79 -0
- package/v2/model/PoliciesUserProfileOptions.js.map +1 -0
- package/v2/model/PoolDesktopsDetailInfo.d.ts +4 -0
- package/v2/model/PoolDesktopsDetailInfo.d.ts.map +1 -1
- package/v2/model/PoolDesktopsDetailInfo.js +10 -0
- package/v2/model/PoolDesktopsDetailInfo.js.map +1 -1
- package/v2/model/Product.d.ts +0 -4
- package/v2/model/Product.d.ts.map +1 -1
- package/v2/model/Product.js +0 -10
- package/v2/model/Product.js.map +1 -1
- package/v2/model/RebuildDesktopPoolReq.d.ts +21 -3
- package/v2/model/RebuildDesktopPoolReq.d.ts.map +1 -1
- package/v2/model/RebuildDesktopPoolReq.js +31 -1
- package/v2/model/RebuildDesktopPoolReq.js.map +1 -1
- package/v2/model/RebuildDesktopsReq.d.ts +9 -0
- package/v2/model/RebuildDesktopsReq.d.ts.map +1 -1
- package/v2/model/RebuildDesktopsReq.js +20 -0
- package/v2/model/RebuildDesktopsReq.js.map +1 -1
- package/v2/model/ResizeDesktopPoolReq.d.ts +17 -0
- package/v2/model/ResizeDesktopPoolReq.d.ts.map +1 -1
- package/v2/model/ResizeDesktopPoolReq.js +31 -1
- package/v2/model/ResizeDesktopPoolReq.js.map +1 -1
- package/v2/model/ScheduledTask.d.ts +8 -0
- package/v2/model/ScheduledTask.d.ts.map +1 -1
- package/v2/model/ScheduledTask.js +20 -0
- package/v2/model/ScheduledTask.js.map +1 -1
- package/v2/model/ScheduledTasksRecords.d.ts +8 -0
- package/v2/model/ScheduledTasksRecords.d.ts.map +1 -1
- package/v2/model/ScheduledTasksRecords.js +20 -0
- package/v2/model/ScheduledTasksRecords.js.map +1 -1
- package/v2/model/SecurityGroupIdInfo.d.ts +6 -0
- package/v2/model/SecurityGroupIdInfo.d.ts.map +1 -0
- package/v2/model/SecurityGroupIdInfo.js +14 -0
- package/v2/model/SecurityGroupIdInfo.js.map +1 -0
- package/v2/model/ShowGrowthRateRequest.d.ts +6 -6
- package/v2/model/ShowGrowthRateRequest.d.ts.map +1 -1
- package/v2/model/ShowGrowthRateRequest.js +10 -10
- package/v2/model/ShowGrowthRateRequest.js.map +1 -1
- package/v2/model/SimpleDesktopInfo.d.ts +4 -0
- package/v2/model/SimpleDesktopInfo.d.ts.map +1 -1
- package/v2/model/SimpleDesktopInfo.js +10 -0
- package/v2/model/SimpleDesktopInfo.js.map +1 -1
- package/v2/model/SimpleSecurityGroupsInfo.d.ts +30 -0
- package/v2/model/SimpleSecurityGroupsInfo.d.ts.map +1 -0
- package/v2/model/SimpleSecurityGroupsInfo.js +71 -0
- package/v2/model/SimpleSecurityGroupsInfo.js.map +1 -0
- package/v2/model/SingleSubnetInfo.d.ts +54 -0
- package/v2/model/SingleSubnetInfo.d.ts.map +1 -0
- package/v2/model/SingleSubnetInfo.js +127 -0
- package/v2/model/SingleSubnetInfo.js.map +1 -0
- package/v2/model/SubCertData.d.ts +1 -5
- package/v2/model/SubCertData.d.ts.map +1 -1
- package/v2/model/SubCertData.js +1 -12
- package/v2/model/SubCertData.js.map +1 -1
- package/v2/model/SubscribeUserInfo.d.ts +12 -0
- package/v2/model/SubscribeUserInfo.d.ts.map +1 -0
- package/v2/model/SubscribeUserInfo.js +31 -0
- package/v2/model/SubscribeUserInfo.js.map +1 -0
- package/v2/model/SubscribeUserSharerReq.d.ts +4 -4
- package/v2/model/SubscribeUserSharerReq.d.ts.map +1 -1
- package/v2/model/SubscribeUserSharerReq.js.map +1 -1
- package/v2/model/UpdateDesktopPoolAttributesReq.d.ts +4 -4
- package/v2/model/UpdateDesktopPoolAttributesReq.d.ts.map +1 -1
- package/v2/model/UpdateDesktopPoolAttributesReq.js.map +1 -1
- package/v2/model/UpdateDesktopResponse.d.ts +4 -0
- package/v2/model/UpdateDesktopResponse.d.ts.map +1 -1
- package/v2/model/UpdateDesktopResponse.js +10 -0
- package/v2/model/UpdateDesktopResponse.js.map +1 -1
- package/v2/model/ValidateDcRequestBody.d.ts +30 -0
- package/v2/model/ValidateDcRequestBody.d.ts.map +1 -0
- package/v2/model/ValidateDcRequestBody.js +76 -0
- package/v2/model/ValidateDcRequestBody.js.map +1 -0
- package/v2/model/ValidateDomainControllerRequest.d.ts +7 -0
- package/v2/model/ValidateDomainControllerRequest.d.ts.map +1 -0
- package/v2/model/ValidateDomainControllerRequest.js +13 -0
- package/v2/model/ValidateDomainControllerRequest.js.map +1 -0
- package/v2/model/ValidateDomainControllerResponse.d.ts +5 -0
- package/v2/model/ValidateDomainControllerResponse.d.ts.map +1 -0
- package/v2/model/ValidateDomainControllerResponse.js +11 -0
- package/v2/model/ValidateDomainControllerResponse.js.map +1 -0
- package/v2/model/Volume.d.ts +8 -0
- package/v2/model/Volume.d.ts.map +1 -1
- package/v2/model/Volume.js +18 -0
- package/v2/model/Volume.js.map +1 -1
- package/v2/model/VolumeAddInfo.d.ts +4 -0
- package/v2/model/VolumeAddInfo.d.ts.map +1 -1
- package/v2/model/VolumeAddInfo.js +10 -0
- package/v2/model/VolumeAddInfo.js.map +1 -1
- package/v2/model/VolumeDetail.d.ts +4 -0
- package/v2/model/VolumeDetail.d.ts.map +1 -1
- package/v2/model/VolumeDetail.js +10 -0
- package/v2/model/VolumeDetail.js.map +1 -1
- package/v2/model/VolumeInfo.d.ts +4 -0
- package/v2/model/VolumeInfo.d.ts.map +1 -1
- package/v2/model/VolumeInfo.js +10 -0
- package/v2/model/VolumeInfo.js.map +1 -1
- package/v2/public-api.d.ts +28 -2
- package/v2/public-api.d.ts.map +1 -1
- package/v2/public-api.js +28 -2
- package/v2/public-api.js.map +1 -1
- package/v2/model/AvailabilityZoneInfo.d.ts.map +0 -1
- package/v2/model/AvailabilityZoneInfo.js.map +0 -1
- package/v2/model/ExportUsersV3Req.d.ts.map +0 -1
- package/v2/model/ExportUsersV3Req.js.map +0 -1
package/v2/WorkspaceClient.js
CHANGED
|
@@ -59,6 +59,7 @@ const ChangeDesktopNetworkRequest_1 = require("./model/ChangeDesktopNetworkReque
|
|
|
59
59
|
const ChangeDesktopToImageRequest_1 = require("./model/ChangeDesktopToImageRequest");
|
|
60
60
|
const ChangeUserPrivilegeGroupRequest_1 = require("./model/ChangeUserPrivilegeGroupRequest");
|
|
61
61
|
const ChangeUserStatusRequest_1 = require("./model/ChangeUserStatusRequest");
|
|
62
|
+
const CheckCidrRequest_1 = require("./model/CheckCidrRequest");
|
|
62
63
|
const CheckDesktopImagesRequest_1 = require("./model/CheckDesktopImagesRequest");
|
|
63
64
|
const CheckEdgeSiteResourcesRequest_1 = require("./model/CheckEdgeSiteResourcesRequest");
|
|
64
65
|
const CheckEnterpriseIdRequest_1 = require("./model/CheckEnterpriseIdRequest");
|
|
@@ -171,6 +172,7 @@ const ListDesktopPoolsByUsersRequest_1 = require("./model/ListDesktopPoolsByUser
|
|
|
171
172
|
const ListDesktopPoolsRequest_1 = require("./model/ListDesktopPoolsRequest");
|
|
172
173
|
const ListDesktopSnapshotRequest_1 = require("./model/ListDesktopSnapshotRequest");
|
|
173
174
|
const ListDesktopUsageMetricRequest_1 = require("./model/ListDesktopUsageMetricRequest");
|
|
175
|
+
const ListDesktopsByTagsRequest_1 = require("./model/ListDesktopsByTagsRequest");
|
|
174
176
|
const ListDesktopsConnectStatusRequest_1 = require("./model/ListDesktopsConnectStatusRequest");
|
|
175
177
|
const ListDesktopsDetailRequest_1 = require("./model/ListDesktopsDetailRequest");
|
|
176
178
|
const ListDesktopsEipsRequest_1 = require("./model/ListDesktopsEipsRequest");
|
|
@@ -195,6 +197,7 @@ const ListMetricsRequest_1 = require("./model/ListMetricsRequest");
|
|
|
195
197
|
const ListMetricsTrendRequest_1 = require("./model/ListMetricsTrendRequest");
|
|
196
198
|
const ListNatGatewaysRequest_1 = require("./model/ListNatGatewaysRequest");
|
|
197
199
|
const ListNatMappingConfigsRequest_1 = require("./model/ListNatMappingConfigsRequest");
|
|
200
|
+
const ListNotificationRecordsRequest_1 = require("./model/ListNotificationRecordsRequest");
|
|
198
201
|
const ListOtpDevicesByUserIdRequest_1 = require("./model/ListOtpDevicesByUserIdRequest");
|
|
199
202
|
const ListOuDetailsRequest_1 = require("./model/ListOuDetailsRequest");
|
|
200
203
|
const ListPoliciesOfPolicyGroupRequest_1 = require("./model/ListPoliciesOfPolicyGroupRequest");
|
|
@@ -314,6 +317,7 @@ const UpdateUserInfoRequest_1 = require("./model/UpdateUserInfoRequest");
|
|
|
314
317
|
const UpdateWorkspaceRequest_1 = require("./model/UpdateWorkspaceRequest");
|
|
315
318
|
const UploadAppRequest_1 = require("./model/UploadAppRequest");
|
|
316
319
|
const ValidateConfigRequest_1 = require("./model/ValidateConfigRequest");
|
|
320
|
+
const ValidateDomainControllerRequest_1 = require("./model/ValidateDomainControllerRequest");
|
|
317
321
|
class WorkspaceClient {
|
|
318
322
|
static newBuilder() {
|
|
319
323
|
let client = new ClientBuilder_1.ClientBuilder(newClient);
|
|
@@ -728,6 +732,7 @@ class WorkspaceClient {
|
|
|
728
732
|
* @param {number} [limit] 单次查询的大小[1-100],默认值10。
|
|
729
733
|
* @param {string} [name] 用户名/用户组名。
|
|
730
734
|
* @param {string} [targetType] 类型: * `SIMPLE` - 普通用户 * `USER_GROUP` - 用户组
|
|
735
|
+
* @param {string} [assignType] 类型: * `ALL_USER` - 所有用户 * `ASSIGN_USER` - 部分用户
|
|
731
736
|
* @param {*} [options] Override http request option.
|
|
732
737
|
* @throws {RequiredError}
|
|
733
738
|
*/
|
|
@@ -1469,11 +1474,12 @@ class WorkspaceClient {
|
|
|
1469
1474
|
* @param {string} [userName] 登录桌面的用户名。
|
|
1470
1475
|
* @param {string} [computerName] 计算机名(操作系统信息中可见)。
|
|
1471
1476
|
* @param {string} [terminalType] 登录桌面的终端系统类型,当前支持:WI(云桌面客户端)。
|
|
1477
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。
|
|
1478
|
+
* @param {string} [publicIp] 终端出口IP。
|
|
1472
1479
|
* @param {number} [offset] 用于分页查询,查询的起始记录序号,从0开始。
|
|
1473
1480
|
* @param {number} [limit] 用于分页查询,返回登录记录数量限制,取值范围0-1000。如果不指定,默认为20。
|
|
1474
1481
|
* @param {number} [minNetworkRtt] 查询端到端时延的最小值。
|
|
1475
1482
|
* @param {number} [maxNetworkRtt] 查询端到端时延的最大值。
|
|
1476
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。
|
|
1477
1483
|
* @param {*} [options] Override http request option.
|
|
1478
1484
|
* @throws {RequiredError}
|
|
1479
1485
|
*/
|
|
@@ -1499,6 +1505,7 @@ class WorkspaceClient {
|
|
|
1499
1505
|
* @param {number} [minE2eRtt] 查询端到端时延的最小值。
|
|
1500
1506
|
* @param {number} [maxE2eRtt] 查询端到端时延的最大值。
|
|
1501
1507
|
* @param {string} [enterpriseProjectId] 企业项目ID。
|
|
1508
|
+
* @param {string} [publicIp] 客户端出口IP。
|
|
1502
1509
|
* @param {*} [options] Override http request option.
|
|
1503
1510
|
* @throws {RequiredError}
|
|
1504
1511
|
*/
|
|
@@ -2634,9 +2641,9 @@ class WorkspaceClient {
|
|
|
2634
2641
|
*
|
|
2635
2642
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2636
2643
|
*
|
|
2637
|
-
* @summary
|
|
2644
|
+
* @summary 批量添加或删除标签
|
|
2638
2645
|
* @param {string} desktopId 桌面id。
|
|
2639
|
-
* @param {TagsReq} batchChangeTagsRequestBody
|
|
2646
|
+
* @param {TagsReq} batchChangeTagsRequestBody 批量添加或删除标签。
|
|
2640
2647
|
* @param {*} [options] Override http request option.
|
|
2641
2648
|
* @throws {RequiredError}
|
|
2642
2649
|
*/
|
|
@@ -2652,7 +2659,7 @@ class WorkspaceClient {
|
|
|
2652
2659
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2653
2660
|
*
|
|
2654
2661
|
* @summary 批量删除多个桌面标签
|
|
2655
|
-
* @param {BatchDeleteDesktopsTagsReq} batchDeleteDesktopsTagsRequestBody
|
|
2662
|
+
* @param {BatchDeleteDesktopsTagsReq} batchDeleteDesktopsTagsRequestBody 批量添加或删除标签。
|
|
2656
2663
|
* @param {*} [options] Override http request option.
|
|
2657
2664
|
* @throws {RequiredError}
|
|
2658
2665
|
*/
|
|
@@ -2697,11 +2704,11 @@ class WorkspaceClient {
|
|
|
2697
2704
|
return this.hcClient.sendRequest(options);
|
|
2698
2705
|
}
|
|
2699
2706
|
/**
|
|
2700
|
-
*
|
|
2707
|
+
* 使用标签过滤桌面。该接口已废弃,请使用post /v2/{project_id}/desktops/resource-instances/action
|
|
2701
2708
|
*
|
|
2702
2709
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2703
2710
|
*
|
|
2704
|
-
* @summary
|
|
2711
|
+
* @summary 使用标签过滤桌面(已废弃)
|
|
2705
2712
|
* @param {QueryDesktopByTagReq} listDesktopByTagsRequestBody 开通云桌面服务请求。
|
|
2706
2713
|
* @param {*} [options] Override http request option.
|
|
2707
2714
|
* @throws {RequiredError}
|
|
@@ -2712,6 +2719,22 @@ class WorkspaceClient {
|
|
|
2712
2719
|
options['responseHeaders'] = [''];
|
|
2713
2720
|
return this.hcClient.sendRequest(options);
|
|
2714
2721
|
}
|
|
2722
|
+
/**
|
|
2723
|
+
* 使用标签过滤桌面。
|
|
2724
|
+
*
|
|
2725
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2726
|
+
*
|
|
2727
|
+
* @summary 使用标签过滤桌面
|
|
2728
|
+
* @param {QueryDesktopByTagReq} listDesktopsByTagsRequestBody 开通云桌面服务请求。
|
|
2729
|
+
* @param {*} [options] Override http request option.
|
|
2730
|
+
* @throws {RequiredError}
|
|
2731
|
+
*/
|
|
2732
|
+
listDesktopsByTags(listDesktopsByTagsRequest) {
|
|
2733
|
+
const options = (0, exports.ParamCreater)().listDesktopsByTags(listDesktopsByTagsRequest);
|
|
2734
|
+
// @ts-ignore
|
|
2735
|
+
options['responseHeaders'] = [''];
|
|
2736
|
+
return this.hcClient.sendRequest(options);
|
|
2737
|
+
}
|
|
2715
2738
|
/**
|
|
2716
2739
|
* 查询租户的所有标签集合。
|
|
2717
2740
|
*
|
|
@@ -3390,6 +3413,22 @@ class WorkspaceClient {
|
|
|
3390
3413
|
options['responseHeaders'] = [''];
|
|
3391
3414
|
return this.hcClient.sendRequest(options);
|
|
3392
3415
|
}
|
|
3416
|
+
/**
|
|
3417
|
+
* 该接口用于校验租户网段是否冲突,返回冲突网段列表
|
|
3418
|
+
*
|
|
3419
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3420
|
+
*
|
|
3421
|
+
* @summary 校验租户冲突网段
|
|
3422
|
+
* @param {CheckCidrRequestBody} checkCidrRequestBody 校验租户网络请求体
|
|
3423
|
+
* @param {*} [options] Override http request option.
|
|
3424
|
+
* @throws {RequiredError}
|
|
3425
|
+
*/
|
|
3426
|
+
checkCidr(checkCidrRequest) {
|
|
3427
|
+
const options = (0, exports.ParamCreater)().checkCidr(checkCidrRequest);
|
|
3428
|
+
// @ts-ignore
|
|
3429
|
+
options['responseHeaders'] = [''];
|
|
3430
|
+
return this.hcClient.sendRequest(options);
|
|
3431
|
+
}
|
|
3393
3432
|
/**
|
|
3394
3433
|
* 删除云办公带宽。
|
|
3395
3434
|
*
|
|
@@ -3462,6 +3501,7 @@ class WorkspaceClient {
|
|
|
3462
3501
|
* @param {Array<string>} [spec] 公网NAT网关实例的规格。取值为: \"1\":小型,SNAT最大连接数10000;\"2\":中型,SNAT最大连接数50000;\"3\":大型,SNAT最大连接数200000;\"4\":超大型,SNAT最大连接数1000000。
|
|
3463
3502
|
* @param {string} [routerId] VPC的id。
|
|
3464
3503
|
* @param {number} [limit] 功能说明:每页返回的个数。取值范围:1~2000。默认值:2000。
|
|
3504
|
+
* @param {number} [offset] 偏移量,默认0。
|
|
3465
3505
|
* @param {*} [options] Override http request option.
|
|
3466
3506
|
* @throws {RequiredError}
|
|
3467
3507
|
*/
|
|
@@ -3804,7 +3844,7 @@ class WorkspaceClient {
|
|
|
3804
3844
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3805
3845
|
*
|
|
3806
3846
|
* @summary 查询AD里的OU列表
|
|
3807
|
-
* @param {string} [domain]
|
|
3847
|
+
* @param {string} [domain] 域,默认查询主域。
|
|
3808
3848
|
* @param {number} [limit] 用于分页查询,返回桌面数量限制。如果不指定,则返回所有符合条件的桌面。
|
|
3809
3849
|
* @param {number} [offset] 用于分页查询,查询的起始记录序号,从0开始。
|
|
3810
3850
|
* @param {*} [options] Override http request option.
|
|
@@ -4104,6 +4144,8 @@ class WorkspaceClient {
|
|
|
4104
4144
|
* @summary 查询可订购小时包类型
|
|
4105
4145
|
* @param {string} [desktopResourceSpecCode] 小时包对应的按需桌面的资源规格编码。
|
|
4106
4146
|
* @param {string} [resourceSpecCode] 小时包的资源规格编码。
|
|
4147
|
+
* @param {number} [limit] 每页数量,范围0-1000,默认1000。
|
|
4148
|
+
* @param {number} [offset] 偏移量,默认0。
|
|
4107
4149
|
* @param {*} [options] Override http request option.
|
|
4108
4150
|
* @throws {RequiredError}
|
|
4109
4151
|
*/
|
|
@@ -4119,7 +4161,7 @@ class WorkspaceClient {
|
|
|
4119
4161
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4120
4162
|
*
|
|
4121
4163
|
* @summary 查询产品套餐列表
|
|
4122
|
-
* @param {string} [productId] 产品ID
|
|
4164
|
+
* @param {string} [productId] 产品ID。指定该参数会返回支持变更规格的套餐信息。
|
|
4123
4165
|
* @param {string} [availabilityZone] 可用分区。
|
|
4124
4166
|
* @param {string} [osType] 产品套餐的操作系统类型,当前支持:Windows、Linux。
|
|
4125
4167
|
* @param {string} [chargeMode] 周期套餐标识。0表示包周期,1表示按需。
|
|
@@ -4881,6 +4923,8 @@ class WorkspaceClient {
|
|
|
4881
4923
|
* @param {string} [name] 根据边缘小站名称查询。
|
|
4882
4924
|
* @param {string} [availabilityZoneId] 根据边缘可用区ID查询。
|
|
4883
4925
|
* @param {string} [status] 根据边缘小站部署状态查询。
|
|
4926
|
+
* @param {number} [limit] 每页数量,范围0-1000,默认1000。
|
|
4927
|
+
* @param {number} [offset] 偏移量,默认0。
|
|
4884
4928
|
* @param {*} [options] Override http request option.
|
|
4885
4929
|
* @throws {RequiredError}
|
|
4886
4930
|
*/
|
|
@@ -5301,8 +5345,8 @@ class WorkspaceClient {
|
|
|
5301
5345
|
*
|
|
5302
5346
|
* @summary 查询指标环比值
|
|
5303
5347
|
* @param {string} metricName 指标名称。
|
|
5304
|
-
* @param {'DAY' | 'MONTH'} [growPeriod] 环比周期 | DAY - 天 MONTH - 月。
|
|
5305
5348
|
* @param {string} [dim] 指标维度 | 目前最大支持3个维度,必须从0开始;维度格式为dim.{i}=key,value,key的最大长度32,value的最大长度为256。 单维度:dim.0=instance_id,6f3c6f91-4b24-4e1b-b7d1-a94ac1cb011d 多维度:dim.0=key,value&dim.1=key,value。
|
|
5349
|
+
* @param {'DAY' | 'MONTH'} [growPeriod] 环比周期 | DAY - 天 MONTH - 月。
|
|
5306
5350
|
* @param {*} [options] Override http request option.
|
|
5307
5351
|
* @throws {RequiredError}
|
|
5308
5352
|
*/
|
|
@@ -5732,6 +5776,30 @@ class WorkspaceClient {
|
|
|
5732
5776
|
options['responseHeaders'] = [''];
|
|
5733
5777
|
return this.hcClient.sendRequest(options);
|
|
5734
5778
|
}
|
|
5779
|
+
/**
|
|
5780
|
+
* 查询通知拦截记录
|
|
5781
|
+
*
|
|
5782
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
5783
|
+
*
|
|
5784
|
+
* @summary 查询通知拦截记录
|
|
5785
|
+
* @param {'DESKTOP' | 'DESKTOP_POOL'} queryType 通过该类型查询桌面或桌面池相关的通知拦截记录 - DESKTOP: 查找当前projectId下与桌面相关的通知拦截记录 - DESKTOP_POOL: 查找当前projectId下与桌面池相关的通知拦截记录
|
|
5786
|
+
* @param {string} [desktopName] 桌面名
|
|
5787
|
+
* @param {string} [desktopPoolName] 桌面池名称,桌面池名称必须保证唯一。桌面名称只允许输入中文、大写字母、小写字母、数字、中划线,长度范围为1~255。
|
|
5788
|
+
* @param {string} [userName] 用户名
|
|
5789
|
+
* @param {'EMAIL' | 'SMS'} [type] 过滤出与SMN通知类型一致的通知拦截记录 - EMAIL: 通过邮件查找通知拦截记录 - SMS: 通过短信查找通知拦截记录
|
|
5790
|
+
* @param {number} [offset] 用于分页查询,查询的起始记录序号,从0开始。
|
|
5791
|
+
* @param {number} [limit] 用于分页查询,取值范围0-1000,默认值1000。
|
|
5792
|
+
* @param {'operate_time'} [sortField] 排序字段名称,需要结合sort_type字段一起使用。 - operate_time 发送时间
|
|
5793
|
+
* @param {'ASC' | 'DESC'} [sortType] 排序类型,默认升序,需要结合sort_field字段一起使用。 - ASC 升序。 - DESC 降序。
|
|
5794
|
+
* @param {*} [options] Override http request option.
|
|
5795
|
+
* @throws {RequiredError}
|
|
5796
|
+
*/
|
|
5797
|
+
listNotificationRecords(listNotificationRecordsRequest) {
|
|
5798
|
+
const options = (0, exports.ParamCreater)().listNotificationRecords(listNotificationRecordsRequest);
|
|
5799
|
+
// @ts-ignore
|
|
5800
|
+
options['responseHeaders'] = [''];
|
|
5801
|
+
return this.hcClient.sendRequest(options);
|
|
5802
|
+
}
|
|
5735
5803
|
/**
|
|
5736
5804
|
* 该接口用于查询相应用户下面的OTP设备。
|
|
5737
5805
|
*
|
|
@@ -5902,7 +5970,7 @@ class WorkspaceClient {
|
|
|
5902
5970
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
5903
5971
|
*
|
|
5904
5972
|
* @summary 导出用户
|
|
5905
|
-
* @param {
|
|
5973
|
+
* @param {ExportUsersNewReq} exportUsersNewRequestBody 导出用户请求。
|
|
5906
5974
|
* @param {*} [options] Override http request option.
|
|
5907
5975
|
* @throws {RequiredError}
|
|
5908
5976
|
*/
|
|
@@ -6156,6 +6224,22 @@ class WorkspaceClient {
|
|
|
6156
6224
|
options['responseHeaders'] = [''];
|
|
6157
6225
|
return this.hcClient.sendRequest(options);
|
|
6158
6226
|
}
|
|
6227
|
+
/**
|
|
6228
|
+
* 校验域控有效性。
|
|
6229
|
+
*
|
|
6230
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6231
|
+
*
|
|
6232
|
+
* @summary 校验域控有效性
|
|
6233
|
+
* @param {ValidateDcRequestBody} validateDomainControllerRequestBody 校验域控有效性请求。
|
|
6234
|
+
* @param {*} [options] Override http request option.
|
|
6235
|
+
* @throws {RequiredError}
|
|
6236
|
+
*/
|
|
6237
|
+
validateDomainController(validateDomainControllerRequest) {
|
|
6238
|
+
const options = (0, exports.ParamCreater)().validateDomainController(validateDomainControllerRequest);
|
|
6239
|
+
// @ts-ignore
|
|
6240
|
+
options['responseHeaders'] = [''];
|
|
6241
|
+
return this.hcClient.sendRequest(options);
|
|
6242
|
+
}
|
|
6159
6243
|
}
|
|
6160
6244
|
exports.WorkspaceClient = WorkspaceClient;
|
|
6161
6245
|
const ParamCreater = function () {
|
|
@@ -6987,6 +7071,7 @@ const ParamCreater = function () {
|
|
|
6987
7071
|
let limit;
|
|
6988
7072
|
let name;
|
|
6989
7073
|
let targetType;
|
|
7074
|
+
let assignType;
|
|
6990
7075
|
if (listAppAuthorizationsRequest !== null && listAppAuthorizationsRequest !== undefined) {
|
|
6991
7076
|
if (listAppAuthorizationsRequest instanceof ListAppAuthorizationsRequest_1.ListAppAuthorizationsRequest) {
|
|
6992
7077
|
appId = listAppAuthorizationsRequest.appId;
|
|
@@ -6994,6 +7079,7 @@ const ParamCreater = function () {
|
|
|
6994
7079
|
limit = listAppAuthorizationsRequest.limit;
|
|
6995
7080
|
name = listAppAuthorizationsRequest.name;
|
|
6996
7081
|
targetType = listAppAuthorizationsRequest.targetType;
|
|
7082
|
+
assignType = listAppAuthorizationsRequest.assignType;
|
|
6997
7083
|
}
|
|
6998
7084
|
else {
|
|
6999
7085
|
appId = listAppAuthorizationsRequest['app_id'];
|
|
@@ -7001,6 +7087,7 @@ const ParamCreater = function () {
|
|
|
7001
7087
|
limit = listAppAuthorizationsRequest['limit'];
|
|
7002
7088
|
name = listAppAuthorizationsRequest['name'];
|
|
7003
7089
|
targetType = listAppAuthorizationsRequest['target_type'];
|
|
7090
|
+
assignType = listAppAuthorizationsRequest['assign_type'];
|
|
7004
7091
|
}
|
|
7005
7092
|
}
|
|
7006
7093
|
if (appId === null || appId === undefined) {
|
|
@@ -7018,6 +7105,9 @@ const ParamCreater = function () {
|
|
|
7018
7105
|
if (targetType !== null && targetType !== undefined) {
|
|
7019
7106
|
localVarQueryParameter['target_type'] = targetType;
|
|
7020
7107
|
}
|
|
7108
|
+
if (assignType !== null && assignType !== undefined) {
|
|
7109
|
+
localVarQueryParameter['assign_type'] = assignType;
|
|
7110
|
+
}
|
|
7021
7111
|
options.queryParams = localVarQueryParameter;
|
|
7022
7112
|
options.pathParams = { 'app_id': appId, };
|
|
7023
7113
|
options.headers = localVarHeaderParameter;
|
|
@@ -8507,11 +8597,12 @@ const ParamCreater = function () {
|
|
|
8507
8597
|
let userName;
|
|
8508
8598
|
let computerName;
|
|
8509
8599
|
let terminalType;
|
|
8600
|
+
let enterpriseProjectId;
|
|
8601
|
+
let publicIp;
|
|
8510
8602
|
let offset;
|
|
8511
8603
|
let limit;
|
|
8512
8604
|
let minNetworkRtt;
|
|
8513
8605
|
let maxNetworkRtt;
|
|
8514
|
-
let enterpriseProjectId;
|
|
8515
8606
|
if (listLoginRecordsNewRequest !== null && listLoginRecordsNewRequest !== undefined) {
|
|
8516
8607
|
if (listLoginRecordsNewRequest instanceof ListLoginRecordsNewRequest_1.ListLoginRecordsNewRequest) {
|
|
8517
8608
|
startTime = listLoginRecordsNewRequest.startTime;
|
|
@@ -8519,11 +8610,12 @@ const ParamCreater = function () {
|
|
|
8519
8610
|
userName = listLoginRecordsNewRequest.userName;
|
|
8520
8611
|
computerName = listLoginRecordsNewRequest.computerName;
|
|
8521
8612
|
terminalType = listLoginRecordsNewRequest.terminalType;
|
|
8613
|
+
enterpriseProjectId = listLoginRecordsNewRequest.enterpriseProjectId;
|
|
8614
|
+
publicIp = listLoginRecordsNewRequest.publicIp;
|
|
8522
8615
|
offset = listLoginRecordsNewRequest.offset;
|
|
8523
8616
|
limit = listLoginRecordsNewRequest.limit;
|
|
8524
8617
|
minNetworkRtt = listLoginRecordsNewRequest.minNetworkRtt;
|
|
8525
8618
|
maxNetworkRtt = listLoginRecordsNewRequest.maxNetworkRtt;
|
|
8526
|
-
enterpriseProjectId = listLoginRecordsNewRequest.enterpriseProjectId;
|
|
8527
8619
|
}
|
|
8528
8620
|
else {
|
|
8529
8621
|
startTime = listLoginRecordsNewRequest['start_time'];
|
|
@@ -8531,11 +8623,12 @@ const ParamCreater = function () {
|
|
|
8531
8623
|
userName = listLoginRecordsNewRequest['user_name'];
|
|
8532
8624
|
computerName = listLoginRecordsNewRequest['computer_name'];
|
|
8533
8625
|
terminalType = listLoginRecordsNewRequest['terminal_type'];
|
|
8626
|
+
enterpriseProjectId = listLoginRecordsNewRequest['enterprise_project_id'];
|
|
8627
|
+
publicIp = listLoginRecordsNewRequest['public_ip'];
|
|
8534
8628
|
offset = listLoginRecordsNewRequest['offset'];
|
|
8535
8629
|
limit = listLoginRecordsNewRequest['limit'];
|
|
8536
8630
|
minNetworkRtt = listLoginRecordsNewRequest['min_network_rtt'];
|
|
8537
8631
|
maxNetworkRtt = listLoginRecordsNewRequest['max_network_rtt'];
|
|
8538
|
-
enterpriseProjectId = listLoginRecordsNewRequest['enterprise_project_id'];
|
|
8539
8632
|
}
|
|
8540
8633
|
}
|
|
8541
8634
|
if (startTime !== null && startTime !== undefined) {
|
|
@@ -8553,6 +8646,12 @@ const ParamCreater = function () {
|
|
|
8553
8646
|
if (terminalType !== null && terminalType !== undefined) {
|
|
8554
8647
|
localVarQueryParameter['terminal_type'] = terminalType;
|
|
8555
8648
|
}
|
|
8649
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
|
8650
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
|
8651
|
+
}
|
|
8652
|
+
if (publicIp !== null && publicIp !== undefined) {
|
|
8653
|
+
localVarQueryParameter['public_ip'] = publicIp;
|
|
8654
|
+
}
|
|
8556
8655
|
if (offset !== null && offset !== undefined) {
|
|
8557
8656
|
localVarQueryParameter['offset'] = offset;
|
|
8558
8657
|
}
|
|
@@ -8565,9 +8664,6 @@ const ParamCreater = function () {
|
|
|
8565
8664
|
if (maxNetworkRtt !== null && maxNetworkRtt !== undefined) {
|
|
8566
8665
|
localVarQueryParameter['max_network_rtt'] = maxNetworkRtt;
|
|
8567
8666
|
}
|
|
8568
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
|
8569
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
|
8570
|
-
}
|
|
8571
8667
|
options.queryParams = localVarQueryParameter;
|
|
8572
8668
|
options.headers = localVarHeaderParameter;
|
|
8573
8669
|
return options;
|
|
@@ -8598,6 +8694,7 @@ const ParamCreater = function () {
|
|
|
8598
8694
|
let minE2eRtt;
|
|
8599
8695
|
let maxE2eRtt;
|
|
8600
8696
|
let enterpriseProjectId;
|
|
8697
|
+
let publicIp;
|
|
8601
8698
|
if (exportUserConnectionNewRequest !== null && exportUserConnectionNewRequest !== undefined) {
|
|
8602
8699
|
if (exportUserConnectionNewRequest instanceof ExportUserConnectionNewRequest_1.ExportUserConnectionNewRequest) {
|
|
8603
8700
|
startTime = exportUserConnectionNewRequest.startTime;
|
|
@@ -8609,6 +8706,7 @@ const ParamCreater = function () {
|
|
|
8609
8706
|
minE2eRtt = exportUserConnectionNewRequest.minE2eRtt;
|
|
8610
8707
|
maxE2eRtt = exportUserConnectionNewRequest.maxE2eRtt;
|
|
8611
8708
|
enterpriseProjectId = exportUserConnectionNewRequest.enterpriseProjectId;
|
|
8709
|
+
publicIp = exportUserConnectionNewRequest.publicIp;
|
|
8612
8710
|
}
|
|
8613
8711
|
else {
|
|
8614
8712
|
startTime = exportUserConnectionNewRequest['start_time'];
|
|
@@ -8620,6 +8718,7 @@ const ParamCreater = function () {
|
|
|
8620
8718
|
minE2eRtt = exportUserConnectionNewRequest['min_e2e_rtt'];
|
|
8621
8719
|
maxE2eRtt = exportUserConnectionNewRequest['max_e2e_rtt'];
|
|
8622
8720
|
enterpriseProjectId = exportUserConnectionNewRequest['enterprise_project_id'];
|
|
8721
|
+
publicIp = exportUserConnectionNewRequest['public_ip'];
|
|
8623
8722
|
}
|
|
8624
8723
|
}
|
|
8625
8724
|
if (startTime !== null && startTime !== undefined) {
|
|
@@ -8649,6 +8748,9 @@ const ParamCreater = function () {
|
|
|
8649
8748
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
|
8650
8749
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
|
8651
8750
|
}
|
|
8751
|
+
if (publicIp !== null && publicIp !== undefined) {
|
|
8752
|
+
localVarQueryParameter['public_ip'] = publicIp;
|
|
8753
|
+
}
|
|
8652
8754
|
options.queryParams = localVarQueryParameter;
|
|
8653
8755
|
options.headers = localVarHeaderParameter;
|
|
8654
8756
|
return options;
|
|
@@ -11540,7 +11642,7 @@ const ParamCreater = function () {
|
|
|
11540
11642
|
return options;
|
|
11541
11643
|
},
|
|
11542
11644
|
/**
|
|
11543
|
-
*
|
|
11645
|
+
* 使用标签过滤桌面。该接口已废弃,请使用post /v2/{project_id}/desktops/resource-instances/action
|
|
11544
11646
|
*
|
|
11545
11647
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
11546
11648
|
*/
|
|
@@ -11572,6 +11674,39 @@ const ParamCreater = function () {
|
|
|
11572
11674
|
options.headers = localVarHeaderParameter;
|
|
11573
11675
|
return options;
|
|
11574
11676
|
},
|
|
11677
|
+
/**
|
|
11678
|
+
* 使用标签过滤桌面。
|
|
11679
|
+
*
|
|
11680
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
11681
|
+
*/
|
|
11682
|
+
listDesktopsByTags(listDesktopsByTagsRequest) {
|
|
11683
|
+
const options = {
|
|
11684
|
+
method: "POST",
|
|
11685
|
+
url: "/v2/{project_id}/desktops/resource-instances/action",
|
|
11686
|
+
contentType: "application/json",
|
|
11687
|
+
queryParams: {},
|
|
11688
|
+
pathParams: {},
|
|
11689
|
+
headers: {},
|
|
11690
|
+
data: {}
|
|
11691
|
+
};
|
|
11692
|
+
const localVarHeaderParameter = {};
|
|
11693
|
+
let body;
|
|
11694
|
+
if (listDesktopsByTagsRequest !== null && listDesktopsByTagsRequest !== undefined) {
|
|
11695
|
+
if (listDesktopsByTagsRequest instanceof ListDesktopsByTagsRequest_1.ListDesktopsByTagsRequest) {
|
|
11696
|
+
body = listDesktopsByTagsRequest.body;
|
|
11697
|
+
}
|
|
11698
|
+
else {
|
|
11699
|
+
body = listDesktopsByTagsRequest['body'];
|
|
11700
|
+
}
|
|
11701
|
+
}
|
|
11702
|
+
if (body === null || body === undefined) {
|
|
11703
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
11704
|
+
}
|
|
11705
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11706
|
+
options.data = body !== undefined ? body : {};
|
|
11707
|
+
options.headers = localVarHeaderParameter;
|
|
11708
|
+
return options;
|
|
11709
|
+
},
|
|
11575
11710
|
/**
|
|
11576
11711
|
* 查询租户的所有标签集合。
|
|
11577
11712
|
*
|
|
@@ -13226,6 +13361,39 @@ const ParamCreater = function () {
|
|
|
13226
13361
|
options.headers = localVarHeaderParameter;
|
|
13227
13362
|
return options;
|
|
13228
13363
|
},
|
|
13364
|
+
/**
|
|
13365
|
+
* 该接口用于校验租户网段是否冲突,返回冲突网段列表
|
|
13366
|
+
*
|
|
13367
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
13368
|
+
*/
|
|
13369
|
+
checkCidr(checkCidrRequest) {
|
|
13370
|
+
const options = {
|
|
13371
|
+
method: "POST",
|
|
13372
|
+
url: "/v2/{project_id}/check-cidr",
|
|
13373
|
+
contentType: "application/json",
|
|
13374
|
+
queryParams: {},
|
|
13375
|
+
pathParams: {},
|
|
13376
|
+
headers: {},
|
|
13377
|
+
data: {}
|
|
13378
|
+
};
|
|
13379
|
+
const localVarHeaderParameter = {};
|
|
13380
|
+
let body;
|
|
13381
|
+
if (checkCidrRequest !== null && checkCidrRequest !== undefined) {
|
|
13382
|
+
if (checkCidrRequest instanceof CheckCidrRequest_1.CheckCidrRequest) {
|
|
13383
|
+
body = checkCidrRequest.body;
|
|
13384
|
+
}
|
|
13385
|
+
else {
|
|
13386
|
+
body = checkCidrRequest['body'];
|
|
13387
|
+
}
|
|
13388
|
+
}
|
|
13389
|
+
if (body === null || body === undefined) {
|
|
13390
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
13391
|
+
}
|
|
13392
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13393
|
+
options.data = body !== undefined ? body : {};
|
|
13394
|
+
options.headers = localVarHeaderParameter;
|
|
13395
|
+
return options;
|
|
13396
|
+
},
|
|
13229
13397
|
/**
|
|
13230
13398
|
* 删除云办公带宽。
|
|
13231
13399
|
*
|
|
@@ -13400,6 +13568,7 @@ const ParamCreater = function () {
|
|
|
13400
13568
|
let spec;
|
|
13401
13569
|
let routerId;
|
|
13402
13570
|
let limit;
|
|
13571
|
+
let offset;
|
|
13403
13572
|
if (listNatGatewaysRequest !== null && listNatGatewaysRequest !== undefined) {
|
|
13404
13573
|
if (listNatGatewaysRequest instanceof ListNatGatewaysRequest_1.ListNatGatewaysRequest) {
|
|
13405
13574
|
id = listNatGatewaysRequest.id;
|
|
@@ -13411,6 +13580,7 @@ const ParamCreater = function () {
|
|
|
13411
13580
|
spec = listNatGatewaysRequest.spec;
|
|
13412
13581
|
routerId = listNatGatewaysRequest.routerId;
|
|
13413
13582
|
limit = listNatGatewaysRequest.limit;
|
|
13583
|
+
offset = listNatGatewaysRequest.offset;
|
|
13414
13584
|
}
|
|
13415
13585
|
else {
|
|
13416
13586
|
id = listNatGatewaysRequest['id'];
|
|
@@ -13422,6 +13592,7 @@ const ParamCreater = function () {
|
|
|
13422
13592
|
spec = listNatGatewaysRequest['spec'];
|
|
13423
13593
|
routerId = listNatGatewaysRequest['router_id'];
|
|
13424
13594
|
limit = listNatGatewaysRequest['limit'];
|
|
13595
|
+
offset = listNatGatewaysRequest['offset'];
|
|
13425
13596
|
}
|
|
13426
13597
|
}
|
|
13427
13598
|
if (id !== null && id !== undefined) {
|
|
@@ -13451,6 +13622,9 @@ const ParamCreater = function () {
|
|
|
13451
13622
|
if (limit !== null && limit !== undefined) {
|
|
13452
13623
|
localVarQueryParameter['limit'] = limit;
|
|
13453
13624
|
}
|
|
13625
|
+
if (offset !== null && offset !== undefined) {
|
|
13626
|
+
localVarQueryParameter['offset'] = offset;
|
|
13627
|
+
}
|
|
13454
13628
|
options.queryParams = localVarQueryParameter;
|
|
13455
13629
|
options.headers = localVarHeaderParameter;
|
|
13456
13630
|
return options;
|
|
@@ -14924,14 +15098,20 @@ const ParamCreater = function () {
|
|
|
14924
15098
|
const localVarQueryParameter = {};
|
|
14925
15099
|
let desktopResourceSpecCode;
|
|
14926
15100
|
let resourceSpecCode;
|
|
15101
|
+
let limit;
|
|
15102
|
+
let offset;
|
|
14927
15103
|
if (listHourPackagesTypeRequest !== null && listHourPackagesTypeRequest !== undefined) {
|
|
14928
15104
|
if (listHourPackagesTypeRequest instanceof ListHourPackagesTypeRequest_1.ListHourPackagesTypeRequest) {
|
|
14929
15105
|
desktopResourceSpecCode = listHourPackagesTypeRequest.desktopResourceSpecCode;
|
|
14930
15106
|
resourceSpecCode = listHourPackagesTypeRequest.resourceSpecCode;
|
|
15107
|
+
limit = listHourPackagesTypeRequest.limit;
|
|
15108
|
+
offset = listHourPackagesTypeRequest.offset;
|
|
14931
15109
|
}
|
|
14932
15110
|
else {
|
|
14933
15111
|
desktopResourceSpecCode = listHourPackagesTypeRequest['desktop_resource_spec_code'];
|
|
14934
15112
|
resourceSpecCode = listHourPackagesTypeRequest['resource_spec_code'];
|
|
15113
|
+
limit = listHourPackagesTypeRequest['limit'];
|
|
15114
|
+
offset = listHourPackagesTypeRequest['offset'];
|
|
14935
15115
|
}
|
|
14936
15116
|
}
|
|
14937
15117
|
if (desktopResourceSpecCode !== null && desktopResourceSpecCode !== undefined) {
|
|
@@ -14940,6 +15120,12 @@ const ParamCreater = function () {
|
|
|
14940
15120
|
if (resourceSpecCode !== null && resourceSpecCode !== undefined) {
|
|
14941
15121
|
localVarQueryParameter['resource_spec_code'] = resourceSpecCode;
|
|
14942
15122
|
}
|
|
15123
|
+
if (limit !== null && limit !== undefined) {
|
|
15124
|
+
localVarQueryParameter['limit'] = limit;
|
|
15125
|
+
}
|
|
15126
|
+
if (offset !== null && offset !== undefined) {
|
|
15127
|
+
localVarQueryParameter['offset'] = offset;
|
|
15128
|
+
}
|
|
14943
15129
|
options.queryParams = localVarQueryParameter;
|
|
14944
15130
|
options.headers = localVarHeaderParameter;
|
|
14945
15131
|
return options;
|
|
@@ -16769,16 +16955,22 @@ const ParamCreater = function () {
|
|
|
16769
16955
|
let name;
|
|
16770
16956
|
let availabilityZoneId;
|
|
16771
16957
|
let status;
|
|
16958
|
+
let limit;
|
|
16959
|
+
let offset;
|
|
16772
16960
|
if (listWksEdgeSitesRequest !== null && listWksEdgeSitesRequest !== undefined) {
|
|
16773
16961
|
if (listWksEdgeSitesRequest instanceof ListWksEdgeSitesRequest_1.ListWksEdgeSitesRequest) {
|
|
16774
16962
|
name = listWksEdgeSitesRequest.name;
|
|
16775
16963
|
availabilityZoneId = listWksEdgeSitesRequest.availabilityZoneId;
|
|
16776
16964
|
status = listWksEdgeSitesRequest.status;
|
|
16965
|
+
limit = listWksEdgeSitesRequest.limit;
|
|
16966
|
+
offset = listWksEdgeSitesRequest.offset;
|
|
16777
16967
|
}
|
|
16778
16968
|
else {
|
|
16779
16969
|
name = listWksEdgeSitesRequest['name'];
|
|
16780
16970
|
availabilityZoneId = listWksEdgeSitesRequest['availability_zone_id'];
|
|
16781
16971
|
status = listWksEdgeSitesRequest['status'];
|
|
16972
|
+
limit = listWksEdgeSitesRequest['limit'];
|
|
16973
|
+
offset = listWksEdgeSitesRequest['offset'];
|
|
16782
16974
|
}
|
|
16783
16975
|
}
|
|
16784
16976
|
if (name !== null && name !== undefined) {
|
|
@@ -16790,6 +16982,12 @@ const ParamCreater = function () {
|
|
|
16790
16982
|
if (status !== null && status !== undefined) {
|
|
16791
16983
|
localVarQueryParameter['status'] = status;
|
|
16792
16984
|
}
|
|
16985
|
+
if (limit !== null && limit !== undefined) {
|
|
16986
|
+
localVarQueryParameter['limit'] = limit;
|
|
16987
|
+
}
|
|
16988
|
+
if (offset !== null && offset !== undefined) {
|
|
16989
|
+
localVarQueryParameter['offset'] = offset;
|
|
16990
|
+
}
|
|
16793
16991
|
options.queryParams = localVarQueryParameter;
|
|
16794
16992
|
options.headers = localVarHeaderParameter;
|
|
16795
16993
|
return options;
|
|
@@ -17862,18 +18060,18 @@ const ParamCreater = function () {
|
|
|
17862
18060
|
const localVarHeaderParameter = {};
|
|
17863
18061
|
const localVarQueryParameter = {};
|
|
17864
18062
|
let metricName;
|
|
17865
|
-
let growPeriod;
|
|
17866
18063
|
let dim;
|
|
18064
|
+
let growPeriod;
|
|
17867
18065
|
if (showGrowthRateRequest !== null && showGrowthRateRequest !== undefined) {
|
|
17868
18066
|
if (showGrowthRateRequest instanceof ShowGrowthRateRequest_1.ShowGrowthRateRequest) {
|
|
17869
18067
|
metricName = showGrowthRateRequest.metricName;
|
|
17870
|
-
growPeriod = showGrowthRateRequest.growPeriod;
|
|
17871
18068
|
dim = showGrowthRateRequest.dim;
|
|
18069
|
+
growPeriod = showGrowthRateRequest.growPeriod;
|
|
17872
18070
|
}
|
|
17873
18071
|
else {
|
|
17874
18072
|
metricName = showGrowthRateRequest['metric_name'];
|
|
17875
|
-
growPeriod = showGrowthRateRequest['grow_period'];
|
|
17876
18073
|
dim = showGrowthRateRequest['dim'];
|
|
18074
|
+
growPeriod = showGrowthRateRequest['grow_period'];
|
|
17877
18075
|
}
|
|
17878
18076
|
}
|
|
17879
18077
|
if (metricName === null || metricName === undefined) {
|
|
@@ -17882,12 +18080,12 @@ const ParamCreater = function () {
|
|
|
17882
18080
|
if (metricName !== null && metricName !== undefined) {
|
|
17883
18081
|
localVarQueryParameter['metric_name'] = metricName;
|
|
17884
18082
|
}
|
|
17885
|
-
if (growPeriod !== null && growPeriod !== undefined) {
|
|
17886
|
-
localVarQueryParameter['grow_period'] = growPeriod;
|
|
17887
|
-
}
|
|
17888
18083
|
if (dim !== null && dim !== undefined) {
|
|
17889
18084
|
localVarQueryParameter['dim'] = dim;
|
|
17890
18085
|
}
|
|
18086
|
+
if (growPeriod !== null && growPeriod !== undefined) {
|
|
18087
|
+
localVarQueryParameter['grow_period'] = growPeriod;
|
|
18088
|
+
}
|
|
17891
18089
|
options.queryParams = localVarQueryParameter;
|
|
17892
18090
|
options.headers = localVarHeaderParameter;
|
|
17893
18091
|
return options;
|
|
@@ -18880,6 +19078,89 @@ const ParamCreater = function () {
|
|
|
18880
19078
|
options.headers = localVarHeaderParameter;
|
|
18881
19079
|
return options;
|
|
18882
19080
|
},
|
|
19081
|
+
/**
|
|
19082
|
+
* 查询通知拦截记录
|
|
19083
|
+
*
|
|
19084
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
19085
|
+
*/
|
|
19086
|
+
listNotificationRecords(listNotificationRecordsRequest) {
|
|
19087
|
+
const options = {
|
|
19088
|
+
method: "GET",
|
|
19089
|
+
url: "/v2/{project_id}/users/notification-records",
|
|
19090
|
+
contentType: "application/json",
|
|
19091
|
+
queryParams: {},
|
|
19092
|
+
pathParams: {},
|
|
19093
|
+
headers: {}
|
|
19094
|
+
};
|
|
19095
|
+
const localVarHeaderParameter = {};
|
|
19096
|
+
const localVarQueryParameter = {};
|
|
19097
|
+
let queryType;
|
|
19098
|
+
let desktopName;
|
|
19099
|
+
let desktopPoolName;
|
|
19100
|
+
let userName;
|
|
19101
|
+
let type;
|
|
19102
|
+
let offset;
|
|
19103
|
+
let limit;
|
|
19104
|
+
let sortField;
|
|
19105
|
+
let sortType;
|
|
19106
|
+
if (listNotificationRecordsRequest !== null && listNotificationRecordsRequest !== undefined) {
|
|
19107
|
+
if (listNotificationRecordsRequest instanceof ListNotificationRecordsRequest_1.ListNotificationRecordsRequest) {
|
|
19108
|
+
queryType = listNotificationRecordsRequest.queryType;
|
|
19109
|
+
desktopName = listNotificationRecordsRequest.desktopName;
|
|
19110
|
+
desktopPoolName = listNotificationRecordsRequest.desktopPoolName;
|
|
19111
|
+
userName = listNotificationRecordsRequest.userName;
|
|
19112
|
+
type = listNotificationRecordsRequest.type;
|
|
19113
|
+
offset = listNotificationRecordsRequest.offset;
|
|
19114
|
+
limit = listNotificationRecordsRequest.limit;
|
|
19115
|
+
sortField = listNotificationRecordsRequest.sortField;
|
|
19116
|
+
sortType = listNotificationRecordsRequest.sortType;
|
|
19117
|
+
}
|
|
19118
|
+
else {
|
|
19119
|
+
queryType = listNotificationRecordsRequest['query_type'];
|
|
19120
|
+
desktopName = listNotificationRecordsRequest['desktop_name'];
|
|
19121
|
+
desktopPoolName = listNotificationRecordsRequest['desktop_pool_name'];
|
|
19122
|
+
userName = listNotificationRecordsRequest['user_name'];
|
|
19123
|
+
type = listNotificationRecordsRequest['type'];
|
|
19124
|
+
offset = listNotificationRecordsRequest['offset'];
|
|
19125
|
+
limit = listNotificationRecordsRequest['limit'];
|
|
19126
|
+
sortField = listNotificationRecordsRequest['sort_field'];
|
|
19127
|
+
sortType = listNotificationRecordsRequest['sort_type'];
|
|
19128
|
+
}
|
|
19129
|
+
}
|
|
19130
|
+
if (queryType === null || queryType === undefined) {
|
|
19131
|
+
throw new RequiredError('queryType', 'Required parameter queryType was null or undefined when calling listNotificationRecords.');
|
|
19132
|
+
}
|
|
19133
|
+
if (queryType !== null && queryType !== undefined) {
|
|
19134
|
+
localVarQueryParameter['query_type'] = queryType;
|
|
19135
|
+
}
|
|
19136
|
+
if (desktopName !== null && desktopName !== undefined) {
|
|
19137
|
+
localVarQueryParameter['desktop_name'] = desktopName;
|
|
19138
|
+
}
|
|
19139
|
+
if (desktopPoolName !== null && desktopPoolName !== undefined) {
|
|
19140
|
+
localVarQueryParameter['desktop_pool_name'] = desktopPoolName;
|
|
19141
|
+
}
|
|
19142
|
+
if (userName !== null && userName !== undefined) {
|
|
19143
|
+
localVarQueryParameter['user_name'] = userName;
|
|
19144
|
+
}
|
|
19145
|
+
if (type !== null && type !== undefined) {
|
|
19146
|
+
localVarQueryParameter['type'] = type;
|
|
19147
|
+
}
|
|
19148
|
+
if (offset !== null && offset !== undefined) {
|
|
19149
|
+
localVarQueryParameter['offset'] = offset;
|
|
19150
|
+
}
|
|
19151
|
+
if (limit !== null && limit !== undefined) {
|
|
19152
|
+
localVarQueryParameter['limit'] = limit;
|
|
19153
|
+
}
|
|
19154
|
+
if (sortField !== null && sortField !== undefined) {
|
|
19155
|
+
localVarQueryParameter['sort_field'] = sortField;
|
|
19156
|
+
}
|
|
19157
|
+
if (sortType !== null && sortType !== undefined) {
|
|
19158
|
+
localVarQueryParameter['sort_type'] = sortType;
|
|
19159
|
+
}
|
|
19160
|
+
options.queryParams = localVarQueryParameter;
|
|
19161
|
+
options.headers = localVarHeaderParameter;
|
|
19162
|
+
return options;
|
|
19163
|
+
},
|
|
18883
19164
|
/**
|
|
18884
19165
|
* 该接口用于查询相应用户下面的OTP设备。
|
|
18885
19166
|
*
|
|
@@ -19804,6 +20085,39 @@ const ParamCreater = function () {
|
|
|
19804
20085
|
options.headers = localVarHeaderParameter;
|
|
19805
20086
|
return options;
|
|
19806
20087
|
},
|
|
20088
|
+
/**
|
|
20089
|
+
* 校验域控有效性。
|
|
20090
|
+
*
|
|
20091
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
20092
|
+
*/
|
|
20093
|
+
validateDomainController(validateDomainControllerRequest) {
|
|
20094
|
+
const options = {
|
|
20095
|
+
method: "POST",
|
|
20096
|
+
url: "/v2/{project_id}/domain-controllers/validation",
|
|
20097
|
+
contentType: "application/json",
|
|
20098
|
+
queryParams: {},
|
|
20099
|
+
pathParams: {},
|
|
20100
|
+
headers: {},
|
|
20101
|
+
data: {}
|
|
20102
|
+
};
|
|
20103
|
+
const localVarHeaderParameter = {};
|
|
20104
|
+
let body;
|
|
20105
|
+
if (validateDomainControllerRequest !== null && validateDomainControllerRequest !== undefined) {
|
|
20106
|
+
if (validateDomainControllerRequest instanceof ValidateDomainControllerRequest_1.ValidateDomainControllerRequest) {
|
|
20107
|
+
body = validateDomainControllerRequest.body;
|
|
20108
|
+
}
|
|
20109
|
+
else {
|
|
20110
|
+
body = validateDomainControllerRequest['body'];
|
|
20111
|
+
}
|
|
20112
|
+
}
|
|
20113
|
+
if (body === null || body === undefined) {
|
|
20114
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
20115
|
+
}
|
|
20116
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20117
|
+
options.data = body !== undefined ? body : {};
|
|
20118
|
+
options.headers = localVarHeaderParameter;
|
|
20119
|
+
return options;
|
|
20120
|
+
},
|
|
19807
20121
|
};
|
|
19808
20122
|
};
|
|
19809
20123
|
exports.ParamCreater = ParamCreater;
|