@alicloud/ecd20200930 5.4.0 → 5.5.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 +80 -20
- package/dist/client.js +155 -20
- package/dist/client.js.map +1 -1
- package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
- package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
- package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
- package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
- package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
- package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
- package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
- package/dist/models/DescribeDesktopsRequest.d.ts +30 -23
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +73 -59
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/GetAggregatedDesktopsRequest.d.ts +5 -1
- package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -1
- package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +1 -1
- package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
- package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
- package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
- package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
- package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
- package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
- package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
- package/dist/models/SendConsoleMessageRequest.js +58 -0
- package/dist/models/SendConsoleMessageRequest.js.map +1 -0
- package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
- package/dist/models/SendConsoleMessageResponse.js +69 -0
- package/dist/models/SendConsoleMessageResponse.js.map +1 -0
- package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
- package/dist/models/SendConsoleMessageResponseBody.js +60 -0
- package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +48 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +170 -20
- package/src/models/CreateVirtualBridgeRequest.ts +10 -10
- package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
- package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
- package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
- package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
- package/src/models/DescribeDesktopsRequest.ts +30 -23
- package/src/models/DescribeDesktopsResponseBody.ts +73 -59
- package/src/models/GetAggregatedDesktopsRequest.ts +5 -1
- package/src/models/GetAggregatedDesktopsResponseBody.ts +1 -1
- package/src/models/ListVirtualBridgesRequest.ts +3 -3
- package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
- package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
- package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
- package/src/models/RenewVirtualBridgeRequest.ts +3 -3
- package/src/models/SendConsoleMessageRequest.ts +36 -0
- package/src/models/SendConsoleMessageResponse.ts +40 -0
- package/src/models/SendConsoleMessageResponseBody.ts +44 -0
- package/src/models/model.ts +12 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5738,7 +5738,7 @@ export default class Client extends OpenApi {
|
|
|
5738
5738
|
* Creates a virtual bridge.
|
|
5739
5739
|
*
|
|
5740
5740
|
* @remarks
|
|
5741
|
-
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device
|
|
5741
|
+
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a cloud desktop.
|
|
5742
5742
|
*
|
|
5743
5743
|
* @param request - CreateVirtualBridgeRequest
|
|
5744
5744
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5804,7 +5804,7 @@ export default class Client extends OpenApi {
|
|
|
5804
5804
|
* Creates a virtual bridge.
|
|
5805
5805
|
*
|
|
5806
5806
|
* @remarks
|
|
5807
|
-
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device
|
|
5807
|
+
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a cloud desktop.
|
|
5808
5808
|
*
|
|
5809
5809
|
* @param request - CreateVirtualBridgeRequest
|
|
5810
5810
|
* @returns CreateVirtualBridgeResponse
|
|
@@ -7242,7 +7242,7 @@ export default class Client extends OpenApi {
|
|
|
7242
7242
|
* Modifies the status of a virtual bridge.
|
|
7243
7243
|
*
|
|
7244
7244
|
* @remarks
|
|
7245
|
-
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting
|
|
7245
|
+
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting and disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
7246
7246
|
*
|
|
7247
7247
|
* @param request - DeleteVirtualBridgeRequest
|
|
7248
7248
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7280,7 +7280,7 @@ export default class Client extends OpenApi {
|
|
|
7280
7280
|
* Modifies the status of a virtual bridge.
|
|
7281
7281
|
*
|
|
7282
7282
|
* @remarks
|
|
7283
|
-
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting
|
|
7283
|
+
* Deleting an MFA device unbinds the MFA device, which is equivalent to resetting and disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
7284
7284
|
*
|
|
7285
7285
|
* @param request - DeleteVirtualBridgeRequest
|
|
7286
7286
|
* @returns DeleteVirtualBridgeResponse
|
|
@@ -8272,6 +8272,100 @@ export default class Client extends OpenApi {
|
|
|
8272
8272
|
return await this.describeConfigGroupWithOptions(request, runtime);
|
|
8273
8273
|
}
|
|
8274
8274
|
|
|
8275
|
+
/**
|
|
8276
|
+
* Queries WUYING Workspace management messages.
|
|
8277
|
+
*
|
|
8278
|
+
* @remarks
|
|
8279
|
+
* Queries console messages and their configurations under the current Alibaba Cloud account. You can filter messages by message ID, business channel, message type, client type, message level, title or body keyword, and target audience. Returns the list of messages on the current page and the total number of messages that match the query conditions.
|
|
8280
|
+
* - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
|
|
8281
|
+
* - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
|
|
8282
|
+
* - When querying by a specified convenience user, the results include messages targeted at all convenience users, the user themselves, and the organization to which the user belongs. When querying by a specified AD user, the results also include messages targeted at all AD users, the user themselves, and the AD organization to which the user belongs.
|
|
8283
|
+
* - Query results may include messages in the initializing, pushing, published, expired, deleting, and failed states. The Published state does not indicate that all target terminals have successfully received the message.
|
|
8284
|
+
* - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
|
|
8285
|
+
*
|
|
8286
|
+
* @param request - DescribeConsoleMessagesRequest
|
|
8287
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8288
|
+
* @returns DescribeConsoleMessagesResponse
|
|
8289
|
+
*/
|
|
8290
|
+
async describeConsoleMessagesWithOptions(request: $_model.DescribeConsoleMessagesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeConsoleMessagesResponse> {
|
|
8291
|
+
request.validate();
|
|
8292
|
+
let query = { };
|
|
8293
|
+
if (!$dara.isNull(request.businessChannel)) {
|
|
8294
|
+
query["BusinessChannel"] = request.businessChannel;
|
|
8295
|
+
}
|
|
8296
|
+
|
|
8297
|
+
if (!$dara.isNull(request.clientTypes)) {
|
|
8298
|
+
query["ClientTypes"] = request.clientTypes;
|
|
8299
|
+
}
|
|
8300
|
+
|
|
8301
|
+
if (!$dara.isNull(request.keyword)) {
|
|
8302
|
+
query["Keyword"] = request.keyword;
|
|
8303
|
+
}
|
|
8304
|
+
|
|
8305
|
+
if (!$dara.isNull(request.messageIds)) {
|
|
8306
|
+
query["MessageIds"] = request.messageIds;
|
|
8307
|
+
}
|
|
8308
|
+
|
|
8309
|
+
if (!$dara.isNull(request.messageLevel)) {
|
|
8310
|
+
query["MessageLevel"] = request.messageLevel;
|
|
8311
|
+
}
|
|
8312
|
+
|
|
8313
|
+
if (!$dara.isNull(request.messageType)) {
|
|
8314
|
+
query["MessageType"] = request.messageType;
|
|
8315
|
+
}
|
|
8316
|
+
|
|
8317
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
8318
|
+
query["PageNum"] = request.pageNum;
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8321
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8322
|
+
query["PageSize"] = request.pageSize;
|
|
8323
|
+
}
|
|
8324
|
+
|
|
8325
|
+
if (!$dara.isNull(request.targetIds)) {
|
|
8326
|
+
query["TargetIds"] = request.targetIds;
|
|
8327
|
+
}
|
|
8328
|
+
|
|
8329
|
+
if (!$dara.isNull(request.targetType)) {
|
|
8330
|
+
query["TargetType"] = request.targetType;
|
|
8331
|
+
}
|
|
8332
|
+
|
|
8333
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8334
|
+
query: OpenApiUtil.query(query),
|
|
8335
|
+
});
|
|
8336
|
+
let params = new $OpenApiUtil.Params({
|
|
8337
|
+
action: "DescribeConsoleMessages",
|
|
8338
|
+
version: "2020-09-30",
|
|
8339
|
+
protocol: "HTTPS",
|
|
8340
|
+
pathname: "/",
|
|
8341
|
+
method: "POST",
|
|
8342
|
+
authType: "AK",
|
|
8343
|
+
style: "RPC",
|
|
8344
|
+
reqBodyType: "formData",
|
|
8345
|
+
bodyType: "json",
|
|
8346
|
+
});
|
|
8347
|
+
return $dara.cast<$_model.DescribeConsoleMessagesResponse>(await this.callApi(params, req, runtime), new $_model.DescribeConsoleMessagesResponse({}));
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8350
|
+
/**
|
|
8351
|
+
* Queries WUYING Workspace management messages.
|
|
8352
|
+
*
|
|
8353
|
+
* @remarks
|
|
8354
|
+
* Queries console messages and their configurations under the current Alibaba Cloud account. You can filter messages by message ID, business channel, message type, client type, message level, title or body keyword, and target audience. Returns the list of messages on the current page and the total number of messages that match the query conditions.
|
|
8355
|
+
* - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
|
|
8356
|
+
* - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
|
|
8357
|
+
* - When querying by a specified convenience user, the results include messages targeted at all convenience users, the user themselves, and the organization to which the user belongs. When querying by a specified AD user, the results also include messages targeted at all AD users, the user themselves, and the AD organization to which the user belongs.
|
|
8358
|
+
* - Query results may include messages in the initializing, pushing, published, expired, deleting, and failed states. The Published state does not indicate that all target terminals have successfully received the message.
|
|
8359
|
+
* - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
|
|
8360
|
+
*
|
|
8361
|
+
* @param request - DescribeConsoleMessagesRequest
|
|
8362
|
+
* @returns DescribeConsoleMessagesResponse
|
|
8363
|
+
*/
|
|
8364
|
+
async describeConsoleMessages(request: $_model.DescribeConsoleMessagesRequest): Promise<$_model.DescribeConsoleMessagesResponse> {
|
|
8365
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8366
|
+
return await this.describeConsoleMessagesWithOptions(request, runtime);
|
|
8367
|
+
}
|
|
8368
|
+
|
|
8275
8369
|
/**
|
|
8276
8370
|
* Obtain the table header information of the WUYING Workspace list page.
|
|
8277
8371
|
*
|
|
@@ -9097,7 +9191,7 @@ export default class Client extends OpenApi {
|
|
|
9097
9191
|
}
|
|
9098
9192
|
|
|
9099
9193
|
/**
|
|
9100
|
-
* Queries the details of cloud
|
|
9194
|
+
* Queries the details of a cloud computer.
|
|
9101
9195
|
*
|
|
9102
9196
|
* @param request - DescribeDesktopsRequest
|
|
9103
9197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9288,7 +9382,7 @@ export default class Client extends OpenApi {
|
|
|
9288
9382
|
}
|
|
9289
9383
|
|
|
9290
9384
|
/**
|
|
9291
|
-
* Queries the details of cloud
|
|
9385
|
+
* Queries the details of a cloud computer.
|
|
9292
9386
|
*
|
|
9293
9387
|
* @param request - DescribeDesktopsRequest
|
|
9294
9388
|
* @returns DescribeDesktopsResponse
|
|
@@ -14085,7 +14179,7 @@ export default class Client extends OpenApi {
|
|
|
14085
14179
|
}
|
|
14086
14180
|
|
|
14087
14181
|
/**
|
|
14088
|
-
* Queries desktop
|
|
14182
|
+
* Queries desktop statistics by different dimensions.
|
|
14089
14183
|
*
|
|
14090
14184
|
* @param request - GetAggregatedDesktopsRequest
|
|
14091
14185
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14124,7 +14218,7 @@ export default class Client extends OpenApi {
|
|
|
14124
14218
|
}
|
|
14125
14219
|
|
|
14126
14220
|
/**
|
|
14127
|
-
* Queries desktop
|
|
14221
|
+
* Queries desktop statistics by different dimensions.
|
|
14128
14222
|
*
|
|
14129
14223
|
* @param request - GetAggregatedDesktopsRequest
|
|
14130
14224
|
* @returns GetAggregatedDesktopsResponse
|
|
@@ -15139,10 +15233,10 @@ export default class Client extends OpenApi {
|
|
|
15139
15233
|
}
|
|
15140
15234
|
|
|
15141
15235
|
/**
|
|
15142
|
-
* Queries
|
|
15236
|
+
* Queries virtual bridges.
|
|
15143
15237
|
*
|
|
15144
15238
|
* @remarks
|
|
15145
|
-
* After
|
|
15239
|
+
* After an MFA device is locked, its status changes to LOCKED. The corresponding Active Directory (AD) account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
|
|
15146
15240
|
*
|
|
15147
15241
|
* @param request - ListVirtualBridgesRequest
|
|
15148
15242
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15189,10 +15283,10 @@ export default class Client extends OpenApi {
|
|
|
15189
15283
|
}
|
|
15190
15284
|
|
|
15191
15285
|
/**
|
|
15192
|
-
* Queries
|
|
15286
|
+
* Queries virtual bridges.
|
|
15193
15287
|
*
|
|
15194
15288
|
* @remarks
|
|
15195
|
-
* After
|
|
15289
|
+
* After an MFA device is locked, its status changes to LOCKED. The corresponding Active Directory (AD) account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
|
|
15196
15290
|
*
|
|
15197
15291
|
* @param request - ListVirtualBridgesRequest
|
|
15198
15292
|
* @returns ListVirtualBridgesResponse
|
|
@@ -19288,10 +19382,10 @@ export default class Client extends OpenApi {
|
|
|
19288
19382
|
}
|
|
19289
19383
|
|
|
19290
19384
|
/**
|
|
19291
|
-
*
|
|
19385
|
+
* Upgrades or downgrades the specifications of a virtual bridge.
|
|
19292
19386
|
*
|
|
19293
19387
|
* @remarks
|
|
19294
|
-
* Deleting an MFA device
|
|
19388
|
+
* Deleting an MFA device means unbinding the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
19295
19389
|
*
|
|
19296
19390
|
* @param request - ModifyVirtualBridgeLevelRequest
|
|
19297
19391
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19354,10 +19448,10 @@ export default class Client extends OpenApi {
|
|
|
19354
19448
|
}
|
|
19355
19449
|
|
|
19356
19450
|
/**
|
|
19357
|
-
*
|
|
19451
|
+
* Upgrades or downgrades the specifications of a virtual bridge.
|
|
19358
19452
|
*
|
|
19359
19453
|
* @remarks
|
|
19360
|
-
* Deleting an MFA device
|
|
19454
|
+
* Deleting an MFA device means unbinding the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
19361
19455
|
*
|
|
19362
19456
|
* @param request - ModifyVirtualBridgeLevelRequest
|
|
19363
19457
|
* @returns ModifyVirtualBridgeLevelResponse
|
|
@@ -19371,7 +19465,7 @@ export default class Client extends OpenApi {
|
|
|
19371
19465
|
* Modifies the status of a virtual bridge.
|
|
19372
19466
|
*
|
|
19373
19467
|
* @remarks
|
|
19374
|
-
* Only custom images in the
|
|
19468
|
+
* Only custom images in the Available state can be modified.
|
|
19375
19469
|
*
|
|
19376
19470
|
* @param request - ModifyVirtualBridgeStatusRequest
|
|
19377
19471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19413,7 +19507,7 @@ export default class Client extends OpenApi {
|
|
|
19413
19507
|
* Modifies the status of a virtual bridge.
|
|
19414
19508
|
*
|
|
19415
19509
|
* @remarks
|
|
19416
|
-
* Only custom images in the
|
|
19510
|
+
* Only custom images in the Available state can be modified.
|
|
19417
19511
|
*
|
|
19418
19512
|
* @param request - ModifyVirtualBridgeStatusRequest
|
|
19419
19513
|
* @returns ModifyVirtualBridgeStatusResponse
|
|
@@ -20685,7 +20779,7 @@ export default class Client extends OpenApi {
|
|
|
20685
20779
|
* Renews a virtual bridge.
|
|
20686
20780
|
*
|
|
20687
20781
|
* @remarks
|
|
20688
|
-
* After
|
|
20782
|
+
* After being locked, the status of the MFA device changes to Locked (LOCKED). The corresponding AD account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock it.
|
|
20689
20783
|
*
|
|
20690
20784
|
* @param request - RenewVirtualBridgeRequest
|
|
20691
20785
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20747,7 +20841,7 @@ export default class Client extends OpenApi {
|
|
|
20747
20841
|
* Renews a virtual bridge.
|
|
20748
20842
|
*
|
|
20749
20843
|
* @remarks
|
|
20750
|
-
* After
|
|
20844
|
+
* After being locked, the status of the MFA device changes to Locked (LOCKED). The corresponding AD account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock it.
|
|
20751
20845
|
*
|
|
20752
20846
|
* @param request - RenewVirtualBridgeRequest
|
|
20753
20847
|
* @returns RenewVirtualBridgeResponse
|
|
@@ -21079,6 +21173,62 @@ export default class Client extends OpenApi {
|
|
|
21079
21173
|
return await this.runCommandWithOptions(request, runtime);
|
|
21080
21174
|
}
|
|
21081
21175
|
|
|
21176
|
+
/**
|
|
21177
|
+
* Sends a created Elastic Desktop Service management message.
|
|
21178
|
+
*
|
|
21179
|
+
* @remarks
|
|
21180
|
+
* This operation sends a created management message. The message body, client type, recipients, and business type all use the saved configurations. Each call processes only one MessageId.
|
|
21181
|
+
* - The message must belong to the current Alibaba Cloud account. Messages in the Init, Pushing, Expired, Deleting, or Failed state cannot be sent. Only messages in the Published state can be sent.
|
|
21182
|
+
* - Before the request is accepted, the system checks the number of Pushing messages of the same message type under the current account. If there are 5 or more such messages, the request is rejected. The count is not split by business channel.
|
|
21183
|
+
* - Regular notifications and wallpaper messages are pushed through asynchronous tasks. For the OPERATIONAL type, only the publish status is updated. Messages configured for scheduled sending retain their original schedules and are not immediately triggered by this operation.
|
|
21184
|
+
* - A Success value of true indicates that the request is accepted, but it does not mean that all recipients have received the message. Published indicates that the message is published or the server-side push processing is complete, and it is not a delivery confirmation for each individual target.
|
|
21185
|
+
*
|
|
21186
|
+
* @param request - SendConsoleMessageRequest
|
|
21187
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21188
|
+
* @returns SendConsoleMessageResponse
|
|
21189
|
+
*/
|
|
21190
|
+
async sendConsoleMessageWithOptions(request: $_model.SendConsoleMessageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendConsoleMessageResponse> {
|
|
21191
|
+
request.validate();
|
|
21192
|
+
let query = { };
|
|
21193
|
+
if (!$dara.isNull(request.messageId)) {
|
|
21194
|
+
query["MessageId"] = request.messageId;
|
|
21195
|
+
}
|
|
21196
|
+
|
|
21197
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
21198
|
+
query: OpenApiUtil.query(query),
|
|
21199
|
+
});
|
|
21200
|
+
let params = new $OpenApiUtil.Params({
|
|
21201
|
+
action: "SendConsoleMessage",
|
|
21202
|
+
version: "2020-09-30",
|
|
21203
|
+
protocol: "HTTPS",
|
|
21204
|
+
pathname: "/",
|
|
21205
|
+
method: "POST",
|
|
21206
|
+
authType: "AK",
|
|
21207
|
+
style: "RPC",
|
|
21208
|
+
reqBodyType: "formData",
|
|
21209
|
+
bodyType: "json",
|
|
21210
|
+
});
|
|
21211
|
+
return $dara.cast<$_model.SendConsoleMessageResponse>(await this.callApi(params, req, runtime), new $_model.SendConsoleMessageResponse({}));
|
|
21212
|
+
}
|
|
21213
|
+
|
|
21214
|
+
/**
|
|
21215
|
+
* Sends a created Elastic Desktop Service management message.
|
|
21216
|
+
*
|
|
21217
|
+
* @remarks
|
|
21218
|
+
* This operation sends a created management message. The message body, client type, recipients, and business type all use the saved configurations. Each call processes only one MessageId.
|
|
21219
|
+
* - The message must belong to the current Alibaba Cloud account. Messages in the Init, Pushing, Expired, Deleting, or Failed state cannot be sent. Only messages in the Published state can be sent.
|
|
21220
|
+
* - Before the request is accepted, the system checks the number of Pushing messages of the same message type under the current account. If there are 5 or more such messages, the request is rejected. The count is not split by business channel.
|
|
21221
|
+
* - Regular notifications and wallpaper messages are pushed through asynchronous tasks. For the OPERATIONAL type, only the publish status is updated. Messages configured for scheduled sending retain their original schedules and are not immediately triggered by this operation.
|
|
21222
|
+
* - A Success value of true indicates that the request is accepted, but it does not mean that all recipients have received the message. Published indicates that the message is published or the server-side push processing is complete, and it is not a delivery confirmation for each individual target.
|
|
21223
|
+
*
|
|
21224
|
+
* @param request - SendConsoleMessageRequest
|
|
21225
|
+
* @returns SendConsoleMessageResponse
|
|
21226
|
+
*/
|
|
21227
|
+
async sendConsoleMessage(request: $_model.SendConsoleMessageRequest): Promise<$_model.SendConsoleMessageResponse> {
|
|
21228
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
21229
|
+
return await this.sendConsoleMessageWithOptions(request, runtime);
|
|
21230
|
+
}
|
|
21231
|
+
|
|
21082
21232
|
/**
|
|
21083
21233
|
* Retrieves a verification code required when adding a premium office network to a Cloud Enterprise Network (CEN) instance that belongs to a different Alibaba Cloud account.
|
|
21084
21234
|
*
|
|
@@ -47,22 +47,22 @@ export class CreateVirtualBridgeRequest extends $dara.Model {
|
|
|
47
47
|
paidCallBackUrl?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The duration
|
|
50
|
+
* The subscription duration of the purchased resource. The unit is specified by `PeriodUnit`. This parameter is required and takes effect only when `ChargeType` is set to `PrePaid`.
|
|
51
51
|
*
|
|
52
52
|
* - If `PeriodUnit` is set to `Month`, valid values:
|
|
53
53
|
*
|
|
54
54
|
* - 1
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
55
|
+
* - 2
|
|
56
|
+
* - 3
|
|
57
|
+
* - 6
|
|
58
58
|
*
|
|
59
59
|
* - If `PeriodUnit` is set to `Year`, valid values:
|
|
60
60
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
61
|
+
* - 1
|
|
62
|
+
* - 2
|
|
63
|
+
* - 3
|
|
64
|
+
* - 4
|
|
65
|
+
* - 5
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* 1
|
|
@@ -70,7 +70,7 @@ export class CreateVirtualBridgeRequest extends $dara.Model {
|
|
|
70
70
|
period?: number;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The unit of
|
|
73
|
+
* The billing time unit of the subscription Billable methods.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* Week
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteVirtualBridgeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The virtual bridge
|
|
8
|
+
* The ID of the virtual bridge.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class DeleteVirtualBridgeRequest extends $dara.Model {
|
|
|
15
15
|
bridgeId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The region ID.
|
|
18
|
+
* The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by WUYING Workspace.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeConsoleMessagesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business channel, which is used to limit the business to which the messages to query belong. Valid values: enterprise, standard, office, business, lincore_team, and AGENTIC_CLOUD_COMPUTER. The values are not case-sensitive. Default value: enterprise. Unrecognized channel values are also processed as enterprise.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Enterprise
|
|
12
|
+
*/
|
|
13
|
+
businessChannel?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The list of client types to which operational messages apply. A maximum of 100 items can be specified. Valid values: Windows (Windows client), Mac (macOS client), Web (web client), and Hardware (hardware terminal). For Mac, macOS is also supported. The matching is not case-sensitive. If multiple types are specified, a message is matched if it applies to any of the specified types. Do not pass duplicate types. To filter by client type, provide a non-empty list. If this parameter is not specified, messages are not filtered by client type. Do not specify this parameter when querying NOTIFICATION messages.
|
|
17
|
+
*/
|
|
18
|
+
clientTypes?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The search keyword, which is used to perform a fuzzy match on the message title or body. A message is returned if either the title or the body matches the keyword. If this parameter is not specified or an empty string is passed, messages are not filtered by keyword.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* System maintenance
|
|
25
|
+
*/
|
|
26
|
+
keyword?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The list of message IDs to query. A maximum of 100 message IDs can be specified. If multiple IDs are specified, a message is matched if its ID matches any of the specified IDs. If this parameter is not specified or an empty list is passed, messages are not filtered by message ID. If no message ID matches, an empty list is returned.
|
|
30
|
+
*/
|
|
31
|
+
messageIds?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The message level filter condition for notification messages. Valid values: STRONG (strong message) and WEAK (weak message). The values are not case-sensitive. If this parameter is not specified or an unrecognized value is passed, messages are not filtered by message level. Do not specify this parameter when querying OPERATIONAL messages.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* STRONG
|
|
38
|
+
*/
|
|
39
|
+
messageLevel?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The message type. Valid values: OPERATIONAL (client operational message), WALLPAPER (desktop wallpaper text message), NOTIFICATION (message center notification), and CUSTOM_WALLPAPER (custom desktop wallpaper). The values are not case-sensitive. If this parameter is not specified or an unrecognized value is passed, messages are not filtered by message type.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* NOTIFICATION
|
|
46
|
+
*/
|
|
47
|
+
messageType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The page number of the query result. Pages start from 1. Default value: 1. If the value is less than 1, it is processed as 1.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* 1
|
|
54
|
+
*/
|
|
55
|
+
pageNum?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The number of entries per page. Valid values: 1 to 200. Default value: 200. If the value is less than 1 or greater than 200, it is processed as 200.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 200
|
|
62
|
+
*/
|
|
63
|
+
pageSize?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The list of target IDs to match. A maximum of 100 items can be specified. To filter by target, provide a non-empty list and specify TargetType at the same time. Currently, only the first ID is used for Organization, EndUser, and AdUser. Queries for EndUser and AdUser also match messages targeted at the organization to which the user belongs and all users. Queries for Organization include messages for all convenience users and are compatible with fuzzy matching of organization IDs. Other target matching methods match based on the target ID, and the target type of the returned records is not guaranteed to be consistent with TargetType. Currently, Tag does not perform target ID filtering.
|
|
67
|
+
*/
|
|
68
|
+
targetIds?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The target matching method. Valid values: AllUsers (all convenience users), EndUser (specified convenience user), Organization (convenience user organization), Desktop (cloud computer), ResourceGroup (resource group), Region (region), Tag (tag), AdAllUsers (all AD users), AdUser (specified AD user), and AdOrg (AD organization). The values are not case-sensitive. If TargetIds is specified, this parameter must also be specified. The target type in the query results is not guaranteed to be consistent with this parameter. If only this parameter is specified without target IDs, no target filtering is applied. Currently, Tag does not perform target filtering.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* EndUser
|
|
75
|
+
*/
|
|
76
|
+
targetType?: string;
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
businessChannel: 'BusinessChannel',
|
|
80
|
+
clientTypes: 'ClientTypes',
|
|
81
|
+
keyword: 'Keyword',
|
|
82
|
+
messageIds: 'MessageIds',
|
|
83
|
+
messageLevel: 'MessageLevel',
|
|
84
|
+
messageType: 'MessageType',
|
|
85
|
+
pageNum: 'PageNum',
|
|
86
|
+
pageSize: 'PageSize',
|
|
87
|
+
targetIds: 'TargetIds',
|
|
88
|
+
targetType: 'TargetType',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
businessChannel: 'string',
|
|
95
|
+
clientTypes: { 'type': 'array', 'itemType': 'string' },
|
|
96
|
+
keyword: 'string',
|
|
97
|
+
messageIds: { 'type': 'array', 'itemType': 'string' },
|
|
98
|
+
messageLevel: 'string',
|
|
99
|
+
messageType: 'string',
|
|
100
|
+
pageNum: 'number',
|
|
101
|
+
pageSize: 'number',
|
|
102
|
+
targetIds: { 'type': 'array', 'itemType': 'string' },
|
|
103
|
+
targetType: 'string',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
validate() {
|
|
108
|
+
if(Array.isArray(this.clientTypes)) {
|
|
109
|
+
$dara.Model.validateArray(this.clientTypes);
|
|
110
|
+
}
|
|
111
|
+
if(Array.isArray(this.messageIds)) {
|
|
112
|
+
$dara.Model.validateArray(this.messageIds);
|
|
113
|
+
}
|
|
114
|
+
if(Array.isArray(this.targetIds)) {
|
|
115
|
+
$dara.Model.validateArray(this.targetIds);
|
|
116
|
+
}
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeConsoleMessagesResponseBody } from "./DescribeConsoleMessagesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeConsoleMessagesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeConsoleMessagesResponseBody;
|
|
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: DescribeConsoleMessagesResponseBody,
|
|
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
|
+
|