tencentcloud-sdk-python-tcr 3.1.16__tar.gz → 3.1.33__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/v20190924/models.py +188 -0
  5. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/v20190924/tcr_client.py +46 -0
  6. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/v20190924/tcr_client_async.py +36 -0
  7. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud_sdk_python_tcr.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tcr-3.1.33/tencentcloud_sdk_python_tcr.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tcr-3.1.16/tencentcloud_sdk_python_tcr.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/v20190924/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud/tcr/v20190924/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud_sdk_python_tcr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud_sdk_python_tcr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcr-3.1.16 → tencentcloud_sdk_python_tcr-3.1.33}/tencentcloud_sdk_python_tcr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcr
3
- Version: 3.1.16
3
+ Version: 3.1.33
4
4
  Summary: Tencent Cloud Tcr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.16
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.33
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tcr',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.16,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.33,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tcr SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.16'
17
+ __version__ = '3.1.33'
@@ -12597,6 +12597,100 @@ class ModifyInstanceResponse(AbstractModel):
12597
12597
  self._RequestId = params.get("RequestId")
12598
12598
 
12599
12599
 
12600
+ class ModifyInstanceStorageRequest(AbstractModel):
12601
+ r"""ModifyInstanceStorage请求参数结构体
12602
+
12603
+ """
12604
+
12605
+ def __init__(self):
12606
+ r"""
12607
+ :param _RegistryId: <p>实例ID</p>
12608
+ :type RegistryId: str
12609
+ :param _TargetRegion: <p>目标存储资源地域</p>
12610
+ :type TargetRegion: str
12611
+ :param _TargetStorageName: <p>目标存储资源名称</p>
12612
+ :type TargetStorageName: str
12613
+ """
12614
+ self._RegistryId = None
12615
+ self._TargetRegion = None
12616
+ self._TargetStorageName = None
12617
+
12618
+ @property
12619
+ def RegistryId(self):
12620
+ r"""<p>实例ID</p>
12621
+ :rtype: str
12622
+ """
12623
+ return self._RegistryId
12624
+
12625
+ @RegistryId.setter
12626
+ def RegistryId(self, RegistryId):
12627
+ self._RegistryId = RegistryId
12628
+
12629
+ @property
12630
+ def TargetRegion(self):
12631
+ r"""<p>目标存储资源地域</p>
12632
+ :rtype: str
12633
+ """
12634
+ return self._TargetRegion
12635
+
12636
+ @TargetRegion.setter
12637
+ def TargetRegion(self, TargetRegion):
12638
+ self._TargetRegion = TargetRegion
12639
+
12640
+ @property
12641
+ def TargetStorageName(self):
12642
+ r"""<p>目标存储资源名称</p>
12643
+ :rtype: str
12644
+ """
12645
+ return self._TargetStorageName
12646
+
12647
+ @TargetStorageName.setter
12648
+ def TargetStorageName(self, TargetStorageName):
12649
+ self._TargetStorageName = TargetStorageName
12650
+
12651
+
12652
+ def _deserialize(self, params):
12653
+ self._RegistryId = params.get("RegistryId")
12654
+ self._TargetRegion = params.get("TargetRegion")
12655
+ self._TargetStorageName = params.get("TargetStorageName")
12656
+ memeber_set = set(params.keys())
12657
+ for name, value in vars(self).items():
12658
+ property_name = name[1:]
12659
+ if property_name in memeber_set:
12660
+ memeber_set.remove(property_name)
12661
+ if len(memeber_set) > 0:
12662
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12663
+
12664
+
12665
+
12666
+ class ModifyInstanceStorageResponse(AbstractModel):
12667
+ r"""ModifyInstanceStorage返回参数结构体
12668
+
12669
+ """
12670
+
12671
+ def __init__(self):
12672
+ r"""
12673
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12674
+ :type RequestId: str
12675
+ """
12676
+ self._RequestId = None
12677
+
12678
+ @property
12679
+ def RequestId(self):
12680
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12681
+ :rtype: str
12682
+ """
12683
+ return self._RequestId
12684
+
12685
+ @RequestId.setter
12686
+ def RequestId(self, RequestId):
12687
+ self._RequestId = RequestId
12688
+
12689
+
12690
+ def _deserialize(self, params):
12691
+ self._RequestId = params.get("RequestId")
12692
+
12693
+
12600
12694
  class ModifyInstanceTokenRequest(AbstractModel):
12601
12695
  r"""ModifyInstanceToken请求参数结构体
