tencentcloud-sdk-python-tcr 3.1.155__tar.gz → 3.1.166__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.155 → tencentcloud_sdk_python_tcr-3.1.166}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/v20190924/models.py +619 -32
  5. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/v20190924/tcr_client.py +46 -0
  6. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/v20190924/tcr_client_async.py +36 -0
  7. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud_sdk_python_tcr.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tcr-3.1.166/tencentcloud_sdk_python_tcr.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tcr-3.1.155/tencentcloud_sdk_python_tcr.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/v20190924/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud/tcr/v20190924/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud_sdk_python_tcr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/tencentcloud_sdk_python_tcr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcr-3.1.155 → tencentcloud_sdk_python_tcr-3.1.166}/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.155
3
+ Version: 3.1.166
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.155
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
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.155,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.166,<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.155'
17
+ __version__ = '3.1.166'
@@ -8854,6 +8854,167 @@ class DescribeRegionsResponse(AbstractModel):
8854
8854
  self._RequestId = params.get("RequestId")
8855
8855
 
8856
8856
 
8857
+ class DescribeReplicationExecutionsRequest(AbstractModel):
8858
+ r"""DescribeReplicationExecutions请求参数结构体
8859
+
8860
+ """
8861
+
8862
+ def __init__(self):
8863
+ r"""
8864
+ :param _RegistryId: 实例ID
8865
+ :type RegistryId: str
8866
+ :param _PolicyId: 策略ID
8867
+ :type PolicyId: int
8868
+ :param _ReplicationInstanceId: 复制实例ID
8869
+ :type ReplicationInstanceId: str
8870
+ :param _Page: 页数,默认为1
8871
+ :type Page: int
8872
+ :param _PageSize: 每页展示个数,默认为100
8873
+ :type PageSize: int
8874
+ """
8875
+ self._RegistryId = None
8876
+ self._PolicyId = None
8877
+ self._ReplicationInstanceId = None
8878
+ self._Page = None
8879
+ self._PageSize = None
8880
+
8881
+ @property
8882
+ def RegistryId(self):
8883
+ r"""实例ID
8884
+ :rtype: str
8885
+ """
8886
+ return self._RegistryId
8887
+
8888
+ @RegistryId.setter
8889
+ def RegistryId(self, RegistryId):
8890
+ self._RegistryId = RegistryId
8891
+
8892
+ @property
8893
+ def PolicyId(self):
8894
+ r"""策略ID
8895
+ :rtype: int
8896
+ """
8897
+ return self._PolicyId
8898
+
8899
+ @PolicyId.setter
8900
+ def PolicyId(self, PolicyId):
8901
+ self._PolicyId = PolicyId
8902
+
8903
+ @property
8904
+ def ReplicationInstanceId(self):
8905
+ r"""复制实例ID
8906
+ :rtype: str
8907
+ """
8908
+ return self._ReplicationInstanceId
8909
+
8910
+ @ReplicationInstanceId.setter
8911
+ def ReplicationInstanceId(self, ReplicationInstanceId):
8912
+ self._ReplicationInstanceId = ReplicationInstanceId
8913
+
8914
+ @property
8915
+ def Page(self):
8916
+ r"""页数,默认为1
8917
+ :rtype: int
8918
+ """
8919
+ return self._Page
8920
+
8921
+ @Page.setter
8922
+ def Page(self, Page):
8923
+ self._Page = Page
8924
+
8925
+ @property
8926
+ def PageSize(self):
8927
+ r"""每页展示个数,默认为100
8928
+ :rtype: int
8929
+ """
8930
+ return self._PageSize
8931
+
8932
+ @PageSize.setter
8933
+ def PageSize(self, PageSize):
8934
+ self._PageSize = PageSize
8935
+
8936
+
8937
+ def _deserialize(self, params):
8938
+ self._RegistryId = params.get("RegistryId")
8939
+ self._PolicyId = params.get("PolicyId")
8940
+ self._ReplicationInstanceId = params.get("ReplicationInstanceId")
8941
+ self._Page = params.get("Page")
8942
+ self._PageSize = params.get("PageSize")
8943
+ memeber_set = set(params.keys())
8944
+ for name, value in vars(self).items():
8945
+ property_name = name[1:]
8946
+ if property_name in memeber_set:
8947
+ memeber_set.remove(property_name)
8948
+ if len(memeber_set) > 0:
8949
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8950
+
8951
+
8952
+
8953
+ class DescribeReplicationExecutionsResponse(AbstractModel):
8954
+ r"""DescribeReplicationExecutions返回参数结构体
8955
+
8956
+ """
8957
+
8958
+ def __init__(self):
8959
+ r"""
8960
+ :param _ReplicationExecutionList: 镜像分发执行记录列表
8961
+ 注意:此字段可能返回 null,表示取不到有效值。
8962
+ :type ReplicationExecutionList: list of ReplicationExecution
8963
+ :param _TotalCount: 执行记录总数
8964
+ :type TotalCount: int
8965
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8966
+ :type RequestId: str
8967
+ """
8968
+ self._ReplicationExecutionList = None
8969
+ self._TotalCount = None
8970
+ self._RequestId = None
8971
+
8972
+ @property
8973
+ def ReplicationExecutionList(self):
8974
+ r"""镜像分发执行记录列表
8975
+ 注意:此字段可能返回 null,表示取不到有效值。
8976
+ :rtype: list of ReplicationExecution
8977
+ """
8978
+ return self._ReplicationExecutionList
8979
+
8980
+ @ReplicationExecutionList.setter
8981
+ def ReplicationExecutionList(self, ReplicationExecutionList):
8982
+ self._ReplicationExecutionList = ReplicationExecutionList
8983
+
8984
+ @property
8985
+ def TotalCount(self):
8986
+ r"""执行记录总数
8987
+ :rtype: int
8988
+ """
8989
+ return self._TotalCount
8990
+
8991
+ @TotalCount.setter
8992
+ def TotalCount(self, TotalCount):
8993
+ self._TotalCount = TotalCount
8994
+
8995
+ @property
8996
+ def RequestId(self):
8997
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8998
+ :rtype: str
8999
+ """
9000
+ return self._RequestId
9001
+
9002
+ @RequestId.setter
9003
+ def RequestId(self, RequestId):
9004
+ self._RequestId = RequestId
9005
+
9006
+
9007
+ def _deserialize(self, params):
9008
+ if params.get("ReplicationExecutionList") is not None:
9009
+ self._ReplicationExecutionList = []
9010
+ for item in params.get("ReplicationExecutionList"):
9011
+ obj = ReplicationExecution()
9012
+ obj._deserialize(item)
9013
+ self._ReplicationExecutionList.append(obj)
9014
+ self._TotalCount = params.get("TotalCount")
9015
+ self._RequestId = params.get("RequestId")
9016
+
9017
+
8857
9018
  class DescribeReplicationInstanceCreateTasksRequest(AbstractModel):
8858
9019
  r"""DescribeReplicationInstanceCreateTasks请求参数结构体
