tencentcloud-sdk-python 3.0.1442__py2.py3-none-any.whl → 3.0.1443__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +28 -48
- tencentcloud/ckafka/v20190819/models.py +23 -23
- tencentcloud/clb/v20180317/models.py +4 -4
- tencentcloud/cls/v20201016/cls_client.py +3 -3
- tencentcloud/cls/v20201016/errorcodes.py +3 -0
- tencentcloud/cls/v20201016/models.py +943 -214
- tencentcloud/common/credential.py +20 -2
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +17 -2
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/iai/v20200303/models.py +19 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +27 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +53 -0
- tencentcloud/lighthouse/v20200324/models.py +534 -0
- tencentcloud/live/v20180801/models.py +2 -10
- tencentcloud/lke/v20231130/lke_client.py +0 -23
- tencentcloud/lke/v20231130/models.py +40 -128
- tencentcloud/ocr/v20181119/models.py +34 -0
- tencentcloud/organization/v20210331/models.py +24 -26
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tbaas/v20180416/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +18 -18
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/errorcodes.py +15 -0
- tencentcloud/trtc/v20190722/models.py +482 -0
- tencentcloud/trtc/v20190722/trtc_client.py +64 -0
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +32 -11
- tencentcloud/tsf/v20180326/models.py +976 -778
- tencentcloud/tsf/v20180326/tsf_client.py +18 -18
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vpc/v20170312/models.py +35 -0
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/wsa/v20250508/models.py +42 -6
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/top_level.txt +0 -0
|
@@ -6868,6 +6868,191 @@ class DescribeGeneralResourceQuotasResponse(AbstractModel):
|
|
|
6868
6868
|
self._RequestId = params.get("RequestId")
|
|
6869
6869
|
|
|
6870
6870
|
|
|
6871
|
+
class DescribeImagesToShareRequest(AbstractModel):
|
|
6872
|
+
"""DescribeImagesToShare请求参数结构体
|
|
6873
|
+
|
|
6874
|
+
"""
|
|
6875
|
+
|
|
6876
|
+
def __init__(self):
|
|
6877
|
+
r"""
|
|
6878
|
+
:param _ImageIds: CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
|
6879
|
+
:type ImageIds: list of str
|
|
6880
|
+
:param _Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
|
6881
|
+
:type Offset: int
|
|
6882
|
+
:param _Limit: 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
|
6883
|
+
:type Limit: int
|
|
6884
|
+
:param _Filters: 过滤器列表。
|
|
6885
|
+
<li>image-id</li>按照【CVM镜像ID】进行过滤。
|
|
6886
|
+
类型:String
|
|
6887
|
+
必选:否
|
|
6888
|
+
|
|
6889
|
+
<li>image-name</li>按照【CVM镜像名称】进行过滤。
|
|
6890
|
+
类型:String
|
|
6891
|
+
必选:否
|
|
6892
|
+
|
|
6893
|
+
<li>image-type</li>按照【CVM镜像类型】进行过滤。
|
|
6894
|
+
类型:String
|
|
6895
|
+
必选:否
|
|
6896
|
+
取值范围:
|
|
6897
|
+
PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
|
|
6898
|
+
PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
|
|
6899
|
+
SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。
|
|
6900
|
+
|
|
6901
|
+
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
|
6902
|
+
参数不可以同时指定ImageIds和Filters。
|
|
6903
|
+
:type Filters: list of Filter
|
|
6904
|
+
"""
|
|
6905
|
+
self._ImageIds = None
|
|
6906
|
+
self._Offset = None
|
|
6907
|
+
self._Limit = None
|
|
6908
|
+
self._Filters = None
|
|
6909
|
+
|
|
6910
|
+
@property
|
|
6911
|
+
def ImageIds(self):
|
|
6912
|
+
"""CVM镜像 ID 列表。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
|
6913
|
+
:rtype: list of str
|
|
6914
|
+
"""
|
|
6915
|
+
return self._ImageIds
|
|
6916
|
+
|
|
6917
|
+
@ImageIds.setter
|
|
6918
|
+
def ImageIds(self, ImageIds):
|
|
6919
|
+
self._ImageIds = ImageIds
|
|
6920
|
+
|
|
6921
|
+
@property
|
|
6922
|
+
def Offset(self):
|
|
6923
|
+
"""偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
|
6924
|
+
:rtype: int
|
|
6925
|
+
"""
|
|
6926
|
+
return self._Offset
|
|
6927
|
+
|
|
6928
|
+
@Offset.setter
|
|
6929
|
+
def Offset(self, Offset):
|
|
6930
|
+
self._Offset = Offset
|
|
6931
|
+
|
|
6932
|
+
@property
|
|
6933
|
+
def Limit(self):
|
|
6934
|
+
"""返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
|
6935
|
+
:rtype: int
|
|
6936
|
+
"""
|
|
6937
|
+
return self._Limit
|
|
6938
|
+
|
|
6939
|
+
@Limit.setter
|
|
6940
|
+
def Limit(self, Limit):
|
|
6941
|
+
self._Limit = Limit
|
|
6942
|
+
|
|
6943
|
+
@property
|
|
6944
|
+
def Filters(self):
|
|
6945
|
+
"""过滤器列表。
|
|
6946
|
+
<li>image-id</li>按照【CVM镜像ID】进行过滤。
|
|
6947
|
+
类型:String
|
|
6948
|
+
必选:否
|
|
6949
|
+
|
|
6950
|
+
<li>image-name</li>按照【CVM镜像名称】进行过滤。
|
|
6951
|
+
类型:String
|
|
6952
|
+
必选:否
|
|
6953
|
+
|
|
6954
|
+
<li>image-type</li>按照【CVM镜像类型】进行过滤。
|
|
6955
|
+
类型:String
|
|
6956
|
+
必选:否
|
|
6957
|
+
取值范围:
|
|
6958
|
+
PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
|
|
6959
|
+
PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
|
|
6960
|
+
SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。
|
|
6961
|
+
|
|
6962
|
+
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。
|
|
6963
|
+
参数不可以同时指定ImageIds和Filters。
|
|
6964
|
+
:rtype: list of Filter
|
|
6965
|
+
"""
|
|
6966
|
+
return self._Filters
|
|
6967
|
+
|
|
6968
|
+
@Filters.setter
|
|
6969
|
+
def Filters(self, Filters):
|
|
6970
|
+
self._Filters = Filters
|
|
6971
|
+
|
|
6972
|
+
|
|
6973
|
+
def _deserialize(self, params):
|
|
6974
|
+
self._ImageIds = params.get("ImageIds")
|
|
6975
|
+
self._Offset = params.get("Offset")
|
|
6976
|
+
self._Limit = params.get("Limit")
|
|
6977
|
+
if params.get("Filters") is not None:
|
|
6978
|
+
self._Filters = []
|
|
6979
|
+
for item in params.get("Filters"):
|
|
6980
|
+
obj = Filter()
|
|
6981
|
+
obj._deserialize(item)
|
|
6982
|
+
self._Filters.append(obj)
|
|
6983
|
+
memeber_set = set(params.keys())
|
|
6984
|
+
for name, value in vars(self).items():
|
|
6985
|
+
property_name = name[1:]
|
|
6986
|
+
if property_name in memeber_set:
|
|
6987
|
+
memeber_set.remove(property_name)
|
|
6988
|
+
if len(memeber_set) > 0:
|
|
6989
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6990
|
+
|
|
6991
|
+
|
|
6992
|
+
|
|
6993
|
+
class DescribeImagesToShareResponse(AbstractModel):
|
|
6994
|
+
"""DescribeImagesToShare返回参数结构体
|
|
6995
|
+
|
|
6996
|
+
"""
|
|
6997
|
+
|
|
6998
|
+
def __init__(self):
|
|
6999
|
+
r"""
|
|
7000
|
+
:param _TotalCount: 符合条件的镜像数量。
|
|
7001
|
+
:type TotalCount: int
|
|
7002
|
+
:param _ImageSet: CVM镜像详细信息列表。
|
|
7003
|
+
:type ImageSet: list of Image
|
|
7004
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7005
|
+
:type RequestId: str
|
|
7006
|
+
"""
|
|
7007
|
+
self._TotalCount = None
|
|
7008
|
+
self._ImageSet = None
|
|
7009
|
+
self._RequestId = None
|
|
7010
|
+
|
|
7011
|
+
@property
|
|
7012
|
+
def TotalCount(self):
|
|
7013
|
+
"""符合条件的镜像数量。
|
|
7014
|
+
:rtype: int
|
|
7015
|
+
"""
|
|
7016
|
+
return self._TotalCount
|
|
7017
|
+
|
|
7018
|
+
@TotalCount.setter
|
|
7019
|
+
def TotalCount(self, TotalCount):
|
|
7020
|
+
self._TotalCount = TotalCount
|
|
7021
|
+
|
|
7022
|
+
@property
|
|
7023
|
+
def ImageSet(self):
|
|
7024
|
+
"""CVM镜像详细信息列表。
|
|
7025
|
+
:rtype: list of Image
|
|
7026
|
+
"""
|
|
7027
|
+
return self._ImageSet
|
|
7028
|
+
|
|
7029
|
+
@ImageSet.setter
|
|
7030
|
+
def ImageSet(self, ImageSet):
|
|
7031
|
+
self._ImageSet = ImageSet
|
|
7032
|
+
|
|
7033
|
+
@property
|
|
7034
|
+
def RequestId(self):
|
|
7035
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7036
|
+
:rtype: str
|
|
7037
|
+
"""
|
|
7038
|
+
return self._RequestId
|
|
7039
|
+
|
|
7040
|
+
@RequestId.setter
|
|
7041
|
+
def RequestId(self, RequestId):
|
|
7042
|
+
self._RequestId = RequestId
|
|
7043
|
+
|
|
7044
|
+
|
|
7045
|
+
def _deserialize(self, params):
|
|
7046
|
+
self._TotalCount = params.get("TotalCount")
|
|
7047
|
+
if params.get("ImageSet") is not None:
|
|
7048
|
+
self._ImageSet = []
|
|
7049
|
+
for item in params.get("ImageSet"):
|
|
7050
|
+
obj = Image()
|
|
7051
|
+
obj._deserialize(item)
|
|
7052
|
+
self._ImageSet.append(obj)
|
|
7053
|
+
self._RequestId = params.get("RequestId")
|
|
7054
|
+
|
|
7055
|
+
|
|
6871
7056
|
class DescribeInstanceVncUrlRequest(AbstractModel):
|
|
6872
7057
|
"""DescribeInstanceVncUrl请求参数结构体
|
|
6873
7058
|
|
|
@@ -11671,6 +11856,259 @@ class GeneralResourceQuota(AbstractModel):
|
|
|
11671
11856
|
|
|
11672
11857
|
|
|
11673
11858
|
|
|
11859
|
+
class Image(AbstractModel):
|
|
11860
|
+
"""CVM镜像信息。
|
|
11861
|
+
|
|
11862
|
+
"""
|
|
11863
|
+
|
|
11864
|
+
def __init__(self):
|
|
11865
|
+
r"""
|
|
11866
|
+
:param _ImageId: CVM镜像 ID ,是Image的唯一标识。
|
|
11867
|
+
:type ImageId: str
|
|
11868
|
+
:param _ImageName: 镜像名称。
|
|
11869
|
+
:type ImageName: str
|
|
11870
|
+
:param _ImageDescription: 镜像描述。
|
|
11871
|
+
:type ImageDescription: str
|
|
11872
|
+
:param _ImageSize: 镜像大小。单位GB。
|
|
11873
|
+
:type ImageSize: int
|
|
11874
|
+
:param _ImageSource: 镜像来源。
|
|
11875
|
+
<li>CREATE_IMAGE:自定义镜像</li>
|
|
11876
|
+
<li>EXTERNAL_IMPORT:外部导入镜像</li>
|
|
11877
|
+
:type ImageSource: str
|
|
11878
|
+
:param _ImageClass: 镜像分类
|
|
11879
|
+
<li>SystemImage:系统盘镜像</li>
|
|
11880
|
+
<li>InstanceImage:整机镜像</li>
|
|
11881
|
+
:type ImageClass: str
|
|
11882
|
+
:param _ImageState: 镜像状态
|
|
11883
|
+
CREATING:创建中
|
|
11884
|
+
NORMAL:正常
|
|
11885
|
+
CREATEFAILED:创建失败
|
|
11886
|
+
USING:使用中
|
|
11887
|
+
SYNCING:同步中
|
|
11888
|
+
IMPORTING:导入中
|
|
11889
|
+
IMPORTFAILED:导入失败
|
|
11890
|
+
:type ImageState: str
|
|
11891
|
+
:param _IsSupportCloudinit: 镜像是否支持Cloudinit。
|
|
11892
|
+
:type IsSupportCloudinit: bool
|
|
11893
|
+
:param _Architecture: 镜像架构。
|
|
11894
|
+
:type Architecture: str
|
|
11895
|
+
:param _OsName: 镜像操作系统。
|
|
11896
|
+
:type OsName: str
|
|
11897
|
+
:param _Platform: 镜像来源平台。
|
|
11898
|
+
:type Platform: str
|
|
11899
|
+
:param _CreatedTime: 镜像创建时间。
|
|
11900
|
+
:type CreatedTime: str
|
|
11901
|
+
:param _IsShareable: 镜像是否可共享到轻量应用服务器。
|
|
11902
|
+
:type IsShareable: bool
|
|
11903
|
+
:param _UnshareableReason: 不可共享的原因。
|
|
11904
|
+
:type UnshareableReason: str
|
|
11905
|
+
"""
|
|
11906
|
+
self._ImageId = None
|
|
11907
|
+
self._ImageName = None
|
|
11908
|
+
self._ImageDescription = None
|
|
11909
|
+
self._ImageSize = None
|
|
11910
|
+
self._ImageSource = None
|
|
11911
|
+
self._ImageClass = None
|
|
11912
|
+
self._ImageState = None
|
|
11913
|
+
self._IsSupportCloudinit = None
|
|
11914
|
+
self._Architecture = None
|
|
11915
|
+
self._OsName = None
|
|
11916
|
+
self._Platform = None
|
|
11917
|
+
self._CreatedTime = None
|
|
11918
|
+
self._IsShareable = None
|
|
11919
|
+
self._UnshareableReason = None
|
|
11920
|
+
|
|
11921
|
+
@property
|
|
11922
|
+
def ImageId(self):
|
|
11923
|
+
"""CVM镜像 ID ,是Image的唯一标识。
|
|
11924
|
+
:rtype: str
|
|
11925
|
+
"""
|
|
11926
|
+
return self._ImageId
|
|
11927
|
+
|
|
11928
|
+
@ImageId.setter
|
|
11929
|
+
def ImageId(self, ImageId):
|
|
11930
|
+
self._ImageId = ImageId
|
|
11931
|
+
|
|
11932
|
+
@property
|
|
11933
|
+
def ImageName(self):
|
|
11934
|
+
"""镜像名称。
|
|
11935
|
+
:rtype: str
|
|
11936
|
+
"""
|
|
11937
|
+
return self._ImageName
|
|
11938
|
+
|
|
11939
|
+
@ImageName.setter
|
|
11940
|
+
def ImageName(self, ImageName):
|
|
11941
|
+
self._ImageName = ImageName
|
|
11942
|
+
|
|
11943
|
+
@property
|
|
11944
|
+
def ImageDescription(self):
|
|
11945
|
+
"""镜像描述。
|
|
11946
|
+
:rtype: str
|
|
11947
|
+
"""
|
|
11948
|
+
return self._ImageDescription
|
|
11949
|
+
|
|
11950
|
+
@ImageDescription.setter
|
|
11951
|
+
def ImageDescription(self, ImageDescription):
|
|
11952
|
+
self._ImageDescription = ImageDescription
|
|
11953
|
+
|
|
11954
|
+
@property
|
|
11955
|
+
def ImageSize(self):
|
|
11956
|
+
"""镜像大小。单位GB。
|
|
11957
|
+
:rtype: int
|
|
11958
|
+
"""
|
|
11959
|
+
return self._ImageSize
|
|
11960
|
+
|
|
11961
|
+
@ImageSize.setter
|
|
11962
|
+
def ImageSize(self, ImageSize):
|
|
11963
|
+
self._ImageSize = ImageSize
|
|
11964
|
+
|
|
11965
|
+
@property
|
|
11966
|
+
def ImageSource(self):
|
|
11967
|
+
"""镜像来源。
|
|
11968
|
+
<li>CREATE_IMAGE:自定义镜像</li>
|
|
11969
|
+
<li>EXTERNAL_IMPORT:外部导入镜像</li>
|
|
11970
|
+
:rtype: str
|
|
11971
|
+
"""
|
|
11972
|
+
return self._ImageSource
|
|
11973
|
+
|
|
11974
|
+
@ImageSource.setter
|
|
11975
|
+
def ImageSource(self, ImageSource):
|
|
11976
|
+
self._ImageSource = ImageSource
|
|
11977
|
+
|
|
11978
|
+
@property
|
|
11979
|
+
def ImageClass(self):
|
|
11980
|
+
"""镜像分类
|
|
11981
|
+
<li>SystemImage:系统盘镜像</li>
|
|
11982
|
+
<li>InstanceImage:整机镜像</li>
|
|
11983
|
+
:rtype: str
|
|
11984
|
+
"""
|
|
11985
|
+
return self._ImageClass
|
|
11986
|
+
|
|
11987
|
+
@ImageClass.setter
|
|
11988
|
+
def ImageClass(self, ImageClass):
|
|
11989
|
+
self._ImageClass = ImageClass
|
|
11990
|
+
|
|
11991
|
+
@property
|
|
11992
|
+
def ImageState(self):
|
|
11993
|
+
"""镜像状态
|
|
11994
|
+
CREATING:创建中
|
|
11995
|
+
NORMAL:正常
|
|
11996
|
+
CREATEFAILED:创建失败
|
|
11997
|
+
USING:使用中
|
|
11998
|
+
SYNCING:同步中
|
|
11999
|
+
IMPORTING:导入中
|
|
12000
|
+
IMPORTFAILED:导入失败
|
|
12001
|
+
:rtype: str
|
|
12002
|
+
"""
|
|
12003
|
+
return self._ImageState
|
|
12004
|
+
|
|
12005
|
+
@ImageState.setter
|
|
12006
|
+
def ImageState(self, ImageState):
|
|
12007
|
+
self._ImageState = ImageState
|
|
12008
|
+
|
|
12009
|
+
@property
|
|
12010
|
+
def IsSupportCloudinit(self):
|
|
12011
|
+
"""镜像是否支持Cloudinit。
|
|
12012
|
+
:rtype: bool
|
|
12013
|
+
"""
|
|
12014
|
+
return self._IsSupportCloudinit
|
|
12015
|
+
|
|
12016
|
+
@IsSupportCloudinit.setter
|
|
12017
|
+
def IsSupportCloudinit(self, IsSupportCloudinit):
|
|
12018
|
+
self._IsSupportCloudinit = IsSupportCloudinit
|
|
12019
|
+
|
|
12020
|
+
@property
|
|
12021
|
+
def Architecture(self):
|
|
12022
|
+
"""镜像架构。
|
|
12023
|
+
:rtype: str
|
|
12024
|
+
"""
|
|
12025
|
+
return self._Architecture
|
|
12026
|
+
|
|
12027
|
+
@Architecture.setter
|
|
12028
|
+
def Architecture(self, Architecture):
|
|
12029
|
+
self._Architecture = Architecture
|
|
12030
|
+
|
|
12031
|
+
@property
|
|
12032
|
+
def OsName(self):
|
|
12033
|
+
"""镜像操作系统。
|
|
12034
|
+
:rtype: str
|
|
12035
|
+
"""
|
|
12036
|
+
return self._OsName
|
|
12037
|
+
|
|
12038
|
+
@OsName.setter
|
|
12039
|
+
def OsName(self, OsName):
|
|
12040
|
+
self._OsName = OsName
|
|
12041
|
+
|
|
12042
|
+
@property
|
|
12043
|
+
def Platform(self):
|
|
12044
|
+
"""镜像来源平台。
|
|
12045
|
+
:rtype: str
|
|
12046
|
+
"""
|
|
12047
|
+
return self._Platform
|
|
12048
|
+
|
|
12049
|
+
@Platform.setter
|
|
12050
|
+
def Platform(self, Platform):
|
|
12051
|
+
self._Platform = Platform
|
|
12052
|
+
|
|
12053
|
+
@property
|
|
12054
|
+
def CreatedTime(self):
|
|
12055
|
+
"""镜像创建时间。
|
|
12056
|
+
:rtype: str
|
|
12057
|
+
"""
|
|
12058
|
+
return self._CreatedTime
|
|
12059
|
+
|
|
12060
|
+
@CreatedTime.setter
|
|
12061
|
+
def CreatedTime(self, CreatedTime):
|
|
12062
|
+
self._CreatedTime = CreatedTime
|
|
12063
|
+
|
|
12064
|
+
@property
|
|
12065
|
+
def IsShareable(self):
|
|
12066
|
+
"""镜像是否可共享到轻量应用服务器。
|
|
12067
|
+
:rtype: bool
|
|
12068
|
+
"""
|
|
12069
|
+
return self._IsShareable
|
|
12070
|
+
|
|
12071
|
+
@IsShareable.setter
|
|
12072
|
+
def IsShareable(self, IsShareable):
|
|
12073
|
+
self._IsShareable = IsShareable
|
|
12074
|
+
|
|
12075
|
+
@property
|
|
12076
|
+
def UnshareableReason(self):
|
|
12077
|
+
"""不可共享的原因。
|
|
12078
|
+
:rtype: str
|
|
12079
|
+
"""
|
|
12080
|
+
return self._UnshareableReason
|
|
12081
|
+
|
|
12082
|
+
@UnshareableReason.setter
|
|
12083
|
+
def UnshareableReason(self, UnshareableReason):
|
|
12084
|
+
self._UnshareableReason = UnshareableReason
|
|
12085
|
+
|
|
12086
|
+
|
|
12087
|
+
def _deserialize(self, params):
|
|
12088
|
+
self._ImageId = params.get("ImageId")
|
|
12089
|
+
self._ImageName = params.get("ImageName")
|
|
12090
|
+
self._ImageDescription = params.get("ImageDescription")
|
|
12091
|
+
self._ImageSize = params.get("ImageSize")
|
|
12092
|
+
self._ImageSource = params.get("ImageSource")
|
|
12093
|
+
self._ImageClass = params.get("ImageClass")
|
|
12094
|
+
self._ImageState = params.get("ImageState")
|
|
12095
|
+
self._IsSupportCloudinit = params.get("IsSupportCloudinit")
|
|
12096
|
+
self._Architecture = params.get("Architecture")
|
|
12097
|
+
self._OsName = params.get("OsName")
|
|
12098
|
+
self._Platform = params.get("Platform")
|
|
12099
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
12100
|
+
self._IsShareable = params.get("IsShareable")
|
|
12101
|
+
self._UnshareableReason = params.get("UnshareableReason")
|
|
12102
|
+
memeber_set = set(params.keys())
|
|
12103
|
+
for name, value in vars(self).items():
|
|
12104
|
+
property_name = name[1:]
|
|
12105
|
+
if property_name in memeber_set:
|
|
12106
|
+
memeber_set.remove(property_name)
|
|
12107
|
+
if len(memeber_set) > 0:
|
|
12108
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12109
|
+
|
|
12110
|
+
|
|
12111
|
+
|
|
11674
12112
|
class ImportKeyPairRequest(AbstractModel):
|
|
11675
12113
|
"""ImportKeyPair请求参数结构体
|
|
11676
12114
|
|
|
@@ -14970,6 +15408,102 @@ class ModifyFirewallTemplateResponse(AbstractModel):
|
|
|
14970
15408
|
self._RequestId = params.get("RequestId")
|
|
14971
15409
|
|
|
14972
15410
|
|
|
15411
|
+
class ModifyImageSharePermissionRequest(AbstractModel):
|
|
15412
|
+
"""ModifyImageSharePermission请求参数结构体
|
|
15413
|
+
|
|
15414
|
+
"""
|
|
15415
|
+
|
|
15416
|
+
def __init__(self):
|
|
15417
|
+
r"""
|
|
15418
|
+
:param _ImageId: 镜像 ID。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
|
15419
|
+
:type ImageId: str
|
|
15420
|
+
:param _Permission: 共享属性,包括 SHARE,CANCEL。其中SHARE代表共享,CANCEL代表取消共享。
|
|
15421
|
+
:type Permission: str
|
|
15422
|
+
"""
|
|
15423
|
+
self._ImageId = None
|
|
15424
|
+
self._Permission = None
|
|
15425
|
+
|
|
15426
|
+
@property
|
|
15427
|
+
def ImageId(self):
|
|
15428
|
+
"""镜像 ID。可通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回值中的ImageId获取。
|
|
15429
|
+
:rtype: str
|
|
15430
|
+
"""
|
|
15431
|
+
return self._ImageId
|
|
15432
|
+
|
|
15433
|
+
@ImageId.setter
|
|
15434
|
+
def ImageId(self, ImageId):
|
|
15435
|
+
self._ImageId = ImageId
|
|
15436
|
+
|
|
15437
|
+
@property
|
|
15438
|
+
def Permission(self):
|
|
15439
|
+
"""共享属性,包括 SHARE,CANCEL。其中SHARE代表共享,CANCEL代表取消共享。
|
|
15440
|
+
:rtype: str
|
|
15441
|
+
"""
|
|
15442
|
+
return self._Permission
|
|
15443
|
+
|
|
15444
|
+
@Permission.setter
|
|
15445
|
+
def Permission(self, Permission):
|
|
15446
|
+
self._Permission = Permission
|
|
15447
|
+
|
|
15448
|
+
|
|
15449
|
+
def _deserialize(self, params):
|
|
15450
|
+
self._ImageId = params.get("ImageId")
|
|
15451
|
+
self._Permission = params.get("Permission")
|
|
15452
|
+
memeber_set = set(params.keys())
|
|
15453
|
+
for name, value in vars(self).items():
|
|
15454
|
+
property_name = name[1:]
|
|
15455
|
+
if property_name in memeber_set:
|
|
15456
|
+
memeber_set.remove(property_name)
|
|
15457
|
+
if len(memeber_set) > 0:
|
|
15458
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15459
|
+
|
|
15460
|
+
|
|
15461
|
+
|
|
15462
|
+
class ModifyImageSharePermissionResponse(AbstractModel):
|
|
15463
|
+
"""ModifyImageSharePermission返回参数结构体
|
|
15464
|
+
|
|
15465
|
+
"""
|
|
15466
|
+
|
|
15467
|
+
def __init__(self):
|
|
15468
|
+
r"""
|
|
15469
|
+
:param _BlueprintId: CVM自定义镜像共享到轻量应用服务器后的镜像ID。
|
|
15470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15471
|
+
:type BlueprintId: str
|
|
15472
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15473
|
+
:type RequestId: str
|
|
15474
|
+
"""
|
|
15475
|
+
self._BlueprintId = None
|
|
15476
|
+
self._RequestId = None
|
|
15477
|
+
|
|
15478
|
+
@property
|
|
15479
|
+
def BlueprintId(self):
|
|
15480
|
+
"""CVM自定义镜像共享到轻量应用服务器后的镜像ID。
|
|
15481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15482
|
+
:rtype: str
|
|
15483
|
+
"""
|
|
15484
|
+
return self._BlueprintId
|
|
15485
|
+
|
|
15486
|
+
@BlueprintId.setter
|
|
15487
|
+
def BlueprintId(self, BlueprintId):
|
|
15488
|
+
self._BlueprintId = BlueprintId
|
|
15489
|
+
|
|
15490
|
+
@property
|
|
15491
|
+
def RequestId(self):
|
|
15492
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15493
|
+
:rtype: str
|
|
15494
|
+
"""
|
|
15495
|
+
return self._RequestId
|
|
15496
|
+
|
|
15497
|
+
@RequestId.setter
|
|
15498
|
+
def RequestId(self, RequestId):
|
|
15499
|
+
self._RequestId = RequestId
|
|
15500
|
+
|
|
15501
|
+
|
|
15502
|
+
def _deserialize(self, params):
|
|
15503
|
+
self._BlueprintId = params.get("BlueprintId")
|
|
15504
|
+
self._RequestId = params.get("RequestId")
|
|
15505
|
+
|
|
15506
|
+
|
|
14973
15507
|
class ModifyInstancesAttributeRequest(AbstractModel):
|
|
14974
15508
|
"""ModifyInstancesAttribute请求参数结构体
|
|
14975
15509
|
|
|
@@ -13953,11 +13953,7 @@ class DescribeBillBandwidthAndFluxListRequest(AbstractModel):
|
|
|
13953
13953
|
:type EndTime: str
|
|
13954
13954
|
:param _PlayDomains: 直播播放域名,若不填,表示总体数据。
|
|
13955
13955
|
:type PlayDomains: list of str
|
|
13956
|
-
:param _MainlandOrOversea: 可选值:
|
|
13957
|
-
Mainland:查询国内数据,
|
|
13958
|
-
Oversea:则查询国外数据,
|
|
13959
|
-
默认:查询国内+国外的数据。
|
|
13960
|
-
注:LEB(快直播)只支持国内+国外数据查询。
|
|
13956
|
+
:param _MainlandOrOversea: 可选值:Mainland:查询国内数据,Oversea:则查询国外数据,默认:查询国内+国外的数据。
|
|
13961
13957
|
:type MainlandOrOversea: str
|
|
13962
13958
|
:param _Granularity: 数据粒度,支持如下粒度:
|
|
13963
13959
|
5:5分钟粒度,(跨度不支持超过1天),
|
|
@@ -14027,11 +14023,7 @@ Africa 非洲。
|
|
|
14027
14023
|
|
|
14028
14024
|
@property
|
|
14029
14025
|
def MainlandOrOversea(self):
|
|
14030
|
-
"""可选值:
|
|
14031
|
-
Mainland:查询国内数据,
|
|
14032
|
-
Oversea:则查询国外数据,
|
|
14033
|
-
默认:查询国内+国外的数据。
|
|
14034
|
-
注:LEB(快直播)只支持国内+国外数据查询。
|
|
14026
|
+
"""可选值:Mainland:查询国内数据,Oversea:则查询国外数据,默认:查询国内+国外的数据。
|
|
14035
14027
|
:rtype: str
|
|
14036
14028
|
"""
|
|
14037
14029
|
return self._MainlandOrOversea
|
|
@@ -1500,29 +1500,6 @@ class LkeClient(AbstractClient):
|
|
|
1500
1500
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1501
1501
|
|
|
1502
1502
|
|
|
1503
|
-
def ListAppCategory(self, request):
|
|
1504
|
-
"""应用类型列表
|
|
1505
|
-
|
|
1506
|
-
:param request: Request instance for ListAppCategory.
|
|
1507
|
-
:type request: :class:`tencentcloud.lke.v20231130.models.ListAppCategoryRequest`
|
|
1508
|
-
:rtype: :class:`tencentcloud.lke.v20231130.models.ListAppCategoryResponse`
|
|
1509
|
-
|
|
1510
|
-
"""
|
|
1511
|
-
try:
|
|
1512
|
-
params = request._serialize()
|
|
1513
|
-
headers = request.headers
|
|
1514
|
-
body = self.call("ListAppCategory", params, headers=headers)
|
|
1515
|
-
response = json.loads(body)
|
|
1516
|
-
model = models.ListAppCategoryResponse()
|
|
1517
|
-
model._deserialize(response["Response"])
|
|
1518
|
-
return model
|
|
1519
|
-
except Exception as e:
|
|
1520
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1521
|
-
raise
|
|
1522
|
-
else:
|
|
1523
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
1503
|
def ListAppKnowledgeDetail(self, request):
|
|
1527
1504
|
"""列表查询知识库容量详情
|
|
1528
1505
|
|