tencentcloud-sdk-python-tcr 3.1.171__tar.gz → 3.1.222__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.171 → tencentcloud_sdk_python_tcr-3.1.222}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/v20190924/models.py +137 -28
  5. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud_sdk_python_tcr.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tcr-3.1.222/tencentcloud_sdk_python_tcr.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tcr-3.1.171/tencentcloud_sdk_python_tcr.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/v20190924/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/v20190924/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/v20190924/tcr_client.py +0 -0
  14. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud/tcr/v20190924/tcr_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud_sdk_python_tcr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/tencentcloud_sdk_python_tcr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcr-3.1.171 → tencentcloud_sdk_python_tcr-3.1.222}/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.171
3
+ Version: 3.1.222
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.171
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.222
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.171,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.222,<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.171'
17
+ __version__ = '3.1.222'
@@ -3361,20 +3361,26 @@ class CreateWebhookTriggerRequest(AbstractModel):
3361
3361
 
3362
3362
  def __init__(self):
3363
3363
  r"""
3364
- :param _RegistryId: 实例 Id
3364
+ :param _RegistryId: <p>实例 Id</p>
3365
3365
  :type RegistryId: str
3366
- :param _Trigger: 触发器参数
3366
+ :param _Trigger: <p>触发器参数</p>
3367
3367
  :type Trigger: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
3368
- :param _Namespace: 命名空间
3368
+ :param _Namespace: <p>命名空间</p>
3369
3369
  :type Namespace: str
3370
+ :param _Product: <p>产品名称,非空时创建的 webhook 将被隐藏</p>
3371
+ :type Product: str
3372
+ :param _PreheatRegion: <p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
3373
+ :type PreheatRegion: str
3370
3374
  """
3371
3375
  self._RegistryId = None
3372
3376
  self._Trigger = None
3373
3377
  self._Namespace = None
3378
+ self._Product = None
3379
+ self._PreheatRegion = None
3374
3380
 
3375
3381
  @property
3376
3382
  def RegistryId(self):
3377
- r"""实例 Id
3383
+ r"""<p>实例 Id</p>
3378
3384
  :rtype: str
3379
3385
  """
3380
3386
  return self._RegistryId
@@ -3385,7 +3391,7 @@ class CreateWebhookTriggerRequest(AbstractModel):
3385
3391
 
3386
3392
  @property
3387
3393
  def Trigger(self):
3388
- r"""触发器参数
3394
+ r"""<p>触发器参数</p>
3389
3395
  :rtype: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
3390
3396
  """
3391
3397
  return self._Trigger
@@ -3396,7 +3402,7 @@ class CreateWebhookTriggerRequest(AbstractModel):
3396
3402
 
3397
3403
  @property
3398
3404
  def Namespace(self):
3399
- r"""命名空间
3405
+ r"""<p>命名空间</p>
3400
3406
  :rtype: str
3401
3407
  """
3402
3408
  return self._Namespace
@@ -3405,6 +3411,28 @@ class CreateWebhookTriggerRequest(AbstractModel):
3405
3411
  def Namespace(self, Namespace):
3406
3412
  self._Namespace = Namespace
3407
3413
 
3414
+ @property
3415
+ def Product(self):
3416
+ r"""<p>产品名称,非空时创建的 webhook 将被隐藏</p>
3417
+ :rtype: str
3418
+ """
3419
+ return self._Product
3420
+
3421
+ @Product.setter
3422
+ def Product(self, Product):
3423
+ self._Product = Product
3424
+
3425
+ @property
3426
+ def PreheatRegion(self):
3427
+ r"""<p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
3428
+ :rtype: str
3429
+ """
3430
+ return self._PreheatRegion
3431
+
3432
+ @PreheatRegion.setter
3433
+ def PreheatRegion(self, PreheatRegion):
3434
+ self._PreheatRegion = PreheatRegion
3435
+
3408
3436
 
3409
3437
  def _deserialize(self, params):
3410
3438
  self._RegistryId = params.get("RegistryId")
@@ -3412,6 +3440,8 @@ class CreateWebhookTriggerRequest(AbstractModel):
3412
3440
  self._Trigger = WebhookTrigger()
3413
3441
  self._Trigger._deserialize(params.get("Trigger"))
3414
3442
  self._Namespace = params.get("Namespace")
3443
+ self._Product = params.get("Product")
3444
+ self._PreheatRegion = params.get("PreheatRegion")
3415
3445
  memeber_set = set(params.keys())
3416
3446
  for name, value in vars(self).items():
3417
3447
  property_name = name[1:]
@@ -3429,7 +3459,7 @@ class CreateWebhookTriggerResponse(AbstractModel):
3429
3459
 
3430
3460
  def __init__(self):
3431
3461
  r"""