8859
9020
 
@@ -9420,6 +9581,152 @@ class DescribeReplicationPoliciesResponse(AbstractModel):
9420
9581
  self._RequestId = params.get("RequestId")
9421
9582
 
9422
9583
 
9584
+ class DescribeReplicationTasksRequest(AbstractModel):
9585
+ r"""DescribeReplicationTasks请求参数结构体
9586
+
9587
+ """
9588
+
9589
+ def __init__(self):
9590
+ r"""
9591
+ :param _RegistryId: 实例ID
9592
+ :type RegistryId: str
9593
+ :param _ExecutionId: 执行记录ID
9594
+ :type ExecutionId: int
9595
+ :param _Page: 页数,默认为1
9596
+ :type Page: int
9597
+ :param _PageSize: 每页展示个数,默认为100
9598
+ :type PageSize: int
9599
+ """
9600
+ self._RegistryId = None
9601
+ self._ExecutionId = None
9602
+ self._Page = None
9603
+ self._PageSize = None
9604
+
9605
+ @property
9606
+ def RegistryId(self):
9607
+ r"""实例ID
9608
+ :rtype: str
9609
+ """
9610
+ return self._RegistryId
9611
+
9612
+ @RegistryId.setter
9613
+ def RegistryId(self, RegistryId):
9614
+ self._RegistryId = RegistryId
9615
+
9616
+ @property
9617
+ def ExecutionId(self):
9618
+ r"""执行记录ID
9619
+ :rtype: int
9620
+ """
9621
+ return self._ExecutionId
9622
+
9623
+ @ExecutionId.setter
9624
+ def ExecutionId(self, ExecutionId):
9625
+ self._ExecutionId = ExecutionId
9626
+
9627
+ @property
9628
+ def Page(self):
9629
+ r"""页数,默认为1
9630
+ :rtype: int
9631
+ """
9632
+ return self._Page
9633
+
9634
+ @Page.setter
9635
+ def Page(self, Page):
9636
+ self._Page = Page
9637
+
9638
+ @property
9639
+ def PageSize(self):
9640
+ r"""每页展示个数,默认为100
9641
+ :rtype: int
9642
+ """
9643
+ return self._PageSize
9644
+
9645
+ @PageSize.setter
9646
+ def PageSize(self, PageSize):
9647
+ self._PageSize = PageSize
9648
+
9649
+
9650
+ def _deserialize(self, params):
9651
+ self._RegistryId = params.get("RegistryId")
9652
+ self._ExecutionId = params.get("ExecutionId")
9653
+ self._Page = params.get("Page")
9654
+ self._PageSize = params.get("PageSize")
9655
+ memeber_set = set(params.keys())
9656
+ for name, value in vars(self).items():
9657
+ property_name = name[1:]
9658
+ if property_name in memeber_set:
9659
+ memeber_set.remove(property_name)
9660
+ if len(memeber_set) > 0:
9661
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9662
+
9663
+
9664
+
9665
+ class DescribeReplicationTasksResponse(AbstractModel):
9666
+ r"""DescribeReplicationTasks返回参数结构体
9667
+
9668
+ """
9669
+
9670
+ def __init__(self):
9671
+ r"""
9672
+ :param _ReplicationTaskList: 任务列表
9673
+ 注意:此字段可能返回 null,表示取不到有效值。
9674
+ :type ReplicationTaskList: list of ReplicationTask
9675
+ :param _TotalCount: 任务列表总数
9676
+ :type TotalCount: int
9677
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9678
+ :type RequestId: str
9679
+ """
9680
+ self._ReplicationTaskList = None
9681
+ self._TotalCount = None
9682
+ self._RequestId = None
9683
+
9684
+ @property
9685
+ def ReplicationTaskList(self):
9686
+ r"""任务列表
9687
+ 注意:此字段可能返回 null,表示取不到有效值。
9688
+ :rtype: list of ReplicationTask
9689
+ """
9690
+ return self._ReplicationTaskList
9691
+
9692
+ @ReplicationTaskList.setter
9693
+ def ReplicationTaskList(self, ReplicationTaskList):
9694
+ self._ReplicationTaskList = ReplicationTaskList
9695
+
9696
+ @property
9697
+ def TotalCount(self):
9698
+ r"""任务列表总数
9699
+ :rtype: int
9700
+ """
9701
+ return self._TotalCount
9702
+
9703
+ @TotalCount.setter
9704
+ def TotalCount(self, TotalCount):
9705
+ self._TotalCount = TotalCount
9706
+
9707
+ @property
9708
+ def RequestId(self):
9709
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9710
+ :rtype: str
9711
+ """
9712
+ return self._RequestId
9713
+
9714
+ @RequestId.setter
9715
+ def RequestId(self, RequestId):
9716
+ self._RequestId = RequestId
9717
+
9718
+
9719
+ def _deserialize(self, params):
9720
+ if params.get("ReplicationTaskList") is not None:
9721
+ self._ReplicationTaskList = []
9722
+ for item in params.get("ReplicationTaskList"):
9723
+ obj = ReplicationTask()
9724
+ obj._deserialize(item)
9725
+ self._ReplicationTaskList.append(obj)
9726
+ self._TotalCount = params.get("TotalCount")
9727
+ self._RequestId = params.get("RequestId")
9728
+
9729
+
9423
9730
  class DescribeRepositoriesRequest(AbstractModel):
9424
9731
  r"""DescribeRepositories请求参数结构体
