tencentcloud-sdk-python 3.0.1233__py2.py3-none-any.whl → 3.0.1246__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +34 -21
- tencentcloud/aiart/v20221229/models.py +6 -6
- tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
- tencentcloud/apigateway/v20180808/models.py +31 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/apm/v20210622/models.py +16 -15
- tencentcloud/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/models.py +203 -0
- tencentcloud/autoscaling/v20180419/models.py +55 -3
- tencentcloud/ca/__init__.py +0 -0
- tencentcloud/ca/v20230228/__init__.py +0 -0
- tencentcloud/ca/v20230228/ca_client.py +95 -0
- tencentcloud/ca/v20230228/errorcodes.py +30 -0
- tencentcloud/ca/v20230228/models.py +398 -0
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +610 -0
- tencentcloud/cdb/v20170320/models.py +60 -0
- tencentcloud/cdn/v20180606/models.py +32 -0
- tencentcloud/cdwdoris/v20211228/models.py +105 -1
- tencentcloud/cfg/v20210820/models.py +12 -0
- tencentcloud/cfw/v20190904/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +25 -1
- tencentcloud/cls/v20201016/models.py +12 -0
- tencentcloud/cme/v20191029/models.py +12 -0
- tencentcloud/csip/v20221121/models.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +4 -1
- tencentcloud/cvm/v20170312/models.py +202 -4
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +241 -14
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +48 -73
- tencentcloud/cynosdb/v20190107/models.py +7 -134
- tencentcloud/dasb/v20191018/models.py +37 -0
- tencentcloud/dlc/v20210125/models.py +12 -0
- tencentcloud/dsgc/v20190723/models.py +1 -1
- tencentcloud/dts/v20211206/models.py +16 -16
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/models.py +467 -3
- tencentcloud/ess/v20201111/ess_client.py +19 -12
- tencentcloud/ess/v20201111/models.py +58 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +48 -9
- tencentcloud/essbasic/v20210526/models.py +174 -11
- tencentcloud/faceid/v20180301/models.py +28 -0
- tencentcloud/hunyuan/v20230901/models.py +1 -0
- tencentcloud/iecp/v20210914/iecp_client.py +0 -500
- tencentcloud/iecp/v20210914/models.py +2130 -5305
- tencentcloud/ims/v20201229/ims_client.py +9 -4
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/lcic/v20220817/models.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/lke_client.py +184 -0
- tencentcloud/lke/v20231130/models.py +2129 -881
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +94 -0
- tencentcloud/monitor/v20180724/models.py +0 -132
- tencentcloud/monitor/v20180724/monitor_client.py +0 -50
- tencentcloud/mps/v20190612/models.py +16 -3
- tencentcloud/mqtt/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +45 -0
- tencentcloud/mqtt/v20240516/models.py +3221 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +472 -0
- tencentcloud/mrs/v20200910/errorcodes.py +3 -0
- tencentcloud/mrs/v20200910/models.py +158 -27
- tencentcloud/ocr/v20181119/models.py +21 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/omics/v20221128/models.py +245 -29
- tencentcloud/organization/v20210331/errorcodes.py +54 -0
- tencentcloud/organization/v20210331/models.py +483 -3
- tencentcloud/organization/v20210331/organization_client.py +46 -0
- tencentcloud/postgres/v20170312/models.py +626 -13
- tencentcloud/postgres/v20170312/postgres_client.py +69 -0
- tencentcloud/rce/v20201103/models.py +33 -22
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/errorcodes.py +9 -12
- tencentcloud/ses/v20201002/models.py +65 -0
- tencentcloud/sms/v20190711/models.py +3 -3
- tencentcloud/sms/v20210111/models.py +9 -8
- tencentcloud/sqlserver/v20180328/models.py +1 -1
- tencentcloud/ssl/v20191205/models.py +114 -0
- tencentcloud/tcb/v20180608/models.py +25 -0
- tencentcloud/tcss/v20201101/models.py +269 -0
- tencentcloud/tcss/v20201101/tcss_client.py +3 -1
- tencentcloud/teo/v20220901/errorcodes.py +33 -0
- tencentcloud/teo/v20220901/models.py +4012 -2535
- tencentcloud/teo/v20220901/teo_client.py +254 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +748 -5
- tencentcloud/tke/v20180525/tke_client.py +92 -0
- tencentcloud/tke/v20220501/models.py +1 -1
- tencentcloud/tse/v20201207/models.py +26 -0
- tencentcloud/tsf/v20180326/models.py +0 -58
- tencentcloud/tsf/v20180326/tsf_client.py +0 -25
- tencentcloud/tts/v20190823/tts_client.py +4 -1
- tencentcloud/vclm/v20240523/models.py +25 -0
- tencentcloud/vdb/v20230616/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +91 -1
- tencentcloud/vod/v20180717/vod_client.py +10 -2
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +2587 -539
- tencentcloud/vpc/v20170312/vpc_client.py +506 -0
- tencentcloud/waf/v20180125/models.py +447 -12
- tencentcloud/wedata/v20210820/models.py +18 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/RECORD +110 -100
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/top_level.txt +0 -0
@@ -843,7 +843,7 @@ class AutoUpgradeClusterLevel(AbstractModel):
|
|
843
843
|
|
844
844
|
|
845
845
|
class AutoscalingAdded(AbstractModel):
|
846
|
-
"""
|
846
|
+
"""自动扩缩容的节点
|
847
847
|
|
848
848
|
"""
|
849
849
|
|
@@ -1671,6 +1671,9 @@ class Cluster(AbstractModel):
|
|
1671
1671
|
:param _ClusterEtcdNodeNum: 集群当前etcd数量
|
1672
1672
|
注意:此字段可能返回 null,表示取不到有效值。
|
1673
1673
|
:type ClusterEtcdNodeNum: int
|
1674
|
+
:param _CdcId: 本地专用集群Id
|
1675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1676
|
+
:type CdcId: str
|
1674
1677
|
"""
|
1675
1678
|
self._ClusterId = None
|
1676
1679
|
self._ClusterName = None
|
@@ -1696,6 +1699,7 @@ class Cluster(AbstractModel):
|
|
1696
1699
|
self._QGPUShareEnable = None
|
1697
1700
|
self._RuntimeVersion = None
|
1698
1701
|
self._ClusterEtcdNodeNum = None
|
1702
|
+
self._CdcId = None
|
1699
1703
|
|
1700
1704
|
@property
|
1701
1705
|
def ClusterId(self):
|
@@ -1889,6 +1893,14 @@ class Cluster(AbstractModel):
|
|
1889
1893
|
def ClusterEtcdNodeNum(self, ClusterEtcdNodeNum):
|
1890
1894
|
self._ClusterEtcdNodeNum = ClusterEtcdNodeNum
|
1891
1895
|
|
1896
|
+
@property
|
1897
|
+
def CdcId(self):
|
1898
|
+
return self._CdcId
|
1899
|
+
|
1900
|
+
@CdcId.setter
|
1901
|
+
def CdcId(self, CdcId):
|
1902
|
+
self._CdcId = CdcId
|
1903
|
+
|
1892
1904
|
|
1893
1905
|
def _deserialize(self, params):
|
1894
1906
|
self._ClusterId = params.get("ClusterId")
|
@@ -1922,6 +1934,7 @@ class Cluster(AbstractModel):
|
|
1922
1934
|
self._QGPUShareEnable = params.get("QGPUShareEnable")
|
1923
1935
|
self._RuntimeVersion = params.get("RuntimeVersion")
|
1924
1936
|
self._ClusterEtcdNodeNum = params.get("ClusterEtcdNodeNum")
|
1937
|
+
self._CdcId = params.get("CdcId")
|
1925
1938
|
memeber_set = set(params.keys())
|
1926
1939
|
for name, value in vars(self).items():
|
1927
1940
|
property_name = name[1:]
|
@@ -9987,6 +10000,101 @@ class DeleteImageCachesResponse(AbstractModel):
|
|
9987
10000
|
self._RequestId = params.get("RequestId")
|
9988
10001
|
|
9989
10002
|
|
10003
|
+
class DeleteLogConfigsRequest(AbstractModel):
|
10004
|
+
"""DeleteLogConfigs请求参数结构体
|
10005
|
+
|
10006
|
+
"""
|
10007
|
+
|
10008
|
+
def __init__(self):
|
10009
|
+
r"""
|
10010
|
+
:param _ClusterId: 集群ID
|
10011
|
+
:type ClusterId: str
|
10012
|
+
:param _LogConfigNames: 待删除采集规则名称,多个采集规则使用","分隔
|
10013
|
+
:type LogConfigNames: str
|
10014
|
+
:param _ClusterType: 集群集群类型, tke/eks 默认为 tke 集群
|
10015
|
+
:type ClusterType: str
|
10016
|
+
"""
|
10017
|
+
self._ClusterId = None
|
10018
|
+
self._LogConfigNames = None
|
10019
|
+
self._ClusterType = None
|
10020
|
+
|
10021
|
+
@property
|
10022
|
+
def ClusterId(self):
|
10023
|
+
return self._ClusterId
|
10024
|
+
|
10025
|
+
@ClusterId.setter
|
10026
|
+
def ClusterId(self, ClusterId):
|
10027
|
+
self._ClusterId = ClusterId
|
10028
|
+
|
10029
|
+
@property
|
10030
|
+
def LogConfigNames(self):
|
10031
|
+
return self._LogConfigNames
|
10032
|
+
|
10033
|
+
@LogConfigNames.setter
|
10034
|
+
def LogConfigNames(self, LogConfigNames):
|
10035
|
+
self._LogConfigNames = LogConfigNames
|
10036
|
+
|
10037
|
+
@property
|
10038
|
+
def ClusterType(self):
|
10039
|
+
return self._ClusterType
|
10040
|
+
|
10041
|
+
@ClusterType.setter
|
10042
|
+
def ClusterType(self, ClusterType):
|
10043
|
+
self._ClusterType = ClusterType
|
10044
|
+
|
10045
|
+
|
10046
|
+
def _deserialize(self, params):
|
10047
|
+
self._ClusterId = params.get("ClusterId")
|
10048
|
+
self._LogConfigNames = params.get("LogConfigNames")
|
10049
|
+
self._ClusterType = params.get("ClusterType")
|
10050
|
+
memeber_set = set(params.keys())
|
10051
|
+
for name, value in vars(self).items():
|
10052
|
+
property_name = name[1:]
|
10053
|
+
if property_name in memeber_set:
|
10054
|
+
memeber_set.remove(property_name)
|
10055
|
+
if len(memeber_set) > 0:
|
10056
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10057
|
+
|
10058
|
+
|
10059
|
+
|
10060
|
+
class DeleteLogConfigsResponse(AbstractModel):
|
10061
|
+
"""DeleteLogConfigs返回参数结构体
|
10062
|
+
|
10063
|
+
"""
|
10064
|
+
|
10065
|
+
def __init__(self):
|
10066
|
+
r"""
|
10067
|
+
:param _Message: 删除采集规则遇到错误时返回错误原因
|
10068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10069
|
+
:type Message: str
|
10070
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10071
|
+
:type RequestId: str
|
10072
|
+
"""
|
10073
|
+
self._Message = None
|
10074
|
+
self._RequestId = None
|
10075
|
+
|
10076
|
+
@property
|
10077
|
+
def Message(self):
|
10078
|
+
return self._Message
|
10079
|
+
|
10080
|
+
@Message.setter
|
10081
|
+
def Message(self, Message):
|
10082
|
+
self._Message = Message
|
10083
|
+
|
10084
|
+
@property
|
10085
|
+
def RequestId(self):
|
10086
|
+
return self._RequestId
|
10087
|
+
|
10088
|
+
@RequestId.setter
|
10089
|
+
def RequestId(self, RequestId):
|
10090
|
+
self._RequestId = RequestId
|
10091
|
+
|
10092
|
+
|
10093
|
+
def _deserialize(self, params):
|
10094
|
+
self._Message = params.get("Message")
|
10095
|
+
self._RequestId = params.get("RequestId")
|
10096
|
+
|
10097
|
+
|
9990
10098
|
class DeletePrometheusAlertPolicyRequest(AbstractModel):
|
9991
10099
|
"""DeletePrometheusAlertPolicy请求参数结构体
|
9992
10100
|
|
@@ -16219,8 +16327,11 @@ class DescribeExternalNodeSupportConfigResponse(AbstractModel):
|
|
16219
16327
|
:type Progress: list of Step
|
16220
16328
|
:param _EnabledPublicConnect: 是否开启第三方节点公网连接支持
|
16221
16329
|
:type EnabledPublicConnect: bool
|
16222
|
-
:param _PublicConnectUrl:
|
16330
|
+
:param _PublicConnectUrl: 注册节点公网版公网连接地址
|
16223
16331
|
:type PublicConnectUrl: str
|
16332
|
+
:param _PublicCustomDomain: 注册节点公网版自定义域名
|
16333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16334
|
+
:type PublicCustomDomain: str
|
16224
16335
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16225
16336
|
:type RequestId: str
|
16226
16337
|
"""
|
@@ -16237,6 +16348,7 @@ class DescribeExternalNodeSupportConfigResponse(AbstractModel):
|
|
16237
16348
|
self._Progress = None
|
16238
16349
|
self._EnabledPublicConnect = None
|
16239
16350
|
self._PublicConnectUrl = None
|
16351
|
+
self._PublicCustomDomain = None
|
16240
16352
|
self._RequestId = None
|
16241
16353
|
|
16242
16354
|
@property
|
@@ -16343,6 +16455,14 @@ class DescribeExternalNodeSupportConfigResponse(AbstractModel):
|
|
16343
16455
|
def PublicConnectUrl(self, PublicConnectUrl):
|
16344
16456
|
self._PublicConnectUrl = PublicConnectUrl
|
16345
16457
|
|
16458
|
+
@property
|
16459
|
+
def PublicCustomDomain(self):
|
16460
|
+
return self._PublicCustomDomain
|
16461
|
+
|
16462
|
+
@PublicCustomDomain.setter
|
16463
|
+
def PublicCustomDomain(self, PublicCustomDomain):
|
16464
|
+
self._PublicCustomDomain = PublicCustomDomain
|
16465
|
+
|
16346
16466
|
@property
|
16347
16467
|
def RequestId(self):
|
16348
16468
|
return self._RequestId
|
@@ -16371,6 +16491,7 @@ class DescribeExternalNodeSupportConfigResponse(AbstractModel):
|
|
16371
16491
|
self._Progress.append(obj)
|
16372
16492
|
self._EnabledPublicConnect = params.get("EnabledPublicConnect")
|
16373
16493
|
self._PublicConnectUrl = params.get("PublicConnectUrl")
|
16494
|
+
self._PublicCustomDomain = params.get("PublicCustomDomain")
|
16374
16495
|
self._RequestId = params.get("RequestId")
|
16375
16496
|
|
16376
16497
|
|
@@ -16740,6 +16861,151 @@ class DescribeImagesResponse(AbstractModel):
|
|
16740
16861
|
self._RequestId = params.get("RequestId")
|
16741
16862
|
|
16742
16863
|
|
16864
|
+
class DescribeLogConfigsRequest(AbstractModel):
|
16865
|
+
"""DescribeLogConfigs请求参数结构体
|
16866
|
+
|
16867
|
+
"""
|
16868
|
+
|
16869
|
+
def __init__(self):
|
16870
|
+
r"""
|
16871
|
+
:param _ClusterId: 集群ID
|
16872
|
+
:type ClusterId: str
|
16873
|
+
:param _ClusterType: 当前集群类型支持tke、eks。默认为tke
|
16874
|
+
:type ClusterType: str
|
16875
|
+
:param _LogConfigNames: 按照采集规则名称查找,多个采集规则使用 "," 分隔。
|
16876
|
+
:type LogConfigNames: str
|
16877
|
+
:param _Offset: 偏移量,默认0
|
16878
|
+
:type Offset: int
|
16879
|
+
:param _Limit: 最大输出条数,默认20,最大为100
|
16880
|
+
:type Limit: int
|
16881
|
+
"""
|
16882
|
+
self._ClusterId = None
|
16883
|
+
self._ClusterType = None
|
16884
|
+
self._LogConfigNames = None
|
16885
|
+
self._Offset = None
|
16886
|
+
self._Limit = None
|
16887
|
+
|
16888
|
+
@property
|
16889
|
+
def ClusterId(self):
|
16890
|
+
return self._ClusterId
|
16891
|
+
|
16892
|
+
@ClusterId.setter
|
16893
|
+
def ClusterId(self, ClusterId):
|
16894
|
+
self._ClusterId = ClusterId
|
16895
|
+
|
16896
|
+
@property
|
16897
|
+
def ClusterType(self):
|
16898
|
+
return self._ClusterType
|
16899
|
+
|
16900
|
+
@ClusterType.setter
|
16901
|
+
def ClusterType(self, ClusterType):
|
16902
|
+
self._ClusterType = ClusterType
|
16903
|
+
|
16904
|
+
@property
|
16905
|
+
def LogConfigNames(self):
|
16906
|
+
return self._LogConfigNames
|
16907
|
+
|
16908
|
+
@LogConfigNames.setter
|
16909
|
+
def LogConfigNames(self, LogConfigNames):
|
16910
|
+
self._LogConfigNames = LogConfigNames
|
16911
|
+
|
16912
|
+
@property
|
16913
|
+
def Offset(self):
|
16914
|
+
return self._Offset
|
16915
|
+
|
16916
|
+
@Offset.setter
|
16917
|
+
def Offset(self, Offset):
|
16918
|
+
self._Offset = Offset
|
16919
|
+
|
16920
|
+
@property
|
16921
|
+
def Limit(self):
|
16922
|
+
return self._Limit
|
16923
|
+
|
16924
|
+
@Limit.setter
|
16925
|
+
def Limit(self, Limit):
|
16926
|
+
self._Limit = Limit
|
16927
|
+
|
16928
|
+
|
16929
|
+
def _deserialize(self, params):
|
16930
|
+
self._ClusterId = params.get("ClusterId")
|
16931
|
+
self._ClusterType = params.get("ClusterType")
|
16932
|
+
self._LogConfigNames = params.get("LogConfigNames")
|
16933
|
+
self._Offset = params.get("Offset")
|
16934
|
+
self._Limit = params.get("Limit")
|
16935
|
+
memeber_set = set(params.keys())
|
16936
|
+
for name, value in vars(self).items():
|
16937
|
+
property_name = name[1:]
|
16938
|
+
if property_name in memeber_set:
|
16939
|
+
memeber_set.remove(property_name)
|
16940
|
+
if len(memeber_set) > 0:
|
16941
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16942
|
+
|
16943
|
+
|
16944
|
+
|
16945
|
+
class DescribeLogConfigsResponse(AbstractModel):
|
16946
|
+
"""DescribeLogConfigs返回参数结构体
|
16947
|
+
|
16948
|
+
"""
|
16949
|
+
|
16950
|
+
def __init__(self):
|
16951
|
+
r"""
|
16952
|
+
:param _Total: 分页查找时返回采集规则总数
|
16953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16954
|
+
:type Total: int
|
16955
|
+
:param _Message: 指定采集规则名称查找,部分失败时返回失败采集规则名称及最后一个失败原因
|
16956
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16957
|
+
:type Message: str
|
16958
|
+
:param _LogConfigs: 采集规则查询结果
|
16959
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16960
|
+
:type LogConfigs: str
|
16961
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16962
|
+
:type RequestId: str
|
16963
|
+
"""
|
16964
|
+
self._Total = None
|
16965
|
+
self._Message = None
|
16966
|
+
self._LogConfigs = None
|
16967
|
+
self._RequestId = None
|
16968
|
+
|
16969
|
+
@property
|
16970
|
+
def Total(self):
|
16971
|
+
return self._Total
|
16972
|
+
|
16973
|
+
@Total.setter
|
16974
|
+
def Total(self, Total):
|
16975
|
+
self._Total = Total
|
16976
|
+
|
16977
|
+
@property
|
16978
|
+
def Message(self):
|
16979
|
+
return self._Message
|
16980
|
+
|
16981
|
+
@Message.setter
|
16982
|
+
def Message(self, Message):
|
16983
|
+
self._Message = Message
|
16984
|
+
|
16985
|
+
@property
|
16986
|
+
def LogConfigs(self):
|
16987
|
+
return self._LogConfigs
|
16988
|
+
|
16989
|
+
@LogConfigs.setter
|
16990
|
+
def LogConfigs(self, LogConfigs):
|
16991
|
+
self._LogConfigs = LogConfigs
|
16992
|
+
|
16993
|
+
@property
|
16994
|
+
def RequestId(self):
|
16995
|
+
return self._RequestId
|
16996
|
+
|
16997
|
+
@RequestId.setter
|
16998
|
+
def RequestId(self, RequestId):
|
16999
|
+
self._RequestId = RequestId
|
17000
|
+
|
17001
|
+
|
17002
|
+
def _deserialize(self, params):
|
17003
|
+
self._Total = params.get("Total")
|
17004
|
+
self._Message = params.get("Message")
|
17005
|
+
self._LogConfigs = params.get("LogConfigs")
|
17006
|
+
self._RequestId = params.get("RequestId")
|
17007
|
+
|
17008
|
+
|
16743
17009
|
class DescribeLogSwitchesRequest(AbstractModel):
|
16744
17010
|
"""DescribeLogSwitches请求参数结构体
|
16745
17011
|
|
@@ -16828,6 +17094,94 @@ class DescribeLogSwitchesResponse(AbstractModel):
|
|
16828
17094
|
self._RequestId = params.get("RequestId")
|
16829
17095
|
|
16830
17096
|
|
17097
|
+
class DescribeOpenPolicyListRequest(AbstractModel):
|
17098
|
+
"""DescribeOpenPolicyList请求参数结构体
|
17099
|
+
|
17100
|
+
"""
|
17101
|
+
|
17102
|
+
def __init__(self):
|
17103
|
+
r"""
|
17104
|
+
:param _ClusterId: 集群ID
|
17105
|
+
:type ClusterId: str
|
17106
|
+
:param _Category: 策略分类 基线:baseline 优选:priority 可选:optional
|
17107
|
+
:type Category: str
|
17108
|
+
"""
|
17109
|
+
self._ClusterId = None
|
17110
|
+
self._Category = None
|
17111
|
+
|
17112
|
+
@property
|
17113
|
+
def ClusterId(self):
|
17114
|
+
return self._ClusterId
|
17115
|
+
|
17116
|
+
@ClusterId.setter
|
17117
|
+
def ClusterId(self, ClusterId):
|
17118
|
+
self._ClusterId = ClusterId
|
17119
|
+
|
17120
|
+
@property
|
17121
|
+
def Category(self):
|
17122
|
+
return self._Category
|
17123
|
+
|
17124
|
+
@Category.setter
|
17125
|
+
def Category(self, Category):
|
17126
|
+
self._Category = Category
|
17127
|
+
|
17128
|
+
|
17129
|
+
def _deserialize(self, params):
|
17130
|
+
self._ClusterId = params.get("ClusterId")
|
17131
|
+
self._Category = params.get("Category")
|
17132
|
+
memeber_set = set(params.keys())
|
17133
|
+
for name, value in vars(self).items():
|
17134
|
+
property_name = name[1:]
|
17135
|
+
if property_name in memeber_set:
|
17136
|
+
memeber_set.remove(property_name)
|
17137
|
+
if len(memeber_set) > 0:
|
17138
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17139
|
+
|
17140
|
+
|
17141
|
+
|
17142
|
+
class DescribeOpenPolicyListResponse(AbstractModel):
|
17143
|
+
"""DescribeOpenPolicyList返回参数结构体
|
17144
|
+
|
17145
|
+
"""
|
17146
|
+
|
17147
|
+
def __init__(self):
|
17148
|
+
r"""
|
17149
|
+
:param _OpenPolicyInfoList: 策略信息列表
|
17150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17151
|
+
:type OpenPolicyInfoList: list of OpenPolicyInfo
|
17152
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17153
|
+
:type RequestId: str
|
17154
|
+
"""
|
17155
|
+
self._OpenPolicyInfoList = None
|
17156
|
+
self._RequestId = None
|
17157
|
+
|
17158
|
+
@property
|
17159
|
+
def OpenPolicyInfoList(self):
|
17160
|
+
return self._OpenPolicyInfoList
|
17161
|
+
|
17162
|
+
@OpenPolicyInfoList.setter
|
17163
|
+
def OpenPolicyInfoList(self, OpenPolicyInfoList):
|
17164
|
+
self._OpenPolicyInfoList = OpenPolicyInfoList
|
17165
|
+
|
17166
|
+
@property
|
17167
|
+
def RequestId(self):
|
17168
|
+
return self._RequestId
|
17169
|
+
|
17170
|
+
@RequestId.setter
|
17171
|
+
def RequestId(self, RequestId):
|
17172
|
+
self._RequestId = RequestId
|
17173
|
+
|
17174
|
+
|
17175
|
+
def _deserialize(self, params):
|
17176
|
+
if params.get("OpenPolicyInfoList") is not None:
|
17177
|
+
self._OpenPolicyInfoList = []
|
17178
|
+
for item in params.get("OpenPolicyInfoList"):
|
17179
|
+
obj = OpenPolicyInfo()
|
17180
|
+
obj._deserialize(item)
|
17181
|
+
self._OpenPolicyInfoList.append(obj)
|
17182
|
+
self._RequestId = params.get("RequestId")
|
17183
|
+
|
17184
|
+
|
16831
17185
|
class DescribePodChargeInfoRequest(AbstractModel):
|
16832
17186
|
"""DescribePodChargeInfo请求参数结构体
|
16833
17187
|
|
@@ -27733,13 +28087,13 @@ class LoginSettings(AbstractModel):
|
|
27733
28087
|
|
27734
28088
|
def __init__(self):
|
27735
28089
|
r"""
|
27736
|
-
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<
|
28090
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
27737
28091
|
注意:此字段可能返回 null,表示取不到有效值。
|
27738
28092
|
:type Password: str
|
27739
28093
|
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
|
27740
28094
|
注意:此字段可能返回 null,表示取不到有效值。
|
27741
28095
|
:type KeyIds: list of str
|
27742
|
-
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为
|
28096
|
+
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
|
27743
28097
|
注意:此字段可能返回 null,表示取不到有效值。
|
27744
28098
|
:type KeepImageLogin: str
|
27745
28099
|
"""
|
@@ -29123,6 +29477,93 @@ class ModifyNodePoolInstanceTypesResponse(AbstractModel):
|
|
29123
29477
|
self._RequestId = params.get("RequestId")
|
29124
29478
|
|
29125
29479
|
|
29480
|
+
class ModifyOpenPolicyListRequest(AbstractModel):
|
29481
|
+
"""ModifyOpenPolicyList请求参数结构体
|
29482
|
+
|
29483
|
+
"""
|
29484
|
+
|
29485
|
+
def __init__(self):
|
29486
|
+
r"""
|
29487
|
+
:param _ClusterId: 集群ID
|
29488
|
+
:type ClusterId: str
|
29489
|
+
:param _OpenPolicyInfoList: 修改的策略列表,目前仅支持修改EnforcementAction字段
|
29490
|
+
:type OpenPolicyInfoList: list of OpenPolicySwitch
|
29491
|
+
:param _Category: 策略分类 基线:baseline 优选:priority 可选:optional
|
29492
|
+
:type Category: str
|
29493
|
+
"""
|
29494
|
+
self._ClusterId = None
|
29495
|
+
self._OpenPolicyInfoList = None
|
29496
|
+
self._Category = None
|
29497
|
+
|
29498
|
+
@property
|
29499
|
+
def ClusterId(self):
|
29500
|
+
return self._ClusterId
|
29501
|
+
|
29502
|
+
@ClusterId.setter
|
29503
|
+
def ClusterId(self, ClusterId):
|
29504
|
+
self._ClusterId = ClusterId
|
29505
|
+
|
29506
|
+
@property
|
29507
|
+
def OpenPolicyInfoList(self):
|
29508
|
+
return self._OpenPolicyInfoList
|
29509
|
+
|
29510
|
+
@OpenPolicyInfoList.setter
|
29511
|
+
def OpenPolicyInfoList(self, OpenPolicyInfoList):
|
29512
|
+
self._OpenPolicyInfoList = OpenPolicyInfoList
|
29513
|
+
|
29514
|
+
@property
|
29515
|
+
def Category(self):
|
29516
|
+
return self._Category
|
29517
|
+
|
29518
|
+
@Category.setter
|
29519
|
+
def Category(self, Category):
|
29520
|
+
self._Category = Category
|
29521
|
+
|
29522
|
+
|
29523
|
+
def _deserialize(self, params):
|
29524
|
+
self._ClusterId = params.get("ClusterId")
|
29525
|
+
if params.get("OpenPolicyInfoList") is not None:
|
29526
|
+
self._OpenPolicyInfoList = []
|
29527
|
+
for item in params.get("OpenPolicyInfoList"):
|
29528
|
+
obj = OpenPolicySwitch()
|
29529
|
+
obj._deserialize(item)
|
29530
|
+
self._OpenPolicyInfoList.append(obj)
|
29531
|
+
self._Category = params.get("Category")
|
29532
|
+
memeber_set = set(params.keys())
|
29533
|
+
for name, value in vars(self).items():
|
29534
|
+
property_name = name[1:]
|
29535
|
+
if property_name in memeber_set:
|
29536
|
+
memeber_set.remove(property_name)
|
29537
|
+
if len(memeber_set) > 0:
|
29538
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29539
|
+
|
29540
|
+
|
29541
|
+
|
29542
|
+
class ModifyOpenPolicyListResponse(AbstractModel):
|
29543
|
+
"""ModifyOpenPolicyList返回参数结构体
|
29544
|
+
|
29545
|
+
"""
|
29546
|
+
|
29547
|
+
def __init__(self):
|
29548
|
+
r"""
|
29549
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29550
|
+
:type RequestId: str
|
29551
|
+
"""
|
29552
|
+
self._RequestId = None
|
29553
|
+
|
29554
|
+
@property
|
29555
|
+
def RequestId(self):
|
29556
|
+
return self._RequestId
|
29557
|
+
|
29558
|
+
@RequestId.setter
|
29559
|
+
def RequestId(self, RequestId):
|
29560
|
+
self._RequestId = RequestId
|
29561
|
+
|
29562
|
+
|
29563
|
+
def _deserialize(self, params):
|
29564
|
+
self._RequestId = params.get("RequestId")
|
29565
|
+
|
29566
|
+
|
29126
29567
|
class ModifyPrometheusAgentExternalLabelsRequest(AbstractModel):
|
29127
29568
|
"""ModifyPrometheusAgentExternalLabels请求参数结构体
|
29128
29569
|
|
@@ -30592,6 +31033,308 @@ class OIDCConfigAuthenticationOptions(AbstractModel):
|
|
30592
31033
|
|
30593
31034
|
|
30594
31035
|
|
31036
|
+
class OpenConstraintInfo(AbstractModel):
|
31037
|
+
"""策略实例信息
|
31038
|
+
|
31039
|
+
"""
|
31040
|
+
|
31041
|
+
def __init__(self):
|
31042
|
+
r"""
|
31043
|
+
:param _Name: 策略实例名称
|
31044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31045
|
+
:type Name: str
|
31046
|
+
:param _EventNums: 策略实例关联事件数
|
31047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31048
|
+
:type EventNums: int
|
31049
|
+
:param _YamlDetail: 实例yaml详情base64编码
|
31050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31051
|
+
:type YamlDetail: str
|
31052
|
+
"""
|
31053
|
+
self._Name = None
|
31054
|
+
self._EventNums = None
|
31055
|
+
self._YamlDetail = None
|
31056
|
+
|
31057
|
+
@property
|
31058
|
+
def Name(self):
|
31059
|
+
return self._Name
|
31060
|
+
|
31061
|
+
@Name.setter
|
31062
|
+
def Name(self, Name):
|
31063
|
+
self._Name = Name
|
31064
|
+
|
31065
|
+
@property
|
31066
|
+
def EventNums(self):
|
31067
|
+
return self._EventNums
|
31068
|
+
|
31069
|
+
@EventNums.setter
|
31070
|
+
def EventNums(self, EventNums):
|
31071
|
+
self._EventNums = EventNums
|
31072
|
+
|
31073
|
+
@property
|
31074
|
+
def YamlDetail(self):
|
31075
|
+
return self._YamlDetail
|
31076
|
+
|
31077
|
+
@YamlDetail.setter
|
31078
|
+
def YamlDetail(self, YamlDetail):
|
31079
|
+
self._YamlDetail = YamlDetail
|
31080
|
+
|
31081
|
+
|
31082
|
+
def _deserialize(self, params):
|
31083
|
+
self._Name = params.get("Name")
|
31084
|
+
self._EventNums = params.get("EventNums")
|
31085
|
+
self._YamlDetail = params.get("YamlDetail")
|
31086
|
+
memeber_set = set(params.keys())
|
31087
|
+
for name, value in vars(self).items():
|
31088
|
+
property_name = name[1:]
|
31089
|
+
if property_name in memeber_set:
|
31090
|
+
memeber_set.remove(property_name)
|
31091
|
+
if len(memeber_set) > 0:
|
31092
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
31093
|
+
|
31094
|
+
|
31095
|
+
|
31096
|
+
class OpenPolicyInfo(AbstractModel):
|
31097
|
+
"""opa策略信息
|
31098
|
+
|
31099
|
+
"""
|
31100
|
+
|
31101
|
+
def __init__(self):
|
31102
|
+
r"""
|
31103
|
+
:param _PolicyCategory: 策略分类:cluster集群策略、node节点策略、namespace命名空间策略、configuration配置相关策略、compute计算资源策略、storage存储资源策略、network网络资源策略
|
31104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31105
|
+
:type PolicyCategory: str
|
31106
|
+
:param _PolicyName: 策略中文名称
|
31107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31108
|
+
:type PolicyName: str
|
31109
|
+
:param _PolicyDesc: 策略描述
|
31110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31111
|
+
:type PolicyDesc: str
|
31112
|
+
:param _EnforcementAction: 策略运行模式:dryrun空跑不生效,deny拦截生效
|
31113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31114
|
+
:type EnforcementAction: str
|
31115
|
+
:param _EventNums: 关联的事件数量(最近7d)
|
31116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31117
|
+
:type EventNums: int
|
31118
|
+
:param _Name: 策略英文名称
|
31119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31120
|
+
:type Name: str
|
31121
|
+
:param _Kind: 策略模版类型
|
31122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31123
|
+
:type Kind: str
|
31124
|
+
:param _EnabledStatus: 策略开关状态:open打开,close关闭
|
31125
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31126
|
+
:type EnabledStatus: str
|
31127
|
+
:param _ConstraintYamlExample: 策略的实例的yaml示例base64编码
|
31128
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31129
|
+
:type ConstraintYamlExample: str
|
31130
|
+
:param _OpenConstraintInfoList: 策略关联的实例列表
|
31131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31132
|
+
:type OpenConstraintInfoList: list of OpenConstraintInfo
|
31133
|
+
"""
|
31134
|
+
self._PolicyCategory = None
|
31135
|
+
self._PolicyName = None
|
31136
|
+
self._PolicyDesc = None
|
31137
|
+
self._EnforcementAction = None
|
31138
|
+
self._EventNums = None
|
31139
|
+
self._Name = None
|
31140
|
+
self._Kind = None
|
31141
|
+
self._EnabledStatus = None
|
31142
|
+
self._ConstraintYamlExample = None
|
31143
|
+
self._OpenConstraintInfoList = None
|
31144
|
+
|
31145
|
+
@property
|
31146
|
+
def PolicyCategory(self):
|
31147
|
+
return self._PolicyCategory
|
31148
|
+
|
31149
|
+
@PolicyCategory.setter
|
31150
|
+
def PolicyCategory(self, PolicyCategory):
|
31151
|
+
self._PolicyCategory = PolicyCategory
|
31152
|
+
|
31153
|
+
@property
|
31154
|
+
def PolicyName(self):
|
31155
|
+
return self._PolicyName
|
31156
|
+
|
31157
|
+
@PolicyName.setter
|
31158
|
+
def PolicyName(self, PolicyName):
|
31159
|
+
self._PolicyName = PolicyName
|
31160
|
+
|
31161
|
+
@property
|
31162
|
+
def PolicyDesc(self):
|
31163
|
+
return self._PolicyDesc
|
31164
|
+
|
31165
|
+
@PolicyDesc.setter
|
31166
|
+
def PolicyDesc(self, PolicyDesc):
|
31167
|
+
self._PolicyDesc = PolicyDesc
|
31168
|
+
|
31169
|
+
@property
|
31170
|
+
def EnforcementAction(self):
|
31171
|
+
return self._EnforcementAction
|
31172
|
+
|
31173
|
+
@EnforcementAction.setter
|
31174
|
+
def EnforcementAction(self, EnforcementAction):
|
31175
|
+
self._EnforcementAction = EnforcementAction
|
31176
|
+
|
31177
|
+
@property
|
31178
|
+
def EventNums(self):
|
31179
|
+
return self._EventNums
|
31180
|
+
|
31181
|
+
@EventNums.setter
|
31182
|
+
def EventNums(self, EventNums):
|
31183
|
+
self._EventNums = EventNums
|
31184
|
+
|
31185
|
+
@property
|
31186
|
+
def Name(self):
|
31187
|
+
return self._Name
|
31188
|
+
|
31189
|
+
@Name.setter
|
31190
|
+
def Name(self, Name):
|
31191
|
+
self._Name = Name
|
31192
|
+
|
31193
|
+
@property
|
31194
|
+
def Kind(self):
|
31195
|
+
return self._Kind
|
31196
|
+
|
31197
|
+
@Kind.setter
|
31198
|
+
def Kind(self, Kind):
|
31199
|
+
self._Kind = Kind
|
31200
|
+
|
31201
|
+
@property
|
31202
|
+
def EnabledStatus(self):
|
31203
|
+
return self._EnabledStatus
|
31204
|
+
|
31205
|
+
@EnabledStatus.setter
|
31206
|
+
def EnabledStatus(self, EnabledStatus):
|
31207
|
+
self._EnabledStatus = EnabledStatus
|
31208
|
+
|
31209
|
+
@property
|
31210
|
+
def ConstraintYamlExample(self):
|
31211
|
+
return self._ConstraintYamlExample
|
31212
|
+
|
31213
|
+
@ConstraintYamlExample.setter
|
31214
|
+
def ConstraintYamlExample(self, ConstraintYamlExample):
|
31215
|
+
self._ConstraintYamlExample = ConstraintYamlExample
|
31216
|
+
|
31217
|
+
@property
|
31218
|
+
def OpenConstraintInfoList(self):
|
31219
|
+
return self._OpenConstraintInfoList
|
31220
|
+
|
31221
|
+
@OpenConstraintInfoList.setter
|
31222
|
+
def OpenConstraintInfoList(self, OpenConstraintInfoList):
|
31223
|
+
self._OpenConstraintInfoList = OpenConstraintInfoList
|
31224
|
+
|
31225
|
+
|
31226
|
+
def _deserialize(self, params):
|
31227
|
+
self._PolicyCategory = params.get("PolicyCategory")
|
31228
|
+
self._PolicyName = params.get("PolicyName")
|
31229
|
+
self._PolicyDesc = params.get("PolicyDesc")
|
31230
|
+
self._EnforcementAction = params.get("EnforcementAction")
|
31231
|
+
self._EventNums = params.get("EventNums")
|
31232
|
+
self._Name = params.get("Name")
|
31233
|
+
self._Kind = params.get("Kind")
|
31234
|
+
self._EnabledStatus = params.get("EnabledStatus")
|
31235
|
+
self._ConstraintYamlExample = params.get("ConstraintYamlExample")
|
31236
|
+
if params.get("OpenConstraintInfoList") is not None:
|
31237
|
+
self._OpenConstraintInfoList = []
|
31238
|
+
for item in params.get("OpenConstraintInfoList"):
|
31239
|
+
obj = OpenConstraintInfo()
|
31240
|
+
obj._deserialize(item)
|
31241
|
+
self._OpenConstraintInfoList.append(obj)
|
31242
|
+
memeber_set = set(params.keys())
|
31243
|
+
for name, value in vars(self).items():
|
31244
|
+
property_name = name[1:]
|
31245
|
+
if property_name in memeber_set:
|
31246
|
+
memeber_set.remove(property_name)
|
31247
|
+
if len(memeber_set) > 0:
|
31248
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
31249
|
+
|
31250
|
+
|
31251
|
+
|
31252
|
+
class OpenPolicySwitch(AbstractModel):
|
31253
|
+
"""opa策略开关
|
31254
|
+
|
31255
|
+
"""
|
31256
|
+
|
31257
|
+
def __init__(self):
|
31258
|
+
r"""
|
31259
|
+
:param _EnforcementAction: 策略运行模式:dryrun空跑不生效,deny拦截生效
|
31260
|
+
:type EnforcementAction: str
|
31261
|
+
:param _Name: 策略英文名称
|
31262
|
+
:type Name: str
|
31263
|
+
:param _Kind: 策略模版类型
|
31264
|
+
:type Kind: str
|
31265
|
+
:param _EnabledStatus: 策略开关状态:open打开,close关闭
|
31266
|
+
:type EnabledStatus: str
|
31267
|
+
:param _OpenConstraintInfoList: 策略关联的实例列表
|
31268
|
+
:type OpenConstraintInfoList: list of OpenConstraintInfo
|
31269
|
+
"""
|
31270
|
+
self._EnforcementAction = None
|
31271
|
+
self._Name = None
|
31272
|
+
self._Kind = None
|
31273
|
+
self._EnabledStatus = None
|
31274
|
+
self._OpenConstraintInfoList = None
|
31275
|
+
|
31276
|
+
@property
|
31277
|
+
def EnforcementAction(self):
|
31278
|
+
return self._EnforcementAction
|
31279
|
+
|
31280
|
+
@EnforcementAction.setter
|
31281
|
+
def EnforcementAction(self, EnforcementAction):
|
31282
|
+
self._EnforcementAction = EnforcementAction
|
31283
|
+
|
31284
|
+
@property
|
31285
|
+
def Name(self):
|
31286
|
+
return self._Name
|
31287
|
+
|
31288
|
+
@Name.setter
|
31289
|
+
def Name(self, Name):
|
31290
|
+
self._Name = Name
|
31291
|
+
|
31292
|
+
@property
|
31293
|
+
def Kind(self):
|
31294
|
+
return self._Kind
|
31295
|
+
|
31296
|
+
@Kind.setter
|
31297
|
+
def Kind(self, Kind):
|
31298
|
+
self._Kind = Kind
|
31299
|
+
|
31300
|
+
@property
|
31301
|
+
def EnabledStatus(self):
|
31302
|
+
return self._EnabledStatus
|
31303
|
+
|
31304
|
+
@EnabledStatus.setter
|
31305
|
+
def EnabledStatus(self, EnabledStatus):
|
31306
|
+
self._EnabledStatus = EnabledStatus
|
31307
|
+
|
31308
|
+
@property
|
31309
|
+
def OpenConstraintInfoList(self):
|
31310
|
+
return self._OpenConstraintInfoList
|
31311
|
+
|
31312
|
+
@OpenConstraintInfoList.setter
|
31313
|
+
def OpenConstraintInfoList(self, OpenConstraintInfoList):
|
31314
|
+
self._OpenConstraintInfoList = OpenConstraintInfoList
|
31315
|
+
|
31316
|
+
|
31317
|
+
def _deserialize(self, params):
|
31318
|
+
self._EnforcementAction = params.get("EnforcementAction")
|
31319
|
+
self._Name = params.get("Name")
|
31320
|
+
self._Kind = params.get("Kind")
|
31321
|
+
self._EnabledStatus = params.get("EnabledStatus")
|
31322
|
+
if params.get("OpenConstraintInfoList") is not None:
|
31323
|
+
self._OpenConstraintInfoList = []
|
31324
|
+
for item in params.get("OpenConstraintInfoList"):
|
31325
|
+
obj = OpenConstraintInfo()
|
31326
|
+
obj._deserialize(item)
|
31327
|
+
self._OpenConstraintInfoList.append(obj)
|
31328
|
+
memeber_set = set(params.keys())
|
31329
|
+
for name, value in vars(self).items():
|
31330
|
+
property_name = name[1:]
|
31331
|
+
if property_name in memeber_set:
|
31332
|
+
memeber_set.remove(property_name)
|
31333
|
+
if len(memeber_set) > 0:
|
31334
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
31335
|
+
|
31336
|
+
|
31337
|
+
|
30595
31338
|
class OptionalRuntimes(AbstractModel):
|
30596
31339
|
"""可选运行时
|
30597
31340
|
|
@@ -30674,7 +31417,7 @@ class PendingRelease(AbstractModel):
|
|
30674
31417
|
:param _Namespace: 应用命名空间
|
30675
31418
|
注意:此字段可能返回 null,表示取不到有效值。
|
30676
31419
|
:type Namespace: str
|
30677
|
-
:param _Status: 应用状态
|
31420
|
+
:param _Status: 应用状态(参考helm的发布状态: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade 或 pending-rollback)
|
30678
31421
|
注意:此字段可能返回 null,表示取不到有效值。
|
30679
31422
|
:type Status: str
|
30680
31423
|
:param _UpdatedTime: 更新时间
|