tencentcloud-sdk-python-intl-en 3.0.1182__py2.py3-none-any.whl → 3.0.1184__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/ccc/v20200210/errorcodes.py +9 -0
- tencentcloud/ccc/v20200210/models.py +95 -83
- tencentcloud/vpc/v20170312/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +174 -12
- tencentcloud/vpc/v20170312/vpc_client.py +26 -0
- {tencentcloud_sdk_python_intl_en-3.0.1182.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1182.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/RECORD +10 -10
- {tencentcloud_sdk_python_intl_en-3.0.1182.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1182.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
#
|
|
18
|
+
FAILEDOPERATION_AICONCURRENTNOPACKAGE = 'FailedOperation.AIConcurrentNoPackage'
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
FAILEDOPERATION_AICONCURRENTOVERFREQUENCY = 'FailedOperation.AIConcurrentOverFrequency'
|
|
22
|
+
|
|
17
23
|
# Outbound call failure.
|
|
18
24
|
FAILEDOPERATION_CALLOUTFAILED = 'FailedOperation.CallOutFailed'
|
|
19
25
|
|
|
@@ -119,6 +125,9 @@ INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = 'InvalidParameterValue.ApplyIDNotExist'
|
|
|
119
125
|
# Error in the status of the review form.
|
|
120
126
|
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
|
|
121
127
|
|
|
128
|
+
#
|
|
129
|
+
INVALIDPARAMETERVALUE_EXPERIENCEACCOUNT = 'InvalidParameterValue.ExperienceAccount'
|
|
130
|
+
|
|
122
131
|
# The SDKAppID does not exist.
|
|
123
132
|
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
|
|
124
133
|
|
|
@@ -1600,6 +1600,8 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
1600
1600
|
|
|
1601
1601
|
@property
|
|
1602
1602
|
def PromptVariables(self):
|
|
1603
|
+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
|
|
1604
|
+
|
|
1603
1605
|
"""Prompt variable.
|
|
1604
1606
|
:rtype: list of Variable
|
|
1605
1607
|
"""
|
|
@@ -1607,6 +1609,8 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
1607
1609
|
|
|
1608
1610
|
@PromptVariables.setter
|
|
1609
1611
|
def PromptVariables(self, PromptVariables):
|
|
1612
|
+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
|
|
1613
|
+
|
|
1610
1614
|
self._PromptVariables = PromptVariables
|
|
1611
1615
|
|
|
1612
1616
|
|
|
@@ -1685,6 +1689,32 @@ class CreateAICallRequest(AbstractModel):
|
|
|
1685
1689
|
:type SdkAppId: int
|
|
1686
1690
|
:param _Callee: Called number.
|
|
1687
1691
|
:type Callee: str
|
|
1692
|
+
:param _LLMType: Model interface protocol types, currently compatible with three protocol types:
|
|
1693
|
+
|
|
1694
|
+
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
|
|
1695
|
+
- Azure protocol:"azure"
|
|
1696
|
+
- Minimax protocol:"minimax"
|
|
1697
|
+
:type LLMType: str
|
|
1698
|
+
:param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
|
|
1699
|
+
|
|
1700
|
+
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
|
1701
|
+
|
|
1702
|
+
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
|
|
1703
|
+
|
|
1704
|
+
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
|
|
1705
|
+
:type APIKey: str
|
|
1706
|
+
:param _APIUrl: Model interface address
|
|
1707
|
+
|
|
1708
|
+
- OpenAI protocol
|
|
1709
|
+
GPT:"https://api.openai.com/v1/"
|
|
1710
|
+
Deepseek:"https://api.deepseek.com/v1"
|
|
1711
|
+
|
|
1712
|
+
- Azure protocol
|
|
1713
|
+
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
|
|
1714
|
+
|
|
1715
|
+
- Minimax protocol
|
|
1716
|
+
"https://api.minimax.chat/v1"
|
|
1717
|
+
:type APIUrl: str
|
|
1688
1718
|
:param _SystemPrompt: ## Identity
|
|
1689
1719
|
You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses.
|
|
1690
1720
|
|
|
@@ -1717,12 +1747,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
|
|
|
1717
1747
|
- If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions.
|
|
1718
1748
|
- If user do not have any questions, call function end_call to hang up.
|
|
1719
1749
|
:type SystemPrompt: str
|
|
1720
|
-
:param _LLMType: Model interface protocol types, currently compatible with three protocol types:
|
|
1721
|
-
|
|
1722
|
-
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
|
|
1723
|
-
- Azure protocol:"azure"
|
|
1724
|
-
- Minimax protocol:"minimax"
|
|
1725
|
-
:type LLMType: str
|
|
1726
1750
|
:param _Model: Model name, such as
|
|
1727
1751
|
|
|
1728
1752
|
- OpenAI protocol
|
|
@@ -1734,26 +1758,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
|
|
|
1734
1758
|
- Minimax protocol
|
|
1735
1759
|
"deepseek-chat".
|
|
1736
1760
|
:type Model: str
|
|
1737
|
-
:param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
|
|
1738
|
-
|
|
1739
|
-
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
|
1740
|
-
|
|
1741
|
-
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
|
|
1742
|
-
|
|
1743
|
-
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
|
|
1744
|
-
:type APIKey: str
|
|
1745
|
-
:param _APIUrl: Model interface address
|
|
1746
|
-
|
|
1747
|
-
- OpenAI protocol
|
|
1748
|
-
GPT:"https://api.openai.com/v1/"
|
|
1749
|
-
Deepseek:"https://api.deepseek.com/v1"
|
|
1750
|
-
|
|
1751
|
-
- Azure protocol
|
|
1752
|
-
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
|
|
1753
|
-
|
|
1754
|
-
- Minimax protocol
|
|
1755
|
-
"https://api.minimax.chat/v1"
|
|
1756
|
-
:type APIUrl: str
|
|
1757
1761
|
:param _VoiceType: The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
|
|
1758
1762
|
|
|
1759
1763
|
Chinese:
|
|
@@ -1904,11 +1908,11 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
1904
1908
|
"""
|
|
1905
1909
|
self._SdkAppId = None
|
|
1906
1910
|
self._Callee = None
|
|
1907
|
-
self._SystemPrompt = None
|
|
1908
1911
|
self._LLMType = None
|
|
1909
|
-
self._Model = None
|
|
1910
1912
|
self._APIKey = None
|
|
1911
1913
|
self._APIUrl = None
|
|
1914
|
+
self._SystemPrompt = None
|
|
1915
|
+
self._Model = None
|
|
1912
1916
|
self._VoiceType = None
|
|
1913
1917
|
self._Callers = None
|
|
1914
1918
|
self._WelcomeMessage = None
|
|
@@ -1952,6 +1956,59 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
1952
1956
|
def Callee(self, Callee):
|
|
1953
1957
|
self._Callee = Callee
|
|
1954
1958
|
|
|
1959
|
+
@property
|
|
1960
|
+
def LLMType(self):
|
|
1961
|
+
"""Model interface protocol types, currently compatible with three protocol types:
|
|
1962
|
+
|
|
1963
|
+
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
|
|
1964
|
+
- Azure protocol:"azure"
|
|
1965
|
+
- Minimax protocol:"minimax"
|
|
1966
|
+
:rtype: str
|
|
1967
|
+
"""
|
|
1968
|
+
return self._LLMType
|
|
1969
|
+
|
|
1970
|
+
@LLMType.setter
|
|
1971
|
+
def LLMType(self, LLMType):
|
|
1972
|
+
self._LLMType = LLMType
|
|
1973
|
+
|
|
1974
|
+
@property
|
|
1975
|
+
def APIKey(self):
|
|
1976
|
+
"""Model API key, for authentication information, please refer to the respective model's official website
|
|
1977
|
+
|
|
1978
|
+
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
|
1979
|
+
|
|
1980
|
+
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
|
|
1981
|
+
|
|
1982
|
+
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
|
|
1983
|
+
:rtype: str
|
|
1984
|
+
"""
|
|
1985
|
+
return self._APIKey
|
|
1986
|
+
|
|
1987
|
+
@APIKey.setter
|
|
1988
|
+
def APIKey(self, APIKey):
|
|
1989
|
+
self._APIKey = APIKey
|
|
1990
|
+
|
|
1991
|
+
@property
|
|
1992
|
+
def APIUrl(self):
|
|
1993
|
+
"""Model interface address
|
|
1994
|
+
|
|
1995
|
+
- OpenAI protocol
|
|
1996
|
+
GPT:"https://api.openai.com/v1/"
|
|
1997
|
+
Deepseek:"https://api.deepseek.com/v1"
|
|
1998
|
+
|
|
1999
|
+
- Azure protocol
|
|
2000
|
+
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
|
|
2001
|
+
|
|
2002
|
+
- Minimax protocol
|
|
2003
|
+
"https://api.minimax.chat/v1"
|
|
2004
|
+
:rtype: str
|
|
2005
|
+
"""
|
|
2006
|
+
return self._APIUrl
|
|
2007
|
+
|
|
2008
|
+
@APIUrl.setter
|
|
2009
|
+
def APIUrl(self, APIUrl):
|
|
2010
|
+
self._APIUrl = APIUrl
|
|
2011
|
+
|
|
1955
2012
|
@property
|
|
1956
2013
|
def SystemPrompt(self):
|
|
1957
2014
|
"""## Identity
|
|
@@ -1993,21 +2050,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
|
|
|
1993
2050
|
def SystemPrompt(self, SystemPrompt):
|
|
1994
2051
|
self._SystemPrompt = SystemPrompt
|
|
1995
2052
|
|
|
1996
|
-
@property
|
|
1997
|
-
def LLMType(self):
|
|
1998
|
-
"""Model interface protocol types, currently compatible with three protocol types:
|
|
1999
|
-
|
|
2000
|
-
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
|
|
2001
|
-
- Azure protocol:"azure"
|
|
2002
|
-
- Minimax protocol:"minimax"
|
|
2003
|
-
:rtype: str
|
|
2004
|
-
"""
|
|
2005
|
-
return self._LLMType
|
|
2006
|
-
|
|
2007
|
-
@LLMType.setter
|
|
2008
|
-
def LLMType(self, LLMType):
|
|
2009
|
-
self._LLMType = LLMType
|
|
2010
|
-
|
|
2011
2053
|
@property
|
|
2012
2054
|
def Model(self):
|
|
2013
2055
|
"""Model name, such as
|
|
@@ -2028,44 +2070,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
|
|
|
2028
2070
|
def Model(self, Model):
|
|
2029
2071
|
self._Model = Model
|
|
2030
2072
|
|
|
2031
|
-
@property
|
|
2032
|
-
def APIKey(self):
|
|
2033
|
-
"""Model API key, for authentication information, please refer to the respective model's official website
|
|
2034
|
-
|
|
2035
|
-
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
|
2036
|
-
|
|
2037
|
-
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
|
|
2038
|
-
|
|
2039
|
-
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
|
|
2040
|
-
:rtype: str
|
|
2041
|
-
"""
|
|
2042
|
-
return self._APIKey
|
|
2043
|
-
|
|
2044
|
-
@APIKey.setter
|
|
2045
|
-
def APIKey(self, APIKey):
|
|
2046
|
-
self._APIKey = APIKey
|
|
2047
|
-
|
|
2048
|
-
@property
|
|
2049
|
-
def APIUrl(self):
|
|
2050
|
-
"""Model interface address
|
|
2051
|
-
|
|
2052
|
-
- OpenAI protocol
|
|
2053
|
-
GPT:"https://api.openai.com/v1/"
|
|
2054
|
-
Deepseek:"https://api.deepseek.com/v1"
|
|
2055
|
-
|
|
2056
|
-
- Azure protocol
|
|
2057
|
-
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
|
|
2058
|
-
|
|
2059
|
-
- Minimax protocol
|
|
2060
|
-
"https://api.minimax.chat/v1"
|
|
2061
|
-
:rtype: str
|
|
2062
|
-
"""
|
|
2063
|
-
return self._APIUrl
|
|
2064
|
-
|
|
2065
|
-
@APIUrl.setter
|
|
2066
|
-
def APIUrl(self, APIUrl):
|
|
2067
|
-
self._APIUrl = APIUrl
|
|
2068
|
-
|
|
2069
2073
|
@property
|
|
2070
2074
|
def VoiceType(self):
|
|
2071
2075
|
"""The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
|
|
@@ -2362,6 +2366,8 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
2362
2366
|
|
|
2363
2367
|
@property
|
|
2364
2368
|
def PromptVariables(self):
|
|
2369
|
+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
|
|
2370
|
+
|
|
2365
2371
|
"""Prompt word variable.
|
|
2366
2372
|
:rtype: list of Variable
|
|
2367
2373
|
"""
|
|
@@ -2369,6 +2375,8 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
2369
2375
|
|
|
2370
2376
|
@PromptVariables.setter
|
|
2371
2377
|
def PromptVariables(self, PromptVariables):
|
|
2378
|
+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
|
|
2379
|
+
|
|
2372
2380
|
self._PromptVariables = PromptVariables
|
|
2373
2381
|
|
|
2374
2382
|
@property
|
|
@@ -2397,11 +2405,11 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
2397
2405
|
def _deserialize(self, params):
|
|
2398
2406
|
self._SdkAppId = params.get("SdkAppId")
|
|
2399
2407
|
self._Callee = params.get("Callee")
|
|
2400
|
-
self._SystemPrompt = params.get("SystemPrompt")
|
|
2401
2408
|
self._LLMType = params.get("LLMType")
|
|
2402
|
-
self._Model = params.get("Model")
|
|
2403
2409
|
self._APIKey = params.get("APIKey")
|
|
2404
2410
|
self._APIUrl = params.get("APIUrl")
|
|
2411
|
+
self._SystemPrompt = params.get("SystemPrompt")
|
|
2412
|
+
self._Model = params.get("Model")
|
|
2405
2413
|
self._VoiceType = params.get("VoiceType")
|
|
2406
2414
|
self._Callers = params.get("Callers")
|
|
2407
2415
|
self._WelcomeMessage = params.get("WelcomeMessage")
|
|
@@ -11516,6 +11524,8 @@ class StaffInfo(AbstractModel):
|
|
|
11516
11524
|
|
|
11517
11525
|
@property
|
|
11518
11526
|
def RoleId(self):
|
|
11527
|
+
warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
|
|
11528
|
+
|
|
11519
11529
|
"""User role id.
|
|
11520
11530
|
:rtype: int
|
|
11521
11531
|
"""
|
|
@@ -11523,6 +11533,8 @@ class StaffInfo(AbstractModel):
|
|
|
11523
11533
|
|
|
11524
11534
|
@RoleId.setter
|
|
11525
11535
|
def RoleId(self, RoleId):
|
|
11536
|
+
warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
|
|
11537
|
+
|
|
11526
11538
|
self._RoleId = RoleId
|
|
11527
11539
|
|
|
11528
11540
|
@property
|
|
@@ -386,7 +386,7 @@ INVALIDPARAMETERVALUE_TAGKEYNOTEXISTS = 'InvalidParameterValue.TagKeyNotExists'
|
|
|
386
386
|
# Tags are not assigned quotas.
|
|
387
387
|
INVALIDPARAMETERVALUE_TAGNOTALLOCATEDQUOTA = 'InvalidParameterValue.TagNotAllocatedQuota'
|
|
388
388
|
|
|
389
|
-
# The
|
|
389
|
+
# The Tag does not exist.
|
|
390
390
|
INVALIDPARAMETERVALUE_TAGNOTEXISTED = 'InvalidParameterValue.TagNotExisted'
|
|
391
391
|
|
|
392
392
|
# Unsupported tag.
|
|
@@ -6480,17 +6480,21 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6480
6480
|
def __init__(self):
|
|
6481
6481
|
r"""
|
|
6482
6482
|
:param _NetworkType: The network type of the bandwidth package. Default value: `BGP`. Valid values:
|
|
6483
|
-
`BGP`
|
|
6483
|
+
`BGP`
|
|
6484
6484
|
`HIGH_QUALITY_BGP`
|
|
6485
6485
|
:type NetworkType: str
|
|
6486
|
-
:param _ChargeType: The billing mode of the bandwidth package. Default value: `
|
|
6487
|
-
<li>`
|
|
6488
|
-
<li>`
|
|
6489
|
-
<li>`
|
|
6486
|
+
:param _ChargeType: The billing mode of the bandwidth package. Default value: `ENHANCED95_POSTPAID_BY_MONTH`. Valid values:
|
|
6487
|
+
<li>`ENHANCED95_POSTPAID_BY_MONTH`: Pay-as-you-go - Enhanced 95th percentile</li>
|
|
6488
|
+
<li>`PRIMARY_TRAFFIC_POSTPAID_BY_HOUR`: Postpaid - Main Traffic Billing</li>
|
|
6489
|
+
<li>`BANDWIDTH_POSTPAID_BY_DAY`: General BGP, Pay-as-you-go - Bandwidth-based</li>
|
|
6490
|
+
<li>`PEAK_BANDWIDTH_POSTPAID_BY_DAY`: Static single-line, Pay-as-you-go - Daily billed</li>
|
|
6491
|
+
<li>`TOP5_POSTPAID_BY_MONTH`: Pay-as-you-go - Monthly top 5th, If you need to use this Bglling mode, please submit a ticket.</li>
|
|
6492
|
+
|
|
6493
|
+
|
|
6490
6494
|
:type ChargeType: str
|
|
6491
6495
|
:param _BandwidthPackageName: The name of the bandwidth package.
|
|
6492
6496
|
:type BandwidthPackageName: str
|
|
6493
|
-
:param _BandwidthPackageCount: The number of bandwidth packages to create. Valid range: 1-20. It can only be
|
|
6497
|
+
:param _BandwidthPackageCount: The number of bandwidth packages to create. Valid range: 1-20. It can only be "1" for bill-by-CVM accounts.
|
|
6494
6498
|
:type BandwidthPackageCount: int
|
|
6495
6499
|
:param _InternetMaxBandwidth: The limit of the bandwidth package in Mbps. The value '-1' indicates there is no limit. This feature is currently in beta.
|
|
6496
6500
|
:type InternetMaxBandwidth: int
|
|
@@ -6500,6 +6504,10 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6500
6504
|
:type Protocol: str
|
|
6501
6505
|
:param _TimeSpan:
|
|
6502
6506
|
:type TimeSpan: int
|
|
6507
|
+
:param _Egress: Network egress. It defaults to `center_egress1`. Valid values:
|
|
6508
|
+
center_egress1,center_egress2,center_egress3
|
|
6509
|
+
|
|
6510
|
+
:type Egress: str
|
|
6503
6511
|
"""
|
|
6504
6512
|
self._NetworkType = None
|
|
6505
6513
|
self._ChargeType = None
|
|
@@ -6509,11 +6517,12 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6509
6517
|
self._Tags = None
|
|
6510
6518
|
self._Protocol = None
|
|
6511
6519
|
self._TimeSpan = None
|
|
6520
|
+
self._Egress = None
|
|
6512
6521
|
|
|
6513
6522
|
@property
|
|
6514
6523
|
def NetworkType(self):
|
|
6515
6524
|
"""The network type of the bandwidth package. Default value: `BGP`. Valid values:
|
|
6516
|
-
`BGP`
|
|
6525
|
+
`BGP`
|
|
6517
6526
|
`HIGH_QUALITY_BGP`
|
|
6518
6527
|
:rtype: str
|
|
6519
6528
|
"""
|
|
@@ -6525,10 +6534,14 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6525
6534
|
|
|
6526
6535
|
@property
|
|
6527
6536
|
def ChargeType(self):
|
|
6528
|
-
"""The billing mode of the bandwidth package. Default value: `
|
|
6529
|
-
<li>`
|
|
6530
|
-
<li>`
|
|
6531
|
-
<li>`
|
|
6537
|
+
"""The billing mode of the bandwidth package. Default value: `ENHANCED95_POSTPAID_BY_MONTH`. Valid values:
|
|
6538
|
+
<li>`ENHANCED95_POSTPAID_BY_MONTH`: Pay-as-you-go - Enhanced 95th percentile</li>
|
|
6539
|
+
<li>`PRIMARY_TRAFFIC_POSTPAID_BY_HOUR`: Postpaid - Main Traffic Billing</li>
|
|
6540
|
+
<li>`BANDWIDTH_POSTPAID_BY_DAY`: General BGP, Pay-as-you-go - Bandwidth-based</li>
|
|
6541
|
+
<li>`PEAK_BANDWIDTH_POSTPAID_BY_DAY`: Static single-line, Pay-as-you-go - Daily billed</li>
|
|
6542
|
+
<li>`TOP5_POSTPAID_BY_MONTH`: Pay-as-you-go - Monthly top 5th, If you need to use this Bglling mode, please submit a ticket.</li>
|
|
6543
|
+
|
|
6544
|
+
|
|
6532
6545
|
:rtype: str
|
|
6533
6546
|
"""
|
|
6534
6547
|
return self._ChargeType
|
|
@@ -6550,7 +6563,7 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6550
6563
|
|
|
6551
6564
|
@property
|
|
6552
6565
|
def BandwidthPackageCount(self):
|
|
6553
|
-
"""The number of bandwidth packages to create. Valid range: 1-20. It can only be
|
|
6566
|
+
"""The number of bandwidth packages to create. Valid range: 1-20. It can only be "1" for bill-by-CVM accounts.
|
|
6554
6567
|
:rtype: int
|
|
6555
6568
|
"""
|
|
6556
6569
|
return self._BandwidthPackageCount
|
|
@@ -6603,6 +6616,19 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6603
6616
|
def TimeSpan(self, TimeSpan):
|
|
6604
6617
|
self._TimeSpan = TimeSpan
|
|
6605
6618
|
|
|
6619
|
+
@property
|
|
6620
|
+
def Egress(self):
|
|
6621
|
+
""" Network egress. It defaults to `center_egress1`. Valid values:
|
|
6622
|
+
center_egress1,center_egress2,center_egress3
|
|
6623
|
+
|
|
6624
|
+
:rtype: str
|
|
6625
|
+
"""
|
|
6626
|
+
return self._Egress
|
|
6627
|
+
|
|
6628
|
+
@Egress.setter
|
|
6629
|
+
def Egress(self, Egress):
|
|
6630
|
+
self._Egress = Egress
|
|
6631
|
+
|
|
6606
6632
|
|
|
6607
6633
|
def _deserialize(self, params):
|
|
6608
6634
|
self._NetworkType = params.get("NetworkType")
|
|
@@ -6618,6 +6644,7 @@ class CreateBandwidthPackageRequest(AbstractModel):
|
|
|
6618
6644
|
self._Tags.append(obj)
|
|
6619
6645
|
self._Protocol = params.get("Protocol")
|
|
6620
6646
|
self._TimeSpan = params.get("TimeSpan")
|
|
6647
|
+
self._Egress = params.get("Egress")
|
|
6621
6648
|
memeber_set = set(params.keys())
|
|
6622
6649
|
for name, value in vars(self).items():
|
|
6623
6650
|
property_name = name[1:]
|
|
@@ -18779,6 +18806,90 @@ class DescribeIPv6AddressesResponse(AbstractModel):
|
|
|
18779
18806
|
self._RequestId = params.get("RequestId")
|
|
18780
18807
|
|
|
18781
18808
|
|
|
18809
|
+
class DescribeInstanceJumboRequest(AbstractModel):
|
|
18810
|
+
"""DescribeInstanceJumbo request structure.
|
|
18811
|
+
|
|
18812
|
+
"""
|
|
18813
|
+
|
|
18814
|
+
def __init__(self):
|
|
18815
|
+
r"""
|
|
18816
|
+
:param _InstanceIds: Instance ID list of CVM. limits up to 10 instances for each query.
|
|
18817
|
+
:type InstanceIds: list of str
|
|
18818
|
+
"""
|
|
18819
|
+
self._InstanceIds = None
|
|
18820
|
+
|
|
18821
|
+
@property
|
|
18822
|
+
def InstanceIds(self):
|
|
18823
|
+
"""Instance ID list of CVM. limits up to 10 instances for each query.
|
|
18824
|
+
:rtype: list of str
|
|
18825
|
+
"""
|
|
18826
|
+
return self._InstanceIds
|
|
18827
|
+
|
|
18828
|
+
@InstanceIds.setter
|
|
18829
|
+
def InstanceIds(self, InstanceIds):
|
|
18830
|
+
self._InstanceIds = InstanceIds
|
|
18831
|
+
|
|
18832
|
+
|
|
18833
|
+
def _deserialize(self, params):
|
|
18834
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
18835
|
+
memeber_set = set(params.keys())
|
|
18836
|
+
for name, value in vars(self).items():
|
|
18837
|
+
property_name = name[1:]
|
|
18838
|
+
if property_name in memeber_set:
|
|
18839
|
+
memeber_set.remove(property_name)
|
|
18840
|
+
if len(memeber_set) > 0:
|
|
18841
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18842
|
+
|
|
18843
|
+
|
|
18844
|
+
|
|
18845
|
+
class DescribeInstanceJumboResponse(AbstractModel):
|
|
18846
|
+
"""DescribeInstanceJumbo response structure.
|
|
18847
|
+
|
|
18848
|
+
"""
|
|
18849
|
+
|
|
18850
|
+
def __init__(self):
|
|
18851
|
+
r"""
|
|
18852
|
+
:param _InstanceJumboSet: Specifies the jumbo frame status of the cloud virtual machine.
|
|
18853
|
+
:type InstanceJumboSet: list of InstanceJumbo
|
|
18854
|
+
: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.
|
|
18855
|
+
:type RequestId: str
|
|
18856
|
+
"""
|
|
18857
|
+
self._InstanceJumboSet = None
|
|
18858
|
+
self._RequestId = None
|
|
18859
|
+
|
|
18860
|
+
@property
|
|
18861
|
+
def InstanceJumboSet(self):
|
|
18862
|
+
"""Specifies the jumbo frame status of the cloud virtual machine.
|
|
18863
|
+
:rtype: list of InstanceJumbo
|
|
18864
|
+
"""
|
|
18865
|
+
return self._InstanceJumboSet
|
|
18866
|
+
|
|
18867
|
+
@InstanceJumboSet.setter
|
|
18868
|
+
def InstanceJumboSet(self, InstanceJumboSet):
|
|
18869
|
+
self._InstanceJumboSet = InstanceJumboSet
|
|
18870
|
+
|
|
18871
|
+
@property
|
|
18872
|
+
def RequestId(self):
|
|
18873
|
+
"""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.
|
|
18874
|
+
:rtype: str
|
|
18875
|
+
"""
|
|
18876
|
+
return self._RequestId
|
|
18877
|
+
|
|
18878
|
+
@RequestId.setter
|
|
18879
|
+
def RequestId(self, RequestId):
|
|
18880
|
+
self._RequestId = RequestId
|
|
18881
|
+
|
|
18882
|
+
|
|
18883
|
+
def _deserialize(self, params):
|
|
18884
|
+
if params.get("InstanceJumboSet") is not None:
|
|
18885
|
+
self._InstanceJumboSet = []
|
|
18886
|
+
for item in params.get("InstanceJumboSet"):
|
|
18887
|
+
obj = InstanceJumbo()
|
|
18888
|
+
obj._deserialize(item)
|
|
18889
|
+
self._InstanceJumboSet.append(obj)
|
|
18890
|
+
self._RequestId = params.get("RequestId")
|
|
18891
|
+
|
|
18892
|
+
|
|
18782
18893
|
class DescribeIp6AddressesRequest(AbstractModel):
|
|
18783
18894
|
"""DescribeIp6Addresses request structure.
|
|
18784
18895
|
|
|
@@ -30301,6 +30412,57 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
30301
30412
|
|
|
30302
30413
|
|
|
30303
30414
|
|
|
30415
|
+
class InstanceJumbo(AbstractModel):
|
|
30416
|
+
"""Cloud virtual machine jumbo frame status.
|
|
30417
|
+
|
|
30418
|
+
"""
|
|
30419
|
+
|
|
30420
|
+
def __init__(self):
|
|
30421
|
+
r"""
|
|
30422
|
+
:param _InstanceId: Instance ID.
|
|
30423
|
+
:type InstanceId: str
|
|
30424
|
+
:param _JumboState: Whether the instance supports jumbo frames.
|
|
30425
|
+
:type JumboState: bool
|
|
30426
|
+
"""
|
|
30427
|
+
self._InstanceId = None
|
|
30428
|
+
self._JumboState = None
|
|
30429
|
+
|
|
30430
|
+
@property
|
|
30431
|
+
def InstanceId(self):
|
|
30432
|
+
"""Instance ID.
|
|
30433
|
+
:rtype: str
|
|
30434
|
+
"""
|
|
30435
|
+
return self._InstanceId
|
|
30436
|
+
|
|
30437
|
+
@InstanceId.setter
|
|
30438
|
+
def InstanceId(self, InstanceId):
|
|
30439
|
+
self._InstanceId = InstanceId
|
|
30440
|
+
|
|
30441
|
+
@property
|
|
30442
|
+
def JumboState(self):
|
|
30443
|
+
"""Whether the instance supports jumbo frames.
|
|
30444
|
+
:rtype: bool
|
|
30445
|
+
"""
|
|
30446
|
+
return self._JumboState
|
|
30447
|
+
|
|
30448
|
+
@JumboState.setter
|
|
30449
|
+
def JumboState(self, JumboState):
|
|
30450
|
+
self._JumboState = JumboState
|
|
30451
|
+
|
|
30452
|
+
|
|
30453
|
+
def _deserialize(self, params):
|
|
30454
|
+
self._InstanceId = params.get("InstanceId")
|
|
30455
|
+
self._JumboState = params.get("JumboState")
|
|
30456
|
+
memeber_set = set(params.keys())
|
|
30457
|
+
for name, value in vars(self).items():
|
|
30458
|
+
property_name = name[1:]
|
|
30459
|
+
if property_name in memeber_set:
|
|
30460
|
+
memeber_set.remove(property_name)
|
|
30461
|
+
if len(memeber_set) > 0:
|
|
30462
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30463
|
+
|
|
30464
|
+
|
|
30465
|
+
|
|
30304
30466
|
class InstanceStatistic(AbstractModel):
|
|
30305
30467
|
"""Statistics used to describe the instance
|
|
30306
30468
|
|
|
@@ -3008,6 +3008,32 @@ class VpcClient(AbstractClient):
|
|
|
3008
3008
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3009
3009
|
|
|
3010
3010
|
|
|
3011
|
+
def DescribeInstanceJumbo(self, request):
|
|
3012
|
+
"""This API is used to check whether Cloud Virtual Machines support jumbo frames.
|
|
3013
|
+
Usage limits.
|
|
3014
|
+
This API is used to perform operations that require CAM policy authorization and read access to the corresponding instance. The API accesses CVM instances, so it verifies whether there are CAM permissions for the instance. For example: CAM action allows vpc:DescribeInstanceJumbo; resource allows qcs::cvm:ap-guangzhou:uin/2126195383:instance/*.
|
|
3015
|
+
This API is used to check the jumbo frame status before and after instance migration. The status returned by this API may be inconsistent before and after migration. You need to check whether the host machines of the instance before and after migration both support jumbo frames. One possible reason is that the instance has been migrated to a host machine that does not support jumbo frames.
|
|
3016
|
+
|
|
3017
|
+
:param request: Request instance for DescribeInstanceJumbo.
|
|
3018
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DescribeInstanceJumboRequest`
|
|
3019
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeInstanceJumboResponse`
|
|
3020
|
+
|
|
3021
|
+
"""
|
|
3022
|
+
try:
|
|
3023
|
+
params = request._serialize()
|
|
3024
|
+
headers = request.headers
|
|
3025
|
+
body = self.call("DescribeInstanceJumbo", params, headers=headers)
|
|
3026
|
+
response = json.loads(body)
|
|
3027
|
+
model = models.DescribeInstanceJumboResponse()
|
|
3028
|
+
model._deserialize(response["Response"])
|
|
3029
|
+
return model
|
|
3030
|
+
except Exception as e:
|
|
3031
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3032
|
+
raise
|
|
3033
|
+
else:
|
|
3034
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3035
|
+
|
|
3036
|
+
|
|
3011
3037
|
def DescribeIp6Addresses(self, request):
|
|
3012
3038
|
"""This API is used to query the detailed information on one or multiple classic elastic public IPv6 instances.
|
|
3013
3039
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=OKZHBRFeFuc3QSDyDXT8ZI0rPtJCqS3g9HE_be-sLNM,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
|
|
@@ -72,8 +72,8 @@ tencentcloud/cbs/v20170312/models.py,sha256=IDfQMTM-fKTnwUCwrRr7LPchEVrcuZOgFCbW
|
|
|
72
72
|
tencentcloud/ccc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
73
|
tencentcloud/ccc/v20200210/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
74
|
tencentcloud/ccc/v20200210/ccc_client.py,sha256=RtQ0oJgorRjfytzlr72smuY46CByu5en_Jwz9jHqHRk,56050
|
|
75
|
-
tencentcloud/ccc/v20200210/errorcodes.py,sha256=
|
|
76
|
-
tencentcloud/ccc/v20200210/models.py,sha256=
|
|
75
|
+
tencentcloud/ccc/v20200210/errorcodes.py,sha256=i74j8T3ckfevGP_B5-bmhi2sjIMVM1w-7Nq7Eo3og80,6187
|
|
76
|
+
tencentcloud/ccc/v20200210/models.py,sha256=T7A7v_5H0-nUkpYZ8zT8x2aIeHcZuQbK8gYpDGw0uec,424789
|
|
77
77
|
tencentcloud/cdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
78
|
tencentcloud/cdb/v20170320/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
79
|
tencentcloud/cdb/v20170320/cdb_client.py,sha256=OEW_0OLDArqOUegIDrz7sQoxxnGu_0UUJ4zDpACJcUQ,137219
|
|
@@ -626,9 +626,9 @@ tencentcloud/vod/v20180717/models.py,sha256=x4WWNF0vioqG5cTaZ8XIQ0hbyoYd3D-i00zR
|
|
|
626
626
|
tencentcloud/vod/v20180717/vod_client.py,sha256=DMxebnzLEsU2E6nf1j4WZxEQu_D8kHOgqT9W8g9dTG8,201269
|
|
627
627
|
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
628
628
|
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
629
|
-
tencentcloud/vpc/v20170312/errorcodes.py,sha256=
|
|
630
|
-
tencentcloud/vpc/v20170312/models.py,sha256=
|
|
631
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=
|
|
629
|
+
tencentcloud/vpc/v20170312/errorcodes.py,sha256=TjeuZ8IFlK9geQvCmmbnZfdqyIE4siI44dQMXYp5Qh8,48176
|
|
630
|
+
tencentcloud/vpc/v20170312/models.py,sha256=yzfXQ2hzqlnEN13AA1jTyt9qpdpIkMoeooS_bEqGS8M,1581102
|
|
631
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=36VbJeVHyFJCSAvVWxQWI8RXETsS9LSh-MKb80RJ0eA,306301
|
|
632
632
|
tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
633
633
|
tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
634
634
|
tencentcloud/waf/v20180125/errorcodes.py,sha256=zwBZcvnCjbuvBJKChDMzCaA89zkApEOvztAZ_ga3K44,6276
|
|
@@ -644,7 +644,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
644
644
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
645
645
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
646
646
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
|
|
647
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
648
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
649
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
650
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
647
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/METADATA,sha256=EUvU9uL1LHf2IGRO6xNOTkeHiyh91Hg4Bo3dlzlX9lE,1628
|
|
648
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
649
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
650
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/RECORD,,
|
|
File without changes
|