@alicloud/ecd20200930 3.1.0 → 3.3.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 +67 -10
- package/dist/client.js +150 -11
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +187 -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;
|
|
@@ -9208,6 +9216,51 @@ export declare class TagResourcesResponse extends $tea.Model {
|
|
|
9208
9216
|
[key: string]: any;
|
|
9209
9217
|
});
|
|
9210
9218
|
}
|
|
9219
|
+
export declare class UnbindUserDesktopRequest extends $tea.Model {
|
|
9220
|
+
desktopAgentIds?: string[];
|
|
9221
|
+
desktopGroupId?: string;
|
|
9222
|
+
desktopIds?: string[];
|
|
9223
|
+
force?: boolean;
|
|
9224
|
+
reason?: string;
|
|
9225
|
+
userDesktopIds?: string[];
|
|
9226
|
+
static names(): {
|
|
9227
|
+
[key: string]: string;
|
|
9228
|
+
};
|
|
9229
|
+
static types(): {
|
|
9230
|
+
[key: string]: any;
|
|
9231
|
+
};
|
|
9232
|
+
constructor(map?: {
|
|
9233
|
+
[key: string]: any;
|
|
9234
|
+
});
|
|
9235
|
+
}
|
|
9236
|
+
export declare class UnbindUserDesktopResponseBody extends $tea.Model {
|
|
9237
|
+
requestId?: string;
|
|
9238
|
+
static names(): {
|
|
9239
|
+
[key: string]: string;
|
|
9240
|
+
};
|
|
9241
|
+
static types(): {
|
|
9242
|
+
[key: string]: any;
|
|
9243
|
+
};
|
|
9244
|
+
constructor(map?: {
|
|
9245
|
+
[key: string]: any;
|
|
9246
|
+
});
|
|
9247
|
+
}
|
|
9248
|
+
export declare class UnbindUserDesktopResponse extends $tea.Model {
|
|
9249
|
+
headers?: {
|
|
9250
|
+
[key: string]: string;
|
|
9251
|
+
};
|
|
9252
|
+
statusCode?: number;
|
|
9253
|
+
body?: UnbindUserDesktopResponseBody;
|
|
9254
|
+
static names(): {
|
|
9255
|
+
[key: string]: string;
|
|
9256
|
+
};
|
|
9257
|
+
static types(): {
|
|
9258
|
+
[key: string]: any;
|
|
9259
|
+
};
|
|
9260
|
+
constructor(map?: {
|
|
9261
|
+
[key: string]: any;
|
|
9262
|
+
});
|
|
9263
|
+
}
|
|
9211
9264
|
export declare class UnlockVirtualMFADeviceRequest extends $tea.Model {
|
|
9212
9265
|
regionId?: string;
|
|
9213
9266
|
serialNumber?: string;
|
|
@@ -12183,7 +12236,7 @@ export default class Client extends OpenApi {
|
|
|
12183
12236
|
* * 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~~).
|
|
12184
12237
|
* * 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.
|
|
12185
12238
|
* **
|
|
12186
|
-
* **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.
|
|
12239
|
+
* **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.
|
|
12187
12240
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
12188
12241
|
*
|
|
12189
12242
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -12195,7 +12248,7 @@ export default class Client extends OpenApi {
|
|
|
12195
12248
|
* * 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~~).
|
|
12196
12249
|
* * 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.
|
|
12197
12250
|
* **
|
|
12198
|
-
* **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.
|
|
12251
|
+
* **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.
|
|
12199
12252
|
* For more information, see [Create a workspace of the enterprise AD account type](~~214469~~).
|
|
12200
12253
|
*
|
|
12201
12254
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
@@ -12525,7 +12578,7 @@ export default class Client extends OpenApi {
|
|
|
12525
12578
|
describeCensWithOptions(request: DescribeCensRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCensResponse>;
|
|
12526
12579
|
describeCens(request: DescribeCensRequest): Promise<DescribeCensResponse>;
|
|
12527
12580
|
/**
|
|
12528
|
-
*
|
|
12581
|
+
* 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.
|
|
12529
12582
|
*
|
|
12530
12583
|
* @param request DescribeClientEventsRequest
|
|
12531
12584
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12533,7 +12586,7 @@ export default class Client extends OpenApi {
|
|
|
12533
12586
|
*/
|
|
12534
12587
|
describeClientEventsWithOptions(request: DescribeClientEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClientEventsResponse>;
|
|
12535
12588
|
/**
|
|
12536
|
-
*
|
|
12589
|
+
* 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.
|
|
12537
12590
|
*
|
|
12538
12591
|
* @param request DescribeClientEventsRequest
|
|
12539
12592
|
* @return DescribeClientEventsResponse
|
|
@@ -12894,9 +12947,10 @@ export default class Client extends OpenApi {
|
|
|
12894
12947
|
modifyCustomizedListHeadersWithOptions(request: ModifyCustomizedListHeadersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCustomizedListHeadersResponse>;
|
|
12895
12948
|
modifyCustomizedListHeaders(request: ModifyCustomizedListHeadersRequest): Promise<ModifyCustomizedListHeadersResponse>;
|
|
12896
12949
|
/**
|
|
12897
|
-
* * 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~~).
|
|
12950
|
+
* * 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~~).
|
|
12898
12951
|
* * 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.
|
|
12899
12952
|
* * 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.
|
|
12953
|
+
* * 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).
|
|
12900
12954
|
*
|
|
12901
12955
|
* @param request ModifyDesktopChargeTypeRequest
|
|
12902
12956
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12904,9 +12958,10 @@ export default class Client extends OpenApi {
|
|
|
12904
12958
|
*/
|
|
12905
12959
|
modifyDesktopChargeTypeWithOptions(request: ModifyDesktopChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDesktopChargeTypeResponse>;
|
|
12906
12960
|
/**
|
|
12907
|
-
* * 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~~).
|
|
12961
|
+
* * 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~~).
|
|
12908
12962
|
* * 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.
|
|
12909
12963
|
* * 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.
|
|
12964
|
+
* * 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).
|
|
12910
12965
|
*
|
|
12911
12966
|
* @param request ModifyDesktopChargeTypeRequest
|
|
12912
12967
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -13218,7 +13273,7 @@ export default class Client extends OpenApi {
|
|
|
13218
13273
|
* Before you call this operation, make sure that the following operations are performed:
|
|
13219
13274
|
* * The data that you want to retain in the disk is backed up.
|
|
13220
13275
|
* **
|
|
13221
|
-
* **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.
|
|
13276
|
+
* **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.
|
|
13222
13277
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
13223
13278
|
*
|
|
13224
13279
|
* @param request ResetSnapshotRequest
|
|
@@ -13230,7 +13285,7 @@ export default class Client extends OpenApi {
|
|
|
13230
13285
|
* Before you call this operation, make sure that the following operations are performed:
|
|
13231
13286
|
* * The data that you want to retain in the disk is backed up.
|
|
13232
13287
|
* **
|
|
13233
|
-
* **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.
|
|
13288
|
+
* **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.
|
|
13234
13289
|
* * The cloud desktop whose disk you want to restore is stopped.
|
|
13235
13290
|
*
|
|
13236
13291
|
* @param request ResetSnapshotRequest
|
|
@@ -13342,7 +13397,7 @@ export default class Client extends OpenApi {
|
|
|
13342
13397
|
*/
|
|
13343
13398
|
stopDesktops(request: StopDesktopsRequest): Promise<StopDesktopsResponse>;
|
|
13344
13399
|
/**
|
|
13345
|
-
*
|
|
13400
|
+
* 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.
|
|
13346
13401
|
*
|
|
13347
13402
|
* @param request StopInvocationRequest
|
|
13348
13403
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13350,7 +13405,7 @@ export default class Client extends OpenApi {
|
|
|
13350
13405
|
*/
|
|
13351
13406
|
stopInvocationWithOptions(request: StopInvocationRequest, runtime: $Util.RuntimeOptions): Promise<StopInvocationResponse>;
|
|
13352
13407
|
/**
|
|
13353
|
-
*
|
|
13408
|
+
* 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.
|
|
13354
13409
|
*
|
|
13355
13410
|
* @param request StopInvocationRequest
|
|
13356
13411
|
* @return StopInvocationResponse
|
|
@@ -13371,6 +13426,8 @@ export default class Client extends OpenApi {
|
|
|
13371
13426
|
* @return TagResourcesResponse
|
|
13372
13427
|
*/
|
|
13373
13428
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
13429
|
+
unbindUserDesktopWithOptions(request: UnbindUserDesktopRequest, runtime: $Util.RuntimeOptions): Promise<UnbindUserDesktopResponse>;
|
|
13430
|
+
unbindUserDesktop(request: UnbindUserDesktopRequest): Promise<UnbindUserDesktopResponse>;
|
|
13374
13431
|
unlockVirtualMFADeviceWithOptions(request: UnlockVirtualMFADeviceRequest, runtime: $Util.RuntimeOptions): Promise<UnlockVirtualMFADeviceResponse>;
|
|
13375
13432
|
unlockVirtualMFADevice(request: UnlockVirtualMFADeviceRequest): Promise<UnlockVirtualMFADeviceResponse>;
|
|
13376
13433
|
untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse>;
|