12602
12696
 
@@ -17870,6 +17964,100 @@ class TcrRepositoryInfo(AbstractModel):
17870
17964
 
17871
17965
 
17872
17966
 
17967
+ class TerminateGCJobRequest(AbstractModel):
17968
+ r"""TerminateGCJob请求参数结构体
17969
+
17970
+ """
17971
+
17972
+ def __init__(self):
17973
+ r"""
17974
+ :param _RegistryId: <p>实例ID</p>
17975
+ :type RegistryId: str
17976
+ """
17977
+ self._RegistryId = None
17978
+
17979
+ @property
17980
+ def RegistryId(self):
17981
+ r"""<p>实例ID</p>
17982
+ :rtype: str
17983
+ """
17984
+ return self._RegistryId
17985
+
17986
+ @RegistryId.setter
17987
+ def RegistryId(self, RegistryId):
17988
+ self._RegistryId = RegistryId
17989
+
17990
+
17991
+ def _deserialize(self, params):
17992
+ self._RegistryId = params.get("RegistryId")
17993
+ memeber_set = set(params.keys())
17994
+ for name, value in vars(self).items():
17995
+ property_name = name[1:]
17996
+ if property_name in memeber_set:
17997
+ memeber_set.remove(property_name)
17998
+ if len(memeber_set) > 0:
17999
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18000
+
18001
+
18002
+
18003
+ class TerminateGCJobResponse(AbstractModel):
18004
+ r"""TerminateGCJob返回参数结构体
18005
+
18006
+ """
18007
+
18008
+ def __init__(self):
18009
+ r"""
18010
+ :param _Status: <p>操作结果</p>枚举值:<ul><li> success: 操作成功</li><li> error: 操作失败</li></ul>
18011
+ :type Status: str
18012
+ :param _Message: <p>操作结果详细信息</p>
18013
+ :type Message: str
18014
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18015
+ :type RequestId: str
18016
+ """
18017
+ self._Status = None
18018
+ self._Message = None
18019
+ self._RequestId = None
18020
+
18021
+ @property
18022
+ def Status(self):
18023
+ r"""<p>操作结果</p>枚举值:<ul><li> success: 操作成功</li><li> error: 操作失败</li></ul>
18024
+ :rtype: str
18025
+ """
18026
+ return self._Status
18027
+
18028
+ @Status.setter
18029
+ def Status(self, Status):
18030
+ self._Status = Status
18031
+
18032
+ @property
18033
+ def Message(self):
18034
+ r"""<p>操作结果详细信息</p>
18035
+ :rtype: str
18036
+ """
18037
+ return self._Message
18038
+
18039
+ @Message.setter
18040
+ def Message(self, Message):
18041
+ self._Message = Message
18042
+
18043
+ @property
18044
+ def RequestId(self):
18045
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18046
+ :rtype: str
18047
+ """
18048
+ return self._RequestId
18049
+
18050
+ @RequestId.setter
18051
+ def RequestId(self, RequestId):
18052
+ self._RequestId = RequestId
18053
+
18054
+
18055
+ def _deserialize(self, params):
18056
+ self._Status = params.get("Status")
18057
+ self._Message = params.get("Message")
18058
+ self._RequestId = params.get("RequestId")
18059
+
18060
+
17873
18061
  class TriggerInvokeCondition(AbstractModel):
17874
18062
  r"""触发器触发条件
17875
18063
 
@@ -2282,6 +2282,29 @@ class TcrClient(AbstractClient):
2282
2282
  raise TencentCloudSDKException(type(e).__name__, str(e))
2283
2283
 
2284
2284
 