9425
9732
 
@@ -16524,7 +16831,7 @@ class Registry(AbstractModel):
16524
16831
  :type RegionId: int
16525
16832
  :param _EnableAnonymous: <p>是否支持匿名</p>
16526
16833
  :type EnableAnonymous: bool
16527
- :param _TokenValidTime: <p>Token有效时间</p>
16834
+ :param _TokenValidTime: <p>Token有效时间,单位:小时</p>
16528
16835
  :type TokenValidTime: int
16529
16836
  :param _InternalEndpoint: <p>实例内部访问地址</p>
16530
16837
  :type InternalEndpoint: str
@@ -16667,7 +16974,7 @@ class Registry(AbstractModel):
16667
16974
 
16668
16975
  @property
16669
16976
  def TokenValidTime(self):
16670
- r"""<p>Token有效时间</p>
16977
+ r"""<p>Token有效时间,单位:小时</p>
16671
16978
  :rtype: int
16672
16979
  """
16673
16980
  return self._TokenValidTime
@@ -17108,6 +17415,146 @@ class RenewInstanceResponse(AbstractModel):
17108
17415
  self._RequestId = params.get("RequestId")
17109
17416
 
17110
17417
 
17418
+ class ReplicationExecution(AbstractModel):
17419
+ r"""策略执行记录
17420
+
17421
+ """
17422
+
17423
+ def __init__(self):
17424
+ r"""
17425
+ :param _ExecutionID: 执行记录ID
17426
+ 注意:此字段可能返回 null,表示取不到有效值。
17427
+ :type ExecutionID: int
17428
+ :param _PolicyID: 策略ID
17429
+ 注意:此字段可能返回 null,表示取不到有效值。
17430
+ :type PolicyID: int
17431
+ :param _Status: 执行状态
17432
+ 注意:此字段可能返回 null,表示取不到有效值。
17433
+ :type Status: str
17434
+ :param _Total: 执行任务总数
17435
+ 注意:此字段可能返回 null,表示取不到有效值。
17436
+ :type Total: int
17437
+ :param _Succeed: 执行任务成功数
17438
+ 注意:此字段可能返回 null,表示取不到有效值。
17439
+ :type Succeed: int
17440
+ :param _StartTime: 开始时间
17441
+ 注意:此字段可能返回 null,表示取不到有效值。
17442
+ :type StartTime: str
17443
+ :param _EndTime: 结束时间
17444
+ 注意:此字段可能返回 null,表示取不到有效值。
17445
+ :type EndTime: str
17446
+ """
17447
+ self._ExecutionID = None
17448
+ self._PolicyID = None
17449
+ self._Status = None
17450
+ self._Total = None
17451
+ self._Succeed = None
17452
+ self._StartTime = None
17453
+ self._EndTime = None
17454
+
17455
+ @property
17456
+ def ExecutionID(self):
17457
+ r"""执行记录ID
17458
+ 注意:此字段可能返回 null,表示取不到有效值。
17459
+ :rtype: int
17460
+ """
17461
+ return self._ExecutionID
17462
+
17463
+ @ExecutionID.setter
17464
+ def ExecutionID(self, ExecutionID):
17465
+ self._ExecutionID = ExecutionID
17466
+
17467
+ @property
17468
+ def PolicyID(self):
17469
+ r"""策略ID
17470
+ 注意:此字段可能返回 null,表示取不到有效值。
17471
+ :rtype: int
17472
+ """
17473
+ return self._PolicyID
17474
+
17475
+ @PolicyID.setter
17476
+ def PolicyID(self, PolicyID):
17477
+ self._PolicyID = PolicyID
17478
+
17479
+ @property
17480
+ def Status(self):
17481
+ r"""执行状态
17482
+ 注意:此字段可能返回 null,表示取不到有效值。
17483
+ :rtype: str
17484
+ """
17485
+ return self._Status
17486
+
17487
+ @Status.setter
17488
+ def Status(self, Status):
17489
+ self._Status = Status
17490
+
17491
+ @property
17492
+ def Total(self):
17493
+ r"""执行任务总数
17494
+ 注意:此字段可能返回 null,表示取不到有效值。
17495
+ :rtype: int
17496
+ """
17497
+ return self._Total
17498
+
17499
+ @Total.setter
17500
+ def Total(self, Total):
17501
+ self._Total = Total
17502
+
17503
+ @property
17504
+ def Succeed(self):
17505
+ r"""执行任务成功数
17506
+ 注意:此字段可能返回 null,表示取不到有效值。
17507
+ :rtype: int
17508
+ """
17509
+ return self._Succeed
17510
+
17511
+ @Succeed.setter
17512
+ def Succeed(self, Succeed):
17513
+ self._Succeed = Succeed
17514
+
17515
+ @property
17516
+ def StartTime(self):
17517
+ r"""开始时间
17518
+ 注意:此字段可能返回 null,表示取不到有效值。
17519
+ :rtype: str
17520
+ """
17521
+ return self._StartTime
17522
+
17523
+ @StartTime.setter
17524
+ def StartTime(self, StartTime):
17525
+ self._StartTime = StartTime
17526
+
17527
+ @property
17528
+ def EndTime(self):
17529
+ r"""结束时间
17530
+ 注意:此字段可能返回 null,表示取不到有效值。
17531
+ :rtype: str
17532
+ """
17533
+ return self._EndTime
17534
+
17535
+ @EndTime.setter
17536
+ def EndTime(self, EndTime):
17537
+ self._EndTime = EndTime
17538
+
17539
+
17540
+ def _deserialize(self, params):
17541
+ self._ExecutionID = params.get("ExecutionID")
17542
+ self._PolicyID = params.get("PolicyID")
17543
+ self._Status = params.get("Status")
17544
+ self._Total = params.get("Total")
17545
+ self._Succeed = params.get("Succeed")
17546
+ self._StartTime = params.get("StartTime")
17547
+ self._EndTime = params.get("EndTime")
17548
+ memeber_set = set(params.keys())
17549
+ for name, value in vars(self).items():
17550
+ property_name = name[1:]
17551
+ if property_name in memeber_set:
17552
+ memeber_set.remove(property_name)
17553
+ if len(memeber_set) > 0:
17554
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17555
+
17556
+
17557
+
17111
17558
  class ReplicationFilter(AbstractModel):
17112
17559
  r"""同步规则过滤器