3432
- :param _Trigger: 新建的触发器
3462
+ :param _Trigger: <p>新建的触发器</p>
3433
3463
  :type Trigger: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
3434
3464
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3435
3465
  :type RequestId: str
@@ -3439,7 +3469,7 @@ class CreateWebhookTriggerResponse(AbstractModel):
3439
3469
 
3440
3470
  @property
3441
3471
  def Trigger(self):
3442
- r"""新建的触发器
3472
+ r"""<p>新建的触发器</p>
3443
3473
  :rtype: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
3444
3474
  """
3445
3475
  return self._Trigger
@@ -16237,10 +16267,16 @@ class ModifyWebhookTriggerRequest(AbstractModel):
16237
16267
  :type Trigger: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
16238
16268
  :param _Namespace: <p>命名空间</p>
16239
16269
  :type Namespace: str
16270
+ :param _Product: <p>产品名称,非空时创建的 webhook 将被隐藏</p>
16271
+ :type Product: str
16272
+ :param _PreheatRegion: <p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
16273
+ :type PreheatRegion: str
16240
16274
  """
16241
16275
  self._RegistryId = None
16242
16276
  self._Trigger = None
16243
16277
  self._Namespace = None
16278
+ self._Product = None
16279
+ self._PreheatRegion = None
16244
16280
 
16245
16281
  @property
16246
16282
  def RegistryId(self):
@@ -16275,6 +16311,28 @@ class ModifyWebhookTriggerRequest(AbstractModel):
16275
16311
  def Namespace(self, Namespace):
16276
16312
  self._Namespace = Namespace
16277
16313
 
16314
+ @property
16315
+ def Product(self):
16316
+ r"""<p>产品名称,非空时创建的 webhook 将被隐藏</p>
16317
+ :rtype: str
16318
+ """
16319
+ return self._Product
16320
+
16321
+ @Product.setter
16322
+ def Product(self, Product):
16323
+ self._Product = Product
16324
+
16325
+ @property
16326
+ def PreheatRegion(self):
16327
+ r"""<p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
16328
+ :rtype: str
16329
+ """
16330
+ return self._PreheatRegion
16331
+
16332
+ @PreheatRegion.setter
16333
+ def PreheatRegion(self, PreheatRegion):
16334
+ self._PreheatRegion = PreheatRegion
16335
+
16278
16336
 
16279
16337
  def _deserialize(self, params):
16280
16338
  self._RegistryId = params.get("RegistryId")
@@ -16282,6 +16340,8 @@ class ModifyWebhookTriggerRequest(AbstractModel):
16282
16340
  self._Trigger = WebhookTrigger()
16283
16341
  self._Trigger._deserialize(params.get("Trigger"))
16284
16342
  self._Namespace = params.get("Namespace")
16343
+ self._Product = params.get("Product")
16344
+ self._PreheatRegion = params.get("PreheatRegion")
16285
16345
  memeber_set = set(params.keys())
16286
16346
  for name, value in vars(self).items():
16287
16347
  property_name = name[1:]
@@ -17724,34 +17784,36 @@ class ReplicationPolicyInfo(AbstractModel):
17724
17784
 
17725
17785
  def __init__(self):
17726
17786
  r"""
17727
- :param _ID: 策略ID
17787
+ :param _ID: <p>策略ID</p>
17728
17788
  注意:此字段可能返回 null,表示取不到有效值。
17729
17789
  :type ID: int
17730
- :param _Name: 策略名字
17790
+ :param _Name: <p>策略名字</p>
17731
17791
  注意:此字段可能返回 null,表示取不到有效值。
17732
17792
  :type Name: str
17733
- :param _Description: 策略描述信息
17793
+ :param _Description: <p>策略描述信息</p>
17734
17794
  注意:此字段可能返回 null,表示取不到有效值。
17735
17795
  :type Description: str
17736
- :param _Filters: 策略过滤条件
17796
+ :param _Filters: <p>策略过滤条件</p>
17737
17797
  注意:此字段可能返回 null,表示取不到有效值。
17738
17798
  :type Filters: list of PolicyFilter
17739
- :param _Override: 是否覆盖对端同名镜像
17799
+ :param _Override: <p>是否覆盖对端同名镜像</p>
17740
17800
  注意:此字段可能返回 null,表示取不到有效值。
17741
17801
  :type Override: bool
17742
- :param _Enabled: 是否开启
17802
+ :param _Deletion: <p>是否删除对端同名镜像</p>
17803
+ :type Deletion: bool
17804
+ :param _Enabled: <p>是否开启</p>
17743
17805
  注意:此字段可能返回 null,表示取不到有效值。
17744
17806
  :type Enabled: bool
17745
- :param _SrcResource: 源信息
17807
+ :param _SrcResource: <p>源信息</p>
17746
17808
  注意:此字段可能返回 null,表示取不到有效值。
17747
17809
  :type SrcResource: str
17748
- :param _DestResource: 目的资源
17810
+ :param _DestResource: <p>目的资源</p>
17749
17811
  注意:此字段可能返回 null,表示取不到有效值。
17750
17812
  :type DestResource: str
17751
- :param _CreationTime: 创建时间
17813
+ :param _CreationTime: <p>创建时间</p>
17752
17814
  注意:此字段可能返回 null,表示取不到有效值。
17753
17815
  :type CreationTime: str
17754
- :param _UpdateTime: 更新时间
17816
+ :param _UpdateTime: <p>更新时间</p>
17755
17817
  注意:此字段可能返回 null,表示取不到有效值。
17756
17818
  :type UpdateTime: str
17757
17819
  """
