tencentcloud-sdk-python-hai 3.1.64__tar.gz → 3.1.74__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.
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/v20230812/models.py +277 -24
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.74/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.64/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.64 → tencentcloud_sdk_python_hai-3.1.74}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.74
|
|
4
4
|
Summary: Tencent Cloud Hai 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
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-hai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.74,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -537,26 +537,29 @@ class ContainerInfo(AbstractModel):
|
|
|
537
537
|
|
|
538
538
|
def __init__(self):
|
|
539
539
|
r"""
|
|
540
|
-
:param _Image:
|
|
540
|
+
:param _Image: <p>镜像相关信息</p>
|
|
541
541
|
:type Image: :class:`tencentcloud.hai.v20230812.models.ImageInfo`
|
|
542
|
-
:param _Port:
|
|
542
|
+
:param _Port: <p>服务监听端口</p>
|
|
543
543
|
:type Port: str
|
|
544
|
-
:param _Scripts:
|
|
544
|
+
:param _Scripts: <p>启动命令</p>
|
|
545
545
|
:type Scripts: list of str
|
|
546
|
-
:param _Envs:
|
|
546
|
+
:param _Envs: <p>环境变量列表</p>
|
|
547
547
|
:type Envs: list of EnvParam
|
|
548
|
-
:param _Storages:
|
|
548
|
+
:param _Storages: <p>存储挂载配置</p>
|
|
549
549
|
:type Storages: list of StorageInfo
|
|
550
|
+
:param _Probe: <p>探针信息</p>
|
|
551
|
+
:type Probe: :class:`tencentcloud.hai.v20230812.models.ProbeInfo`
|
|
550
552
|
"""
|
|
551
553
|
self._Image = None
|
|
552
554
|
self._Port = None
|
|
553
555
|
self._Scripts = None
|
|
554
556
|
self._Envs = None
|
|
555
557
|
self._Storages = None
|
|
558
|
+
self._Probe = None
|
|
556
559
|
|
|
557
560
|
@property
|
|
558
561
|
def Image(self):
|
|
559
|
-
r"""
|
|
562
|
+
r"""<p>镜像相关信息</p>
|
|
560
563
|
:rtype: :class:`tencentcloud.hai.v20230812.models.ImageInfo`
|
|
561
564
|
"""
|
|
562
565
|
return self._Image
|
|
@@ -567,7 +570,7 @@ class ContainerInfo(AbstractModel):
|
|
|
567
570
|
|
|
568
571
|
@property
|
|
569
572
|
def Port(self):
|
|
570
|
-
r"""
|
|
573
|
+
r"""<p>服务监听端口</p>
|
|
571
574
|
:rtype: str
|
|
572
575
|
"""
|
|
573
576
|
return self._Port
|
|
@@ -578,7 +581,7 @@ class ContainerInfo(AbstractModel):
|
|
|
578
581
|
|
|
579
582
|
@property
|
|
580
583
|
def Scripts(self):
|
|
581
|
-
r"""
|
|
584
|
+
r"""<p>启动命令</p>
|
|
582
585
|
:rtype: list of str
|
|
583
586
|
"""
|
|
584
587
|
return self._Scripts
|
|
@@ -589,7 +592,7 @@ class ContainerInfo(AbstractModel):
|
|
|
589
592
|
|
|
590
593
|
@property
|
|
591
594
|
def Envs(self):
|
|
592
|
-
r"""
|
|
595
|
+
r"""<p>环境变量列表</p>
|
|
593
596
|
:rtype: list of EnvParam
|
|
594
597
|
"""
|
|
595
598
|
return self._Envs
|
|
@@ -600,7 +603,7 @@ class ContainerInfo(AbstractModel):
|
|
|
600
603
|
|
|
601
604
|
@property
|
|
602
605
|
def Storages(self):
|
|
603
|
-
r"""
|
|
606
|
+
r"""<p>存储挂载配置</p>
|
|
604
607
|
:rtype: list of StorageInfo
|
|
605
608
|
"""
|
|
606
609
|
return self._Storages
|
|
@@ -609,6 +612,17 @@ class ContainerInfo(AbstractModel):
|
|
|
609
612
|
def Storages(self, Storages):
|
|
610
613
|
self._Storages = Storages
|
|
611
614
|
|
|
615
|
+
@property
|
|
616
|
+
def Probe(self):
|
|
617
|
+
r"""<p>探针信息</p>
|
|
618
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ProbeInfo`
|
|
619
|
+
"""
|
|
620
|
+
return self._Probe
|
|
621
|
+
|
|
622
|
+
@Probe.setter
|
|
623
|
+
def Probe(self, Probe):
|
|
624
|
+
self._Probe = Probe
|
|
625
|
+
|
|
612
626
|
|
|
613
627
|
def _deserialize(self, params):
|
|
614
628
|
if params.get("Image") is not None:
|
|
@@ -628,6 +642,9 @@ class ContainerInfo(AbstractModel):
|
|
|
628
642
|
obj = StorageInfo()
|
|
629
643
|
obj._deserialize(item)
|
|
630
644
|
self._Storages.append(obj)
|
|
645
|
+
if params.get("Probe") is not None:
|
|
646
|
+
self._Probe = ProbeInfo()
|
|
647
|
+
self._Probe._deserialize(params.get("Probe"))
|
|
631
648
|
memeber_set = set(params.keys())
|
|
632
649
|
for name, value in vars(self).items():
|
|
633
650
|
property_name = name[1:]
|
|
@@ -754,17 +771,17 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
754
771
|
|
|
755
772
|
def __init__(self):
|
|
756
773
|
r"""
|
|
757
|
-
:param _TemplateId:
|
|
774
|
+
:param _TemplateId: <p>模版ID</p>
|
|
758
775
|
:type TemplateId: str
|
|
759
|
-
:param _ServiceName:
|
|
776
|
+
:param _ServiceName: <p>服务名称</p>
|
|
760
777
|
:type ServiceName: str
|
|
761
|
-
:param _Replicas:
|
|
778
|
+
:param _Replicas: <p>副本数</p>
|
|
762
779
|
:type Replicas: int
|
|
763
|
-
:param _ServiceChargeType:
|
|
780
|
+
:param _ServiceChargeType: <p>付费方式,POSTPAID_BY_HOUR按量后付费</p>
|
|
764
781
|
:type ServiceChargeType: str
|
|
765
|
-
:param _HyperParam:
|
|
782
|
+
:param _HyperParam: <p>描述了服务的超参数配置</p>
|
|
766
783
|
:type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
767
|
-
:param _NetworkSetting:
|
|
784
|
+
:param _NetworkSetting: <p>网络设置</p>
|
|
768
785
|
:type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
769
786
|
"""
|
|
770
787
|
self._TemplateId = None
|
|
@@ -776,7 +793,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
776
793
|
|
|
777
794
|
@property
|
|
778
795
|
def TemplateId(self):
|
|
779
|
-
r"""
|
|
796
|
+
r"""<p>模版ID</p>
|
|
780
797
|
:rtype: str
|
|
781
798
|
"""
|
|
782
799
|
return self._TemplateId
|
|
@@ -787,7 +804,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
787
804
|
|
|
788
805
|
@property
|
|
789
806
|
def ServiceName(self):
|
|
790
|
-
r"""
|
|
807
|
+
r"""<p>服务名称</p>
|
|
791
808
|
:rtype: str
|
|
792
809
|
"""
|
|
793
810
|
return self._ServiceName
|
|
@@ -798,7 +815,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
798
815
|
|
|
799
816
|
@property
|
|
800
817
|
def Replicas(self):
|
|
801
|
-
r"""
|
|
818
|
+
r"""<p>副本数</p>
|
|
802
819
|
:rtype: int
|
|
803
820
|
"""
|
|
804
821
|
return self._Replicas
|
|
@@ -809,7 +826,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
809
826
|
|
|
810
827
|
@property
|
|
811
828
|
def ServiceChargeType(self):
|
|
812
|
-
r"""
|
|
829
|
+
r"""<p>付费方式,POSTPAID_BY_HOUR按量后付费</p>
|
|
813
830
|
:rtype: str
|
|
814
831
|
"""
|
|
815
832
|
return self._ServiceChargeType
|
|
@@ -820,7 +837,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
820
837
|
|
|
821
838
|
@property
|
|
822
839
|
def HyperParam(self):
|
|
823
|
-
r"""
|
|
840
|
+
r"""<p>描述了服务的超参数配置</p>
|
|
824
841
|
:rtype: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
825
842
|
"""
|
|
826
843
|
return self._HyperParam
|
|
@@ -831,7 +848,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
831
848
|
|
|
832
849
|
@property
|
|
833
850
|
def NetworkSetting(self):
|
|
834
|
-
r"""
|
|
851
|
+
r"""<p>网络设置</p>
|
|
835
852
|
:rtype: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
836
853
|
"""
|
|
837
854
|
return self._NetworkSetting
|
|
@@ -869,7 +886,7 @@ class CreateInferServiceByTemplateResponse(AbstractModel):
|
|
|
869
886
|
|
|
870
887
|
def __init__(self):
|
|
871
888
|
r"""
|
|
872
|
-
:param _ServiceId:
|
|
889
|
+
:param _ServiceId: <p>服务ID</p>
|
|
873
890
|
:type ServiceId: str
|
|
874
891
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
875
892
|
:type RequestId: str
|
|
@@ -879,7 +896,7 @@ class CreateInferServiceByTemplateResponse(AbstractModel):
|
|
|
879
896
|
|
|
880
897
|
@property
|
|
881
898
|
def ServiceId(self):
|
|
882
|
-
r"""
|
|
899
|
+
r"""<p>服务ID</p>
|
|
883
900
|
:rtype: str
|
|
884
901
|
"""
|
|
885
902
|
return self._ServiceId
|
|
@@ -2747,6 +2764,57 @@ class HiCacheInfo(AbstractModel):
|
|
|
2747
2764
|
|
|
2748
2765
|
|
|
2749
2766
|
|
|
2767
|
+
class HttpConfig(AbstractModel):
|
|
2768
|
+
r"""http配置信息
|
|
2769
|
+
|
|
2770
|
+
"""
|
|
2771
|
+
|
|
2772
|
+
def __init__(self):
|
|
2773
|
+
r"""
|
|
2774
|
+
:param _Path: <p>指定健康检查的URL路径</p>
|
|
2775
|
+
:type Path: str
|
|
2776
|
+
:param _Port: <p>指定健康检查的端口</p>
|
|
2777
|
+
:type Port: int
|
|
2778
|
+
"""
|
|
2779
|
+
self._Path = None
|
|
2780
|
+
self._Port = None
|
|
2781
|
+
|
|
2782
|
+
@property
|
|
2783
|
+
def Path(self):
|
|
2784
|
+
r"""<p>指定健康检查的URL路径</p>
|
|
2785
|
+
:rtype: str
|
|
2786
|
+
"""
|
|
2787
|
+
return self._Path
|
|
2788
|
+
|
|
2789
|
+
@Path.setter
|
|
2790
|
+
def Path(self, Path):
|
|
2791
|
+
self._Path = Path
|
|
2792
|
+
|
|
2793
|
+
@property
|
|
2794
|
+
def Port(self):
|
|
2795
|
+
r"""<p>指定健康检查的端口</p>
|
|
2796
|
+
:rtype: int
|
|
2797
|
+
"""
|
|
2798
|
+
return self._Port
|
|
2799
|
+
|
|
2800
|
+
@Port.setter
|
|
2801
|
+
def Port(self, Port):
|
|
2802
|
+
self._Port = Port
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
def _deserialize(self, params):
|
|
2806
|
+
self._Path = params.get("Path")
|
|
2807
|
+
self._Port = params.get("Port")
|
|
2808
|
+
memeber_set = set(params.keys())
|
|
2809
|
+
for name, value in vars(self).items():
|
|
2810
|
+
property_name = name[1:]
|
|
2811
|
+
if property_name in memeber_set:
|
|
2812
|
+
memeber_set.remove(property_name)
|
|
2813
|
+
if len(memeber_set) > 0:
|
|
2814
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2750
2818
|
class HyperParam(AbstractModel):
|
|
2751
2819
|
r"""描述了服务的超参数配置
|
|
2752
2820
|
|
|
@@ -4404,6 +4472,191 @@ class Price(AbstractModel):
|
|
|
4404
4472
|
|
|
4405
4473
|
|
|
4406
4474
|
|
|
4475
|
+
class ProbeConfig(AbstractModel):
|
|
4476
|
+
r"""探针配置信息
|
|
4477
|
+
|
|
4478
|
+
"""
|
|
4479
|
+
|
|
4480
|
+
def __init__(self):
|
|
4481
|
+
r"""
|
|
4482
|
+
:param _HttpGet: <p>HTTP GET请求进行健康检查</p>
|
|
4483
|
+
:type HttpGet: :class:`tencentcloud.hai.v20230812.models.HttpConfig`
|
|
4484
|
+
:param _InitialDelaySeconds: <p>容器启动后,等待多少秒开始第一次探测</p>
|
|
4485
|
+
:type InitialDelaySeconds: int
|
|
4486
|
+
:param _PeriodSeconds: <p>每次执行探测的间隔时间(秒)</p>
|
|
4487
|
+
:type PeriodSeconds: int
|
|
4488
|
+
:param _TimeoutSeconds: <p>每次探测等待响应的超时时间(秒)</p>
|
|
4489
|
+
:type TimeoutSeconds: int
|
|
4490
|
+
:param _SuccessThreshold: <p>探测失败后,最小连续成功次数才被认为成功</p>
|
|
4491
|
+
:type SuccessThreshold: int
|
|
4492
|
+
:param _FailureThreshold: <p>探测失败后,Kubernetes的重试次数</p>
|
|
4493
|
+
:type FailureThreshold: int
|
|
4494
|
+
"""
|
|
4495
|
+
self._HttpGet = None
|
|
4496
|
+
self._InitialDelaySeconds = None
|
|
4497
|
+
self._PeriodSeconds = None
|
|
4498
|
+
self._TimeoutSeconds = None
|
|
4499
|
+
self._SuccessThreshold = None
|
|
4500
|
+
self._FailureThreshold = None
|
|
4501
|
+
|
|
4502
|
+
@property
|
|
4503
|
+
def HttpGet(self):
|
|
4504
|
+
r"""<p>HTTP GET请求进行健康检查</p>
|
|
4505
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.HttpConfig`
|
|
4506
|
+
"""
|
|
4507
|
+
return self._HttpGet
|
|
4508
|
+
|
|
4509
|
+
@HttpGet.setter
|
|
4510
|
+
def HttpGet(self, HttpGet):
|
|
4511
|
+
self._HttpGet = HttpGet
|
|
4512
|
+
|
|
4513
|
+
@property
|
|
4514
|
+
def InitialDelaySeconds(self):
|
|
4515
|
+
r"""<p>容器启动后,等待多少秒开始第一次探测</p>
|
|
4516
|
+
:rtype: int
|
|
4517
|
+
"""
|
|
4518
|
+
return self._InitialDelaySeconds
|
|
4519
|
+
|
|
4520
|
+
@InitialDelaySeconds.setter
|
|
4521
|
+
def InitialDelaySeconds(self, InitialDelaySeconds):
|
|
4522
|
+
self._InitialDelaySeconds = InitialDelaySeconds
|
|
4523
|
+
|
|
4524
|
+
@property
|
|
4525
|
+
def PeriodSeconds(self):
|
|
4526
|
+
r"""<p>每次执行探测的间隔时间(秒)</p>
|
|
4527
|
+
:rtype: int
|
|
4528
|
+
"""
|
|
4529
|
+
return self._PeriodSeconds
|
|
4530
|
+
|
|
4531
|
+
@PeriodSeconds.setter
|
|
4532
|
+
def PeriodSeconds(self, PeriodSeconds):
|
|
4533
|
+
self._PeriodSeconds = PeriodSeconds
|
|
4534
|
+
|
|
4535
|
+
@property
|
|
4536
|
+
def TimeoutSeconds(self):
|
|
4537
|
+
r"""<p>每次探测等待响应的超时时间(秒)</p>
|
|
4538
|
+
:rtype: int
|
|
4539
|
+
"""
|
|
4540
|
+
return self._TimeoutSeconds
|
|
4541
|
+
|
|
4542
|
+
@TimeoutSeconds.setter
|
|
4543
|
+
def TimeoutSeconds(self, TimeoutSeconds):
|
|
4544
|
+
self._TimeoutSeconds = TimeoutSeconds
|
|
4545
|
+
|
|
4546
|
+
@property
|
|
4547
|
+
def SuccessThreshold(self):
|
|
4548
|
+
r"""<p>探测失败后,最小连续成功次数才被认为成功</p>
|
|
4549
|
+
:rtype: int
|
|
4550
|
+
"""
|
|
4551
|
+
return self._SuccessThreshold
|
|
4552
|
+
|
|
4553
|
+
@SuccessThreshold.setter
|
|
4554
|
+
def SuccessThreshold(self, SuccessThreshold):
|
|
4555
|
+
self._SuccessThreshold = SuccessThreshold
|
|
4556
|
+
|
|
4557
|
+
@property
|
|
4558
|
+
def FailureThreshold(self):
|
|
4559
|
+
r"""<p>探测失败后,Kubernetes的重试次数</p>
|
|
4560
|
+
:rtype: int
|
|
4561
|
+
"""
|
|
4562
|
+
return self._FailureThreshold
|
|
4563
|
+
|
|
4564
|
+
@FailureThreshold.setter
|
|
4565
|
+
def FailureThreshold(self, FailureThreshold):
|
|
4566
|
+
self._FailureThreshold = FailureThreshold
|
|
4567
|
+
|
|
4568
|
+
|
|
4569
|
+
def _deserialize(self, params):
|
|
4570
|
+
if params.get("HttpGet") is not None:
|
|
4571
|
+
self._HttpGet = HttpConfig()
|
|
4572
|
+
self._HttpGet._deserialize(params.get("HttpGet"))
|
|
4573
|
+
self._InitialDelaySeconds = params.get("InitialDelaySeconds")
|
|
4574
|
+
self._PeriodSeconds = params.get("PeriodSeconds")
|
|
4575
|
+
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
|
4576
|
+
self._SuccessThreshold = params.get("SuccessThreshold")
|
|
4577
|
+
self._FailureThreshold = params.get("FailureThreshold")
|
|
4578
|
+
memeber_set = set(params.keys())
|
|
4579
|
+
for name, value in vars(self).items():
|
|
4580
|
+
property_name = name[1:]
|
|
4581
|
+
if property_name in memeber_set:
|
|
4582
|
+
memeber_set.remove(property_name)
|
|
4583
|
+
if len(memeber_set) > 0:
|
|
4584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4585
|
+
|
|
4586
|
+
|
|
4587
|
+
|
|
4588
|
+
class ProbeInfo(AbstractModel):
|
|
4589
|
+
r"""探针信息
|
|
4590
|
+
|
|
4591
|
+
"""
|
|
4592
|
+
|
|
4593
|
+
def __init__(self):
|
|
4594
|
+
r"""
|
|
4595
|
+
:param _LivenessProbe: <p>存活探针</p>
|
|
4596
|
+
:type LivenessProbe: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4597
|
+
:param _ReadinessProbe: <p>就绪探针</p>
|
|
4598
|
+
:type ReadinessProbe: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4599
|
+
:param _StartupProbe: <p>启动探针</p>
|
|
4600
|
+
:type StartupProbe: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4601
|
+
"""
|
|
4602
|
+
self._LivenessProbe = None
|
|
4603
|
+
self._ReadinessProbe = None
|
|
4604
|
+
self._StartupProbe = None
|
|
4605
|
+
|
|
4606
|
+
@property
|
|
4607
|
+
def LivenessProbe(self):
|
|
4608
|
+
r"""<p>存活探针</p>
|
|
4609
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4610
|
+
"""
|
|
4611
|
+
return self._LivenessProbe
|
|
4612
|
+
|
|
4613
|
+
@LivenessProbe.setter
|
|
4614
|
+
def LivenessProbe(self, LivenessProbe):
|
|
4615
|
+
self._LivenessProbe = LivenessProbe
|
|
4616
|
+
|
|
4617
|
+
@property
|
|
4618
|
+
def ReadinessProbe(self):
|
|
4619
|
+
r"""<p>就绪探针</p>
|
|
4620
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4621
|
+
"""
|
|
4622
|
+
return self._ReadinessProbe
|
|
4623
|
+
|
|
4624
|
+
@ReadinessProbe.setter
|
|
4625
|
+
def ReadinessProbe(self, ReadinessProbe):
|
|
4626
|
+
self._ReadinessProbe = ReadinessProbe
|
|
4627
|
+
|
|
4628
|
+
@property
|
|
4629
|
+
def StartupProbe(self):
|
|
4630
|
+
r"""<p>启动探针</p>
|
|
4631
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ProbeConfig`
|
|
4632
|
+
"""
|
|
4633
|
+
return self._StartupProbe
|
|
4634
|
+
|
|
4635
|
+
@StartupProbe.setter
|
|
4636
|
+
def StartupProbe(self, StartupProbe):
|
|
4637
|
+
self._StartupProbe = StartupProbe
|
|
4638
|
+
|
|
4639
|
+
|
|
4640
|
+
def _deserialize(self, params):
|
|
4641
|
+
if params.get("LivenessProbe") is not None:
|
|
4642
|
+
self._LivenessProbe = ProbeConfig()
|
|
4643
|
+
self._LivenessProbe._deserialize(params.get("LivenessProbe"))
|
|
4644
|
+
if params.get("ReadinessProbe") is not None:
|
|
4645
|
+
self._ReadinessProbe = ProbeConfig()
|
|
4646
|
+
self._ReadinessProbe._deserialize(params.get("ReadinessProbe"))
|
|
4647
|
+
if params.get("StartupProbe") is not None:
|
|
4648
|
+
self._StartupProbe = ProbeConfig()
|
|
4649
|
+
self._StartupProbe._deserialize(params.get("StartupProbe"))
|
|
4650
|
+
memeber_set = set(params.keys())
|
|
4651
|
+
for name, value in vars(self).items():
|
|
4652
|
+
property_name = name[1:]
|
|
4653
|
+
if property_name in memeber_set:
|
|
4654
|
+
memeber_set.remove(property_name)
|
|
4655
|
+
if len(memeber_set) > 0:
|
|
4656
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4657
|
+
|
|
4658
|
+
|
|
4659
|
+
|
|
4407
4660
|
class RegionInfo(AbstractModel):
|
|
4408
4661
|
r"""地域列表
|
|
4409
4662
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.74
|
|
4
4
|
Summary: Tencent Cloud Hai 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|