17113
17560
 
@@ -17678,6 +18125,146 @@ class ReplicationRule(AbstractModel):
17678
18125
 
17679
18126
 
17680
18127
 
18128
+ class ReplicationTask(AbstractModel):
18129
+ r"""实例同步/实例复制任务列表
18130
+
18131
+ """
18132
+
18133
+ def __init__(self):
18134
+ r"""
18135
+ :param _ResourceType: 资源类型
18136
+ 注意:此字段可能返回 null,表示取不到有效值。
18137
+ :type ResourceType: str
18138
+ :param _SrcResource: 源资源
18139
+ 注意:此字段可能返回 null,表示取不到有效值。
18140
+ :type SrcResource: str
18141
+ :param _DstResource: 目的资源
18142
+ 注意:此字段可能返回 null,表示取不到有效值。
18143
+ :type DstResource: str
18144
+ :param _JobID: Job任务ID
18145
+ 注意:此字段可能返回 null,表示取不到有效值。
18146
+ :type JobID: str
18147
+ :param _Status: 任务执行状态
18148
+ 注意:此字段可能返回 null,表示取不到有效值。
18149
+ :type Status: str
18150
+ :param _StartTime: 开始时间
18151
+ 注意:此字段可能返回 null,表示取不到有效值。
18152
+ :type StartTime: str
18153
+ :param _EndTime: 结束时间
18154
+ 注意:此字段可能返回 null,表示取不到有效值。
18155
+ :type EndTime: str
18156
+ """
18157
+ self._ResourceType = None
18158
+ self._SrcResource = None
18159
+ self._DstResource = None
18160
+ self._JobID = None
18161
+ self._Status = None
18162
+ self._StartTime = None
18163
+ self._EndTime = None
18164
+
18165
+ @property
18166
+ def ResourceType(self):
18167
+ r"""资源类型
18168
+ 注意:此字段可能返回 null,表示取不到有效值。
18169
+ :rtype: str
18170
+ """
18171
+ return self._ResourceType
18172
+
18173
+ @ResourceType.setter
18174
+ def ResourceType(self, ResourceType):
18175
+ self._ResourceType = ResourceType
18176
+
18177
+ @property
18178
+ def SrcResource(self):
18179
+ r"""源资源
18180
+ 注意:此字段可能返回 null,表示取不到有效值。
18181
+ :rtype: str
18182
+ """
18183
+ return self._SrcResource
18184
+
18185
+ @SrcResource.setter
18186
+ def SrcResource(self, SrcResource):
18187
+ self._SrcResource = SrcResource
18188
+
18189
+ @property
18190
+ def DstResource(self):
18191
+ r"""目的资源
18192
+ 注意:此字段可能返回 null,表示取不到有效值。
18193
+ :rtype: str
18194
+ """
18195
+ return self._DstResource
18196
+
18197
+ @DstResource.setter
18198
+ def DstResource(self, DstResource):
18199
+ self._DstResource = DstResource
18200
+
18201
+ @property
18202
+ def JobID(self):
18203
+ r"""Job任务ID
18204
+ 注意:此字段可能返回 null,表示取不到有效值。
18205
+ :rtype: str
18206
+ """
18207
+ return self._JobID
18208
+
18209
+ @JobID.setter
18210
+ def JobID(self, JobID):
18211
+ self._JobID = JobID
18212
+
18213
+ @property
18214
+ def Status(self):
18215
+ r"""任务执行状态
18216
+ 注意:此字段可能返回 null,表示取不到有效值。
18217
+ :rtype: str
18218
+ """
18219
+ return self._Status
18220
+
18221
+ @Status.setter
18222
+ def Status(self, Status):
18223
+ self._Status = Status
18224
+
18225
+ @property
18226
+ def StartTime(self):
18227
+ r"""开始时间
18228
+ 注意:此字段可能返回 null,表示取不到有效值。
18229
+ :rtype: str
18230
+ """
18231
+ return self._StartTime
18232
+
18233
+ @StartTime.setter
18234
+ def StartTime(self, StartTime):
18235
+ self._StartTime = StartTime
18236
+
18237
+ @property
18238
+ def EndTime(self):
18239
+ r"""结束时间
18240
+ 注意:此字段可能返回 null,表示取不到有效值。
18241
+ :rtype: str
18242
+ """
18243
+ return self._EndTime
18244
+
18245
+ @EndTime.setter
18246
+ def EndTime(self, EndTime):
18247
+ self._EndTime = EndTime
18248
+
18249
+
18250
+ def _deserialize(self, params):
18251
+ self._ResourceType = params.get("ResourceType")
18252
+ self._SrcResource = params.get("SrcResource")
18253
+ self._DstResource = params.get("DstResource")
18254
+ self._JobID = params.get("JobID")
18255
+ self._Status = params.get("Status")
18256
+ self._StartTime = params.get("StartTime")
18257
+ self._EndTime = params.get("EndTime")
18258
+ memeber_set = set(params.keys())
18259
+ for name, value in vars(self).items():
18260
+ property_name = name[1:]
18261
+ if property_name in memeber_set:
18262
+ memeber_set.remove(property_name)
18263
+ if len(memeber_set) > 0:
18264
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18265
+
18266
+
18267
+
17681
18268
  class RepoInfo(AbstractModel):
