@@ -8989,6 +8989,7 @@ def __init__(
8989
8989
data_disk_size: int = None,
8990
8990
default_init_desktop_count: int = None,
8991
8991
default_language: str = None,
8992
+ delete_duration: int = None,
8992
8993
desktop_group_name: str = None,
8993
8994
desktop_type: str = None,
8994
8995
directory_id: str = None,
@@ -9124,6 +9125,7 @@ def __init__(
9124
9125
# * zh-CN: Simplified Chinese
9125
9126
# * ja-JP: Japanese.
9126
9127
self.default_language = default_language
9128
+ self.delete_duration = delete_duration
9127
9129
# The name of the shared group. The name can be up to 30 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with `http://` or `https://`.
9128
9130
self.desktop_group_name = desktop_group_name
9129
9131
# The specifications of the cloud computer. You can call the [DescribeDesktopTypes](~~DescribeDesktopTypes~~) operation to query all the supported specifications.
@@ -9350,6 +9352,8 @@ def to_map(self):
9350
9352
result['DefaultInitDesktopCount'] = self.default_init_desktop_count
9351
9353
if self.default_language is not None:
9352
9354
result['DefaultLanguage'] = self.default_language
9355
+ if self.delete_duration is not None:
9356
+ result['DeleteDuration'] = self.delete_duration
9353
9357
if self.desktop_group_name is not None:
9354
9358
result['DesktopGroupName'] = self.desktop_group_name
9355
9359
if self.desktop_type is not None:
@@ -9476,6 +9480,8 @@ def from_map(self, m: dict = None):
9476
9480
self.default_init_desktop_count = m.get('DefaultInitDesktopCount')
9477
9481
if m.get('DefaultLanguage') is not None:
9478
9482
self.default_language = m.get('DefaultLanguage')
9483
+ if m.get('DeleteDuration') is not None:
9484
+ self.delete_duration = m.get('DeleteDuration')
9479
9485
if m.get('DesktopGroupName') is not None:
9480
9486
self.desktop_group_name = m.get('DesktopGroupName')
9481
9487
if m.get('DesktopType') is not None:
@@ -23400,6 +23406,7 @@ def __init__(
23400
23406
desktop_type: str = None,
23401
23407
end_user_count: int = None,
23402
23408
expired_time: str = None,
23409
+ expired_times: List[str] = None,
23403
23410
gpu_count: float = None,
23404
23411
gpu_driver_version: str = None,
23405
23412
gpu_spec: str = None,
@@ -23477,6 +23484,7 @@ def __init__(
23477
23484
self.end_user_count = end_user_count
23478
23485
# The expiration date of the subscription cloud computer share.
23479
23486
self.expired_time = expired_time
23487
+ self.expired_times = expired_times
23480
23488
# The number of GPUs.
23481
23489
self.gpu_count = gpu_count
23482
23490
# The version of the GPU driver.
@@ -23684,6 +23692,8 @@ def to_map(self):
23684
23692
result['EndUserCount'] = self.end_user_count
23685
23693
if self.expired_time is not None:
23686
23694
result['ExpiredTime'] = self.expired_time
23695
+ if self.expired_times is not None:
23696
+ result['ExpiredTimes'] = self.expired_times
23687
23697
if self.gpu_count is not None:
23688
23698
result['GpuCount'] = self.gpu_count
23689
23699
if self.gpu_driver_version is not None:
@@ -23801,6 +23811,8 @@ def from_map(self, m: dict = None):
23801
23811
self.end_user_count = m.get('EndUserCount')
23802
23812
if m.get('ExpiredTime') is not None:
23803
23813
self.expired_time = m.get('ExpiredTime')
23814
+ if m.get('ExpiredTimes') is not None:
23815
+ self.expired_times = m.get('ExpiredTimes')
23804
23816
if m.get('GpuCount') is not None:
23805
23817
self.gpu_count = m.get('GpuCount')
23806
23818
if m.get('GpuDriverVersion') is not None:
@@ -27341,6 +27353,7 @@ def __init__(
27341
27353
end_user_ids: List[str] = None,
27342
27354
end_user_name: str = None,
27343
27355
end_user_names: List[str] = None,
27356
+ expired_time: str = None,
27344
27357
fota_version: str = None,
27345
27358
gpu_driver_version: str = None,
27346
27359
image_id: str = None,
@@ -27482,6 +27495,7 @@ def __init__(
27482
27495
self.end_user_name = end_user_name
27483
27496
# The usernames of the end users who are connected to the cloud computers in the cloud computer share. If no end users are connected, no values are returned for this parameter.
27484
27497
self.end_user_names = end_user_names
27498
+ self.expired_time = expired_time
27485
27499
# The image version.
27486
27500
self.fota_version = fota_version
27487
27501
# The version of the GPU driver.
@@ -27588,6 +27602,8 @@ def to_map(self):
27588
27602
result['EndUserName'] = self.end_user_name
27589
27603
if self.end_user_names is not None:
27590
27604
result['EndUserNames'] = self.end_user_names
27605
+ if self.expired_time is not None:
27606
+ result['ExpiredTime'] = self.expired_time
27591
27607
if self.fota_version is not None:
27592
27608
result['FotaVersion'] = self.fota_version
27593
27609
if self.gpu_driver_version is not None:
@@ -27634,6 +27650,8 @@ def from_map(self, m: dict = None):
27634
27650
self.end_user_name = m.get('EndUserName')
27635
27651
if m.get('EndUserNames') is not None:
27636
27652
self.end_user_names = m.get('EndUserNames')
27653
+ if m.get('ExpiredTime') is not None:
27654
+ self.expired_time = m.get('ExpiredTime')
27637
27655
if m.get('FotaVersion') is not None:
27638
27656
self.fota_version = m.get('FotaVersion')
27639
27657
if m.get('GpuDriverVersion') is not None:
@@ -45061,6 +45079,7 @@ def __init__(
45061
45079
directory_id: str = None,
45062
45080
directory_type: str = None,
45063
45081
expired_time: str = None,
45082
+ expired_times: List[str] = None,
45064
45083
gpu_count: float = None,
45065
45084
gpu_spec: str = None,
45066
45085
idle_disconnect_duration: int = None,
@@ -45075,6 +45094,7 @@ def __init__(
45075
45094
office_site_id: str = None,
45076
45095
office_site_name: str = None,
45077
45096
office_site_type: str = None,
45097
+ os_type: str = None,
45078
45098
own_bundle_id: str = None,
45079
45099
own_bundle_name: str = None,
45080
45100
own_type: int = None,
@@ -45084,6 +45104,7 @@ def __init__(
45084
45104
policy_group_name: str = None,
45085
45105
policy_group_names: List[str] = None,
45086
45106
profile_follow_switch: bool = None,
45107
+ protocol_type: str = None,
45087
45108
ratio_threshold: float = None,
45088
45109
res_type: int = None,
45089
45110
reset_type: int = None,
@@ -45137,6 +45158,7 @@ def __init__(
45137
45158
self.directory_type = directory_type
45138
45159
# The expiration date of the subscription cloud computer share.
45139
45160
self.expired_time = expired_time
45161
+ self.expired_times = expired_times
45140
45162
# The number of vGPUs.
45141
45163
self.gpu_count = gpu_count
45142
45164
# The GPU specifications.
@@ -45179,6 +45201,7 @@ def __init__(
45179
45201
# * AD_CONNECTOR: enterprise Active Directory (AD) office network
45180
45202
# * RAM: Resource Access Management (RAM)-based office network
45181
45203
self.office_site_type = office_site_type
45204
+ self.os_type = os_type
45182
45205
# The ID of the cloud computer template.
45183
45206
self.own_bundle_id = own_bundle_id
45184
45207
# The name of the cloud computer template.
@@ -45208,6 +45231,7 @@ def __init__(
45208
45231
self.policy_group_names = policy_group_names
45209
45232
# Indicates whether user data roaming is enabled.
45210
45233
self.profile_follow_switch = profile_follow_switch
45234
+ self.protocol_type = protocol_type
45211
45235
# The threshold for the ratio of connected sessions, which triggers automatic scaling of cloud computers within the multi-session many-to-many share. To calculate the ratio of connected sessions, use the following formula:
45212
45236
#
45213
45237
# `Ratio of connected sessions = Number of connected sessions/(Total number of cloud computers × Maximum number of sessions allowed for each cloud computer) × 100%`.
@@ -45300,6 +45324,8 @@ def to_map(self):
45300
45324
result['DirectoryType'] = self.directory_type
45301
45325
if self.expired_time is not None:
45302
45326
result['ExpiredTime'] = self.expired_time
45327
+ if self.expired_times is not None:
45328
+ result['ExpiredTimes'] = self.expired_times
45303
45329
if self.gpu_count is not None:
45304
45330
result['GpuCount'] = self.gpu_count
45305
45331
if self.gpu_spec is not None:
@@ -45328,6 +45354,8 @@ def to_map(self):
45328
45354
result['OfficeSiteName'] = self.office_site_name
45329
45355
if self.office_site_type is not None:
45330
45356
result['OfficeSiteType'] = self.office_site_type
45357
+ if self.os_type is not None:
45358
+ result['OsType'] = self.os_type
45331
45359
if self.own_bundle_id is not None:
45332
45360
result['OwnBundleId'] = self.own_bundle_id
45333
45361
if self.own_bundle_name is not None:
@@ -45346,6 +45374,8 @@ def to_map(self):
45346
45374
result['PolicyGroupNames'] = self.policy_group_names
45347
45375
if self.profile_follow_switch is not None:
45348
45376
result['ProfileFollowSwitch'] = self.profile_follow_switch
45377
+ if self.protocol_type is not None:
45378
+ result['ProtocolType'] = self.protocol_type
45349
45379
if self.ratio_threshold is not None:
45350
45380
result['RatioThreshold'] = self.ratio_threshold
45351
45381
if self.res_type is not None:
@@ -45408,6 +45438,8 @@ def from_map(self, m: dict = None):
45408
45438
self.directory_type = m.get('DirectoryType')
45409
45439
if m.get('ExpiredTime') is not None:
45410
45440
self.expired_time = m.get('ExpiredTime')
45441
+ if m.get('ExpiredTimes') is not None:
45442
+ self.expired_times = m.get('ExpiredTimes')
45411
45443
if m.get('GpuCount') is not None:
45412
45444
self.gpu_count = m.get('GpuCount')
45413
45445
if m.get('GpuSpec') is not None:
@@ -45436,6 +45468,8 @@ def from_map(self, m: dict = None):
45436
45468
self.office_site_name = m.get('OfficeSiteName')
45437
45469
if m.get('OfficeSiteType') is not None:
45438
45470
self.office_site_type = m.get('OfficeSiteType')
45471
+ if m.get('OsType') is not None:
45472
+ self.os_type = m.get('OsType')
45439
45473
if m.get('OwnBundleId') is not None:
45440
45474
self.own_bundle_id = m.get('OwnBundleId')
45441
45475
if m.get('OwnBundleName') is not None:
@@ -45454,6 +45488,8 @@ def from_map(self, m: dict = None):
45454
45488
self.policy_group_names = m.get('PolicyGroupNames')
45455
45489
if m.get('ProfileFollowSwitch') is not None:
45456
45490
self.profile_follow_switch = m.get('ProfileFollowSwitch')
45491
+ if m.get('ProtocolType') is not None:
45492
+ self.protocol_type = m.get('ProtocolType')
45457
45493
if m.get('RatioThreshold') is not None:
45458
45494
self.ratio_threshold = m.get('RatioThreshold')
45459
45495
if m.get('ResType') is not None:
@@ -52785,6 +52821,7 @@ def __init__(
52785
52821
classify: str = None,
52786
52822
comments: str = None,
52787
52823
connect_duration: int = None,
52824
+ delete_duration: int = None,
52788
52825
desktop_group_id: str = None,
52789
52826
desktop_group_name: str = None,
52790
52827
disable_session_config: bool = None,
@@ -52839,6 +52876,7 @@ def __init__(
52839
52876
self.comments = comments
52840
52877
# The maximum period of time during which the session is connected. When the specified maximum period of time is reached, the session is automatically disconnected. Unit: milliseconds. Valid values: 900000 to 345600000. That is, the session can be connected for 15 to 5,760 minutes (4 days).
52841
52878
self.connect_duration = connect_duration
52879
+ self.delete_duration = delete_duration
52842
52880
# The ID of the cloud computer share.
52843
52881
#
52844
52882
# This parameter is required.
@@ -52940,6 +52978,8 @@ def to_map(self):
52940
52978
result['Comments'] = self.comments
52941
52979
if self.connect_duration is not None:
52942
52980
result['ConnectDuration'] = self.connect_duration
52981
+ if self.delete_duration is not None:
52982
+ result['DeleteDuration'] = self.delete_duration
52943
52983
if self.desktop_group_id is not None:
52944
52984
result['DesktopGroupId'] = self.desktop_group_id
52945
52985
if self.desktop_group_name is not None:
@@ -52996,6 +53036,8 @@ def from_map(self, m: dict = None):
52996
53036
self.comments = m.get('Comments')
52997
53037
if m.get('ConnectDuration') is not None:
52998
53038
self.connect_duration = m.get('ConnectDuration')
53039
+ if m.get('DeleteDuration') is not None:
53040
+ self.delete_duration = m.get('DeleteDuration')
52999
53041
if m.get('DesktopGroupId') is not None:
53000
53042
self.desktop_group_id = m.get('DesktopGroupId')
53001
53043
if m.get('DesktopGroupName') is not None:
0 commit comments