tencentcloud-sdk-python-intl-en 3.0.1087__py2.py3-none-any.whl → 3.0.1088__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +119 -45
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/live/v20180801/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/organization/v20181225/errorcodes.py +16 -4
- tencentcloud/organization/v20181225/models.py +40 -40
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +19 -19
- tencentcloud/teo/v20220901/models.py +92 -20
- tencentcloud/vclm/__init__.py +0 -0
- tencentcloud/vclm/v20240523/__init__.py +0 -0
- tencentcloud/vclm/v20240523/errorcodes.py +126 -0
- tencentcloud/vclm/v20240523/models.py +538 -0
- tencentcloud/vclm/v20240523/vclm_client.py +72 -0
- {tencentcloud_sdk_python_intl_en-3.0.1087.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1087.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/RECORD +22 -17
- {tencentcloud_sdk_python_intl_en-3.0.1087.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1087.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -20,6 +20,9 @@ ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = 'AllowedOneAttributeInEnvIdAndComputeE
|
|
|
20
20
|
# Internal error.
|
|
21
21
|
INTERNALERROR = 'InternalError'
|
|
22
22
|
|
|
23
|
+
#
|
|
24
|
+
INTERNALERROR_CALLCAM = 'InternalError.CallCam'
|
|
25
|
+
|
|
23
26
|
# The CPM API call returns an error.
|
|
24
27
|
INTERNALERROR_CALLCPMAPI = 'InternalError.CallCpmAPI'
|
|
25
28
|
|
|
@@ -1450,7 +1450,7 @@ class CreateComputeEnvResponse(AbstractModel):
|
|
|
1450
1450
|
r"""
|
|
1451
1451
|
:param _EnvId: Compute environment ID
|
|
1452
1452
|
:type EnvId: str
|
|
1453
|
-
:param _RequestId: The unique request ID,
|
|
1453
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1454
1454
|
:type RequestId: str
|
|
1455
1455
|
"""
|
|
1456
1456
|
self._EnvId = None
|
|
@@ -1469,7 +1469,7 @@ class CreateComputeEnvResponse(AbstractModel):
|
|
|
1469
1469
|
|
|
1470
1470
|
@property
|
|
1471
1471
|
def RequestId(self):
|
|
1472
|
-
"""The unique request ID,
|
|
1472
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1473
1473
|
:rtype: str
|
|
1474
1474
|
"""
|
|
1475
1475
|
return self._RequestId
|
|
@@ -1624,27 +1624,61 @@ class DataDisk(AbstractModel):
|
|
|
1624
1624
|
r"""
|
|
1625
1625
|
: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.
|
|
1626
1626
|
:type DiskSize: int
|
|
1627
|
-
:param _DiskType: Data disk type. For
|
|
1627
|
+
:param _DiskType: Data disk type. For restrictions on data disk types, refer to [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br/>
|
|
1628
|
+
<li>
|
|
1629
|
+
LOCAL_BASIC: local disk.<br/>
|
|
1630
|
+
<li>
|
|
1631
|
+
LOCAL_SSD: local SSD.<br/>
|
|
1632
|
+
<li>
|
|
1633
|
+
LOCAL_NVME: local NVMe disk, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
1634
|
+
<li>
|
|
1635
|
+
LOCAL_PRO: local HDD, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
1636
|
+
<li>
|
|
1637
|
+
CLOUD_BASIC: basic cloud disk.<br/>
|
|
1638
|
+
<li>
|
|
1639
|
+
CLOUD_PREMIUM: premium cloud disk.<br/>
|
|
1640
|
+
<li>
|
|
1641
|
+
CLOUD_SSD: cloud SSD.<br />
|
|
1642
|
+
<li>
|
|
1643
|
+
CLOUD_HSSD: enhanced SSD.<br/>
|
|
1644
|
+
<li>
|
|
1645
|
+
CLOUD_TSSD: tremendous SSD.<br/>
|
|
1646
|
+
<li>
|
|
1647
|
+
CLOUD_BSSD: balanced SSD.<br/><br/>Default value: LOCAL_BASIC.<br/><br/>This parameter is invalid for the `ResizeInstanceDisk` API.
|
|
1648
|
+
</li>
|
|
1649
|
+
</li>
|
|
1650
|
+
</li>
|
|
1651
|
+
</li>
|
|
1652
|
+
</li>
|
|
1653
|
+
</li>
|
|
1654
|
+
</li>
|
|
1655
|
+
</li>
|
|
1656
|
+
</li>
|
|
1657
|
+
</li>
|
|
1628
1658
|
:type DiskType: str
|
|
1629
1659
|
:param _DiskId: Data disk ID. Note that it’s not available for `LOCAL_BASIC` and `LOCAL_SSD` disks.
|
|
1630
1660
|
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`.
|
|
1631
1661
|
:type DiskId: str
|
|
1632
|
-
:param _DeleteWithInstance: Whether
|
|
1633
|
-
<li>TRUE:
|
|
1634
|
-
<li>
|
|
1635
|
-
|
|
1636
|
-
|
|
1662
|
+
:param _DeleteWithInstance: Whether a data disk is terminated when the associated CVM instance is terminated. Valid values:
|
|
1663
|
+
<li>TRUE: The data disk is terminated when the associated CVM instance is terminated. This only supports pay-as-you-go cloud disks that are billed by hour.</li>
|
|
1664
|
+
<li>
|
|
1665
|
+
FALSE: The data disk is retained when the associated CVM instance is terminated.<br/>
|
|
1666
|
+
Default value: TRUE.<br/>
|
|
1667
|
+
This parameter is currently used only in the `RunInstances` API.
|
|
1668
|
+
</li>
|
|
1637
1669
|
Note: This field may return null, indicating that no valid value is found.
|
|
1638
1670
|
:type DeleteWithInstance: bool
|
|
1639
1671
|
:param _SnapshotId: Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
|
|
1640
1672
|
Note: This field may return null, indicating that no valid value is found.
|
|
1641
1673
|
:type SnapshotId: str
|
|
1642
|
-
:param _Encrypt:
|
|
1643
|
-
<li>
|
|
1644
|
-
<li>
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1674
|
+
:param _Encrypt: Whether a data disk is encrypted. Valid values:
|
|
1675
|
+
<li>true: encrypted.</li>
|
|
1676
|
+
<li>
|
|
1677
|
+
false: not encrypted.<br/>
|
|
1678
|
+
Default value: false.<br/>
|
|
1679
|
+
This parameter is currently used only in the `RunInstances` API.
|
|
1680
|
+
</li>
|
|
1681
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
1648
1682
|
:type Encrypt: bool
|
|
1649
1683
|
:param _KmsKeyId: ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
|
|
1650
1684
|
|
|
@@ -1657,6 +1691,11 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1657
1691
|
:param _CdcId: ID of the dedicated cluster to which the instance belongs.
|
|
1658
1692
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1659
1693
|
:type CdcId: str
|
|
1694
|
+
:param _BurstPerformance: Burst performance.
|
|
1695
|
+
|
|
1696
|
+
<b>Note: This field is in beta test.</b>
|
|
1697
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
1698
|
+
:type BurstPerformance: bool
|
|
1660
1699
|
"""
|
|
1661
1700
|
self._DiskSize = None
|
|
1662
1701
|
self._DiskType = None
|
|
@@ -1667,6 +1706,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1667
1706
|
self._KmsKeyId = None
|
|
1668
1707
|
self._ThroughputPerformance = None
|
|
1669
1708
|
self._CdcId = None
|
|
1709
|
+
self._BurstPerformance = None
|
|
1670
1710
|
|
|
1671
1711
|
@property
|
|
1672
1712
|
def DiskSize(self):
|
|
@@ -1681,7 +1721,37 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1681
1721
|
|
|
1682
1722
|
@property
|
|
1683
1723
|
def DiskType(self):
|
|
1684
|
-
"""Data disk type. For
|
|
1724
|
+
"""Data disk type. For restrictions on data disk types, refer to [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br/>
|
|
1725
|
+
<li>
|
|
1726
|
+
LOCAL_BASIC: local disk.<br/>
|
|
1727
|
+
<li>
|
|
1728
|
+
LOCAL_SSD: local SSD.<br/>
|
|
1729
|
+
<li>
|
|
1730
|
+
LOCAL_NVME: local NVMe disk, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
1731
|
+
<li>
|
|
1732
|
+
LOCAL_PRO: local HDD, which is closely related to InstanceType, and cannot be specified.<br/>
|
|
1733
|
+
<li>
|
|
1734
|
+
CLOUD_BASIC: basic cloud disk.<br/>
|
|
1735
|
+
<li>
|
|
1736
|
+
CLOUD_PREMIUM: premium cloud disk.<br/>
|
|
1737
|
+
<li>
|
|
1738
|
+
CLOUD_SSD: cloud SSD.<br />
|
|
1739
|
+
<li>
|
|
1740
|
+
CLOUD_HSSD: enhanced SSD.<br/>
|
|
1741
|
+
<li>
|
|
1742
|
+
CLOUD_TSSD: tremendous SSD.<br/>
|
|
1743
|
+
<li>
|
|
1744
|
+
CLOUD_BSSD: balanced SSD.<br/><br/>Default value: LOCAL_BASIC.<br/><br/>This parameter is invalid for the `ResizeInstanceDisk` API.
|
|
1745
|
+
</li>
|
|
1746
|
+
</li>
|
|
1747
|
+
</li>
|
|
1748
|
+
</li>
|
|
1749
|
+
</li>
|
|
1750
|
+
</li>
|
|
1751
|
+
</li>
|
|
1752
|
+
</li>
|
|
1753
|
+
</li>
|
|
1754
|
+
</li>
|
|
1685
1755
|
:rtype: str
|
|
1686
1756
|
"""
|
|
1687
1757
|
return self._DiskType
|
|
@@ -1704,11 +1774,13 @@ It is only used as a response parameter for APIs such as `DescribeInstances`, an
|
|
|
1704
1774
|
|
|
1705
1775
|
@property
|
|
1706
1776
|
def DeleteWithInstance(self):
|
|
1707
|
-
"""Whether
|
|
1708
|
-
<li>TRUE:
|
|
1709
|
-
<li>
|
|
1710
|
-
|
|
1711
|
-
|
|
1777
|
+
"""Whether a data disk is terminated when the associated CVM instance is terminated. Valid values:
|
|
1778
|
+
<li>TRUE: The data disk is terminated when the associated CVM instance is terminated. This only supports pay-as-you-go cloud disks that are billed by hour.</li>
|
|
1779
|
+
<li>
|
|
1780
|
+
FALSE: The data disk is retained when the associated CVM instance is terminated.<br/>
|
|
1781
|
+
Default value: TRUE.<br/>
|
|
1782
|
+
This parameter is currently used only in the `RunInstances` API.
|
|
1783
|
+
</li>
|
|
1712
1784
|
Note: This field may return null, indicating that no valid value is found.
|
|
1713
1785
|
:rtype: bool
|
|
1714
1786
|
"""
|
|
@@ -1732,12 +1804,14 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
1732
1804
|
|
|
1733
1805
|
@property
|
|
1734
1806
|
def Encrypt(self):
|
|
1735
|
-
"""
|
|
1736
|
-
<li>
|
|
1737
|
-
<li>
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1807
|
+
"""Whether a data disk is encrypted. Valid values:
|
|
1808
|
+
<li>true: encrypted.</li>
|
|
1809
|
+
<li>
|
|
1810
|
+
false: not encrypted.<br/>
|
|
1811
|
+
Default value: false.<br/>
|
|
1812
|
+
This parameter is currently used only in the `RunInstances` API.
|
|
1813
|
+
</li>
|
|
1814
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
1741
1815
|
:rtype: bool
|
|
1742
1816
|
"""
|
|
1743
1817
|
return self._Encrypt
|
|
@@ -1784,6 +1858,20 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1784
1858
|
def CdcId(self, CdcId):
|
|
1785
1859
|
self._CdcId = CdcId
|
|
1786
1860
|
|
|
1861
|
+
@property
|
|
1862
|
+
def BurstPerformance(self):
|
|
1863
|
+
"""Burst performance.
|
|
1864
|
+
|
|
1865
|
+
<b>Note: This field is in beta test.</b>
|
|
1866
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
1867
|
+
:rtype: bool
|
|
1868
|
+
"""
|
|
1869
|
+
return self._BurstPerformance
|
|
1870
|
+
|
|
1871
|
+
@BurstPerformance.setter
|
|
1872
|
+
def BurstPerformance(self, BurstPerformance):
|
|
1873
|
+
self._BurstPerformance = BurstPerformance
|
|
1874
|
+
|
|
1787
1875
|
|
|
1788
1876
|
def _deserialize(self, params):
|
|
1789
1877
|
self._DiskSize = params.get("DiskSize")
|
|
@@ -1795,6 +1883,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1795
1883
|
self._KmsKeyId = params.get("KmsKeyId")
|
|
1796
1884
|
self._ThroughputPerformance = params.get("ThroughputPerformance")
|
|
1797
1885
|
self._CdcId = params.get("CdcId")
|
|
1886
|
+
self._BurstPerformance = params.get("BurstPerformance")
|
|
1798
1887
|
memeber_set = set(params.keys())
|
|
1799
1888
|
for name, value in vars(self).items():
|
|
1800
1889
|
property_name = name[1:]
|
|
@@ -6142,7 +6231,7 @@ class InternetAccessible(AbstractModel):
|
|
|
6142
6231
|
:type InternetChargeType: str
|
|
6143
6232
|
:param _InternetMaxBandwidthOut: The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps. The upper limit of bandwidth varies for different models. For more information, see [Purchase Network Bandwidth](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1).
|
|
6144
6233
|
:type InternetMaxBandwidthOut: int
|
|
6145
|
-
:param _PublicIpAssigned: Whether to
|
|
6234
|
+
:param _PublicIpAssigned: Whether to allocate a public IP address. Valid values:<br><li>true: Allocate a public IP address.</li><li>false: Do not allocate a public IP address.</li><br>When the public network bandwidth is greater than 0 Mbps, you can choose whether to enable the public IP address. The public IP address is enabled by default. When the public network bandwidth is 0, allocating the public IP address is not supported. This parameter is only used as an input parameter in the RunInstances API.
|
|
6146
6235
|
:type PublicIpAssigned: bool
|
|
6147
6236
|
:param _BandwidthPackageId: Bandwidth package ID. To obatin the IDs, you can call [`DescribeBandwidthPackages`](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) and look for the `BandwidthPackageId` fields in the response.
|
|
6148
6237
|
:type BandwidthPackageId: str
|
|
@@ -6176,7 +6265,7 @@ class InternetAccessible(AbstractModel):
|
|
|
6176
6265
|
|
|
6177
6266
|
@property
|
|
6178
6267
|
def PublicIpAssigned(self):
|
|
6179
|
-
"""Whether to
|
|
6268
|
+
"""Whether to allocate a public IP address. Valid values:<br><li>true: Allocate a public IP address.</li><li>false: Do not allocate a public IP address.</li><br>When the public network bandwidth is greater than 0 Mbps, you can choose whether to enable the public IP address. The public IP address is enabled by default. When the public network bandwidth is 0, allocating the public IP address is not supported. This parameter is only used as an input parameter in the RunInstances API.
|
|
6180
6269
|
:rtype: bool
|
|
6181
6270
|
"""
|
|
6182
6271
|
return self._PublicIpAssigned
|
|
@@ -7708,15 +7797,12 @@ class Placement(AbstractModel):
|
|
|
7708
7797
|
:type ProjectId: int
|
|
7709
7798
|
:param _HostIds: ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
|
|
7710
7799
|
:type HostIds: list of str
|
|
7711
|
-
:param _HostIps: IPs of the hosts to create CVMs
|
|
7712
|
-
:type HostIps: list of str
|
|
7713
7800
|
:param _HostId: The ID of the CDH to which the instance belongs, only used as an output parameter.
|
|
7714
7801
|
:type HostId: str
|
|
7715
7802
|
"""
|
|
7716
7803
|
self._Zone = None
|
|
7717
7804
|
self._ProjectId = None
|
|
7718
7805
|
self._HostIds = None
|
|
7719
|
-
self._HostIps = None
|
|
7720
7806
|
self._HostId = None
|
|
7721
7807
|
|
|
7722
7808
|
@property
|
|
@@ -7752,17 +7838,6 @@ class Placement(AbstractModel):
|
|
|
7752
7838
|
def HostIds(self, HostIds):
|
|
7753
7839
|
self._HostIds = HostIds
|
|
7754
7840
|
|
|
7755
|
-
@property
|
|
7756
|
-
def HostIps(self):
|
|
7757
|
-
"""IPs of the hosts to create CVMs
|
|
7758
|
-
:rtype: list of str
|
|
7759
|
-
"""
|
|
7760
|
-
return self._HostIps
|
|
7761
|
-
|
|
7762
|
-
@HostIps.setter
|
|
7763
|
-
def HostIps(self, HostIps):
|
|
7764
|
-
self._HostIps = HostIps
|
|
7765
|
-
|
|
7766
7841
|
@property
|
|
7767
7842
|
def HostId(self):
|
|
7768
7843
|
"""The ID of the CDH to which the instance belongs, only used as an output parameter.
|
|
@@ -7779,7 +7854,6 @@ class Placement(AbstractModel):
|
|
|
7779
7854
|
self._Zone = params.get("Zone")
|
|
7780
7855
|
self._ProjectId = params.get("ProjectId")
|
|
7781
7856
|
self._HostIds = params.get("HostIds")
|
|
7782
|
-
self._HostIps = params.get("HostIps")
|
|
7783
7857
|
self._HostId = params.get("HostId")
|
|
7784
7858
|
memeber_set = set(params.keys())
|
|
7785
7859
|
for name, value in vars(self).items():
|
|
@@ -9858,7 +9932,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
|
9858
9932
|
:type VpcId: str
|
|
9859
9933
|
: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.
|
|
9860
9934
|
:type SubnetId: str
|
|
9861
|
-
:param _AsVpcGateway: Whether
|
|
9935
|
+
:param _AsVpcGateway: Whether it is used as a public gateway. A public gateway can only be used normally when an instance has a public IP address and is in a VPC. Valid values:<li>true: It is used as a public gateway.</li><li>false: It is not used as a public gateway.</li>Default value: false.
|
|
9862
9936
|
:type AsVpcGateway: bool
|
|
9863
9937
|
:param _PrivateIpAddresses: Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
|
|
9864
9938
|
:type PrivateIpAddresses: list of str
|
|
@@ -9895,7 +9969,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
|
9895
9969
|
|
|
9896
9970
|
@property
|
|
9897
9971
|
def AsVpcGateway(self):
|
|
9898
|
-
"""Whether
|
|
9972
|
+
"""Whether it is used as a public gateway. A public gateway can only be used normally when an instance has a public IP address and is in a VPC. Valid values:<li>true: It is used as a public gateway.</li><li>false: It is not used as a public gateway.</li>Default value: false.
|
|
9899
9973
|
:rtype: bool
|
|
9900
9974
|
"""
|
|
9901
9975
|
return self._AsVpcGateway
|
|
@@ -28,9 +28,9 @@ class LighthouseClient(AbstractClient):
|
|
|
28
28
|
|
|
29
29
|
def ApplyInstanceSnapshot(self, request):
|
|
30
30
|
"""This API is used to roll back the system disk snapshot of the specified instance.
|
|
31
|
-
<li>Only rollback to the original system disk is supported
|
|
31
|
+
<li>Only rollback to the original system disk is supported. </li>
|
|
32
32
|
<li>Only snapshots in `NORMAL` status can be used for rollback. To query the status of a snapshot, you can call the `DescribeSnapshots` API and see the `SnapshotState` field in the response.</li>
|
|
33
|
-
<li>When a snapshot is rolled back, the status of the instance must be `STOPPED` or `RUNNING`. You can call the `DescribeInstances` API to query the instance status. Instances in `RUNNING` status will be forcibly shut down before snapshot rollback
|
|
33
|
+
<li>When a snapshot is rolled back, the status of the instance must be `STOPPED` or `RUNNING`. You can call the `DescribeInstances` API to query the instance status. Instances in `RUNNING` status will be forcibly shut down before snapshot rollback. </li>
|
|
34
34
|
|
|
35
35
|
:param request: Request instance for ApplyInstanceSnapshot.
|
|
36
36
|
:type request: :class:`tencentcloud.lighthouse.v20200324.models.ApplyInstanceSnapshotRequest`
|
|
@@ -76,14 +76,14 @@ class ApplyInstanceSnapshotResponse(AbstractModel):
|
|
|
76
76
|
|
|
77
77
|
def __init__(self):
|
|
78
78
|
r"""
|
|
79
|
-
:param _RequestId: The unique request ID,
|
|
79
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
80
80
|
:type RequestId: str
|
|
81
81
|
"""
|
|
82
82
|
self._RequestId = None
|
|
83
83
|
|
|
84
84
|
@property
|
|
85
85
|
def RequestId(self):
|
|
86
|
-
"""The unique request ID,
|
|
86
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
87
87
|
:rtype: str
|
|
88
88
|
"""
|
|
89
89
|
return self._RequestId
|
|
@@ -527,7 +527,7 @@ RESOURCENOTFOUND_TASKID = 'ResourceNotFound.TaskId'
|
|
|
527
527
|
# You disabled the service.
|
|
528
528
|
RESOURCENOTFOUND_USERDISABLESERVICE = 'ResourceNotFound.UserDisableService'
|
|
529
529
|
|
|
530
|
-
# The
|
|
530
|
+
# The CSS service has not been activated.
|
|
531
531
|
RESOURCENOTFOUND_USERNOTEXIST = 'ResourceNotFound.UserNotExist'
|
|
532
532
|
|
|
533
533
|
# The user does not exist.
|
|
@@ -127,14 +127,14 @@ class AddDelayLiveStreamResponse(AbstractModel):
|
|
|
127
127
|
|
|
128
128
|
def __init__(self):
|
|
129
129
|
r"""
|
|
130
|
-
:param _RequestId: The unique request ID,
|
|
130
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
131
131
|
:type RequestId: str
|
|
132
132
|
"""
|
|
133
133
|
self._RequestId = None
|
|
134
134
|
|
|
135
135
|
@property
|
|
136
136
|
def RequestId(self):
|
|
137
|
-
"""The unique request ID,
|
|
137
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
138
138
|
:rtype: str
|
|
139
139
|
"""
|
|
140
140
|
return self._RequestId
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
#
|
|
18
|
+
FAILEDOPERATION = 'FailedOperation'
|
|
19
|
+
|
|
17
20
|
# Members cannot be deleted from the root unit.
|
|
18
21
|
FAILEDOPERATION_DISABLEDELETEMEMBERFROMROOTNODE = 'FailedOperation.DisableDeleteMemberFromRootNode'
|
|
19
22
|
|
|
@@ -26,19 +29,28 @@ FAILEDOPERATION_INORGANIZATIONALREADY = 'FailedOperation.InOrganizationAlready'
|
|
|
26
29
|
# The name is already in use.
|
|
27
30
|
FAILEDOPERATION_MEMBERNAMEUSED = 'FailedOperation.MemberNameUsed'
|
|
28
31
|
|
|
29
|
-
# There are members in this
|
|
32
|
+
# There are members in this department
|
|
30
33
|
FAILEDOPERATION_NODENOTEMPTY = 'FailedOperation.NodeNotEmpty'
|
|
31
34
|
|
|
35
|
+
# You can only invite accounts within the same site.
|
|
36
|
+
FAILEDOPERATION_NOTSAMEREGION = 'FailedOperation.NotSameRegion'
|
|
37
|
+
|
|
32
38
|
# The organization already exists.
|
|
33
39
|
FAILEDOPERATION_ORGANIZATIONEXISTALREADY = 'FailedOperation.OrganizationExistAlready'
|
|
34
40
|
|
|
35
41
|
# There are members in this organization.
|
|
36
42
|
FAILEDOPERATION_ORGANIZATIONNOTEMPTY = 'FailedOperation.OrganizationNotEmpty'
|
|
37
43
|
|
|
44
|
+
# Failed to leave the shared unit.
|
|
45
|
+
FAILEDOPERATION_QUITSHAREUINTERROR = 'FailedOperation.QuitShareUintError'
|
|
46
|
+
|
|
38
47
|
# The invitation has already been sent before.
|
|
39
48
|
FAILEDOPERATION_RESENTINVITATION = 'FailedOperation.ReSentInvitation'
|
|
40
49
|
|
|
41
|
-
#
|
|
50
|
+
# Shared unit is not empty.
|
|
51
|
+
FAILEDOPERATION_SHAREUNITNOTEMPTY = 'FailedOperation.ShareUnitNotEmpty'
|
|
52
|
+
|
|
53
|
+
# The UIN does not belong to the organization.
|
|
42
54
|
FAILEDOPERATION_SOMEUINSNOTINORGANIZATION = 'FailedOperation.SomeUinsNotInOrganization'
|
|
43
55
|
|
|
44
56
|
# The user has already joined the organization.
|
|
@@ -50,10 +62,10 @@ FAILEDOPERATION_USERNOTREGISTER = 'FailedOperation.UserNotRegister'
|
|
|
50
62
|
# The number of organization members has reached the maximum.
|
|
51
63
|
LIMITEXCEEDED_MEMBERS = 'LimitExceeded.Members'
|
|
52
64
|
|
|
53
|
-
#
|
|
65
|
+
# The department has too many levels.
|
|
54
66
|
LIMITEXCEEDED_NODEDEPTHEXCEEDLIMIT = 'LimitExceeded.NodeDepthExceedLimit'
|
|
55
67
|
|
|
56
|
-
# The number of
|
|
68
|
+
# The number of departments exceeds the upper limit.
|
|
57
69
|
LIMITEXCEEDED_NODEEXCEEDLIMIT = 'LimitExceeded.NodeExceedLimit'
|
|
58
70
|
|
|
59
71
|
# The organizational unit name is already in use.
|