17682
18269
  r"""仓库的信息
17683
18270
 
@@ -19491,35 +20078,35 @@ class TagInfo(AbstractModel):
19491
20078
 
19492
20079
  def __init__(self):
19493
20080
  r"""
19494
- :param _TagName: Tag名称
20081
+ :param _TagName: <p>Tag名称</p>
19495
20082
  :type TagName: str
19496
- :param _TagId: 制品的 ID
20083
+ :param _TagId: <p>制品的 ID</p>
19497
20084
  :type TagId: str
19498
- :param _ImageId: docker image 可以看到的id
20085
+ :param _ImageId: <p>docker image 可以看到的id</p>
19499
20086
  :type ImageId: str
19500
- :param _Size: 大小
20087
+ :param _Size: <p>大小</p>
19501
20088
  :type Size: str
19502
- :param _CreationTime: 制品的创建时间
20089
+ :param _CreationTime: <p>制品的创建时间</p>
19503
20090
  :type CreationTime: str
19504
- :param _DurationDays: 制品创建至今时间长度
20091
+ :param _DurationDays: <p>制品创建至今时间长度</p>
19505
20092
  :type DurationDays: str
19506
- :param _Author: 标注的制品作者
20093
+ :param _Author: <p>标注的制品作者</p>
19507
20094
  :type Author: str