2285
+ def ModifyInstanceStorage(self, request):
2286
+ r"""TCR实例存储桶切换
2287
+
2288
+ :param request: Request instance for ModifyInstanceStorage.
2289
+ :type request: :class:`tencentcloud.tcr.v20190924.models.ModifyInstanceStorageRequest`
2290
+ :rtype: :class:`tencentcloud.tcr.v20190924.models.ModifyInstanceStorageResponse`
2291
+
2292
+ """
2293
+ try:
2294
+ params = request._serialize()
2295
+ headers = request.headers
2296
+ body = self.call("ModifyInstanceStorage", params, headers=headers)
2297
+ response = json.loads(body)
2298
+ model = models.ModifyInstanceStorageResponse()
2299
+ model._deserialize(response["Response"])
2300
+ return model
2301
+ except Exception as e:
2302
+ if isinstance(e, TencentCloudSDKException):
2303
+ raise
2304
+ else:
2305
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2306
+
2307
+
2285
2308
  def ModifyInstanceToken(self, request):
2286
2309
  r"""更新实例内指定长期访问凭证的启用状态
2287
2310
 
@@ -2558,6 +2581,29 @@ class TcrClient(AbstractClient):
2558
2581
  raise TencentCloudSDKException(type(e).__name__, str(e))
2559
2582
 
2560
2583
 
2584
+ def TerminateGCJob(self, request):
2585
+ r"""终止制品清理任务
2586
+
2587
+ :param request: Request instance for TerminateGCJob.
2588
+ :type request: :class:`tencentcloud.tcr.v20190924.models.TerminateGCJobRequest`
2589
+ :rtype: :class:`tencentcloud.tcr.v20190924.models.TerminateGCJobResponse`
2590
+
2591
+ """
2592
+ try:
2593
+ params = request._serialize()
2594
+ headers = request.headers
2595
+ body = self.call("TerminateGCJob", params, headers=headers)
2596
+ response = json.loads(body)
2597
+ model = models.TerminateGCJobResponse()
2598
+ model._deserialize(response["Response"])
2599
+ return model
2600
+ except Exception as e:
2601
+ if isinstance(e, TencentCloudSDKException):
2602
+ raise
2603
+ else:
2604
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2605
+
2606
+
2561
2607
  def ValidateNamespaceExistPersonal(self, request):
2562
2608
  r"""查询个人版用户命名空间是否存在
2563
2609
 
@@ -1791,6 +1791,24 @@ class TcrClient(AbstractClient):
1791
1791
 
1792
1792
  return await self.call_and_deserialize(**kwargs)
1793
1793
 
1794
+ async def ModifyInstanceStorage(
1795
+ self,
1796
+ request: models.ModifyInstanceStorageRequest,
1797
+ opts: Dict = None,
1798
+ ) -> models.ModifyInstanceStorageResponse:
1799
+ """
1800
+ TCR实例存储桶切换
1801
+ """
1802
+
1803
+ kwargs = {}
1804
+ kwargs["action"] = "ModifyInstanceStorage"
1805
+ kwargs["params"] = request._serialize()
1806
+ kwargs["resp_cls"] = models.ModifyInstanceStorageResponse
1807
+ kwargs["headers"] = request.headers
1808
+ kwargs["opts"] = opts or {}
1809
+
1810
+ return await self.call_and_deserialize(**kwargs)
1811
+
1794
1812
  async def ModifyInstanceToken(
1795
1813
  self,
1796
1814
  request: models.ModifyInstanceTokenRequest,
@@ -2007,6 +2025,24 @@ class TcrClient(AbstractClient):
2007
2025
 
2008
2026
  return await self.call_and_deserialize(**kwargs)
2009
2027
 
2028
+ async def TerminateGCJob(
2029
+ self,
2030
+ request: models.TerminateGCJobRequest,
2031
+ opts: Dict = None,
2032
+ ) -> models.TerminateGCJobResponse:
2033
+ """
2034
+ 终止制品清理任务
2035
+ """
2036
+
2037
+ kwargs = {}
2038
+ kwargs["action"] = "TerminateGCJob"
2039
+ kwargs["params"] = request._serialize()
2040
+ kwargs["resp_cls"] = models.TerminateGCJobResponse
2041
+ kwargs["headers"] = request.headers
2042
+ kwargs["opts"] = opts or {}
2043
+
2044
+ return await self.call_and_deserialize(**kwargs)
2045
+
2010
2046
  async def ValidateNamespaceExistPersonal(
2011
2047
  self,
2012
2048
  request: models.ValidateNamespaceExistPersonalRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcr
3
- Version: 3.1.16
3
+ Version: 3.1.33
4
4
  Summary: Tencent Cloud Tcr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.16
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.33
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.33
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.16