tencentcloud-sdk-python-vpc 3.1.170__tar.gz → 3.1.177__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_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/v20170312/errorcodes.py +24 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/v20170312/models.py +281 -124
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vpc-3.1.177/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vpc-3.1.170/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud/vpc/v20170312/vpc_client_async.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.170 → tencentcloud_sdk_python_vpc-3.1.177}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Vpc 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.177
|
|
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-vpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vpc SDK for Python',
|
|
@@ -296,6 +296,9 @@ INVALIDPARAMETERVALUE_INSTANCENORMALPUBLICIPBLOCKED = 'InvalidParameterValue.Ins
|
|
|
296
296
|
# 弹性网卡绑定的实例与地址绑定的实例不一致。
|
|
297
297
|
INVALIDPARAMETERVALUE_INSTANCENOTMATCHASSOCIATEENI = 'InvalidParameterValue.InstanceNotMatchAssociateEni'
|
|
298
298
|
|
|
299
|
+
# 指定实例与EIP当前绑定实例不一致。
|
|
300
|
+
INVALIDPARAMETERVALUE_INSTANCENOTMATCHDISASSOCIATEINSTANCE = 'InvalidParameterValue.InstanceNotMatchDisassociateInstance'
|
|
301
|
+
|
|
299
302
|
# 实例所属的VPC不支持在网卡上显示EIP
|
|
300
303
|
INVALIDPARAMETERVALUE_INSTANCEVPCDOESNOTSUPPORTEIPVISIBLEONENI = 'InvalidParameterValue.InstanceVpcDoesNotSupportEipVisibleOnEni'
|
|
301
304
|
|
|
@@ -833,6 +836,9 @@ UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = 'UnauthorizedOperation.AttachmentNotF
|
|
|
833
836
|
# 未授权的用户。
|
|
834
837
|
UNAUTHORIZEDOPERATION_INVALIDACCOUNT = 'UnauthorizedOperation.InvalidAccount'
|
|
835
838
|
|
|
839
|
+
# 该操作已经被配置为拦截事件的拦截对象,请前往事件中心管理页查询处理。
|
|
840
|
+
UNAUTHORIZEDOPERATION_NEEDAPPROVAL = 'UnauthorizedOperation.NeedApproval'
|
|
841
|
+
|
|
836
842
|
# 账号未实名。
|
|
837
843
|
UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = 'UnauthorizedOperation.NoRealNameAuthentication'
|
|
838
844
|
|
|
@@ -953,6 +959,9 @@ UNSUPPORTEDOPERATION_CCNNOTENABLEPOLICYBASEDROUTINGFLAG = 'UnsupportedOperation.
|
|
|
953
959
|
# 跨账号场景下不支持自驾云账号实例 关联普通账号云联网。
|
|
954
960
|
UNSUPPORTEDOPERATION_CCNORDINARYACCOUNTREFUSEATTACH = 'UnsupportedOperation.CcnOrdinaryAccountRefuseAttach'
|
|
955
961
|
|
|
962
|
+
# 云联网策略路由非VPC实例类型不支持配置下一跳资源
|
|
963
|
+
UNSUPPORTEDOPERATION_CCNROUTEBASEDROUTEINGNOVPCTYPENOTSUPPORTCONFIGNEXTHOPRESOURCE = 'UnsupportedOperation.CcnRouteBasedRouteingNoVpcTypeNotSupportConfigNextHopResource'
|
|
964
|
+
|
|
956
965
|
# 当前路由与已有路由的CIDR重叠,仅能开启其中一条路由。
|
|
957
966
|
UNSUPPORTEDOPERATION_CCNROUTECIDROVERLAP = 'UnsupportedOperation.CcnRouteCidrOverlap'
|
|
958
967
|
|
|
@@ -998,6 +1007,9 @@ UNSUPPORTEDOPERATION_CURRENTACCOUNTISNOTUNICOMACCOUNT = 'UnsupportedOperation.Cu
|
|
|
998
1007
|
# 当前查询地域非跨境。
|
|
999
1008
|
UNSUPPORTEDOPERATION_CURRENTQUERYREGIONISNOTCROSSBORDER = 'UnsupportedOperation.CurrentQueryRegionIsNotCrossBorder'
|
|
1000
1009
|
|
|
1010
|
+
# 当前操作不支持创建Ivp6类型对端网关。
|
|
1011
|
+
UNSUPPORTEDOPERATION_CUSTOMERGATEWAYIPV6 = 'UnsupportedOperation.CustomerGatewayIpv6'
|
|
1012
|
+
|
|
1001
1013
|
# 该专线网关存在关联的NAT规则,不允许删除,请先删调所有的NAT规则。
|
|
1002
1014
|
UNSUPPORTEDOPERATION_DCGATEWAYNATRULEEXISTS = 'UnsupportedOperation.DCGatewayNatRuleExists'
|
|
1003
1015
|
|
|
@@ -1091,6 +1103,9 @@ UNSUPPORTEDOPERATION_FLOWLOGSNOTSUPPORTNULLINSTANCEENI = 'UnsupportedOperation.F
|
|
|
1091
1103
|
# GUA类型的网段不支持分配给CDC子网。
|
|
1092
1104
|
UNSUPPORTEDOPERATION_GUANOTSUPPORTALLOCATECDCSUBNET = 'UnsupportedOperation.GUANotSupportAllocateCdcSubnet'
|
|
1093
1105
|
|
|
1106
|
+
# 非DPDK集群类型的GWLB不支持创建策略路由下一跳
|
|
1107
|
+
UNSUPPORTEDOPERATION_GWLBCLUSTERTYPENOTDPDKNOTSUPPORTCREATE = 'UnsupportedOperation.GwlbClusterTypeNotDpdkNotSupportCreate'
|
|
1108
|
+
|
|
1094
1109
|
# TGW还没有投放IPv6网段
|
|
1095
1110
|
UNSUPPORTEDOPERATION_IPV6CIDRNOTDEPLOYED = 'UnsupportedOperation.IPV6CidrNotDeployed'
|
|
1096
1111
|
|
|
@@ -1160,6 +1175,9 @@ UNSUPPORTEDOPERATION_INVALIDSTATUSNOTIFYCCN = 'UnsupportedOperation.InvalidStatu
|
|
|
1160
1175
|
# 不支持IPV6。
|
|
1161
1176
|
UNSUPPORTEDOPERATION_IPV6NOTSUPPORT = 'UnsupportedOperation.Ipv6NotSupport'
|
|
1162
1177
|
|
|
1178
|
+
# Ipv6不支持Bgp,不支持携带Bgp相关参数。
|
|
1179
|
+
UNSUPPORTEDOPERATION_IPV6NOTSUPPORTBGP = 'UnsupportedOperation.Ipv6NotSupportBgp'
|
|
1180
|
+
|
|
1163
1181
|
# 关联当前云联网的实例的账号存在不是金融云账号。
|
|
1164
1182
|
UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = 'UnsupportedOperation.IsNotFinanceAccount'
|
|
1165
1183
|
|
|
@@ -1376,6 +1394,9 @@ UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = 'UnsupportedOperation.P
|
|
|
1376
1394
|
# 当前账号不能在该地域使用产品。
|
|
1377
1395
|
UNSUPPORTEDOPERATION_PURCHASELIMIT = 'UnsupportedOperation.PurchaseLimit'
|
|
1378
1396
|
|
|
1397
|
+
# 查询时间超过限制。
|
|
1398
|
+
UNSUPPORTEDOPERATION_QUERYTIMEEXCEEDEDLIMIT = 'UnsupportedOperation.QueryTimeExceededLimit'
|
|
1399
|
+
|
|
1379
1400
|
# 记录已存在。
|
|
1380
1401
|
UNSUPPORTEDOPERATION_RECORDEXISTS = 'UnsupportedOperation.RecordExists'
|
|
1381
1402
|
|
|
@@ -1583,6 +1604,9 @@ UNSUPPORTEDOPERATION_VPNGWVPCIDNOTHAVE = 'UnsupportedOperation.VpnGwVpcIdNotHave
|
|
|
1583
1604
|
# VPN不支持BGP
|
|
1584
1605
|
UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGP = 'UnsupportedOperation.VpnUnsupportedBgp'
|
|
1585
1606
|
|
|
1607
|
+
# 当前账号或地域,VPN不支持BGP。
|
|
1608
|
+
UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGPACCOUNTORREGION = 'UnsupportedOperation.VpnUnsupportedBgpAccountOrRegion'
|
|
1609
|
+
|
|
1586
1610
|
# 对端网关BGP ASN和已有的通道对端或云上VPN的BGP ASN相同。
|
|
1587
1611
|
UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGPASNEQUAL = 'UnsupportedOperation.VpnUnsupportedBgpAsnEqual'
|
|
1588
1612
|
|
|
@@ -3368,17 +3368,17 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3368
3368
|
|
|
3369
3369
|
def __init__(self):
|
|
3370
3370
|
r"""
|
|
3371
|
-
:param _AddressId:
|
|
3371
|
+
:param _AddressId: <p>标识 EIP 的唯一 ID。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。EIP 唯一 ID 形如:<code>eip-11112222</code>。</p>
|
|
3372
3372
|
:type AddressId: str
|
|
3373
|
-
:param _InstanceId:
|
|
3373
|
+
:param _InstanceId: <p>要绑定的实例 ID。实例 ID 形如:<code>ins-11112222</code>、<code>lb-11112222</code>。可通过登录<a href="https://console.cloud.tencent.com/cvm">控制台</a>查询,也可通过 <a href="https://cloud.tencent.com/document/api/213/15728">DescribeInstances</a> 接口返回值中的<code>InstanceId</code>获取。</p>
|
|
3374
3374
|
:type InstanceId: str
|
|
3375
|
-
:param _NetworkInterfaceId:
|
|
3375
|
+
:param _NetworkInterfaceId: <p>要绑定的弹性网卡 ID。 弹性网卡 ID 形如:<code>eni-11112222</code>。<code>NetworkInterfaceId</code> 与 <code>InstanceId</code> 不可同时指定。弹性网卡 ID 可通过登录<a href="https://console.cloud.tencent.com/vpc/eni">控制台</a>查询,也可通过<a href="https://cloud.tencent.com/document/api/215/15817">DescribeNetworkInterfaces</a>接口返回值中的<code>networkInterfaceId</code>获取。</p>
|
|
3376
3376
|
:type NetworkInterfaceId: str
|
|
3377
|
-
:param _PrivateIpAddress:
|
|
3377
|
+
:param _PrivateIpAddress: <p>要绑定的内网 IP。如果指定了 <code>NetworkInterfaceId</code> 则也必须指定 <code>PrivateIpAddress</code> ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 <code>PrivateIpAddress</code> 是指定的 <code>NetworkInterfaceId</code> 上的一个内网 IP。指定弹性网卡的内网 IP 可通过登录<a href="https://console.cloud.tencent.com/vpc/eni">控制台</a>查询,也可通过<a href="https://cloud.tencent.com/document/api/215/15817">DescribeNetworkInterfaces</a>接口返回值中的<code>privateIpAddress</code>获取。</p>
|
|
3378
3378
|
:type PrivateIpAddress: str
|
|
3379
|
-
:param _EipDirectConnection:
|
|
3379
|
+
:param _EipDirectConnection: <p>指定绑定时是否设置直通。弹性公网 IP 直通请参见 <a href="https://cloud.tencent.com/document/product/1199/41709">EIP 直通</a>。取值:true、false,默认值为 false。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 true。此参数目前处于内测中,如需使用,请提交 <a href="https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2">工单申请</a>。</p>
|
|
3380
3380
|
:type EipDirectConnection: bool
|
|
3381
|
-
:param _InstanceRegion:
|
|
3381
|
+
:param _InstanceRegion: <p>要绑定的实例所在地域。默认无需填写,仅限GAAP特殊场景需指定实例所在地域。</p>
|
|
3382
3382
|
:type InstanceRegion: str
|
|
3383
3383
|
"""
|
|
3384
3384
|
self._AddressId = None
|
|
@@ -3390,7 +3390,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3390
3390
|
|
|
3391
3391
|
@property
|
|
3392
3392
|
def AddressId(self):
|
|
3393
|
-
r"""
|
|
3393
|
+
r"""<p>标识 EIP 的唯一 ID。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。EIP 唯一 ID 形如:<code>eip-11112222</code>。</p>
|
|
3394
3394
|
:rtype: str
|
|
3395
3395
|
"""
|
|
3396
3396
|
return self._AddressId
|
|
@@ -3401,7 +3401,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3401
3401
|
|
|
3402
3402
|
@property
|
|
3403
3403
|
def InstanceId(self):
|
|
3404
|
-
r"""
|
|
3404
|
+
r"""<p>要绑定的实例 ID。实例 ID 形如:<code>ins-11112222</code>、<code>lb-11112222</code>。可通过登录<a href="https://console.cloud.tencent.com/cvm">控制台</a>查询,也可通过 <a href="https://cloud.tencent.com/document/api/213/15728">DescribeInstances</a> 接口返回值中的<code>InstanceId</code>获取。</p>
|
|
3405
3405
|
:rtype: str
|
|
3406
3406
|
"""
|
|
3407
3407
|
return self._InstanceId
|
|
@@ -3412,7 +3412,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3412
3412
|
|
|
3413
3413
|
@property
|
|
3414
3414
|
def NetworkInterfaceId(self):
|
|
3415
|
-
r"""
|
|
3415
|
+
r"""<p>要绑定的弹性网卡 ID。 弹性网卡 ID 形如:<code>eni-11112222</code>。<code>NetworkInterfaceId</code> 与 <code>InstanceId</code> 不可同时指定。弹性网卡 ID 可通过登录<a href="https://console.cloud.tencent.com/vpc/eni">控制台</a>查询,也可通过<a href="https://cloud.tencent.com/document/api/215/15817">DescribeNetworkInterfaces</a>接口返回值中的<code>networkInterfaceId</code>获取。</p>
|
|
3416
3416
|
:rtype: str
|
|
3417
3417
|
"""
|
|
3418
3418
|
return self._NetworkInterfaceId
|
|
@@ -3423,7 +3423,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3423
3423
|
|
|
3424
3424
|
@property
|
|
3425
3425
|
def PrivateIpAddress(self):
|
|
3426
|
-
r"""
|
|
3426
|
+
r"""<p>要绑定的内网 IP。如果指定了 <code>NetworkInterfaceId</code> 则也必须指定 <code>PrivateIpAddress</code> ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 <code>PrivateIpAddress</code> 是指定的 <code>NetworkInterfaceId</code> 上的一个内网 IP。指定弹性网卡的内网 IP 可通过登录<a href="https://console.cloud.tencent.com/vpc/eni">控制台</a>查询,也可通过<a href="https://cloud.tencent.com/document/api/215/15817">DescribeNetworkInterfaces</a>接口返回值中的<code>privateIpAddress</code>获取。</p>
|
|
3427
3427
|
:rtype: str
|
|
3428
3428
|
"""
|
|
3429
3429
|
return self._PrivateIpAddress
|
|
@@ -3434,7 +3434,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3434
3434
|
|
|
3435
3435
|
@property
|
|
3436
3436
|
def EipDirectConnection(self):
|
|
3437
|
-
r"""
|
|
3437
|
+
r"""<p>指定绑定时是否设置直通。弹性公网 IP 直通请参见 <a href="https://cloud.tencent.com/document/product/1199/41709">EIP 直通</a>。取值:true、false,默认值为 false。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 true。此参数目前处于内测中,如需使用,请提交 <a href="https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2">工单申请</a>。</p>
|
|
3438
3438
|
:rtype: bool
|
|
3439
3439
|
"""
|
|
3440
3440
|
return self._EipDirectConnection
|
|
@@ -3445,7 +3445,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
3445
3445
|
|
|
3446
3446
|
@property
|
|
3447
3447
|
def InstanceRegion(self):
|
|
3448
|
-
r"""
|
|
3448
|
+
r"""<p>要绑定的实例所在地域。默认无需填写,仅限GAAP特殊场景需指定实例所在地域。</p>
|
|
3449
3449
|
:rtype: str
|
|
3450
3450
|
"""
|
|
3451
3451
|
return self._InstanceRegion
|
|
@@ -3479,7 +3479,7 @@ class AssociateAddressResponse(AbstractModel):
|
|
|
3479
3479
|
|
|
3480
3480
|
def __init__(self):
|
|
3481
3481
|
r"""
|
|
3482
|
-
:param _TaskId:
|
|
3482
|
+
:param _TaskId: <p>异步任务TaskId。可以使用<a href="https://cloud.tencent.com/document/api/215/36271">DescribeTaskResult</a>接口查询任务状态。</p>
|
|
3483
3483
|
:type TaskId: str
|
|
3484
3484
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3485
3485
|
:type RequestId: str
|
|
@@ -3489,7 +3489,7 @@ class AssociateAddressResponse(AbstractModel):
|
|
|
3489
3489
|
|
|
3490
3490
|
@property
|
|
3491
3491
|
def TaskId(self):
|
|
3492
|
-
r"""
|
|
3492
|
+
r"""<p>异步任务TaskId。可以使用<a href="https://cloud.tencent.com/document/api/215/36271">DescribeTaskResult</a>接口查询任务状态。</p>
|
|
3493
3493
|
:rtype: str
|
|
3494
3494
|
"""
|
|
3495
3495
|
return self._TaskId
|
|
@@ -18292,6 +18292,16 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18292
18292
|
:type MaxConnection: int
|
|
18293
18293
|
:param _BgpAsn: <p>BGP ASN。</p>
|
|
18294
18294
|
:type BgpAsn: int
|
|
18295
|
+
:param _IsPrivate: <p>是否是私网类型</p>
|
|
18296
|
+
:type IsPrivate: bool
|
|
18297
|
+
:param _SubnetId: <p>私网唯一ID</p>
|
|
18298
|
+
:type SubnetId: str
|
|
18299
|
+
:param _BgpEnable: <p>BGP 开关,开启时需指定BgpAsn。</p>
|
|
18300
|
+
:type BgpEnable: bool
|
|
18301
|
+
:param _IpStack: <p>内外层IP协议</p><p>枚举值:</p><ul><li>4in4: IPv4 over IPv4</li><li>6in4: IPv6 over IPv4</li><li>6in6: IPv6 over IPv6</li><li>4in6: IPv4 over IPv6</li></ul><p>默认值:4in4</p>
|
|
18302
|
+
:type IpStack: str
|
|
18303
|
+
:param _AccessSubnet: <p>CCN类型私网VPN接入网段</p>
|
|
18304
|
+
:type AccessSubnet: str
|
|
18295
18305
|
"""
|
|
18296
18306
|
self._VpcId = None
|
|
18297
18307
|
self._VpnGatewayName = None
|
|
@@ -18304,6 +18314,11 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18304
18314
|
self._CdcId = None
|
|
18305
18315
|
self._MaxConnection = None
|
|
18306
18316
|
self._BgpAsn = None
|
|
18317
|
+
self._IsPrivate = None
|
|
18318
|
+
self._SubnetId = None
|
|
18319
|
+
self._BgpEnable = None
|
|
18320
|
+
self._IpStack = None
|
|
18321
|
+
self._AccessSubnet = None
|
|
18307
18322
|
|
|
18308
18323
|
@property
|
|
18309
18324
|
def VpcId(self):
|
|
@@ -18362,6 +18377,8 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18362
18377
|
|
|
18363
18378
|
@property
|
|
18364
18379
|
def Zone(self):
|
|
18380
|
+
warnings.warn("parameter `Zone` is deprecated", DeprecationWarning)
|
|
18381
|
+
|
|
18365
18382
|
r"""<p>可用区,如:ap-guangzhou-2。</p>
|
|
18366
18383
|
:rtype: str
|
|
18367
18384
|
"""
|
|
@@ -18369,6 +18386,8 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18369
18386
|
|
|
18370
18387
|
@Zone.setter
|
|
18371
18388
|
def Zone(self, Zone):
|
|
18389
|
+
warnings.warn("parameter `Zone` is deprecated", DeprecationWarning)
|
|
18390
|
+
|
|
18372
18391
|
self._Zone = Zone
|
|
18373
18392
|
|
|
18374
18393
|
@property
|
|
@@ -18426,6 +18445,61 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18426
18445
|
def BgpAsn(self, BgpAsn):
|
|
18427
18446
|
self._BgpAsn = BgpAsn
|
|
18428
18447
|
|
|
18448
|
+
@property
|
|
18449
|
+
def IsPrivate(self):
|
|
18450
|
+
r"""<p>是否是私网类型</p>
|
|
18451
|
+
:rtype: bool
|
|
18452
|
+
"""
|
|
18453
|
+
return self._IsPrivate
|
|
18454
|
+
|
|
18455
|
+
@IsPrivate.setter
|
|
18456
|
+
def IsPrivate(self, IsPrivate):
|
|
18457
|
+
self._IsPrivate = IsPrivate
|
|
18458
|
+
|
|
18459
|
+
@property
|
|
18460
|
+
def SubnetId(self):
|
|
18461
|
+
r"""<p>私网唯一ID</p>
|
|
18462
|
+
:rtype: str
|
|
18463
|
+
"""
|
|
18464
|
+
return self._SubnetId
|
|
18465
|
+
|
|
18466
|
+
@SubnetId.setter
|
|
18467
|
+
def SubnetId(self, SubnetId):
|
|
18468
|
+
self._SubnetId = SubnetId
|
|
18469
|
+
|
|
18470
|
+
@property
|
|
18471
|
+
def BgpEnable(self):
|
|
18472
|
+
r"""<p>BGP 开关,开启时需指定BgpAsn。</p>
|
|
18473
|
+
:rtype: bool
|
|
18474
|
+
"""
|
|
18475
|
+
return self._BgpEnable
|
|
18476
|
+
|
|
18477
|
+
@BgpEnable.setter
|
|
18478
|
+
def BgpEnable(self, BgpEnable):
|
|
18479
|
+
self._BgpEnable = BgpEnable
|
|
18480
|
+
|
|
18481
|
+
@property
|
|
18482
|
+
def IpStack(self):
|
|
18483
|
+
r"""<p>内外层IP协议</p><p>枚举值:</p><ul><li>4in4: IPv4 over IPv4</li><li>6in4: IPv6 over IPv4</li><li>6in6: IPv6 over IPv6</li><li>4in6: IPv4 over IPv6</li></ul><p>默认值:4in4</p>
|
|
18484
|
+
:rtype: str
|
|
18485
|
+
"""
|
|
18486
|
+
return self._IpStack
|
|
18487
|
+
|
|
18488
|
+
@IpStack.setter
|
|
18489
|
+
def IpStack(self, IpStack):
|
|
18490
|
+
self._IpStack = IpStack
|
|
18491
|
+
|
|
18492
|
+
@property
|
|
18493
|
+
def AccessSubnet(self):
|
|
18494
|
+
r"""<p>CCN类型私网VPN接入网段</p>
|
|
18495
|
+
:rtype: str
|
|
18496
|
+
"""
|
|
18497
|
+
return self._AccessSubnet
|
|
18498
|
+
|
|
18499
|
+
@AccessSubnet.setter
|
|
18500
|
+
def AccessSubnet(self, AccessSubnet):
|
|
18501
|
+
self._AccessSubnet = AccessSubnet
|
|
18502
|
+
|
|
18429
18503
|
|
|
18430
18504
|
def _deserialize(self, params):
|
|
18431
18505
|
self._VpcId = params.get("VpcId")
|
|
@@ -18446,6 +18520,11 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18446
18520
|
self._CdcId = params.get("CdcId")
|
|
18447
18521
|
self._MaxConnection = params.get("MaxConnection")
|
|
18448
18522
|
self._BgpAsn = params.get("BgpAsn")
|
|
18523
|
+
self._IsPrivate = params.get("IsPrivate")
|
|
18524
|
+
self._SubnetId = params.get("SubnetId")
|
|
18525
|
+
self._BgpEnable = params.get("BgpEnable")
|
|
18526
|
+
self._IpStack = params.get("IpStack")
|
|
18527
|
+
self._AccessSubnet = params.get("AccessSubnet")
|
|
18449
18528
|
memeber_set = set(params.keys())
|
|
18450
18529
|
for name, value in vars(self).items():
|
|
18451
18530
|
property_name = name[1:]
|
|
@@ -18612,13 +18691,13 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
18612
18691
|
|
|
18613
18692
|
def __init__(self):
|
|
18614
18693
|
r"""
|
|
18615
|
-
:param _SslVpnServerId: SSL-VPN-SERVER 实例ID
|
|
18694
|
+
:param _SslVpnServerId: <p>SSL-VPN-SERVER 实例ID。</p>
|
|
18616
18695
|
:type SslVpnServerId: str
|
|
18617
|
-
:param _SslVpnClientName: SSL-VPN-CLIENT实例Name。不可和SslVpnClientNames
|
|
18696
|
+
:param _SslVpnClientName: <p>SSL-VPN-CLIENT实例Name。不可和SslVpnClientNames同时使用。</p>
|
|
18618
18697
|
:type SslVpnClientName: str
|
|
18619
|
-
:param _SslVpnClientNames: SSL-VPN-CLIENT实例Name数字。批量创建时使用。不可和SslVpnClientName
|
|
18698
|
+
:param _SslVpnClientNames: <p>SSL-VPN-CLIENT实例Name数字。批量创建时使用。不可和SslVpnClientName同时使用。</p>
|
|
18620
18699
|
:type SslVpnClientNames: list of str
|
|
18621
|
-
:param _Tags:
|
|
18700
|
+
:param _Tags: <p>指定绑定的标签列表</p>
|
|
18622
18701
|
:type Tags: list of Tag
|
|
18623
18702
|
"""
|
|
18624
18703
|
self._SslVpnServerId = None
|
|
@@ -18628,7 +18707,7 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
18628
18707
|
|
|
18629
18708
|
@property
|
|
18630
18709
|
def SslVpnServerId(self):
|
|
18631
|
-
r"""SSL-VPN-SERVER 实例ID
|
|
18710
|
+
r"""<p>SSL-VPN-SERVER 实例ID。</p>
|
|
18632
18711
|
:rtype: str
|
|
18633
18712
|
"""
|
|
18634
18713
|
return self._SslVpnServerId
|
|
@@ -18639,7 +18718,7 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
18639
18718
|
|
|
18640
18719
|
@property
|
|
18641
18720
|
def SslVpnClientName(self):
|
|
18642
|
-
r"""SSL-VPN-CLIENT实例Name。不可和SslVpnClientNames
|
|
18721
|
+
r"""<p>SSL-VPN-CLIENT实例Name。不可和SslVpnClientNames同时使用。</p>
|
|
18643
18722
|
:rtype: str
|
|
18644
18723
|
"""
|
|
18645
18724
|
return self._SslVpnClientName
|
|
@@ -18650,7 +18729,7 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
18650
18729
|
|
|
18651
18730
|
@property
|
|
18652
18731
|
def SslVpnClientNames(self):
|
|
18653
|
-
r"""SSL-VPN-CLIENT实例Name数字。批量创建时使用。不可和SslVpnClientName
|
|
18732
|
+
r"""<p>SSL-VPN-CLIENT实例Name数字。批量创建时使用。不可和SslVpnClientName同时使用。</p>
|
|
18654
18733
|
:rtype: list of str
|
|
18655
18734
|
"""
|
|
18656
18735
|
return self._SslVpnClientNames
|
|
@@ -18661,7 +18740,7 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
18661
18740
|
|
|
18662
18741
|
@property
|
|
18663
18742
|
def Tags(self):
|
|
18664
|
-
r"""
|
|
18743
|
+
r"""<p>指定绑定的标签列表</p>
|
|
18665
18744
|
:rtype: list of Tag
|
|
18666
18745
|
"""
|
|
18667
18746
|
return self._Tags
|
|
@@ -18698,20 +18777,23 @@ class CreateVpnGatewaySslClientResponse(AbstractModel):
|
|
|
18698
18777
|
|
|
18699
18778
|
def __init__(self):
|
|
18700
18779
|
r"""
|
|
18701
|
-
:param _TaskId:
|
|
18780
|
+
:param _TaskId: <p>异步任务ID。</p>
|
|
18702
18781
|
:type TaskId: int
|
|
18703
|
-
:param _SslVpnClientId: SSL
|
|
18782
|
+
:param _SslVpnClientId: <p>SSL VPN客户端唯一ID</p>
|
|
18704
18783
|
:type SslVpnClientId: str
|
|
18784
|
+
:param _SslVpnClientIds: <p>SSL VPN客户端唯一ID</p><p>仅批量场景返回</p>
|
|
18785
|
+
:type SslVpnClientIds: list of str
|
|
18705
18786
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18706
18787
|
:type RequestId: str
|
|
18707
18788
|
"""
|
|
18708
18789
|
self._TaskId = None
|
|
18709
18790
|
self._SslVpnClientId = None
|
|
18791
|
+
self._SslVpnClientIds = None
|
|
18710
18792
|
self._RequestId = None
|
|
18711
18793
|
|
|
18712
18794
|
@property
|
|
18713
18795
|
def TaskId(self):
|
|
18714
|
-
r"""
|
|
18796
|
+
r"""<p>异步任务ID。</p>
|
|
18715
18797
|
:rtype: int
|
|
18716
18798
|
"""
|
|
18717
18799
|
return self._TaskId
|
|
@@ -18722,7 +18804,7 @@ class CreateVpnGatewaySslClientResponse(AbstractModel):
|
|
|
18722
18804
|
|
|
18723
18805
|
@property
|
|
18724
18806
|
def SslVpnClientId(self):
|
|
18725
|
-
r"""SSL
|
|
18807
|
+
r"""<p>SSL VPN客户端唯一ID</p>
|
|
18726
18808
|
:rtype: str
|
|
18727
18809
|
"""
|
|
18728
18810
|
return self._SslVpnClientId
|
|
@@ -18731,6 +18813,17 @@ class CreateVpnGatewaySslClientResponse(AbstractModel):
|
|
|
18731
18813
|
def SslVpnClientId(self, SslVpnClientId):
|
|
18732
18814
|
self._SslVpnClientId = SslVpnClientId
|
|
18733
18815
|
|
|
18816
|
+
@property
|
|
18817
|
+
def SslVpnClientIds(self):
|
|
18818
|
+
r"""<p>SSL VPN客户端唯一ID</p><p>仅批量场景返回</p>
|
|
18819
|
+
:rtype: list of str
|
|
18820
|
+
"""
|
|
18821
|
+
return self._SslVpnClientIds
|
|
18822
|
+
|
|
18823
|
+
@SslVpnClientIds.setter
|
|
18824
|
+
def SslVpnClientIds(self, SslVpnClientIds):
|
|
18825
|
+
self._SslVpnClientIds = SslVpnClientIds
|
|
18826
|
+
|
|
18734
18827
|
@property
|
|
18735
18828
|
def RequestId(self):
|
|
18736
18829
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -18746,6 +18839,7 @@ class CreateVpnGatewaySslClientResponse(AbstractModel):
|
|
|
18746
18839
|
def _deserialize(self, params):
|
|
18747
18840
|
self._TaskId = params.get("TaskId")
|
|
18748
18841
|
self._SslVpnClientId = params.get("SslVpnClientId")
|
|
18842
|
+
self._SslVpnClientIds = params.get("SslVpnClientIds")
|
|
18749
18843
|
self._RequestId = params.get("RequestId")
|
|
18750
18844
|
|
|
18751
18845
|
|
|
@@ -18756,33 +18850,33 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18756
18850
|
|
|
18757
18851
|
def __init__(self):
|
|
18758
18852
|
r"""
|
|
18759
|
-
:param _VpnGatewayId: VPN网关实例ID
|
|
18853
|
+
:param _VpnGatewayId: <p>VPN网关实例ID。</p>
|
|
18760
18854
|
:type VpnGatewayId: str
|
|
18761
|
-
:param _SslVpnServerName: SSL-VPN-SERVER 实例名称,长度不超过60
|
|
18855
|
+
:param _SslVpnServerName: <p>SSL-VPN-SERVER 实例名称,长度不超过60个字节。</p>
|
|
18762
18856
|
:type SslVpnServerName: str
|
|
18763
|
-
:param _RemoteAddress:
|
|
18857
|
+
:param _RemoteAddress: <p>客户端地址网段。</p>
|
|
18764
18858
|
:type RemoteAddress: str
|
|
18765
|
-
:param _LocalAddress:
|
|
18859
|
+
:param _LocalAddress: <p>云端地址(CIDR)列表。</p>
|
|
18766
18860
|
:type LocalAddress: list of str
|
|
18767
|
-
:param _SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP
|
|
18861
|
+
:param _SslVpnProtocol: <p>SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。</p>
|
|
18768
18862
|
:type SslVpnProtocol: str
|
|
18769
|
-
:param _SslVpnPort: SSL VPN服务端监听协议端口,默认
|
|
18863
|
+
:param _SslVpnPort: <p>SSL VPN服务端监听协议端口,默认9798。</p>
|
|
18770
18864
|
:type SslVpnPort: int
|
|
18771
|
-
:param _IntegrityAlgorithm:
|
|
18865
|
+
:param _IntegrityAlgorithm: <p>认证算法。可选 'SHA1', 'SHA224', 'SHA256', 'SHA384', 'SHA512' 默认SHA1。</p>
|
|
18772
18866
|
:type IntegrityAlgorithm: str
|
|
18773
|
-
:param _EncryptAlgorithm:
|
|
18867
|
+
:param _EncryptAlgorithm: <p>加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 'AES-128-GCM', 'AES-192-GCM', 'AES-256-GCM'。</p><p>默认值:AES-128-CBC</p>
|
|
18774
18868
|
:type EncryptAlgorithm: str
|
|
18775
|
-
:param _Compress:
|
|
18869
|
+
:param _Compress: <p>是否支持压缩。当前不支持压缩,默认False。</p>
|
|
18776
18870
|
:type Compress: bool
|
|
18777
|
-
:param _SsoEnabled:
|
|
18871
|
+
:param _SsoEnabled: <p>是否开启SSO认证。默认为False。该功能当前需要申请开白使用。</p>
|
|
18778
18872
|
:type SsoEnabled: bool
|
|
18779
|
-
:param _AccessPolicyEnabled:
|
|
18873
|
+
:param _AccessPolicyEnabled: <p>是否开启策略访问控制。默认为False</p>
|
|
18780
18874
|
:type AccessPolicyEnabled: bool
|
|
18781
|
-
:param _SamlData: SAML-DATA,开启SSO
|
|
18875
|
+
:param _SamlData: <p>SAML-DATA,开启SSO时传。</p>
|
|
18782
18876
|
:type SamlData: str
|
|
18783
|
-
:param _Tags:
|
|
18877
|
+
:param _Tags: <p>指定绑定的标签列表</p>
|
|
18784
18878
|
:type Tags: list of Tag
|
|
18785
|
-
:param _DnsServers: DNS Server
|
|
18879
|
+
:param _DnsServers: <p>DNS Server 地址</p>
|
|
18786
18880
|
:type DnsServers: :class:`tencentcloud.vpc.v20170312.models.DnsServers`
|
|
18787
18881
|
"""
|
|
18788
18882
|
self._VpnGatewayId = None
|
|
@@ -18802,7 +18896,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18802
18896
|
|
|
18803
18897
|
@property
|
|
18804
18898
|
def VpnGatewayId(self):
|
|
18805
|
-
r"""VPN网关实例ID
|
|
18899
|
+
r"""<p>VPN网关实例ID。</p>
|
|
18806
18900
|
:rtype: str
|
|
18807
18901
|
"""
|
|
18808
18902
|
return self._VpnGatewayId
|
|
@@ -18813,7 +18907,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18813
18907
|
|
|
18814
18908
|
@property
|
|
18815
18909
|
def SslVpnServerName(self):
|
|
18816
|
-
r"""SSL-VPN-SERVER 实例名称,长度不超过60
|
|
18910
|
+
r"""<p>SSL-VPN-SERVER 实例名称,长度不超过60个字节。</p>
|
|
18817
18911
|
:rtype: str
|
|
18818
18912
|
"""
|
|
18819
18913
|
return self._SslVpnServerName
|
|
@@ -18824,7 +18918,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18824
18918
|
|
|
18825
18919
|
@property
|
|
18826
18920
|
def RemoteAddress(self):
|
|
18827
|
-
r"""
|
|
18921
|
+
r"""<p>客户端地址网段。</p>
|
|
18828
18922
|
:rtype: str
|
|
18829
18923
|
"""
|
|
18830
18924
|
return self._RemoteAddress
|
|
@@ -18835,7 +18929,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18835
18929
|
|
|
18836
18930
|
@property
|
|
18837
18931
|
def LocalAddress(self):
|
|
18838
|
-
r"""
|
|
18932
|
+
r"""<p>云端地址(CIDR)列表。</p>
|
|
18839
18933
|
:rtype: list of str
|
|
18840
18934
|
"""
|
|
18841
18935
|
return self._LocalAddress
|
|
@@ -18846,7 +18940,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18846
18940
|
|
|
18847
18941
|
@property
|
|
18848
18942
|
def SslVpnProtocol(self):
|
|
18849
|
-
r"""SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP
|
|
18943
|
+
r"""<p>SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。</p>
|
|
18850
18944
|
:rtype: str
|
|
18851
18945
|
"""
|
|
18852
18946
|
return self._SslVpnProtocol
|
|
@@ -18857,7 +18951,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18857
18951
|
|
|
18858
18952
|
@property
|
|
18859
18953
|
def SslVpnPort(self):
|
|
18860
|
-
r"""SSL VPN服务端监听协议端口,默认
|
|
18954
|
+
r"""<p>SSL VPN服务端监听协议端口,默认9798。</p>
|
|
18861
18955
|
:rtype: int
|
|
18862
18956
|
"""
|
|
18863
18957
|
return self._SslVpnPort
|
|
@@ -18868,7 +18962,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18868
18962
|
|
|
18869
18963
|
@property
|
|
18870
18964
|
def IntegrityAlgorithm(self):
|
|
18871
|
-
r"""
|
|
18965
|
+
r"""<p>认证算法。可选 'SHA1', 'SHA224', 'SHA256', 'SHA384', 'SHA512' 默认SHA1。</p>
|
|
18872
18966
|
:rtype: str
|
|
18873
18967
|
"""
|
|
18874
18968
|
return self._IntegrityAlgorithm
|
|
@@ -18879,7 +18973,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18879
18973
|
|
|
18880
18974
|
@property
|
|
18881
18975
|
def EncryptAlgorithm(self):
|
|
18882
|
-
r"""
|
|
18976
|
+
r"""<p>加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 'AES-128-GCM', 'AES-192-GCM', 'AES-256-GCM'。</p><p>默认值:AES-128-CBC</p>
|
|
18883
18977
|
:rtype: str
|
|
18884
18978
|
"""
|
|
18885
18979
|
return self._EncryptAlgorithm
|
|
@@ -18890,7 +18984,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18890
18984
|
|
|
18891
18985
|
@property
|
|
18892
18986
|
def Compress(self):
|
|
18893
|
-
r"""
|
|
18987
|
+
r"""<p>是否支持压缩。当前不支持压缩,默认False。</p>
|
|
18894
18988
|
:rtype: bool
|
|
18895
18989
|
"""
|
|
18896
18990
|
return self._Compress
|
|
@@ -18901,7 +18995,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18901
18995
|
|
|
18902
18996
|
@property
|
|
18903
18997
|
def SsoEnabled(self):
|
|
18904
|
-
r"""
|
|
18998
|
+
r"""<p>是否开启SSO认证。默认为False。该功能当前需要申请开白使用。</p>
|
|
18905
18999
|
:rtype: bool
|
|
18906
19000
|
"""
|
|
18907
19001
|
return self._SsoEnabled
|
|
@@ -18912,7 +19006,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18912
19006
|
|
|
18913
19007
|
@property
|
|
18914
19008
|
def AccessPolicyEnabled(self):
|
|
18915
|
-
r"""
|
|
19009
|
+
r"""<p>是否开启策略访问控制。默认为False</p>
|
|
18916
19010
|
:rtype: bool
|
|
18917
19011
|
"""
|
|
18918
19012
|
return self._AccessPolicyEnabled
|
|
@@ -18923,7 +19017,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18923
19017
|
|
|
18924
19018
|
@property
|
|
18925
19019
|
def SamlData(self):
|
|
18926
|
-
r"""SAML-DATA,开启SSO
|
|
19020
|
+
r"""<p>SAML-DATA,开启SSO时传。</p>
|
|
18927
19021
|
:rtype: str
|
|
18928
19022
|
"""
|
|
18929
19023
|
return self._SamlData
|
|
@@ -18934,7 +19028,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18934
19028
|
|
|
18935
19029
|
@property
|
|
18936
19030
|
def Tags(self):
|
|
18937
|
-
r"""
|
|
19031
|
+
r"""<p>指定绑定的标签列表</p>
|
|
18938
19032
|
:rtype: list of Tag
|
|
18939
19033
|
"""
|
|
18940
19034
|
return self._Tags
|
|
@@ -18945,7 +19039,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
18945
19039
|
|
|
18946
19040
|
@property
|
|
18947
19041
|
def DnsServers(self):
|
|
18948
|
-
r"""DNS Server
|
|
19042
|
+
r"""<p>DNS Server 地址</p>
|
|
18949
19043
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.DnsServers`
|
|
18950
19044
|
"""
|
|
18951
19045
|
return self._DnsServers
|
|
@@ -18994,9 +19088,9 @@ class CreateVpnGatewaySslServerResponse(AbstractModel):
|
|
|
18994
19088
|
|
|
18995
19089
|
def __init__(self):
|
|
18996
19090
|
r"""
|
|
18997
|
-
:param _TaskId:
|
|
19091
|
+
:param _TaskId: <p>创建SSL-VPN server 异步任务ID。</p>
|
|
18998
19092
|
:type TaskId: int
|
|
18999
|
-
:param _SslVpnServerId: SSL-VPN-SERVER 唯一ID
|
|
19093
|
+
:param _SslVpnServerId: <p>SSL-VPN-SERVER 唯一ID。</p>
|
|
19000
19094
|
:type SslVpnServerId: str
|
|
19001
19095
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19002
19096
|
:type RequestId: str
|
|
@@ -19007,7 +19101,7 @@ class CreateVpnGatewaySslServerResponse(AbstractModel):
|
|
|
19007
19101
|
|
|
19008
19102
|
@property
|
|
19009
19103
|
def TaskId(self):
|
|
19010
|
-
r"""
|
|
19104
|
+
r"""<p>创建SSL-VPN server 异步任务ID。</p>
|
|
19011
19105
|
:rtype: int
|
|
19012
19106
|
"""
|
|
19013
19107
|
return self._TaskId
|
|
@@ -19018,7 +19112,7 @@ class CreateVpnGatewaySslServerResponse(AbstractModel):
|
|
|
19018
19112
|
|
|
19019
19113
|
@property
|
|
19020
19114
|
def SslVpnServerId(self):
|
|
19021
|
-
r"""SSL-VPN-SERVER 唯一ID
|
|
19115
|
+
r"""<p>SSL-VPN-SERVER 唯一ID。</p>
|
|
19022
19116
|
:rtype: str
|
|
19023
19117
|
"""
|
|
19024
19118
|
return self._SslVpnServerId
|
|
@@ -19514,26 +19608,32 @@ class CustomerGateway(AbstractModel):
|
|
|
19514
19608
|
|
|
19515
19609
|
def __init__(self):
|
|
19516
19610
|
r"""
|
|
19517
|
-
:param _CustomerGatewayId:
|
|
19611
|
+
:param _CustomerGatewayId: <p>用户网关唯一ID</p>
|
|
19518
19612
|
:type CustomerGatewayId: str
|
|
19519
|
-
:param _CustomerGatewayName:
|
|
19613
|
+
:param _CustomerGatewayName: <p>网关名称</p>
|
|
19520
19614
|
:type CustomerGatewayName: str
|
|
19521
|
-
:param _IpAddress:
|
|
19615
|
+
:param _IpAddress: <p>公网地址</p>
|
|
19522
19616
|
:type IpAddress: str
|
|
19523
|
-
:param _CreatedTime:
|
|
19617
|
+
:param _CreatedTime: <p>创建时间</p>
|
|
19524
19618
|
:type CreatedTime: str
|
|
19525
|
-
:param _BgpAsn: BGP ASN
|
|
19619
|
+
:param _BgpAsn: <p>BGP ASN。</p>
|
|
19526
19620
|
:type BgpAsn: int
|
|
19621
|
+
:param _VpnConnNum: <p>关联通道数</p>
|
|
19622
|
+
:type VpnConnNum: int
|
|
19623
|
+
:param _TagSet: <p>标签信息</p>
|
|
19624
|
+
:type TagSet: list of Tag
|
|
19527
19625
|
"""
|
|
19528
19626
|
self._CustomerGatewayId = None
|
|
19529
19627
|
self._CustomerGatewayName = None
|
|
19530
19628
|
self._IpAddress = None
|
|
19531
19629
|
self._CreatedTime = None
|
|
19532
19630
|
self._BgpAsn = None
|
|
19631
|
+
self._VpnConnNum = None
|
|
19632
|
+
self._TagSet = None
|
|
19533
19633
|
|
|
19534
19634
|
@property
|
|
19535
19635
|
def CustomerGatewayId(self):
|
|
19536
|
-
r"""
|
|
19636
|
+
r"""<p>用户网关唯一ID</p>
|
|
19537
19637
|
:rtype: str
|
|
19538
19638
|
"""
|
|
19539
19639
|
return self._CustomerGatewayId
|
|
@@ -19544,7 +19644,7 @@ class CustomerGateway(AbstractModel):
|
|
|
19544
19644
|
|
|
19545
19645
|
@property
|
|
19546
19646
|
def CustomerGatewayName(self):
|
|
19547
|
-
r"""
|
|
19647
|
+
r"""<p>网关名称</p>
|
|
19548
19648
|
:rtype: str
|
|
19549
19649
|
"""
|
|
19550
19650
|
return self._CustomerGatewayName
|
|
@@ -19555,7 +19655,7 @@ class CustomerGateway(AbstractModel):
|
|
|
19555
19655
|
|
|
19556
19656
|
@property
|
|
19557
19657
|
def IpAddress(self):
|
|
19558
|
-
r"""
|
|
19658
|
+
r"""<p>公网地址</p>
|
|
19559
19659
|
:rtype: str
|
|
19560
19660
|
"""
|
|
19561
19661
|
return self._IpAddress
|
|
@@ -19566,7 +19666,7 @@ class CustomerGateway(AbstractModel):
|
|
|
19566
19666
|
|
|
19567
19667
|
@property
|
|
19568
19668
|
def CreatedTime(self):
|
|
19569
|
-
r"""
|
|
19669
|
+
r"""<p>创建时间</p>
|
|
19570
19670
|
:rtype: str
|
|
19571
19671
|
"""
|
|
19572
19672
|
return self._CreatedTime
|
|
@@ -19577,7 +19677,7 @@ class CustomerGateway(AbstractModel):
|
|
|
19577
19677
|
|
|
19578
19678
|
@property
|
|
19579
19679
|
def BgpAsn(self):
|
|
19580
|
-
r"""BGP ASN
|
|
19680
|
+
r"""<p>BGP ASN。</p>
|
|
19581
19681
|
:rtype: int
|
|
19582
19682
|
"""
|
|
19583
19683
|
return self._BgpAsn
|
|
@@ -19586,6 +19686,28 @@ class CustomerGateway(AbstractModel):
|
|
|
19586
19686
|
def BgpAsn(self, BgpAsn):
|
|
19587
19687
|
self._BgpAsn = BgpAsn
|
|
19588
19688
|
|
|
19689
|
+
@property
|
|
19690
|
+
def VpnConnNum(self):
|
|
19691
|
+
r"""<p>关联通道数</p>
|
|
19692
|
+
:rtype: int
|
|
19693
|
+
"""
|
|
19694
|
+
return self._VpnConnNum
|
|
19695
|
+
|
|
19696
|
+
@VpnConnNum.setter
|
|
19697
|
+
def VpnConnNum(self, VpnConnNum):
|
|
19698
|
+
self._VpnConnNum = VpnConnNum
|
|
19699
|
+
|
|
19700
|
+
@property
|
|
19701
|
+
def TagSet(self):
|
|
19702
|
+
r"""<p>标签信息</p>
|
|
19703
|
+
:rtype: list of Tag
|
|
19704
|
+
"""
|
|
19705
|
+
return self._TagSet
|
|
19706
|
+
|
|
19707
|
+
@TagSet.setter
|
|
19708
|
+
def TagSet(self, TagSet):
|
|
19709
|
+
self._TagSet = TagSet
|
|
19710
|
+
|
|
19589
19711
|
|
|
19590
19712
|
def _deserialize(self, params):
|
|
19591
19713
|
self._CustomerGatewayId = params.get("CustomerGatewayId")
|
|
@@ -19593,6 +19715,13 @@ class CustomerGateway(AbstractModel):
|
|
|
19593
19715
|
self._IpAddress = params.get("IpAddress")
|
|
19594
19716
|
self._CreatedTime = params.get("CreatedTime")
|
|
19595
19717
|
self._BgpAsn = params.get("BgpAsn")
|
|
19718
|
+
self._VpnConnNum = params.get("VpnConnNum")
|
|
19719
|
+
if params.get("TagSet") is not None:
|
|
19720
|
+
self._TagSet = []
|
|
19721
|
+
for item in params.get("TagSet"):
|
|
19722
|
+
obj = Tag()
|
|
19723
|
+
obj._deserialize(item)
|
|
19724
|
+
self._TagSet.append(obj)
|
|
19596
19725
|
memeber_set = set(params.keys())
|
|
19597
19726
|
for name, value in vars(self).items():
|
|
19598
19727
|
property_name = name[1:]
|
|
@@ -28301,16 +28430,13 @@ class DescribeCustomerGatewaysRequest(AbstractModel):
|
|
|
28301
28430
|
|
|
28302
28431
|
def __init__(self):
|
|
28303
28432
|
r"""
|
|
28304
|
-
:param _CustomerGatewayIds:
|
|
28433
|
+
:param _CustomerGatewayIds: <p>对端网关ID,例如:cgw-2wqq41m9。每次请求的实例的上限为100。参数不支持同时指定CustomerGatewayIds和Filters。</p>
|
|
28305
28434
|
:type CustomerGatewayIds: list of str
|
|
28306
|
-
:param _Filters:
|
|
28307
|
-
<li>customer-gateway-id - String - (过滤条件)用户网关唯一ID形如:`cgw-mgp33pll`。</li>
|
|
28308
|
-
<li>customer-gateway-name - String - (过滤条件)用户网关名称形如:`test-cgw`。</li>
|
|
28309
|
-
<li>ip-address - String - (过滤条件)公网地址形如:`58.211.1.12`。</li>
|
|
28435
|
+
:param _Filters: <p>过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定CustomerGatewayIds和Filters。<li>customer-gateway-id - String - (过滤条件)用户网关唯一ID形如:<code>cgw-mgp33pll</code>。</li><li>customer-gateway-name - String - (过滤条件)用户网关名称形如:<code>test-cgw</code>。</li><li>ip-address - String - (过滤条件)公网地址形如:<code>58.211.1.12</code>。</li><li>ip-version - String - (过滤条件)公网地址类型,可选值['IPv4','IPv6']。</li></p>
|
|
28310
28436
|
:type Filters: list of Filter
|
|
28311
|
-
:param _Offset:
|
|
28437
|
+
:param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/11646">简介</a>中的相关小节。</p>
|
|
28312
28438
|
:type Offset: int
|
|
28313
|
-
:param _Limit:
|
|
28439
|
+
:param _Limit: <p>返回数量,默认为20,最大值为100。</p>
|
|
28314
28440
|
:type Limit: int
|
|
28315
28441
|
"""
|
|
28316
28442
|
self._CustomerGatewayIds = None
|
|
@@ -28320,7 +28446,7 @@ class DescribeCustomerGatewaysRequest(AbstractModel):
|
|
|
28320
28446
|
|
|
28321
28447
|
@property
|
|
28322
28448
|
def CustomerGatewayIds(self):
|
|
28323
|
-
r"""
|
|
28449
|
+
r"""<p>对端网关ID,例如:cgw-2wqq41m9。每次请求的实例的上限为100。参数不支持同时指定CustomerGatewayIds和Filters。</p>
|
|
28324
28450
|
:rtype: list of str
|
|
28325
28451
|
"""
|
|
28326
28452
|
return self._CustomerGatewayIds
|
|
@@ -28331,10 +28457,7 @@ class DescribeCustomerGatewaysRequest(AbstractModel):
|
|
|
28331
28457
|
|
|
28332
28458
|
@property
|
|
28333
28459
|
def Filters(self):
|
|
28334
|
-
r"""
|
|
28335
|
-
<li>customer-gateway-id - String - (过滤条件)用户网关唯一ID形如:`cgw-mgp33pll`。</li>
|
|
28336
|
-
<li>customer-gateway-name - String - (过滤条件)用户网关名称形如:`test-cgw`。</li>
|
|
28337
|
-
<li>ip-address - String - (过滤条件)公网地址形如:`58.211.1.12`。</li>
|
|
28460
|
+
r"""<p>过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定CustomerGatewayIds和Filters。<li>customer-gateway-id - String - (过滤条件)用户网关唯一ID形如:<code>cgw-mgp33pll</code>。</li><li>customer-gateway-name - String - (过滤条件)用户网关名称形如:<code>test-cgw</code>。</li><li>ip-address - String - (过滤条件)公网地址形如:<code>58.211.1.12</code>。</li><li>ip-version - String - (过滤条件)公网地址类型,可选值['IPv4','IPv6']。</li></p>
|
|
28338
28461
|
:rtype: list of Filter
|
|
28339
28462
|
"""
|
|
28340
28463
|
return self._Filters
|
|
@@ -28345,7 +28468,7 @@ class DescribeCustomerGatewaysRequest(AbstractModel):
|
|
|
28345
28468
|
|
|
28346
28469
|
@property
|
|
28347
28470
|
def Offset(self):
|
|
28348
|
-
r"""
|
|
28471
|
+
r"""<p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/11646">简介</a>中的相关小节。</p>
|
|
28349
28472
|
:rtype: int
|
|
28350
28473
|
"""
|
|
28351
28474
|
return self._Offset
|
|
@@ -28356,7 +28479,7 @@ class DescribeCustomerGatewaysRequest(AbstractModel):
|
|
|
28356
28479
|
|
|
28357
28480
|
@property
|
|
28358
28481
|
def Limit(self):
|
|
28359
|
-
r"""
|
|
28482
|
+
r"""<p>返回数量,默认为20,最大值为100。</p>
|
|
28360
28483
|
:rtype: int
|
|
28361
28484
|
"""
|
|
28362
28485
|
return self._Limit
|
|
@@ -28393,9 +28516,9 @@ class DescribeCustomerGatewaysResponse(AbstractModel):
|
|
|
28393
28516
|
|
|
28394
28517
|
def __init__(self):
|
|
28395
28518
|
r"""
|
|
28396
|
-
:param _CustomerGatewaySet:
|
|
28519
|
+
:param _CustomerGatewaySet: <p>对端网关对象列表。</p>
|
|
28397
28520
|
:type CustomerGatewaySet: list of CustomerGateway
|
|
28398
|
-
:param _TotalCount:
|
|
28521
|
+
:param _TotalCount: <p>符合条件的实例数量。</p>
|
|
28399
28522
|
:type TotalCount: int
|
|
28400
28523
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28401
28524
|
:type RequestId: str
|
|
@@ -28406,7 +28529,7 @@ class DescribeCustomerGatewaysResponse(AbstractModel):
|
|
|
28406
28529
|
|
|
28407
28530
|
@property
|
|
28408
28531
|
def CustomerGatewaySet(self):
|
|
28409
|
-
r"""
|
|
28532
|
+
r"""<p>对端网关对象列表。</p>
|
|
28410
28533
|
:rtype: list of CustomerGateway
|
|
28411
28534
|
"""
|
|
28412
28535
|
return self._CustomerGatewaySet
|
|
@@ -28417,7 +28540,7 @@ class DescribeCustomerGatewaysResponse(AbstractModel):
|
|
|
28417
28540
|
|
|
28418
28541
|
@property
|
|
28419
28542
|
def TotalCount(self):
|
|
28420
|
-
r"""
|
|
28543
|
+
r"""<p>符合条件的实例数量。</p>
|
|
28421
28544
|
:rtype: int
|
|
28422
28545
|
"""
|
|
28423
28546
|
return self._TotalCount
|
|
@@ -43801,9 +43924,9 @@ class DisassociateAddressRequest(AbstractModel):
|
|
|
43801
43924
|
|
|
43802
43925
|
def __init__(self):
|
|
43803
43926
|
r"""
|
|
43804
|
-
:param _AddressId:
|
|
43927
|
+
:param _AddressId: <p>标识 EIP 的唯一 ID。EIP 唯一 ID 形如:<code>eip-11112222</code>。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。</p>
|
|
43805
43928
|
:type AddressId: str
|
|
43806
|
-
:param _ReallocateNormalPublicIp:
|
|
43929
|
+
:param _ReallocateNormalPublicIp: <p>表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<li><code>true</code>:表示解绑 EIP 之后分配普通公网 IP。</li><li><code>false</code>:表示解绑 EIP 之后不分配普通公网 IP。</li>默认取值:<code>false</code>。<br><br>只有满足以下条件时才能指定该参数:<li>只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。</li><li>解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 <a href="https://cloud.tencent.com/document/api/213/1378">DescribeAddressQuota</a> 接口获取。</li></p>
|
|
43807
43930
|
:type ReallocateNormalPublicIp: bool
|
|
43808
43931
|
"""
|
|
43809
43932
|
self._AddressId = None
|
|
@@ -43811,7 +43934,7 @@ class DisassociateAddressRequest(AbstractModel):
|
|
|
43811
43934
|
|
|
43812
43935
|
@property
|
|
43813
43936
|
def AddressId(self):
|
|
43814
|
-
r"""
|
|
43937
|
+
r"""<p>标识 EIP 的唯一 ID。EIP 唯一 ID 形如:<code>eip-11112222</code>。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。</p>
|
|
43815
43938
|
:rtype: str
|
|
43816
43939
|
"""
|
|
43817
43940
|
return self._AddressId
|
|
@@ -43822,7 +43945,7 @@ class DisassociateAddressRequest(AbstractModel):
|
|
|
43822
43945
|
|
|
43823
43946
|
@property
|
|
43824
43947
|
def ReallocateNormalPublicIp(self):
|
|
43825
|
-
r"""
|
|
43948
|
+
r"""<p>表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<li><code>true</code>:表示解绑 EIP 之后分配普通公网 IP。</li><li><code>false</code>:表示解绑 EIP 之后不分配普通公网 IP。</li>默认取值:<code>false</code>。<br><br>只有满足以下条件时才能指定该参数:<li>只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。</li><li>解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 <a href="https://cloud.tencent.com/document/api/213/1378">DescribeAddressQuota</a> 接口获取。</li></p>
|
|
43826
43949
|
:rtype: bool
|
|
43827
43950
|
"""
|
|
43828
43951
|
return self._ReallocateNormalPublicIp
|
|
@@ -43852,7 +43975,7 @@ class DisassociateAddressResponse(AbstractModel):
|
|
|
43852
43975
|
|
|
43853
43976
|
def __init__(self):
|
|
43854
43977
|
r"""
|
|
43855
|
-
:param _TaskId:
|
|
43978
|
+
:param _TaskId: <p>异步任务TaskId。可以使用<a href="https://cloud.tencent.com/document/api/215/36271">DescribeTaskResult</a>接口查询任务状态。</p>
|
|
43856
43979
|
:type TaskId: str
|
|
43857
43980
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
43858
43981
|
:type RequestId: str
|
|
@@ -43862,7 +43985,7 @@ class DisassociateAddressResponse(AbstractModel):
|
|
|
43862
43985
|
|
|
43863
43986
|
@property
|
|
43864
43987
|
def TaskId(self):
|
|
43865
|
-
r"""
|
|
43988
|
+
r"""<p>异步任务TaskId。可以使用<a href="https://cloud.tencent.com/document/api/215/36271">DescribeTaskResult</a>接口查询任务状态。</p>
|
|
43866
43989
|
:rtype: str
|
|
43867
43990
|
"""
|
|
43868
43991
|
return self._TaskId
|
|
@@ -58960,29 +59083,29 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
58960
59083
|
|
|
58961
59084
|
def __init__(self):
|
|
58962
59085
|
r"""
|
|
58963
|
-
:param _SslVpnServerId: SSL-VPN SERVER 实例ID
|
|
59086
|
+
:param _SslVpnServerId: <p>SSL-VPN SERVER 实例ID</p>
|
|
58964
59087
|
:type SslVpnServerId: str
|
|
58965
|
-
:param _SslVpnServerName: SSL-VPN SERVER NAME
|
|
59088
|
+
:param _SslVpnServerName: <p>SSL-VPN SERVER NAME</p>
|
|
58966
59089
|
:type SslVpnServerName: str
|
|
58967
|
-
:param _LocalAddress:
|
|
59090
|
+
:param _LocalAddress: <p>本端地址</p>
|
|
58968
59091
|
:type LocalAddress: list of str
|
|
58969
|
-
:param _RemoteAddress:
|
|
59092
|
+
:param _RemoteAddress: <p>客户端地址</p>
|
|
58970
59093
|
:type RemoteAddress: str
|
|
58971
|
-
:param _SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP
|
|
59094
|
+
:param _SslVpnProtocol: <p>SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP</p>
|
|
58972
59095
|
:type SslVpnProtocol: str
|
|
58973
|
-
:param _SslVpnPort: SSL VPN
|
|
59096
|
+
:param _SslVpnPort: <p>SSL VPN服务端监听协议端口。</p>
|
|
58974
59097
|
:type SslVpnPort: int
|
|
58975
|
-
:param _EncryptAlgorithm:
|
|
59098
|
+
:param _EncryptAlgorithm: <p>加密算法。可选值 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'AES-128-GCM', 'AES-192-GCM', 'AES-256-GCM', 默认AES-128-CBC。</p>
|
|
58976
59099
|
:type EncryptAlgorithm: str
|
|
58977
|
-
:param _IntegrityAlgorithm:
|
|
59100
|
+
:param _IntegrityAlgorithm: <p>认证算法。可选 'SHA1', 'MD5', 'SHA224', 'SHA256', 'SHA384', 'SHA512',默认SHA1。</p>
|
|
58978
59101
|
:type IntegrityAlgorithm: str
|
|
58979
|
-
:param _Compress:
|
|
59102
|
+
:param _Compress: <p>是否支持压缩。当前不支持压缩。默认False。</p>
|
|
58980
59103
|
:type Compress: bool
|
|
58981
|
-
:param _SsoEnabled:
|
|
59104
|
+
:param _SsoEnabled: <p>是否开启SSO认证。默认为False。该功能当前需要申请开白使用。</p>
|
|
58982
59105
|
:type SsoEnabled: bool
|
|
58983
|
-
:param _SamlData: SAML-DATA
|
|
59106
|
+
:param _SamlData: <p>SAML-DATA</p>
|
|
58984
59107
|
:type SamlData: str
|
|
58985
|
-
:param _DnsServers: DNS Server
|
|
59108
|
+
:param _DnsServers: <p>DNS Server地址</p>
|
|
58986
59109
|
:type DnsServers: :class:`tencentcloud.vpc.v20170312.models.DnsServers`
|
|
58987
59110
|
"""
|
|
58988
59111
|
self._SslVpnServerId = None
|
|
@@ -59000,7 +59123,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59000
59123
|
|
|
59001
59124
|
@property
|
|
59002
59125
|
def SslVpnServerId(self):
|
|
59003
|
-
r"""SSL-VPN SERVER 实例ID
|
|
59126
|
+
r"""<p>SSL-VPN SERVER 实例ID</p>
|
|
59004
59127
|
:rtype: str
|
|
59005
59128
|
"""
|
|
59006
59129
|
return self._SslVpnServerId
|
|
@@ -59011,7 +59134,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59011
59134
|
|
|
59012
59135
|
@property
|
|
59013
59136
|
def SslVpnServerName(self):
|
|
59014
|
-
r"""SSL-VPN SERVER NAME
|
|
59137
|
+
r"""<p>SSL-VPN SERVER NAME</p>
|
|
59015
59138
|
:rtype: str
|
|
59016
59139
|
"""
|
|
59017
59140
|
return self._SslVpnServerName
|
|
@@ -59022,7 +59145,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59022
59145
|
|
|
59023
59146
|
@property
|
|
59024
59147
|
def LocalAddress(self):
|
|
59025
|
-
r"""
|
|
59148
|
+
r"""<p>本端地址</p>
|
|
59026
59149
|
:rtype: list of str
|
|
59027
59150
|
"""
|
|
59028
59151
|
return self._LocalAddress
|
|
@@ -59033,7 +59156,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59033
59156
|
|
|
59034
59157
|
@property
|
|
59035
59158
|
def RemoteAddress(self):
|
|
59036
|
-
r"""
|
|
59159
|
+
r"""<p>客户端地址</p>
|
|
59037
59160
|
:rtype: str
|
|
59038
59161
|
"""
|
|
59039
59162
|
return self._RemoteAddress
|
|
@@ -59044,18 +59167,22 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59044
59167
|
|
|
59045
59168
|
@property
|
|
59046
59169
|
def SslVpnProtocol(self):
|
|
59047
|
-
|
|
59170
|
+
warnings.warn("parameter `SslVpnProtocol` is deprecated", DeprecationWarning)
|
|
59171
|
+
|
|
59172
|
+
r"""<p>SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP</p>
|
|
59048
59173
|
:rtype: str
|
|
59049
59174
|
"""
|
|
59050
59175
|
return self._SslVpnProtocol
|
|
59051
59176
|
|
|
59052
59177
|
@SslVpnProtocol.setter
|
|
59053
59178
|
def SslVpnProtocol(self, SslVpnProtocol):
|
|
59179
|
+
warnings.warn("parameter `SslVpnProtocol` is deprecated", DeprecationWarning)
|
|
59180
|
+
|
|
59054
59181
|
self._SslVpnProtocol = SslVpnProtocol
|
|
59055
59182
|
|
|
59056
59183
|
@property
|
|
59057
59184
|
def SslVpnPort(self):
|
|
59058
|
-
r"""SSL VPN
|
|
59185
|
+
r"""<p>SSL VPN服务端监听协议端口。</p>
|
|
59059
59186
|
:rtype: int
|
|
59060
59187
|
"""
|
|
59061
59188
|
return self._SslVpnPort
|
|
@@ -59066,7 +59193,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59066
59193
|
|
|
59067
59194
|
@property
|
|
59068
59195
|
def EncryptAlgorithm(self):
|
|
59069
|
-
r"""
|
|
59196
|
+
r"""<p>加密算法。可选值 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'AES-128-GCM', 'AES-192-GCM', 'AES-256-GCM', 默认AES-128-CBC。</p>
|
|
59070
59197
|
:rtype: str
|
|
59071
59198
|
"""
|
|
59072
59199
|
return self._EncryptAlgorithm
|
|
@@ -59077,7 +59204,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59077
59204
|
|
|
59078
59205
|
@property
|
|
59079
59206
|
def IntegrityAlgorithm(self):
|
|
59080
|
-
r"""
|
|
59207
|
+
r"""<p>认证算法。可选 'SHA1', 'MD5', 'SHA224', 'SHA256', 'SHA384', 'SHA512',默认SHA1。</p>
|
|
59081
59208
|
:rtype: str
|
|
59082
59209
|
"""
|
|
59083
59210
|
return self._IntegrityAlgorithm
|
|
@@ -59088,7 +59215,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59088
59215
|
|
|
59089
59216
|
@property
|
|
59090
59217
|
def Compress(self):
|
|
59091
|
-
r"""
|
|
59218
|
+
r"""<p>是否支持压缩。当前不支持压缩。默认False。</p>
|
|
59092
59219
|
:rtype: bool
|
|
59093
59220
|
"""
|
|
59094
59221
|
return self._Compress
|
|
@@ -59099,7 +59226,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59099
59226
|
|
|
59100
59227
|
@property
|
|
59101
59228
|
def SsoEnabled(self):
|
|
59102
|
-
r"""
|
|
59229
|
+
r"""<p>是否开启SSO认证。默认为False。该功能当前需要申请开白使用。</p>
|
|
59103
59230
|
:rtype: bool
|
|
59104
59231
|
"""
|
|
59105
59232
|
return self._SsoEnabled
|
|
@@ -59110,7 +59237,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59110
59237
|
|
|
59111
59238
|
@property
|
|
59112
59239
|
def SamlData(self):
|
|
59113
|
-
r"""SAML-DATA
|
|
59240
|
+
r"""<p>SAML-DATA</p>
|
|
59114
59241
|
:rtype: str
|
|
59115
59242
|
"""
|
|
59116
59243
|
return self._SamlData
|
|
@@ -59121,7 +59248,7 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
|
59121
59248
|
|
|
59122
59249
|
@property
|
|
59123
59250
|
def DnsServers(self):
|
|
59124
|
-
r"""DNS Server
|
|
59251
|
+
r"""<p>DNS Server地址</p>
|
|
59125
59252
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.DnsServers`
|
|
59126
59253
|
"""
|
|
59127
59254
|
return self._DnsServers
|
|
@@ -59163,7 +59290,7 @@ class ModifyVpnGatewaySslServerResponse(AbstractModel):
|
|
|
59163
59290
|
|
|
59164
59291
|
def __init__(self):
|
|
59165
59292
|
r"""
|
|
59166
|
-
:param _TaskId:
|
|
59293
|
+
:param _TaskId: <p>异步任务TASKID</p>
|
|
59167
59294
|
:type TaskId: int
|
|
59168
59295
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
59169
59296
|
:type RequestId: str
|
|
@@ -59173,7 +59300,7 @@ class ModifyVpnGatewaySslServerResponse(AbstractModel):
|
|
|
59173
59300
|
|
|
59174
59301
|
@property
|
|
59175
59302
|
def TaskId(self):
|
|
59176
|
-
r"""
|
|
59303
|
+
r"""<p>异步任务TASKID</p>
|
|
59177
59304
|
:rtype: int
|
|
59178
59305
|
"""
|
|
59179
59306
|
return self._TaskId
|
|
@@ -75733,6 +75860,8 @@ class VpnGateway(AbstractModel):
|
|
|
75733
75860
|
:type BgpAsn: int
|
|
75734
75861
|
:param _TagSet: <p>标签列表</p>
|
|
75735
75862
|
:type TagSet: list of Tag
|
|
75863
|
+
:param _IsPrivate: <p>私网VPN标识</p>
|
|
75864
|
+
:type IsPrivate: bool
|
|
75736
75865
|
"""
|
|
75737
75866
|
self._VpnGatewayId = None
|
|
75738
75867
|
self._VpcId = None
|
|
@@ -75756,6 +75885,7 @@ class VpnGateway(AbstractModel):
|
|
|
75756
75885
|
self._MaxConnection = None
|
|
75757
75886
|
self._BgpAsn = None
|
|
75758
75887
|
self._TagSet = None
|
|
75888
|
+
self._IsPrivate = None
|
|
75759
75889
|
|
|
75760
75890
|
@property
|
|
75761
75891
|
def VpnGatewayId(self):
|
|
@@ -75999,6 +76129,17 @@ class VpnGateway(AbstractModel):
|
|
|
75999
76129
|
def TagSet(self, TagSet):
|
|
76000
76130
|
self._TagSet = TagSet
|
|
76001
76131
|
|
|
76132
|
+
@property
|
|
76133
|
+
def IsPrivate(self):
|
|
76134
|
+
r"""<p>私网VPN标识</p>
|
|
76135
|
+
:rtype: bool
|
|
76136
|
+
"""
|
|
76137
|
+
return self._IsPrivate
|
|
76138
|
+
|
|
76139
|
+
@IsPrivate.setter
|
|
76140
|
+
def IsPrivate(self, IsPrivate):
|
|
76141
|
+
self._IsPrivate = IsPrivate
|
|
76142
|
+
|
|
76002
76143
|
|
|
76003
76144
|
def _deserialize(self, params):
|
|
76004
76145
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
|
@@ -76033,6 +76174,7 @@ class VpnGateway(AbstractModel):
|
|
|
76033
76174
|
obj = Tag()
|
|
76034
76175
|
obj._deserialize(item)
|
|
76035
76176
|
self._TagSet.append(obj)
|
|
76177
|
+
self._IsPrivate = params.get("IsPrivate")
|
|
76036
76178
|
memeber_set = set(params.keys())
|
|
76037
76179
|
for name, value in vars(self).items():
|
|
76038
76180
|
property_name = name[1:]
|
|
@@ -76050,20 +76192,23 @@ class VpnGatewayQuota(AbstractModel):
|
|
|
76050
76192
|
|
|
76051
76193
|
def __init__(self):
|
|
76052
76194
|
r"""
|
|
76053
|
-
:param _Bandwidth:
|
|
76195
|
+
:param _Bandwidth: <p>带宽配额,单位:Mbps。</p>
|
|
76054
76196
|
:type Bandwidth: int
|
|
76055
|
-
:param _Cname:
|
|
76197
|
+
:param _Cname: <p>配额中文名称</p>
|
|
76056
76198
|
:type Cname: str
|
|
76057
|
-
:param _Name:
|
|
76199
|
+
:param _Name: <p>配额英文名称</p>
|
|
76058
76200
|
:type Name: str
|
|
76201
|
+
:param _MaxConnection: <p>SSL 连接数可选配额</p>
|
|
76202
|
+
:type MaxConnection: list of int non-negative
|
|
76059
76203
|
"""
|
|
76060
76204
|
self._Bandwidth = None
|
|
76061
76205
|
self._Cname = None
|
|
76062
76206
|
self._Name = None
|
|
76207
|
+
self._MaxConnection = None
|
|
76063
76208
|
|
|
76064
76209
|
@property
|
|
76065
76210
|
def Bandwidth(self):
|
|
76066
|
-
r"""
|
|
76211
|
+
r"""<p>带宽配额,单位:Mbps。</p>
|
|
76067
76212
|
:rtype: int
|
|
76068
76213
|
"""
|
|
76069
76214
|
return self._Bandwidth
|
|
@@ -76074,7 +76219,7 @@ class VpnGatewayQuota(AbstractModel):
|
|
|
76074
76219
|
|
|
76075
76220
|
@property
|
|
76076
76221
|
def Cname(self):
|
|
76077
|
-
r"""
|
|
76222
|
+
r"""<p>配额中文名称</p>
|
|
76078
76223
|
:rtype: str
|
|
76079
76224
|
"""
|
|
76080
76225
|
return self._Cname
|
|
@@ -76085,7 +76230,7 @@ class VpnGatewayQuota(AbstractModel):
|
|
|
76085
76230
|
|
|
76086
76231
|
@property
|
|
76087
76232
|
def Name(self):
|
|
76088
|
-
r"""
|
|
76233
|
+
r"""<p>配额英文名称</p>
|
|
76089
76234
|
:rtype: str
|
|
76090
76235
|
"""
|
|
76091
76236
|
return self._Name
|
|
@@ -76094,11 +76239,23 @@ class VpnGatewayQuota(AbstractModel):
|
|
|
76094
76239
|
def Name(self, Name):
|
|
76095
76240
|
self._Name = Name
|
|
76096
76241
|
|
|
76242
|
+
@property
|
|
76243
|
+
def MaxConnection(self):
|
|
76244
|
+
r"""<p>SSL 连接数可选配额</p>
|
|
76245
|
+
:rtype: list of int non-negative
|
|
76246
|
+
"""
|
|
76247
|
+
return self._MaxConnection
|
|
76248
|
+
|
|
76249
|
+
@MaxConnection.setter
|
|
76250
|
+
def MaxConnection(self, MaxConnection):
|
|
76251
|
+
self._MaxConnection = MaxConnection
|
|
76252
|
+
|
|
76097
76253
|
|
|
76098
76254
|
def _deserialize(self, params):
|
|
76099
76255
|
self._Bandwidth = params.get("Bandwidth")
|
|
76100
76256
|
self._Cname = params.get("Cname")
|
|
76101
76257
|
self._Name = params.get("Name")
|
|
76258
|
+
self._MaxConnection = params.get("MaxConnection")
|
|
76102
76259
|
memeber_set = set(params.keys())
|
|
76103
76260
|
for name, value in vars(self).items():
|
|
76104
76261
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Vpc 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.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.170
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|