19508
- :param _Architecture: 标注的制品平台
20095
+ :param _Architecture: <p>标注的制品平台</p>
19509
20096
  :type Architecture: str
19510
- :param _DockerVersion: 创建制品的 Docker 版本
20097
+ :param _DockerVersion: <p>创建制品的 Docker 版本</p>
19511
20098
  :type DockerVersion: str
19512
- :param _OS: 标注的制品操作系统
20099
+ :param _OS: <p>标注的制品操作系统</p>
19513
20100
  :type OS: str
19514
- :param _SizeByte: 制品大小
20101
+ :param _SizeByte: <p>制品大小,单位:Byte</p>
19515
20102
  :type SizeByte: int
19516
- :param _Id: 序号
20103
+ :param _Id: <p>序号</p>
19517
20104
  :type Id: int
19518
- :param _UpdateTime: 数据更新时间
20105
+ :param _UpdateTime: <p>数据更新时间</p>
19519
20106
  :type UpdateTime: str
19520
- :param _PushTime: 制品更新时间
20107
+ :param _PushTime: <p>制品更新时间</p>
19521
20108
  :type PushTime: str
19522
- :param _Kind: 制品类型
20109
+ :param _Kind: <p>制品类型</p>
19523
20110
  :type Kind: str
19524
20111
  """
19525
20112
  self._TagName = None
@@ -19540,7 +20127,7 @@ class TagInfo(AbstractModel):
19540
20127
 
19541
20128
  @property
19542
20129
  def TagName(self):
19543
- r"""Tag名称
20130
+ r"""<p>Tag名称</p>
19544
20131
  :rtype: str
19545
20132
  """
19546
20133
  return self._TagName
@@ -19551,7 +20138,7 @@ class TagInfo(AbstractModel):
19551
20138
 
19552
20139
  @property
19553
20140
  def TagId(self):
19554
- r"""制品的 ID
20141
+ r"""<p>制品的 ID</p>
19555
20142
  :rtype: str
19556
20143
  """
19557
20144
  return self._TagId
@@ -19562,7 +20149,7 @@ class TagInfo(AbstractModel):
19562
20149
 
19563
20150
  @property
19564
20151
  def ImageId(self):
19565
- r"""docker image 可以看到的id
20152
+ r"""<p>docker image 可以看到的id</p>
19566
20153
  :rtype: str
19567
20154
  """
