@alicloud/ecd20200930 3.5.0 → 3.5.2
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 +111 -10
- package/dist/client.js +151 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +175 -10
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2641,6 +2641,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2641
2641
|
cdsId?: string;
|
|
2642
2642
|
cdsName?: string;
|
|
2643
2643
|
cenId?: string;
|
|
2644
|
+
conflictCdsAndOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder;
|
|
2644
2645
|
domainName?: string;
|
|
2645
2646
|
errorCode?: string;
|
|
2646
2647
|
maxSize?: string;
|
|
@@ -2652,6 +2653,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2652
2653
|
cdsId: 'CdsId',
|
|
2653
2654
|
cdsName: 'CdsName',
|
|
2654
2655
|
cenId: 'CenId',
|
|
2656
|
+
conflictCdsAndOrder: 'ConflictCdsAndOrder',
|
|
2655
2657
|
domainName: 'DomainName',
|
|
2656
2658
|
errorCode: 'ErrorCode',
|
|
2657
2659
|
maxSize: 'MaxSize',
|
|
@@ -2666,6 +2668,7 @@ export class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2666
2668
|
cdsId: 'string',
|
|
2667
2669
|
cdsName: 'string',
|
|
2668
2670
|
cenId: 'string',
|
|
2671
|
+
conflictCdsAndOrder: CreateCloudDriveServiceResponseBodyConflictCdsAndOrder,
|
|
2669
2672
|
domainName: 'string',
|
|
2670
2673
|
errorCode: 'string',
|
|
2671
2674
|
maxSize: 'string',
|
|
@@ -3083,6 +3086,7 @@ export class CreateDesktopsRequest extends $tea.Model {
|
|
|
3083
3086
|
endUserId?: string[];
|
|
3084
3087
|
groupId?: string;
|
|
3085
3088
|
hostname?: string;
|
|
3089
|
+
monthDesktopSetting?: CreateDesktopsRequestMonthDesktopSetting;
|
|
3086
3090
|
officeSiteId?: string;
|
|
3087
3091
|
period?: number;
|
|
3088
3092
|
periodUnit?: string;
|
|
@@ -3112,6 +3116,7 @@ export class CreateDesktopsRequest extends $tea.Model {
|
|
|
3112
3116
|
endUserId: 'EndUserId',
|
|
3113
3117
|
groupId: 'GroupId',
|
|
3114
3118
|
hostname: 'Hostname',
|
|
3119
|
+
monthDesktopSetting: 'MonthDesktopSetting',
|
|
3115
3120
|
officeSiteId: 'OfficeSiteId',
|
|
3116
3121
|
period: 'Period',
|
|
3117
3122
|
periodUnit: 'PeriodUnit',
|
|
@@ -3144,6 +3149,7 @@ export class CreateDesktopsRequest extends $tea.Model {
|
|
|
3144
3149
|
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
3145
3150
|
groupId: 'string',
|
|
3146
3151
|
hostname: 'string',
|
|
3152
|
+
monthDesktopSetting: CreateDesktopsRequestMonthDesktopSetting,
|
|
3147
3153
|
officeSiteId: 'string',
|
|
3148
3154
|
period: 'number',
|
|
3149
3155
|
periodUnit: 'string',
|
|
@@ -15293,6 +15299,7 @@ export class RenewDesktopsRequest extends $tea.Model {
|
|
|
15293
15299
|
periodUnit?: string;
|
|
15294
15300
|
promotionId?: string;
|
|
15295
15301
|
regionId?: string;
|
|
15302
|
+
resourceType?: string;
|
|
15296
15303
|
static names(): { [key: string]: string } {
|
|
15297
15304
|
return {
|
|
15298
15305
|
autoPay: 'AutoPay',
|
|
@@ -15301,6 +15308,7 @@ export class RenewDesktopsRequest extends $tea.Model {
|
|
|
15301
15308
|
periodUnit: 'PeriodUnit',
|
|
15302
15309
|
promotionId: 'PromotionId',
|
|
15303
15310
|
regionId: 'RegionId',
|
|
15311
|
+
resourceType: 'ResourceType',
|
|
15304
15312
|
};
|
|
15305
15313
|
}
|
|
15306
15314
|
|
|
@@ -15312,6 +15320,7 @@ export class RenewDesktopsRequest extends $tea.Model {
|
|
|
15312
15320
|
periodUnit: 'string',
|
|
15313
15321
|
promotionId: 'string',
|
|
15314
15322
|
regionId: 'string',
|
|
15323
|
+
resourceType: 'string',
|
|
15315
15324
|
};
|
|
15316
15325
|
}
|
|
15317
15326
|
|
|
@@ -17465,6 +17474,75 @@ export class CreateCdsFileResponseBodyFileModel extends $tea.Model {
|
|
|
17465
17474
|
}
|
|
17466
17475
|
}
|
|
17467
17476
|
|
|
17477
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds extends $tea.Model {
|
|
17478
|
+
cdsId?: string;
|
|
17479
|
+
regionId?: string;
|
|
17480
|
+
static names(): { [key: string]: string } {
|
|
17481
|
+
return {
|
|
17482
|
+
cdsId: 'CdsId',
|
|
17483
|
+
regionId: 'RegionId',
|
|
17484
|
+
};
|
|
17485
|
+
}
|
|
17486
|
+
|
|
17487
|
+
static types(): { [key: string]: any } {
|
|
17488
|
+
return {
|
|
17489
|
+
cdsId: 'string',
|
|
17490
|
+
regionId: 'string',
|
|
17491
|
+
};
|
|
17492
|
+
}
|
|
17493
|
+
|
|
17494
|
+
constructor(map?: { [key: string]: any }) {
|
|
17495
|
+
super(map);
|
|
17496
|
+
}
|
|
17497
|
+
}
|
|
17498
|
+
|
|
17499
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder extends $tea.Model {
|
|
17500
|
+
cdsId?: string;
|
|
17501
|
+
orderId?: string;
|
|
17502
|
+
regionId?: string;
|
|
17503
|
+
static names(): { [key: string]: string } {
|
|
17504
|
+
return {
|
|
17505
|
+
cdsId: 'CdsId',
|
|
17506
|
+
orderId: 'OrderId',
|
|
17507
|
+
regionId: 'RegionId',
|
|
17508
|
+
};
|
|
17509
|
+
}
|
|
17510
|
+
|
|
17511
|
+
static types(): { [key: string]: any } {
|
|
17512
|
+
return {
|
|
17513
|
+
cdsId: 'string',
|
|
17514
|
+
orderId: 'string',
|
|
17515
|
+
regionId: 'string',
|
|
17516
|
+
};
|
|
17517
|
+
}
|
|
17518
|
+
|
|
17519
|
+
constructor(map?: { [key: string]: any }) {
|
|
17520
|
+
super(map);
|
|
17521
|
+
}
|
|
17522
|
+
}
|
|
17523
|
+
|
|
17524
|
+
export class CreateCloudDriveServiceResponseBodyConflictCdsAndOrder extends $tea.Model {
|
|
17525
|
+
conflictCds?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds[];
|
|
17526
|
+
conflictOrder?: CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder[];
|
|
17527
|
+
static names(): { [key: string]: string } {
|
|
17528
|
+
return {
|
|
17529
|
+
conflictCds: 'ConflictCds',
|
|
17530
|
+
conflictOrder: 'ConflictOrder',
|
|
17531
|
+
};
|
|
17532
|
+
}
|
|
17533
|
+
|
|
17534
|
+
static types(): { [key: string]: any } {
|
|
17535
|
+
return {
|
|
17536
|
+
conflictCds: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictCds },
|
|
17537
|
+
conflictOrder: { 'type': 'array', 'itemType': CreateCloudDriveServiceResponseBodyConflictCdsAndOrderConflictOrder },
|
|
17538
|
+
};
|
|
17539
|
+
}
|
|
17540
|
+
|
|
17541
|
+
constructor(map?: { [key: string]: any }) {
|
|
17542
|
+
super(map);
|
|
17543
|
+
}
|
|
17544
|
+
}
|
|
17545
|
+
|
|
17468
17546
|
export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
17469
17547
|
orderId?: number;
|
|
17470
17548
|
oversoldGroupId?: string;
|
|
@@ -17561,6 +17639,31 @@ export class CreateDesktopsRequestDesktopTimers extends $tea.Model {
|
|
|
17561
17639
|
}
|
|
17562
17640
|
}
|
|
17563
17641
|
|
|
17642
|
+
export class CreateDesktopsRequestMonthDesktopSetting extends $tea.Model {
|
|
17643
|
+
buyerId?: number;
|
|
17644
|
+
desktopId?: string;
|
|
17645
|
+
useDuration?: number;
|
|
17646
|
+
static names(): { [key: string]: string } {
|
|
17647
|
+
return {
|
|
17648
|
+
buyerId: 'BuyerId',
|
|
17649
|
+
desktopId: 'DesktopId',
|
|
17650
|
+
useDuration: 'UseDuration',
|
|
17651
|
+
};
|
|
17652
|
+
}
|
|
17653
|
+
|
|
17654
|
+
static types(): { [key: string]: any } {
|
|
17655
|
+
return {
|
|
17656
|
+
buyerId: 'number',
|
|
17657
|
+
desktopId: 'string',
|
|
17658
|
+
useDuration: 'number',
|
|
17659
|
+
};
|
|
17660
|
+
}
|
|
17661
|
+
|
|
17662
|
+
constructor(map?: { [key: string]: any }) {
|
|
17663
|
+
super(map);
|
|
17664
|
+
}
|
|
17665
|
+
}
|
|
17666
|
+
|
|
17564
17667
|
export class CreateDesktopsRequestTag extends $tea.Model {
|
|
17565
17668
|
key?: string;
|
|
17566
17669
|
value?: string;
|
|
@@ -18572,7 +18675,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18572
18675
|
desktopType?: string;
|
|
18573
18676
|
directoryId?: string;
|
|
18574
18677
|
expireTime?: string;
|
|
18678
|
+
idleDisconnectDuration?: string;
|
|
18575
18679
|
imageId?: string;
|
|
18680
|
+
keepDuration?: string;
|
|
18576
18681
|
name?: string;
|
|
18577
18682
|
oversoldGroupId?: string;
|
|
18578
18683
|
oversoldUserCount?: number;
|
|
@@ -18591,7 +18696,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18591
18696
|
desktopType: 'DesktopType',
|
|
18592
18697
|
directoryId: 'DirectoryId',
|
|
18593
18698
|
expireTime: 'ExpireTime',
|
|
18699
|
+
idleDisconnectDuration: 'IdleDisconnectDuration',
|
|
18594
18700
|
imageId: 'ImageId',
|
|
18701
|
+
keepDuration: 'KeepDuration',
|
|
18595
18702
|
name: 'Name',
|
|
18596
18703
|
oversoldGroupId: 'OversoldGroupId',
|
|
18597
18704
|
oversoldUserCount: 'OversoldUserCount',
|
|
@@ -18613,7 +18720,9 @@ export class DescribeDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
|
18613
18720
|
desktopType: 'string',
|
|
18614
18721
|
directoryId: 'string',
|
|
18615
18722
|
expireTime: 'string',
|
|
18723
|
+
idleDisconnectDuration: 'string',
|
|
18616
18724
|
imageId: 'string',
|
|
18725
|
+
keepDuration: 'string',
|
|
18617
18726
|
name: 'string',
|
|
18618
18727
|
oversoldGroupId: 'string',
|
|
18619
18728
|
oversoldUserCount: 'number',
|
|
@@ -20176,6 +20285,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $tea.Model {
|
|
|
20176
20285
|
export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
20177
20286
|
ADConnectors?: DescribeOfficeSitesResponseBodyOfficeSitesADConnectors[];
|
|
20178
20287
|
adHostname?: string;
|
|
20288
|
+
backupDCHostname?: string;
|
|
20289
|
+
backupDns?: string;
|
|
20179
20290
|
bandwidth?: number;
|
|
20180
20291
|
cenAttachStatus?: string;
|
|
20181
20292
|
cenId?: string;
|
|
@@ -20194,6 +20305,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
20194
20305
|
enableAdminAccess?: boolean;
|
|
20195
20306
|
enableCrossDesktopAccess?: boolean;
|
|
20196
20307
|
enableInternetAccess?: boolean;
|
|
20308
|
+
enableServiceRoute?: boolean;
|
|
20197
20309
|
fileSystemIds?: string[];
|
|
20198
20310
|
logs?: DescribeOfficeSitesResponseBodyOfficeSitesLogs[];
|
|
20199
20311
|
mfaEnabled?: boolean;
|
|
@@ -20223,6 +20335,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
20223
20335
|
return {
|
|
20224
20336
|
ADConnectors: 'ADConnectors',
|
|
20225
20337
|
adHostname: 'AdHostname',
|
|
20338
|
+
backupDCHostname: 'BackupDCHostname',
|
|
20339
|
+
backupDns: 'BackupDns',
|
|
20226
20340
|
bandwidth: 'Bandwidth',
|
|
20227
20341
|
cenAttachStatus: 'CenAttachStatus',
|
|
20228
20342
|
cenId: 'CenId',
|
|
@@ -20241,6 +20355,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
20241
20355
|
enableAdminAccess: 'EnableAdminAccess',
|
|
20242
20356
|
enableCrossDesktopAccess: 'EnableCrossDesktopAccess',
|
|
20243
20357
|
enableInternetAccess: 'EnableInternetAccess',
|
|
20358
|
+
enableServiceRoute: 'EnableServiceRoute',
|
|
20244
20359
|
fileSystemIds: 'FileSystemIds',
|
|
20245
20360
|
logs: 'Logs',
|
|
20246
20361
|
mfaEnabled: 'MfaEnabled',
|
|
@@ -20273,6 +20388,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
20273
20388
|
return {
|
|
20274
20389
|
ADConnectors: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesADConnectors },
|
|
20275
20390
|
adHostname: 'string',
|
|
20391
|
+
backupDCHostname: 'string',
|
|
20392
|
+
backupDns: 'string',
|
|
20276
20393
|
bandwidth: 'number',
|
|
20277
20394
|
cenAttachStatus: 'string',
|
|
20278
20395
|
cenId: 'string',
|
|
@@ -20291,6 +20408,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
20291
20408
|
enableAdminAccess: 'boolean',
|
|
20292
20409
|
enableCrossDesktopAccess: 'boolean',
|
|
20293
20410
|
enableInternetAccess: 'boolean',
|
|
20411
|
+
enableServiceRoute: 'boolean',
|
|
20294
20412
|
fileSystemIds: { 'type': 'array', 'itemType': 'string' },
|
|
20295
20413
|
logs: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesLogs },
|
|
20296
20414
|
mfaEnabled: 'boolean',
|
|
@@ -23126,6 +23244,13 @@ export default class Client extends OpenApi {
|
|
|
23126
23244
|
return await this.applyCoordinationForMonitoringWithOptions(request, runtime);
|
|
23127
23245
|
}
|
|
23128
23246
|
|
|
23247
|
+
/**
|
|
23248
|
+
* The cloud computers for which you want to allow image updates must be in the Running state.
|
|
23249
|
+
*
|
|
23250
|
+
* @param request ApproveFotaUpdateRequest
|
|
23251
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23252
|
+
* @return ApproveFotaUpdateResponse
|
|
23253
|
+
*/
|
|
23129
23254
|
async approveFotaUpdateWithOptions(request: ApproveFotaUpdateRequest, runtime: $Util.RuntimeOptions): Promise<ApproveFotaUpdateResponse> {
|
|
23130
23255
|
Util.validateModel(request);
|
|
23131
23256
|
let query = { };
|
|
@@ -23158,6 +23283,12 @@ export default class Client extends OpenApi {
|
|
|
23158
23283
|
return $tea.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
23159
23284
|
}
|
|
23160
23285
|
|
|
23286
|
+
/**
|
|
23287
|
+
* The cloud computers for which you want to allow image updates must be in the Running state.
|
|
23288
|
+
*
|
|
23289
|
+
* @param request ApproveFotaUpdateRequest
|
|
23290
|
+
* @return ApproveFotaUpdateResponse
|
|
23291
|
+
*/
|
|
23161
23292
|
async approveFotaUpdate(request: ApproveFotaUpdateRequest): Promise<ApproveFotaUpdateResponse> {
|
|
23162
23293
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23163
23294
|
return await this.approveFotaUpdateWithOptions(request, runtime);
|
|
@@ -23740,7 +23871,7 @@ export default class Client extends OpenApi {
|
|
|
23740
23871
|
}
|
|
23741
23872
|
|
|
23742
23873
|
/**
|
|
23743
|
-
* AD
|
|
23874
|
+
* An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
23744
23875
|
*
|
|
23745
23876
|
* @param request CreateADConnectorDirectoryRequest
|
|
23746
23877
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23819,7 +23950,7 @@ export default class Client extends OpenApi {
|
|
|
23819
23950
|
}
|
|
23820
23951
|
|
|
23821
23952
|
/**
|
|
23822
|
-
* AD
|
|
23953
|
+
* An AD directory is used to connect to an enterprise\\"s existing Active Directory and is suitable for large-scale cloud computer deployment. You are charged directory fees when you connect your AD to cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
23823
23954
|
*
|
|
23824
23955
|
* @param request CreateADConnectorDirectoryRequest
|
|
23825
23956
|
* @return CreateADConnectorDirectoryResponse
|
|
@@ -24796,6 +24927,10 @@ export default class Client extends OpenApi {
|
|
|
24796
24927
|
query["Hostname"] = request.hostname;
|
|
24797
24928
|
}
|
|
24798
24929
|
|
|
24930
|
+
if (!Util.isUnset(request.monthDesktopSetting)) {
|
|
24931
|
+
query["MonthDesktopSetting"] = request.monthDesktopSetting;
|
|
24932
|
+
}
|
|
24933
|
+
|
|
24799
24934
|
if (!Util.isUnset(request.officeSiteId)) {
|
|
24800
24935
|
query["OfficeSiteId"] = request.officeSiteId;
|
|
24801
24936
|
}
|
|
@@ -25337,9 +25472,9 @@ export default class Client extends OpenApi {
|
|
|
25337
25472
|
}
|
|
25338
25473
|
|
|
25339
25474
|
/**
|
|
25340
|
-
* Before you create a RAM directory,
|
|
25341
|
-
* *
|
|
25342
|
-
* *
|
|
25475
|
+
* Before you create a RAM directory, complete the following preparations:
|
|
25476
|
+
* * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
|
|
25477
|
+
* * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
|
|
25343
25478
|
*
|
|
25344
25479
|
* @param request CreateRAMDirectoryRequest
|
|
25345
25480
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25390,9 +25525,9 @@ export default class Client extends OpenApi {
|
|
|
25390
25525
|
}
|
|
25391
25526
|
|
|
25392
25527
|
/**
|
|
25393
|
-
* Before you create a RAM directory,
|
|
25394
|
-
* *
|
|
25395
|
-
* *
|
|
25528
|
+
* Before you create a RAM directory, complete the following preparations:
|
|
25529
|
+
* * Call the `CreateVpc` operation to create a virtual private cloud (VPC) in a region supported by WUYING Workspace.
|
|
25530
|
+
* * Call the `CreateVSwitch` operation to create a vSwitch in the VPC. The vSwitch is in a zone that is supported by WUYING Workspace. You can call the [DescribeZones](~~196648~~) operation to obtain the most recent zone list for a region supported by WUYING Workspace.
|
|
25396
25531
|
*
|
|
25397
25532
|
* @param request CreateRAMDirectoryRequest
|
|
25398
25533
|
* @return CreateRAMDirectoryResponse
|
|
@@ -25864,7 +25999,7 @@ export default class Client extends OpenApi {
|
|
|
25864
25999
|
}
|
|
25865
26000
|
|
|
25866
26001
|
/**
|
|
25867
|
-
* You cannot delete
|
|
26002
|
+
* You cannot delete a directory that has a cloud computer or is used by a cloud computer.
|
|
25868
26003
|
*
|
|
25869
26004
|
* @param request DeleteDirectoriesRequest
|
|
25870
26005
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25899,7 +26034,7 @@ export default class Client extends OpenApi {
|
|
|
25899
26034
|
}
|
|
25900
26035
|
|
|
25901
26036
|
/**
|
|
25902
|
-
* You cannot delete
|
|
26037
|
+
* You cannot delete a directory that has a cloud computer or is used by a cloud computer.
|
|
25903
26038
|
*
|
|
25904
26039
|
* @param request DeleteDirectoriesRequest
|
|
25905
26040
|
* @return DeleteDirectoriesResponse
|
|
@@ -30462,6 +30597,13 @@ export default class Client extends OpenApi {
|
|
|
30462
30597
|
return await this.migrateImageProtocolWithOptions(request, runtime);
|
|
30463
30598
|
}
|
|
30464
30599
|
|
|
30600
|
+
/**
|
|
30601
|
+
* You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
|
|
30602
|
+
*
|
|
30603
|
+
* @param request ModifyADConnectorDirectoryRequest
|
|
30604
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30605
|
+
* @return ModifyADConnectorDirectoryResponse
|
|
30606
|
+
*/
|
|
30465
30607
|
async modifyADConnectorDirectoryWithOptions(request: ModifyADConnectorDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorDirectoryResponse> {
|
|
30466
30608
|
Util.validateModel(request);
|
|
30467
30609
|
let query = { };
|
|
@@ -30530,6 +30672,12 @@ export default class Client extends OpenApi {
|
|
|
30530
30672
|
return $tea.cast<ModifyADConnectorDirectoryResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorDirectoryResponse({}));
|
|
30531
30673
|
}
|
|
30532
30674
|
|
|
30675
|
+
/**
|
|
30676
|
+
* You can modify the following domain name- and Domain Name System (DNS)-related parameters only for Active Directory (AD) directories that are in the ERROR or REGISTERING state: `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress`.
|
|
30677
|
+
*
|
|
30678
|
+
* @param request ModifyADConnectorDirectoryRequest
|
|
30679
|
+
* @return ModifyADConnectorDirectoryResponse
|
|
30680
|
+
*/
|
|
30533
30681
|
async modifyADConnectorDirectory(request: ModifyADConnectorDirectoryRequest): Promise<ModifyADConnectorDirectoryResponse> {
|
|
30534
30682
|
let runtime = new $Util.RuntimeOptions({ });
|
|
30535
30683
|
return await this.modifyADConnectorDirectoryWithOptions(request, runtime);
|
|
@@ -32983,6 +33131,10 @@ export default class Client extends OpenApi {
|
|
|
32983
33131
|
query["RegionId"] = request.regionId;
|
|
32984
33132
|
}
|
|
32985
33133
|
|
|
33134
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
33135
|
+
query["ResourceType"] = request.resourceType;
|
|
33136
|
+
}
|
|
33137
|
+
|
|
32986
33138
|
let req = new $OpenApi.OpenApiRequest({
|
|
32987
33139
|
query: OpenApiUtil.query(query),
|
|
32988
33140
|
});
|
|
@@ -34025,6 +34177,13 @@ export default class Client extends OpenApi {
|
|
|
34025
34177
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
34026
34178
|
}
|
|
34027
34179
|
|
|
34180
|
+
/**
|
|
34181
|
+
* You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
|
|
34182
|
+
*
|
|
34183
|
+
* @param request UpdateFotaTaskRequest
|
|
34184
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34185
|
+
* @return UpdateFotaTaskResponse
|
|
34186
|
+
*/
|
|
34028
34187
|
async updateFotaTaskWithOptions(request: UpdateFotaTaskRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFotaTaskResponse> {
|
|
34029
34188
|
Util.validateModel(request);
|
|
34030
34189
|
let query = { };
|
|
@@ -34057,6 +34216,12 @@ export default class Client extends OpenApi {
|
|
|
34057
34216
|
return $tea.cast<UpdateFotaTaskResponse>(await this.callApi(params, req, runtime), new UpdateFotaTaskResponse({}));
|
|
34058
34217
|
}
|
|
34059
34218
|
|
|
34219
|
+
/**
|
|
34220
|
+
* You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the WUYING Workspace console and choose **Operations > Image Updates** in the left-side navigation pane.
|
|
34221
|
+
*
|
|
34222
|
+
* @param request UpdateFotaTaskRequest
|
|
34223
|
+
* @return UpdateFotaTaskResponse
|
|
34224
|
+
*/
|
|
34060
34225
|
async updateFotaTask(request: UpdateFotaTaskRequest): Promise<UpdateFotaTaskResponse> {
|
|
34061
34226
|
let runtime = new $Util.RuntimeOptions({ });
|
|
34062
34227
|
return await this.updateFotaTaskWithOptions(request, runtime);
|