@@ -17760,6 +17822,7 @@ class ReplicationPolicyInfo(AbstractModel):
17760
17822
  self._Description = None
17761
17823
  self._Filters = None
17762
17824
  self._Override = None
17825
+ self._Deletion = None
17763
17826
  self._Enabled = None
17764
17827
  self._SrcResource = None
17765
17828
  self._DestResource = None
@@ -17768,7 +17831,7 @@ class ReplicationPolicyInfo(AbstractModel):
17768
17831
 
17769
17832
  @property
17770
17833
  def ID(self):
17771
- r"""策略ID
17834
+ r"""<p>策略ID</p>
17772
17835
  注意:此字段可能返回 null,表示取不到有效值。
17773
17836
  :rtype: int
17774
17837
  """
@@ -17780,7 +17843,7 @@ class ReplicationPolicyInfo(AbstractModel):
17780
17843
 
17781
17844
  @property
17782
17845
  def Name(self):
17783
- r"""策略名字
17846
+ r"""<p>策略名字</p>
17784
17847
  注意:此字段可能返回 null,表示取不到有效值。
17785
17848
  :rtype: str
17786
17849
  """
@@ -17792,7 +17855,7 @@ class ReplicationPolicyInfo(AbstractModel):
17792
17855
 
17793
17856
  @property
17794
17857
  def Description(self):
17795
- r"""策略描述信息
17858
+ r"""<p>策略描述信息</p>
17796
17859
  注意:此字段可能返回 null,表示取不到有效值。
17797
17860
  :rtype: str
17798
17861
  """
@@ -17804,7 +17867,7 @@ class ReplicationPolicyInfo(AbstractModel):
17804
17867
 
17805
17868
  @property
17806
17869
  def Filters(self):
17807
- r"""策略过滤条件
17870
+ r"""<p>策略过滤条件</p>
17808
17871
  注意:此字段可能返回 null,表示取不到有效值。
17809
17872
  :rtype: list of PolicyFilter
17810
17873
  """
@@ -17816,7 +17879,7 @@ class ReplicationPolicyInfo(AbstractModel):
17816
17879
 
17817
17880
  @property
17818
17881
  def Override(self):
17819
- r"""是否覆盖对端同名镜像
17882
+ r"""<p>是否覆盖对端同名镜像</p>
17820
17883
  注意:此字段可能返回 null,表示取不到有效值。
17821
17884
  :rtype: bool
17822
17885
  """
@@ -17826,9 +17889,20 @@ class ReplicationPolicyInfo(AbstractModel):
17826
17889
  def Override(self, Override):
17827
17890
  self._Override = Override
17828
17891
 
17892
+ @property
17893
+ def Deletion(self):
17894
+ r"""<p>是否删除对端同名镜像</p>
17895
+ :rtype: bool
17896
+ """
17897
+ return self._Deletion
17898
+
17899
+ @Deletion.setter
17900
+ def Deletion(self, Deletion):
17901
+ self._Deletion = Deletion
17902
+
17829
17903
  @property
17830
17904
  def Enabled(self):
17831
- r"""是否开启
17905
+ r"""<p>是否开启</p>
17832
17906
  注意:此字段可能返回 null,表示取不到有效值。
17833
17907
  :rtype: bool
17834
17908
  """
@@ -17840,7 +17914,7 @@ class ReplicationPolicyInfo(AbstractModel):
17840
17914
 
17841
17915
  @property
17842
17916
  def SrcResource(self):
17843
- r"""源信息
17917
+ r"""<p>源信息</p>
17844
17918
  注意:此字段可能返回 null,表示取不到有效值。
17845
17919
  :rtype: str
