@alicloud/ecd20200930 3.2.0 → 3.3.1
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 +22 -10
- package/dist/client.js +56 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +74 -10
package/dist/client.d.ts
CHANGED
|
@@ -1444,7 +1444,10 @@ export declare class CreateCdsFileShareLinkResponse extends $tea.Model {
|
|
|
1444
1444
|
});
|
|
1445
1445
|
}
|
|
1446
1446
|
export declare class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
1447
|
+
autoPay?: boolean;
|
|
1448
|
+
autoRenew?: boolean;
|
|
1447
1449
|
bizType?: number;
|
|
1450
|
+
cdsChargeType?: string;
|
|
1448
1451
|
cenId?: string;
|
|
1449
1452
|
domainName?: string;
|
|
1450
1453
|
endUserId?: string[];
|
|
@@ -1452,8 +1455,11 @@ export declare class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
1452
1455
|
name?: string;
|
|
1453
1456
|
officeSiteId?: string;
|
|
1454
1457
|
officeSiteType?: string;
|
|
1458
|
+
period?: number;
|
|
1459
|
+
periodUnit?: string;
|
|
1455
1460
|
regionId?: string;
|
|
1456
1461
|
solutionId?: string;
|
|
1462
|
+
userCount?: number;
|
|
1457
1463
|
userMaxSize?: number;
|
|
1458
1464
|
static names(): {
|
|
1459
1465
|
[key: string]: string;
|
|
@@ -1470,8 +1476,10 @@ export declare class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
1470
1476
|
cdsName?: string;
|
|
1471
1477
|
cenId?: string;
|
|
1472
1478
|
domainName?: string;
|
|
1479
|
+
errorCode?: string;
|
|
1473
1480
|
maxSize?: string;
|
|
1474
1481
|
officeSiteType?: string;
|
|
1482
|
+
orderId?: string;
|
|
1475
1483
|
requestId?: string;
|
|
1476
1484
|
static names(): {
|
|
1477
1485
|
[key: string]: string;
|
|
@@ -8466,10 +8474,12 @@ export declare class RenewNetworkPackagesResponse extends $tea.Model {
|
|
|
8466
8474
|
}
|
|
8467
8475
|
export declare class ResetDesktopsRequest extends $tea.Model {
|
|
8468
8476
|
desktopGroupId?: string;
|
|
8477
|
+
desktopGroupIds?: string[];
|
|
8469
8478
|
desktopId?: string[];
|
|
8470
8479
|
imageId?: string;
|
|
8471
8480
|
payType?: string;
|
|
8472
8481
|
regionId?: string;
|
|
8482
|
+
resetScope?: string;
|
|
8473
8483
|
resetType?: string;
|
|
8474
8484
|
static names(): {
|
|
8475
8485
|
[key: string]: string;
|
|
@@ -12228,7 +12238,7 @@ export default class Client extends OpenApi {
|
|
|
12228
12238
|
* * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
|
|
12229
12239
|
* * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
|
|
12230
12240
|
* **
|
|
12231
|
-
* **Note**If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
12241
|
+
* **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
12232
12242
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
12233
12243
|
*
|
|
12234
12244
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -12240,7 +12250,7 @@ export default class Client extends OpenApi {
|
|
|
12240
12250
|
* * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
|
|
12241
12251
|
* * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
|
|
12242
12252
|
* **
|
|
12243
|
-
* **Note**If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
12253
|
+
* **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
12244
12254
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
12245
12255
|
*
|
|
12246
12256
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -12570,7 +12580,7 @@ export default class Client extends OpenApi {
|
|
|
12570
12580
|
describeCensWithOptions(request: DescribeCensRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCensResponse>;
|
|
12571
12581
|
describeCens(request: DescribeCensRequest): Promise<DescribeCensResponse>;
|
|
12572
12582
|
/**
|
|
12573
|
-
*
|
|
12583
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
12574
12584
|
*
|
|
12575
12585
|
* @param request DescribeClientEventsRequest
|
|
12576
12586
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12578,7 +12588,7 @@ export default class Client extends OpenApi {
|
|
|
12578
12588
|
*/
|
|
12579
12589
|
describeClientEventsWithOptions(request: DescribeClientEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClientEventsResponse>;
|
|
12580
12590
|
/**
|
|
12581
|
-
*
|
|
12591
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
12582
12592
|
*
|
|
12583
12593
|
* @param request DescribeClientEventsRequest
|
|
12584
12594
|
* @return DescribeClientEventsResponse
|
|
@@ -12939,9 +12949,10 @@ export default class Client extends OpenApi {
|
|
|
12939
12949
|
modifyCustomizedListHeadersWithOptions(request: ModifyCustomizedListHeadersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCustomizedListHeadersResponse>;
|
|
12940
12950
|
modifyCustomizedListHeaders(request: ModifyCustomizedListHeadersRequest): Promise<ModifyCustomizedListHeadersResponse>;
|
|
12941
12951
|
/**
|
|
12942
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
12952
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
|
|
12943
12953
|
* * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
|
|
12944
12954
|
* * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
|
|
12955
|
+
* * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
|
|
12945
12956
|
*
|
|
12946
12957
|
* @param request ModifyDesktopChargeTypeRequest
|
|
12947
12958
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12949,9 +12960,10 @@ export default class Client extends OpenApi {
|
|
|
12949
12960
|
*/
|
|
12950
12961
|
modifyDesktopChargeTypeWithOptions(request: ModifyDesktopChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDesktopChargeTypeResponse>;
|
|
12951
12962
|
/**
|
|
12952
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
12963
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
|
|
12953
12964
|
* * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
|
|
12954
12965
|
* * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
|
|
12966
|
+
* * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
|
|
12955
12967
|
*
|
|
12956
12968
|
* @param request ModifyDesktopChargeTypeRequest
|
|
12957
12969
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -13263,7 +13275,7 @@ export default class Client extends OpenApi {
|
|
|
13263
13275
|
* Before you call this operation, make sure that the following operations are performed:
|
|
13264
13276
|
* * The data that you want to retain in the disk is backed up.
|
|
13265
13277
|
* **
|
|
13266
|
-
* **Note**The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
13278
|
+
* **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
13267
13279
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
13268
13280
|
*
|
|
13269
13281
|
* @param request ResetSnapshotRequest
|
|
@@ -13275,7 +13287,7 @@ export default class Client extends OpenApi {
|
|
|
13275
13287
|
* Before you call this operation, make sure that the following operations are performed:
|
|
13276
13288
|
* * The data that you want to retain in the disk is backed up.
|
|
13277
13289
|
* **
|
|
13278
|
-
* **Note**The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
13290
|
+
* **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
13279
13291
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
13280
13292
|
*
|
|
13281
13293
|
* @param request ResetSnapshotRequest
|
|
@@ -13387,7 +13399,7 @@ export default class Client extends OpenApi {
|
|
|
13387
13399
|
*/
|
|
13388
13400
|
stopDesktops(request: StopDesktopsRequest): Promise<StopDesktopsResponse>;
|
|
13389
13401
|
/**
|
|
13390
|
-
*
|
|
13402
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
13391
13403
|
*
|
|
13392
13404
|
* @param request StopInvocationRequest
|
|
13393
13405
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13395,7 +13407,7 @@ export default class Client extends OpenApi {
|
|
|
13395
13407
|
*/
|
|
13396
13408
|
stopInvocationWithOptions(request: StopInvocationRequest, runtime: $Util.RuntimeOptions): Promise<StopInvocationResponse>;
|
|
13397
13409
|
/**
|
|
13398
|
-
*
|
|
13410
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
13399
13411
|
*
|
|
13400
13412
|
* @param request StopInvocationRequest
|
|
13401
13413
|
* @return StopInvocationResponse
|
package/dist/client.js
CHANGED
|
@@ -2052,7 +2052,10 @@ class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
static names() {
|
|
2054
2054
|
return {
|
|
2055
|
+
autoPay: 'AutoPay',
|
|
2056
|
+
autoRenew: 'AutoRenew',
|
|
2055
2057
|
bizType: 'BizType',
|
|
2058
|
+
cdsChargeType: 'CdsChargeType',
|
|
2056
2059
|
cenId: 'CenId',
|
|
2057
2060
|
domainName: 'DomainName',
|
|
2058
2061
|
endUserId: 'EndUserId',
|
|
@@ -2060,14 +2063,20 @@ class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2060
2063
|
name: 'Name',
|
|
2061
2064
|
officeSiteId: 'OfficeSiteId',
|
|
2062
2065
|
officeSiteType: 'OfficeSiteType',
|
|
2066
|
+
period: 'Period',
|
|
2067
|
+
periodUnit: 'PeriodUnit',
|
|
2063
2068
|
regionId: 'RegionId',
|
|
2064
2069
|
solutionId: 'SolutionId',
|
|
2070
|
+
userCount: 'UserCount',
|
|
2065
2071
|
userMaxSize: 'UserMaxSize',
|
|
2066
2072
|
};
|
|
2067
2073
|
}
|
|
2068
2074
|
static types() {
|
|
2069
2075
|
return {
|
|
2076
|
+
autoPay: 'boolean',
|
|
2077
|
+
autoRenew: 'boolean',
|
|
2070
2078
|
bizType: 'number',
|
|
2079
|
+
cdsChargeType: 'string',
|
|
2071
2080
|
cenId: 'string',
|
|
2072
2081
|
domainName: 'string',
|
|
2073
2082
|
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -2075,8 +2084,11 @@ class CreateCloudDriveServiceRequest extends $tea.Model {
|
|
|
2075
2084
|
name: 'string',
|
|
2076
2085
|
officeSiteId: 'string',
|
|
2077
2086
|
officeSiteType: 'string',
|
|
2087
|
+
period: 'number',
|
|
2088
|
+
periodUnit: 'string',
|
|
2078
2089
|
regionId: 'string',
|
|
2079
2090
|
solutionId: 'string',
|
|
2091
|
+
userCount: 'number',
|
|
2080
2092
|
userMaxSize: 'number',
|
|
2081
2093
|
};
|
|
2082
2094
|
}
|
|
@@ -2092,8 +2104,10 @@ class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2092
2104
|
cdsName: 'CdsName',
|
|
2093
2105
|
cenId: 'CenId',
|
|
2094
2106
|
domainName: 'DomainName',
|
|
2107
|
+
errorCode: 'ErrorCode',
|
|
2095
2108
|
maxSize: 'MaxSize',
|
|
2096
2109
|
officeSiteType: 'OfficeSiteType',
|
|
2110
|
+
orderId: 'OrderId',
|
|
2097
2111
|
requestId: 'RequestId',
|
|
2098
2112
|
};
|
|
2099
2113
|
}
|
|
@@ -2103,8 +2117,10 @@ class CreateCloudDriveServiceResponseBody extends $tea.Model {
|
|
|
2103
2117
|
cdsName: 'string',
|
|
2104
2118
|
cenId: 'string',
|
|
2105
2119
|
domainName: 'string',
|
|
2120
|
+
errorCode: 'string',
|
|
2106
2121
|
maxSize: 'string',
|
|
2107
2122
|
officeSiteType: 'string',
|
|
2123
|
+
orderId: 'string',
|
|
2108
2124
|
requestId: 'string',
|
|
2109
2125
|
};
|
|
2110
2126
|
}
|
|
@@ -11963,20 +11979,24 @@ class ResetDesktopsRequest extends $tea.Model {
|
|
|
11963
11979
|
static names() {
|
|
11964
11980
|
return {
|
|
11965
11981
|
desktopGroupId: 'DesktopGroupId',
|
|
11982
|
+
desktopGroupIds: 'DesktopGroupIds',
|
|
11966
11983
|
desktopId: 'DesktopId',
|
|
11967
11984
|
imageId: 'ImageId',
|
|
11968
11985
|
payType: 'PayType',
|
|
11969
11986
|
regionId: 'RegionId',
|
|
11987
|
+
resetScope: 'ResetScope',
|
|
11970
11988
|
resetType: 'ResetType',
|
|
11971
11989
|
};
|
|
11972
11990
|
}
|
|
11973
11991
|
static types() {
|
|
11974
11992
|
return {
|
|
11975
11993
|
desktopGroupId: 'string',
|
|
11994
|
+
desktopGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
11976
11995
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
11977
11996
|
imageId: 'string',
|
|
11978
11997
|
payType: 'string',
|
|
11979
11998
|
regionId: 'string',
|
|
11999
|
+
resetScope: 'string',
|
|
11980
12000
|
resetType: 'string',
|
|
11981
12001
|
};
|
|
11982
12002
|
}
|
|
@@ -18394,7 +18414,7 @@ class Client extends openapi_client_1.default {
|
|
|
18394
18414
|
* * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
|
|
18395
18415
|
* * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
|
|
18396
18416
|
* **
|
|
18397
|
-
* **Note**If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
18417
|
+
* **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
18398
18418
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
18399
18419
|
*
|
|
18400
18420
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -18484,7 +18504,7 @@ class Client extends openapi_client_1.default {
|
|
|
18484
18504
|
* * When you create a workspace of the enterprise AD account type, AD connectors are automatically created to allow you to connect to enterprise AD systems. You are charged for the AD connectors. For more information, see [Billing overview](~~188395~~).
|
|
18485
18505
|
* * After you call this operation to create a workspace of the enterprise AD account type, perform the following steps to configure the AD domain: 1. Configure the conditional forwarder in the Domain Name System (DNS) server. 2. Configure the trust relationship in the AD domain server, and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship for the workspace of the enterprise AD account type. 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to obtain the organizational unit (OU) details of the AD domain. Then, call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and an administrator for the workspace of the enterprise AD account type.
|
|
18486
18506
|
* **
|
|
18487
|
-
* **Note**If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
18507
|
+
* **Note** If you specify DomainUserName and DomainPassword when you create a workspace of the enterprise AD account type, you must configure only the conditional forwarder. If you do not specify DomainUserName or DomainPassword, you must configure the conditional forwarder, trust relationship, and OU.
|
|
18488
18508
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
18489
18509
|
*
|
|
18490
18510
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -18789,9 +18809,18 @@ class Client extends openapi_client_1.default {
|
|
|
18789
18809
|
async createCloudDriveServiceWithOptions(request, runtime) {
|
|
18790
18810
|
tea_util_1.default.validateModel(request);
|
|
18791
18811
|
let query = {};
|
|
18812
|
+
if (!tea_util_1.default.isUnset(request.autoPay)) {
|
|
18813
|
+
query["AutoPay"] = request.autoPay;
|
|
18814
|
+
}
|
|
18815
|
+
if (!tea_util_1.default.isUnset(request.autoRenew)) {
|
|
18816
|
+
query["AutoRenew"] = request.autoRenew;
|
|
18817
|
+
}
|
|
18792
18818
|
if (!tea_util_1.default.isUnset(request.bizType)) {
|
|
18793
18819
|
query["BizType"] = request.bizType;
|
|
18794
18820
|
}
|
|
18821
|
+
if (!tea_util_1.default.isUnset(request.cdsChargeType)) {
|
|
18822
|
+
query["CdsChargeType"] = request.cdsChargeType;
|
|
18823
|
+
}
|
|
18795
18824
|
if (!tea_util_1.default.isUnset(request.cenId)) {
|
|
18796
18825
|
query["CenId"] = request.cenId;
|
|
18797
18826
|
}
|
|
@@ -18813,12 +18842,21 @@ class Client extends openapi_client_1.default {
|
|
|
18813
18842
|
if (!tea_util_1.default.isUnset(request.officeSiteType)) {
|
|
18814
18843
|
query["OfficeSiteType"] = request.officeSiteType;
|
|
18815
18844
|
}
|
|
18845
|
+
if (!tea_util_1.default.isUnset(request.period)) {
|
|
18846
|
+
query["Period"] = request.period;
|
|
18847
|
+
}
|
|
18848
|
+
if (!tea_util_1.default.isUnset(request.periodUnit)) {
|
|
18849
|
+
query["PeriodUnit"] = request.periodUnit;
|
|
18850
|
+
}
|
|
18816
18851
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
18817
18852
|
query["RegionId"] = request.regionId;
|
|
18818
18853
|
}
|
|
18819
18854
|
if (!tea_util_1.default.isUnset(request.solutionId)) {
|
|
18820
18855
|
query["SolutionId"] = request.solutionId;
|
|
18821
18856
|
}
|
|
18857
|
+
if (!tea_util_1.default.isUnset(request.userCount)) {
|
|
18858
|
+
query["UserCount"] = request.userCount;
|
|
18859
|
+
}
|
|
18822
18860
|
if (!tea_util_1.default.isUnset(request.userMaxSize)) {
|
|
18823
18861
|
query["UserMaxSize"] = request.userMaxSize;
|
|
18824
18862
|
}
|
|
@@ -20635,7 +20673,7 @@ class Client extends openapi_client_1.default {
|
|
|
20635
20673
|
return await this.describeCensWithOptions(request, runtime);
|
|
20636
20674
|
}
|
|
20637
20675
|
/**
|
|
20638
|
-
*
|
|
20676
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
20639
20677
|
*
|
|
20640
20678
|
* @param request DescribeClientEventsRequest
|
|
20641
20679
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20703,7 +20741,7 @@ class Client extends openapi_client_1.default {
|
|
|
20703
20741
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClientEventsResponse({}));
|
|
20704
20742
|
}
|
|
20705
20743
|
/**
|
|
20706
|
-
*
|
|
20744
|
+
* You can audit the operation logs of regular users to improve security. The operation logs record events such as desktop startup, shutdown, and session disconnection.
|
|
20707
20745
|
*
|
|
20708
20746
|
* @param request DescribeClientEventsRequest
|
|
20709
20747
|
* @return DescribeClientEventsResponse
|
|
@@ -24294,9 +24332,10 @@ class Client extends openapi_client_1.default {
|
|
|
24294
24332
|
return await this.modifyCustomizedListHeadersWithOptions(request, runtime);
|
|
24295
24333
|
}
|
|
24296
24334
|
/**
|
|
24297
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
24335
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
|
|
24298
24336
|
* * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
|
|
24299
24337
|
* * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
|
|
24338
|
+
* * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
|
|
24300
24339
|
*
|
|
24301
24340
|
* @param request ModifyDesktopChargeTypeRequest
|
|
24302
24341
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24346,9 +24385,10 @@ class Client extends openapi_client_1.default {
|
|
|
24346
24385
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDesktopChargeTypeResponse({}));
|
|
24347
24386
|
}
|
|
24348
24387
|
/**
|
|
24349
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops. For more information, see [Billing overview](~~188395~~).
|
|
24388
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods of cloud desktops in Elastic Desktop Service (EDS). For more information, see [Billing overview](~~188395~~).
|
|
24350
24389
|
* * Before you call this operation, make sure that the cloud desktop that you want to manage is in the Running or Stopped state and no overdue payments of the cloud desktop are generated.
|
|
24351
24390
|
* * After the order payment is completed, the system starts to change the billing method of the cloud desktop. During the change, you cannot perform operations, such as starting or stopping the cloud desktop, and changing configurations of the cloud desktop.
|
|
24391
|
+
* * After you change the billing method of the cloud desktop from subscription to pay-as-you-go, you may get a refund. For more information, see [Change a subscription cloud desktop to a pay-as-you-go one](https://help.aliyun.com/document_detail/439964.html).
|
|
24352
24392
|
*
|
|
24353
24393
|
* @param request ModifyDesktopChargeTypeRequest
|
|
24354
24394
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -25934,6 +25974,9 @@ class Client extends openapi_client_1.default {
|
|
|
25934
25974
|
if (!tea_util_1.default.isUnset(request.desktopGroupId)) {
|
|
25935
25975
|
query["DesktopGroupId"] = request.desktopGroupId;
|
|
25936
25976
|
}
|
|
25977
|
+
if (!tea_util_1.default.isUnset(request.desktopGroupIds)) {
|
|
25978
|
+
query["DesktopGroupIds"] = request.desktopGroupIds;
|
|
25979
|
+
}
|
|
25937
25980
|
if (!tea_util_1.default.isUnset(request.desktopId)) {
|
|
25938
25981
|
query["DesktopId"] = request.desktopId;
|
|
25939
25982
|
}
|
|
@@ -25946,6 +25989,9 @@ class Client extends openapi_client_1.default {
|
|
|
25946
25989
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
25947
25990
|
query["RegionId"] = request.regionId;
|
|
25948
25991
|
}
|
|
25992
|
+
if (!tea_util_1.default.isUnset(request.resetScope)) {
|
|
25993
|
+
query["ResetScope"] = request.resetScope;
|
|
25994
|
+
}
|
|
25949
25995
|
if (!tea_util_1.default.isUnset(request.resetType)) {
|
|
25950
25996
|
query["ResetType"] = request.resetType;
|
|
25951
25997
|
}
|
|
@@ -26021,7 +26067,7 @@ class Client extends openapi_client_1.default {
|
|
|
26021
26067
|
* Before you call this operation, make sure that the following operations are performed:
|
|
26022
26068
|
* * The data that you want to retain in the disk is backed up.
|
|
26023
26069
|
* **
|
|
26024
|
-
* **Note**The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
26070
|
+
* **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
26025
26071
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
26026
26072
|
*
|
|
26027
26073
|
* @param request ResetSnapshotRequest
|
|
@@ -26057,7 +26103,7 @@ class Client extends openapi_client_1.default {
|
|
|
26057
26103
|
* Before you call this operation, make sure that the following operations are performed:
|
|
26058
26104
|
* * The data that you want to retain in the disk is backed up.
|
|
26059
26105
|
* **
|
|
26060
|
-
* **Note**The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
26106
|
+
* **Note** The disk restoration operation is irreversible. After you restore data on a disk, the disk is restored to the status at the point in time when the snapshot was created. Data that is generated between the snapshot creation time and the current time is lost. Before you restore a disk from a snapshot, make sure that you back up important data.
|
|
26061
26107
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
26062
26108
|
*
|
|
26063
26109
|
* @param request ResetSnapshotRequest
|
|
@@ -26570,7 +26616,7 @@ class Client extends openapi_client_1.default {
|
|
|
26570
26616
|
return await this.stopDesktopsWithOptions(request, runtime);
|
|
26571
26617
|
}
|
|
26572
26618
|
/**
|
|
26573
|
-
*
|
|
26619
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
26574
26620
|
*
|
|
26575
26621
|
* @param request StopInvocationRequest
|
|
26576
26622
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26605,7 +26651,7 @@ class Client extends openapi_client_1.default {
|
|
|
26605
26651
|
return $tea.cast(await this.callApi(params, req, runtime), new StopInvocationResponse({}));
|
|
26606
26652
|
}
|
|
26607
26653
|
/**
|
|
26608
|
-
*
|
|
26654
|
+
* When you stop a one-time execution of a command, the command continues to run on the cloud desktops where it has started to run, and will not run on the cloud desktops where it has not started to run.
|
|
26609
26655
|
*
|
|
26610
26656
|
* @param request StopInvocationRequest
|
|
26611
26657
|
* @return StopInvocationResponse
|