@alicloud/ecd20200930 3.4.2 → 3.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 +340 -146
- package/dist/client.js +2727 -2405
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +507 -146
package/src/client.ts
CHANGED
|
@@ -294,15 +294,21 @@ export class AddDevicesRequest extends $tea.Model {
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
export class AddDevicesResponseBody extends $tea.Model {
|
|
297
|
+
code?: string;
|
|
298
|
+
message?: string;
|
|
297
299
|
requestId?: string;
|
|
298
300
|
static names(): { [key: string]: string } {
|
|
299
301
|
return {
|
|
302
|
+
code: 'Code',
|
|
303
|
+
message: 'Message',
|
|
300
304
|
requestId: 'RequestId',
|
|
301
305
|
};
|
|
302
306
|
}
|
|
303
307
|
|
|
304
308
|
static types(): { [key: string]: any } {
|
|
305
309
|
return {
|
|
310
|
+
code: 'string',
|
|
311
|
+
message: 'string',
|
|
306
312
|
requestId: 'string',
|
|
307
313
|
};
|
|
308
314
|
}
|
|
@@ -2957,7 +2963,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
|
|
|
2957
2963
|
description?: string;
|
|
2958
2964
|
desktopType?: string;
|
|
2959
2965
|
directoryId?: string;
|
|
2966
|
+
idleDisconnectDuration?: number;
|
|
2960
2967
|
imageId?: string;
|
|
2968
|
+
keepDuration?: number;
|
|
2961
2969
|
name?: string;
|
|
2962
2970
|
oversoldUserCount?: number;
|
|
2963
2971
|
oversoldWarn?: number;
|
|
@@ -2973,7 +2981,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
|
|
|
2973
2981
|
description: 'Description',
|
|
2974
2982
|
desktopType: 'DesktopType',
|
|
2975
2983
|
directoryId: 'DirectoryId',
|
|
2984
|
+
idleDisconnectDuration: 'IdleDisconnectDuration',
|
|
2976
2985
|
imageId: 'ImageId',
|
|
2986
|
+
keepDuration: 'KeepDuration',
|
|
2977
2987
|
name: 'Name',
|
|
2978
2988
|
oversoldUserCount: 'OversoldUserCount',
|
|
2979
2989
|
oversoldWarn: 'OversoldWarn',
|
|
@@ -2992,7 +3002,9 @@ export class CreateDesktopOversoldGroupRequest extends $tea.Model {
|
|
|
2992
3002
|
description: 'string',
|
|
2993
3003
|
desktopType: 'string',
|
|
2994
3004
|
directoryId: 'string',
|
|
3005
|
+
idleDisconnectDuration: 'number',
|
|
2995
3006
|
imageId: 'string',
|
|
3007
|
+
keepDuration: 'number',
|
|
2996
3008
|
name: 'string',
|
|
2997
3009
|
oversoldUserCount: 'number',
|
|
2998
3010
|
oversoldWarn: 'number',
|
|
@@ -6633,6 +6645,8 @@ export class DescribeDesktopOversoldUserGroupResponse extends $tea.Model {
|
|
|
6633
6645
|
}
|
|
6634
6646
|
|
|
6635
6647
|
export class DescribeDesktopSessionsRequest extends $tea.Model {
|
|
6648
|
+
desktopId?: string[];
|
|
6649
|
+
desktopName?: string;
|
|
6636
6650
|
endTime?: string;
|
|
6637
6651
|
endUserId?: string;
|
|
6638
6652
|
officeSiteId?: string;
|
|
@@ -6643,6 +6657,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
|
|
|
6643
6657
|
startTime?: string;
|
|
6644
6658
|
static names(): { [key: string]: string } {
|
|
6645
6659
|
return {
|
|
6660
|
+
desktopId: 'DesktopId',
|
|
6661
|
+
desktopName: 'DesktopName',
|
|
6646
6662
|
endTime: 'EndTime',
|
|
6647
6663
|
endUserId: 'EndUserId',
|
|
6648
6664
|
officeSiteId: 'OfficeSiteId',
|
|
@@ -6656,6 +6672,8 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
|
|
|
6656
6672
|
|
|
6657
6673
|
static types(): { [key: string]: any } {
|
|
6658
6674
|
return {
|
|
6675
|
+
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
6676
|
+
desktopName: 'string',
|
|
6659
6677
|
endTime: 'string',
|
|
6660
6678
|
endUserId: 'string',
|
|
6661
6679
|
officeSiteId: 'string',
|
|
@@ -8831,6 +8849,99 @@ export class DescribePriceForRenewDesktopOversoldGroupResponse extends $tea.Mode
|
|
|
8831
8849
|
}
|
|
8832
8850
|
}
|
|
8833
8851
|
|
|
8852
|
+
export class DescribeRecordingsRequest extends $tea.Model {
|
|
8853
|
+
desktopId?: string;
|
|
8854
|
+
endTime?: string;
|
|
8855
|
+
maxResults?: number;
|
|
8856
|
+
needSignedUrl?: boolean;
|
|
8857
|
+
nextToken?: string;
|
|
8858
|
+
policyGroupId?: string;
|
|
8859
|
+
regionId?: string;
|
|
8860
|
+
signedUrlExpireMinutes?: number;
|
|
8861
|
+
startTime?: string;
|
|
8862
|
+
static names(): { [key: string]: string } {
|
|
8863
|
+
return {
|
|
8864
|
+
desktopId: 'DesktopId',
|
|
8865
|
+
endTime: 'EndTime',
|
|
8866
|
+
maxResults: 'MaxResults',
|
|
8867
|
+
needSignedUrl: 'NeedSignedUrl',
|
|
8868
|
+
nextToken: 'NextToken',
|
|
8869
|
+
policyGroupId: 'PolicyGroupId',
|
|
8870
|
+
regionId: 'RegionId',
|
|
8871
|
+
signedUrlExpireMinutes: 'SignedUrlExpireMinutes',
|
|
8872
|
+
startTime: 'StartTime',
|
|
8873
|
+
};
|
|
8874
|
+
}
|
|
8875
|
+
|
|
8876
|
+
static types(): { [key: string]: any } {
|
|
8877
|
+
return {
|
|
8878
|
+
desktopId: 'string',
|
|
8879
|
+
endTime: 'string',
|
|
8880
|
+
maxResults: 'number',
|
|
8881
|
+
needSignedUrl: 'boolean',
|
|
8882
|
+
nextToken: 'string',
|
|
8883
|
+
policyGroupId: 'string',
|
|
8884
|
+
regionId: 'string',
|
|
8885
|
+
signedUrlExpireMinutes: 'number',
|
|
8886
|
+
startTime: 'string',
|
|
8887
|
+
};
|
|
8888
|
+
}
|
|
8889
|
+
|
|
8890
|
+
constructor(map?: { [key: string]: any }) {
|
|
8891
|
+
super(map);
|
|
8892
|
+
}
|
|
8893
|
+
}
|
|
8894
|
+
|
|
8895
|
+
export class DescribeRecordingsResponseBody extends $tea.Model {
|
|
8896
|
+
nextToken?: string;
|
|
8897
|
+
recordings?: DescribeRecordingsResponseBodyRecordings[];
|
|
8898
|
+
requestId?: string;
|
|
8899
|
+
static names(): { [key: string]: string } {
|
|
8900
|
+
return {
|
|
8901
|
+
nextToken: 'NextToken',
|
|
8902
|
+
recordings: 'Recordings',
|
|
8903
|
+
requestId: 'RequestId',
|
|
8904
|
+
};
|
|
8905
|
+
}
|
|
8906
|
+
|
|
8907
|
+
static types(): { [key: string]: any } {
|
|
8908
|
+
return {
|
|
8909
|
+
nextToken: 'string',
|
|
8910
|
+
recordings: { 'type': 'array', 'itemType': DescribeRecordingsResponseBodyRecordings },
|
|
8911
|
+
requestId: 'string',
|
|
8912
|
+
};
|
|
8913
|
+
}
|
|
8914
|
+
|
|
8915
|
+
constructor(map?: { [key: string]: any }) {
|
|
8916
|
+
super(map);
|
|
8917
|
+
}
|
|
8918
|
+
}
|
|
8919
|
+
|
|
8920
|
+
export class DescribeRecordingsResponse extends $tea.Model {
|
|
8921
|
+
headers?: { [key: string]: string };
|
|
8922
|
+
statusCode?: number;
|
|
8923
|
+
body?: DescribeRecordingsResponseBody;
|
|
8924
|
+
static names(): { [key: string]: string } {
|
|
8925
|
+
return {
|
|
8926
|
+
headers: 'headers',
|
|
8927
|
+
statusCode: 'statusCode',
|
|
8928
|
+
body: 'body',
|
|
8929
|
+
};
|
|
8930
|
+
}
|
|
8931
|
+
|
|
8932
|
+
static types(): { [key: string]: any } {
|
|
8933
|
+
return {
|
|
8934
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8935
|
+
statusCode: 'number',
|
|
8936
|
+
body: DescribeRecordingsResponseBody,
|
|
8937
|
+
};
|
|
8938
|
+
}
|
|
8939
|
+
|
|
8940
|
+
constructor(map?: { [key: string]: any }) {
|
|
8941
|
+
super(map);
|
|
8942
|
+
}
|
|
8943
|
+
}
|
|
8944
|
+
|
|
8834
8945
|
export class DescribeRegionsRequest extends $tea.Model {
|
|
8835
8946
|
acceptLanguage?: string;
|
|
8836
8947
|
regionId?: string;
|
|
@@ -13032,7 +13143,9 @@ export class ModifyDesktopNameResponse extends $tea.Model {
|
|
|
13032
13143
|
export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
|
|
13033
13144
|
concurrenceCount?: number;
|
|
13034
13145
|
description?: string;
|
|
13146
|
+
idleDisconnectDuration?: number;
|
|
13035
13147
|
imageId?: string;
|
|
13148
|
+
keepDuration?: number;
|
|
13036
13149
|
name?: string;
|
|
13037
13150
|
oversoldGroupId?: string;
|
|
13038
13151
|
oversoldUserCount?: number;
|
|
@@ -13043,7 +13156,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
|
|
|
13043
13156
|
return {
|
|
13044
13157
|
concurrenceCount: 'ConcurrenceCount',
|
|
13045
13158
|
description: 'Description',
|
|
13159
|
+
idleDisconnectDuration: 'IdleDisconnectDuration',
|
|
13046
13160
|
imageId: 'ImageId',
|
|
13161
|
+
keepDuration: 'KeepDuration',
|
|
13047
13162
|
name: 'Name',
|
|
13048
13163
|
oversoldGroupId: 'OversoldGroupId',
|
|
13049
13164
|
oversoldUserCount: 'OversoldUserCount',
|
|
@@ -13057,7 +13172,9 @@ export class ModifyDesktopOversoldGroupRequest extends $tea.Model {
|
|
|
13057
13172
|
return {
|
|
13058
13173
|
concurrenceCount: 'number',
|
|
13059
13174
|
description: 'string',
|
|
13175
|
+
idleDisconnectDuration: 'number',
|
|
13060
13176
|
imageId: 'string',
|
|
13177
|
+
keepDuration: 'number',
|
|
13061
13178
|
name: 'string',
|
|
13062
13179
|
oversoldGroupId: 'string',
|
|
13063
13180
|
oversoldUserCount: 'number',
|
|
@@ -20801,6 +20918,52 @@ export class DescribePriceForRenewDesktopOversoldGroupResponseBodyData extends $
|
|
|
20801
20918
|
}
|
|
20802
20919
|
}
|
|
20803
20920
|
|
|
20921
|
+
export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
|
|
20922
|
+
desktopId?: string;
|
|
20923
|
+
desktopName?: string;
|
|
20924
|
+
endTime?: string;
|
|
20925
|
+
endUserIds?: string[];
|
|
20926
|
+
filePath?: string;
|
|
20927
|
+
policyGroupId?: string;
|
|
20928
|
+
recordingSize?: number;
|
|
20929
|
+
recordingType?: string;
|
|
20930
|
+
signedUrl?: string;
|
|
20931
|
+
startTime?: string;
|
|
20932
|
+
static names(): { [key: string]: string } {
|
|
20933
|
+
return {
|
|
20934
|
+
desktopId: 'DesktopId',
|
|
20935
|
+
desktopName: 'DesktopName',
|
|
20936
|
+
endTime: 'EndTime',
|
|
20937
|
+
endUserIds: 'EndUserIds',
|
|
20938
|
+
filePath: 'FilePath',
|
|
20939
|
+
policyGroupId: 'PolicyGroupId',
|
|
20940
|
+
recordingSize: 'RecordingSize',
|
|
20941
|
+
recordingType: 'RecordingType',
|
|
20942
|
+
signedUrl: 'SignedUrl',
|
|
20943
|
+
startTime: 'StartTime',
|
|
20944
|
+
};
|
|
20945
|
+
}
|
|
20946
|
+
|
|
20947
|
+
static types(): { [key: string]: any } {
|
|
20948
|
+
return {
|
|
20949
|
+
desktopId: 'string',
|
|
20950
|
+
desktopName: 'string',
|
|
20951
|
+
endTime: 'string',
|
|
20952
|
+
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
20953
|
+
filePath: 'string',
|
|
20954
|
+
policyGroupId: 'string',
|
|
20955
|
+
recordingSize: 'number',
|
|
20956
|
+
recordingType: 'string',
|
|
20957
|
+
signedUrl: 'string',
|
|
20958
|
+
startTime: 'string',
|
|
20959
|
+
};
|
|
20960
|
+
}
|
|
20961
|
+
|
|
20962
|
+
constructor(map?: { [key: string]: any }) {
|
|
20963
|
+
super(map);
|
|
20964
|
+
}
|
|
20965
|
+
}
|
|
20966
|
+
|
|
20804
20967
|
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
20805
20968
|
localName?: string;
|
|
20806
20969
|
regionEndpoint?: string;
|
|
@@ -22527,7 +22690,7 @@ export default class Client extends OpenApi {
|
|
|
22527
22690
|
}
|
|
22528
22691
|
|
|
22529
22692
|
/**
|
|
22530
|
-
*
|
|
22693
|
+
* If you do not create any cloud computer in a convenience office network within 15 days, the office network is automatically locked and virtual private cloud (VPC) resources are released. If you want to resume the office network, you can call this operation to unlock the office network.
|
|
22531
22694
|
*
|
|
22532
22695
|
* @param request ActivateOfficeSiteRequest
|
|
22533
22696
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22562,7 +22725,7 @@ export default class Client extends OpenApi {
|
|
|
22562
22725
|
}
|
|
22563
22726
|
|
|
22564
22727
|
/**
|
|
22565
|
-
*
|
|
22728
|
+
* If you do not create any cloud computer in a convenience office network within 15 days, the office network is automatically locked and virtual private cloud (VPC) resources are released. If you want to resume the office network, you can call this operation to unlock the office network.
|
|
22566
22729
|
*
|
|
22567
22730
|
* @param request ActivateOfficeSiteRequest
|
|
22568
22731
|
* @return ActivateOfficeSiteResponse
|
|
@@ -23040,8 +23203,8 @@ export default class Client extends OpenApi {
|
|
|
23040
23203
|
/**
|
|
23041
23204
|
* Prerequisites
|
|
23042
23205
|
* * A CEN instance is created.
|
|
23043
|
-
* *
|
|
23044
|
-
* >
|
|
23206
|
+
* * The office network is an advanced office network, and the account system type is convenient account.
|
|
23207
|
+
* > The office network is added to the CEN instance when you create the instance. An office network can be added to only one CEN instance.
|
|
23045
23208
|
*
|
|
23046
23209
|
* @param request AttachCenRequest
|
|
23047
23210
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23090,8 +23253,8 @@ export default class Client extends OpenApi {
|
|
|
23090
23253
|
/**
|
|
23091
23254
|
* Prerequisites
|
|
23092
23255
|
* * A CEN instance is created.
|
|
23093
|
-
* *
|
|
23094
|
-
* >
|
|
23256
|
+
* * The office network is an advanced office network, and the account system type is convenient account.
|
|
23257
|
+
* > The office network is added to the CEN instance when you create the instance. An office network can be added to only one CEN instance.
|
|
23095
23258
|
*
|
|
23096
23259
|
* @param request AttachCenRequest
|
|
23097
23260
|
* @return AttachCenResponse
|
|
@@ -23667,11 +23830,13 @@ export default class Client extends OpenApi {
|
|
|
23667
23830
|
}
|
|
23668
23831
|
|
|
23669
23832
|
/**
|
|
23670
|
-
*
|
|
23671
|
-
*
|
|
23672
|
-
*
|
|
23673
|
-
*
|
|
23674
|
-
*
|
|
23833
|
+
* When you create an enterprise AD office network, the system automatically creates an AD connector to connect to an enterprise AD. You are charged for the AD connector. For more information, see [Billing overview](~~188395~~).
|
|
23834
|
+
* After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
|
|
23835
|
+
* 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
|
|
23836
|
+
* 2. Configure a trust relationship in an AD domain controller and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship with the AD office network.
|
|
23837
|
+
* 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to query a list of organizational units (OUs) of the AD domain, and call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and administrator for the AD office network.
|
|
23838
|
+
* > When you create the AD office network, take note of the DomainUserName and DomainPassword parameters. If you specify the parameters, you need to only configure a conditional forwarder. If you do not specify the parameters, you must configure a conditional forwarder, trust relationship, and OU as prompted.
|
|
23839
|
+
* For more information, see [Create and manage enterprise AD office networks](~~214469~~).
|
|
23675
23840
|
*
|
|
23676
23841
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
23677
23842
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23778,11 +23943,13 @@ export default class Client extends OpenApi {
|
|
|
23778
23943
|
}
|
|
23779
23944
|
|
|
23780
23945
|
/**
|
|
23781
|
-
*
|
|
23782
|
-
*
|
|
23783
|
-
*
|
|
23784
|
-
*
|
|
23785
|
-
*
|
|
23946
|
+
* When you create an enterprise AD office network, the system automatically creates an AD connector to connect to an enterprise AD. You are charged for the AD connector. For more information, see [Billing overview](~~188395~~).
|
|
23947
|
+
* After you call this operation to create an AD office network, you must perform the following steps to complete AD domain setting:
|
|
23948
|
+
* 1. Configure a conditional forwarder in a Domain Name System (DNS) server.
|
|
23949
|
+
* 2. Configure a trust relationship in an AD domain controller and call the [ConfigADConnectorTrust](~~311258~~) operation to configure the trust relationship with the AD office network.
|
|
23950
|
+
* 3. Call the [ListUserAdOrganizationUnits](~~311259~~) operation to query a list of organizational units (OUs) of the AD domain, and call the [ConfigADConnectorUser](~~311262~~) operation to specify an OU and administrator for the AD office network.
|
|
23951
|
+
* > When you create the AD office network, take note of the DomainUserName and DomainPassword parameters. If you specify the parameters, you need to only configure a conditional forwarder. If you do not specify the parameters, you must configure a conditional forwarder, trust relationship, and OU as prompted.
|
|
23952
|
+
* For more information, see [Create and manage enterprise AD office networks](~~214469~~).
|
|
23786
23953
|
*
|
|
23787
23954
|
* @param request CreateADConnectorOfficeSiteRequest
|
|
23788
23955
|
* @return CreateADConnectorOfficeSiteResponse
|
|
@@ -23904,7 +24071,7 @@ export default class Client extends OpenApi {
|
|
|
23904
24071
|
}
|
|
23905
24072
|
|
|
23906
24073
|
/**
|
|
23907
|
-
*
|
|
24074
|
+
* Cloud computer templates include system templates and custom templates. A system template is the default template provided by Alibaba Cloud. You can call this operation to create a custom template.
|
|
23908
24075
|
*
|
|
23909
24076
|
* @param request CreateBundleRequest
|
|
23910
24077
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23971,7 +24138,7 @@ export default class Client extends OpenApi {
|
|
|
23971
24138
|
}
|
|
23972
24139
|
|
|
23973
24140
|
/**
|
|
23974
|
-
*
|
|
24141
|
+
* Cloud computer templates include system templates and custom templates. A system template is the default template provided by Alibaba Cloud. You can call this operation to create a custom template.
|
|
23975
24142
|
*
|
|
23976
24143
|
* @param request CreateBundleRequest
|
|
23977
24144
|
* @return CreateBundleResponse
|
|
@@ -24275,7 +24442,6 @@ export default class Client extends OpenApi {
|
|
|
24275
24442
|
}
|
|
24276
24443
|
|
|
24277
24444
|
/**
|
|
24278
|
-
* # Description
|
|
24279
24445
|
* Before you call this operation to create a desktop group, make sure that the following operations are complete:
|
|
24280
24446
|
* * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
|
|
24281
24447
|
* * Resources, such as workspaces, users, desktop templates, and policies, are created.
|
|
@@ -24457,7 +24623,6 @@ export default class Client extends OpenApi {
|
|
|
24457
24623
|
}
|
|
24458
24624
|
|
|
24459
24625
|
/**
|
|
24460
|
-
* # Description
|
|
24461
24626
|
* Before you call this operation to create a desktop group, make sure that the following operations are complete:
|
|
24462
24627
|
* * You are familiar with the features, usage limits, and scaling policies of desktop groups. For more information, see [Overview](~~290959~~) of desktop groups.
|
|
24463
24628
|
* * Resources, such as workspaces, users, desktop templates, and policies, are created.
|
|
@@ -24493,10 +24658,18 @@ export default class Client extends OpenApi {
|
|
|
24493
24658
|
query["DirectoryId"] = request.directoryId;
|
|
24494
24659
|
}
|
|
24495
24660
|
|
|
24661
|
+
if (!Util.isUnset(request.idleDisconnectDuration)) {
|
|
24662
|
+
query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
|
|
24663
|
+
}
|
|
24664
|
+
|
|
24496
24665
|
if (!Util.isUnset(request.imageId)) {
|
|
24497
24666
|
query["ImageId"] = request.imageId;
|
|
24498
24667
|
}
|
|
24499
24668
|
|
|
24669
|
+
if (!Util.isUnset(request.keepDuration)) {
|
|
24670
|
+
query["KeepDuration"] = request.keepDuration;
|
|
24671
|
+
}
|
|
24672
|
+
|
|
24500
24673
|
if (!Util.isUnset(request.name)) {
|
|
24501
24674
|
query["Name"] = request.name;
|
|
24502
24675
|
}
|
|
@@ -24552,13 +24725,13 @@ export default class Client extends OpenApi {
|
|
|
24552
24725
|
}
|
|
24553
24726
|
|
|
24554
24727
|
/**
|
|
24555
|
-
*
|
|
24556
|
-
* *
|
|
24557
|
-
* *
|
|
24558
|
-
* *
|
|
24559
|
-
* *
|
|
24560
|
-
* *
|
|
24561
|
-
*
|
|
24728
|
+
* Before you create cloud computers, complete the following preparations:
|
|
24729
|
+
* * An office network (formerly called workspace) and users are created. For more information, see:
|
|
24730
|
+
* * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
|
|
24731
|
+
* * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
|
|
24732
|
+
* * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
|
|
24733
|
+
* * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
|
|
24734
|
+
* If you want the cloud computers to automatically execute a custom command script, you can use the `UserCommands` field to configure a custom command.
|
|
24562
24735
|
*
|
|
24563
24736
|
* @param request CreateDesktopsRequest
|
|
24564
24737
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24693,13 +24866,13 @@ export default class Client extends OpenApi {
|
|
|
24693
24866
|
}
|
|
24694
24867
|
|
|
24695
24868
|
/**
|
|
24696
|
-
*
|
|
24697
|
-
* *
|
|
24698
|
-
* *
|
|
24699
|
-
* *
|
|
24700
|
-
* *
|
|
24701
|
-
* *
|
|
24702
|
-
*
|
|
24869
|
+
* Before you create cloud computers, complete the following preparations:
|
|
24870
|
+
* * An office network (formerly called workspace) and users are created. For more information, see:
|
|
24871
|
+
* * Convenience office network: [CreateSimpleOfficeSite](~~215416~~) and [CreateUsers](~~437832~~).
|
|
24872
|
+
* * Active Directory (AD) office network: [CreateADConnectorOfficeSite](~~215417~~) and [Create an AD user](~~188619~~).
|
|
24873
|
+
* * Make sure a cloud computer template exists. If no cloud computer template exists, call the [CreateBundle](~~188883~~) operation to create a template.
|
|
24874
|
+
* * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](~~188889~~) operation to create a policy.
|
|
24875
|
+
* If you want the cloud computers to automatically execute a custom command script, you can use the `UserCommands` field to configure a custom command.
|
|
24703
24876
|
*
|
|
24704
24877
|
* @param request CreateDesktopsRequest
|
|
24705
24878
|
* @return CreateDesktopsResponse
|
|
@@ -25165,8 +25338,8 @@ export default class Client extends OpenApi {
|
|
|
25165
25338
|
|
|
25166
25339
|
/**
|
|
25167
25340
|
* Before you create a RAM directory, make sure that you have completed the following operations:
|
|
25168
|
-
* * You have created a virtual private cloud (VPC) by calling the
|
|
25169
|
-
* * You have created a vSwitch in the VPC
|
|
25341
|
+
* * You have created a virtual private cloud (VPC) by calling the CreateVpc operation in a region where Elastic Desktop Service (EDS) is available.
|
|
25342
|
+
* * You have created a vSwitch by calling the CreateVSwitch operation in a region where the VPC resides. You can call the [DescribeZones](~~196648~~) operation to obtain the zones where EDS is available in a region.
|
|
25170
25343
|
*
|
|
25171
25344
|
* @param request CreateRAMDirectoryRequest
|
|
25172
25345
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25218,8 +25391,8 @@ export default class Client extends OpenApi {
|
|
|
25218
25391
|
|
|
25219
25392
|
/**
|
|
25220
25393
|
* Before you create a RAM directory, make sure that you have completed the following operations:
|
|
25221
|
-
* * You have created a virtual private cloud (VPC) by calling the
|
|
25222
|
-
* * You have created a vSwitch in the VPC
|
|
25394
|
+
* * You have created a virtual private cloud (VPC) by calling the CreateVpc operation in a region where Elastic Desktop Service (EDS) is available.
|
|
25395
|
+
* * You have created a vSwitch by calling the CreateVSwitch operation in a region where the VPC resides. You can call the [DescribeZones](~~196648~~) operation to obtain the zones where EDS is available in a region.
|
|
25223
25396
|
*
|
|
25224
25397
|
* @param request CreateRAMDirectoryRequest
|
|
25225
25398
|
* @return CreateRAMDirectoryResponse
|
|
@@ -25311,7 +25484,7 @@ export default class Client extends OpenApi {
|
|
|
25311
25484
|
}
|
|
25312
25485
|
|
|
25313
25486
|
/**
|
|
25314
|
-
* The cloud
|
|
25487
|
+
* The cloud computer must be in the **Running** or **Stopped** state.
|
|
25315
25488
|
*
|
|
25316
25489
|
* @param request CreateSnapshotRequest
|
|
25317
25490
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25358,7 +25531,7 @@ export default class Client extends OpenApi {
|
|
|
25358
25531
|
}
|
|
25359
25532
|
|
|
25360
25533
|
/**
|
|
25361
|
-
* The cloud
|
|
25534
|
+
* The cloud computer must be in the **Running** or **Stopped** state.
|
|
25362
25535
|
*
|
|
25363
25536
|
* @param request CreateSnapshotRequest
|
|
25364
25537
|
* @return CreateSnapshotResponse
|
|
@@ -25553,6 +25726,15 @@ export default class Client extends OpenApi {
|
|
|
25553
25726
|
return await this.deleteCloudDriveUsersWithOptions(request, runtime);
|
|
25554
25727
|
}
|
|
25555
25728
|
|
|
25729
|
+
/**
|
|
25730
|
+
* * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
|
|
25731
|
+
* * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
|
|
25732
|
+
* * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
|
|
25733
|
+
*
|
|
25734
|
+
* @param request DeleteDesktopGroupRequest
|
|
25735
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25736
|
+
* @return DeleteDesktopGroupResponse
|
|
25737
|
+
*/
|
|
25556
25738
|
async deleteDesktopGroupWithOptions(request: DeleteDesktopGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDesktopGroupResponse> {
|
|
25557
25739
|
Util.validateModel(request);
|
|
25558
25740
|
let query = { };
|
|
@@ -25581,6 +25763,14 @@ export default class Client extends OpenApi {
|
|
|
25581
25763
|
return $tea.cast<DeleteDesktopGroupResponse>(await this.callApi(params, req, runtime), new DeleteDesktopGroupResponse({}));
|
|
25582
25764
|
}
|
|
25583
25765
|
|
|
25766
|
+
/**
|
|
25767
|
+
* * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
|
|
25768
|
+
* * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
|
|
25769
|
+
* * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
|
|
25770
|
+
*
|
|
25771
|
+
* @param request DeleteDesktopGroupRequest
|
|
25772
|
+
* @return DeleteDesktopGroupResponse
|
|
25773
|
+
*/
|
|
25584
25774
|
async deleteDesktopGroup(request: DeleteDesktopGroupRequest): Promise<DeleteDesktopGroupResponse> {
|
|
25585
25775
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25586
25776
|
return await this.deleteDesktopGroupWithOptions(request, runtime);
|
|
@@ -25674,7 +25864,7 @@ export default class Client extends OpenApi {
|
|
|
25674
25864
|
}
|
|
25675
25865
|
|
|
25676
25866
|
/**
|
|
25677
|
-
* You cannot delete directories that are
|
|
25867
|
+
* You cannot delete directories that are used by cloud desktops.
|
|
25678
25868
|
*
|
|
25679
25869
|
* @param request DeleteDirectoriesRequest
|
|
25680
25870
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25709,7 +25899,7 @@ export default class Client extends OpenApi {
|
|
|
25709
25899
|
}
|
|
25710
25900
|
|
|
25711
25901
|
/**
|
|
25712
|
-
* You cannot delete directories that are
|
|
25902
|
+
* You cannot delete directories that are used by cloud desktops.
|
|
25713
25903
|
*
|
|
25714
25904
|
* @param request DeleteDirectoriesRequest
|
|
25715
25905
|
* @return DeleteDirectoriesResponse
|
|
@@ -25754,7 +25944,7 @@ export default class Client extends OpenApi {
|
|
|
25754
25944
|
|
|
25755
25945
|
/**
|
|
25756
25946
|
* * Images include system images and custom images. System images cannot be deleted.
|
|
25757
|
-
* * If an image to delete is referenced by a
|
|
25947
|
+
* * If an image that you want to delete is referenced by a cloud computer template, call the [DeleteBundles](~~436972~~) operation to delete the cloud computer template before you delete the image.
|
|
25758
25948
|
*
|
|
25759
25949
|
* @param request DeleteImagesRequest
|
|
25760
25950
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25794,7 +25984,7 @@ export default class Client extends OpenApi {
|
|
|
25794
25984
|
|
|
25795
25985
|
/**
|
|
25796
25986
|
* * Images include system images and custom images. System images cannot be deleted.
|
|
25797
|
-
* * If an image to delete is referenced by a
|
|
25987
|
+
* * If an image that you want to delete is referenced by a cloud computer template, call the [DeleteBundles](~~436972~~) operation to delete the cloud computer template before you delete the image.
|
|
25798
25988
|
*
|
|
25799
25989
|
* @param request DeleteImagesRequest
|
|
25800
25990
|
* @return DeleteImagesResponse
|
|
@@ -25806,8 +25996,7 @@ export default class Client extends OpenApi {
|
|
|
25806
25996
|
|
|
25807
25997
|
/**
|
|
25808
25998
|
* Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
|
|
25809
|
-
*
|
|
25810
|
-
* **Warning** If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
|
|
25999
|
+
* ><warning>If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.></warning>
|
|
25811
26000
|
*
|
|
25812
26001
|
* @param request DeleteNASFileSystemsRequest
|
|
25813
26002
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25843,8 +26032,7 @@ export default class Client extends OpenApi {
|
|
|
25843
26032
|
|
|
25844
26033
|
/**
|
|
25845
26034
|
* Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
|
|
25846
|
-
*
|
|
25847
|
-
* **Warning** If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
|
|
26035
|
+
* ><warning>If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.></warning>
|
|
25848
26036
|
*
|
|
25849
26037
|
* @param request DeleteNASFileSystemsRequest
|
|
25850
26038
|
* @return DeleteNASFileSystemsResponse
|
|
@@ -25888,10 +26076,10 @@ export default class Client extends OpenApi {
|
|
|
25888
26076
|
}
|
|
25889
26077
|
|
|
25890
26078
|
/**
|
|
25891
|
-
* Before you delete
|
|
25892
|
-
* * All cloud
|
|
26079
|
+
* Before you delete an office network, make sure that the following operations are complete:
|
|
26080
|
+
* * All cloud computers in the office network are released.
|
|
25893
26081
|
* * The data that you want to retain is backed up.
|
|
25894
|
-
*
|
|
26082
|
+
* > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
|
|
25895
26083
|
*
|
|
25896
26084
|
* @param request DeleteOfficeSitesRequest
|
|
25897
26085
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25926,10 +26114,10 @@ export default class Client extends OpenApi {
|
|
|
25926
26114
|
}
|
|
25927
26115
|
|
|
25928
26116
|
/**
|
|
25929
|
-
* Before you delete
|
|
25930
|
-
* * All cloud
|
|
26117
|
+
* Before you delete an office network, make sure that the following operations are complete:
|
|
26118
|
+
* * All cloud computers in the office network are released.
|
|
25931
26119
|
* * The data that you want to retain is backed up.
|
|
25932
|
-
*
|
|
26120
|
+
* > Resources and data on cloud computers in an office network cannot be restored after you delete it. Proceed with caution.
|
|
25933
26121
|
*
|
|
25934
26122
|
* @param request DeleteOfficeSitesRequest
|
|
25935
26123
|
* @return DeleteOfficeSitesResponse
|
|
@@ -26019,7 +26207,7 @@ export default class Client extends OpenApi {
|
|
|
26019
26207
|
}
|
|
26020
26208
|
|
|
26021
26209
|
/**
|
|
26022
|
-
* If an MFA device is deleted, the device is unbound, reset, and disabled. When
|
|
26210
|
+
* If an MFA device is deleted, the device is unbound, reset, and disabled. When an Active Directory (AD) user wants to connect to the cloud desktop that is bound to the MFA device, the AD user must bind a new MFA device.
|
|
26023
26211
|
*
|
|
26024
26212
|
* @param request DeleteVirtualMFADeviceRequest
|
|
26025
26213
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26054,7 +26242,7 @@ export default class Client extends OpenApi {
|
|
|
26054
26242
|
}
|
|
26055
26243
|
|
|
26056
26244
|
/**
|
|
26057
|
-
* If an MFA device is deleted, the device is unbound, reset, and disabled. When
|
|
26245
|
+
* If an MFA device is deleted, the device is unbound, reset, and disabled. When an Active Directory (AD) user wants to connect to the cloud desktop that is bound to the MFA device, the AD user must bind a new MFA device.
|
|
26058
26246
|
*
|
|
26059
26247
|
* @param request DeleteVirtualMFADeviceRequest
|
|
26060
26248
|
* @return DeleteVirtualMFADeviceResponse
|
|
@@ -26964,6 +27152,14 @@ export default class Client extends OpenApi {
|
|
|
26964
27152
|
async describeDesktopSessionsWithOptions(request: DescribeDesktopSessionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDesktopSessionsResponse> {
|
|
26965
27153
|
Util.validateModel(request);
|
|
26966
27154
|
let query = { };
|
|
27155
|
+
if (!Util.isUnset(request.desktopId)) {
|
|
27156
|
+
query["DesktopId"] = request.desktopId;
|
|
27157
|
+
}
|
|
27158
|
+
|
|
27159
|
+
if (!Util.isUnset(request.desktopName)) {
|
|
27160
|
+
query["DesktopName"] = request.desktopName;
|
|
27161
|
+
}
|
|
27162
|
+
|
|
26967
27163
|
if (!Util.isUnset(request.endTime)) {
|
|
26968
27164
|
query["EndTime"] = request.endTime;
|
|
26969
27165
|
}
|
|
@@ -27674,7 +27870,7 @@ export default class Client extends OpenApi {
|
|
|
27674
27870
|
}
|
|
27675
27871
|
|
|
27676
27872
|
/**
|
|
27677
|
-
* You can call the ModifyImagePermission operation to share
|
|
27873
|
+
* You can call the [ModifyImagePermission](~~436982~~) operation to share an image with another cloud computer user or unshare an image. You can call the DescribeImagePermission operation to obtain the Alibaba Cloud accounts with which the current image is shared.
|
|
27678
27874
|
*
|
|
27679
27875
|
* @param request DescribeImagePermissionRequest
|
|
27680
27876
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27709,7 +27905,7 @@ export default class Client extends OpenApi {
|
|
|
27709
27905
|
}
|
|
27710
27906
|
|
|
27711
27907
|
/**
|
|
27712
|
-
* You can call the ModifyImagePermission operation to share
|
|
27908
|
+
* You can call the [ModifyImagePermission](~~436982~~) operation to share an image with another cloud computer user or unshare an image. You can call the DescribeImagePermission operation to obtain the Alibaba Cloud accounts with which the current image is shared.
|
|
27713
27909
|
*
|
|
27714
27910
|
* @param request DescribeImagePermissionRequest
|
|
27715
27911
|
* @return DescribeImagePermissionResponse
|
|
@@ -28408,6 +28604,67 @@ export default class Client extends OpenApi {
|
|
|
28408
28604
|
return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
|
|
28409
28605
|
}
|
|
28410
28606
|
|
|
28607
|
+
async describeRecordingsWithOptions(request: DescribeRecordingsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRecordingsResponse> {
|
|
28608
|
+
Util.validateModel(request);
|
|
28609
|
+
let query = { };
|
|
28610
|
+
if (!Util.isUnset(request.desktopId)) {
|
|
28611
|
+
query["DesktopId"] = request.desktopId;
|
|
28612
|
+
}
|
|
28613
|
+
|
|
28614
|
+
if (!Util.isUnset(request.endTime)) {
|
|
28615
|
+
query["EndTime"] = request.endTime;
|
|
28616
|
+
}
|
|
28617
|
+
|
|
28618
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
28619
|
+
query["MaxResults"] = request.maxResults;
|
|
28620
|
+
}
|
|
28621
|
+
|
|
28622
|
+
if (!Util.isUnset(request.needSignedUrl)) {
|
|
28623
|
+
query["NeedSignedUrl"] = request.needSignedUrl;
|
|
28624
|
+
}
|
|
28625
|
+
|
|
28626
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
28627
|
+
query["NextToken"] = request.nextToken;
|
|
28628
|
+
}
|
|
28629
|
+
|
|
28630
|
+
if (!Util.isUnset(request.policyGroupId)) {
|
|
28631
|
+
query["PolicyGroupId"] = request.policyGroupId;
|
|
28632
|
+
}
|
|
28633
|
+
|
|
28634
|
+
if (!Util.isUnset(request.regionId)) {
|
|
28635
|
+
query["RegionId"] = request.regionId;
|
|
28636
|
+
}
|
|
28637
|
+
|
|
28638
|
+
if (!Util.isUnset(request.signedUrlExpireMinutes)) {
|
|
28639
|
+
query["SignedUrlExpireMinutes"] = request.signedUrlExpireMinutes;
|
|
28640
|
+
}
|
|
28641
|
+
|
|
28642
|
+
if (!Util.isUnset(request.startTime)) {
|
|
28643
|
+
query["StartTime"] = request.startTime;
|
|
28644
|
+
}
|
|
28645
|
+
|
|
28646
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28647
|
+
query: OpenApiUtil.query(query),
|
|
28648
|
+
});
|
|
28649
|
+
let params = new $OpenApi.Params({
|
|
28650
|
+
action: "DescribeRecordings",
|
|
28651
|
+
version: "2020-09-30",
|
|
28652
|
+
protocol: "HTTPS",
|
|
28653
|
+
pathname: "/",
|
|
28654
|
+
method: "POST",
|
|
28655
|
+
authType: "AK",
|
|
28656
|
+
style: "RPC",
|
|
28657
|
+
reqBodyType: "formData",
|
|
28658
|
+
bodyType: "json",
|
|
28659
|
+
});
|
|
28660
|
+
return $tea.cast<DescribeRecordingsResponse>(await this.callApi(params, req, runtime), new DescribeRecordingsResponse({}));
|
|
28661
|
+
}
|
|
28662
|
+
|
|
28663
|
+
async describeRecordings(request: DescribeRecordingsRequest): Promise<DescribeRecordingsResponse> {
|
|
28664
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28665
|
+
return await this.describeRecordingsWithOptions(request, runtime);
|
|
28666
|
+
}
|
|
28667
|
+
|
|
28411
28668
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
28412
28669
|
Util.validateModel(request);
|
|
28413
28670
|
let query = { };
|
|
@@ -29257,7 +29514,22 @@ export default class Client extends OpenApi {
|
|
|
29257
29514
|
}
|
|
29258
29515
|
|
|
29259
29516
|
/**
|
|
29260
|
-
* The
|
|
29517
|
+
* The cloud computer list exported by calling this operation is saved as a CSV file. Each entry of data of a cloud computer includes the following fields:
|
|
29518
|
+
* * Cloud computer ID and name
|
|
29519
|
+
* * Office network ID and name
|
|
29520
|
+
* * The instance type, OS and protocol of the cloud computer
|
|
29521
|
+
* * System disk and data disk of the cloud computer
|
|
29522
|
+
* * The status
|
|
29523
|
+
* * Purchase method
|
|
29524
|
+
* * The time when the cloud computer expires
|
|
29525
|
+
* * Remaining duration and total duration
|
|
29526
|
+
* * Number of assigned users and number of current users
|
|
29527
|
+
* * Office network type
|
|
29528
|
+
* * The time when the cloud computer was created
|
|
29529
|
+
* * Tags
|
|
29530
|
+
* * Encryption status
|
|
29531
|
+
* * IP
|
|
29532
|
+
* * The hostname
|
|
29261
29533
|
*
|
|
29262
29534
|
* @param request ExportDesktopListInfoRequest
|
|
29263
29535
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29344,7 +29616,22 @@ export default class Client extends OpenApi {
|
|
|
29344
29616
|
}
|
|
29345
29617
|
|
|
29346
29618
|
/**
|
|
29347
|
-
* The
|
|
29619
|
+
* The cloud computer list exported by calling this operation is saved as a CSV file. Each entry of data of a cloud computer includes the following fields:
|
|
29620
|
+
* * Cloud computer ID and name
|
|
29621
|
+
* * Office network ID and name
|
|
29622
|
+
* * The instance type, OS and protocol of the cloud computer
|
|
29623
|
+
* * System disk and data disk of the cloud computer
|
|
29624
|
+
* * The status
|
|
29625
|
+
* * Purchase method
|
|
29626
|
+
* * The time when the cloud computer expires
|
|
29627
|
+
* * Remaining duration and total duration
|
|
29628
|
+
* * Number of assigned users and number of current users
|
|
29629
|
+
* * Office network type
|
|
29630
|
+
* * The time when the cloud computer was created
|
|
29631
|
+
* * Tags
|
|
29632
|
+
* * Encryption status
|
|
29633
|
+
* * IP
|
|
29634
|
+
* * The hostname
|
|
29348
29635
|
*
|
|
29349
29636
|
* @param request ExportDesktopListInfoRequest
|
|
29350
29637
|
* @return ExportDesktopListInfoResponse
|
|
@@ -29387,6 +29674,13 @@ export default class Client extends OpenApi {
|
|
|
29387
29674
|
return await this.getAsyncTaskWithOptions(request, runtime);
|
|
29388
29675
|
}
|
|
29389
29676
|
|
|
29677
|
+
/**
|
|
29678
|
+
* The cloud computer must be in the Running state.
|
|
29679
|
+
*
|
|
29680
|
+
* @param request GetConnectionTicketRequest
|
|
29681
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29682
|
+
* @return GetConnectionTicketResponse
|
|
29683
|
+
*/
|
|
29390
29684
|
async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $Util.RuntimeOptions): Promise<GetConnectionTicketResponse> {
|
|
29391
29685
|
Util.validateModel(request);
|
|
29392
29686
|
let query = { };
|
|
@@ -29447,6 +29741,12 @@ export default class Client extends OpenApi {
|
|
|
29447
29741
|
return $tea.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
29448
29742
|
}
|
|
29449
29743
|
|
|
29744
|
+
/**
|
|
29745
|
+
* The cloud computer must be in the Running state.
|
|
29746
|
+
*
|
|
29747
|
+
* @param request GetConnectionTicketRequest
|
|
29748
|
+
* @return GetConnectionTicketResponse
|
|
29749
|
+
*/
|
|
29450
29750
|
async getConnectionTicket(request: GetConnectionTicketRequest): Promise<GetConnectionTicketResponse> {
|
|
29451
29751
|
let runtime = new $Util.RuntimeOptions({ });
|
|
29452
29752
|
return await this.getConnectionTicketWithOptions(request, runtime);
|
|
@@ -29936,7 +30236,7 @@ export default class Client extends OpenApi {
|
|
|
29936
30236
|
}
|
|
29937
30237
|
|
|
29938
30238
|
/**
|
|
29939
|
-
* You must
|
|
30239
|
+
* You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
|
|
29940
30240
|
*
|
|
29941
30241
|
* @param request ListTagResourcesRequest
|
|
29942
30242
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -29987,7 +30287,7 @@ export default class Client extends OpenApi {
|
|
|
29987
30287
|
}
|
|
29988
30288
|
|
|
29989
30289
|
/**
|
|
29990
|
-
* You must
|
|
30290
|
+
* You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
|
|
29991
30291
|
*
|
|
29992
30292
|
* @param request ListTagResourcesRequest
|
|
29993
30293
|
* @return ListTagResourcesResponse
|
|
@@ -30043,7 +30343,7 @@ export default class Client extends OpenApi {
|
|
|
30043
30343
|
}
|
|
30044
30344
|
|
|
30045
30345
|
/**
|
|
30046
|
-
* After a virtual MFA device is locked, its status changes to LOCKED. The AD user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
|
|
30346
|
+
* After a virtual MFA device is locked, its status changes to LOCKED. The Active Directory (AD) user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
|
|
30047
30347
|
*
|
|
30048
30348
|
* @param request LockVirtualMFADeviceRequest
|
|
30049
30349
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30078,7 +30378,7 @@ export default class Client extends OpenApi {
|
|
|
30078
30378
|
}
|
|
30079
30379
|
|
|
30080
30380
|
/**
|
|
30081
|
-
* After a virtual MFA device is locked, its status changes to LOCKED. The AD user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
|
|
30381
|
+
* After a virtual MFA device is locked, its status changes to LOCKED. The Active Directory (AD) user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the [UnlockVirtualMFADevice](~~206212~~) operation to unlock the device.
|
|
30082
30382
|
*
|
|
30083
30383
|
* @param request LockVirtualMFADeviceRequest
|
|
30084
30384
|
* @return LockVirtualMFADeviceResponse
|
|
@@ -30235,6 +30535,13 @@ export default class Client extends OpenApi {
|
|
|
30235
30535
|
return await this.modifyADConnectorDirectoryWithOptions(request, runtime);
|
|
30236
30536
|
}
|
|
30237
30537
|
|
|
30538
|
+
/**
|
|
30539
|
+
* You can modify parameters of domain names and Domain Name System (DNS) for enterprise AD office networks that are in the `ERROR` or `REGISTERED` state. The parameters include `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress.N`.
|
|
30540
|
+
*
|
|
30541
|
+
* @param request ModifyADConnectorOfficeSiteRequest
|
|
30542
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30543
|
+
* @return ModifyADConnectorOfficeSiteResponse
|
|
30544
|
+
*/
|
|
30238
30545
|
async modifyADConnectorOfficeSiteWithOptions(request: ModifyADConnectorOfficeSiteRequest, runtime: $Util.RuntimeOptions): Promise<ModifyADConnectorOfficeSiteResponse> {
|
|
30239
30546
|
Util.validateModel(request);
|
|
30240
30547
|
let query = { };
|
|
@@ -30303,11 +30610,24 @@ export default class Client extends OpenApi {
|
|
|
30303
30610
|
return $tea.cast<ModifyADConnectorOfficeSiteResponse>(await this.callApi(params, req, runtime), new ModifyADConnectorOfficeSiteResponse({}));
|
|
30304
30611
|
}
|
|
30305
30612
|
|
|
30613
|
+
/**
|
|
30614
|
+
* You can modify parameters of domain names and Domain Name System (DNS) for enterprise AD office networks that are in the `ERROR` or `REGISTERED` state. The parameters include `DomainName`, `SubDomainName`, `DnsAddress.N`, and `SubDomainDnsAddress.N`.
|
|
30615
|
+
*
|
|
30616
|
+
* @param request ModifyADConnectorOfficeSiteRequest
|
|
30617
|
+
* @return ModifyADConnectorOfficeSiteResponse
|
|
30618
|
+
*/
|
|
30306
30619
|
async modifyADConnectorOfficeSite(request: ModifyADConnectorOfficeSiteRequest): Promise<ModifyADConnectorOfficeSiteResponse> {
|
|
30307
30620
|
let runtime = new $Util.RuntimeOptions({ });
|
|
30308
30621
|
return await this.modifyADConnectorOfficeSiteWithOptions(request, runtime);
|
|
30309
30622
|
}
|
|
30310
30623
|
|
|
30624
|
+
/**
|
|
30625
|
+
* You can set different Internet access control policies at different granularities to achieve the effect of composite policies. For example, you can disable the Internet access on the office network granularity and enable the Internet access on specific cloud computer granularity. The effect is that all cloud computers in the office network except the specified cloud computers are not allowed to access the Internet.
|
|
30626
|
+
*
|
|
30627
|
+
* @param request ModifyAclEntriesRequest
|
|
30628
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30629
|
+
* @return ModifyAclEntriesResponse
|
|
30630
|
+
*/
|
|
30311
30631
|
async modifyAclEntriesWithOptions(request: ModifyAclEntriesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAclEntriesResponse> {
|
|
30312
30632
|
Util.validateModel(request);
|
|
30313
30633
|
let query = { };
|
|
@@ -30344,6 +30664,12 @@ export default class Client extends OpenApi {
|
|
|
30344
30664
|
return $tea.cast<ModifyAclEntriesResponse>(await this.callApi(params, req, runtime), new ModifyAclEntriesResponse({}));
|
|
30345
30665
|
}
|
|
30346
30666
|
|
|
30667
|
+
/**
|
|
30668
|
+
* You can set different Internet access control policies at different granularities to achieve the effect of composite policies. For example, you can disable the Internet access on the office network granularity and enable the Internet access on specific cloud computer granularity. The effect is that all cloud computers in the office network except the specified cloud computers are not allowed to access the Internet.
|
|
30669
|
+
*
|
|
30670
|
+
* @param request ModifyAclEntriesRequest
|
|
30671
|
+
* @return ModifyAclEntriesResponse
|
|
30672
|
+
*/
|
|
30347
30673
|
async modifyAclEntries(request: ModifyAclEntriesRequest): Promise<ModifyAclEntriesResponse> {
|
|
30348
30674
|
let runtime = new $Util.RuntimeOptions({ });
|
|
30349
30675
|
return await this.modifyAclEntriesWithOptions(request, runtime);
|
|
@@ -30775,10 +31101,9 @@ export default class Client extends OpenApi {
|
|
|
30775
31101
|
}
|
|
30776
31102
|
|
|
30777
31103
|
/**
|
|
30778
|
-
* * Before you call this operation, make sure that you
|
|
30779
|
-
* * Before you call this operation, make sure that the cloud
|
|
30780
|
-
* * After the order payment is completed, the system starts to change the billing method of the cloud
|
|
30781
|
-
* * 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).
|
|
31104
|
+
* * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
31105
|
+
* * Before you call this operation, make sure that the cloud computers whose billing method you want to change are in the Running or Stopped state and you have no overdue payments in your Alibaba Cloud account.
|
|
31106
|
+
* * After the order payment is completed, the system starts to change the billing method of the cloud computers. During the change, you cannot perform operations, such as starting or stopping the cloud computers, and changing configurations of the cloud computers.
|
|
30782
31107
|
*
|
|
30783
31108
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30784
31109
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30837,10 +31162,9 @@ export default class Client extends OpenApi {
|
|
|
30837
31162
|
}
|
|
30838
31163
|
|
|
30839
31164
|
/**
|
|
30840
|
-
* * Before you call this operation, make sure that you
|
|
30841
|
-
* * Before you call this operation, make sure that the cloud
|
|
30842
|
-
* * After the order payment is completed, the system starts to change the billing method of the cloud
|
|
30843
|
-
* * 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).
|
|
31165
|
+
* * Before you call this operation, make sure that you fully understand the billing methods of cloud computers. For more information, see [Billing overview](~~188395~~).
|
|
31166
|
+
* * Before you call this operation, make sure that the cloud computers whose billing method you want to change are in the Running or Stopped state and you have no overdue payments in your Alibaba Cloud account.
|
|
31167
|
+
* * After the order payment is completed, the system starts to change the billing method of the cloud computers. During the change, you cannot perform operations, such as starting or stopping the cloud computers, and changing configurations of the cloud computers.
|
|
30844
31168
|
*
|
|
30845
31169
|
* @param request ModifyDesktopChargeTypeRequest
|
|
30846
31170
|
* @return ModifyDesktopChargeTypeResponse
|
|
@@ -30851,11 +31175,7 @@ export default class Client extends OpenApi {
|
|
|
30851
31175
|
}
|
|
30852
31176
|
|
|
30853
31177
|
/**
|
|
30854
|
-
* After
|
|
30855
|
-
* * By default, a desktop group has the same name as all cloud desktops in the group. You can modify the desktop group name, which is specified by the DesktopGroupName parameter, to distinguish the desktop group from the cloud desktops.
|
|
30856
|
-
* * If the number of vCPUs and memory size of the cloud desktop cannot meet your business requirements in high performance scenarios, you can change the desktop template that is used to create the cloud desktop to a desktop template (OwnBundleId) that has higher specifications.
|
|
30857
|
-
* * If a security policy that is associated with the desktop group cannot meet your requirements on security, you can change the policy to another policy (PolicyGroupId) that provides higher security.
|
|
30858
|
-
* * If the number of cloud desktops in the desktop group is insufficient to meet the business requirements of end users, you can modify the parameter settings in the scaling policy. The parameters include MinDesktopsCount, MaxDesktopsCount, and AllowBufferCount.
|
|
31178
|
+
* After a cloud computer pool is created, the system creates a specific number of cloud computers in the pool based on the auto scaling policy and user connections. Cloud computers are created by using the same cloud computer template and security policy. You can modify the configurations of the pool, including the pool name, cloud computer template, and policy, in different business scenarios.
|
|
30859
31179
|
*
|
|
30860
31180
|
* @param request ModifyDesktopGroupRequest
|
|
30861
31181
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30986,11 +31306,7 @@ export default class Client extends OpenApi {
|
|
|
30986
31306
|
}
|
|
30987
31307
|
|
|
30988
31308
|
/**
|
|
30989
|
-
* After
|
|
30990
|
-
* * By default, a desktop group has the same name as all cloud desktops in the group. You can modify the desktop group name, which is specified by the DesktopGroupName parameter, to distinguish the desktop group from the cloud desktops.
|
|
30991
|
-
* * If the number of vCPUs and memory size of the cloud desktop cannot meet your business requirements in high performance scenarios, you can change the desktop template that is used to create the cloud desktop to a desktop template (OwnBundleId) that has higher specifications.
|
|
30992
|
-
* * If a security policy that is associated with the desktop group cannot meet your requirements on security, you can change the policy to another policy (PolicyGroupId) that provides higher security.
|
|
30993
|
-
* * If the number of cloud desktops in the desktop group is insufficient to meet the business requirements of end users, you can modify the parameter settings in the scaling policy. The parameters include MinDesktopsCount, MaxDesktopsCount, and AllowBufferCount.
|
|
31309
|
+
* After a cloud computer pool is created, the system creates a specific number of cloud computers in the pool based on the auto scaling policy and user connections. Cloud computers are created by using the same cloud computer template and security policy. You can modify the configurations of the pool, including the pool name, cloud computer template, and policy, in different business scenarios.
|
|
30994
31310
|
*
|
|
30995
31311
|
* @param request ModifyDesktopGroupRequest
|
|
30996
31312
|
* @return ModifyDesktopGroupResponse
|
|
@@ -31001,7 +31317,7 @@ export default class Client extends OpenApi {
|
|
|
31001
31317
|
}
|
|
31002
31318
|
|
|
31003
31319
|
/**
|
|
31004
|
-
*
|
|
31320
|
+
* The Windows cloud computer whose hostname you want to modify must be in an AD office network. After the hostname is modified, the cloud computer is re-created.
|
|
31005
31321
|
*
|
|
31006
31322
|
* @param request ModifyDesktopHostNameRequest
|
|
31007
31323
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31040,7 +31356,7 @@ export default class Client extends OpenApi {
|
|
|
31040
31356
|
}
|
|
31041
31357
|
|
|
31042
31358
|
/**
|
|
31043
|
-
*
|
|
31359
|
+
* The Windows cloud computer whose hostname you want to modify must be in an AD office network. After the hostname is modified, the cloud computer is re-created.
|
|
31044
31360
|
*
|
|
31045
31361
|
* @param request ModifyDesktopHostNameRequest
|
|
31046
31362
|
* @return ModifyDesktopHostNameResponse
|
|
@@ -31098,10 +31414,18 @@ export default class Client extends OpenApi {
|
|
|
31098
31414
|
query["Description"] = request.description;
|
|
31099
31415
|
}
|
|
31100
31416
|
|
|
31417
|
+
if (!Util.isUnset(request.idleDisconnectDuration)) {
|
|
31418
|
+
query["IdleDisconnectDuration"] = request.idleDisconnectDuration;
|
|
31419
|
+
}
|
|
31420
|
+
|
|
31101
31421
|
if (!Util.isUnset(request.imageId)) {
|
|
31102
31422
|
query["ImageId"] = request.imageId;
|
|
31103
31423
|
}
|
|
31104
31424
|
|
|
31425
|
+
if (!Util.isUnset(request.keepDuration)) {
|
|
31426
|
+
query["KeepDuration"] = request.keepDuration;
|
|
31427
|
+
}
|
|
31428
|
+
|
|
31105
31429
|
if (!Util.isUnset(request.name)) {
|
|
31106
31430
|
query["Name"] = request.name;
|
|
31107
31431
|
}
|
|
@@ -31231,16 +31555,16 @@ export default class Client extends OpenApi {
|
|
|
31231
31555
|
}
|
|
31232
31556
|
|
|
31233
31557
|
/**
|
|
31234
|
-
*
|
|
31235
|
-
* * Before you
|
|
31236
|
-
* *
|
|
31237
|
-
* *
|
|
31238
|
-
* * You cannot change a cloud
|
|
31239
|
-
* *
|
|
31240
|
-
* * If
|
|
31241
|
-
* *
|
|
31242
|
-
* *
|
|
31243
|
-
* *
|
|
31558
|
+
* Changing the configurations of a cloud computer includes changing the instance type of the cloud computer and scaling up the disks of the cloud computer.
|
|
31559
|
+
* * Before you change the configurations of a cloud computer, you must understand the instance types and disk sizes supported by cloud computers. For more information, see [Cloud computer types](~~188609~~). You can call the [DescribeDesktopTypes](~~188882~~) operation to query the instance types supported by cloud computers.
|
|
31560
|
+
* * You must change at least one of the following configurations: instance type, system disk size, and data disk size of the cloud computer. You must specify at least one of the following parameters: `DesktopType`, `RootDiskSizeGib`, and `UserDiskSizeGib`. Take note of the following items:
|
|
31561
|
+
* * The instance type of a cloud computer includes the configurations of vCPUs, memory, and GPUs. You can only change an instance type to another. You cannot change only one of the configurations.
|
|
31562
|
+
* * You cannot change a cloud computer between the General Office type and the non-General Office type. You cannot yet change a cloud computer between the Graphics type and the non-Graphics type.
|
|
31563
|
+
* * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
|
|
31564
|
+
* * If the billing method of the cloud computer is subscription, the system calculates the price difference based on the configuration difference between the original cloud computer and the new cloud computer. You must make up for the price difference or receive a refund for the price difference.
|
|
31565
|
+
* * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
|
|
31566
|
+
* * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
|
|
31567
|
+
* * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
|
|
31244
31568
|
*
|
|
31245
31569
|
* @param request ModifyDesktopSpecRequest
|
|
31246
31570
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31299,16 +31623,16 @@ export default class Client extends OpenApi {
|
|
|
31299
31623
|
}
|
|
31300
31624
|
|
|
31301
31625
|
/**
|
|
31302
|
-
*
|
|
31303
|
-
* * Before you
|
|
31304
|
-
* *
|
|
31305
|
-
* *
|
|
31306
|
-
* * You cannot change a cloud
|
|
31307
|
-
* *
|
|
31308
|
-
* * If
|
|
31309
|
-
* *
|
|
31310
|
-
* *
|
|
31311
|
-
* *
|
|
31626
|
+
* Changing the configurations of a cloud computer includes changing the instance type of the cloud computer and scaling up the disks of the cloud computer.
|
|
31627
|
+
* * Before you change the configurations of a cloud computer, you must understand the instance types and disk sizes supported by cloud computers. For more information, see [Cloud computer types](~~188609~~). You can call the [DescribeDesktopTypes](~~188882~~) operation to query the instance types supported by cloud computers.
|
|
31628
|
+
* * You must change at least one of the following configurations: instance type, system disk size, and data disk size of the cloud computer. You must specify at least one of the following parameters: `DesktopType`, `RootDiskSizeGib`, and `UserDiskSizeGib`. Take note of the following items:
|
|
31629
|
+
* * The instance type of a cloud computer includes the configurations of vCPUs, memory, and GPUs. You can only change an instance type to another. You cannot change only one of the configurations.
|
|
31630
|
+
* * You cannot change a cloud computer between the General Office type and the non-General Office type. You cannot yet change a cloud computer between the Graphics type and the non-Graphics type.
|
|
31631
|
+
* * The system disk and data disks of a cloud computer can only be scaled up and cannot be scaled down.
|
|
31632
|
+
* * If the billing method of the cloud computer is subscription, the system calculates the price difference based on the configuration difference between the original cloud computer and the new cloud computer. You must make up for the price difference or receive a refund for the price difference.
|
|
31633
|
+
* * We recommend that you do not change the configurations of a cloud computer twice within 5 minutes.
|
|
31634
|
+
* * When you change the configurations of a cloud computer, the cloud computer must be in the Stopped state.
|
|
31635
|
+
* * After you change the configurations of a cloud computer, the personal data on the cloud computer is not affected.
|
|
31312
31636
|
*
|
|
31313
31637
|
* @param request ModifyDesktopSpecRequest
|
|
31314
31638
|
* @return ModifyDesktopSpecResponse
|
|
@@ -31360,7 +31684,7 @@ export default class Client extends OpenApi {
|
|
|
31360
31684
|
}
|
|
31361
31685
|
|
|
31362
31686
|
/**
|
|
31363
|
-
* The cloud
|
|
31687
|
+
* The cloud desktops that you want to restart by calling this operation must be in the Running state.
|
|
31364
31688
|
*
|
|
31365
31689
|
* @param request ModifyDesktopsPolicyGroupRequest
|
|
31366
31690
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31403,7 +31727,7 @@ export default class Client extends OpenApi {
|
|
|
31403
31727
|
}
|
|
31404
31728
|
|
|
31405
31729
|
/**
|
|
31406
|
-
* The cloud
|
|
31730
|
+
* The cloud desktops that you want to restart by calling this operation must be in the Running state.
|
|
31407
31731
|
*
|
|
31408
31732
|
* @param request ModifyDesktopsPolicyGroupRequest
|
|
31409
31733
|
* @return ModifyDesktopsPolicyGroupResponse
|
|
@@ -31494,7 +31818,9 @@ export default class Client extends OpenApi {
|
|
|
31494
31818
|
}
|
|
31495
31819
|
|
|
31496
31820
|
/**
|
|
31497
|
-
* The cloud
|
|
31821
|
+
* * The cloud computer must be in the Running state.
|
|
31822
|
+
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](~~436815~~) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
31823
|
+
* * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
|
|
31498
31824
|
*
|
|
31499
31825
|
* @param request ModifyEntitlementRequest
|
|
31500
31826
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31533,7 +31859,9 @@ export default class Client extends OpenApi {
|
|
|
31533
31859
|
}
|
|
31534
31860
|
|
|
31535
31861
|
/**
|
|
31536
|
-
* The cloud
|
|
31862
|
+
* * The cloud computer must be in the Running state.
|
|
31863
|
+
* * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](~~436815~~) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
|
|
31864
|
+
* * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
|
|
31537
31865
|
*
|
|
31538
31866
|
* @param request ModifyEntitlementRequest
|
|
31539
31867
|
* @return ModifyEntitlementResponse
|
|
@@ -31597,6 +31925,25 @@ export default class Client extends OpenApi {
|
|
|
31597
31925
|
return await this.modifyImageAttributeWithOptions(request, runtime);
|
|
31598
31926
|
}
|
|
31599
31927
|
|
|
31928
|
+
/**
|
|
31929
|
+
* ### [](#)Security of shared images
|
|
31930
|
+
* WUYING Workspace cannot guarantee the integrity and security of shared images. When you use a shared image, you must make sure that the image comes from a trusted sharer or account, and you are legally responsible for using the shared image.
|
|
31931
|
+
* ### [](#)Quota and billing
|
|
31932
|
+
* * A shared image does not count against the image quotas of principals to which the image is shared.
|
|
31933
|
+
* * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
|
|
31934
|
+
* * You are not charged for shared images.
|
|
31935
|
+
* ### [](#)Supported sharing behaviors
|
|
31936
|
+
* * You can share custom images with other Alibaba Cloud accounts.
|
|
31937
|
+
* * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
|
|
31938
|
+
* ### [](#)Unsupported sharing behaviors
|
|
31939
|
+
* * You cannot share images that are shared by other Alibaba Cloud accounts.
|
|
31940
|
+
* * You cannot share encrypted images.
|
|
31941
|
+
* * You cannot share images across regions. If you want to share an image across regions, you must copy the image to the destination region and then share the image. For more information, see [CopyImage](~~436978~~).
|
|
31942
|
+
*
|
|
31943
|
+
* @param request ModifyImagePermissionRequest
|
|
31944
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31945
|
+
* @return ModifyImagePermissionResponse
|
|
31946
|
+
*/
|
|
31600
31947
|
async modifyImagePermissionWithOptions(request: ModifyImagePermissionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyImagePermissionResponse> {
|
|
31601
31948
|
Util.validateModel(request);
|
|
31602
31949
|
let query = { };
|
|
@@ -31633,6 +31980,24 @@ export default class Client extends OpenApi {
|
|
|
31633
31980
|
return $tea.cast<ModifyImagePermissionResponse>(await this.callApi(params, req, runtime), new ModifyImagePermissionResponse({}));
|
|
31634
31981
|
}
|
|
31635
31982
|
|
|
31983
|
+
/**
|
|
31984
|
+
* ### [](#)Security of shared images
|
|
31985
|
+
* WUYING Workspace cannot guarantee the integrity and security of shared images. When you use a shared image, you must make sure that the image comes from a trusted sharer or account, and you are legally responsible for using the shared image.
|
|
31986
|
+
* ### [](#)Quota and billing
|
|
31987
|
+
* * A shared image does not count against the image quotas of principals to which the image is shared.
|
|
31988
|
+
* * After a principal uses a shared image to create a cloud computer, the sharer is not charged for the shared image.
|
|
31989
|
+
* * You are not charged for shared images.
|
|
31990
|
+
* ### [](#)Supported sharing behaviors
|
|
31991
|
+
* * You can share custom images with other Alibaba Cloud accounts.
|
|
31992
|
+
* * You can share custom images between accounts in the China site (aliyun.com) and the international site (alibabacloud.com).
|
|
31993
|
+
* ### [](#)Unsupported sharing behaviors
|
|
31994
|
+
* * You cannot share images that are shared by other Alibaba Cloud accounts.
|
|
31995
|
+
* * You cannot share encrypted images.
|
|
31996
|
+
* * You cannot share images across regions. If you want to share an image across regions, you must copy the image to the destination region and then share the image. For more information, see [CopyImage](~~436978~~).
|
|
31997
|
+
*
|
|
31998
|
+
* @param request ModifyImagePermissionRequest
|
|
31999
|
+
* @return ModifyImagePermissionResponse
|
|
32000
|
+
*/
|
|
31636
32001
|
async modifyImagePermission(request: ModifyImagePermissionRequest): Promise<ModifyImagePermissionResponse> {
|
|
31637
32002
|
let runtime = new $Util.RuntimeOptions({ });
|
|
31638
32003
|
return await this.modifyImagePermissionWithOptions(request, runtime);
|
|
@@ -31734,7 +32099,7 @@ export default class Client extends OpenApi {
|
|
|
31734
32099
|
}
|
|
31735
32100
|
|
|
31736
32101
|
/**
|
|
31737
|
-
* If you want to temporarily disable Internet access
|
|
32102
|
+
* If you want to temporarily disable the Internet access of your cloud computer after the Internet access is enabled for your cloud computer, you can disable the premium bandwidth plan and restore it as needed.
|
|
31738
32103
|
*
|
|
31739
32104
|
* @param request ModifyNetworkPackageEnabledRequest
|
|
31740
32105
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31773,7 +32138,7 @@ export default class Client extends OpenApi {
|
|
|
31773
32138
|
}
|
|
31774
32139
|
|
|
31775
32140
|
/**
|
|
31776
|
-
* If you want to temporarily disable Internet access
|
|
32141
|
+
* If you want to temporarily disable the Internet access of your cloud computer after the Internet access is enabled for your cloud computer, you can disable the premium bandwidth plan and restore it as needed.
|
|
31777
32142
|
*
|
|
31778
32143
|
* @param request ModifyNetworkPackageEnabledRequest
|
|
31779
32144
|
* @return ModifyNetworkPackageEnabledResponse
|
|
@@ -32160,7 +32525,7 @@ export default class Client extends OpenApi {
|
|
|
32160
32525
|
}
|
|
32161
32526
|
|
|
32162
32527
|
/**
|
|
32163
|
-
* You can modify
|
|
32528
|
+
* You can modify end users only for cloud computers that are in the Running state.
|
|
32164
32529
|
*
|
|
32165
32530
|
* @param request ModifyUserEntitlementRequest
|
|
32166
32531
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32203,7 +32568,7 @@ export default class Client extends OpenApi {
|
|
|
32203
32568
|
}
|
|
32204
32569
|
|
|
32205
32570
|
/**
|
|
32206
|
-
* You can modify
|
|
32571
|
+
* You can modify end users only for cloud computers that are in the Running state.
|
|
32207
32572
|
*
|
|
32208
32573
|
* @param request ModifyUserEntitlementRequest
|
|
32209
32574
|
* @return ModifyUserEntitlementResponse
|
|
@@ -32308,7 +32673,7 @@ export default class Client extends OpenApi {
|
|
|
32308
32673
|
}
|
|
32309
32674
|
|
|
32310
32675
|
/**
|
|
32311
|
-
* The cloud
|
|
32676
|
+
* The cloud computers that you want to restart must be in the Running state.
|
|
32312
32677
|
*
|
|
32313
32678
|
* @param request RebootDesktopsRequest
|
|
32314
32679
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32343,7 +32708,7 @@ export default class Client extends OpenApi {
|
|
|
32343
32708
|
}
|
|
32344
32709
|
|
|
32345
32710
|
/**
|
|
32346
|
-
* The cloud
|
|
32711
|
+
* The cloud computers that you want to restart must be in the Running state.
|
|
32347
32712
|
*
|
|
32348
32713
|
* @param request RebootDesktopsRequest
|
|
32349
32714
|
* @return RebootDesktopsResponse
|
|
@@ -32354,12 +32719,12 @@ export default class Client extends OpenApi {
|
|
|
32354
32719
|
}
|
|
32355
32720
|
|
|
32356
32721
|
/**
|
|
32357
|
-
* Before you change the image of a cloud
|
|
32358
|
-
* * You can select the OS of
|
|
32359
|
-
* *
|
|
32360
|
-
* After
|
|
32361
|
-
* *
|
|
32362
|
-
* * If
|
|
32722
|
+
* Before you change the image of a cloud computer, take note of the following limits:
|
|
32723
|
+
* * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
|
|
32724
|
+
* * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
|
|
32725
|
+
* After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
|
|
32726
|
+
* * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
|
|
32727
|
+
* * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
|
|
32363
32728
|
*
|
|
32364
32729
|
* @param request RebuildDesktopsRequest
|
|
32365
32730
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32402,12 +32767,12 @@ export default class Client extends OpenApi {
|
|
|
32402
32767
|
}
|
|
32403
32768
|
|
|
32404
32769
|
/**
|
|
32405
|
-
* Before you change the image of a cloud
|
|
32406
|
-
* * You can select the OS of
|
|
32407
|
-
* *
|
|
32408
|
-
* After
|
|
32409
|
-
* *
|
|
32410
|
-
* * If
|
|
32770
|
+
* Before you change the image of a cloud computer, take note of the following limits:
|
|
32771
|
+
* * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
|
|
32772
|
+
* * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
|
|
32773
|
+
* After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
|
|
32774
|
+
* * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
|
|
32775
|
+
* * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
|
|
32411
32776
|
*
|
|
32412
32777
|
* @param request RebuildDesktopsRequest
|
|
32413
32778
|
* @return RebuildDesktopsResponse
|
|
@@ -32690,7 +33055,7 @@ export default class Client extends OpenApi {
|
|
|
32690
33055
|
}
|
|
32691
33056
|
|
|
32692
33057
|
/**
|
|
32693
|
-
* > You can call this operation to reset only cloud
|
|
33058
|
+
* > You can call this operation to reset only cloud computers in a cloud computer pool.
|
|
32694
33059
|
*
|
|
32695
33060
|
* @param request ResetDesktopsRequest
|
|
32696
33061
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32749,7 +33114,7 @@ export default class Client extends OpenApi {
|
|
|
32749
33114
|
}
|
|
32750
33115
|
|
|
32751
33116
|
/**
|
|
32752
|
-
* > You can call this operation to reset only cloud
|
|
33117
|
+
* > You can call this operation to reset only cloud computers in a cloud computer pool.
|
|
32753
33118
|
*
|
|
32754
33119
|
* @param request ResetDesktopsRequest
|
|
32755
33120
|
* @return ResetDesktopsResponse
|
|
@@ -32807,10 +33172,9 @@ export default class Client extends OpenApi {
|
|
|
32807
33172
|
|
|
32808
33173
|
/**
|
|
32809
33174
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32810
|
-
* * The data that you want to retain
|
|
32811
|
-
*
|
|
32812
|
-
*
|
|
32813
|
-
* * The cloud desktop whose disk you want to restore is stopped.
|
|
33175
|
+
* * The data that you want to retain is backed up.
|
|
33176
|
+
* > The disk restoration operation is irreversible. After you call this operation, 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 the disk based on the snapshot, make sure that you back up data.
|
|
33177
|
+
* * The cloud computer to which the disk belongs is stopped.
|
|
32814
33178
|
*
|
|
32815
33179
|
* @param request ResetSnapshotRequest
|
|
32816
33180
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32846,10 +33210,9 @@ export default class Client extends OpenApi {
|
|
|
32846
33210
|
|
|
32847
33211
|
/**
|
|
32848
33212
|
* Before you call this operation, make sure that the following operations are performed:
|
|
32849
|
-
* * The data that you want to retain
|
|
32850
|
-
*
|
|
32851
|
-
*
|
|
32852
|
-
* * The cloud desktop whose disk you want to restore is stopped.
|
|
33213
|
+
* * The data that you want to retain is backed up.
|
|
33214
|
+
* > The disk restoration operation is irreversible. After you call this operation, 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 the disk based on the snapshot, make sure that you back up data.
|
|
33215
|
+
* * The cloud computer to which the disk belongs is stopped.
|
|
32853
33216
|
*
|
|
32854
33217
|
* @param request ResetSnapshotRequest
|
|
32855
33218
|
* @return ResetSnapshotResponse
|
|
@@ -32971,8 +33334,7 @@ export default class Client extends OpenApi {
|
|
|
32971
33334
|
}
|
|
32972
33335
|
|
|
32973
33336
|
/**
|
|
32974
|
-
*
|
|
32975
|
-
* When you attach your workspace network to a Cloud Enterprise Network (CEN) instance in another Alibaba Cloud account, you need to call this operation to obtain a verification code. After the call is successful, the system sends a verification code to the email address associated with the Alibaba Cloud account.
|
|
33337
|
+
* You must call this operation to obtain the verification code that is required when you bind an advanced office network to a CEN instance that belongs to another Alibaba Cloud account. After you call this operation, the system sends a verification code to the email address associated with the Alibaba Cloud account to which the CEN instance belongs.
|
|
32976
33338
|
*
|
|
32977
33339
|
* @param request SendVerifyCodeRequest
|
|
32978
33340
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33011,8 +33373,7 @@ export default class Client extends OpenApi {
|
|
|
33011
33373
|
}
|
|
33012
33374
|
|
|
33013
33375
|
/**
|
|
33014
|
-
*
|
|
33015
|
-
* When you attach your workspace network to a Cloud Enterprise Network (CEN) instance in another Alibaba Cloud account, you need to call this operation to obtain a verification code. After the call is successful, the system sends a verification code to the email address associated with the Alibaba Cloud account.
|
|
33376
|
+
* You must call this operation to obtain the verification code that is required when you bind an advanced office network to a CEN instance that belongs to another Alibaba Cloud account. After you call this operation, the system sends a verification code to the email address associated with the Alibaba Cloud account to which the CEN instance belongs.
|
|
33016
33377
|
*
|
|
33017
33378
|
* @param request SendVerifyCodeRequest
|
|
33018
33379
|
* @return SendVerifyCodeResponse
|
|
@@ -33338,7 +33699,7 @@ export default class Client extends OpenApi {
|
|
|
33338
33699
|
}
|
|
33339
33700
|
|
|
33340
33701
|
/**
|
|
33341
|
-
* The cloud
|
|
33702
|
+
* The cloud computers that you want to start must be in the Stopped state.
|
|
33342
33703
|
*
|
|
33343
33704
|
* @param request StartDesktopsRequest
|
|
33344
33705
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33373,7 +33734,7 @@ export default class Client extends OpenApi {
|
|
|
33373
33734
|
}
|
|
33374
33735
|
|
|
33375
33736
|
/**
|
|
33376
|
-
* The cloud
|
|
33737
|
+
* The cloud computers that you want to start must be in the Stopped state.
|
|
33377
33738
|
*
|
|
33378
33739
|
* @param request StartDesktopsRequest
|
|
33379
33740
|
* @return StartDesktopsResponse
|
|
@@ -33384,7 +33745,7 @@ export default class Client extends OpenApi {
|
|
|
33384
33745
|
}
|
|
33385
33746
|
|
|
33386
33747
|
/**
|
|
33387
|
-
* The cloud
|
|
33748
|
+
* The cloud computers that you want to stop must be in the Running state.
|
|
33388
33749
|
*
|
|
33389
33750
|
* @param request StopDesktopsRequest
|
|
33390
33751
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33423,7 +33784,7 @@ export default class Client extends OpenApi {
|
|
|
33423
33784
|
}
|
|
33424
33785
|
|
|
33425
33786
|
/**
|
|
33426
|
-
* The cloud
|
|
33787
|
+
* The cloud computers that you want to stop must be in the Running state.
|
|
33427
33788
|
*
|
|
33428
33789
|
* @param request StopDesktopsRequest
|
|
33429
33790
|
* @return StopDesktopsResponse
|
|
@@ -33702,7 +34063,7 @@ export default class Client extends OpenApi {
|
|
|
33702
34063
|
}
|
|
33703
34064
|
|
|
33704
34065
|
/**
|
|
33705
|
-
* >
|
|
34066
|
+
* > You can upload only Windows images.
|
|
33706
34067
|
*
|
|
33707
34068
|
* @param request UploadImageRequest
|
|
33708
34069
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33773,7 +34134,7 @@ export default class Client extends OpenApi {
|
|
|
33773
34134
|
}
|
|
33774
34135
|
|
|
33775
34136
|
/**
|
|
33776
|
-
* >
|
|
34137
|
+
* > You can upload only Windows images.
|
|
33777
34138
|
*
|
|
33778
34139
|
* @param request UploadImageRequest
|
|
33779
34140
|
* @return UploadImageResponse
|