tencentcloud-sdk-python-vpc 3.1.140__py2.py3-none-any.whl → 3.1.147__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +83 -68
- {tencentcloud_sdk_python_vpc-3.1.140.dist-info → tencentcloud_sdk_python_vpc-3.1.147.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_vpc-3.1.147.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_vpc-3.1.140.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_vpc-3.1.140.dist-info → tencentcloud_sdk_python_vpc-3.1.147.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_vpc-3.1.140.dist-info → tencentcloud_sdk_python_vpc-3.1.147.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -893,6 +893,9 @@ UNSUPPORTEDOPERATION_BANDWIDTHNOTEXPIRED = 'UnsupportedOperation.BandwidthNotExp
|
|
|
893
893
|
# 该带宽包不支持此操作。
|
|
894
894
|
UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = 'UnsupportedOperation.BandwidthPackageIdNotSupported'
|
|
895
895
|
|
|
896
|
+
# 抱歉,您的操作暂时无法完成,请稍后重试或联系客服。
|
|
897
|
+
UNSUPPORTEDOPERATION_BILLINGFAILED = 'UnsupportedOperation.BillingFailed'
|
|
898
|
+
|
|
896
899
|
# 绑定了防火墙,请先到防火墙页面解绑。
|
|
897
900
|
UNSUPPORTEDOPERATION_BINDCLOUDFIREWALL = 'UnsupportedOperation.BindCloudFirewall'
|
|
898
901
|
|
|
@@ -17771,17 +17771,20 @@ class CreateVpnConnRoute(AbstractModel):
|
|
|
17771
17771
|
|
|
17772
17772
|
def __init__(self):
|
|
17773
17773
|
r"""
|
|
17774
|
-
:param _DestinationCidrBlock:
|
|
17774
|
+
:param _DestinationCidrBlock: <p>目的端IDC网段</p>
|
|
17775
17775
|
:type DestinationCidrBlock: str
|
|
17776
|
-
:param _Priority:
|
|
17776
|
+
:param _Priority: <p>优先级;可选值0,100。</p>
|
|
17777
17777
|
:type Priority: int
|
|
17778
|
+
:param _Description: <p>路由备注;可选值</p>
|
|
17779
|
+
:type Description: str
|
|
17778
17780
|
"""
|
|
17779
17781
|
self._DestinationCidrBlock = None
|
|
17780
17782
|
self._Priority = None
|
|
17783
|
+
self._Description = None
|
|
17781
17784
|
|
|
17782
17785
|
@property
|
|
17783
17786
|
def DestinationCidrBlock(self):
|
|
17784
|
-
r"""
|
|
17787
|
+
r"""<p>目的端IDC网段</p>
|
|
17785
17788
|
:rtype: str
|
|
17786
17789
|
"""
|
|
17787
17790
|
return self._DestinationCidrBlock
|
|
@@ -17792,7 +17795,7 @@ class CreateVpnConnRoute(AbstractModel):
|
|
|
17792
17795
|
|
|
17793
17796
|
@property
|
|
17794
17797
|
def Priority(self):
|
|
17795
|
-
r"""
|
|
17798
|
+
r"""<p>优先级;可选值0,100。</p>
|
|
17796
17799
|
:rtype: int
|
|
17797
17800
|
"""
|
|
17798
17801
|
return self._Priority
|
|
@@ -17801,10 +17804,22 @@ class CreateVpnConnRoute(AbstractModel):
|
|
|
17801
17804
|
def Priority(self, Priority):
|
|
17802
17805
|
self._Priority = Priority
|
|
17803
17806
|
|
|
17807
|
+
@property
|
|
17808
|
+
def Description(self):
|
|
17809
|
+
r"""<p>路由备注;可选值</p>
|
|
17810
|
+
:rtype: str
|
|
17811
|
+
"""
|
|
17812
|
+
return self._Description
|
|
17813
|
+
|
|
17814
|
+
@Description.setter
|
|
17815
|
+
def Description(self, Description):
|
|
17816
|
+
self._Description = Description
|
|
17817
|
+
|
|
17804
17818
|
|
|
17805
17819
|
def _deserialize(self, params):
|
|
17806
17820
|
self._DestinationCidrBlock = params.get("DestinationCidrBlock")
|
|
17807
17821
|
self._Priority = params.get("Priority")
|
|
17822
|
+
self._Description = params.get("Description")
|
|
17808
17823
|
memeber_set = set(params.keys())
|
|
17809
17824
|
for name, value in vars(self).items():
|
|
17810
17825
|
property_name = name[1:]
|
|
@@ -18210,27 +18225,27 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18210
18225
|
|
|
18211
18226
|
def __init__(self):
|
|
18212
18227
|
r"""
|
|
18213
|
-
:param _VpcId: VPC实例ID
|
|
18228
|
+
:param _VpcId: <p>VPC实例ID。可通过<a href="https://cloud.tencent.com/document/product/215/15778">DescribeVpcs</a>。接口返回值中的VpcId获取</p><p>入参限制:当Type为CCN/SSL_CCN 类型时传 "",IPSEC/SSL 类型必须传对应VPC实例ID。</p>
|
|
18214
18229
|
:type VpcId: str
|
|
18215
|
-
:param _VpnGatewayName: VPN网关名称,最大长度不能超过60
|
|
18230
|
+
:param _VpnGatewayName: <p>VPN网关名称,最大长度不能超过60个字节。</p>
|
|
18216
18231
|
:type VpnGatewayName: str
|
|
18217
|
-
:param _InternetMaxBandwidthOut:
|
|
18232
|
+
:param _InternetMaxBandwidthOut: <p>公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000, 3000;单位:Mbps。</p>
|
|
18218
18233
|
:type InternetMaxBandwidthOut: int
|
|
18219
|
-
:param _InstanceChargeType: VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid
|
|
18234
|
+
:param _InstanceChargeType: <p>VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。</p>
|
|
18220
18235
|
:type InstanceChargeType: str
|
|
18221
|
-
:param _InstanceChargePrepaid:
|
|
18236
|
+
:param _InstanceChargePrepaid: <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。</p>
|
|
18222
18237
|
:type InstanceChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
|
|
18223
|
-
:param _Zone:
|
|
18238
|
+
:param _Zone: <p>可用区,如:ap-guangzhou-2。</p>
|
|
18224
18239
|
:type Zone: str
|
|
18225
|
-
:param _Type: VPN网关类型,默认为IPSEC。值“IPSEC”为VPC型IPSEC VPN网关,值“SSL”为VPC型SSL VPN网关,值“CCN”为云联网型IPSEC VPN网关,值“SSL_CCN”为云联网型SSL VPN
|
|
18240
|
+
:param _Type: <p>VPN网关类型,默认为IPSEC。值“IPSEC”为VPC型IPSEC VPN网关,值“SSL”为VPC型SSL VPN网关,值“CCN”为云联网型IPSEC VPN网关,值“SSL_CCN”为云联网型SSL VPN网关。</p>
|
|
18226
18241
|
:type Type: str
|
|
18227
|
-
:param _Tags:
|
|
18242
|
+
:param _Tags: <p>指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。</p>
|
|
18228
18243
|
:type Tags: list of Tag
|
|
18229
|
-
:param _CdcId: CDC实例ID
|
|
18244
|
+
:param _CdcId: <p>CDC实例ID。</p>
|
|
18230
18245
|
:type CdcId: str
|
|
18231
|
-
:param _MaxConnection: SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000
|
|
18246
|
+
:param _MaxConnection: <p>SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000;</p><p>单位:个</p><p>默认值:5</p><p>仅 SSL / SSL_CCN 类型需要填这个参数。</p>
|
|
18232
18247
|
:type MaxConnection: int
|
|
18233
|
-
:param _BgpAsn: BGP ASN
|
|
18248
|
+
:param _BgpAsn: <p>BGP ASN。</p>
|
|
18234
18249
|
:type BgpAsn: int
|
|
18235
18250
|
"""
|
|
18236
18251
|
self._VpcId = None
|
|
@@ -18247,7 +18262,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18247
18262
|
|
|
18248
18263
|
@property
|
|
18249
18264
|
def VpcId(self):
|
|
18250
|
-
r"""VPC实例ID
|
|
18265
|
+
r"""<p>VPC实例ID。可通过<a href="https://cloud.tencent.com/document/product/215/15778">DescribeVpcs</a>。接口返回值中的VpcId获取</p><p>入参限制:当Type为CCN/SSL_CCN 类型时传 "",IPSEC/SSL 类型必须传对应VPC实例ID。</p>
|
|
18251
18266
|
:rtype: str
|
|
18252
18267
|
"""
|
|
18253
18268
|
return self._VpcId
|
|
@@ -18258,7 +18273,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18258
18273
|
|
|
18259
18274
|
@property
|
|
18260
18275
|
def VpnGatewayName(self):
|
|
18261
|
-
r"""VPN网关名称,最大长度不能超过60
|
|
18276
|
+
r"""<p>VPN网关名称,最大长度不能超过60个字节。</p>
|
|
18262
18277
|
:rtype: str
|
|
18263
18278
|
"""
|
|
18264
18279
|
return self._VpnGatewayName
|
|
@@ -18269,7 +18284,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18269
18284
|
|
|
18270
18285
|
@property
|
|
18271
18286
|
def InternetMaxBandwidthOut(self):
|
|
18272
|
-
r"""
|
|
18287
|
+
r"""<p>公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000, 3000;单位:Mbps。</p>
|
|
18273
18288
|
:rtype: int
|
|
18274
18289
|
"""
|
|
18275
18290
|
return self._InternetMaxBandwidthOut
|
|
@@ -18280,7 +18295,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18280
18295
|
|
|
18281
18296
|
@property
|
|
18282
18297
|
def InstanceChargeType(self):
|
|
18283
|
-
r"""VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid
|
|
18298
|
+
r"""<p>VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。</p>
|
|
18284
18299
|
:rtype: str
|
|
18285
18300
|
"""
|
|
18286
18301
|
return self._InstanceChargeType
|
|
@@ -18291,7 +18306,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18291
18306
|
|
|
18292
18307
|
@property
|
|
18293
18308
|
def InstanceChargePrepaid(self):
|
|
18294
|
-
r"""
|
|
18309
|
+
r"""<p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。</p>
|
|
18295
18310
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
|
|
18296
18311
|
"""
|
|
18297
18312
|
return self._InstanceChargePrepaid
|
|
@@ -18302,7 +18317,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18302
18317
|
|
|
18303
18318
|
@property
|
|
18304
18319
|
def Zone(self):
|
|
18305
|
-
r"""
|
|
18320
|
+
r"""<p>可用区,如:ap-guangzhou-2。</p>
|
|
18306
18321
|
:rtype: str
|
|
18307
18322
|
"""
|
|
18308
18323
|
return self._Zone
|
|
@@ -18313,7 +18328,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18313
18328
|
|
|
18314
18329
|
@property
|
|
18315
18330
|
def Type(self):
|
|
18316
|
-
r"""VPN网关类型,默认为IPSEC。值“IPSEC”为VPC型IPSEC VPN网关,值“SSL”为VPC型SSL VPN网关,值“CCN”为云联网型IPSEC VPN网关,值“SSL_CCN”为云联网型SSL VPN
|
|
18331
|
+
r"""<p>VPN网关类型,默认为IPSEC。值“IPSEC”为VPC型IPSEC VPN网关,值“SSL”为VPC型SSL VPN网关,值“CCN”为云联网型IPSEC VPN网关,值“SSL_CCN”为云联网型SSL VPN网关。</p>
|
|
18317
18332
|
:rtype: str
|
|
18318
18333
|
"""
|
|
18319
18334
|
return self._Type
|
|
@@ -18324,7 +18339,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18324
18339
|
|
|
18325
18340
|
@property
|
|
18326
18341
|
def Tags(self):
|
|
18327
|
-
r"""
|
|
18342
|
+
r"""<p>指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。</p>
|
|
18328
18343
|
:rtype: list of Tag
|
|
18329
18344
|
"""
|
|
18330
18345
|
return self._Tags
|
|
@@ -18335,7 +18350,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18335
18350
|
|
|
18336
18351
|
@property
|
|
18337
18352
|
def CdcId(self):
|
|
18338
|
-
r"""CDC实例ID
|
|
18353
|
+
r"""<p>CDC实例ID。</p>
|
|
18339
18354
|
:rtype: str
|
|
18340
18355
|
"""
|
|
18341
18356
|
return self._CdcId
|
|
@@ -18346,7 +18361,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18346
18361
|
|
|
18347
18362
|
@property
|
|
18348
18363
|
def MaxConnection(self):
|
|
18349
|
-
r"""SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000
|
|
18364
|
+
r"""<p>SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000;</p><p>单位:个</p><p>默认值:5</p><p>仅 SSL / SSL_CCN 类型需要填这个参数。</p>
|
|
18350
18365
|
:rtype: int
|
|
18351
18366
|
"""
|
|
18352
18367
|
return self._MaxConnection
|
|
@@ -18357,7 +18372,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
18357
18372
|
|
|
18358
18373
|
@property
|
|
18359
18374
|
def BgpAsn(self):
|
|
18360
|
-
r"""BGP ASN
|
|
18375
|
+
r"""<p>BGP ASN。</p>
|
|
18361
18376
|
:rtype: int
|
|
18362
18377
|
"""
|
|
18363
18378
|
return self._BgpAsn
|
|
@@ -18403,7 +18418,7 @@ class CreateVpnGatewayResponse(AbstractModel):
|
|
|
18403
18418
|
|
|
18404
18419
|
def __init__(self):
|
|
18405
18420
|
r"""
|
|
18406
|
-
:param _VpnGateway: VPN
|
|
18421
|
+
:param _VpnGateway: <p>VPN网关对象</p>
|
|
18407
18422
|
:type VpnGateway: :class:`tencentcloud.vpc.v20170312.models.VpnGateway`
|
|
18408
18423
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18409
18424
|
:type RequestId: str
|
|
@@ -18413,7 +18428,7 @@ class CreateVpnGatewayResponse(AbstractModel):
|
|
|
18413
18428
|
|
|
18414
18429
|
@property
|
|
18415
18430
|
def VpnGateway(self):
|
|
18416
|
-
r"""VPN
|
|
18431
|
+
r"""<p>VPN网关对象</p>
|
|
18417
18432
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.VpnGateway`
|
|
18418
18433
|
"""
|
|
18419
18434
|
return self._VpnGateway
|
|
@@ -47880,9 +47895,9 @@ class IKEOptionsSpecification(AbstractModel):
|
|
|
47880
47895
|
:type RemoteFqdnName: str
|
|
47881
47896
|
:param _DhGroupName: <p>DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP15', 'GROUP16', 'GROUP19', 'GROUP20', 'GROUP21', 'GROUP24',默认是GROUP1。</p>
|
|
47882
47897
|
:type DhGroupName: str
|
|
47883
|
-
:param _IKESaLifetimeSeconds: <p>IKE SA Lifetime,单位:秒,设置IKE SA
|
|
47898
|
+
:param _IKESaLifetimeSeconds: <p>IKE SA Lifetime,单位:秒,设置IKE SA的生存周期</p><p>取值范围:[60, 604800]</p><p>默认值:86400</p>
|
|
47884
47899
|
:type IKESaLifetimeSeconds: int
|
|
47885
|
-
:param _IKEVersion: <p>IKE版本</p>
|
|
47900
|
+
:param _IKEVersion: <p>IKE版本</p><p>枚举值:</p><ul><li>IKEV1: IKEV1版本</li><li>IKEV2: IKEV2版本</li></ul><p>默认值:IKEV1</p>
|
|
47886
47901
|
:type IKEVersion: str
|
|
47887
47902
|
"""
|
|
47888
47903
|
self._PropoEncryAlgorithm = None
|
|
@@ -48010,7 +48025,7 @@ class IKEOptionsSpecification(AbstractModel):
|
|
|
48010
48025
|
|
|
48011
48026
|
@property
|
|
48012
48027
|
def IKESaLifetimeSeconds(self):
|
|
48013
|
-
r"""<p>IKE SA Lifetime,单位:秒,设置IKE SA
|
|
48028
|
+
r"""<p>IKE SA Lifetime,单位:秒,设置IKE SA的生存周期</p><p>取值范围:[60, 604800]</p><p>默认值:86400</p>
|
|
48014
48029
|
:rtype: int
|
|
48015
48030
|
"""
|
|
48016
48031
|
return self._IKESaLifetimeSeconds
|
|
@@ -48021,7 +48036,7 @@ class IKEOptionsSpecification(AbstractModel):
|
|
|
48021
48036
|
|
|
48022
48037
|
@property
|
|
48023
48038
|
def IKEVersion(self):
|
|
48024
|
-
r"""<p>IKE版本</p>
|
|
48039
|
+
r"""<p>IKE版本</p><p>枚举值:</p><ul><li>IKEV1: IKEV1版本</li><li>IKEV2: IKEV2版本</li></ul><p>默认值:IKEV1</p>
|
|
48025
48040
|
:rtype: str
|
|
48026
48041
|
"""
|
|
48027
48042
|
return self._IKEVersion
|
|
@@ -48061,9 +48076,9 @@ class IPSECOptionsSpecification(AbstractModel):
|
|
|
48061
48076
|
|
|
48062
48077
|
def __init__(self):
|
|
48063
48078
|
r"""
|
|
48064
|
-
:param _EncryptAlgorithm: <p>加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL'
|
|
48079
|
+
:param _EncryptAlgorithm: <p>加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL'</p><p>默认值:AES-CBC-128</p>
|
|
48065
48080
|
:type EncryptAlgorithm: str
|
|
48066
|
-
:param _IntegrityAlgorith: <p>认证算法:可选值:'MD5', 'SHA1'
|
|
48081
|
+
:param _IntegrityAlgorith: <p>认证算法:可选值:'MD5', 'SHA1', 'SHA-256', 'SHA-512', 'SHA-384', 'SM3'</p><p>默认值:SHA1</p>
|
|
48067
48082
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48068
48083
|
:type IntegrityAlgorith: str
|
|
48069
48084
|
:param _IPSECSaLifetimeSeconds: <p>IPsec SA lifetime(s)</p><p>取值范围:[180, 604800]</p><p>单位:秒</p><p>默认值:14400</p>
|
|
@@ -48084,7 +48099,7 @@ class IPSECOptionsSpecification(AbstractModel):
|
|
|
48084
48099
|
|
|
48085
48100
|
@property
|
|
48086
48101
|
def EncryptAlgorithm(self):
|
|
48087
|
-
r"""<p>加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL'
|
|
48102
|
+
r"""<p>加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL'</p><p>默认值:AES-CBC-128</p>
|
|
48088
48103
|
:rtype: str
|
|
48089
48104
|
"""
|
|
48090
48105
|
return self._EncryptAlgorithm
|
|
@@ -48097,7 +48112,7 @@ class IPSECOptionsSpecification(AbstractModel):
|
|
|
48097
48112
|
def IntegrityAlgorith(self):
|
|
48098
48113
|
warnings.warn("parameter `IntegrityAlgorith` is deprecated", DeprecationWarning)
|
|
48099
48114
|
|
|
48100
|
-
r"""<p>认证算法:可选值:'MD5', 'SHA1'
|
|
48115
|
+
r"""<p>认证算法:可选值:'MD5', 'SHA1', 'SHA-256', 'SHA-512', 'SHA-384', 'SM3'</p><p>默认值:SHA1</p>
|
|
48101
48116
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48102
48117
|
:rtype: str
|
|
48103
48118
|
"""
|
|
@@ -58196,37 +58211,37 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58196
58211
|
|
|
58197
58212
|
def __init__(self):
|
|
58198
58213
|
r"""
|
|
58199
|
-
:param _VpnConnectionId: VPN通道实例ID。形如:vpnx-f49l6u0z
|
|
58214
|
+
:param _VpnConnectionId: <p>VPN通道实例ID。形如:vpnx-f49l6u0z。</p>
|
|
58200
58215
|
:type VpnConnectionId: str
|
|
58201
|
-
:param _VpnConnectionName: VPN通道名称,可任意命名,但不得超过60
|
|
58216
|
+
:param _VpnConnectionName: <p>VPN通道名称,可任意命名,但不得超过60个字符。</p>
|
|
58202
58217
|
:type VpnConnectionName: str
|
|
58203
|
-
:param _PreShareKey:
|
|
58218
|
+
:param _PreShareKey: <p>预共享密钥。</p>
|
|
58204
58219
|
:type PreShareKey: str
|
|
58205
|
-
:param _SecurityPolicyDatabases: SPD策略组,例如:{
|
|
58220
|
+
:param _SecurityPolicyDatabases: <p>SPD策略组,例如:{"10.0.0.5/24":["172.123.10.5/16"]},10.0.0.5/24是vpc内网段,172.123.10.5/16是IDC网段。用户指定VPC内哪些网段可以和您IDC中哪些网段通信。</p>
|
|
58206
58221
|
:type SecurityPolicyDatabases: list of SecurityPolicyDatabase
|
|
58207
|
-
:param _IKEOptionsSpecification: IKE配置(Internet Key Exchange,因特网密钥交换),IKE
|
|
58222
|
+
:param _IKEOptionsSpecification: <p>IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议。</p>
|
|
58208
58223
|
:type IKEOptionsSpecification: :class:`tencentcloud.vpc.v20170312.models.IKEOptionsSpecification`
|
|
58209
|
-
:param _IPSECOptionsSpecification: IPSec配置,腾讯云提供IPSec
|
|
58224
|
+
:param _IPSECOptionsSpecification: <p>IPSec配置,腾讯云提供IPSec安全会话设置。</p>
|
|
58210
58225
|
:type IPSECOptionsSpecification: :class:`tencentcloud.vpc.v20170312.models.IPSECOptionsSpecification`
|
|
58211
|
-
:param _EnableHealthCheck:
|
|
58226
|
+
:param _EnableHealthCheck: <p>是否启用通道健康检查,默认为False。</p>
|
|
58212
58227
|
:type EnableHealthCheck: bool
|
|
58213
|
-
:param _HealthCheckLocalIp:
|
|
58228
|
+
:param _HealthCheckLocalIp: <p>本端通道探测IP。</p>
|
|
58214
58229
|
:type HealthCheckLocalIp: str
|
|
58215
|
-
:param _HealthCheckRemoteIp:
|
|
58230
|
+
:param _HealthCheckRemoteIp: <p>对端通道探测IP。</p>
|
|
58216
58231
|
:type HealthCheckRemoteIp: str
|
|
58217
|
-
:param _NegotiationType:
|
|
58232
|
+
:param _NegotiationType: <p>协商类型,默认为active(主动协商)。可选值:active(主动协商),passive(被动协商),flowTrigger(流量协商)</p>
|
|
58218
58233
|
:type NegotiationType: str
|
|
58219
|
-
:param _DpdEnable: DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1
|
|
58234
|
+
:param _DpdEnable: <p>DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)</p>
|
|
58220
58235
|
:type DpdEnable: int
|
|
58221
|
-
:param _DpdTimeout: DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30
|
|
58236
|
+
:param _DpdTimeout: <p>DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30,单位为秒</p>
|
|
58222
58237
|
:type DpdTimeout: str
|
|
58223
|
-
:param _DpdAction: DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart
|
|
58238
|
+
:param _DpdAction: <p>DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)</p><p>默认值:restart</p>
|
|
58224
58239
|
:type DpdAction: str
|
|
58225
|
-
:param _CustomerGatewayId:
|
|
58240
|
+
:param _CustomerGatewayId: <p>对端网关ID,4.0及以上网关下的通道支持更新。</p>
|
|
58226
58241
|
:type CustomerGatewayId: str
|
|
58227
|
-
:param _HealthCheckConfig:
|
|
58242
|
+
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
58228
58243
|
:type HealthCheckConfig: :class:`tencentcloud.vpc.v20170312.models.HealthCheckConfig`
|
|
58229
|
-
:param _BgpConfig: BGP
|
|
58244
|
+
:param _BgpConfig: <p>BGP隧道配置</p>
|
|
58230
58245
|
:type BgpConfig: :class:`tencentcloud.vpc.v20170312.models.BgpConfig`
|
|
58231
58246
|
"""
|
|
58232
58247
|
self._VpnConnectionId = None
|
|
@@ -58248,7 +58263,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58248
58263
|
|
|
58249
58264
|
@property
|
|
58250
58265
|
def VpnConnectionId(self):
|
|
58251
|
-
r"""VPN通道实例ID。形如:vpnx-f49l6u0z
|
|
58266
|
+
r"""<p>VPN通道实例ID。形如:vpnx-f49l6u0z。</p>
|
|
58252
58267
|
:rtype: str
|
|
58253
58268
|
"""
|
|
58254
58269
|
return self._VpnConnectionId
|
|
@@ -58259,7 +58274,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58259
58274
|
|
|
58260
58275
|
@property
|
|
58261
58276
|
def VpnConnectionName(self):
|
|
58262
|
-
r"""VPN通道名称,可任意命名,但不得超过60
|
|
58277
|
+
r"""<p>VPN通道名称,可任意命名,但不得超过60个字符。</p>
|
|
58263
58278
|
:rtype: str
|
|
58264
58279
|
"""
|
|
58265
58280
|
return self._VpnConnectionName
|
|
@@ -58270,7 +58285,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58270
58285
|
|
|
58271
58286
|
@property
|
|
58272
58287
|
def PreShareKey(self):
|
|
58273
|
-
r"""
|
|
58288
|
+
r"""<p>预共享密钥。</p>
|
|
58274
58289
|
:rtype: str
|
|
58275
58290
|
"""
|
|
58276
58291
|
return self._PreShareKey
|
|
@@ -58281,7 +58296,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58281
58296
|
|
|
58282
58297
|
@property
|
|
58283
58298
|
def SecurityPolicyDatabases(self):
|
|
58284
|
-
r"""SPD策略组,例如:{
|
|
58299
|
+
r"""<p>SPD策略组,例如:{"10.0.0.5/24":["172.123.10.5/16"]},10.0.0.5/24是vpc内网段,172.123.10.5/16是IDC网段。用户指定VPC内哪些网段可以和您IDC中哪些网段通信。</p>
|
|
58285
58300
|
:rtype: list of SecurityPolicyDatabase
|
|
58286
58301
|
"""
|
|
58287
58302
|
return self._SecurityPolicyDatabases
|
|
@@ -58292,7 +58307,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58292
58307
|
|
|
58293
58308
|
@property
|
|
58294
58309
|
def IKEOptionsSpecification(self):
|
|
58295
|
-
r"""IKE配置(Internet Key Exchange,因特网密钥交换),IKE
|
|
58310
|
+
r"""<p>IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议。</p>
|
|
58296
58311
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.IKEOptionsSpecification`
|
|
58297
58312
|
"""
|
|
58298
58313
|
return self._IKEOptionsSpecification
|
|
@@ -58303,7 +58318,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58303
58318
|
|
|
58304
58319
|
@property
|
|
58305
58320
|
def IPSECOptionsSpecification(self):
|
|
58306
|
-
r"""IPSec配置,腾讯云提供IPSec
|
|
58321
|
+
r"""<p>IPSec配置,腾讯云提供IPSec安全会话设置。</p>
|
|
58307
58322
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.IPSECOptionsSpecification`
|
|
58308
58323
|
"""
|
|
58309
58324
|
return self._IPSECOptionsSpecification
|
|
@@ -58314,7 +58329,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58314
58329
|
|
|
58315
58330
|
@property
|
|
58316
58331
|
def EnableHealthCheck(self):
|
|
58317
|
-
r"""
|
|
58332
|
+
r"""<p>是否启用通道健康检查,默认为False。</p>
|
|
58318
58333
|
:rtype: bool
|
|
58319
58334
|
"""
|
|
58320
58335
|
return self._EnableHealthCheck
|
|
@@ -58325,7 +58340,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58325
58340
|
|
|
58326
58341
|
@property
|
|
58327
58342
|
def HealthCheckLocalIp(self):
|
|
58328
|
-
r"""
|
|
58343
|
+
r"""<p>本端通道探测IP。</p>
|
|
58329
58344
|
:rtype: str
|
|
58330
58345
|
"""
|
|
58331
58346
|
return self._HealthCheckLocalIp
|
|
@@ -58336,7 +58351,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58336
58351
|
|
|
58337
58352
|
@property
|
|
58338
58353
|
def HealthCheckRemoteIp(self):
|
|
58339
|
-
r"""
|
|
58354
|
+
r"""<p>对端通道探测IP。</p>
|
|
58340
58355
|
:rtype: str
|
|
58341
58356
|
"""
|
|
58342
58357
|
return self._HealthCheckRemoteIp
|
|
@@ -58347,7 +58362,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58347
58362
|
|
|
58348
58363
|
@property
|
|
58349
58364
|
def NegotiationType(self):
|
|
58350
|
-
r"""
|
|
58365
|
+
r"""<p>协商类型,默认为active(主动协商)。可选值:active(主动协商),passive(被动协商),flowTrigger(流量协商)</p>
|
|
58351
58366
|
:rtype: str
|
|
58352
58367
|
"""
|
|
58353
58368
|
return self._NegotiationType
|
|
@@ -58358,7 +58373,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58358
58373
|
|
|
58359
58374
|
@property
|
|
58360
58375
|
def DpdEnable(self):
|
|
58361
|
-
r"""DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1
|
|
58376
|
+
r"""<p>DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)</p>
|
|
58362
58377
|
:rtype: int
|
|
58363
58378
|
"""
|
|
58364
58379
|
return self._DpdEnable
|
|
@@ -58369,7 +58384,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58369
58384
|
|
|
58370
58385
|
@property
|
|
58371
58386
|
def DpdTimeout(self):
|
|
58372
|
-
r"""DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30
|
|
58387
|
+
r"""<p>DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30,单位为秒</p>
|
|
58373
58388
|
:rtype: str
|
|
58374
58389
|
"""
|
|
58375
58390
|
return self._DpdTimeout
|
|
@@ -58380,7 +58395,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58380
58395
|
|
|
58381
58396
|
@property
|
|
58382
58397
|
def DpdAction(self):
|
|
58383
|
-
r"""DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart
|
|
58398
|
+
r"""<p>DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)</p><p>默认值:restart</p>
|
|
58384
58399
|
:rtype: str
|
|
58385
58400
|
"""
|
|
58386
58401
|
return self._DpdAction
|
|
@@ -58391,7 +58406,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58391
58406
|
|
|
58392
58407
|
@property
|
|
58393
58408
|
def CustomerGatewayId(self):
|
|
58394
|
-
r"""
|
|
58409
|
+
r"""<p>对端网关ID,4.0及以上网关下的通道支持更新。</p>
|
|
58395
58410
|
:rtype: str
|
|
58396
58411
|
"""
|
|
58397
58412
|
return self._CustomerGatewayId
|
|
@@ -58402,7 +58417,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58402
58417
|
|
|
58403
58418
|
@property
|
|
58404
58419
|
def HealthCheckConfig(self):
|
|
58405
|
-
r"""
|
|
58420
|
+
r"""<p>健康检查配置</p>
|
|
58406
58421
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.HealthCheckConfig`
|
|
58407
58422
|
"""
|
|
58408
58423
|
return self._HealthCheckConfig
|
|
@@ -58413,7 +58428,7 @@ class ModifyVpnConnectionAttributeRequest(AbstractModel):
|
|
|
58413
58428
|
|
|
58414
58429
|
@property
|
|
58415
58430
|
def BgpConfig(self):
|
|
58416
|
-
r"""BGP
|
|
58431
|
+
r"""<p>BGP隧道配置</p>
|
|
58417
58432
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.BgpConfig`
|
|
58418
58433
|
"""
|
|
58419
58434
|
return self._BgpConfig
|
|
@@ -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.147
|
|
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.147
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=arbc4f5VWJg3RfywXnaI-rbir9x5quNRD31lC62VYD8,630
|
|
2
|
+
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/vpc/v20170312/errorcodes.py,sha256=lTe5noOSli_22pi0W9t12nB-jR7uqwOfrvhuawBYmOs,71344
|
|
5
|
+
tencentcloud/vpc/v20170312/models.py,sha256=FI_6THDN4u7Fpg209q3-oCuhFBJwcEQUrJCnmQXWndo,2585177
|
|
6
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=ZEZGoUmPZ3Ei2O5zCyj3ufI7L8IVkCTibVvkQyqEKIo,484664
|
|
7
|
+
tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=he3eKQkun3mJgvQqU8nJv-PvjQJW8t_d_IMMBfVnSVo,346837
|
|
8
|
+
tencentcloud_sdk_python_vpc-3.1.147.dist-info/METADATA,sha256=7lhbDJY3gia5RmmTTJ_Ih6hIl9Sowc9HXO5_jS6hmHI,1497
|
|
9
|
+
tencentcloud_sdk_python_vpc-3.1.147.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_vpc-3.1.147.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_vpc-3.1.147.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=v0ahGPNe8xEQW1cJNqXHTX1XCkzUd8iR4_TYEN6_cwE,630
|
|
2
|
-
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/vpc/v20170312/errorcodes.py,sha256=7ciVO3YG544LvalZQS0EhTYUDavv0KIYSFd4r4q6ZRs,71191
|
|
5
|
-
tencentcloud/vpc/v20170312/models.py,sha256=SAUI0IPQZex0icvDnfe0ip3DePB6GOR9v0eZ19H9rnI,2583408
|
|
6
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=ZEZGoUmPZ3Ei2O5zCyj3ufI7L8IVkCTibVvkQyqEKIo,484664
|
|
7
|
-
tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=he3eKQkun3mJgvQqU8nJv-PvjQJW8t_d_IMMBfVnSVo,346837
|
|
8
|
-
tencentcloud_sdk_python_vpc-3.1.140.dist-info/METADATA,sha256=5qOTAEgQ4czXuBULydvFkUDagm_zTj0-y68S4Dw1Qbk,1497
|
|
9
|
-
tencentcloud_sdk_python_vpc-3.1.140.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_vpc-3.1.140.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_vpc-3.1.140.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|