tencentcloud-sdk-python-intl-en 3.0.1085__py2.py3-none-any.whl → 3.0.1087__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/car/v20220110/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdc/__init__.py +0 -0
- tencentcloud/cdc/v20201214/__init__.py +0 -0
- tencentcloud/cdc/v20201214/cdc_client.py +486 -0
- tencentcloud/cdc/v20201214/errorcodes.py +78 -0
- tencentcloud/cdc/v20201214/models.py +6084 -0
- tencentcloud/ciam/v20210420/errorcodes.py +2 -2
- tencentcloud/ciam/v20210420/models.py +2 -2
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/cloudaudit/v20190319/errorcodes.py +3 -0
- tencentcloud/cloudaudit/v20190319/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +177 -0
- tencentcloud/cmq/v20190304/models.py +74 -74
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/eb/v20210416/models.py +47 -2
- tencentcloud/ecm/v20190719/models.py +2 -2
- tencentcloud/es/v20180416/models.py +2 -2
- tencentcloud/gme/v20180711/errorcodes.py +1 -1
- tencentcloud/gme/v20180711/models.py +2 -2
- tencentcloud/omics/v20221128/models.py +4 -0
- tencentcloud/organization/v20210331/errorcodes.py +96 -0
- tencentcloud/organization/v20210331/models.py +2110 -269
- tencentcloud/organization/v20210331/organization_client.py +417 -3
- tencentcloud/privatedns/v20201028/models.py +159 -35
- tencentcloud/privatedns/v20201028/privatedns_client.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +4 -1
- tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +2370 -1230
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +96 -4
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +38 -38
- tencentcloud/tchd/v20230306/models.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +2 -2
- tencentcloud/tem/v20210701/models.py +2 -2
- tencentcloud/tiw/v20190919/errorcodes.py +3 -0
- tencentcloud/tiw/v20190919/models.py +102 -102
- tencentcloud/tke/v20180525/errorcodes.py +2 -2
- tencentcloud/vm/v20201229/errorcodes.py +14 -14
- tencentcloud/vm/v20201229/models.py +17 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +128 -11
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +1680 -720
- tencentcloud/waf/v20180125/waf_client.py +83 -45
- tencentcloud/wedata/v20210820/models.py +6 -6
- {tencentcloud_sdk_python_intl_en-3.0.1085.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1085.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/RECORD +53 -48
- {tencentcloud_sdk_python_intl_en-3.0.1085.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1085.dist-info → tencentcloud_sdk_python_intl_en-3.0.1087.dist-info}/top_level.txt +0 -0
|
@@ -252,11 +252,11 @@ class AddPermissionPolicyToRoleConfigurationRequest(AbstractModel):
|
|
|
252
252
|
:type ZoneId: str
|
|
253
253
|
:param _RoleConfigurationId: Permission configuration ID.
|
|
254
254
|
:type RoleConfigurationId: str
|
|
255
|
-
:param _RolePolicyType: Permission policy type. Valid values: System: system policy, namely the CAM system policy reused; Custom: custom policy, namely the custom policy prepared according to the CAM permission policy syntax and structure.
|
|
255
|
+
:param _RolePolicyType: Permission policy type. Valid values: System: system policy, namely the CAM system policy reused; Custom: custom policy, namely the custom policy prepared according to the CAM permission policy syntax and structure.
|
|
256
256
|
:type RolePolicyType: str
|
|
257
|
-
:param _RolePolicyNames: Permission policy name,
|
|
257
|
+
:param _RolePolicyNames: Permission policy name, supporting up to 20 policies, with each policy having a maximum of 32 characters. If you need to add a system policy, it is recommended to use the RolePolicies parameter. For custom policies, the array length is up to 1.
|
|
258
258
|
:type RolePolicyNames: list of str
|
|
259
|
-
:param _RolePolicies:
|
|
259
|
+
:param _RolePolicies: Details of an added system policy.
|
|
260
260
|
:type RolePolicies: list of PolicyDetail
|
|
261
261
|
:param _CustomPolicyDocument: Custom policy content, which contains up to 4096 characters. When RolePolicyType is Inline, this parameter must be configured. For details, see the permission policy syntax and structure.
|
|
262
262
|
:type CustomPolicyDocument: str
|
|
@@ -292,7 +292,7 @@ class AddPermissionPolicyToRoleConfigurationRequest(AbstractModel):
|
|
|
292
292
|
|
|
293
293
|
@property
|
|
294
294
|
def RolePolicyType(self):
|
|
295
|
-
"""Permission policy type. Valid values: System: system policy, namely the CAM system policy reused; Custom: custom policy, namely the custom policy prepared according to the CAM permission policy syntax and structure.
|
|
295
|
+
"""Permission policy type. Valid values: System: system policy, namely the CAM system policy reused; Custom: custom policy, namely the custom policy prepared according to the CAM permission policy syntax and structure.
|
|
296
296
|
:rtype: str
|
|
297
297
|
"""
|
|
298
298
|
return self._RolePolicyType
|
|
@@ -303,7 +303,7 @@ class AddPermissionPolicyToRoleConfigurationRequest(AbstractModel):
|
|
|
303
303
|
|
|
304
304
|
@property
|
|
305
305
|
def RolePolicyNames(self):
|
|
306
|
-
"""Permission policy name,
|
|
306
|
+
"""Permission policy name, supporting up to 20 policies, with each policy having a maximum of 32 characters. If you need to add a system policy, it is recommended to use the RolePolicies parameter. For custom policies, the array length is up to 1.
|
|
307
307
|
:rtype: list of str
|
|
308
308
|
"""
|
|
309
309
|
return self._RolePolicyNames
|
|
@@ -314,7 +314,7 @@ class AddPermissionPolicyToRoleConfigurationRequest(AbstractModel):
|
|
|
314
314
|
|
|
315
315
|
@property
|
|
316
316
|
def RolePolicies(self):
|
|
317
|
-
"""
|
|
317
|
+
"""Details of an added system policy.
|
|
318
318
|
:rtype: list of PolicyDetail
|
|
319
319
|
"""
|
|
320
320
|
return self._RolePolicies
|
|
@@ -801,10 +801,13 @@ class CreateGroupRequest(AbstractModel):
|
|
|
801
801
|
:type GroupName: str
|
|
802
802
|
:param _Description: User group description, which contains up to 1024 characters.
|
|
803
803
|
:type Description: str
|
|
804
|
+
:param _GroupType: User group type. Manual: manually created, Synchronized: imported from external sources.
|
|
805
|
+
:type GroupType: str
|
|
804
806
|
"""
|
|
805
807
|
self._ZoneId = None
|
|
806
808
|
self._GroupName = None
|
|
807
809
|
self._Description = None
|
|
810
|
+
self._GroupType = None
|
|
808
811
|
|
|
809
812
|
@property
|
|
810
813
|
def ZoneId(self):
|
|
@@ -839,11 +842,23 @@ class CreateGroupRequest(AbstractModel):
|
|
|
839
842
|
def Description(self, Description):
|
|
840
843
|
self._Description = Description
|
|
841
844
|
|
|
845
|
+
@property
|
|
846
|
+
def GroupType(self):
|
|
847
|
+
"""User group type. Manual: manually created, Synchronized: imported from external sources.
|
|
848
|
+
:rtype: str
|
|
849
|
+
"""
|
|
850
|
+
return self._GroupType
|
|
851
|
+
|
|
852
|
+
@GroupType.setter
|
|
853
|
+
def GroupType(self, GroupType):
|
|
854
|
+
self._GroupType = GroupType
|
|
855
|
+
|
|
842
856
|
|
|
843
857
|
def _deserialize(self, params):
|
|
844
858
|
self._ZoneId = params.get("ZoneId")
|
|
845
859
|
self._GroupName = params.get("GroupName")
|
|
846
860
|
self._Description = params.get("Description")
|
|
861
|
+
self._GroupType = params.get("GroupType")
|
|
847
862
|
memeber_set = set(params.keys())
|
|
848
863
|
for name, value in vars(self).items():
|
|
849
864
|
property_name = name[1:]
|
|
@@ -1023,6 +1038,201 @@ class CreateOrgServiceAssignResponse(AbstractModel):
|
|
|
1023
1038
|
self._RequestId = params.get("RequestId")
|
|
1024
1039
|
|
|
1025
1040
|
|
|
1041
|
+
class CreateOrganizationIdentityRequest(AbstractModel):
|
|
1042
|
+
"""CreateOrganizationIdentity request structure.
|
|
1043
|
+
|
|
1044
|
+
"""
|
|
1045
|
+
|
|
1046
|
+
def __init__(self):
|
|
1047
|
+
r"""
|
|
1048
|
+
:param _IdentityAliasName: Identity name.
|
|
1049
|
+
:type IdentityAliasName: str
|
|
1050
|
+
:param _IdentityPolicy: Identity policy.
|
|
1051
|
+
:type IdentityPolicy: list of IdentityPolicy
|
|
1052
|
+
:param _Description: Identity description.
|
|
1053
|
+
:type Description: str
|
|
1054
|
+
"""
|
|
1055
|
+
self._IdentityAliasName = None
|
|
1056
|
+
self._IdentityPolicy = None
|
|
1057
|
+
self._Description = None
|
|
1058
|
+
|
|
1059
|
+
@property
|
|
1060
|
+
def IdentityAliasName(self):
|
|
1061
|
+
"""Identity name.
|
|
1062
|
+
:rtype: str
|
|
1063
|
+
"""
|
|
1064
|
+
return self._IdentityAliasName
|
|
1065
|
+
|
|
1066
|
+
@IdentityAliasName.setter
|
|
1067
|
+
def IdentityAliasName(self, IdentityAliasName):
|
|
1068
|
+
self._IdentityAliasName = IdentityAliasName
|
|
1069
|
+
|
|
1070
|
+
@property
|
|
1071
|
+
def IdentityPolicy(self):
|
|
1072
|
+
"""Identity policy.
|
|
1073
|
+
:rtype: list of IdentityPolicy
|
|
1074
|
+
"""
|
|
1075
|
+
return self._IdentityPolicy
|
|
1076
|
+
|
|
1077
|
+
@IdentityPolicy.setter
|
|
1078
|
+
def IdentityPolicy(self, IdentityPolicy):
|
|
1079
|
+
self._IdentityPolicy = IdentityPolicy
|
|
1080
|
+
|
|
1081
|
+
@property
|
|
1082
|
+
def Description(self):
|
|
1083
|
+
"""Identity description.
|
|
1084
|
+
:rtype: str
|
|
1085
|
+
"""
|
|
1086
|
+
return self._Description
|
|
1087
|
+
|
|
1088
|
+
@Description.setter
|
|
1089
|
+
def Description(self, Description):
|
|
1090
|
+
self._Description = Description
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
def _deserialize(self, params):
|
|
1094
|
+
self._IdentityAliasName = params.get("IdentityAliasName")
|
|
1095
|
+
if params.get("IdentityPolicy") is not None:
|
|
1096
|
+
self._IdentityPolicy = []
|
|
1097
|
+
for item in params.get("IdentityPolicy"):
|
|
1098
|
+
obj = IdentityPolicy()
|
|
1099
|
+
obj._deserialize(item)
|
|
1100
|
+
self._IdentityPolicy.append(obj)
|
|
1101
|
+
self._Description = params.get("Description")
|
|
1102
|
+
memeber_set = set(params.keys())
|
|
1103
|
+
for name, value in vars(self).items():
|
|
1104
|
+
property_name = name[1:]
|
|
1105
|
+
if property_name in memeber_set:
|
|
1106
|
+
memeber_set.remove(property_name)
|
|
1107
|
+
if len(memeber_set) > 0:
|
|
1108
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
class CreateOrganizationIdentityResponse(AbstractModel):
|
|
1113
|
+
"""CreateOrganizationIdentity response structure.
|
|
1114
|
+
|
|
1115
|
+
"""
|
|
1116
|
+
|
|
1117
|
+
def __init__(self):
|
|
1118
|
+
r"""
|
|
1119
|
+
:param _IdentityId: Identity ID.
|
|
1120
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1121
|
+
:type IdentityId: int
|
|
1122
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1123
|
+
:type RequestId: str
|
|
1124
|
+
"""
|
|
1125
|
+
self._IdentityId = None
|
|
1126
|
+
self._RequestId = None
|
|
1127
|
+
|
|
1128
|
+
@property
|
|
1129
|
+
def IdentityId(self):
|
|
1130
|
+
"""Identity ID.
|
|
1131
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1132
|
+
:rtype: int
|
|
1133
|
+
"""
|
|
1134
|
+
return self._IdentityId
|
|
1135
|
+
|
|
1136
|
+
@IdentityId.setter
|
|
1137
|
+
def IdentityId(self, IdentityId):
|
|
1138
|
+
self._IdentityId = IdentityId
|
|
1139
|
+
|
|
1140
|
+
@property
|
|
1141
|
+
def RequestId(self):
|
|
1142
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1143
|
+
:rtype: str
|
|
1144
|
+
"""
|
|
1145
|
+
return self._RequestId
|
|
1146
|
+
|
|
1147
|
+
@RequestId.setter
|
|
1148
|
+
def RequestId(self, RequestId):
|
|
1149
|
+
self._RequestId = RequestId
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
def _deserialize(self, params):
|
|
1153
|
+
self._IdentityId = params.get("IdentityId")
|
|
1154
|
+
self._RequestId = params.get("RequestId")
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
class CreateOrganizationMemberAuthIdentityRequest(AbstractModel):
|
|
1158
|
+
"""CreateOrganizationMemberAuthIdentity request structure.
|
|
1159
|
+
|
|
1160
|
+
"""
|
|
1161
|
+
|
|
1162
|
+
def __init__(self):
|
|
1163
|
+
r"""
|
|
1164
|
+
:param _MemberUins: Member UIN list, including up to 10 items.
|
|
1165
|
+
:type MemberUins: list of int non-negative
|
|
1166
|
+
:param _IdentityIds: Identity ID list, including up to 5 items, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
1167
|
+
:type IdentityIds: list of int non-negative
|
|
1168
|
+
"""
|
|
1169
|
+
self._MemberUins = None
|
|
1170
|
+
self._IdentityIds = None
|
|
1171
|
+
|
|
1172
|
+
@property
|
|
1173
|
+
def MemberUins(self):
|
|
1174
|
+
"""Member UIN list, including up to 10 items.
|
|
1175
|
+
:rtype: list of int non-negative
|
|
1176
|
+
"""
|
|
1177
|
+
return self._MemberUins
|
|
1178
|
+
|
|
1179
|
+
@MemberUins.setter
|
|
1180
|
+
def MemberUins(self, MemberUins):
|
|
1181
|
+
self._MemberUins = MemberUins
|
|
1182
|
+
|
|
1183
|
+
@property
|
|
1184
|
+
def IdentityIds(self):
|
|
1185
|
+
"""Identity ID list, including up to 5 items, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
1186
|
+
:rtype: list of int non-negative
|
|
1187
|
+
"""
|
|
1188
|
+
return self._IdentityIds
|
|
1189
|
+
|
|
1190
|
+
@IdentityIds.setter
|
|
1191
|
+
def IdentityIds(self, IdentityIds):
|
|
1192
|
+
self._IdentityIds = IdentityIds
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
def _deserialize(self, params):
|
|
1196
|
+
self._MemberUins = params.get("MemberUins")
|
|
1197
|
+
self._IdentityIds = params.get("IdentityIds")
|
|
1198
|
+
memeber_set = set(params.keys())
|
|
1199
|
+
for name, value in vars(self).items():
|
|
1200
|
+
property_name = name[1:]
|
|
1201
|
+
if property_name in memeber_set:
|
|
1202
|
+
memeber_set.remove(property_name)
|
|
1203
|
+
if len(memeber_set) > 0:
|
|
1204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
class CreateOrganizationMemberAuthIdentityResponse(AbstractModel):
|
|
1209
|
+
"""CreateOrganizationMemberAuthIdentity response structure.
|
|
1210
|
+
|
|
1211
|
+
"""
|
|
1212
|
+
|
|
1213
|
+
def __init__(self):
|
|
1214
|
+
r"""
|
|
1215
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1216
|
+
:type RequestId: str
|
|
1217
|
+
"""
|
|
1218
|
+
self._RequestId = None
|
|
1219
|
+
|
|
1220
|
+
@property
|
|
1221
|
+
def RequestId(self):
|
|
1222
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1223
|
+
:rtype: str
|
|
1224
|
+
"""
|
|
1225
|
+
return self._RequestId
|
|
1226
|
+
|
|
1227
|
+
@RequestId.setter
|
|
1228
|
+
def RequestId(self, RequestId):
|
|
1229
|
+
self._RequestId = RequestId
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
def _deserialize(self, params):
|
|
1233
|
+
self._RequestId = params.get("RequestId")
|
|
1234
|
+
|
|
1235
|
+
|
|
1026
1236
|
class CreateOrganizationMemberPolicyRequest(AbstractModel):
|
|
1027
1237
|
"""CreateOrganizationMemberPolicy request structure.
|
|
1028
1238
|
|
|
@@ -1385,54 +1595,246 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1385
1595
|
self._RequestId = params.get("RequestId")
|
|
1386
1596
|
|
|
1387
1597
|
|
|
1388
|
-
class
|
|
1389
|
-
"""
|
|
1598
|
+
class CreateOrganizationMembersPolicyRequest(AbstractModel):
|
|
1599
|
+
"""CreateOrganizationMembersPolicy request structure.
|
|
1390
1600
|
|
|
1391
1601
|
"""
|
|
1392
1602
|
|
|
1393
1603
|
def __init__(self):
|
|
1394
1604
|
r"""
|
|
1395
|
-
:param
|
|
1396
|
-
:type
|
|
1397
|
-
:param
|
|
1398
|
-
:type
|
|
1605
|
+
:param _MemberUins: Member UIN list, including up to 10 items.
|
|
1606
|
+
:type MemberUins: list of int
|
|
1607
|
+
:param _PolicyName: Policy name, which contains 1 to 128 characters, including English letters, digits, and symbols `+=,.@_-`.
|
|
1608
|
+
:type PolicyName: str
|
|
1609
|
+
:param _IdentityId: Member access identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
1610
|
+
:type IdentityId: int
|
|
1611
|
+
:param _Description: Policy description, which contains up to 128 characters.
|
|
1612
|
+
:type Description: str
|
|
1399
1613
|
"""
|
|
1400
|
-
self.
|
|
1401
|
-
self.
|
|
1614
|
+
self._MemberUins = None
|
|
1615
|
+
self._PolicyName = None
|
|
1616
|
+
self._IdentityId = None
|
|
1617
|
+
self._Description = None
|
|
1402
1618
|
|
|
1403
1619
|
@property
|
|
1404
|
-
def
|
|
1405
|
-
"""
|
|
1620
|
+
def MemberUins(self):
|
|
1621
|
+
"""Member UIN list, including up to 10 items.
|
|
1622
|
+
:rtype: list of int
|
|
1623
|
+
"""
|
|
1624
|
+
return self._MemberUins
|
|
1625
|
+
|
|
1626
|
+
@MemberUins.setter
|
|
1627
|
+
def MemberUins(self, MemberUins):
|
|
1628
|
+
self._MemberUins = MemberUins
|
|
1629
|
+
|
|
1630
|
+
@property
|
|
1631
|
+
def PolicyName(self):
|
|
1632
|
+
"""Policy name, which contains 1 to 128 characters, including English letters, digits, and symbols `+=,.@_-`.
|
|
1406
1633
|
:rtype: str
|
|
1407
1634
|
"""
|
|
1408
|
-
return self.
|
|
1635
|
+
return self._PolicyName
|
|
1409
1636
|
|
|
1410
|
-
@
|
|
1411
|
-
def
|
|
1412
|
-
self.
|
|
1637
|
+
@PolicyName.setter
|
|
1638
|
+
def PolicyName(self, PolicyName):
|
|
1639
|
+
self._PolicyName = PolicyName
|
|
1413
1640
|
|
|
1414
1641
|
@property
|
|
1415
|
-
def
|
|
1416
|
-
"""
|
|
1417
|
-
:rtype:
|
|
1642
|
+
def IdentityId(self):
|
|
1643
|
+
"""Member access identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
1644
|
+
:rtype: int
|
|
1418
1645
|
"""
|
|
1419
|
-
return self.
|
|
1646
|
+
return self._IdentityId
|
|
1420
1647
|
|
|
1421
|
-
@
|
|
1422
|
-
def
|
|
1423
|
-
self.
|
|
1648
|
+
@IdentityId.setter
|
|
1649
|
+
def IdentityId(self, IdentityId):
|
|
1650
|
+
self._IdentityId = IdentityId
|
|
1651
|
+
|
|
1652
|
+
@property
|
|
1653
|
+
def Description(self):
|
|
1654
|
+
"""Policy description, which contains up to 128 characters.
|
|
1655
|
+
:rtype: str
|
|
1656
|
+
"""
|
|
1657
|
+
return self._Description
|
|
1658
|
+
|
|
1659
|
+
@Description.setter
|
|
1660
|
+
def Description(self, Description):
|
|
1661
|
+
self._Description = Description
|
|
1424
1662
|
|
|
1425
1663
|
|
|
1426
1664
|
def _deserialize(self, params):
|
|
1427
|
-
self.
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1665
|
+
self._MemberUins = params.get("MemberUins")
|
|
1666
|
+
self._PolicyName = params.get("PolicyName")
|
|
1667
|
+
self._IdentityId = params.get("IdentityId")
|
|
1668
|
+
self._Description = params.get("Description")
|
|
1669
|
+
memeber_set = set(params.keys())
|
|
1670
|
+
for name, value in vars(self).items():
|
|
1671
|
+
property_name = name[1:]
|
|
1672
|
+
if property_name in memeber_set:
|
|
1673
|
+
memeber_set.remove(property_name)
|
|
1674
|
+
if len(memeber_set) > 0:
|
|
1675
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
class CreateOrganizationMembersPolicyResponse(AbstractModel):
|
|
1680
|
+
"""CreateOrganizationMembersPolicy response structure.
|
|
1681
|
+
|
|
1682
|
+
"""
|
|
1683
|
+
|
|
1684
|
+
def __init__(self):
|
|
1685
|
+
r"""
|
|
1686
|
+
:param _PolicyId: Policy ID.
|
|
1687
|
+
|
|
1688
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1689
|
+
:type PolicyId: int
|
|
1690
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1691
|
+
:type RequestId: str
|
|
1692
|
+
"""
|
|
1693
|
+
self._PolicyId = None
|
|
1694
|
+
self._RequestId = None
|
|
1695
|
+
|
|
1696
|
+
@property
|
|
1697
|
+
def PolicyId(self):
|
|
1698
|
+
"""Policy ID.
|
|
1699
|
+
|
|
1700
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1701
|
+
:rtype: int
|
|
1702
|
+
"""
|
|
1703
|
+
return self._PolicyId
|
|
1704
|
+
|
|
1705
|
+
@PolicyId.setter
|
|
1706
|
+
def PolicyId(self, PolicyId):
|
|
1707
|
+
self._PolicyId = PolicyId
|
|
1708
|
+
|
|
1709
|
+
@property
|
|
1710
|
+
def RequestId(self):
|
|
1711
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1712
|
+
:rtype: str
|
|
1713
|
+
"""
|
|
1714
|
+
return self._RequestId
|
|
1715
|
+
|
|
1716
|
+
@RequestId.setter
|
|
1717
|
+
def RequestId(self, RequestId):
|
|
1718
|
+
self._RequestId = RequestId
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
def _deserialize(self, params):
|
|
1722
|
+
self._PolicyId = params.get("PolicyId")
|
|
1723
|
+
self._RequestId = params.get("RequestId")
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
class CreateOrganizationRequest(AbstractModel):
|
|
1727
|
+
"""CreateOrganization request structure.
|
|
1728
|
+
|
|
1729
|
+
"""
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
class CreateOrganizationResponse(AbstractModel):
|
|
1733
|
+
"""CreateOrganization response structure.
|
|
1734
|
+
|
|
1735
|
+
"""
|
|
1736
|
+
|
|
1737
|
+
def __init__(self):
|
|
1738
|
+
r"""
|
|
1739
|
+
:param _OrgId: Organization ID.
|
|
1740
|
+
:type OrgId: int
|
|
1741
|
+
:param _NickName: Creator's nickname.
|
|
1742
|
+
:type NickName: str
|
|
1743
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1744
|
+
:type RequestId: str
|
|
1745
|
+
"""
|
|
1746
|
+
self._OrgId = None
|
|
1747
|
+
self._NickName = None
|
|
1748
|
+
self._RequestId = None
|
|
1749
|
+
|
|
1750
|
+
@property
|
|
1751
|
+
def OrgId(self):
|
|
1752
|
+
"""Organization ID.
|
|
1753
|
+
:rtype: int
|
|
1754
|
+
"""
|
|
1755
|
+
return self._OrgId
|
|
1756
|
+
|
|
1757
|
+
@OrgId.setter
|
|
1758
|
+
def OrgId(self, OrgId):
|
|
1759
|
+
self._OrgId = OrgId
|
|
1760
|
+
|
|
1761
|
+
@property
|
|
1762
|
+
def NickName(self):
|
|
1763
|
+
"""Creator's nickname.
|
|
1764
|
+
:rtype: str
|
|
1765
|
+
"""
|
|
1766
|
+
return self._NickName
|
|
1767
|
+
|
|
1768
|
+
@NickName.setter
|
|
1769
|
+
def NickName(self, NickName):
|
|
1770
|
+
self._NickName = NickName
|
|
1771
|
+
|
|
1772
|
+
@property
|
|
1773
|
+
def RequestId(self):
|
|
1774
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1775
|
+
:rtype: str
|
|
1776
|
+
"""
|
|
1777
|
+
return self._RequestId
|
|
1778
|
+
|
|
1779
|
+
@RequestId.setter
|
|
1780
|
+
def RequestId(self, RequestId):
|
|
1781
|
+
self._RequestId = RequestId
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
def _deserialize(self, params):
|
|
1785
|
+
self._OrgId = params.get("OrgId")
|
|
1786
|
+
self._NickName = params.get("NickName")
|
|
1787
|
+
self._RequestId = params.get("RequestId")
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
class CreateRoleAssignmentRequest(AbstractModel):
|
|
1791
|
+
"""CreateRoleAssignment request structure.
|
|
1792
|
+
|
|
1793
|
+
"""
|
|
1794
|
+
|
|
1795
|
+
def __init__(self):
|
|
1796
|
+
r"""
|
|
1797
|
+
:param _ZoneId: Space ID.
|
|
1798
|
+
:type ZoneId: str
|
|
1799
|
+
:param _RoleAssignmentInfo: Authorized member account information, up to 50 entries.
|
|
1800
|
+
:type RoleAssignmentInfo: list of RoleAssignmentInfo
|
|
1801
|
+
"""
|
|
1802
|
+
self._ZoneId = None
|
|
1803
|
+
self._RoleAssignmentInfo = None
|
|
1804
|
+
|
|
1805
|
+
@property
|
|
1806
|
+
def ZoneId(self):
|
|
1807
|
+
"""Space ID.
|
|
1808
|
+
:rtype: str
|
|
1809
|
+
"""
|
|
1810
|
+
return self._ZoneId
|
|
1811
|
+
|
|
1812
|
+
@ZoneId.setter
|
|
1813
|
+
def ZoneId(self, ZoneId):
|
|
1814
|
+
self._ZoneId = ZoneId
|
|
1815
|
+
|
|
1816
|
+
@property
|
|
1817
|
+
def RoleAssignmentInfo(self):
|
|
1818
|
+
"""Authorized member account information, up to 50 entries.
|
|
1819
|
+
:rtype: list of RoleAssignmentInfo
|
|
1820
|
+
"""
|
|
1821
|
+
return self._RoleAssignmentInfo
|
|
1822
|
+
|
|
1823
|
+
@RoleAssignmentInfo.setter
|
|
1824
|
+
def RoleAssignmentInfo(self, RoleAssignmentInfo):
|
|
1825
|
+
self._RoleAssignmentInfo = RoleAssignmentInfo
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
def _deserialize(self, params):
|
|
1829
|
+
self._ZoneId = params.get("ZoneId")
|
|
1830
|
+
if params.get("RoleAssignmentInfo") is not None:
|
|
1831
|
+
self._RoleAssignmentInfo = []
|
|
1832
|
+
for item in params.get("RoleAssignmentInfo"):
|
|
1833
|
+
obj = RoleAssignmentInfo()
|
|
1834
|
+
obj._deserialize(item)
|
|
1835
|
+
self._RoleAssignmentInfo.append(obj)
|
|
1836
|
+
memeber_set = set(params.keys())
|
|
1837
|
+
for name, value in vars(self).items():
|
|
1436
1838
|
property_name = name[1:]
|
|
1437
1839
|
if property_name in memeber_set:
|
|
1438
1840
|
memeber_set.remove(property_name)
|
|
@@ -1498,13 +1900,13 @@ class CreateRoleConfigurationRequest(AbstractModel):
|
|
|
1498
1900
|
r"""
|
|
1499
1901
|
:param _ZoneId: Space ID.
|
|
1500
1902
|
:type ZoneId: str
|
|
1501
|
-
:param _RoleConfigurationName:
|
|
1903
|
+
:param _RoleConfigurationName: Permission configuration name, which contains up to 128 characters, including English letters, digits, and hyphens (-).
|
|
1502
1904
|
:type RoleConfigurationName: str
|
|
1503
|
-
:param _Description:
|
|
1905
|
+
:param _Description: Permission configuration description, which contains up to 1,024 characters.
|
|
1504
1906
|
:type Description: str
|
|
1505
|
-
:param _SessionDuration: Session duration. It
|
|
1907
|
+
:param _SessionDuration: Session duration, in seconds. It is the maximum time a CIC user can maintain a session while using permission configurations to access a target account in TCO. Value range: 900 to 43200 (15 minutes to 12 hours). Default: 3600 (1 hour).
|
|
1506
1908
|
:type SessionDuration: int
|
|
1507
|
-
:param _RelayState: Initial access page. It
|
|
1909
|
+
:param _RelayState: Initial access page. It is the initial page address when a CIC user uses permission configurations to access a target account in TCO. This page must be a Tencent Cloud console page. The default value is empty, representing a redirection to the home page of the Tencent Cloud console.
|
|
1508
1910
|
:type RelayState: str
|
|
1509
1911
|
"""
|
|
1510
1912
|
self._ZoneId = None
|
|
@@ -1526,7 +1928,7 @@ class CreateRoleConfigurationRequest(AbstractModel):
|
|
|
1526
1928
|
|
|
1527
1929
|
@property
|
|
1528
1930
|
def RoleConfigurationName(self):
|
|
1529
|
-
"""
|
|
1931
|
+
"""Permission configuration name, which contains up to 128 characters, including English letters, digits, and hyphens (-).
|
|
1530
1932
|
:rtype: str
|
|
1531
1933
|
"""
|
|
1532
1934
|
return self._RoleConfigurationName
|
|
@@ -1537,7 +1939,7 @@ class CreateRoleConfigurationRequest(AbstractModel):
|
|
|
1537
1939
|
|
|
1538
1940
|
@property
|
|
1539
1941
|
def Description(self):
|
|
1540
|
-
"""
|
|
1942
|
+
"""Permission configuration description, which contains up to 1,024 characters.
|
|
1541
1943
|
:rtype: str
|
|
1542
1944
|
"""
|
|
1543
1945
|
return self._Description
|
|
@@ -1548,7 +1950,7 @@ class CreateRoleConfigurationRequest(AbstractModel):
|
|
|
1548
1950
|
|
|
1549
1951
|
@property
|
|
1550
1952
|
def SessionDuration(self):
|
|
1551
|
-
"""Session duration. It
|
|
1953
|
+
"""Session duration, in seconds. It is the maximum time a CIC user can maintain a session while using permission configurations to access a target account in TCO. Value range: 900 to 43200 (15 minutes to 12 hours). Default: 3600 (1 hour).
|
|
1552
1954
|
:rtype: int
|
|
1553
1955
|
"""
|
|
1554
1956
|
return self._SessionDuration
|
|
@@ -1559,7 +1961,7 @@ class CreateRoleConfigurationRequest(AbstractModel):
|
|
|
1559
1961
|
|
|
1560
1962
|
@property
|
|
1561
1963
|
def RelayState(self):
|
|
1562
|
-
"""Initial access page. It
|
|
1964
|
+
"""Initial access page. It is the initial page address when a CIC user uses permission configurations to access a target account in TCO. This page must be a Tencent Cloud console page. The default value is empty, representing a redirection to the home page of the Tencent Cloud console.
|
|
1563
1965
|
:rtype: str
|
|
1564
1966
|
"""
|
|
1565
1967
|
return self._RelayState
|
|
@@ -1630,42 +2032,21 @@ class CreateRoleConfigurationResponse(AbstractModel):
|
|
|
1630
2032
|
self._RequestId = params.get("RequestId")
|
|
1631
2033
|
|
|
1632
2034
|
|
|
1633
|
-
class
|
|
1634
|
-
"""
|
|
2035
|
+
class CreateSCIMCredentialRequest(AbstractModel):
|
|
2036
|
+
"""CreateSCIMCredential request structure.
|
|
1635
2037
|
|
|
1636
2038
|
"""
|
|
1637
2039
|
|
|
1638
2040
|
def __init__(self):
|
|
1639
2041
|
r"""
|
|
1640
|
-
:param _ZoneId: Space ID.
|
|
2042
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
1641
2043
|
:type ZoneId: str
|
|
1642
|
-
:param _UserName: User name, which must be unique within the space and cannot be modified. It contains up to 64 characters, including digits, English letters, and special characters such as plus signs (+), equal signs (=), commas (,), periods (.), at signs (@), hyphens (-), and underscores (_).
|
|
1643
|
-
:type UserName: str
|
|
1644
|
-
:param _FirstName: Last name of the user, which contains up to 64 characters.
|
|
1645
|
-
:type FirstName: str
|
|
1646
|
-
:param _LastName: First name of the user, which contains up to 64 characters.
|
|
1647
|
-
:type LastName: str
|
|
1648
|
-
:param _DisplayName: Display name of the user, which contains up to 256 characters.
|
|
1649
|
-
:type DisplayName: str
|
|
1650
|
-
:param _Description: User description, which contains up to 1024 characters.
|
|
1651
|
-
:type Description: str
|
|
1652
|
-
:param _Email: Email address of the user, which must be unique within the directory and contains up to 128 characters.
|
|
1653
|
-
:type Email: str
|
|
1654
|
-
:param _UserStatus: User status. Valid values: Enabled (default), Disabled.
|
|
1655
|
-
:type UserStatus: str
|
|
1656
2044
|
"""
|
|
1657
2045
|
self._ZoneId = None
|
|
1658
|
-
self._UserName = None
|
|
1659
|
-
self._FirstName = None
|
|
1660
|
-
self._LastName = None
|
|
1661
|
-
self._DisplayName = None
|
|
1662
|
-
self._Description = None
|
|
1663
|
-
self._Email = None
|
|
1664
|
-
self._UserStatus = None
|
|
1665
2046
|
|
|
1666
2047
|
@property
|
|
1667
2048
|
def ZoneId(self):
|
|
1668
|
-
"""Space ID.
|
|
2049
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
1669
2050
|
:rtype: str
|
|
1670
2051
|
"""
|
|
1671
2052
|
return self._ZoneId
|
|
@@ -1674,56 +2055,249 @@ class CreateUserRequest(AbstractModel):
|
|
|
1674
2055
|
def ZoneId(self, ZoneId):
|
|
1675
2056
|
self._ZoneId = ZoneId
|
|
1676
2057
|
|
|
1677
|
-
@property
|
|
1678
|
-
def UserName(self):
|
|
1679
|
-
"""User name, which must be unique within the space and cannot be modified. It contains up to 64 characters, including digits, English letters, and special characters such as plus signs (+), equal signs (=), commas (,), periods (.), at signs (@), hyphens (-), and underscores (_).
|
|
1680
|
-
:rtype: str
|
|
1681
|
-
"""
|
|
1682
|
-
return self._UserName
|
|
1683
2058
|
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
2059
|
+
def _deserialize(self, params):
|
|
2060
|
+
self._ZoneId = params.get("ZoneId")
|
|
2061
|
+
memeber_set = set(params.keys())
|
|
2062
|
+
for name, value in vars(self).items():
|
|
2063
|
+
property_name = name[1:]
|
|
2064
|
+
if property_name in memeber_set:
|
|
2065
|
+
memeber_set.remove(property_name)
|
|
2066
|
+
if len(memeber_set) > 0:
|
|
2067
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
class CreateSCIMCredentialResponse(AbstractModel):
|
|
2072
|
+
"""CreateSCIMCredential response structure.
|
|
2073
|
+
|
|
2074
|
+
"""
|
|
2075
|
+
|
|
2076
|
+
def __init__(self):
|
|
2077
|
+
r"""
|
|
2078
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
2079
|
+
:type ZoneId: str
|
|
2080
|
+
:param _CredentialId: SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
2081
|
+
:type CredentialId: str
|
|
2082
|
+
:param _CredentialType: SCIM key type.
|
|
2083
|
+
:type CredentialType: str
|
|
2084
|
+
:param _CreateTime: Creation time of a SCIM key.
|
|
2085
|
+
:type CreateTime: str
|
|
2086
|
+
:param _ExpireTime: Expiration time of a SCIM key.
|
|
2087
|
+
:type ExpireTime: str
|
|
2088
|
+
:param _CredentialStatus: SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
2089
|
+
:type CredentialStatus: str
|
|
2090
|
+
:param _CredentialSecret: SCIM key.
|
|
2091
|
+
:type CredentialSecret: str
|
|
2092
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2093
|
+
:type RequestId: str
|
|
2094
|
+
"""
|
|
2095
|
+
self._ZoneId = None
|
|
2096
|
+
self._CredentialId = None
|
|
2097
|
+
self._CredentialType = None
|
|
2098
|
+
self._CreateTime = None
|
|
2099
|
+
self._ExpireTime = None
|
|
2100
|
+
self._CredentialStatus = None
|
|
2101
|
+
self._CredentialSecret = None
|
|
2102
|
+
self._RequestId = None
|
|
1687
2103
|
|
|
1688
2104
|
@property
|
|
1689
|
-
def
|
|
1690
|
-
"""
|
|
2105
|
+
def ZoneId(self):
|
|
2106
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
1691
2107
|
:rtype: str
|
|
1692
2108
|
"""
|
|
1693
|
-
return self.
|
|
2109
|
+
return self._ZoneId
|
|
1694
2110
|
|
|
1695
|
-
@
|
|
1696
|
-
def
|
|
1697
|
-
self.
|
|
2111
|
+
@ZoneId.setter
|
|
2112
|
+
def ZoneId(self, ZoneId):
|
|
2113
|
+
self._ZoneId = ZoneId
|
|
1698
2114
|
|
|
1699
2115
|
@property
|
|
1700
|
-
def
|
|
1701
|
-
"""
|
|
2116
|
+
def CredentialId(self):
|
|
2117
|
+
"""SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
1702
2118
|
:rtype: str
|
|
1703
2119
|
"""
|
|
1704
|
-
return self.
|
|
2120
|
+
return self._CredentialId
|
|
1705
2121
|
|
|
1706
|
-
@
|
|
1707
|
-
def
|
|
1708
|
-
self.
|
|
2122
|
+
@CredentialId.setter
|
|
2123
|
+
def CredentialId(self, CredentialId):
|
|
2124
|
+
self._CredentialId = CredentialId
|
|
1709
2125
|
|
|
1710
2126
|
@property
|
|
1711
|
-
def
|
|
1712
|
-
"""
|
|
2127
|
+
def CredentialType(self):
|
|
2128
|
+
"""SCIM key type.
|
|
1713
2129
|
:rtype: str
|
|
1714
2130
|
"""
|
|
1715
|
-
return self.
|
|
2131
|
+
return self._CredentialType
|
|
1716
2132
|
|
|
1717
|
-
@
|
|
1718
|
-
def
|
|
1719
|
-
self.
|
|
2133
|
+
@CredentialType.setter
|
|
2134
|
+
def CredentialType(self, CredentialType):
|
|
2135
|
+
self._CredentialType = CredentialType
|
|
1720
2136
|
|
|
1721
2137
|
@property
|
|
1722
|
-
def
|
|
1723
|
-
"""
|
|
2138
|
+
def CreateTime(self):
|
|
2139
|
+
"""Creation time of a SCIM key.
|
|
1724
2140
|
:rtype: str
|
|
1725
2141
|
"""
|
|
1726
|
-
return self.
|
|
2142
|
+
return self._CreateTime
|
|
2143
|
+
|
|
2144
|
+
@CreateTime.setter
|
|
2145
|
+
def CreateTime(self, CreateTime):
|
|
2146
|
+
self._CreateTime = CreateTime
|
|
2147
|
+
|
|
2148
|
+
@property
|
|
2149
|
+
def ExpireTime(self):
|
|
2150
|
+
"""Expiration time of a SCIM key.
|
|
2151
|
+
:rtype: str
|
|
2152
|
+
"""
|
|
2153
|
+
return self._ExpireTime
|
|
2154
|
+
|
|
2155
|
+
@ExpireTime.setter
|
|
2156
|
+
def ExpireTime(self, ExpireTime):
|
|
2157
|
+
self._ExpireTime = ExpireTime
|
|
2158
|
+
|
|
2159
|
+
@property
|
|
2160
|
+
def CredentialStatus(self):
|
|
2161
|
+
"""SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
2162
|
+
:rtype: str
|
|
2163
|
+
"""
|
|
2164
|
+
return self._CredentialStatus
|
|
2165
|
+
|
|
2166
|
+
@CredentialStatus.setter
|
|
2167
|
+
def CredentialStatus(self, CredentialStatus):
|
|
2168
|
+
self._CredentialStatus = CredentialStatus
|
|
2169
|
+
|
|
2170
|
+
@property
|
|
2171
|
+
def CredentialSecret(self):
|
|
2172
|
+
"""SCIM key.
|
|
2173
|
+
:rtype: str
|
|
2174
|
+
"""
|
|
2175
|
+
return self._CredentialSecret
|
|
2176
|
+
|
|
2177
|
+
@CredentialSecret.setter
|
|
2178
|
+
def CredentialSecret(self, CredentialSecret):
|
|
2179
|
+
self._CredentialSecret = CredentialSecret
|
|
2180
|
+
|
|
2181
|
+
@property
|
|
2182
|
+
def RequestId(self):
|
|
2183
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2184
|
+
:rtype: str
|
|
2185
|
+
"""
|
|
2186
|
+
return self._RequestId
|
|
2187
|
+
|
|
2188
|
+
@RequestId.setter
|
|
2189
|
+
def RequestId(self, RequestId):
|
|
2190
|
+
self._RequestId = RequestId
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
def _deserialize(self, params):
|
|
2194
|
+
self._ZoneId = params.get("ZoneId")
|
|
2195
|
+
self._CredentialId = params.get("CredentialId")
|
|
2196
|
+
self._CredentialType = params.get("CredentialType")
|
|
2197
|
+
self._CreateTime = params.get("CreateTime")
|
|
2198
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
2199
|
+
self._CredentialStatus = params.get("CredentialStatus")
|
|
2200
|
+
self._CredentialSecret = params.get("CredentialSecret")
|
|
2201
|
+
self._RequestId = params.get("RequestId")
|
|
2202
|
+
|
|
2203
|
+
|
|
2204
|
+
class CreateUserRequest(AbstractModel):
|
|
2205
|
+
"""CreateUser request structure.
|
|
2206
|
+
|
|
2207
|
+
"""
|
|
2208
|
+
|
|
2209
|
+
def __init__(self):
|
|
2210
|
+
r"""
|
|
2211
|
+
:param _ZoneId: Space ID.
|
|
2212
|
+
:type ZoneId: str
|
|
2213
|
+
:param _UserName: User name, which must be unique within the space and cannot be modified. It contains up to 64 characters, including digits, English letters, and special characters such as plus signs (+), equal signs (=), commas (,), periods (.), at signs (@), hyphens (-), and underscores (_).
|
|
2214
|
+
:type UserName: str
|
|
2215
|
+
:param _FirstName: Last name of the user, which contains up to 64 characters.
|
|
2216
|
+
:type FirstName: str
|
|
2217
|
+
:param _LastName: First name of the user, which contains up to 64 characters.
|
|
2218
|
+
:type LastName: str
|
|
2219
|
+
:param _DisplayName: Display name of the user, which contains up to 256 characters.
|
|
2220
|
+
:type DisplayName: str
|
|
2221
|
+
:param _Description: User description, which contains up to 1024 characters.
|
|
2222
|
+
:type Description: str
|
|
2223
|
+
:param _Email: Email address of the user, which must be unique within the directory and contains up to 128 characters.
|
|
2224
|
+
:type Email: str
|
|
2225
|
+
:param _UserStatus: User status. Valid values: Enabled (default), Disabled.
|
|
2226
|
+
:type UserStatus: str
|
|
2227
|
+
:param _UserType: User type. Manual: manually created, Synchronized: imported from external sources.
|
|
2228
|
+
:type UserType: str
|
|
2229
|
+
"""
|
|
2230
|
+
self._ZoneId = None
|
|
2231
|
+
self._UserName = None
|
|
2232
|
+
self._FirstName = None
|
|
2233
|
+
self._LastName = None
|
|
2234
|
+
self._DisplayName = None
|
|
2235
|
+
self._Description = None
|
|
2236
|
+
self._Email = None
|
|
2237
|
+
self._UserStatus = None
|
|
2238
|
+
self._UserType = None
|
|
2239
|
+
|
|
2240
|
+
@property
|
|
2241
|
+
def ZoneId(self):
|
|
2242
|
+
"""Space ID.
|
|
2243
|
+
:rtype: str
|
|
2244
|
+
"""
|
|
2245
|
+
return self._ZoneId
|
|
2246
|
+
|
|
2247
|
+
@ZoneId.setter
|
|
2248
|
+
def ZoneId(self, ZoneId):
|
|
2249
|
+
self._ZoneId = ZoneId
|
|
2250
|
+
|
|
2251
|
+
@property
|
|
2252
|
+
def UserName(self):
|
|
2253
|
+
"""User name, which must be unique within the space and cannot be modified. It contains up to 64 characters, including digits, English letters, and special characters such as plus signs (+), equal signs (=), commas (,), periods (.), at signs (@), hyphens (-), and underscores (_).
|
|
2254
|
+
:rtype: str
|
|
2255
|
+
"""
|
|
2256
|
+
return self._UserName
|
|
2257
|
+
|
|
2258
|
+
@UserName.setter
|
|
2259
|
+
def UserName(self, UserName):
|
|
2260
|
+
self._UserName = UserName
|
|
2261
|
+
|
|
2262
|
+
@property
|
|
2263
|
+
def FirstName(self):
|
|
2264
|
+
"""Last name of the user, which contains up to 64 characters.
|
|
2265
|
+
:rtype: str
|
|
2266
|
+
"""
|
|
2267
|
+
return self._FirstName
|
|
2268
|
+
|
|
2269
|
+
@FirstName.setter
|
|
2270
|
+
def FirstName(self, FirstName):
|
|
2271
|
+
self._FirstName = FirstName
|
|
2272
|
+
|
|
2273
|
+
@property
|
|
2274
|
+
def LastName(self):
|
|
2275
|
+
"""First name of the user, which contains up to 64 characters.
|
|
2276
|
+
:rtype: str
|
|
2277
|
+
"""
|
|
2278
|
+
return self._LastName
|
|
2279
|
+
|
|
2280
|
+
@LastName.setter
|
|
2281
|
+
def LastName(self, LastName):
|
|
2282
|
+
self._LastName = LastName
|
|
2283
|
+
|
|
2284
|
+
@property
|
|
2285
|
+
def DisplayName(self):
|
|
2286
|
+
"""Display name of the user, which contains up to 256 characters.
|
|
2287
|
+
:rtype: str
|
|
2288
|
+
"""
|
|
2289
|
+
return self._DisplayName
|
|
2290
|
+
|
|
2291
|
+
@DisplayName.setter
|
|
2292
|
+
def DisplayName(self, DisplayName):
|
|
2293
|
+
self._DisplayName = DisplayName
|
|
2294
|
+
|
|
2295
|
+
@property
|
|
2296
|
+
def Description(self):
|
|
2297
|
+
"""User description, which contains up to 1024 characters.
|
|
2298
|
+
:rtype: str
|
|
2299
|
+
"""
|
|
2300
|
+
return self._Description
|
|
1727
2301
|
|
|
1728
2302
|
@Description.setter
|
|
1729
2303
|
def Description(self, Description):
|
|
@@ -1751,6 +2325,17 @@ class CreateUserRequest(AbstractModel):
|
|
|
1751
2325
|
def UserStatus(self, UserStatus):
|
|
1752
2326
|
self._UserStatus = UserStatus
|
|
1753
2327
|
|
|
2328
|
+
@property
|
|
2329
|
+
def UserType(self):
|
|
2330
|
+
"""User type. Manual: manually created, Synchronized: imported from external sources.
|
|
2331
|
+
:rtype: str
|
|
2332
|
+
"""
|
|
2333
|
+
return self._UserType
|
|
2334
|
+
|
|
2335
|
+
@UserType.setter
|
|
2336
|
+
def UserType(self, UserType):
|
|
2337
|
+
self._UserType = UserType
|
|
2338
|
+
|
|
1754
2339
|
|
|
1755
2340
|
def _deserialize(self, params):
|
|
1756
2341
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -1761,6 +2346,7 @@ class CreateUserRequest(AbstractModel):
|
|
|
1761
2346
|
self._Description = params.get("Description")
|
|
1762
2347
|
self._Email = params.get("Email")
|
|
1763
2348
|
self._UserStatus = params.get("UserStatus")
|
|
2349
|
+
self._UserType = params.get("UserType")
|
|
1764
2350
|
memeber_set = set(params.keys())
|
|
1765
2351
|
for name, value in vars(self).items():
|
|
1766
2352
|
property_name = name[1:]
|
|
@@ -2078,32 +2664,32 @@ class DeleteOrgServiceAssignResponse(AbstractModel):
|
|
|
2078
2664
|
self._RequestId = params.get("RequestId")
|
|
2079
2665
|
|
|
2080
2666
|
|
|
2081
|
-
class
|
|
2082
|
-
"""
|
|
2667
|
+
class DeleteOrganizationIdentityRequest(AbstractModel):
|
|
2668
|
+
"""DeleteOrganizationIdentity request structure.
|
|
2083
2669
|
|
|
2084
2670
|
"""
|
|
2085
2671
|
|
|
2086
2672
|
def __init__(self):
|
|
2087
2673
|
r"""
|
|
2088
|
-
:param
|
|
2089
|
-
:type
|
|
2674
|
+
:param _IdentityId: Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
2675
|
+
:type IdentityId: int
|
|
2090
2676
|
"""
|
|
2091
|
-
self.
|
|
2677
|
+
self._IdentityId = None
|
|
2092
2678
|
|
|
2093
2679
|
@property
|
|
2094
|
-
def
|
|
2095
|
-
"""
|
|
2096
|
-
:rtype:
|
|
2680
|
+
def IdentityId(self):
|
|
2681
|
+
"""Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
2682
|
+
:rtype: int
|
|
2097
2683
|
"""
|
|
2098
|
-
return self.
|
|
2684
|
+
return self._IdentityId
|
|
2099
2685
|
|
|
2100
|
-
@
|
|
2101
|
-
def
|
|
2102
|
-
self.
|
|
2686
|
+
@IdentityId.setter
|
|
2687
|
+
def IdentityId(self, IdentityId):
|
|
2688
|
+
self._IdentityId = IdentityId
|
|
2103
2689
|
|
|
2104
2690
|
|
|
2105
2691
|
def _deserialize(self, params):
|
|
2106
|
-
self.
|
|
2692
|
+
self._IdentityId = params.get("IdentityId")
|
|
2107
2693
|
memeber_set = set(params.keys())
|
|
2108
2694
|
for name, value in vars(self).items():
|
|
2109
2695
|
property_name = name[1:]
|
|
@@ -2114,8 +2700,8 @@ class DeleteOrganizationMembersRequest(AbstractModel):
|
|
|
2114
2700
|
|
|
2115
2701
|
|
|
2116
2702
|
|
|
2117
|
-
class
|
|
2118
|
-
"""
|
|
2703
|
+
class DeleteOrganizationIdentityResponse(AbstractModel):
|
|
2704
|
+
"""DeleteOrganizationIdentity response structure.
|
|
2119
2705
|
|
|
2120
2706
|
"""
|
|
2121
2707
|
|
|
@@ -2142,32 +2728,47 @@ class DeleteOrganizationMembersResponse(AbstractModel):
|
|
|
2142
2728
|
self._RequestId = params.get("RequestId")
|
|
2143
2729
|
|
|
2144
2730
|
|
|
2145
|
-
class
|
|
2146
|
-
"""
|
|
2731
|
+
class DeleteOrganizationMemberAuthIdentityRequest(AbstractModel):
|
|
2732
|
+
"""DeleteOrganizationMemberAuthIdentity request structure.
|
|
2147
2733
|
|
|
2148
2734
|
"""
|
|
2149
2735
|
|
|
2150
2736
|
def __init__(self):
|
|
2151
2737
|
r"""
|
|
2152
|
-
:param
|
|
2153
|
-
:type
|
|
2738
|
+
:param _MemberUin: Member UIN.
|
|
2739
|
+
:type MemberUin: int
|
|
2740
|
+
:param _IdentityId: Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
2741
|
+
:type IdentityId: int
|
|
2154
2742
|
"""
|
|
2155
|
-
self.
|
|
2743
|
+
self._MemberUin = None
|
|
2744
|
+
self._IdentityId = None
|
|
2156
2745
|
|
|
2157
2746
|
@property
|
|
2158
|
-
def
|
|
2159
|
-
"""
|
|
2160
|
-
:rtype:
|
|
2747
|
+
def MemberUin(self):
|
|
2748
|
+
"""Member UIN.
|
|
2749
|
+
:rtype: int
|
|
2161
2750
|
"""
|
|
2162
|
-
return self.
|
|
2751
|
+
return self._MemberUin
|
|
2163
2752
|
|
|
2164
|
-
@
|
|
2165
|
-
def
|
|
2166
|
-
self.
|
|
2753
|
+
@MemberUin.setter
|
|
2754
|
+
def MemberUin(self, MemberUin):
|
|
2755
|
+
self._MemberUin = MemberUin
|
|
2756
|
+
|
|
2757
|
+
@property
|
|
2758
|
+
def IdentityId(self):
|
|
2759
|
+
"""Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
2760
|
+
:rtype: int
|
|
2761
|
+
"""
|
|
2762
|
+
return self._IdentityId
|
|
2763
|
+
|
|
2764
|
+
@IdentityId.setter
|
|
2765
|
+
def IdentityId(self, IdentityId):
|
|
2766
|
+
self._IdentityId = IdentityId
|
|
2167
2767
|
|
|
2168
2768
|
|
|
2169
2769
|
def _deserialize(self, params):
|
|
2170
|
-
self.
|
|
2770
|
+
self._MemberUin = params.get("MemberUin")
|
|
2771
|
+
self._IdentityId = params.get("IdentityId")
|
|
2171
2772
|
memeber_set = set(params.keys())
|
|
2172
2773
|
for name, value in vars(self).items():
|
|
2173
2774
|
property_name = name[1:]
|
|
@@ -2178,8 +2779,8 @@ class DeleteOrganizationNodesRequest(AbstractModel):
|
|
|
2178
2779
|
|
|
2179
2780
|
|
|
2180
2781
|
|
|
2181
|
-
class
|
|
2182
|
-
"""
|
|
2782
|
+
class DeleteOrganizationMemberAuthIdentityResponse(AbstractModel):
|
|
2783
|
+
"""DeleteOrganizationMemberAuthIdentity response structure.
|
|
2183
2784
|
|
|
2184
2785
|
"""
|
|
2185
2786
|
|
|
@@ -2206,60 +2807,286 @@ class DeleteOrganizationNodesResponse(AbstractModel):
|
|
|
2206
2807
|
self._RequestId = params.get("RequestId")
|
|
2207
2808
|
|
|
2208
2809
|
|
|
2209
|
-
class
|
|
2210
|
-
"""
|
|
2810
|
+
class DeleteOrganizationMembersPolicyRequest(AbstractModel):
|
|
2811
|
+
"""DeleteOrganizationMembersPolicy request structure.
|
|
2211
2812
|
|
|
2212
2813
|
"""
|
|
2213
2814
|
|
|
2214
2815
|
def __init__(self):
|
|
2215
2816
|
r"""
|
|
2216
|
-
:param
|
|
2217
|
-
:type
|
|
2218
|
-
:param _RoleConfigurationId: Permission configuration ID.
|
|
2219
|
-
:type RoleConfigurationId: str
|
|
2220
|
-
:param _TargetType: Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
|
|
2221
|
-
:type TargetType: str
|
|
2222
|
-
:param _TargetUin: UIN of the target account of the Tencent Cloud Organization.
|
|
2223
|
-
:type TargetUin: int
|
|
2224
|
-
:param _PrincipalType: Identity type for the CAM user synchronization. Valid values: User: indicates that the identity for the CAM user synchronization is a CIC user; Group: indicates that the identity for the CAM user synchronization is a CIC user group.
|
|
2225
|
-
:type PrincipalType: str
|
|
2226
|
-
:param _PrincipalId: Identity ID for the CAM user synchronization. Valid values: When the PrincipalType value is Group, it is the CIC user group ID (g-********). When the PrincipalType value is User, it is the CIC user ID (u-********).
|
|
2227
|
-
:type PrincipalId: str
|
|
2228
|
-
:param _DeprovisionStrategy: Whether to undeploy an access configuration synchronously when you remove the last authorization for using this access configuration on the target account of the Tencent Cloud Organization. Valid values: DeprovisionForLastRoleAssignmentOnAccount: Undeploy the access configuration; None (default): Do not undeploy access configuration.
|
|
2229
|
-
:type DeprovisionStrategy: str
|
|
2817
|
+
:param _PolicyId: Access policy ID, which can be obtained through [DescribeOrganizationMemberPolicies](https://intl.cloud.tencent.com/document/product/850/82935?from_cn_redirect=1).
|
|
2818
|
+
:type PolicyId: int
|
|
2230
2819
|
"""
|
|
2231
|
-
self.
|
|
2232
|
-
self._RoleConfigurationId = None
|
|
2233
|
-
self._TargetType = None
|
|
2234
|
-
self._TargetUin = None
|
|
2235
|
-
self._PrincipalType = None
|
|
2236
|
-
self._PrincipalId = None
|
|
2237
|
-
self._DeprovisionStrategy = None
|
|
2820
|
+
self._PolicyId = None
|
|
2238
2821
|
|
|
2239
2822
|
@property
|
|
2240
|
-
def
|
|
2241
|
-
"""
|
|
2242
|
-
:rtype:
|
|
2823
|
+
def PolicyId(self):
|
|
2824
|
+
"""Access policy ID, which can be obtained through [DescribeOrganizationMemberPolicies](https://intl.cloud.tencent.com/document/product/850/82935?from_cn_redirect=1).
|
|
2825
|
+
:rtype: int
|
|
2243
2826
|
"""
|
|
2244
|
-
return self.
|
|
2245
|
-
|
|
2246
|
-
@ZoneId.setter
|
|
2247
|
-
def ZoneId(self, ZoneId):
|
|
2248
|
-
self._ZoneId = ZoneId
|
|
2827
|
+
return self._PolicyId
|
|
2249
2828
|
|
|
2250
|
-
@
|
|
2251
|
-
def
|
|
2252
|
-
|
|
2253
|
-
:rtype: str
|
|
2254
|
-
"""
|
|
2255
|
-
return self._RoleConfigurationId
|
|
2829
|
+
@PolicyId.setter
|
|
2830
|
+
def PolicyId(self, PolicyId):
|
|
2831
|
+
self._PolicyId = PolicyId
|
|
2256
2832
|
|
|
2257
|
-
@RoleConfigurationId.setter
|
|
2258
|
-
def RoleConfigurationId(self, RoleConfigurationId):
|
|
2259
|
-
self._RoleConfigurationId = RoleConfigurationId
|
|
2260
2833
|
|
|
2261
|
-
|
|
2262
|
-
|
|
2834
|
+
def _deserialize(self, params):
|
|
2835
|
+
self._PolicyId = params.get("PolicyId")
|
|
2836
|
+
memeber_set = set(params.keys())
|
|
2837
|
+
for name, value in vars(self).items():
|
|
2838
|
+
property_name = name[1:]
|
|
2839
|
+
if property_name in memeber_set:
|
|
2840
|
+
memeber_set.remove(property_name)
|
|
2841
|
+
if len(memeber_set) > 0:
|
|
2842
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
class DeleteOrganizationMembersPolicyResponse(AbstractModel):
|
|
2847
|
+
"""DeleteOrganizationMembersPolicy response structure.
|
|
2848
|
+
|
|
2849
|
+
"""
|
|
2850
|
+
|
|
2851
|
+
def __init__(self):
|
|
2852
|
+
r"""
|
|
2853
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2854
|
+
:type RequestId: str
|
|
2855
|
+
"""
|
|
2856
|
+
self._RequestId = None
|
|
2857
|
+
|
|
2858
|
+
@property
|
|
2859
|
+
def RequestId(self):
|
|
2860
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2861
|
+
:rtype: str
|
|
2862
|
+
"""
|
|
2863
|
+
return self._RequestId
|
|
2864
|
+
|
|
2865
|
+
@RequestId.setter
|
|
2866
|
+
def RequestId(self, RequestId):
|
|
2867
|
+
self._RequestId = RequestId
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
def _deserialize(self, params):
|
|
2871
|
+
self._RequestId = params.get("RequestId")
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
class DeleteOrganizationMembersRequest(AbstractModel):
|
|
2875
|
+
"""DeleteOrganizationMembers request structure.
|
|
2876
|
+
|
|
2877
|
+
"""
|
|
2878
|
+
|
|
2879
|
+
def __init__(self):
|
|
2880
|
+
r"""
|
|
2881
|
+
:param _MemberUin: Uin list of the deleted members.
|
|
2882
|
+
:type MemberUin: list of int
|
|
2883
|
+
"""
|
|
2884
|
+
self._MemberUin = None
|
|
2885
|
+
|
|
2886
|
+
@property
|
|
2887
|
+
def MemberUin(self):
|
|
2888
|
+
"""Uin list of the deleted members.
|
|
2889
|
+
:rtype: list of int
|
|
2890
|
+
"""
|
|
2891
|
+
return self._MemberUin
|
|
2892
|
+
|
|
2893
|
+
@MemberUin.setter
|
|
2894
|
+
def MemberUin(self, MemberUin):
|
|
2895
|
+
self._MemberUin = MemberUin
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
def _deserialize(self, params):
|
|
2899
|
+
self._MemberUin = params.get("MemberUin")
|
|
2900
|
+
memeber_set = set(params.keys())
|
|
2901
|
+
for name, value in vars(self).items():
|
|
2902
|
+
property_name = name[1:]
|
|
2903
|
+
if property_name in memeber_set:
|
|
2904
|
+
memeber_set.remove(property_name)
|
|
2905
|
+
if len(memeber_set) > 0:
|
|
2906
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
class DeleteOrganizationMembersResponse(AbstractModel):
|
|
2911
|
+
"""DeleteOrganizationMembers response structure.
|
|
2912
|
+
|
|
2913
|
+
"""
|
|
2914
|
+
|
|
2915
|
+
def __init__(self):
|
|
2916
|
+
r"""
|
|
2917
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2918
|
+
:type RequestId: str
|
|
2919
|
+
"""
|
|
2920
|
+
self._RequestId = None
|
|
2921
|
+
|
|
2922
|
+
@property
|
|
2923
|
+
def RequestId(self):
|
|
2924
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2925
|
+
:rtype: str
|
|
2926
|
+
"""
|
|
2927
|
+
return self._RequestId
|
|
2928
|
+
|
|
2929
|
+
@RequestId.setter
|
|
2930
|
+
def RequestId(self, RequestId):
|
|
2931
|
+
self._RequestId = RequestId
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
def _deserialize(self, params):
|
|
2935
|
+
self._RequestId = params.get("RequestId")
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
class DeleteOrganizationNodesRequest(AbstractModel):
|
|
2939
|
+
"""DeleteOrganizationNodes request structure.
|
|
2940
|
+
|
|
2941
|
+
"""
|
|
2942
|
+
|
|
2943
|
+
def __init__(self):
|
|
2944
|
+
r"""
|
|
2945
|
+
:param _NodeId: Node ID list, which can be obtained through [DescribeOrganizationNodes](https://intl.cloud.tencent.com/document/product/850/82926?from_cn_redirect=1).
|
|
2946
|
+
:type NodeId: list of int
|
|
2947
|
+
"""
|
|
2948
|
+
self._NodeId = None
|
|
2949
|
+
|
|
2950
|
+
@property
|
|
2951
|
+
def NodeId(self):
|
|
2952
|
+
"""Node ID list, which can be obtained through [DescribeOrganizationNodes](https://intl.cloud.tencent.com/document/product/850/82926?from_cn_redirect=1).
|
|
2953
|
+
:rtype: list of int
|
|
2954
|
+
"""
|
|
2955
|
+
return self._NodeId
|
|
2956
|
+
|
|
2957
|
+
@NodeId.setter
|
|
2958
|
+
def NodeId(self, NodeId):
|
|
2959
|
+
self._NodeId = NodeId
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
def _deserialize(self, params):
|
|
2963
|
+
self._NodeId = params.get("NodeId")
|
|
2964
|
+
memeber_set = set(params.keys())
|
|
2965
|
+
for name, value in vars(self).items():
|
|
2966
|
+
property_name = name[1:]
|
|
2967
|
+
if property_name in memeber_set:
|
|
2968
|
+
memeber_set.remove(property_name)
|
|
2969
|
+
if len(memeber_set) > 0:
|
|
2970
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
class DeleteOrganizationNodesResponse(AbstractModel):
|
|
2975
|
+
"""DeleteOrganizationNodes response structure.
|
|
2976
|
+
|
|
2977
|
+
"""
|
|
2978
|
+
|
|
2979
|
+
def __init__(self):
|
|
2980
|
+
r"""
|
|
2981
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2982
|
+
:type RequestId: str
|
|
2983
|
+
"""
|
|
2984
|
+
self._RequestId = None
|
|
2985
|
+
|
|
2986
|
+
@property
|
|
2987
|
+
def RequestId(self):
|
|
2988
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2989
|
+
:rtype: str
|
|
2990
|
+
"""
|
|
2991
|
+
return self._RequestId
|
|
2992
|
+
|
|
2993
|
+
@RequestId.setter
|
|
2994
|
+
def RequestId(self, RequestId):
|
|
2995
|
+
self._RequestId = RequestId
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
def _deserialize(self, params):
|
|
2999
|
+
self._RequestId = params.get("RequestId")
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
class DeleteOrganizationRequest(AbstractModel):
|
|
3003
|
+
"""DeleteOrganization request structure.
|
|
3004
|
+
|
|
3005
|
+
"""
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
class DeleteOrganizationResponse(AbstractModel):
|
|
3009
|
+
"""DeleteOrganization response structure.
|
|
3010
|
+
|
|
3011
|
+
"""
|
|
3012
|
+
|
|
3013
|
+
def __init__(self):
|
|
3014
|
+
r"""
|
|
3015
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3016
|
+
:type RequestId: str
|
|
3017
|
+
"""
|
|
3018
|
+
self._RequestId = None
|
|
3019
|
+
|
|
3020
|
+
@property
|
|
3021
|
+
def RequestId(self):
|
|
3022
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3023
|
+
:rtype: str
|
|
3024
|
+
"""
|
|
3025
|
+
return self._RequestId
|
|
3026
|
+
|
|
3027
|
+
@RequestId.setter
|
|
3028
|
+
def RequestId(self, RequestId):
|
|
3029
|
+
self._RequestId = RequestId
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
def _deserialize(self, params):
|
|
3033
|
+
self._RequestId = params.get("RequestId")
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
class DeleteRoleAssignmentRequest(AbstractModel):
|
|
3037
|
+
"""DeleteRoleAssignment request structure.
|
|
3038
|
+
|
|
3039
|
+
"""
|
|
3040
|
+
|
|
3041
|
+
def __init__(self):
|
|
3042
|
+
r"""
|
|
3043
|
+
:param _ZoneId: Space ID.
|
|
3044
|
+
:type ZoneId: str
|
|
3045
|
+
:param _RoleConfigurationId: Permission configuration ID.
|
|
3046
|
+
:type RoleConfigurationId: str
|
|
3047
|
+
:param _TargetType: Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
|
|
3048
|
+
:type TargetType: str
|
|
3049
|
+
:param _TargetUin: UIN of the target account of the Tencent Cloud Organization.
|
|
3050
|
+
:type TargetUin: int
|
|
3051
|
+
:param _PrincipalType: Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
3052
|
+
:type PrincipalType: str
|
|
3053
|
+
:param _PrincipalId: User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-********). When PrincipalType is User, it is a user ID (u-********).
|
|
3054
|
+
:type PrincipalId: str
|
|
3055
|
+
:param _DeprovisionStrategy: Whether to remove the permission configuration deployment when removing the last authorization with a certain permission configuration from a target account in TCO. Valid values: DeprovisionForLastRoleAssignmentOnAccount: Remove the permission configuration deployment. None (default): Do not remove the permission configuration deployment.
|
|
3056
|
+
:type DeprovisionStrategy: str
|
|
3057
|
+
"""
|
|
3058
|
+
self._ZoneId = None
|
|
3059
|
+
self._RoleConfigurationId = None
|
|
3060
|
+
self._TargetType = None
|
|
3061
|
+
self._TargetUin = None
|
|
3062
|
+
self._PrincipalType = None
|
|
3063
|
+
self._PrincipalId = None
|
|
3064
|
+
self._DeprovisionStrategy = None
|
|
3065
|
+
|
|
3066
|
+
@property
|
|
3067
|
+
def ZoneId(self):
|
|
3068
|
+
"""Space ID.
|
|
3069
|
+
:rtype: str
|
|
3070
|
+
"""
|
|
3071
|
+
return self._ZoneId
|
|
3072
|
+
|
|
3073
|
+
@ZoneId.setter
|
|
3074
|
+
def ZoneId(self, ZoneId):
|
|
3075
|
+
self._ZoneId = ZoneId
|
|
3076
|
+
|
|
3077
|
+
@property
|
|
3078
|
+
def RoleConfigurationId(self):
|
|
3079
|
+
"""Permission configuration ID.
|
|
3080
|
+
:rtype: str
|
|
3081
|
+
"""
|
|
3082
|
+
return self._RoleConfigurationId
|
|
3083
|
+
|
|
3084
|
+
@RoleConfigurationId.setter
|
|
3085
|
+
def RoleConfigurationId(self, RoleConfigurationId):
|
|
3086
|
+
self._RoleConfigurationId = RoleConfigurationId
|
|
3087
|
+
|
|
3088
|
+
@property
|
|
3089
|
+
def TargetType(self):
|
|
2263
3090
|
"""Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account.
|
|
2264
3091
|
:rtype: str
|
|
2265
3092
|
"""
|
|
@@ -2282,7 +3109,7 @@ class DeleteRoleAssignmentRequest(AbstractModel):
|
|
|
2282
3109
|
|
|
2283
3110
|
@property
|
|
2284
3111
|
def PrincipalType(self):
|
|
2285
|
-
"""Identity
|
|
3112
|
+
"""Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
2286
3113
|
:rtype: str
|
|
2287
3114
|
"""
|
|
2288
3115
|
return self._PrincipalType
|
|
@@ -2293,7 +3120,7 @@ class DeleteRoleAssignmentRequest(AbstractModel):
|
|
|
2293
3120
|
|
|
2294
3121
|
@property
|
|
2295
3122
|
def PrincipalId(self):
|
|
2296
|
-
"""
|
|
3123
|
+
"""User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-********). When PrincipalType is User, it is a user ID (u-********).
|
|
2297
3124
|
:rtype: str
|
|
2298
3125
|
"""
|
|
2299
3126
|
return self._PrincipalId
|
|
@@ -2304,7 +3131,7 @@ class DeleteRoleAssignmentRequest(AbstractModel):
|
|
|
2304
3131
|
|
|
2305
3132
|
@property
|
|
2306
3133
|
def DeprovisionStrategy(self):
|
|
2307
|
-
"""Whether to
|
|
3134
|
+
"""Whether to remove the permission configuration deployment when removing the last authorization with a certain permission configuration from a target account in TCO. Valid values: DeprovisionForLastRoleAssignmentOnAccount: Remove the permission configuration deployment. None (default): Do not remove the permission configuration deployment.
|
|
2308
3135
|
:rtype: str
|
|
2309
3136
|
"""
|
|
2310
3137
|
return self._DeprovisionStrategy
|
|
@@ -2456,24 +3283,103 @@ class DeleteRoleConfigurationResponse(AbstractModel):
|
|
|
2456
3283
|
self._RequestId = params.get("RequestId")
|
|
2457
3284
|
|
|
2458
3285
|
|
|
2459
|
-
class
|
|
2460
|
-
"""
|
|
3286
|
+
class DeleteSCIMCredentialRequest(AbstractModel):
|
|
3287
|
+
"""DeleteSCIMCredential request structure.
|
|
2461
3288
|
|
|
2462
3289
|
"""
|
|
2463
3290
|
|
|
2464
3291
|
def __init__(self):
|
|
2465
3292
|
r"""
|
|
2466
|
-
:param _ZoneId: Space ID.
|
|
3293
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
2467
3294
|
:type ZoneId: str
|
|
2468
|
-
:param
|
|
2469
|
-
:type
|
|
3295
|
+
:param _CredentialId: SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
3296
|
+
:type CredentialId: str
|
|
2470
3297
|
"""
|
|
2471
3298
|
self._ZoneId = None
|
|
2472
|
-
self.
|
|
3299
|
+
self._CredentialId = None
|
|
2473
3300
|
|
|
2474
3301
|
@property
|
|
2475
3302
|
def ZoneId(self):
|
|
2476
|
-
"""Space ID.
|
|
3303
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
3304
|
+
:rtype: str
|
|
3305
|
+
"""
|
|
3306
|
+
return self._ZoneId
|
|
3307
|
+
|
|
3308
|
+
@ZoneId.setter
|
|
3309
|
+
def ZoneId(self, ZoneId):
|
|
3310
|
+
self._ZoneId = ZoneId
|
|
3311
|
+
|
|
3312
|
+
@property
|
|
3313
|
+
def CredentialId(self):
|
|
3314
|
+
"""SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
3315
|
+
:rtype: str
|
|
3316
|
+
"""
|
|
3317
|
+
return self._CredentialId
|
|
3318
|
+
|
|
3319
|
+
@CredentialId.setter
|
|
3320
|
+
def CredentialId(self, CredentialId):
|
|
3321
|
+
self._CredentialId = CredentialId
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
def _deserialize(self, params):
|
|
3325
|
+
self._ZoneId = params.get("ZoneId")
|
|
3326
|
+
self._CredentialId = params.get("CredentialId")
|
|
3327
|
+
memeber_set = set(params.keys())
|
|
3328
|
+
for name, value in vars(self).items():
|
|
3329
|
+
property_name = name[1:]
|
|
3330
|
+
if property_name in memeber_set:
|
|
3331
|
+
memeber_set.remove(property_name)
|
|
3332
|
+
if len(memeber_set) > 0:
|
|
3333
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
class DeleteSCIMCredentialResponse(AbstractModel):
|
|
3338
|
+
"""DeleteSCIMCredential response structure.
|
|
3339
|
+
|
|
3340
|
+
"""
|
|
3341
|
+
|
|
3342
|
+
def __init__(self):
|
|
3343
|
+
r"""
|
|
3344
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3345
|
+
:type RequestId: str
|
|
3346
|
+
"""
|
|
3347
|
+
self._RequestId = None
|
|
3348
|
+
|
|
3349
|
+
@property
|
|
3350
|
+
def RequestId(self):
|
|
3351
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3352
|
+
:rtype: str
|
|
3353
|
+
"""
|
|
3354
|
+
return self._RequestId
|
|
3355
|
+
|
|
3356
|
+
@RequestId.setter
|
|
3357
|
+
def RequestId(self, RequestId):
|
|
3358
|
+
self._RequestId = RequestId
|
|
3359
|
+
|
|
3360
|
+
|
|
3361
|
+
def _deserialize(self, params):
|
|
3362
|
+
self._RequestId = params.get("RequestId")
|
|
3363
|
+
|
|
3364
|
+
|
|
3365
|
+
class DeleteUserRequest(AbstractModel):
|
|
3366
|
+
"""DeleteUser request structure.
|
|
3367
|
+
|
|
3368
|
+
"""
|
|
3369
|
+
|
|
3370
|
+
def __init__(self):
|
|
3371
|
+
r"""
|
|
3372
|
+
:param _ZoneId: Space ID.
|
|
3373
|
+
:type ZoneId: str
|
|
3374
|
+
:param _UserId: User ID.
|
|
3375
|
+
:type UserId: str
|
|
3376
|
+
"""
|
|
3377
|
+
self._ZoneId = None
|
|
3378
|
+
self._UserId = None
|
|
3379
|
+
|
|
3380
|
+
@property
|
|
3381
|
+
def ZoneId(self):
|
|
3382
|
+
"""Space ID.
|
|
2477
3383
|
:rtype: str
|
|
2478
3384
|
"""
|
|
2479
3385
|
return self._ZoneId
|
|
@@ -4382,6 +5288,85 @@ class GetRoleConfigurationResponse(AbstractModel):
|
|
|
4382
5288
|
self._RequestId = params.get("RequestId")
|
|
4383
5289
|
|
|
4384
5290
|
|
|
5291
|
+
class GetSCIMSynchronizationStatusRequest(AbstractModel):
|
|
5292
|
+
"""GetSCIMSynchronizationStatus request structure.
|
|
5293
|
+
|
|
5294
|
+
"""
|
|
5295
|
+
|
|
5296
|
+
def __init__(self):
|
|
5297
|
+
r"""
|
|
5298
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
5299
|
+
:type ZoneId: str
|
|
5300
|
+
"""
|
|
5301
|
+
self._ZoneId = None
|
|
5302
|
+
|
|
5303
|
+
@property
|
|
5304
|
+
def ZoneId(self):
|
|
5305
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
5306
|
+
:rtype: str
|
|
5307
|
+
"""
|
|
5308
|
+
return self._ZoneId
|
|
5309
|
+
|
|
5310
|
+
@ZoneId.setter
|
|
5311
|
+
def ZoneId(self, ZoneId):
|
|
5312
|
+
self._ZoneId = ZoneId
|
|
5313
|
+
|
|
5314
|
+
|
|
5315
|
+
def _deserialize(self, params):
|
|
5316
|
+
self._ZoneId = params.get("ZoneId")
|
|
5317
|
+
memeber_set = set(params.keys())
|
|
5318
|
+
for name, value in vars(self).items():
|
|
5319
|
+
property_name = name[1:]
|
|
5320
|
+
if property_name in memeber_set:
|
|
5321
|
+
memeber_set.remove(property_name)
|
|
5322
|
+
if len(memeber_set) > 0:
|
|
5323
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5324
|
+
|
|
5325
|
+
|
|
5326
|
+
|
|
5327
|
+
class GetSCIMSynchronizationStatusResponse(AbstractModel):
|
|
5328
|
+
"""GetSCIMSynchronizationStatus response structure.
|
|
5329
|
+
|
|
5330
|
+
"""
|
|
5331
|
+
|
|
5332
|
+
def __init__(self):
|
|
5333
|
+
r"""
|
|
5334
|
+
:param _SCIMSynchronizationStatus: SCIM synchronization status. Enabled: enabled. Disabled: disabled.
|
|
5335
|
+
:type SCIMSynchronizationStatus: str
|
|
5336
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5337
|
+
:type RequestId: str
|
|
5338
|
+
"""
|
|
5339
|
+
self._SCIMSynchronizationStatus = None
|
|
5340
|
+
self._RequestId = None
|
|
5341
|
+
|
|
5342
|
+
@property
|
|
5343
|
+
def SCIMSynchronizationStatus(self):
|
|
5344
|
+
"""SCIM synchronization status. Enabled: enabled. Disabled: disabled.
|
|
5345
|
+
:rtype: str
|
|
5346
|
+
"""
|
|
5347
|
+
return self._SCIMSynchronizationStatus
|
|
5348
|
+
|
|
5349
|
+
@SCIMSynchronizationStatus.setter
|
|
5350
|
+
def SCIMSynchronizationStatus(self, SCIMSynchronizationStatus):
|
|
5351
|
+
self._SCIMSynchronizationStatus = SCIMSynchronizationStatus
|
|
5352
|
+
|
|
5353
|
+
@property
|
|
5354
|
+
def RequestId(self):
|
|
5355
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5356
|
+
:rtype: str
|
|
5357
|
+
"""
|
|
5358
|
+
return self._RequestId
|
|
5359
|
+
|
|
5360
|
+
@RequestId.setter
|
|
5361
|
+
def RequestId(self, RequestId):
|
|
5362
|
+
self._RequestId = RequestId
|
|
5363
|
+
|
|
5364
|
+
|
|
5365
|
+
def _deserialize(self, params):
|
|
5366
|
+
self._SCIMSynchronizationStatus = params.get("SCIMSynchronizationStatus")
|
|
5367
|
+
self._RequestId = params.get("RequestId")
|
|
5368
|
+
|
|
5369
|
+
|
|
4385
5370
|
class GetTaskStatusRequest(AbstractModel):
|
|
4386
5371
|
"""GetTaskStatus request structure.
|
|
4387
5372
|
|
|
@@ -5851,6 +6836,8 @@ class ListGroupsRequest(AbstractModel):
|
|
|
5851
6836
|
:type SortField: str
|
|
5852
6837
|
:param _SortType: Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
|
|
5853
6838
|
:type SortType: str
|
|
6839
|
+
:param _Offset: Pagination offset. Do not use it together with NextToken, prioritizing using NextToken.
|
|
6840
|
+
:type Offset: int
|
|
5854
6841
|
"""
|
|
5855
6842
|
self._ZoneId = None
|
|
5856
6843
|
self._NextToken = None
|
|
@@ -5860,6 +6847,7 @@ class ListGroupsRequest(AbstractModel):
|
|
|
5860
6847
|
self._FilterUsers = None
|
|
5861
6848
|
self._SortField = None
|
|
5862
6849
|
self._SortType = None
|
|
6850
|
+
self._Offset = None
|
|
5863
6851
|
|
|
5864
6852
|
@property
|
|
5865
6853
|
def ZoneId(self):
|
|
@@ -5949,6 +6937,17 @@ class ListGroupsRequest(AbstractModel):
|
|
|
5949
6937
|
def SortType(self, SortType):
|
|
5950
6938
|
self._SortType = SortType
|
|
5951
6939
|
|
|
6940
|
+
@property
|
|
6941
|
+
def Offset(self):
|
|
6942
|
+
"""Pagination offset. Do not use it together with NextToken, prioritizing using NextToken.
|
|
6943
|
+
:rtype: int
|
|
6944
|
+
"""
|
|
6945
|
+
return self._Offset
|
|
6946
|
+
|
|
6947
|
+
@Offset.setter
|
|
6948
|
+
def Offset(self, Offset):
|
|
6949
|
+
self._Offset = Offset
|
|
6950
|
+
|
|
5952
6951
|
|
|
5953
6952
|
def _deserialize(self, params):
|
|
5954
6953
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -5959,6 +6958,7 @@ class ListGroupsRequest(AbstractModel):
|
|
|
5959
6958
|
self._FilterUsers = params.get("FilterUsers")
|
|
5960
6959
|
self._SortField = params.get("SortField")
|
|
5961
6960
|
self._SortType = params.get("SortType")
|
|
6961
|
+
self._Offset = params.get("Offset")
|
|
5962
6962
|
memeber_set = set(params.keys())
|
|
5963
6963
|
for name, value in vars(self).items():
|
|
5964
6964
|
property_name = name[1:]
|
|
@@ -6858,9 +7858,9 @@ class ListRoleAssignmentsRequest(AbstractModel):
|
|
|
6858
7858
|
:type TargetType: str
|
|
6859
7859
|
:param _TargetUin: UIN of the synchronized target account of the Tencent Cloud Organization.
|
|
6860
7860
|
:type TargetUin: int
|
|
6861
|
-
:param _PrincipalType: Identity
|
|
7861
|
+
:param _PrincipalType: Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
6862
7862
|
:type PrincipalType: str
|
|
6863
|
-
:param _PrincipalId:
|
|
7863
|
+
:param _PrincipalId: User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-****). When PrincipalType is User, it is a user ID (u-****).
|
|
6864
7864
|
:type PrincipalId: str
|
|
6865
7865
|
:param _Filter: Query condition, which currently only supports search by permission configuration name.
|
|
6866
7866
|
:type Filter: str
|
|
@@ -6943,7 +7943,7 @@ class ListRoleAssignmentsRequest(AbstractModel):
|
|
|
6943
7943
|
|
|
6944
7944
|
@property
|
|
6945
7945
|
def PrincipalType(self):
|
|
6946
|
-
"""Identity
|
|
7946
|
+
"""Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
6947
7947
|
:rtype: str
|
|
6948
7948
|
"""
|
|
6949
7949
|
return self._PrincipalType
|
|
@@ -6954,7 +7954,7 @@ class ListRoleAssignmentsRequest(AbstractModel):
|
|
|
6954
7954
|
|
|
6955
7955
|
@property
|
|
6956
7956
|
def PrincipalId(self):
|
|
6957
|
-
"""
|
|
7957
|
+
"""User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-****). When PrincipalType is User, it is a user ID (u-****).
|
|
6958
7958
|
:rtype: str
|
|
6959
7959
|
"""
|
|
6960
7960
|
return self._PrincipalId
|
|
@@ -7365,7 +8365,7 @@ class ListRoleConfigurationsRequest(AbstractModel):
|
|
|
7365
8365
|
:type NextToken: str
|
|
7366
8366
|
:param _MaxResults: Maximum number of data entries per page. Value range: 1-100. Default value: 10.
|
|
7367
8367
|
:type MaxResults: int
|
|
7368
|
-
:param _Filter: Filter
|
|
8368
|
+
:param _Filter: Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
|
|
7369
8369
|
:type Filter: str
|
|
7370
8370
|
:param _FilterTargets: Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
|
|
7371
8371
|
:type FilterTargets: list of int
|
|
@@ -7414,7 +8414,7 @@ class ListRoleConfigurationsRequest(AbstractModel):
|
|
|
7414
8414
|
|
|
7415
8415
|
@property
|
|
7416
8416
|
def Filter(self):
|
|
7417
|
-
"""Filter
|
|
8417
|
+
"""Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
|
|
7418
8418
|
:rtype: str
|
|
7419
8419
|
"""
|
|
7420
8420
|
return self._Filter
|
|
@@ -7571,6 +8571,120 @@ class ListRoleConfigurationsResponse(AbstractModel):
|
|
|
7571
8571
|
self._RequestId = params.get("RequestId")
|
|
7572
8572
|
|
|
7573
8573
|
|
|
8574
|
+
class ListSCIMCredentialsRequest(AbstractModel):
|
|
8575
|
+
"""ListSCIMCredentials request structure.
|
|
8576
|
+
|
|
8577
|
+
"""
|
|
8578
|
+
|
|
8579
|
+
def __init__(self):
|
|
8580
|
+
r"""
|
|
8581
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
8582
|
+
:type ZoneId: str
|
|
8583
|
+
:param _CredentialId: SCIM key ID.
|
|
8584
|
+
:type CredentialId: str
|
|
8585
|
+
"""
|
|
8586
|
+
self._ZoneId = None
|
|
8587
|
+
self._CredentialId = None
|
|
8588
|
+
|
|
8589
|
+
@property
|
|
8590
|
+
def ZoneId(self):
|
|
8591
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
8592
|
+
:rtype: str
|
|
8593
|
+
"""
|
|
8594
|
+
return self._ZoneId
|
|
8595
|
+
|
|
8596
|
+
@ZoneId.setter
|
|
8597
|
+
def ZoneId(self, ZoneId):
|
|
8598
|
+
self._ZoneId = ZoneId
|
|
8599
|
+
|
|
8600
|
+
@property
|
|
8601
|
+
def CredentialId(self):
|
|
8602
|
+
"""SCIM key ID.
|
|
8603
|
+
:rtype: str
|
|
8604
|
+
"""
|
|
8605
|
+
return self._CredentialId
|
|
8606
|
+
|
|
8607
|
+
@CredentialId.setter
|
|
8608
|
+
def CredentialId(self, CredentialId):
|
|
8609
|
+
self._CredentialId = CredentialId
|
|
8610
|
+
|
|
8611
|
+
|
|
8612
|
+
def _deserialize(self, params):
|
|
8613
|
+
self._ZoneId = params.get("ZoneId")
|
|
8614
|
+
self._CredentialId = params.get("CredentialId")
|
|
8615
|
+
memeber_set = set(params.keys())
|
|
8616
|
+
for name, value in vars(self).items():
|
|
8617
|
+
property_name = name[1:]
|
|
8618
|
+
if property_name in memeber_set:
|
|
8619
|
+
memeber_set.remove(property_name)
|
|
8620
|
+
if len(memeber_set) > 0:
|
|
8621
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8622
|
+
|
|
8623
|
+
|
|
8624
|
+
|
|
8625
|
+
class ListSCIMCredentialsResponse(AbstractModel):
|
|
8626
|
+
"""ListSCIMCredentials response structure.
|
|
8627
|
+
|
|
8628
|
+
"""
|
|
8629
|
+
|
|
8630
|
+
def __init__(self):
|
|
8631
|
+
r"""
|
|
8632
|
+
:param _TotalCounts: Number of SCIM keys.
|
|
8633
|
+
:type TotalCounts: int
|
|
8634
|
+
:param _SCIMCredentials: SCIM key information.
|
|
8635
|
+
:type SCIMCredentials: list of SCIMCredential
|
|
8636
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8637
|
+
:type RequestId: str
|
|
8638
|
+
"""
|
|
8639
|
+
self._TotalCounts = None
|
|
8640
|
+
self._SCIMCredentials = None
|
|
8641
|
+
self._RequestId = None
|
|
8642
|
+
|
|
8643
|
+
@property
|
|
8644
|
+
def TotalCounts(self):
|
|
8645
|
+
"""Number of SCIM keys.
|
|
8646
|
+
:rtype: int
|
|
8647
|
+
"""
|
|
8648
|
+
return self._TotalCounts
|
|
8649
|
+
|
|
8650
|
+
@TotalCounts.setter
|
|
8651
|
+
def TotalCounts(self, TotalCounts):
|
|
8652
|
+
self._TotalCounts = TotalCounts
|
|
8653
|
+
|
|
8654
|
+
@property
|
|
8655
|
+
def SCIMCredentials(self):
|
|
8656
|
+
"""SCIM key information.
|
|
8657
|
+
:rtype: list of SCIMCredential
|
|
8658
|
+
"""
|
|
8659
|
+
return self._SCIMCredentials
|
|
8660
|
+
|
|
8661
|
+
@SCIMCredentials.setter
|
|
8662
|
+
def SCIMCredentials(self, SCIMCredentials):
|
|
8663
|
+
self._SCIMCredentials = SCIMCredentials
|
|
8664
|
+
|
|
8665
|
+
@property
|
|
8666
|
+
def RequestId(self):
|
|
8667
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8668
|
+
:rtype: str
|
|
8669
|
+
"""
|
|
8670
|
+
return self._RequestId
|
|
8671
|
+
|
|
8672
|
+
@RequestId.setter
|
|
8673
|
+
def RequestId(self, RequestId):
|
|
8674
|
+
self._RequestId = RequestId
|
|
8675
|
+
|
|
8676
|
+
|
|
8677
|
+
def _deserialize(self, params):
|
|
8678
|
+
self._TotalCounts = params.get("TotalCounts")
|
|
8679
|
+
if params.get("SCIMCredentials") is not None:
|
|
8680
|
+
self._SCIMCredentials = []
|
|
8681
|
+
for item in params.get("SCIMCredentials"):
|
|
8682
|
+
obj = SCIMCredential()
|
|
8683
|
+
obj._deserialize(item)
|
|
8684
|
+
self._SCIMCredentials.append(obj)
|
|
8685
|
+
self._RequestId = params.get("RequestId")
|
|
8686
|
+
|
|
8687
|
+
|
|
7574
8688
|
class ListTasksRequest(AbstractModel):
|
|
7575
8689
|
"""ListTasks request structure.
|
|
7576
8690
|
|
|
@@ -7580,13 +8694,13 @@ class ListTasksRequest(AbstractModel):
|
|
|
7580
8694
|
r"""
|
|
7581
8695
|
:param _ZoneId: Space ID.
|
|
7582
8696
|
:type ZoneId: str
|
|
7583
|
-
:param _PrincipalId:
|
|
8697
|
+
:param _PrincipalId: User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-****). When PrincipalType is User, it is a user ID (u-****).
|
|
7584
8698
|
:type PrincipalId: str
|
|
7585
8699
|
:param _NextToken: Token for querying the next page of returned results. During use of the API for the first time, NextToken is not needed. When you call the API for the first time, if the total number of returned data entries exceeds the MaxResults limit, the data is truncated and only MaxResults data entries are returned. Meanwhile, the return parameter IsTruncated is true and a NextToken is returned. You can use the NextToken returned last time to continue calling the API with other request parameters unchanged, to query the truncated data. You can use this method for multiple queries until IsTruncated is false, indicating that all data has been queried.
|
|
7586
8700
|
:type NextToken: str
|
|
7587
8701
|
:param _MaxResults: Maximum number of data entries per page. Value range: 1-100. Default value: 10.
|
|
7588
8702
|
:type MaxResults: int
|
|
7589
|
-
:param _PrincipalType: Identity
|
|
8703
|
+
:param _PrincipalType: Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
7590
8704
|
:type PrincipalType: str
|
|
7591
8705
|
:param _TargetUin: UIN of the synchronized target account of the Tencent Cloud Organization.
|
|
7592
8706
|
:type TargetUin: int
|
|
@@ -7623,7 +8737,7 @@ class ListTasksRequest(AbstractModel):
|
|
|
7623
8737
|
|
|
7624
8738
|
@property
|
|
7625
8739
|
def PrincipalId(self):
|
|
7626
|
-
"""
|
|
8740
|
+
"""User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-****). When PrincipalType is User, it is a user ID (u-****).
|
|
7627
8741
|
:rtype: str
|
|
7628
8742
|
"""
|
|
7629
8743
|
return self._PrincipalId
|
|
@@ -7656,7 +8770,7 @@ class ListTasksRequest(AbstractModel):
|
|
|
7656
8770
|
|
|
7657
8771
|
@property
|
|
7658
8772
|
def PrincipalType(self):
|
|
7659
|
-
"""Identity
|
|
8773
|
+
"""Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
7660
8774
|
:rtype: str
|
|
7661
8775
|
"""
|
|
7662
8776
|
return self._PrincipalType
|
|
@@ -7859,13 +8973,13 @@ class ListUserSyncProvisioningsRequest(AbstractModel):
|
|
|
7859
8973
|
r"""
|
|
7860
8974
|
:param _ZoneId: Space ID.
|
|
7861
8975
|
:type ZoneId: str
|
|
7862
|
-
:param _PrincipalId:
|
|
8976
|
+
:param _PrincipalId: User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-********). When PrincipalType is User, it is a user ID (u-********).
|
|
7863
8977
|
:type PrincipalId: str
|
|
7864
8978
|
:param _NextToken: Token for querying the next page of returned results. During use of the API for the first time, NextToken is not needed. When you call the API for the first time, if the total number of returned data entries exceeds the MaxResults limit, the data is truncated and only MaxResults data entries are returned. Meanwhile, the return parameter IsTruncated is true and a NextToken is returned. You can use the NextToken returned last time to continue calling the API with other request parameters unchanged, to query the truncated data. You can use this method for multiple queries until IsTruncated is false, indicating that all data has been queried.
|
|
7865
8979
|
:type NextToken: str
|
|
7866
8980
|
:param _MaxResults: Maximum number of data entries per page. Value range: 1-100. Default value: 10.
|
|
7867
8981
|
:type MaxResults: int
|
|
7868
|
-
:param _PrincipalType: Identity
|
|
8982
|
+
:param _PrincipalType: Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
7869
8983
|
:type PrincipalType: str
|
|
7870
8984
|
:param _TargetUin: UIN of the target account of the Tencent Cloud Organization.
|
|
7871
8985
|
:type TargetUin: int
|
|
@@ -7896,7 +9010,7 @@ class ListUserSyncProvisioningsRequest(AbstractModel):
|
|
|
7896
9010
|
|
|
7897
9011
|
@property
|
|
7898
9012
|
def PrincipalId(self):
|
|
7899
|
-
"""
|
|
9013
|
+
"""User synchronization ID. Valid values: When PrincipalType is Group, it is a user group ID (g-********). When PrincipalType is User, it is a user ID (u-********).
|
|
7900
9014
|
:rtype: str
|
|
7901
9015
|
"""
|
|
7902
9016
|
return self._PrincipalId
|
|
@@ -7929,7 +9043,7 @@ class ListUserSyncProvisioningsRequest(AbstractModel):
|
|
|
7929
9043
|
|
|
7930
9044
|
@property
|
|
7931
9045
|
def PrincipalType(self):
|
|
7932
|
-
"""Identity
|
|
9046
|
+
"""Identity types synchronized for CAM users. Valid values: User: indicates the synchronized identity is a user. Group: indicates the synchronized identity is a user group.
|
|
7933
9047
|
:rtype: str
|
|
7934
9048
|
"""
|
|
7935
9049
|
return self._PrincipalType
|
|
@@ -8124,6 +9238,8 @@ class ListUsersRequest(AbstractModel):
|
|
|
8124
9238
|
:type SortField: str
|
|
8125
9239
|
:param _SortType: Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
|
|
8126
9240
|
:type SortType: str
|
|
9241
|
+
:param _Offset: Pagination offset. Do not use it together with NextToken, prioritizing using NextToken.
|
|
9242
|
+
:type Offset: int
|
|
8127
9243
|
"""
|
|
8128
9244
|
self._ZoneId = None
|
|
8129
9245
|
self._UserStatus = None
|
|
@@ -8134,6 +9250,7 @@ class ListUsersRequest(AbstractModel):
|
|
|
8134
9250
|
self._FilterGroups = None
|
|
8135
9251
|
self._SortField = None
|
|
8136
9252
|
self._SortType = None
|
|
9253
|
+
self._Offset = None
|
|
8137
9254
|
|
|
8138
9255
|
@property
|
|
8139
9256
|
def ZoneId(self):
|
|
@@ -8234,17 +9351,29 @@ class ListUsersRequest(AbstractModel):
|
|
|
8234
9351
|
def SortType(self, SortType):
|
|
8235
9352
|
self._SortType = SortType
|
|
8236
9353
|
|
|
9354
|
+
@property
|
|
9355
|
+
def Offset(self):
|
|
9356
|
+
"""Pagination offset. Do not use it together with NextToken, prioritizing using NextToken.
|
|
9357
|
+
:rtype: int
|
|
9358
|
+
"""
|
|
9359
|
+
return self._Offset
|
|
8237
9360
|
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
self.
|
|
8241
|
-
|
|
9361
|
+
@Offset.setter
|
|
9362
|
+
def Offset(self, Offset):
|
|
9363
|
+
self._Offset = Offset
|
|
9364
|
+
|
|
9365
|
+
|
|
9366
|
+
def _deserialize(self, params):
|
|
9367
|
+
self._ZoneId = params.get("ZoneId")
|
|
9368
|
+
self._UserStatus = params.get("UserStatus")
|
|
9369
|
+
self._UserType = params.get("UserType")
|
|
8242
9370
|
self._Filter = params.get("Filter")
|
|
8243
9371
|
self._MaxResults = params.get("MaxResults")
|
|
8244
9372
|
self._NextToken = params.get("NextToken")
|
|
8245
9373
|
self._FilterGroups = params.get("FilterGroups")
|
|
8246
9374
|
self._SortField = params.get("SortField")
|
|
8247
9375
|
self._SortType = params.get("SortType")
|
|
9376
|
+
self._Offset = params.get("Offset")
|
|
8248
9377
|
memeber_set = set(params.keys())
|
|
8249
9378
|
for name, value in vars(self).items():
|
|
8250
9379
|
property_name = name[1:]
|
|
@@ -10481,6 +11610,70 @@ class ProvisionRoleConfigurationResponse(AbstractModel):
|
|
|
10481
11610
|
self._RequestId = params.get("RequestId")
|
|
10482
11611
|
|
|
10483
11612
|
|
|
11613
|
+
class QuitOrganizationRequest(AbstractModel):
|
|
11614
|
+
"""QuitOrganization request structure.
|
|
11615
|
+
|
|
11616
|
+
"""
|
|
11617
|
+
|
|
11618
|
+
def __init__(self):
|
|
11619
|
+
r"""
|
|
11620
|
+
:param _OrgId: Organization ID.
|
|
11621
|
+
:type OrgId: int
|
|
11622
|
+
"""
|
|
11623
|
+
self._OrgId = None
|
|
11624
|
+
|
|
11625
|
+
@property
|
|
11626
|
+
def OrgId(self):
|
|
11627
|
+
"""Organization ID.
|
|
11628
|
+
:rtype: int
|
|
11629
|
+
"""
|
|
11630
|
+
return self._OrgId
|
|
11631
|
+
|
|
11632
|
+
@OrgId.setter
|
|
11633
|
+
def OrgId(self, OrgId):
|
|
11634
|
+
self._OrgId = OrgId
|
|
11635
|
+
|
|
11636
|
+
|
|
11637
|
+
def _deserialize(self, params):
|
|
11638
|
+
self._OrgId = params.get("OrgId")
|
|
11639
|
+
memeber_set = set(params.keys())
|
|
11640
|
+
for name, value in vars(self).items():
|
|
11641
|
+
property_name = name[1:]
|
|
11642
|
+
if property_name in memeber_set:
|
|
11643
|
+
memeber_set.remove(property_name)
|
|
11644
|
+
if len(memeber_set) > 0:
|
|
11645
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11646
|
+
|
|
11647
|
+
|
|
11648
|
+
|
|
11649
|
+
class QuitOrganizationResponse(AbstractModel):
|
|
11650
|
+
"""QuitOrganization response structure.
|
|
11651
|
+
|
|
11652
|
+
"""
|
|
11653
|
+
|
|
11654
|
+
def __init__(self):
|
|
11655
|
+
r"""
|
|
11656
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11657
|
+
:type RequestId: str
|
|
11658
|
+
"""
|
|
11659
|
+
self._RequestId = None
|
|
11660
|
+
|
|
11661
|
+
@property
|
|
11662
|
+
def RequestId(self):
|
|
11663
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11664
|
+
:rtype: str
|
|
11665
|
+
"""
|
|
11666
|
+
return self._RequestId
|
|
11667
|
+
|
|
11668
|
+
@RequestId.setter
|
|
11669
|
+
def RequestId(self, RequestId):
|
|
11670
|
+
self._RequestId = RequestId
|
|
11671
|
+
|
|
11672
|
+
|
|
11673
|
+
def _deserialize(self, params):
|
|
11674
|
+
self._RequestId = params.get("RequestId")
|
|
11675
|
+
|
|
11676
|
+
|
|
10484
11677
|
class RemoveExternalSAMLIdPCertificateRequest(AbstractModel):
|
|
10485
11678
|
"""RemoveExternalSAMLIdPCertificate request structure.
|
|
10486
11679
|
|
|
@@ -11947,6 +13140,117 @@ class SAMLServiceProvider(AbstractModel):
|
|
|
11947
13140
|
|
|
11948
13141
|
|
|
11949
13142
|
|
|
13143
|
+
class SCIMCredential(AbstractModel):
|
|
13144
|
+
"""SCIM key.
|
|
13145
|
+
|
|
13146
|
+
"""
|
|
13147
|
+
|
|
13148
|
+
def __init__(self):
|
|
13149
|
+
r"""
|
|
13150
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
13151
|
+
:type ZoneId: str
|
|
13152
|
+
:param _Status: SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
13153
|
+
:type Status: str
|
|
13154
|
+
:param _CredentialId: SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
13155
|
+
:type CredentialId: str
|
|
13156
|
+
:param _CredentialType: SCIM key type.
|
|
13157
|
+
:type CredentialType: str
|
|
13158
|
+
:param _CreateTime: Creation time of a SCIM key.
|
|
13159
|
+
:type CreateTime: str
|
|
13160
|
+
:param _ExpireTime: Expiration time of a SCIM key.
|
|
13161
|
+
:type ExpireTime: str
|
|
13162
|
+
"""
|
|
13163
|
+
self._ZoneId = None
|
|
13164
|
+
self._Status = None
|
|
13165
|
+
self._CredentialId = None
|
|
13166
|
+
self._CredentialType = None
|
|
13167
|
+
self._CreateTime = None
|
|
13168
|
+
self._ExpireTime = None
|
|
13169
|
+
|
|
13170
|
+
@property
|
|
13171
|
+
def ZoneId(self):
|
|
13172
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
13173
|
+
:rtype: str
|
|
13174
|
+
"""
|
|
13175
|
+
return self._ZoneId
|
|
13176
|
+
|
|
13177
|
+
@ZoneId.setter
|
|
13178
|
+
def ZoneId(self, ZoneId):
|
|
13179
|
+
self._ZoneId = ZoneId
|
|
13180
|
+
|
|
13181
|
+
@property
|
|
13182
|
+
def Status(self):
|
|
13183
|
+
"""SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
13184
|
+
:rtype: str
|
|
13185
|
+
"""
|
|
13186
|
+
return self._Status
|
|
13187
|
+
|
|
13188
|
+
@Status.setter
|
|
13189
|
+
def Status(self, Status):
|
|
13190
|
+
self._Status = Status
|
|
13191
|
+
|
|
13192
|
+
@property
|
|
13193
|
+
def CredentialId(self):
|
|
13194
|
+
"""SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
13195
|
+
:rtype: str
|
|
13196
|
+
"""
|
|
13197
|
+
return self._CredentialId
|
|
13198
|
+
|
|
13199
|
+
@CredentialId.setter
|
|
13200
|
+
def CredentialId(self, CredentialId):
|
|
13201
|
+
self._CredentialId = CredentialId
|
|
13202
|
+
|
|
13203
|
+
@property
|
|
13204
|
+
def CredentialType(self):
|
|
13205
|
+
"""SCIM key type.
|
|
13206
|
+
:rtype: str
|
|
13207
|
+
"""
|
|
13208
|
+
return self._CredentialType
|
|
13209
|
+
|
|
13210
|
+
@CredentialType.setter
|
|
13211
|
+
def CredentialType(self, CredentialType):
|
|
13212
|
+
self._CredentialType = CredentialType
|
|
13213
|
+
|
|
13214
|
+
@property
|
|
13215
|
+
def CreateTime(self):
|
|
13216
|
+
"""Creation time of a SCIM key.
|
|
13217
|
+
:rtype: str
|
|
13218
|
+
"""
|
|
13219
|
+
return self._CreateTime
|
|
13220
|
+
|
|
13221
|
+
@CreateTime.setter
|
|
13222
|
+
def CreateTime(self, CreateTime):
|
|
13223
|
+
self._CreateTime = CreateTime
|
|
13224
|
+
|
|
13225
|
+
@property
|
|
13226
|
+
def ExpireTime(self):
|
|
13227
|
+
"""Expiration time of a SCIM key.
|
|
13228
|
+
:rtype: str
|
|
13229
|
+
"""
|
|
13230
|
+
return self._ExpireTime
|
|
13231
|
+
|
|
13232
|
+
@ExpireTime.setter
|
|
13233
|
+
def ExpireTime(self, ExpireTime):
|
|
13234
|
+
self._ExpireTime = ExpireTime
|
|
13235
|
+
|
|
13236
|
+
|
|
13237
|
+
def _deserialize(self, params):
|
|
13238
|
+
self._ZoneId = params.get("ZoneId")
|
|
13239
|
+
self._Status = params.get("Status")
|
|
13240
|
+
self._CredentialId = params.get("CredentialId")
|
|
13241
|
+
self._CredentialType = params.get("CredentialType")
|
|
13242
|
+
self._CreateTime = params.get("CreateTime")
|
|
13243
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
13244
|
+
memeber_set = set(params.keys())
|
|
13245
|
+
for name, value in vars(self).items():
|
|
13246
|
+
property_name = name[1:]
|
|
13247
|
+
if property_name in memeber_set:
|
|
13248
|
+
memeber_set.remove(property_name)
|
|
13249
|
+
if len(memeber_set) > 0:
|
|
13250
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13251
|
+
|
|
13252
|
+
|
|
13253
|
+
|
|
11950
13254
|
class SetExternalSAMLIdentityProviderRequest(AbstractModel):
|
|
11951
13255
|
"""SetExternalSAMLIdentityProvider request structure.
|
|
11952
13256
|
|
|
@@ -12407,77 +13711,458 @@ This parameter is displayed only when the Status is Failed.
|
|
|
12407
13711
|
|
|
12408
13712
|
|
|
12409
13713
|
|
|
12410
|
-
class
|
|
12411
|
-
"""
|
|
13714
|
+
class UpdateCustomPolicyForRoleConfigurationRequest(AbstractModel):
|
|
13715
|
+
"""UpdateCustomPolicyForRoleConfiguration request structure.
|
|
13716
|
+
|
|
13717
|
+
"""
|
|
13718
|
+
|
|
13719
|
+
def __init__(self):
|
|
13720
|
+
r"""
|
|
13721
|
+
:param _ZoneId: Space ID.
|
|
13722
|
+
:type ZoneId: str
|
|
13723
|
+
:param _RoleConfigurationId: Permission configuration ID.
|
|
13724
|
+
:type RoleConfigurationId: str
|
|
13725
|
+
:param _CustomPolicyName: Permission policy name, which contains up to 32 characters.
|
|
13726
|
+
:type CustomPolicyName: str
|
|
13727
|
+
:param _NewCustomPolicyDocument: Custom policy content, which contains up to 4096 characters. When RolePolicyType is Inline, this parameter must be configured. For details, see the permission policy syntax and structure.
|
|
13728
|
+
:type NewCustomPolicyDocument: str
|
|
13729
|
+
"""
|
|
13730
|
+
self._ZoneId = None
|
|
13731
|
+
self._RoleConfigurationId = None
|
|
13732
|
+
self._CustomPolicyName = None
|
|
13733
|
+
self._NewCustomPolicyDocument = None
|
|
13734
|
+
|
|
13735
|
+
@property
|
|
13736
|
+
def ZoneId(self):
|
|
13737
|
+
"""Space ID.
|
|
13738
|
+
:rtype: str
|
|
13739
|
+
"""
|
|
13740
|
+
return self._ZoneId
|
|
13741
|
+
|
|
13742
|
+
@ZoneId.setter
|
|
13743
|
+
def ZoneId(self, ZoneId):
|
|
13744
|
+
self._ZoneId = ZoneId
|
|
13745
|
+
|
|
13746
|
+
@property
|
|
13747
|
+
def RoleConfigurationId(self):
|
|
13748
|
+
"""Permission configuration ID.
|
|
13749
|
+
:rtype: str
|
|
13750
|
+
"""
|
|
13751
|
+
return self._RoleConfigurationId
|
|
13752
|
+
|
|
13753
|
+
@RoleConfigurationId.setter
|
|
13754
|
+
def RoleConfigurationId(self, RoleConfigurationId):
|
|
13755
|
+
self._RoleConfigurationId = RoleConfigurationId
|
|
13756
|
+
|
|
13757
|
+
@property
|
|
13758
|
+
def CustomPolicyName(self):
|
|
13759
|
+
"""Permission policy name, which contains up to 32 characters.
|
|
13760
|
+
:rtype: str
|
|
13761
|
+
"""
|
|
13762
|
+
return self._CustomPolicyName
|
|
13763
|
+
|
|
13764
|
+
@CustomPolicyName.setter
|
|
13765
|
+
def CustomPolicyName(self, CustomPolicyName):
|
|
13766
|
+
self._CustomPolicyName = CustomPolicyName
|
|
13767
|
+
|
|
13768
|
+
@property
|
|
13769
|
+
def NewCustomPolicyDocument(self):
|
|
13770
|
+
"""Custom policy content, which contains up to 4096 characters. When RolePolicyType is Inline, this parameter must be configured. For details, see the permission policy syntax and structure.
|
|
13771
|
+
:rtype: str
|
|
13772
|
+
"""
|
|
13773
|
+
return self._NewCustomPolicyDocument
|
|
13774
|
+
|
|
13775
|
+
@NewCustomPolicyDocument.setter
|
|
13776
|
+
def NewCustomPolicyDocument(self, NewCustomPolicyDocument):
|
|
13777
|
+
self._NewCustomPolicyDocument = NewCustomPolicyDocument
|
|
13778
|
+
|
|
13779
|
+
|
|
13780
|
+
def _deserialize(self, params):
|
|
13781
|
+
self._ZoneId = params.get("ZoneId")
|
|
13782
|
+
self._RoleConfigurationId = params.get("RoleConfigurationId")
|
|
13783
|
+
self._CustomPolicyName = params.get("CustomPolicyName")
|
|
13784
|
+
self._NewCustomPolicyDocument = params.get("NewCustomPolicyDocument")
|
|
13785
|
+
memeber_set = set(params.keys())
|
|
13786
|
+
for name, value in vars(self).items():
|
|
13787
|
+
property_name = name[1:]
|
|
13788
|
+
if property_name in memeber_set:
|
|
13789
|
+
memeber_set.remove(property_name)
|
|
13790
|
+
if len(memeber_set) > 0:
|
|
13791
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13792
|
+
|
|
13793
|
+
|
|
13794
|
+
|
|
13795
|
+
class UpdateCustomPolicyForRoleConfigurationResponse(AbstractModel):
|
|
13796
|
+
"""UpdateCustomPolicyForRoleConfiguration response structure.
|
|
13797
|
+
|
|
13798
|
+
"""
|
|
13799
|
+
|
|
13800
|
+
def __init__(self):
|
|
13801
|
+
r"""
|
|
13802
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13803
|
+
:type RequestId: str
|
|
13804
|
+
"""
|
|
13805
|
+
self._RequestId = None
|
|
13806
|
+
|
|
13807
|
+
@property
|
|
13808
|
+
def RequestId(self):
|
|
13809
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13810
|
+
:rtype: str
|
|
13811
|
+
"""
|
|
13812
|
+
return self._RequestId
|
|
13813
|
+
|
|
13814
|
+
@RequestId.setter
|
|
13815
|
+
def RequestId(self, RequestId):
|
|
13816
|
+
self._RequestId = RequestId
|
|
13817
|
+
|
|
13818
|
+
|
|
13819
|
+
def _deserialize(self, params):
|
|
13820
|
+
self._RequestId = params.get("RequestId")
|
|
13821
|
+
|
|
13822
|
+
|
|
13823
|
+
class UpdateGroupRequest(AbstractModel):
|
|
13824
|
+
"""UpdateGroup request structure.
|
|
13825
|
+
|
|
13826
|
+
"""
|
|
13827
|
+
|
|
13828
|
+
def __init__(self):
|
|
13829
|
+
r"""
|
|
13830
|
+
:param _ZoneId: Space ID.
|
|
13831
|
+
:type ZoneId: str
|
|
13832
|
+
:param _GroupId: User group ID.
|
|
13833
|
+
:type GroupId: str
|
|
13834
|
+
:param _NewGroupName: New user group name.
|
|
13835
|
+
:type NewGroupName: str
|
|
13836
|
+
:param _NewDescription: New user group description.
|
|
13837
|
+
:type NewDescription: str
|
|
13838
|
+
"""
|
|
13839
|
+
self._ZoneId = None
|
|
13840
|
+
self._GroupId = None
|
|
13841
|
+
self._NewGroupName = None
|
|
13842
|
+
self._NewDescription = None
|
|
13843
|
+
|
|
13844
|
+
@property
|
|
13845
|
+
def ZoneId(self):
|
|
13846
|
+
"""Space ID.
|
|
13847
|
+
:rtype: str
|
|
13848
|
+
"""
|
|
13849
|
+
return self._ZoneId
|
|
13850
|
+
|
|
13851
|
+
@ZoneId.setter
|
|
13852
|
+
def ZoneId(self, ZoneId):
|
|
13853
|
+
self._ZoneId = ZoneId
|
|
13854
|
+
|
|
13855
|
+
@property
|
|
13856
|
+
def GroupId(self):
|
|
13857
|
+
"""User group ID.
|
|
13858
|
+
:rtype: str
|
|
13859
|
+
"""
|
|
13860
|
+
return self._GroupId
|
|
13861
|
+
|
|
13862
|
+
@GroupId.setter
|
|
13863
|
+
def GroupId(self, GroupId):
|
|
13864
|
+
self._GroupId = GroupId
|
|
13865
|
+
|
|
13866
|
+
@property
|
|
13867
|
+
def NewGroupName(self):
|
|
13868
|
+
"""New user group name.
|
|
13869
|
+
:rtype: str
|
|
13870
|
+
"""
|
|
13871
|
+
return self._NewGroupName
|
|
13872
|
+
|
|
13873
|
+
@NewGroupName.setter
|
|
13874
|
+
def NewGroupName(self, NewGroupName):
|
|
13875
|
+
self._NewGroupName = NewGroupName
|
|
13876
|
+
|
|
13877
|
+
@property
|
|
13878
|
+
def NewDescription(self):
|
|
13879
|
+
"""New user group description.
|
|
13880
|
+
:rtype: str
|
|
13881
|
+
"""
|
|
13882
|
+
return self._NewDescription
|
|
13883
|
+
|
|
13884
|
+
@NewDescription.setter
|
|
13885
|
+
def NewDescription(self, NewDescription):
|
|
13886
|
+
self._NewDescription = NewDescription
|
|
13887
|
+
|
|
13888
|
+
|
|
13889
|
+
def _deserialize(self, params):
|
|
13890
|
+
self._ZoneId = params.get("ZoneId")
|
|
13891
|
+
self._GroupId = params.get("GroupId")
|
|
13892
|
+
self._NewGroupName = params.get("NewGroupName")
|
|
13893
|
+
self._NewDescription = params.get("NewDescription")
|
|
13894
|
+
memeber_set = set(params.keys())
|
|
13895
|
+
for name, value in vars(self).items():
|
|
13896
|
+
property_name = name[1:]
|
|
13897
|
+
if property_name in memeber_set:
|
|
13898
|
+
memeber_set.remove(property_name)
|
|
13899
|
+
if len(memeber_set) > 0:
|
|
13900
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13901
|
+
|
|
13902
|
+
|
|
13903
|
+
|
|
13904
|
+
class UpdateGroupResponse(AbstractModel):
|
|
13905
|
+
"""UpdateGroup response structure.
|
|
13906
|
+
|
|
13907
|
+
"""
|
|
13908
|
+
|
|
13909
|
+
def __init__(self):
|
|
13910
|
+
r"""
|
|
13911
|
+
:param _GroupInfo: User group information.
|
|
13912
|
+
:type GroupInfo: :class:`tencentcloud.organization.v20210331.models.GroupInfo`
|
|
13913
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13914
|
+
:type RequestId: str
|
|
13915
|
+
"""
|
|
13916
|
+
self._GroupInfo = None
|
|
13917
|
+
self._RequestId = None
|
|
13918
|
+
|
|
13919
|
+
@property
|
|
13920
|
+
def GroupInfo(self):
|
|
13921
|
+
"""User group information.
|
|
13922
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.GroupInfo`
|
|
13923
|
+
"""
|
|
13924
|
+
return self._GroupInfo
|
|
13925
|
+
|
|
13926
|
+
@GroupInfo.setter
|
|
13927
|
+
def GroupInfo(self, GroupInfo):
|
|
13928
|
+
self._GroupInfo = GroupInfo
|
|
13929
|
+
|
|
13930
|
+
@property
|
|
13931
|
+
def RequestId(self):
|
|
13932
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13933
|
+
:rtype: str
|
|
13934
|
+
"""
|
|
13935
|
+
return self._RequestId
|
|
13936
|
+
|
|
13937
|
+
@RequestId.setter
|
|
13938
|
+
def RequestId(self, RequestId):
|
|
13939
|
+
self._RequestId = RequestId
|
|
13940
|
+
|
|
13941
|
+
|
|
13942
|
+
def _deserialize(self, params):
|
|
13943
|
+
if params.get("GroupInfo") is not None:
|
|
13944
|
+
self._GroupInfo = GroupInfo()
|
|
13945
|
+
self._GroupInfo._deserialize(params.get("GroupInfo"))
|
|
13946
|
+
self._RequestId = params.get("RequestId")
|
|
13947
|
+
|
|
13948
|
+
|
|
13949
|
+
class UpdateOrganizationIdentityRequest(AbstractModel):
|
|
13950
|
+
"""UpdateOrganizationIdentity request structure.
|
|
13951
|
+
|
|
13952
|
+
"""
|
|
13953
|
+
|
|
13954
|
+
def __init__(self):
|
|
13955
|
+
r"""
|
|
13956
|
+
:param _IdentityId: Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
13957
|
+
:type IdentityId: int
|
|
13958
|
+
:param _Description: Identity description.
|
|
13959
|
+
:type Description: str
|
|
13960
|
+
:param _IdentityPolicy: Identity policy.
|
|
13961
|
+
:type IdentityPolicy: list of IdentityPolicy
|
|
13962
|
+
"""
|
|
13963
|
+
self._IdentityId = None
|
|
13964
|
+
self._Description = None
|
|
13965
|
+
self._IdentityPolicy = None
|
|
13966
|
+
|
|
13967
|
+
@property
|
|
13968
|
+
def IdentityId(self):
|
|
13969
|
+
"""Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1).
|
|
13970
|
+
:rtype: int
|
|
13971
|
+
"""
|
|
13972
|
+
return self._IdentityId
|
|
13973
|
+
|
|
13974
|
+
@IdentityId.setter
|
|
13975
|
+
def IdentityId(self, IdentityId):
|
|
13976
|
+
self._IdentityId = IdentityId
|
|
13977
|
+
|
|
13978
|
+
@property
|
|
13979
|
+
def Description(self):
|
|
13980
|
+
"""Identity description.
|
|
13981
|
+
:rtype: str
|
|
13982
|
+
"""
|
|
13983
|
+
return self._Description
|
|
13984
|
+
|
|
13985
|
+
@Description.setter
|
|
13986
|
+
def Description(self, Description):
|
|
13987
|
+
self._Description = Description
|
|
13988
|
+
|
|
13989
|
+
@property
|
|
13990
|
+
def IdentityPolicy(self):
|
|
13991
|
+
"""Identity policy.
|
|
13992
|
+
:rtype: list of IdentityPolicy
|
|
13993
|
+
"""
|
|
13994
|
+
return self._IdentityPolicy
|
|
13995
|
+
|
|
13996
|
+
@IdentityPolicy.setter
|
|
13997
|
+
def IdentityPolicy(self, IdentityPolicy):
|
|
13998
|
+
self._IdentityPolicy = IdentityPolicy
|
|
13999
|
+
|
|
14000
|
+
|
|
14001
|
+
def _deserialize(self, params):
|
|
14002
|
+
self._IdentityId = params.get("IdentityId")
|
|
14003
|
+
self._Description = params.get("Description")
|
|
14004
|
+
if params.get("IdentityPolicy") is not None:
|
|
14005
|
+
self._IdentityPolicy = []
|
|
14006
|
+
for item in params.get("IdentityPolicy"):
|
|
14007
|
+
obj = IdentityPolicy()
|
|
14008
|
+
obj._deserialize(item)
|
|
14009
|
+
self._IdentityPolicy.append(obj)
|
|
14010
|
+
memeber_set = set(params.keys())
|
|
14011
|
+
for name, value in vars(self).items():
|
|
14012
|
+
property_name = name[1:]
|
|
14013
|
+
if property_name in memeber_set:
|
|
14014
|
+
memeber_set.remove(property_name)
|
|
14015
|
+
if len(memeber_set) > 0:
|
|
14016
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14017
|
+
|
|
14018
|
+
|
|
14019
|
+
|
|
14020
|
+
class UpdateOrganizationIdentityResponse(AbstractModel):
|
|
14021
|
+
"""UpdateOrganizationIdentity response structure.
|
|
14022
|
+
|
|
14023
|
+
"""
|
|
14024
|
+
|
|
14025
|
+
def __init__(self):
|
|
14026
|
+
r"""
|
|
14027
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14028
|
+
:type RequestId: str
|
|
14029
|
+
"""
|
|
14030
|
+
self._RequestId = None
|
|
14031
|
+
|
|
14032
|
+
@property
|
|
14033
|
+
def RequestId(self):
|
|
14034
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14035
|
+
:rtype: str
|
|
14036
|
+
"""
|
|
14037
|
+
return self._RequestId
|
|
14038
|
+
|
|
14039
|
+
@RequestId.setter
|
|
14040
|
+
def RequestId(self, RequestId):
|
|
14041
|
+
self._RequestId = RequestId
|
|
14042
|
+
|
|
14043
|
+
|
|
14044
|
+
def _deserialize(self, params):
|
|
14045
|
+
self._RequestId = params.get("RequestId")
|
|
14046
|
+
|
|
14047
|
+
|
|
14048
|
+
class UpdateOrganizationMemberRequest(AbstractModel):
|
|
14049
|
+
"""UpdateOrganizationMember request structure.
|
|
14050
|
+
|
|
14051
|
+
"""
|
|
14052
|
+
|
|
14053
|
+
def __init__(self):
|
|
14054
|
+
r"""
|
|
14055
|
+
:param _MemberUin: Member UIN.
|
|
14056
|
+
:type MemberUin: int
|
|
14057
|
+
:param _Name: Member name, which contains up to 25 characters, including English letters, digits, and symbols `+@&._[]-:,`.
|
|
14058
|
+
:type Name: str
|
|
14059
|
+
:param _Remark: Remarks, which contain up to 40 characters.
|
|
14060
|
+
:type Remark: str
|
|
14061
|
+
:param _PolicyType: Relationship policy type. When PolicyType is not empty, PermissionIds cannot be empty. Value: Financial.
|
|
14062
|
+
:type PolicyType: str
|
|
14063
|
+
:param _PermissionIds: List of member financial permission IDs. When PermissionIds is not empty, PolicyType cannot be empty.
|
|
14064
|
+
Valid values: 1: View bills. 2: View balance. 3: Allocate funds. 4: Consolidate bills. 5: Issue invoices. 6: Inherit discounts. 7: Pay on behalf. 8: Analyze costs. 1 and 2 are required by default.
|
|
14065
|
+
:type PermissionIds: list of int non-negative
|
|
14066
|
+
:param _IsAllowQuit: Whether to allow members to exit an organization. Valid values: Allow: permitted, Denied: not permitted.
|
|
14067
|
+
:type IsAllowQuit: str
|
|
14068
|
+
:param _PayUin: Payer UIN, which is required when pay-on-behalf mode is used in member financial permission. The value is the principal administrator UIN of the corresponding member.
|
|
14069
|
+
:type PayUin: str
|
|
14070
|
+
"""
|
|
14071
|
+
self._MemberUin = None
|
|
14072
|
+
self._Name = None
|
|
14073
|
+
self._Remark = None
|
|
14074
|
+
self._PolicyType = None
|
|
14075
|
+
self._PermissionIds = None
|
|
14076
|
+
self._IsAllowQuit = None
|
|
14077
|
+
self._PayUin = None
|
|
14078
|
+
|
|
14079
|
+
@property
|
|
14080
|
+
def MemberUin(self):
|
|
14081
|
+
"""Member UIN.
|
|
14082
|
+
:rtype: int
|
|
14083
|
+
"""
|
|
14084
|
+
return self._MemberUin
|
|
12412
14085
|
|
|
12413
|
-
|
|
14086
|
+
@MemberUin.setter
|
|
14087
|
+
def MemberUin(self, MemberUin):
|
|
14088
|
+
self._MemberUin = MemberUin
|
|
12414
14089
|
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
:
|
|
12419
|
-
:param _GroupId: User group ID.
|
|
12420
|
-
:type GroupId: str
|
|
12421
|
-
:param _NewGroupName: New user group name.
|
|
12422
|
-
:type NewGroupName: str
|
|
12423
|
-
:param _NewDescription: New user group description.
|
|
12424
|
-
:type NewDescription: str
|
|
14090
|
+
@property
|
|
14091
|
+
def Name(self):
|
|
14092
|
+
"""Member name, which contains up to 25 characters, including English letters, digits, and symbols `+@&._[]-:,`.
|
|
14093
|
+
:rtype: str
|
|
12425
14094
|
"""
|
|
12426
|
-
self.
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
14095
|
+
return self._Name
|
|
14096
|
+
|
|
14097
|
+
@Name.setter
|
|
14098
|
+
def Name(self, Name):
|
|
14099
|
+
self._Name = Name
|
|
12430
14100
|
|
|
12431
14101
|
@property
|
|
12432
|
-
def
|
|
12433
|
-
"""
|
|
14102
|
+
def Remark(self):
|
|
14103
|
+
"""Remarks, which contain up to 40 characters.
|
|
12434
14104
|
:rtype: str
|
|
12435
14105
|
"""
|
|
12436
|
-
return self.
|
|
14106
|
+
return self._Remark
|
|
12437
14107
|
|
|
12438
|
-
@
|
|
12439
|
-
def
|
|
12440
|
-
self.
|
|
14108
|
+
@Remark.setter
|
|
14109
|
+
def Remark(self, Remark):
|
|
14110
|
+
self._Remark = Remark
|
|
12441
14111
|
|
|
12442
14112
|
@property
|
|
12443
|
-
def
|
|
12444
|
-
"""
|
|
14113
|
+
def PolicyType(self):
|
|
14114
|
+
"""Relationship policy type. When PolicyType is not empty, PermissionIds cannot be empty. Value: Financial.
|
|
12445
14115
|
:rtype: str
|
|
12446
14116
|
"""
|
|
12447
|
-
return self.
|
|
14117
|
+
return self._PolicyType
|
|
12448
14118
|
|
|
12449
|
-
@
|
|
12450
|
-
def
|
|
12451
|
-
self.
|
|
14119
|
+
@PolicyType.setter
|
|
14120
|
+
def PolicyType(self, PolicyType):
|
|
14121
|
+
self._PolicyType = PolicyType
|
|
12452
14122
|
|
|
12453
14123
|
@property
|
|
12454
|
-
def
|
|
12455
|
-
"""
|
|
14124
|
+
def PermissionIds(self):
|
|
14125
|
+
"""List of member financial permission IDs. When PermissionIds is not empty, PolicyType cannot be empty.
|
|
14126
|
+
Valid values: 1: View bills. 2: View balance. 3: Allocate funds. 4: Consolidate bills. 5: Issue invoices. 6: Inherit discounts. 7: Pay on behalf. 8: Analyze costs. 1 and 2 are required by default.
|
|
14127
|
+
:rtype: list of int non-negative
|
|
14128
|
+
"""
|
|
14129
|
+
return self._PermissionIds
|
|
14130
|
+
|
|
14131
|
+
@PermissionIds.setter
|
|
14132
|
+
def PermissionIds(self, PermissionIds):
|
|
14133
|
+
self._PermissionIds = PermissionIds
|
|
14134
|
+
|
|
14135
|
+
@property
|
|
14136
|
+
def IsAllowQuit(self):
|
|
14137
|
+
"""Whether to allow members to exit an organization. Valid values: Allow: permitted, Denied: not permitted.
|
|
12456
14138
|
:rtype: str
|
|
12457
14139
|
"""
|
|
12458
|
-
return self.
|
|
14140
|
+
return self._IsAllowQuit
|
|
12459
14141
|
|
|
12460
|
-
@
|
|
12461
|
-
def
|
|
12462
|
-
self.
|
|
14142
|
+
@IsAllowQuit.setter
|
|
14143
|
+
def IsAllowQuit(self, IsAllowQuit):
|
|
14144
|
+
self._IsAllowQuit = IsAllowQuit
|
|
12463
14145
|
|
|
12464
14146
|
@property
|
|
12465
|
-
def
|
|
12466
|
-
"""
|
|
14147
|
+
def PayUin(self):
|
|
14148
|
+
"""Payer UIN, which is required when pay-on-behalf mode is used in member financial permission. The value is the principal administrator UIN of the corresponding member.
|
|
12467
14149
|
:rtype: str
|
|
12468
14150
|
"""
|
|
12469
|
-
return self.
|
|
14151
|
+
return self._PayUin
|
|
12470
14152
|
|
|
12471
|
-
@
|
|
12472
|
-
def
|
|
12473
|
-
self.
|
|
14153
|
+
@PayUin.setter
|
|
14154
|
+
def PayUin(self, PayUin):
|
|
14155
|
+
self._PayUin = PayUin
|
|
12474
14156
|
|
|
12475
14157
|
|
|
12476
14158
|
def _deserialize(self, params):
|
|
12477
|
-
self.
|
|
12478
|
-
self.
|
|
12479
|
-
self.
|
|
12480
|
-
self.
|
|
14159
|
+
self._MemberUin = params.get("MemberUin")
|
|
14160
|
+
self._Name = params.get("Name")
|
|
14161
|
+
self._Remark = params.get("Remark")
|
|
14162
|
+
self._PolicyType = params.get("PolicyType")
|
|
14163
|
+
self._PermissionIds = params.get("PermissionIds")
|
|
14164
|
+
self._IsAllowQuit = params.get("IsAllowQuit")
|
|
14165
|
+
self._PayUin = params.get("PayUin")
|
|
12481
14166
|
memeber_set = set(params.keys())
|
|
12482
14167
|
for name, value in vars(self).items():
|
|
12483
14168
|
property_name = name[1:]
|
|
@@ -12488,32 +14173,18 @@ class UpdateGroupRequest(AbstractModel):
|
|
|
12488
14173
|
|
|
12489
14174
|
|
|
12490
14175
|
|
|
12491
|
-
class
|
|
12492
|
-
"""
|
|
14176
|
+
class UpdateOrganizationMemberResponse(AbstractModel):
|
|
14177
|
+
"""UpdateOrganizationMember response structure.
|
|
12493
14178
|
|
|
12494
14179
|
"""
|
|
12495
14180
|
|
|
12496
14181
|
def __init__(self):
|
|
12497
14182
|
r"""
|
|
12498
|
-
:param _GroupInfo: User group information.
|
|
12499
|
-
:type GroupInfo: :class:`tencentcloud.organization.v20210331.models.GroupInfo`
|
|
12500
14183
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12501
14184
|
:type RequestId: str
|
|
12502
14185
|
"""
|
|
12503
|
-
self._GroupInfo = None
|
|
12504
14186
|
self._RequestId = None
|
|
12505
14187
|
|
|
12506
|
-
@property
|
|
12507
|
-
def GroupInfo(self):
|
|
12508
|
-
"""User group information.
|
|
12509
|
-
:rtype: :class:`tencentcloud.organization.v20210331.models.GroupInfo`
|
|
12510
|
-
"""
|
|
12511
|
-
return self._GroupInfo
|
|
12512
|
-
|
|
12513
|
-
@GroupInfo.setter
|
|
12514
|
-
def GroupInfo(self, GroupInfo):
|
|
12515
|
-
self._GroupInfo = GroupInfo
|
|
12516
|
-
|
|
12517
14188
|
@property
|
|
12518
14189
|
def RequestId(self):
|
|
12519
14190
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -12527,9 +14198,6 @@ class UpdateGroupResponse(AbstractModel):
|
|
|
12527
14198
|
|
|
12528
14199
|
|
|
12529
14200
|
def _deserialize(self, params):
|
|
12530
|
-
if params.get("GroupInfo") is not None:
|
|
12531
|
-
self._GroupInfo = GroupInfo()
|
|
12532
|
-
self._GroupInfo._deserialize(params.get("GroupInfo"))
|
|
12533
14201
|
self._RequestId = params.get("RequestId")
|
|
12534
14202
|
|
|
12535
14203
|
|
|
@@ -12638,11 +14306,11 @@ class UpdateRoleConfigurationRequest(AbstractModel):
|
|
|
12638
14306
|
:type ZoneId: str
|
|
12639
14307
|
:param _RoleConfigurationId: Permission configuration ID.
|
|
12640
14308
|
:type RoleConfigurationId: str
|
|
12641
|
-
:param _NewDescription:
|
|
14309
|
+
:param _NewDescription: New permission configuration description, which contains up to 1,024 characters.
|
|
12642
14310
|
:type NewDescription: str
|
|
12643
|
-
:param _NewSessionDuration: New session duration. It
|
|
14311
|
+
:param _NewSessionDuration: New session duration, in seconds. It is the maximum time a CIC user can maintain a session while using permission configurations to access a target account in TCO. Value range: 900 to 43200 (15 minutes to 12 hours).
|
|
12644
14312
|
:type NewSessionDuration: int
|
|
12645
|
-
:param _NewRelayState: New initial access page. It
|
|
14313
|
+
:param _NewRelayState: New initial access page. It is the initial page address when a CIC user uses permission configurations to access a target account in TCO. This page must be a Tencent Cloud console page.
|
|
12646
14314
|
:type NewRelayState: str
|
|
12647
14315
|
"""
|
|
12648
14316
|
self._ZoneId = None
|
|
@@ -12675,7 +14343,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
|
|
|
12675
14343
|
|
|
12676
14344
|
@property
|
|
12677
14345
|
def NewDescription(self):
|
|
12678
|
-
"""
|
|
14346
|
+
"""New permission configuration description, which contains up to 1,024 characters.
|
|
12679
14347
|
:rtype: str
|
|
12680
14348
|
"""
|
|
12681
14349
|
return self._NewDescription
|
|
@@ -12686,7 +14354,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
|
|
|
12686
14354
|
|
|
12687
14355
|
@property
|
|
12688
14356
|
def NewSessionDuration(self):
|
|
12689
|
-
"""New session duration. It
|
|
14357
|
+
"""New session duration, in seconds. It is the maximum time a CIC user can maintain a session while using permission configurations to access a target account in TCO. Value range: 900 to 43200 (15 minutes to 12 hours).
|
|
12690
14358
|
:rtype: int
|
|
12691
14359
|
"""
|
|
12692
14360
|
return self._NewSessionDuration
|
|
@@ -12697,7 +14365,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
|
|
|
12697
14365
|
|
|
12698
14366
|
@property
|
|
12699
14367
|
def NewRelayState(self):
|
|
12700
|
-
"""New initial access page. It
|
|
14368
|
+
"""New initial access page. It is the initial page address when a CIC user uses permission configurations to access a target account in TCO. This page must be a Tencent Cloud console page.
|
|
12701
14369
|
:rtype: str
|
|
12702
14370
|
"""
|
|
12703
14371
|
return self._NewRelayState
|
|
@@ -12768,6 +14436,179 @@ class UpdateRoleConfigurationResponse(AbstractModel):
|
|
|
12768
14436
|
self._RequestId = params.get("RequestId")
|
|
12769
14437
|
|
|
12770
14438
|
|
|
14439
|
+
class UpdateSCIMCredentialStatusRequest(AbstractModel):
|
|
14440
|
+
"""UpdateSCIMCredentialStatus request structure.
|
|
14441
|
+
|
|
14442
|
+
"""
|
|
14443
|
+
|
|
14444
|
+
def __init__(self):
|
|
14445
|
+
r"""
|
|
14446
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
14447
|
+
:type ZoneId: str
|
|
14448
|
+
:param _CredentialId: SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
14449
|
+
:type CredentialId: str
|
|
14450
|
+
:param _NewStatus: SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
14451
|
+
:type NewStatus: str
|
|
14452
|
+
"""
|
|
14453
|
+
self._ZoneId = None
|
|
14454
|
+
self._CredentialId = None
|
|
14455
|
+
self._NewStatus = None
|
|
14456
|
+
|
|
14457
|
+
@property
|
|
14458
|
+
def ZoneId(self):
|
|
14459
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
14460
|
+
:rtype: str
|
|
14461
|
+
"""
|
|
14462
|
+
return self._ZoneId
|
|
14463
|
+
|
|
14464
|
+
@ZoneId.setter
|
|
14465
|
+
def ZoneId(self, ZoneId):
|
|
14466
|
+
self._ZoneId = ZoneId
|
|
14467
|
+
|
|
14468
|
+
@property
|
|
14469
|
+
def CredentialId(self):
|
|
14470
|
+
"""SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters.
|
|
14471
|
+
:rtype: str
|
|
14472
|
+
"""
|
|
14473
|
+
return self._CredentialId
|
|
14474
|
+
|
|
14475
|
+
@CredentialId.setter
|
|
14476
|
+
def CredentialId(self, CredentialId):
|
|
14477
|
+
self._CredentialId = CredentialId
|
|
14478
|
+
|
|
14479
|
+
@property
|
|
14480
|
+
def NewStatus(self):
|
|
14481
|
+
"""SCIM key status. Enabled: enabled. Disabled: disabled.
|
|
14482
|
+
:rtype: str
|
|
14483
|
+
"""
|
|
14484
|
+
return self._NewStatus
|
|
14485
|
+
|
|
14486
|
+
@NewStatus.setter
|
|
14487
|
+
def NewStatus(self, NewStatus):
|
|
14488
|
+
self._NewStatus = NewStatus
|
|
14489
|
+
|
|
14490
|
+
|
|
14491
|
+
def _deserialize(self, params):
|
|
14492
|
+
self._ZoneId = params.get("ZoneId")
|
|
14493
|
+
self._CredentialId = params.get("CredentialId")
|
|
14494
|
+
self._NewStatus = params.get("NewStatus")
|
|
14495
|
+
memeber_set = set(params.keys())
|
|
14496
|
+
for name, value in vars(self).items():
|
|
14497
|
+
property_name = name[1:]
|
|
14498
|
+
if property_name in memeber_set:
|
|
14499
|
+
memeber_set.remove(property_name)
|
|
14500
|
+
if len(memeber_set) > 0:
|
|
14501
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14502
|
+
|
|
14503
|
+
|
|
14504
|
+
|
|
14505
|
+
class UpdateSCIMCredentialStatusResponse(AbstractModel):
|
|
14506
|
+
"""UpdateSCIMCredentialStatus response structure.
|
|
14507
|
+
|
|
14508
|
+
"""
|
|
14509
|
+
|
|
14510
|
+
def __init__(self):
|
|
14511
|
+
r"""
|
|
14512
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14513
|
+
:type RequestId: str
|
|
14514
|
+
"""
|
|
14515
|
+
self._RequestId = None
|
|
14516
|
+
|
|
14517
|
+
@property
|
|
14518
|
+
def RequestId(self):
|
|
14519
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14520
|
+
:rtype: str
|
|
14521
|
+
"""
|
|
14522
|
+
return self._RequestId
|
|
14523
|
+
|
|
14524
|
+
@RequestId.setter
|
|
14525
|
+
def RequestId(self, RequestId):
|
|
14526
|
+
self._RequestId = RequestId
|
|
14527
|
+
|
|
14528
|
+
|
|
14529
|
+
def _deserialize(self, params):
|
|
14530
|
+
self._RequestId = params.get("RequestId")
|
|
14531
|
+
|
|
14532
|
+
|
|
14533
|
+
class UpdateSCIMSynchronizationStatusRequest(AbstractModel):
|
|
14534
|
+
"""UpdateSCIMSynchronizationStatus request structure.
|
|
14535
|
+
|
|
14536
|
+
"""
|
|
14537
|
+
|
|
14538
|
+
def __init__(self):
|
|
14539
|
+
r"""
|
|
14540
|
+
:param _ZoneId: Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
14541
|
+
:type ZoneId: str
|
|
14542
|
+
:param _SCIMSynchronizationStatus: SCIM synchronization status. Enabled: enabled. Disabled: disabled.
|
|
14543
|
+
:type SCIMSynchronizationStatus: str
|
|
14544
|
+
"""
|
|
14545
|
+
self._ZoneId = None
|
|
14546
|
+
self._SCIMSynchronizationStatus = None
|
|
14547
|
+
|
|
14548
|
+
@property
|
|
14549
|
+
def ZoneId(self):
|
|
14550
|
+
"""Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters.
|
|
14551
|
+
:rtype: str
|
|
14552
|
+
"""
|
|
14553
|
+
return self._ZoneId
|
|
14554
|
+
|
|
14555
|
+
@ZoneId.setter
|
|
14556
|
+
def ZoneId(self, ZoneId):
|
|
14557
|
+
self._ZoneId = ZoneId
|
|
14558
|
+
|
|
14559
|
+
@property
|
|
14560
|
+
def SCIMSynchronizationStatus(self):
|
|
14561
|
+
"""SCIM synchronization status. Enabled: enabled. Disabled: disabled.
|
|
14562
|
+
:rtype: str
|
|
14563
|
+
"""
|
|
14564
|
+
return self._SCIMSynchronizationStatus
|
|
14565
|
+
|
|
14566
|
+
@SCIMSynchronizationStatus.setter
|
|
14567
|
+
def SCIMSynchronizationStatus(self, SCIMSynchronizationStatus):
|
|
14568
|
+
self._SCIMSynchronizationStatus = SCIMSynchronizationStatus
|
|
14569
|
+
|
|
14570
|
+
|
|
14571
|
+
def _deserialize(self, params):
|
|
14572
|
+
self._ZoneId = params.get("ZoneId")
|
|
14573
|
+
self._SCIMSynchronizationStatus = params.get("SCIMSynchronizationStatus")
|
|
14574
|
+
memeber_set = set(params.keys())
|
|
14575
|
+
for name, value in vars(self).items():
|
|
14576
|
+
property_name = name[1:]
|
|
14577
|
+
if property_name in memeber_set:
|
|
14578
|
+
memeber_set.remove(property_name)
|
|
14579
|
+
if len(memeber_set) > 0:
|
|
14580
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14581
|
+
|
|
14582
|
+
|
|
14583
|
+
|
|
14584
|
+
class UpdateSCIMSynchronizationStatusResponse(AbstractModel):
|
|
14585
|
+
"""UpdateSCIMSynchronizationStatus response structure.
|
|
14586
|
+
|
|
14587
|
+
"""
|
|
14588
|
+
|
|
14589
|
+
def __init__(self):
|
|
14590
|
+
r"""
|
|
14591
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14592
|
+
:type RequestId: str
|
|
14593
|
+
"""
|
|
14594
|
+
self._RequestId = None
|
|
14595
|
+
|
|
14596
|
+
@property
|
|
14597
|
+
def RequestId(self):
|
|
14598
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14599
|
+
:rtype: str
|
|
14600
|
+
"""
|
|
14601
|
+
return self._RequestId
|
|
14602
|
+
|
|
14603
|
+
@RequestId.setter
|
|
14604
|
+
def RequestId(self, RequestId):
|
|
14605
|
+
self._RequestId = RequestId
|
|
14606
|
+
|
|
14607
|
+
|
|
14608
|
+
def _deserialize(self, params):
|
|
14609
|
+
self._RequestId = params.get("RequestId")
|
|
14610
|
+
|
|
14611
|
+
|
|
12771
14612
|
class UpdateUserRequest(AbstractModel):
|
|
12772
14613
|
"""UpdateUser request structure.
|
|
12773
14614
|
|