19568
20155
  return self._ImageId
@@ -19573,7 +20160,7 @@ class TagInfo(AbstractModel):
19573
20160
 
19574
20161
  @property
19575
20162
  def Size(self):
19576
- r"""大小
20163
+ r"""<p>大小</p>
19577
20164
  :rtype: str
19578
20165
  """
19579
20166
  return self._Size
@@ -19584,7 +20171,7 @@ class TagInfo(AbstractModel):
19584
20171
 
19585
20172
  @property
19586
20173
  def CreationTime(self):
19587
- r"""制品的创建时间
20174
+ r"""<p>制品的创建时间</p>
19588
20175
  :rtype: str
19589
20176
  """
19590
20177
  return self._CreationTime
@@ -19595,7 +20182,7 @@ class TagInfo(AbstractModel):
19595
20182
 
19596
20183
  @property
19597
20184
  def DurationDays(self):
19598
- r"""制品创建至今时间长度
20185
+ r"""<p>制品创建至今时间长度</p>
19599
20186
  :rtype: str
19600
20187
  """
19601
20188
  return self._DurationDays
@@ -19606,7 +20193,7 @@ class TagInfo(AbstractModel):
19606
20193
 
19607
20194
  @property
19608
20195
  def Author(self):
19609
- r"""标注的制品作者
20196
+ r"""<p>标注的制品作者</p>
19610
20197
  :rtype: str
19611
20198
  """
19612
20199
  return self._Author
@@ -19617,7 +20204,7 @@ class TagInfo(AbstractModel):
19617
20204
 
19618
20205
  @property
19619
20206
  def Architecture(self):
19620
- r"""标注的制品平台
20207
+ r"""<p>标注的制品平台</p>
19621
20208
  :rtype: str
19622
20209
  """
19623
20210
  return self._Architecture
@@ -19628,7 +20215,7 @@ class TagInfo(AbstractModel):
19628
20215
 
19629
20216
  @property
19630
20217
  def DockerVersion(self):
19631
- r"""创建制品的 Docker 版本
20218
+ r"""<p>创建制品的 Docker 版本</p>
19632
20219
  :rtype: str
19633
20220
  """
19634
20221
  return self._DockerVersion
@@ -19639,7 +20226,7 @@ class TagInfo(AbstractModel):
19639
20226
 
19640
20227
  @property
19641
20228
  def OS(self):
19642
- r"""标注的制品操作系统
20229
+ r"""<p>标注的制品操作系统</p>
19643
20230
  :rtype: str
19644
20231
  """
19645
20232
  return self._OS
@@ -19650,7 +20237,7 @@ class TagInfo(AbstractModel):
19650
20237
 
19651
20238
  @property
19652
20239
  def SizeByte(self):
19653
- r"""制品大小
20240
+ r"""<p>制品大小,单位:Byte</p>
19654
20241
  :rtype: int
19655
20242
  """
19656
20243
  return self._SizeByte
@@ -19661,7 +20248,7 @@ class TagInfo(AbstractModel):
19661
20248
 
19662
20249
  @property
19663
20250
  def Id(self):
19664
- r"""序号
20251
+ r"""<p>序号</p>
19665
20252
  :rtype: int
19666
20253
  """
19667
20254
  return self._Id
@@ -19672,7 +20259,7 @@ class TagInfo(AbstractModel):
19672
20259
 
19673
20260
  @property
19674
20261
  def UpdateTime(self):
19675
- r"""数据更新时间
20262
+ r"""<p>数据更新时间</p>
19676
20263
  :rtype: str
19677
20264
  """
19678
20265
  return self._UpdateTime
@@ -19683,7 +20270,7 @@ class TagInfo(AbstractModel):
19683
20270
 
19684
20271
  @property
19685
20272
  def PushTime(self):
19686
- r"""制品更新时间
20273
+ r"""<p>制品更新时间</p>
19687
20274
  :rtype: str
19688
20275
  """
19689
20276
  return self._PushTime
@@ -19694,7 +20281,7 @@ class TagInfo(AbstractModel):
19694
20281
 
19695
20282
  @property
19696
20283
  def Kind(self):
19697
- r"""制品类型
20284
+ r"""<p>制品类型</p>
19698
20285
  :rtype: str
19699
20286
  """
19700
20287
  return self._Kind
@@ -1776,6 +1776,29 @@ class TcrClient(AbstractClient):
1776
1776
  raise TencentCloudSDKException(type(e).__name__, str(e))
1777
1777
 
