tencentcloud-sdk-python-intl-en 3.0.1092__py2.py3-none-any.whl → 3.0.1094__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdn/v20180606/models.py +88 -88
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/cvm/v20170312/models.py +76 -80
- tencentcloud/cwp/v20180228/cwp_client.py +18 -56
- tencentcloud/cwp/v20180228/models.py +35 -291
- tencentcloud/faceid/v20180301/models.py +4 -4
- tencentcloud/kms/v20190118/kms_client.py +1 -1
- tencentcloud/kms/v20190118/models.py +2 -2
- tencentcloud/mdl/v20200326/models.py +70 -0
- tencentcloud/ssm/v20190923/models.py +2 -2
- tencentcloud/tcss/v20201101/models.py +698 -674
- tencentcloud/tcss/v20201101/tcss_client.py +18 -6
- {tencentcloud_sdk_python_intl_en-3.0.1092.dist-info → tencentcloud_sdk_python_intl_en-3.0.1094.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1092.dist-info → tencentcloud_sdk_python_intl_en-3.0.1094.dist-info}/RECORD +17 -17
- {tencentcloud_sdk_python_intl_en-3.0.1092.dist-info → tencentcloud_sdk_python_intl_en-3.0.1094.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1092.dist-info → tencentcloud_sdk_python_intl_en-3.0.1094.dist-info}/top_level.txt +0 -0
|
@@ -5939,11 +5939,25 @@ class DescribeClusterPodAssetsRequest(AbstractModel):
|
|
|
5939
5939
|
|
|
5940
5940
|
def __init__(self):
|
|
5941
5941
|
r"""
|
|
5942
|
+
:param _MemberId: Member id
|
|
5943
|
+
:type MemberId: list of str
|
|
5942
5944
|
:param _Filter: Filter conditions
|
|
5943
5945
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
5944
5946
|
"""
|
|
5947
|
+
self._MemberId = None
|
|
5945
5948
|
self._Filter = None
|
|
5946
5949
|
|
|
5950
|
+
@property
|
|
5951
|
+
def MemberId(self):
|
|
5952
|
+
"""Member id
|
|
5953
|
+
:rtype: list of str
|
|
5954
|
+
"""
|
|
5955
|
+
return self._MemberId
|
|
5956
|
+
|
|
5957
|
+
@MemberId.setter
|
|
5958
|
+
def MemberId(self, MemberId):
|
|
5959
|
+
self._MemberId = MemberId
|
|
5960
|
+
|
|
5947
5961
|
@property
|
|
5948
5962
|
def Filter(self):
|
|
5949
5963
|
"""Filter conditions
|
|
@@ -5957,6 +5971,7 @@ class DescribeClusterPodAssetsRequest(AbstractModel):
|
|
|
5957
5971
|
|
|
5958
5972
|
|
|
5959
5973
|
def _deserialize(self, params):
|
|
5974
|
+
self._MemberId = params.get("MemberId")
|
|
5960
5975
|
if params.get("Filter") is not None:
|
|
5961
5976
|
self._Filter = Filter()
|
|
5962
5977
|
self._Filter._deserialize(params.get("Filter"))
|
|
@@ -2468,47 +2468,17 @@ class DataDisk(AbstractModel):
|
|
|
2468
2468
|
r"""
|
|
2469
2469
|
:param _DiskSize: Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. For more information on limits, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
|
|
2470
2470
|
:type DiskSize: int
|
|
2471
|
-
:param _DiskType: Data disk type. For restrictions on data disk
|
|
2472
|
-
<li>
|
|
2473
|
-
LOCAL_BASIC: local disk.<br/>
|
|
2474
|
-
<li>
|
|
2475
|
-
LOCAL_SSD: local SSD.<br/>
|
|
2476
|
-
<li>
|
|
2477
|
-
LOCAL_NVME: local NVMe disk, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
2478
|
-
<li>
|
|
2479
|
-
LOCAL_PRO: local HDD, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
2480
|
-
<li>
|
|
2481
|
-
CLOUD_BASIC: basic cloud disk.<br/>
|
|
2482
|
-
<li>
|
|
2483
|
-
CLOUD_PREMIUM: premium cloud disk.<br/>
|
|
2484
|
-
<li>
|
|
2485
|
-
CLOUD_SSD: cloud SSD.<br />
|
|
2486
|
-
<li>
|
|
2487
|
-
CLOUD_HSSD: enhanced SSD.<br/>
|
|
2488
|
-
<li>
|
|
2489
|
-
CLOUD_TSSD: tremendous SSD.<br/>
|
|
2490
|
-
<li>
|
|
2491
|
-
CLOUD_BSSD: balanced SSD.<br/><br/>Default value: LOCAL_BASIC.<br/><br/>This parameter is invalid for the `ResizeInstanceDisk` API.
|
|
2492
|
-
</li>
|
|
2493
|
-
</li>
|
|
2494
|
-
</li>
|
|
2495
|
-
</li>
|
|
2496
|
-
</li>
|
|
2497
|
-
</li>
|
|
2498
|
-
</li>
|
|
2499
|
-
</li>
|
|
2500
|
-
</li>
|
|
2501
|
-
</li>
|
|
2471
|
+
:param _DiskType: Data disk type. For the detailed restrictions on the data disk type, refer to [Storage Overview] (https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Value range: <br /><li>LOCAL_BASIC: Local Disk <br /><li>LOCAL_SSD: Local SSD Disk <br /><li>LOCAL_NVME: Local NVME Disk, which is strongly related with InstanceType and can not be specified <br /><li>LOCAL_PRO: Local HDD Disk, which is strongly related with InstanceType and can not be specified <br /><li>CLOUD_BASIC: HDD Cloud Disk <br /><li>CLOUD_PREMIUM: Premium Cloud Disk <br /><li>CLOUD_SSD: Cloud SSD <br /><li>CLOUD_HSSD: Enhanced SSD <br /><li>CLOUD_TSSD: ulTra SSD <br /><li>CLOUD_BSSD: Balanced SSD <br /><br />Default value: LOCAL_BASIC. <br /><br />This parameter is invalid for the `ResizeInstanceDisk` API.</li></li></li> </li> </li></li></li></li></li></li>
|
|
2502
2472
|
:type DiskType: str
|
|
2503
2473
|
:param _DiskId: Data disk ID. Note that it’s not available for `LOCAL_BASIC` and `LOCAL_SSD` disks.
|
|
2504
2474
|
It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.
|
|
2505
2475
|
:type DiskId: str
|
|
2506
|
-
:param _DeleteWithInstance: Whether
|
|
2507
|
-
<li>
|
|
2476
|
+
:param _DeleteWithInstance: Whether the data disk is destroyed with the Cloud Virtual Machine (CVM). Value range:
|
|
2477
|
+
<li>true: Destroy the data disk when the CVM is destroyed. Only the pay-as-you-go cloud disk billed by hour is supported.</li>
|
|
2508
2478
|
<li>
|
|
2509
|
-
|
|
2510
|
-
Default value:
|
|
2511
|
-
This parameter is currently used
|
|
2479
|
+
false: Retain the data disk when the CVM is destroyed.<br />
|
|
2480
|
+
Default value: true.<br />
|
|
2481
|
+
This parameter is currently only used for the `RunInstances` API.
|
|
2512
2482
|
</li>
|
|
2513
2483
|
Note: This field may return null, indicating that no valid value is found.
|
|
2514
2484
|
:type DeleteWithInstance: bool
|
|
@@ -2540,6 +2510,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2540
2510
|
<b>Note: This field is in beta test.</b>
|
|
2541
2511
|
Note: This field may return null, indicating that no valid value is found.
|
|
2542
2512
|
:type BurstPerformance: bool
|
|
2513
|
+
:param _DiskName: Disk name, with a length of not more than 128 characters.
|
|
2514
|
+
|
|
2515
|
+
This parameter is in invite-only testing and is not yet open for use.
|
|
2516
|
+
:type DiskName: str
|
|
2543
2517
|
"""
|
|
2544
2518
|
self._DiskSize = None
|
|
2545
2519
|
self._DiskType = None
|
|
@@ -2551,6 +2525,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
2551
2525
|
self._ThroughputPerformance = None
|
|
2552
2526
|
self._CdcId = None
|
|
2553
2527
|
self._BurstPerformance = None
|
|
2528
|
+
self._DiskName = None
|
|
2554
2529
|
|
|
2555
2530
|
@property
|
|
2556
2531
|
def DiskSize(self):
|
|
@@ -2565,37 +2540,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
2565
2540
|
|
|
2566
2541
|
@property
|
|
2567
2542
|
def DiskType(self):
|
|
2568
|
-
"""Data disk type. For restrictions on data disk
|
|
2569
|
-
<li>
|
|
2570
|
-
LOCAL_BASIC: local disk.<br/>
|
|
2571
|
-
<li>
|
|
2572
|
-
LOCAL_SSD: local SSD.<br/>
|
|
2573
|
-
<li>
|
|
2574
|
-
LOCAL_NVME: local NVMe disk, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
2575
|
-
<li>
|
|
2576
|
-
LOCAL_PRO: local HDD, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
2577
|
-
<li>
|
|
2578
|
-
CLOUD_BASIC: basic cloud disk.<br/>
|
|
2579
|
-
<li>
|
|
2580
|
-
CLOUD_PREMIUM: premium cloud disk.<br/>
|
|
2581
|
-
<li>
|
|
2582
|
-
CLOUD_SSD: cloud SSD.<br />
|
|
2583
|
-
<li>
|
|
2584
|
-
CLOUD_HSSD: enhanced SSD.<br/>
|
|
2585
|
-
<li>
|
|
2586
|
-
CLOUD_TSSD: tremendous SSD.<br/>
|
|
2587
|
-
<li>
|
|
2588
|
-
CLOUD_BSSD: balanced SSD.<br/><br/>Default value: LOCAL_BASIC.<br/><br/>This parameter is invalid for the `ResizeInstanceDisk` API.
|
|
2589
|
-
</li>
|
|
2590
|
-
</li>
|
|
2591
|
-
</li>
|
|
2592
|
-
</li>
|
|
2593
|
-
</li>
|
|
2594
|
-
</li>
|
|
2595
|
-
</li>
|
|
2596
|
-
</li>
|
|
2597
|
-
</li>
|
|
2598
|
-
</li>
|
|
2543
|
+
"""Data disk type. For the detailed restrictions on the data disk type, refer to [Storage Overview] (https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Value range: <br /><li>LOCAL_BASIC: Local Disk <br /><li>LOCAL_SSD: Local SSD Disk <br /><li>LOCAL_NVME: Local NVME Disk, which is strongly related with InstanceType and can not be specified <br /><li>LOCAL_PRO: Local HDD Disk, which is strongly related with InstanceType and can not be specified <br /><li>CLOUD_BASIC: HDD Cloud Disk <br /><li>CLOUD_PREMIUM: Premium Cloud Disk <br /><li>CLOUD_SSD: Cloud SSD <br /><li>CLOUD_HSSD: Enhanced SSD <br /><li>CLOUD_TSSD: ulTra SSD <br /><li>CLOUD_BSSD: Balanced SSD <br /><br />Default value: LOCAL_BASIC. <br /><br />This parameter is invalid for the `ResizeInstanceDisk` API.</li></li></li> </li> </li></li></li></li></li></li>
|
|
2599
2544
|
:rtype: str
|
|
2600
2545
|
"""
|
|
2601
2546
|
return self._DiskType
|
|
@@ -2618,12 +2563,12 @@ It is only used as a response parameter for APIs such as `DescribeInstances`, an
|
|
|
2618
2563
|
|
|
2619
2564
|
@property
|
|
2620
2565
|
def DeleteWithInstance(self):
|
|
2621
|
-
"""Whether
|
|
2622
|
-
<li>
|
|
2566
|
+
"""Whether the data disk is destroyed with the Cloud Virtual Machine (CVM). Value range:
|
|
2567
|
+
<li>true: Destroy the data disk when the CVM is destroyed. Only the pay-as-you-go cloud disk billed by hour is supported.</li>
|
|
2623
2568
|
<li>
|
|
2624
|
-
|
|
2625
|
-
Default value:
|
|
2626
|
-
This parameter is currently used
|
|
2569
|
+
false: Retain the data disk when the CVM is destroyed.<br />
|
|
2570
|
+
Default value: true.<br />
|
|
2571
|
+
This parameter is currently only used for the `RunInstances` API.
|
|
2627
2572
|
</li>
|
|
2628
2573
|
Note: This field may return null, indicating that no valid value is found.
|
|
2629
2574
|
:rtype: bool
|
|
@@ -2716,6 +2661,19 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
2716
2661
|
def BurstPerformance(self, BurstPerformance):
|
|
2717
2662
|
self._BurstPerformance = BurstPerformance
|
|
2718
2663
|
|
|
2664
|
+
@property
|
|
2665
|
+
def DiskName(self):
|
|
2666
|
+
"""Disk name, with a length of not more than 128 characters.
|
|
2667
|
+
|
|
2668
|
+
This parameter is in invite-only testing and is not yet open for use.
|
|
2669
|
+
:rtype: str
|
|
2670
|
+
"""
|
|
2671
|
+
return self._DiskName
|
|
2672
|
+
|
|
2673
|
+
@DiskName.setter
|
|
2674
|
+
def DiskName(self, DiskName):
|
|
2675
|
+
self._DiskName = DiskName
|
|
2676
|
+
|
|
2719
2677
|
|
|
2720
2678
|
def _deserialize(self, params):
|
|
2721
2679
|
self._DiskSize = params.get("DiskSize")
|
|
@@ -2728,6 +2686,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
2728
2686
|
self._ThroughputPerformance = params.get("ThroughputPerformance")
|
|
2729
2687
|
self._CdcId = params.get("CdcId")
|
|
2730
2688
|
self._BurstPerformance = params.get("BurstPerformance")
|
|
2689
|
+
self._DiskName = params.get("DiskName")
|
|
2731
2690
|
memeber_set = set(params.keys())
|
|
2732
2691
|
for name, value in vars(self).items():
|
|
2733
2692
|
property_name = name[1:]
|
|
@@ -11775,8 +11734,7 @@ class LoginSettings(AbstractModel):
|
|
|
11775
11734
|
|
|
11776
11735
|
def __init__(self):
|
|
11777
11736
|
r"""
|
|
11778
|
-
:param _Password:
|
|
11779
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
11737
|
+
:param _Password: Instance login password. The password complexity limits vary with the operating system type as follows: <br><li>The Linux instance password must be 8 to 30 characters long and include at least two of the following: [a-z], [A-Z], [0-9], and special characters of [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]. <br><li>The Windows instance password must be 12 to 30 characters long and include at least three of the following: [a-z], [A-Z], [0-9], and special characters [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]. <br><br>If this parameter is not specified, you need to set it before login by using the console to "reset password" or by calling the ResetInstancesPassword API.
|
|
11780
11738
|
:type Password: str
|
|
11781
11739
|
:param _KeyIds: List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. You cannot specify a key and a password at the same time. Windows instances do not support keys.
|
|
11782
11740
|
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
@@ -11791,8 +11749,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
11791
11749
|
|
|
11792
11750
|
@property
|
|
11793
11751
|
def Password(self):
|
|
11794
|
-
"""
|
|
11795
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
11752
|
+
"""Instance login password. The password complexity limits vary with the operating system type as follows: <br><li>The Linux instance password must be 8 to 30 characters long and include at least two of the following: [a-z], [A-Z], [0-9], and special characters of [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]. <br><li>The Windows instance password must be 12 to 30 characters long and include at least three of the following: [a-z], [A-Z], [0-9], and special characters [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]. <br><br>If this parameter is not specified, you need to set it before login by using the console to "reset password" or by calling the ResetInstancesPassword API.
|
|
11796
11753
|
:rtype: str
|
|
11797
11754
|
"""
|
|
11798
11755
|
return self._Password
|
|
@@ -16399,7 +16356,16 @@ class SystemDisk(AbstractModel):
|
|
|
16399
16356
|
|
|
16400
16357
|
def __init__(self):
|
|
16401
16358
|
r"""
|
|
16402
|
-
:param _DiskType: System disk type. For
|
|
16359
|
+
:param _DiskType: System disk type. For the restrictions on the system disk type, refer to [Storage Overview] (https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Value range:<br>
|
|
16360
|
+
<li>LOCAL_BASIC: Local Disk</li>
|
|
16361
|
+
<li>LOCAL_SSD: Local SSD Disk</li>
|
|
16362
|
+
<li>CLOUD_BASIC: HDD Cloud Disk</li>
|
|
16363
|
+
<li>CLOUD_SSD: Cloud SSD</li>
|
|
16364
|
+
<li>CLOUD_PREMIUM: Premium Cloud Disk</li>
|
|
16365
|
+
<li>CLOUD_BSSD: Balanced SSD</li>
|
|
16366
|
+
<li>CLOUD_HSSD: Enhanced SSD</li>
|
|
16367
|
+
<li>CLOUD_TSSD: ulTra SSD</li><br>
|
|
16368
|
+
Default value: Current disk types with inventory available.
|
|
16403
16369
|
:type DiskType: str
|
|
16404
16370
|
:param _DiskId: System disk ID. System disks whose type is `LOCAL_BASIC` or `LOCAL_SSD` do not have an ID and do not support this parameter.
|
|
16405
16371
|
It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.
|
|
@@ -16408,15 +16374,30 @@ It is only used as a response parameter for APIs such as `DescribeInstances`, an
|
|
|
16408
16374
|
:type DiskSize: int
|
|
16409
16375
|
:param _CdcId: ID of the dedicated cluster to which the instance belongs.
|
|
16410
16376
|
:type CdcId: str
|
|
16377
|
+
:param _DiskName: Disk name, with a length of not more than 128 characters.
|
|
16378
|
+
|
|
16379
|
+
This parameter is in invite-only testing and is not yet open for use.
|
|
16380
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
16381
|
+
:type DiskName: str
|
|
16411
16382
|
"""
|
|
16412
16383
|
self._DiskType = None
|
|
16413
16384
|
self._DiskId = None
|
|
16414
16385
|
self._DiskSize = None
|
|
16415
16386
|
self._CdcId = None
|
|
16387
|
+
self._DiskName = None
|
|
16416
16388
|
|
|
16417
16389
|
@property
|
|
16418
16390
|
def DiskType(self):
|
|
16419
|
-
"""System disk type. For
|
|
16391
|
+
"""System disk type. For the restrictions on the system disk type, refer to [Storage Overview] (https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Value range:<br>
|
|
16392
|
+
<li>LOCAL_BASIC: Local Disk</li>
|
|
16393
|
+
<li>LOCAL_SSD: Local SSD Disk</li>
|
|
16394
|
+
<li>CLOUD_BASIC: HDD Cloud Disk</li>
|
|
16395
|
+
<li>CLOUD_SSD: Cloud SSD</li>
|
|
16396
|
+
<li>CLOUD_PREMIUM: Premium Cloud Disk</li>
|
|
16397
|
+
<li>CLOUD_BSSD: Balanced SSD</li>
|
|
16398
|
+
<li>CLOUD_HSSD: Enhanced SSD</li>
|
|
16399
|
+
<li>CLOUD_TSSD: ulTra SSD</li><br>
|
|
16400
|
+
Default value: Current disk types with inventory available.
|
|
16420
16401
|
:rtype: str
|
|
16421
16402
|
"""
|
|
16422
16403
|
return self._DiskType
|
|
@@ -16459,12 +16440,27 @@ It is only used as a response parameter for APIs such as `DescribeInstances`, an
|
|
|
16459
16440
|
def CdcId(self, CdcId):
|
|
16460
16441
|
self._CdcId = CdcId
|
|
16461
16442
|
|
|
16443
|
+
@property
|
|
16444
|
+
def DiskName(self):
|
|
16445
|
+
"""Disk name, with a length of not more than 128 characters.
|
|
16446
|
+
|
|
16447
|
+
This parameter is in invite-only testing and is not yet open for use.
|
|
16448
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
16449
|
+
:rtype: str
|
|
16450
|
+
"""
|
|
16451
|
+
return self._DiskName
|
|
16452
|
+
|
|
16453
|
+
@DiskName.setter
|
|
16454
|
+
def DiskName(self, DiskName):
|
|
16455
|
+
self._DiskName = DiskName
|
|
16456
|
+
|
|
16462
16457
|
|
|
16463
16458
|
def _deserialize(self, params):
|
|
16464
16459
|
self._DiskType = params.get("DiskType")
|
|
16465
16460
|
self._DiskId = params.get("DiskId")
|
|
16466
16461
|
self._DiskSize = params.get("DiskSize")
|
|
16467
16462
|
self._CdcId = params.get("CdcId")
|
|
16463
|
+
self._DiskName = params.get("DiskName")
|
|
16468
16464
|
memeber_set = set(params.keys())
|
|
16469
16465
|
for name, value in vars(self).items():
|
|
16470
16466
|
property_name = name[1:]
|
|
@@ -16725,7 +16721,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
|
16725
16721
|
|
|
16726
16722
|
def __init__(self):
|
|
16727
16723
|
r"""
|
|
16728
|
-
:param _VpcId: VPC ID in the format of `vpc-xxx`. To obtain valid VPC IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/vpc?rid=1) or call the [
|
|
16724
|
+
:param _VpcId: VPC ID in the format of `vpc-xxx`. To obtain valid VPC IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/vpc?rid=1) or call the [DescribeVpcs](https://www.tencentcloud.com/document/product/215/15778) API and look for the `unVpcId` fields in the response. If you specify `DEFAULT` for both `VpcId` and `SubnetId` when creating an instance, the default VPC will be used.
|
|
16729
16725
|
:type VpcId: str
|
|
16730
16726
|
:param _SubnetId: VPC subnet ID in the format `subnet-xxx`. To obtain valid subnet IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/subnet?rid=1) or call [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) and look for the `unSubnetId` fields in the response. If you specify `DEFAULT` for both `SubnetId` and `VpcId` when creating an instance, the default VPC will be used.
|
|
16731
16727
|
:type SubnetId: str
|
|
@@ -16744,7 +16740,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
|
16744
16740
|
|
|
16745
16741
|
@property
|
|
16746
16742
|
def VpcId(self):
|
|
16747
|
-
"""VPC ID in the format of `vpc-xxx`. To obtain valid VPC IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/vpc?rid=1) or call the [
|
|
16743
|
+
"""VPC ID in the format of `vpc-xxx`. To obtain valid VPC IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/vpc?rid=1) or call the [DescribeVpcs](https://www.tencentcloud.com/document/product/215/15778) API and look for the `unVpcId` fields in the response. If you specify `DEFAULT` for both `VpcId` and `SubnetId` when creating an instance, the default VPC will be used.
|
|
16748
16744
|
:rtype: str
|
|
16749
16745
|
"""
|
|
16750
16746
|
return self._VpcId
|
|
@@ -325,31 +325,6 @@ class CwpClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
-
def CreateCloudProtectServiceOrderRecord(self, request):
|
|
329
|
-
"""云护航计费产品已下线
|
|
330
|
-
|
|
331
|
-
This API is used to confirm the receipt after using the cloud escort service.
|
|
332
|
-
|
|
333
|
-
:param request: Request instance for CreateCloudProtectServiceOrderRecord.
|
|
334
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordRequest`
|
|
335
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordResponse`
|
|
336
|
-
|
|
337
|
-
"""
|
|
338
|
-
try:
|
|
339
|
-
params = request._serialize()
|
|
340
|
-
headers = request.headers
|
|
341
|
-
body = self.call("CreateCloudProtectServiceOrderRecord", params, headers=headers)
|
|
342
|
-
response = json.loads(body)
|
|
343
|
-
model = models.CreateCloudProtectServiceOrderRecordResponse()
|
|
344
|
-
model._deserialize(response["Response"])
|
|
345
|
-
return model
|
|
346
|
-
except Exception as e:
|
|
347
|
-
if isinstance(e, TencentCloudSDKException):
|
|
348
|
-
raise
|
|
349
|
-
else:
|
|
350
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
351
|
-
|
|
352
|
-
|
|
353
328
|
def CreateEmergencyVulScan(self, request):
|
|
354
329
|
"""This API is used to create emergency vulnerability scan tasks.
|
|
355
330
|
|
|
@@ -2677,7 +2652,9 @@ class CwpClient(AbstractClient):
|
|
|
2677
2652
|
|
|
2678
2653
|
|
|
2679
2654
|
def DescribeAttackLogs(self, request):
|
|
2680
|
-
"""
|
|
2655
|
+
"""DescribeAttackEvents 代替
|
|
2656
|
+
|
|
2657
|
+
This API is used to display the list of network attack logs in pagination.
|
|
2681
2658
|
|
|
2682
2659
|
:param request: Request instance for DescribeAttackLogs.
|
|
2683
2660
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackLogsRequest`
|
|
@@ -2700,7 +2677,9 @@ class CwpClient(AbstractClient):
|
|
|
2700
2677
|
|
|
2701
2678
|
|
|
2702
2679
|
def DescribeAttackSource(self, request):
|
|
2703
|
-
"""
|
|
2680
|
+
"""已废弃
|
|
2681
|
+
|
|
2682
|
+
This API is used to backtrack attacks.
|
|
2704
2683
|
|
|
2705
2684
|
:param request: Request instance for DescribeAttackSource.
|
|
2706
2685
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackSourceRequest`
|
|
@@ -2723,7 +2702,9 @@ class CwpClient(AbstractClient):
|
|
|
2723
2702
|
|
|
2724
2703
|
|
|
2725
2704
|
def DescribeAttackSourceEvents(self, request):
|
|
2726
|
-
"""
|
|
2705
|
+
"""已废弃
|
|
2706
|
+
|
|
2707
|
+
This API is used to query attack backtracking events.
|
|
2727
2708
|
|
|
2728
2709
|
:param request: Request instance for DescribeAttackSourceEvents.
|
|
2729
2710
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackSourceEventsRequest`
|
|
@@ -3573,33 +3554,10 @@ class CwpClient(AbstractClient):
|
|
|
3573
3554
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3574
3555
|
|
|
3575
3556
|
|
|
3576
|
-
def DescribeCloudProtectServiceOrderList(self, request):
|
|
3577
|
-
"""云护航计费产品已下线
|
|
3578
|
-
|
|
3579
|
-
This API is used to query the list of cloud escort service orders.
|
|
3580
|
-
|
|
3581
|
-
:param request: Request instance for DescribeCloudProtectServiceOrderList.
|
|
3582
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListRequest`
|
|
3583
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListResponse`
|
|
3584
|
-
|
|
3585
|
-
"""
|
|
3586
|
-
try:
|
|
3587
|
-
params = request._serialize()
|
|
3588
|
-
headers = request.headers
|
|
3589
|
-
body = self.call("DescribeCloudProtectServiceOrderList", params, headers=headers)
|
|
3590
|
-
response = json.loads(body)
|
|
3591
|
-
model = models.DescribeCloudProtectServiceOrderListResponse()
|
|
3592
|
-
model._deserialize(response["Response"])
|
|
3593
|
-
return model
|
|
3594
|
-
except Exception as e:
|
|
3595
|
-
if isinstance(e, TencentCloudSDKException):
|
|
3596
|
-
raise
|
|
3597
|
-
else:
|
|
3598
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
3557
|
def DescribeComponentStatistics(self, request):
|
|
3602
|
-
"""
|
|
3558
|
+
"""接口已无效
|
|
3559
|
+
|
|
3560
|
+
This API is used to obtain the data of the component statistics list.
|
|
3603
3561
|
|
|
3604
3562
|
:param request: Request instance for DescribeComponentStatistics.
|
|
3605
3563
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeComponentStatisticsRequest`
|
|
@@ -4174,7 +4132,9 @@ class CwpClient(AbstractClient):
|
|
|
4174
4132
|
|
|
4175
4133
|
|
|
4176
4134
|
def DescribeIndexList(self, request):
|
|
4177
|
-
"""
|
|
4135
|
+
"""接口已废弃
|
|
4136
|
+
|
|
4137
|
+
This API is used to obtain the index list.
|
|
4178
4138
|
|
|
4179
4139
|
:param request: Request instance for DescribeIndexList.
|
|
4180
4140
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeIndexListRequest`
|
|
@@ -6543,7 +6503,9 @@ class CwpClient(AbstractClient):
|
|
|
6543
6503
|
|
|
6544
6504
|
|
|
6545
6505
|
def DescribeSecurityProtectionStat(self, request):
|
|
6546
|
-
"""
|
|
6506
|
+
"""接口已无效
|
|
6507
|
+
|
|
6508
|
+
This API is used to obtain the summary of security protection statuses.
|
|
6547
6509
|
|
|
6548
6510
|
:param request: Request instance for DescribeSecurityProtectionStat.
|
|
6549
6511
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeSecurityProtectionStatRequest`
|