@alicloud/ecd20200930 4.12.1 → 4.13.0
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/dist/client.d.ts +15 -0
- package/dist/client.js +114 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSimpleOfficeSiteRequest.d.ts +6 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js +12 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js.map +1 -1
- package/dist/models/DescribeDesktopGroupsResponseBody.d.ts +2 -0
- package/dist/models/DescribeDesktopGroupsResponseBody.js +4 -0
- package/dist/models/DescribeDesktopGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +2 -0
- package/dist/models/DescribeDesktopsResponseBody.js +4 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +87 -0
- package/dist/models/DescribeGlobalDesktopRecordsRequest.js +89 -0
- package/dist/models/DescribeGlobalDesktopRecordsRequest.js.map +1 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.js +69 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.js.map +1 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +193 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +183 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -0
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +5 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js +10 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +5 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js +10 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +32 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +142 -0
- package/src/models/CreateSimpleOfficeSiteRequest.ts +18 -0
- package/src/models/DescribeDesktopGroupsResponseBody.ts +6 -0
- package/src/models/DescribeDesktopsResponseBody.ts +6 -0
- package/src/models/DescribeGlobalDesktopRecordsRequest.ts +131 -0
- package/src/models/DescribeGlobalDesktopRecordsResponse.ts +40 -0
- package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +304 -0
- package/src/models/DescribeOfficeSitesResponseBody.ts +15 -0
- package/src/models/ModifyOfficeSiteAttributeRequest.ts +15 -0
- package/src/models/model.ts +6 -0
package/src/client.ts
CHANGED
|
@@ -4767,6 +4767,14 @@ export default class Client extends OpenApi {
|
|
|
4767
4767
|
async createSimpleOfficeSiteWithOptions(request: $_model.CreateSimpleOfficeSiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSimpleOfficeSiteResponse> {
|
|
4768
4768
|
request.validate();
|
|
4769
4769
|
let query = { };
|
|
4770
|
+
if (!$dara.isNull(request.accountType)) {
|
|
4771
|
+
query["AccountType"] = request.accountType;
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
if (!$dara.isNull(request.authorityHost)) {
|
|
4775
|
+
query["AuthorityHost"] = request.authorityHost;
|
|
4776
|
+
}
|
|
4777
|
+
|
|
4770
4778
|
if (!$dara.isNull(request.bandwidth)) {
|
|
4771
4779
|
query["Bandwidth"] = request.bandwidth;
|
|
4772
4780
|
}
|
|
@@ -4783,6 +4791,14 @@ export default class Client extends OpenApi {
|
|
|
4783
4791
|
query["CidrBlock"] = request.cidrBlock;
|
|
4784
4792
|
}
|
|
4785
4793
|
|
|
4794
|
+
if (!$dara.isNull(request.clientId)) {
|
|
4795
|
+
query["ClientId"] = request.clientId;
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4798
|
+
if (!$dara.isNull(request.clientSecret)) {
|
|
4799
|
+
query["ClientSecret"] = request.clientSecret;
|
|
4800
|
+
}
|
|
4801
|
+
|
|
4786
4802
|
if (!$dara.isNull(request.cloudBoxOfficeSite)) {
|
|
4787
4803
|
query["CloudBoxOfficeSite"] = request.cloudBoxOfficeSite;
|
|
4788
4804
|
}
|
|
@@ -4791,6 +4807,10 @@ export default class Client extends OpenApi {
|
|
|
4791
4807
|
query["DesktopAccessType"] = request.desktopAccessType;
|
|
4792
4808
|
}
|
|
4793
4809
|
|
|
4810
|
+
if (!$dara.isNull(request.domainName)) {
|
|
4811
|
+
query["DomainName"] = request.domainName;
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4794
4814
|
if (!$dara.isNull(request.enableAdminAccess)) {
|
|
4795
4815
|
query["EnableAdminAccess"] = request.enableAdminAccess;
|
|
4796
4816
|
}
|
|
@@ -4811,6 +4831,10 @@ export default class Client extends OpenApi {
|
|
|
4811
4831
|
query["RegionId"] = request.regionId;
|
|
4812
4832
|
}
|
|
4813
4833
|
|
|
4834
|
+
if (!$dara.isNull(request.tenantId)) {
|
|
4835
|
+
query["TenantId"] = request.tenantId;
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4814
4838
|
if (!$dara.isNull(request.vSwitchId)) {
|
|
4815
4839
|
query["VSwitchId"] = request.vSwitchId;
|
|
4816
4840
|
}
|
|
@@ -8896,6 +8920,104 @@ export default class Client extends OpenApi {
|
|
|
8896
8920
|
return await this.describeFotaTasksWithOptions(request, runtime);
|
|
8897
8921
|
}
|
|
8898
8922
|
|
|
8923
|
+
/**
|
|
8924
|
+
* 查询全局桌面记录
|
|
8925
|
+
*
|
|
8926
|
+
* @param request - DescribeGlobalDesktopRecordsRequest
|
|
8927
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8928
|
+
* @returns DescribeGlobalDesktopRecordsResponse
|
|
8929
|
+
*/
|
|
8930
|
+
async describeGlobalDesktopRecordsWithOptions(request: $_model.DescribeGlobalDesktopRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalDesktopRecordsResponse> {
|
|
8931
|
+
request.validate();
|
|
8932
|
+
let query = { };
|
|
8933
|
+
if (!$dara.isNull(request.desktopId)) {
|
|
8934
|
+
query["DesktopId"] = request.desktopId;
|
|
8935
|
+
}
|
|
8936
|
+
|
|
8937
|
+
if (!$dara.isNull(request.desktopName)) {
|
|
8938
|
+
query["DesktopName"] = request.desktopName;
|
|
8939
|
+
}
|
|
8940
|
+
|
|
8941
|
+
if (!$dara.isNull(request.desktopType)) {
|
|
8942
|
+
query["DesktopType"] = request.desktopType;
|
|
8943
|
+
}
|
|
8944
|
+
|
|
8945
|
+
if (!$dara.isNull(request.endTime)) {
|
|
8946
|
+
query["EndTime"] = request.endTime;
|
|
8947
|
+
}
|
|
8948
|
+
|
|
8949
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
8950
|
+
query["EndUserId"] = request.endUserId;
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
8954
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
8958
|
+
query["OrderBy"] = request.orderBy;
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8962
|
+
query["PageNumber"] = request.pageNumber;
|
|
8963
|
+
}
|
|
8964
|
+
|
|
8965
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8966
|
+
query["PageSize"] = request.pageSize;
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8970
|
+
query["RegionId"] = request.regionId;
|
|
8971
|
+
}
|
|
8972
|
+
|
|
8973
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
8974
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
8975
|
+
}
|
|
8976
|
+
|
|
8977
|
+
if (!$dara.isNull(request.scope)) {
|
|
8978
|
+
query["Scope"] = request.scope;
|
|
8979
|
+
}
|
|
8980
|
+
|
|
8981
|
+
if (!$dara.isNull(request.sortType)) {
|
|
8982
|
+
query["SortType"] = request.sortType;
|
|
8983
|
+
}
|
|
8984
|
+
|
|
8985
|
+
if (!$dara.isNull(request.startTime)) {
|
|
8986
|
+
query["StartTime"] = request.startTime;
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8989
|
+
if (!$dara.isNull(request.subPayType)) {
|
|
8990
|
+
query["SubPayType"] = request.subPayType;
|
|
8991
|
+
}
|
|
8992
|
+
|
|
8993
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8994
|
+
query: OpenApiUtil.query(query),
|
|
8995
|
+
});
|
|
8996
|
+
let params = new $OpenApiUtil.Params({
|
|
8997
|
+
action: "DescribeGlobalDesktopRecords",
|
|
8998
|
+
version: "2020-09-30",
|
|
8999
|
+
protocol: "HTTPS",
|
|
9000
|
+
pathname: "/",
|
|
9001
|
+
method: "POST",
|
|
9002
|
+
authType: "AK",
|
|
9003
|
+
style: "RPC",
|
|
9004
|
+
reqBodyType: "formData",
|
|
9005
|
+
bodyType: "json",
|
|
9006
|
+
});
|
|
9007
|
+
return $dara.cast<$_model.DescribeGlobalDesktopRecordsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDesktopRecordsResponse({}));
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
/**
|
|
9011
|
+
* 查询全局桌面记录
|
|
9012
|
+
*
|
|
9013
|
+
* @param request - DescribeGlobalDesktopRecordsRequest
|
|
9014
|
+
* @returns DescribeGlobalDesktopRecordsResponse
|
|
9015
|
+
*/
|
|
9016
|
+
async describeGlobalDesktopRecords(request: $_model.DescribeGlobalDesktopRecordsRequest): Promise<$_model.DescribeGlobalDesktopRecordsResponse> {
|
|
9017
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9018
|
+
return await this.describeGlobalDesktopRecordsWithOptions(request, runtime);
|
|
9019
|
+
}
|
|
9020
|
+
|
|
8899
9021
|
/**
|
|
8900
9022
|
* Queries the applications and their processes of an end user.
|
|
8901
9023
|
*
|
|
@@ -15618,10 +15740,26 @@ export default class Client extends OpenApi {
|
|
|
15618
15740
|
async modifyOfficeSiteAttributeWithOptions(request: $_model.ModifyOfficeSiteAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyOfficeSiteAttributeResponse> {
|
|
15619
15741
|
request.validate();
|
|
15620
15742
|
let query = { };
|
|
15743
|
+
if (!$dara.isNull(request.authorityHost)) {
|
|
15744
|
+
query["AuthorityHost"] = request.authorityHost;
|
|
15745
|
+
}
|
|
15746
|
+
|
|
15747
|
+
if (!$dara.isNull(request.clientId)) {
|
|
15748
|
+
query["ClientId"] = request.clientId;
|
|
15749
|
+
}
|
|
15750
|
+
|
|
15751
|
+
if (!$dara.isNull(request.clientSecret)) {
|
|
15752
|
+
query["ClientSecret"] = request.clientSecret;
|
|
15753
|
+
}
|
|
15754
|
+
|
|
15621
15755
|
if (!$dara.isNull(request.desktopAccessType)) {
|
|
15622
15756
|
query["DesktopAccessType"] = request.desktopAccessType;
|
|
15623
15757
|
}
|
|
15624
15758
|
|
|
15759
|
+
if (!$dara.isNull(request.domainName)) {
|
|
15760
|
+
query["DomainName"] = request.domainName;
|
|
15761
|
+
}
|
|
15762
|
+
|
|
15625
15763
|
if (!$dara.isNull(request.enableAdminAccess)) {
|
|
15626
15764
|
query["EnableAdminAccess"] = request.enableAdminAccess;
|
|
15627
15765
|
}
|
|
@@ -15646,6 +15784,10 @@ export default class Client extends OpenApi {
|
|
|
15646
15784
|
query["RegionId"] = request.regionId;
|
|
15647
15785
|
}
|
|
15648
15786
|
|
|
15787
|
+
if (!$dara.isNull(request.tenantId)) {
|
|
15788
|
+
query["TenantId"] = request.tenantId;
|
|
15789
|
+
}
|
|
15790
|
+
|
|
15649
15791
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15650
15792
|
query: OpenApiUtil.query(query),
|
|
15651
15793
|
});
|
|
@@ -3,6 +3,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
6
|
+
accountType?: string;
|
|
7
|
+
authorityHost?: string;
|
|
6
8
|
/**
|
|
7
9
|
* @remarks
|
|
8
10
|
* The maximum public bandwidth. Value range: 10 to 200. Unit: Mbit/s. This parameter is available if you set `EnableInternetAccess` to `true`.
|
|
@@ -44,6 +46,8 @@ export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
|
44
46
|
* 172.16.0.0/12
|
|
45
47
|
*/
|
|
46
48
|
cidrBlock?: string;
|
|
49
|
+
clientId?: string;
|
|
50
|
+
clientSecret?: string;
|
|
47
51
|
/**
|
|
48
52
|
* @remarks
|
|
49
53
|
* Specifies whether to create a CloudBox-based office network.
|
|
@@ -80,6 +84,7 @@ export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
|
80
84
|
* Internet
|
|
81
85
|
*/
|
|
82
86
|
desktopAccessType?: string;
|
|
87
|
+
domainName?: string;
|
|
83
88
|
/**
|
|
84
89
|
* @remarks
|
|
85
90
|
* Specifies whether to grant the local administrator permissions to users that are authorized to use cloud computers in the office network.
|
|
@@ -145,6 +150,7 @@ export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
|
145
150
|
* cn-hangzhou
|
|
146
151
|
*/
|
|
147
152
|
regionId?: string;
|
|
153
|
+
tenantId?: string;
|
|
148
154
|
/**
|
|
149
155
|
* @remarks
|
|
150
156
|
* The IDs of the vSwitches that you want to specify in VPCs. This parameter is required only when you create CloudBox-based office networks.
|
|
@@ -173,17 +179,23 @@ export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
|
173
179
|
vpcType?: string;
|
|
174
180
|
static names(): { [key: string]: string } {
|
|
175
181
|
return {
|
|
182
|
+
accountType: 'AccountType',
|
|
183
|
+
authorityHost: 'AuthorityHost',
|
|
176
184
|
bandwidth: 'Bandwidth',
|
|
177
185
|
cenId: 'CenId',
|
|
178
186
|
cenOwnerId: 'CenOwnerId',
|
|
179
187
|
cidrBlock: 'CidrBlock',
|
|
188
|
+
clientId: 'ClientId',
|
|
189
|
+
clientSecret: 'ClientSecret',
|
|
180
190
|
cloudBoxOfficeSite: 'CloudBoxOfficeSite',
|
|
181
191
|
desktopAccessType: 'DesktopAccessType',
|
|
192
|
+
domainName: 'DomainName',
|
|
182
193
|
enableAdminAccess: 'EnableAdminAccess',
|
|
183
194
|
enableInternetAccess: 'EnableInternetAccess',
|
|
184
195
|
needVerifyZeroDevice: 'NeedVerifyZeroDevice',
|
|
185
196
|
officeSiteName: 'OfficeSiteName',
|
|
186
197
|
regionId: 'RegionId',
|
|
198
|
+
tenantId: 'TenantId',
|
|
187
199
|
vSwitchId: 'VSwitchId',
|
|
188
200
|
verifyCode: 'VerifyCode',
|
|
189
201
|
vpcType: 'VpcType',
|
|
@@ -192,17 +204,23 @@ export class CreateSimpleOfficeSiteRequest extends $dara.Model {
|
|
|
192
204
|
|
|
193
205
|
static types(): { [key: string]: any } {
|
|
194
206
|
return {
|
|
207
|
+
accountType: 'string',
|
|
208
|
+
authorityHost: 'string',
|
|
195
209
|
bandwidth: 'number',
|
|
196
210
|
cenId: 'string',
|
|
197
211
|
cenOwnerId: 'number',
|
|
198
212
|
cidrBlock: 'string',
|
|
213
|
+
clientId: 'string',
|
|
214
|
+
clientSecret: 'string',
|
|
199
215
|
cloudBoxOfficeSite: 'boolean',
|
|
200
216
|
desktopAccessType: 'string',
|
|
217
|
+
domainName: 'string',
|
|
201
218
|
enableAdminAccess: 'boolean',
|
|
202
219
|
enableInternetAccess: 'boolean',
|
|
203
220
|
needVerifyZeroDevice: 'boolean',
|
|
204
221
|
officeSiteName: 'string',
|
|
205
222
|
regionId: 'string',
|
|
223
|
+
tenantId: 'string',
|
|
206
224
|
vSwitchId: { 'type': 'array', 'itemType': 'string' },
|
|
207
225
|
verifyCode: 'string',
|
|
208
226
|
vpcType: 'string',
|
|
@@ -149,6 +149,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroupsTags extends $dara.Mo
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
|
|
152
|
+
accountType?: string;
|
|
152
153
|
/**
|
|
153
154
|
* @remarks
|
|
154
155
|
* The number of concurrent sessions allowed for each cloud computer within the multi-session many-to-many share.
|
|
@@ -272,6 +273,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
|
|
|
272
273
|
* 1
|
|
273
274
|
*/
|
|
274
275
|
endUserCount?: number;
|
|
276
|
+
entraDomainName?: string;
|
|
275
277
|
/**
|
|
276
278
|
* @remarks
|
|
277
279
|
* The expiration date of the subscription cloud computer share.
|
|
@@ -634,6 +636,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
|
|
|
634
636
|
volumeEncryptionKey?: string;
|
|
635
637
|
static names(): { [key: string]: string } {
|
|
636
638
|
return {
|
|
639
|
+
accountType: 'AccountType',
|
|
637
640
|
bindAmount: 'BindAmount',
|
|
638
641
|
buyDesktopsCount: 'BuyDesktopsCount',
|
|
639
642
|
comments: 'Comments',
|
|
@@ -649,6 +652,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
|
|
|
649
652
|
desktopGroupName: 'DesktopGroupName',
|
|
650
653
|
desktopType: 'DesktopType',
|
|
651
654
|
endUserCount: 'EndUserCount',
|
|
655
|
+
entraDomainName: 'EntraDomainName',
|
|
652
656
|
expiredTime: 'ExpiredTime',
|
|
653
657
|
expiredTimes: 'ExpiredTimes',
|
|
654
658
|
gpuCount: 'GpuCount',
|
|
@@ -694,6 +698,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
|
|
|
694
698
|
|
|
695
699
|
static types(): { [key: string]: any } {
|
|
696
700
|
return {
|
|
701
|
+
accountType: 'string',
|
|
697
702
|
bindAmount: 'number',
|
|
698
703
|
buyDesktopsCount: 'number',
|
|
699
704
|
comments: 'string',
|
|
@@ -709,6 +714,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
|
|
|
709
714
|
desktopGroupName: 'string',
|
|
710
715
|
desktopType: 'string',
|
|
711
716
|
endUserCount: 'number',
|
|
717
|
+
entraDomainName: 'string',
|
|
712
718
|
expiredTime: 'string',
|
|
713
719
|
expiredTimes: { 'type': 'array', 'itemType': 'string' },
|
|
714
720
|
gpuCount: 'number',
|
|
@@ -431,6 +431,7 @@ export class DescribeDesktopsResponseBodyDesktopsTags extends $dara.Model {
|
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
434
|
+
accountType?: string;
|
|
434
435
|
/**
|
|
435
436
|
* @remarks
|
|
436
437
|
* The number of concurrent sessions of each cloud computer in a multi-session cloud computer pool.
|
|
@@ -618,6 +619,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
618
619
|
* The end user IDs.
|
|
619
620
|
*/
|
|
620
621
|
endUserIds?: string[];
|
|
622
|
+
entraDomainName?: string;
|
|
621
623
|
/**
|
|
622
624
|
* @remarks
|
|
623
625
|
* The time when a subscription cloud computer expired.
|
|
@@ -979,6 +981,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
979
981
|
zoneType?: string;
|
|
980
982
|
static names(): { [key: string]: string } {
|
|
981
983
|
return {
|
|
984
|
+
accountType: 'AccountType',
|
|
982
985
|
bindAmount: 'BindAmount',
|
|
983
986
|
bundleId: 'BundleId',
|
|
984
987
|
bundleName: 'BundleName',
|
|
@@ -1001,6 +1004,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1001
1004
|
downgradeQuota: 'DowngradeQuota',
|
|
1002
1005
|
downgradedTimes: 'DowngradedTimes',
|
|
1003
1006
|
endUserIds: 'EndUserIds',
|
|
1007
|
+
entraDomainName: 'EntraDomainName',
|
|
1004
1008
|
expiredTime: 'ExpiredTime',
|
|
1005
1009
|
fotaUpdate: 'FotaUpdate',
|
|
1006
1010
|
gpuCategory: 'GpuCategory',
|
|
@@ -1050,6 +1054,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1050
1054
|
|
|
1051
1055
|
static types(): { [key: string]: any } {
|
|
1052
1056
|
return {
|
|
1057
|
+
accountType: 'string',
|
|
1053
1058
|
bindAmount: 'number',
|
|
1054
1059
|
bundleId: 'string',
|
|
1055
1060
|
bundleName: 'string',
|
|
@@ -1072,6 +1077,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
1072
1077
|
downgradeQuota: 'number',
|
|
1073
1078
|
downgradedTimes: 'number',
|
|
1074
1079
|
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
1080
|
+
entraDomainName: 'string',
|
|
1075
1081
|
expiredTime: 'string',
|
|
1076
1082
|
fotaUpdate: DescribeDesktopsResponseBodyDesktopsFotaUpdate,
|
|
1077
1083
|
gpuCategory: 'number',
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalDesktopRecordsRequest extends $dara.Model {
|
|
6
|
+
desktopId?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* DemoComputer
|
|
10
|
+
*/
|
|
11
|
+
desktopName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* eds.enterprise_office.2c4g
|
|
15
|
+
*/
|
|
16
|
+
desktopType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 2022-08-31T06:56:45Z
|
|
20
|
+
*/
|
|
21
|
+
endTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* TestUser
|
|
25
|
+
*/
|
|
26
|
+
endUserId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-hangzhou+dir-363353****
|
|
30
|
+
*/
|
|
31
|
+
officeSiteId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* uptime
|
|
35
|
+
*/
|
|
36
|
+
orderBy?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 1
|
|
40
|
+
*/
|
|
41
|
+
pageNumber?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 20
|
|
45
|
+
*/
|
|
46
|
+
pageSize?: number;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* cn-shanghai
|
|
53
|
+
*/
|
|
54
|
+
regionId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* rg-3mtuc28rx95lx****
|
|
58
|
+
*/
|
|
59
|
+
resourceGroupId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* ADVANCED
|
|
63
|
+
*/
|
|
64
|
+
scope?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* Asc
|
|
68
|
+
*/
|
|
69
|
+
sortType?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* 2022-03-23T04:10:21Z
|
|
73
|
+
*/
|
|
74
|
+
startTime?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* monthPackage
|
|
78
|
+
*/
|
|
79
|
+
subPayType?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
desktopId: 'DesktopId',
|
|
83
|
+
desktopName: 'DesktopName',
|
|
84
|
+
desktopType: 'DesktopType',
|
|
85
|
+
endTime: 'EndTime',
|
|
86
|
+
endUserId: 'EndUserId',
|
|
87
|
+
officeSiteId: 'OfficeSiteId',
|
|
88
|
+
orderBy: 'OrderBy',
|
|
89
|
+
pageNumber: 'PageNumber',
|
|
90
|
+
pageSize: 'PageSize',
|
|
91
|
+
regionId: 'RegionId',
|
|
92
|
+
resourceGroupId: 'ResourceGroupId',
|
|
93
|
+
scope: 'Scope',
|
|
94
|
+
sortType: 'SortType',
|
|
95
|
+
startTime: 'StartTime',
|
|
96
|
+
subPayType: 'SubPayType',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
103
|
+
desktopName: 'string',
|
|
104
|
+
desktopType: 'string',
|
|
105
|
+
endTime: 'string',
|
|
106
|
+
endUserId: 'string',
|
|
107
|
+
officeSiteId: 'string',
|
|
108
|
+
orderBy: 'string',
|
|
109
|
+
pageNumber: 'number',
|
|
110
|
+
pageSize: 'number',
|
|
111
|
+
regionId: 'string',
|
|
112
|
+
resourceGroupId: 'string',
|
|
113
|
+
scope: 'string',
|
|
114
|
+
sortType: 'string',
|
|
115
|
+
startTime: 'string',
|
|
116
|
+
subPayType: 'string',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
validate() {
|
|
121
|
+
if(Array.isArray(this.desktopId)) {
|
|
122
|
+
$dara.Model.validateArray(this.desktopId);
|
|
123
|
+
}
|
|
124
|
+
super.validate();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
constructor(map?: { [key: string]: any }) {
|
|
128
|
+
super(map);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeGlobalDesktopRecordsResponseBody } from "./DescribeGlobalDesktopRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeGlobalDesktopRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeGlobalDesktopRecordsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeGlobalDesktopRecordsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|