17846
17920
  """
@@ -17852,7 +17926,7 @@ class ReplicationPolicyInfo(AbstractModel):
17852
17926
 
17853
17927
  @property
17854
17928
  def DestResource(self):
17855
- r"""目的资源
17929
+ r"""<p>目的资源</p>
17856
17930
  注意:此字段可能返回 null,表示取不到有效值。
17857
17931
  :rtype: str
17858
17932
  """
@@ -17864,7 +17938,7 @@ class ReplicationPolicyInfo(AbstractModel):
17864
17938
 
17865
17939
  @property
17866
17940
  def CreationTime(self):
17867
- r"""创建时间
17941
+ r"""<p>创建时间</p>
17868
17942
  注意:此字段可能返回 null,表示取不到有效值。
17869
17943
  :rtype: str
17870
17944
  """
@@ -17876,7 +17950,7 @@ class ReplicationPolicyInfo(AbstractModel):
17876
17950
 
17877
17951
  @property
17878
17952
  def UpdateTime(self):
17879
- r"""更新时间
17953
+ r"""<p>更新时间</p>
17880
17954
  注意:此字段可能返回 null,表示取不到有效值。
17881
17955
  :rtype: str
17882
17956
  """
@@ -17898,6 +17972,7 @@ class ReplicationPolicyInfo(AbstractModel):
17898
17972
  obj._deserialize(item)
17899
17973
  self._Filters.append(obj)
17900
17974
  self._Override = params.get("Override")
17975
+ self._Deletion = params.get("Deletion")
17901
17976
  self._Enabled = params.get("Enabled")
17902
17977
  self._SrcResource = params.get("SrcResource")
17903
17978
  self._DestResource = params.get("DestResource")
@@ -22189,6 +22264,12 @@ class WebhookTrigger(AbstractModel):
22189
22264
  :param _NamespaceName: <p>触发器所属命名空间名称</p>
22190
22265
  注意:此字段可能返回 null,表示取不到有效值。
22191
22266
  :type NamespaceName: str
22267
+ :param _Product: <p>触发器所属产品类型:ags 为镜像预热,apparate 为镜像加速,普通 webhook 为空</p>
22268
+ 注意:此字段可能返回 null,表示取不到有效值。
22269
+ :type Product: str
22270
+ :param _PreheatRegion: <p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
22271
+ 注意:此字段可能返回 null,表示取不到有效值。
22272
+ :type PreheatRegion: str
22192
22273
  """
22193
22274
  self._Name = None
22194
22275
  self._Targets = None
@@ -22199,6 +22280,8 @@ class WebhookTrigger(AbstractModel):
22199
22280
  self._Description = None
22200
22281
  self._NamespaceId = None
22201
22282
  self._NamespaceName = None
22283
+ self._Product = None
22284
+ self._PreheatRegion = None
22202
22285
 
22203
22286
  @property
22204
22287
  def Name(self):
@@ -22300,6 +22383,30 @@ class WebhookTrigger(AbstractModel):
22300
22383
  def NamespaceName(self, NamespaceName):
22301
22384
  self._NamespaceName = NamespaceName
22302
22385
 
22386
+ @property
22387
+ def Product(self):
22388
+ r"""<p>触发器所属产品类型:ags 为镜像预热,apparate 为镜像加速,普通 webhook 为空</p>
22389
+ 注意:此字段可能返回 null,表示取不到有效值。
22390
+ :rtype: str
22391
+ """
22392
+ return self._Product
22393
+
22394
+ @Product.setter
22395
+ def Product(self, Product):
22396
+ self._Product = Product
22397
+
22398
+ @property
22399
+ def PreheatRegion(self):
22400
+ r"""<p>预热目标地域,AGS 镜像预热的目标地域,非 AGS 触发器为空</p>
22401
+ 注意:此字段可能返回 null,表示取不到有效值。
22402
+ :rtype: str
22403
+ """
22404
+ return self._PreheatRegion
22405
+
22406
+ @PreheatRegion.setter
22407
+ def PreheatRegion(self, PreheatRegion):
22408
+ self._PreheatRegion = PreheatRegion
22409
+
22303
22410
 
22304
22411
  def _deserialize(self, params):
22305
22412
  self._Name = params.get("Name")
@@ -22316,6 +22423,8 @@ class WebhookTrigger(AbstractModel):
22316
22423
  self._Description = params.get("Description")
22317
22424
  self._NamespaceId = params.get("NamespaceId")
22318
22425
  self._NamespaceName = params.get("NamespaceName")
22426
+ self._Product = params.get("Product")
22427
+ self._PreheatRegion = params.get("PreheatRegion")
22319
22428
  memeber_set = set(params.keys())
22320
22429
  for name, value in vars(self).items():
22321
22430
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcr
3
- Version: 3.1.171
3
+ Version: 3.1.222
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.171
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.222
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.222
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.171