1778
1778
 
1779
+ def DescribeReplicationExecutions(self, request):
1780
+ r"""实例同步/实例复制策略执行记录列表
1781
+
1782
+ :param request: Request instance for DescribeReplicationExecutions.
1783
+ :type request: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationExecutionsRequest`
1784
+ :rtype: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationExecutionsResponse`
1785
+
1786
+ """
1787
+ try:
1788
+ params = request._serialize()
1789
+ headers = request.headers
1790
+ body = self.call("DescribeReplicationExecutions", params, headers=headers)
1791
+ response = json.loads(body)
1792
+ model = models.DescribeReplicationExecutionsResponse()
1793
+ model._deserialize(response["Response"])
1794
+ return model
1795
+ except Exception as e:
1796
+ if isinstance(e, TencentCloudSDKException):
1797
+ raise
1798
+ else:
1799
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1800
+
1801
+
1779
1802
  def DescribeReplicationInstanceCreateTasks(self, request):
1780
1803
  r"""查询创建从实例任务状态
1781
1804
 
@@ -1868,6 +1891,29 @@ class TcrClient(AbstractClient):
1868
1891
  raise TencentCloudSDKException(type(e).__name__, str(e))
1869
1892
 
1870
1893
 
1894
+ def DescribeReplicationTasks(self, request):
1895
+ r"""实例同步/实例复制执行任务列表
1896
+
1897
+ :param request: Request instance for DescribeReplicationTasks.
1898
+ :type request: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationTasksRequest`
1899
+ :rtype: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationTasksResponse`
1900
+
1901
+ """
1902
+ try:
1903
+ params = request._serialize()
1904
+ headers = request.headers
1905
+ body = self.call("DescribeReplicationTasks", params, headers=headers)
1906
+ response = json.loads(body)
1907
+ model = models.DescribeReplicationTasksResponse()
1908
+ model._deserialize(response["Response"])
1909
+ return model
1910
+ except Exception as e:
1911
+ if isinstance(e, TencentCloudSDKException):
1912
+ raise
1913
+ else:
1914
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1915
+
1916
+
1871
1917
  def DescribeRepositories(self, request):
1872
1918
  r"""查询镜像仓库列表或指定镜像仓库信息
1873
1919
 
@@ -1395,6 +1395,24 @@ class TcrClient(AbstractClient):
1395
1395
 
1396
1396
  return await self.call_and_deserialize(**kwargs)
1397
1397
 
1398
+ async def DescribeReplicationExecutions(
1399
+ self,
1400
+ request: models.DescribeReplicationExecutionsRequest,
1401
+ opts: Dict = None,
1402
+ ) -> models.DescribeReplicationExecutionsResponse:
1403
+ """
1404
+ 实例同步/实例复制策略执行记录列表
1405
+ """
1406
+
1407
+ kwargs = {}
1408
+ kwargs["action"] = "DescribeReplicationExecutions"
1409
+ kwargs["params"] = request._serialize()
1410
+ kwargs["resp_cls"] = models.DescribeReplicationExecutionsResponse
1411
+ kwargs["headers"] = request.headers
1412
+ kwargs["opts"] = opts or {}
1413
+
1414
+ return await self.call_and_deserialize(**kwargs)
1415
+
1398
1416
  async def DescribeReplicationInstanceCreateTasks(
1399
1417
  self,
1400
1418
  request: models.DescribeReplicationInstanceCreateTasksRequest,
@@ -1467,6 +1485,24 @@ class TcrClient(AbstractClient):
1467
1485
 
1468
1486
  return await self.call_and_deserialize(**kwargs)
1469
1487
 
1488
+ async def DescribeReplicationTasks(
1489
+ self,
1490
+ request: models.DescribeReplicationTasksRequest,
1491
+ opts: Dict = None,
1492
+ ) -> models.DescribeReplicationTasksResponse:
1493
+ """
1494
+ 实例同步/实例复制执行任务列表
1495
+ """
1496
+
1497
+ kwargs = {}
1498
+ kwargs["action"] = "DescribeReplicationTasks"
1499
+ kwargs["params"] = request._serialize()
1500
+ kwargs["resp_cls"] = models.DescribeReplicationTasksResponse
1501
+ kwargs["headers"] = request.headers
1502
+ kwargs["opts"] = opts or {}
1503
+
1504
+ return await self.call_and_deserialize(**kwargs)
1505
+
1470
1506
  async def DescribeRepositories(
1471
1507
  self,
1472
1508
  request: models.DescribeRepositoriesRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcr
3
- Version: 3.1.155
3
+ Version: 3.1.166
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.155
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.166
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.155