tencentcloud-sdk-python-intl-en 3.0.1291__py2.py3-none-any.whl → 3.0.1293__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.

@@ -9230,6 +9230,275 @@ class CreateReserveIpAddressesResponse(AbstractModel):
9230
9230
  self._RequestId = params.get("RequestId")
9231
9231
 
9232
9232
 
9233
+ class CreateRoutePolicyAssociationsRequest(AbstractModel):
9234
+ r"""CreateRoutePolicyAssociations request structure.
9235
+
9236
+ """
9237
+
9238
+ def __init__(self):
9239
+ r"""
9240
+ :param _RoutePolicyAssociationSet: Route reception policy binding object list.
9241
+ :type RoutePolicyAssociationSet: list of RoutePolicyAssociation
9242
+ """
9243
+ self._RoutePolicyAssociationSet = None
9244
+
9245
+ @property
9246
+ def RoutePolicyAssociationSet(self):
9247
+ r"""Route reception policy binding object list.
9248
+ :rtype: list of RoutePolicyAssociation
9249
+ """
9250
+ return self._RoutePolicyAssociationSet
9251
+
9252
+ @RoutePolicyAssociationSet.setter
9253
+ def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
9254
+ self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
9255
+
9256
+
9257
+ def _deserialize(self, params):
9258
+ if params.get("RoutePolicyAssociationSet") is not None:
9259
+ self._RoutePolicyAssociationSet = []
9260
+ for item in params.get("RoutePolicyAssociationSet"):
9261
+ obj = RoutePolicyAssociation()
9262
+ obj._deserialize(item)
9263
+ self._RoutePolicyAssociationSet.append(obj)
9264
+ memeber_set = set(params.keys())
9265
+ for name, value in vars(self).items():
9266
+ property_name = name[1:]
9267
+ if property_name in memeber_set:
9268
+ memeber_set.remove(property_name)
9269
+ if len(memeber_set) > 0:
9270
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9271
+
9272
+
9273
+
9274
+ class CreateRoutePolicyAssociationsResponse(AbstractModel):
9275
+ r"""CreateRoutePolicyAssociations response structure.
9276
+
9277
+ """
9278
+
9279
+ def __init__(self):
9280
+ r"""
9281
+ :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.
9282
+ :type RequestId: str
9283
+ """
9284
+ self._RequestId = None
9285
+
9286
+ @property
9287
+ def RequestId(self):
9288
+ r"""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.
9289
+ :rtype: str
9290
+ """
9291
+ return self._RequestId
9292
+
9293
+ @RequestId.setter
9294
+ def RequestId(self, RequestId):
9295
+ self._RequestId = RequestId
9296
+
9297
+
9298
+ def _deserialize(self, params):
9299
+ self._RequestId = params.get("RequestId")
9300
+
9301
+
9302
+ class CreateRoutePolicyEntriesRequest(AbstractModel):
9303
+ r"""CreateRoutePolicyEntries request structure.
9304
+
9305
+ """
9306
+
9307
+ def __init__(self):
9308
+ r"""
9309
+ :param _RoutePolicyId: Specifies the instance ID of the route reception policy.
9310
+ :type RoutePolicyId: str
9311
+ :param _RoutePolicyEntrySet: Route reception policy entry list.
9312
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
9313
+ """
9314
+ self._RoutePolicyId = None
9315
+ self._RoutePolicyEntrySet = None
9316
+
9317
+ @property
9318
+ def RoutePolicyId(self):
9319
+ r"""Specifies the instance ID of the route reception policy.
9320
+ :rtype: str
9321
+ """
9322
+ return self._RoutePolicyId
9323
+
9324
+ @RoutePolicyId.setter
9325
+ def RoutePolicyId(self, RoutePolicyId):
9326
+ self._RoutePolicyId = RoutePolicyId
9327
+
9328
+ @property
9329
+ def RoutePolicyEntrySet(self):
9330
+ r"""Route reception policy entry list.
9331
+ :rtype: list of RoutePolicyEntry
9332
+ """
9333
+ return self._RoutePolicyEntrySet
9334
+
9335
+ @RoutePolicyEntrySet.setter
9336
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
9337
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
9338
+
9339
+
9340
+ def _deserialize(self, params):
9341
+ self._RoutePolicyId = params.get("RoutePolicyId")
9342
+ if params.get("RoutePolicyEntrySet") is not None:
9343
+ self._RoutePolicyEntrySet = []
9344
+ for item in params.get("RoutePolicyEntrySet"):
9345
+ obj = RoutePolicyEntry()
9346
+ obj._deserialize(item)
9347
+ self._RoutePolicyEntrySet.append(obj)
9348
+ memeber_set = set(params.keys())
9349
+ for name, value in vars(self).items():
9350
+ property_name = name[1:]
9351
+ if property_name in memeber_set:
9352
+ memeber_set.remove(property_name)
9353
+ if len(memeber_set) > 0:
9354
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9355
+
9356
+
9357
+
9358
+ class CreateRoutePolicyEntriesResponse(AbstractModel):
9359
+ r"""CreateRoutePolicyEntries response structure.
9360
+
9361
+ """
9362
+
9363
+ def __init__(self):
9364
+ r"""
9365
+ :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.
9366
+ :type RequestId: str
9367
+ """
9368
+ self._RequestId = None
9369
+
9370
+ @property
9371
+ def RequestId(self):
9372
+ r"""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.
9373
+ :rtype: str
9374
+ """
9375
+ return self._RequestId
9376
+
9377
+ @RequestId.setter
9378
+ def RequestId(self, RequestId):
9379
+ self._RequestId = RequestId
9380
+
9381
+
9382
+ def _deserialize(self, params):
9383
+ self._RequestId = params.get("RequestId")
9384
+
9385
+
9386
+ class CreateRoutePolicyRequest(AbstractModel):
9387
+ r"""CreateRoutePolicy request structure.
9388
+
9389
+ """
9390
+
9391
+ def __init__(self):
9392
+ r"""
9393
+ :param _RoutePolicyDescription: Routing policy description.
9394
+ :type RoutePolicyDescription: str
9395
+ :param _RoutePolicyName: Specifies the routing strategy name.
9396
+ :type RoutePolicyName: str
9397
+ :param _RoutePolicyEntrySet: Routing policy entry list.
9398
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
9399
+ """
9400
+ self._RoutePolicyDescription = None
9401
+ self._RoutePolicyName = None
9402
+ self._RoutePolicyEntrySet = None
9403
+
9404
+ @property
9405
+ def RoutePolicyDescription(self):
9406
+ r"""Routing policy description.
9407
+ :rtype: str
9408
+ """
9409
+ return self._RoutePolicyDescription
9410
+
9411
+ @RoutePolicyDescription.setter
9412
+ def RoutePolicyDescription(self, RoutePolicyDescription):
9413
+ self._RoutePolicyDescription = RoutePolicyDescription
9414
+
9415
+ @property
9416
+ def RoutePolicyName(self):
9417
+ r"""Specifies the routing strategy name.
9418
+ :rtype: str
9419
+ """
9420
+ return self._RoutePolicyName
9421
+
9422
+ @RoutePolicyName.setter
9423
+ def RoutePolicyName(self, RoutePolicyName):
9424
+ self._RoutePolicyName = RoutePolicyName
9425
+
9426
+ @property
9427
+ def RoutePolicyEntrySet(self):
9428
+ r"""Routing policy entry list.
9429
+ :rtype: list of RoutePolicyEntry
9430
+ """
9431
+ return self._RoutePolicyEntrySet
9432
+
9433
+ @RoutePolicyEntrySet.setter
9434
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
9435
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
9436
+
9437
+
9438
+ def _deserialize(self, params):
9439
+ self._RoutePolicyDescription = params.get("RoutePolicyDescription")
9440
+ self._RoutePolicyName = params.get("RoutePolicyName")
9441
+ if params.get("RoutePolicyEntrySet") is not None:
9442
+ self._RoutePolicyEntrySet = []
9443
+ for item in params.get("RoutePolicyEntrySet"):
9444
+ obj = RoutePolicyEntry()
9445
+ obj._deserialize(item)
9446
+ self._RoutePolicyEntrySet.append(obj)
9447
+ memeber_set = set(params.keys())
9448
+ for name, value in vars(self).items():
9449
+ property_name = name[1:]
9450
+ if property_name in memeber_set:
9451
+ memeber_set.remove(property_name)
9452
+ if len(memeber_set) > 0:
9453
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9454
+
9455
+
9456
+
9457
+ class CreateRoutePolicyResponse(AbstractModel):
9458
+ r"""CreateRoutePolicy response structure.
9459
+
9460
+ """
9461
+
9462
+ def __init__(self):
9463
+ r"""
9464
+ :param _RoutePolicy: Specifies the routing policy ID and rules.
9465
+ :type RoutePolicy: :class:`tencentcloud.vpc.v20170312.models.RoutePolicy`
9466
+ :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.
9467
+ :type RequestId: str
9468
+ """
9469
+ self._RoutePolicy = None
9470
+ self._RequestId = None
9471
+
9472
+ @property
9473
+ def RoutePolicy(self):
9474
+ r"""Specifies the routing policy ID and rules.
9475
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.RoutePolicy`
9476
+ """
9477
+ return self._RoutePolicy
9478
+
9479
+ @RoutePolicy.setter
9480
+ def RoutePolicy(self, RoutePolicy):
9481
+ self._RoutePolicy = RoutePolicy
9482
+
9483
+ @property
9484
+ def RequestId(self):
9485
+ r"""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.
9486
+ :rtype: str
9487
+ """
9488
+ return self._RequestId
9489
+
9490
+ @RequestId.setter
9491
+ def RequestId(self, RequestId):
9492
+ self._RequestId = RequestId
9493
+
9494
+
9495
+ def _deserialize(self, params):
9496
+ if params.get("RoutePolicy") is not None:
9497
+ self._RoutePolicy = RoutePolicy()
9498
+ self._RoutePolicy._deserialize(params.get("RoutePolicy"))
9499
+ self._RequestId = params.get("RequestId")
9500
+
9501
+
9233
9502
  class CreateRouteTableRequest(AbstractModel):
9234
9503
  r"""CreateRouteTable request structure.
9235
9504
 
@@ -13790,32 +14059,37 @@ class DeleteReserveIpAddressesResponse(AbstractModel):
13790
14059
  self._RequestId = params.get("RequestId")
13791
14060
 
13792
14061
 
13793
- class DeleteRouteTableRequest(AbstractModel):
13794
- r"""DeleteRouteTable request structure.
14062
+ class DeleteRoutePolicyAssociationsRequest(AbstractModel):
14063
+ r"""DeleteRoutePolicyAssociations request structure.
13795
14064
 
13796
14065
  """
13797
14066
 
13798
14067
  def __init__(self):
13799
14068
  r"""
13800
- :param _RouteTableId: The route table instance ID, such as `rtb-azd4dt1c`.
13801
- :type RouteTableId: str
14069
+ :param _RoutePolicyAssociationSet: Routing policy binding object list. during routing policy unbinding, use the RouteTableId and RoutePolicyId fields of RoutePolicyAssociation (you do not need to fill in the Priority field).
14070
+ :type RoutePolicyAssociationSet: list of RoutePolicyAssociation
13802
14071
  """
13803
- self._RouteTableId = None
14072
+ self._RoutePolicyAssociationSet = None
13804
14073
 
13805
14074
  @property
13806
- def RouteTableId(self):
13807
- r"""The route table instance ID, such as `rtb-azd4dt1c`.
13808
- :rtype: str
14075
+ def RoutePolicyAssociationSet(self):
14076
+ r"""Routing policy binding object list. during routing policy unbinding, use the RouteTableId and RoutePolicyId fields of RoutePolicyAssociation (you do not need to fill in the Priority field).
14077
+ :rtype: list of RoutePolicyAssociation
13809
14078
  """
13810
- return self._RouteTableId
14079
+ return self._RoutePolicyAssociationSet
13811
14080
 
13812
- @RouteTableId.setter
13813
- def RouteTableId(self, RouteTableId):
13814
- self._RouteTableId = RouteTableId
14081
+ @RoutePolicyAssociationSet.setter
14082
+ def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
14083
+ self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
13815
14084
 
13816
14085
 
13817
14086
  def _deserialize(self, params):
13818
- self._RouteTableId = params.get("RouteTableId")
14087
+ if params.get("RoutePolicyAssociationSet") is not None:
14088
+ self._RoutePolicyAssociationSet = []
14089
+ for item in params.get("RoutePolicyAssociationSet"):
14090
+ obj = RoutePolicyAssociation()
14091
+ obj._deserialize(item)
14092
+ self._RoutePolicyAssociationSet.append(obj)
13819
14093
  memeber_set = set(params.keys())
13820
14094
  for name, value in vars(self).items():
13821
14095
  property_name = name[1:]
@@ -13826,8 +14100,8 @@ class DeleteRouteTableRequest(AbstractModel):
13826
14100
 
13827
14101
 
13828
14102
 
13829
- class DeleteRouteTableResponse(AbstractModel):
13830
- r"""DeleteRouteTable response structure.
14103
+ class DeleteRoutePolicyAssociationsResponse(AbstractModel):
14104
+ r"""DeleteRoutePolicyAssociations response structure.
13831
14105
 
13832
14106
  """
13833
14107
 
@@ -13854,52 +14128,52 @@ class DeleteRouteTableResponse(AbstractModel):
13854
14128
  self._RequestId = params.get("RequestId")
13855
14129
 
13856
14130
 
13857
- class DeleteRoutesRequest(AbstractModel):
13858
- r"""DeleteRoutes request structure.
14131
+ class DeleteRoutePolicyEntriesRequest(AbstractModel):
14132
+ r"""DeleteRoutePolicyEntries request structure.
13859
14133
 
13860
14134
  """
13861
14135
 
13862
14136
  def __init__(self):
13863
14137
  r"""
13864
- :param _RouteTableId: Route table instance ID.
13865
- :type RouteTableId: str
13866
- :param _Routes: Routing policy object. Only the `RouteId` field is required when deleting a routing policy.
13867
- :type Routes: list of Route
14138
+ :param _RoutePolicyId: Specifies the instance ID of the route reception policy.
14139
+ :type RoutePolicyId: str
14140
+ :param _RoutePolicyEntrySet: Route reception policy entry list. when deleting a routing policy rule, use the routepolicyentryid field of RoutePolicyEntry.
14141
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
13868
14142
  """
13869
- self._RouteTableId = None
13870
- self._Routes = None
14143
+ self._RoutePolicyId = None
14144
+ self._RoutePolicyEntrySet = None
13871
14145
 
13872
14146
  @property
13873
- def RouteTableId(self):
13874
- r"""Route table instance ID.
14147
+ def RoutePolicyId(self):
14148
+ r"""Specifies the instance ID of the route reception policy.
13875
14149
  :rtype: str
13876
14150
  """
13877
- return self._RouteTableId
14151
+ return self._RoutePolicyId
13878
14152
 
13879
- @RouteTableId.setter
13880
- def RouteTableId(self, RouteTableId):
13881
- self._RouteTableId = RouteTableId
14153
+ @RoutePolicyId.setter
14154
+ def RoutePolicyId(self, RoutePolicyId):
14155
+ self._RoutePolicyId = RoutePolicyId
13882
14156
 
13883
14157
  @property
13884
- def Routes(self):
13885
- r"""Routing policy object. Only the `RouteId` field is required when deleting a routing policy.
13886
- :rtype: list of Route
14158
+ def RoutePolicyEntrySet(self):
14159
+ r"""Route reception policy entry list. when deleting a routing policy rule, use the routepolicyentryid field of RoutePolicyEntry.
14160
+ :rtype: list of RoutePolicyEntry
13887
14161
  """
13888
- return self._Routes
14162
+ return self._RoutePolicyEntrySet
13889
14163
 
13890
- @Routes.setter
13891
- def Routes(self, Routes):
13892
- self._Routes = Routes
14164
+ @RoutePolicyEntrySet.setter
14165
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
14166
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
13893
14167
 
13894
14168
 
13895
14169
  def _deserialize(self, params):
13896
- self._RouteTableId = params.get("RouteTableId")
13897
- if params.get("Routes") is not None:
13898
- self._Routes = []
13899
- for item in params.get("Routes"):
13900
- obj = Route()
14170
+ self._RoutePolicyId = params.get("RoutePolicyId")
14171
+ if params.get("RoutePolicyEntrySet") is not None:
14172
+ self._RoutePolicyEntrySet = []
14173
+ for item in params.get("RoutePolicyEntrySet"):
14174
+ obj = RoutePolicyEntry()
13901
14175
  obj._deserialize(item)
13902
- self._Routes.append(obj)
14176
+ self._RoutePolicyEntrySet.append(obj)
13903
14177
  memeber_set = set(params.keys())
13904
14178
  for name, value in vars(self).items():
13905
14179
  property_name = name[1:]
@@ -13910,32 +14184,18 @@ class DeleteRoutesRequest(AbstractModel):
13910
14184
 
13911
14185
 
13912
14186
 
13913
- class DeleteRoutesResponse(AbstractModel):
13914
- r"""DeleteRoutes response structure.
14187
+ class DeleteRoutePolicyEntriesResponse(AbstractModel):
14188
+ r"""DeleteRoutePolicyEntries response structure.
13915
14189
 
13916
14190
  """
13917
14191
 
13918
14192
  def __init__(self):
13919
14193
  r"""
13920
- :param _RouteSet: Details of the routing policy that has been deleted.
13921
- :type RouteSet: list of Route
13922
14194
  :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.
13923
14195
  :type RequestId: str
13924
14196
  """
13925
- self._RouteSet = None
13926
14197
  self._RequestId = None
13927
14198
 
13928
- @property
13929
- def RouteSet(self):
13930
- r"""Details of the routing policy that has been deleted.
13931
- :rtype: list of Route
13932
- """
13933
- return self._RouteSet
13934
-
13935
- @RouteSet.setter
13936
- def RouteSet(self, RouteSet):
13937
- self._RouteSet = RouteSet
13938
-
13939
14199
  @property
13940
14200
  def RequestId(self):
13941
14201
  r"""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.
@@ -13949,58 +14209,35 @@ class DeleteRoutesResponse(AbstractModel):
13949
14209
 
13950
14210
 
13951
14211
  def _deserialize(self, params):
13952
- if params.get("RouteSet") is not None:
13953
- self._RouteSet = []
13954
- for item in params.get("RouteSet"):
13955
- obj = Route()
13956
- obj._deserialize(item)
13957
- self._RouteSet.append(obj)
13958
14212
  self._RequestId = params.get("RequestId")
13959
14213
 
13960
14214
 
13961
- class DeleteSecurityGroupPoliciesRequest(AbstractModel):
13962
- r"""DeleteSecurityGroupPolicies request structure.
14215
+ class DeleteRoutePolicyRequest(AbstractModel):
14216
+ r"""DeleteRoutePolicy request structure.
13963
14217
 
13964
14218
  """
13965
14219
 
13966
14220
  def __init__(self):
13967
14221
  r"""
13968
- :param _SecurityGroupId: The security group instance ID, such as `sg-33ocnj9n`. This can be obtained through DescribeSecurityGroups.
13969
- :type SecurityGroupId: str
13970
- :param _SecurityGroupPolicySet: The policy set of the security group. One request can only delete one or more policies in one direction. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. Each request can use only one matching method.
13971
- :type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
14222
+ :param _RoutePolicyId: Specifies the unique ID of the route reception policy.
14223
+ :type RoutePolicyId: str
13972
14224
  """
13973
- self._SecurityGroupId = None
13974
- self._SecurityGroupPolicySet = None
14225
+ self._RoutePolicyId = None
13975
14226
 
13976
14227
  @property
13977
- def SecurityGroupId(self):
13978
- r"""The security group instance ID, such as `sg-33ocnj9n`. This can be obtained through DescribeSecurityGroups.
14228
+ def RoutePolicyId(self):
14229
+ r"""Specifies the unique ID of the route reception policy.
13979
14230
  :rtype: str
13980
14231
  """
13981
- return self._SecurityGroupId
14232
+ return self._RoutePolicyId
13982
14233
 
13983
- @SecurityGroupId.setter
13984
- def SecurityGroupId(self, SecurityGroupId):
13985
- self._SecurityGroupId = SecurityGroupId
13986
-
13987
- @property
13988
- def SecurityGroupPolicySet(self):
13989
- r"""The policy set of the security group. One request can only delete one or more policies in one direction. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. Each request can use only one matching method.
13990
- :rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
13991
- """
13992
- return self._SecurityGroupPolicySet
13993
-
13994
- @SecurityGroupPolicySet.setter
13995
- def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
13996
- self._SecurityGroupPolicySet = SecurityGroupPolicySet
14234
+ @RoutePolicyId.setter
14235
+ def RoutePolicyId(self, RoutePolicyId):
14236
+ self._RoutePolicyId = RoutePolicyId
13997
14237
 
13998
14238
 
13999
14239
  def _deserialize(self, params):
14000
- self._SecurityGroupId = params.get("SecurityGroupId")
14001
- if params.get("SecurityGroupPolicySet") is not None:
14002
- self._SecurityGroupPolicySet = SecurityGroupPolicySet()
14003
- self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
14240
+ self._RoutePolicyId = params.get("RoutePolicyId")
14004
14241
  memeber_set = set(params.keys())
14005
14242
  for name, value in vars(self).items():
14006
14243
  property_name = name[1:]
@@ -14011,8 +14248,257 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
14011
14248
 
14012
14249
 
14013
14250
 
14014
- class DeleteSecurityGroupPoliciesResponse(AbstractModel):
14015
- r"""DeleteSecurityGroupPolicies response structure.
14251
+ class DeleteRoutePolicyResponse(AbstractModel):
14252
+ r"""DeleteRoutePolicy response structure.
14253
+
14254
+ """
14255
+
14256
+ def __init__(self):
14257
+ r"""
14258
+ :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.
14259
+ :type RequestId: str
14260
+ """
14261
+ self._RequestId = None
14262
+
14263
+ @property
14264
+ def RequestId(self):
14265
+ r"""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.
14266
+ :rtype: str
14267
+ """
14268
+ return self._RequestId
14269
+
14270
+ @RequestId.setter
14271
+ def RequestId(self, RequestId):
14272
+ self._RequestId = RequestId
14273
+
14274
+
14275
+ def _deserialize(self, params):
14276
+ self._RequestId = params.get("RequestId")
14277
+
14278
+
14279
+ class DeleteRouteTableRequest(AbstractModel):
14280
+ r"""DeleteRouteTable request structure.
14281
+
14282
+ """
14283
+
14284
+ def __init__(self):
14285
+ r"""
14286
+ :param _RouteTableId: The route table instance ID, such as `rtb-azd4dt1c`.
14287
+ :type RouteTableId: str
14288
+ """
14289
+ self._RouteTableId = None
14290
+
14291
+ @property
14292
+ def RouteTableId(self):
14293
+ r"""The route table instance ID, such as `rtb-azd4dt1c`.
14294
+ :rtype: str
14295
+ """
14296
+ return self._RouteTableId
14297
+
14298
+ @RouteTableId.setter
14299
+ def RouteTableId(self, RouteTableId):
14300
+ self._RouteTableId = RouteTableId
14301
+
14302
+
14303
+ def _deserialize(self, params):
14304
+ self._RouteTableId = params.get("RouteTableId")
14305
+ memeber_set = set(params.keys())
14306
+ for name, value in vars(self).items():
14307
+ property_name = name[1:]
14308
+ if property_name in memeber_set:
14309
+ memeber_set.remove(property_name)
14310
+ if len(memeber_set) > 0:
14311
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14312
+
14313
+
14314
+
14315
+ class DeleteRouteTableResponse(AbstractModel):
14316
+ r"""DeleteRouteTable response structure.
14317
+
14318
+ """
14319
+
14320
+ def __init__(self):
14321
+ r"""
14322
+ :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.
14323
+ :type RequestId: str
14324
+ """
14325
+ self._RequestId = None
14326
+
14327
+ @property
14328
+ def RequestId(self):
14329
+ r"""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.
14330
+ :rtype: str
14331
+ """
14332
+ return self._RequestId
14333
+
14334
+ @RequestId.setter
14335
+ def RequestId(self, RequestId):
14336
+ self._RequestId = RequestId
14337
+
14338
+
14339
+ def _deserialize(self, params):
14340
+ self._RequestId = params.get("RequestId")
14341
+
14342
+
14343
+ class DeleteRoutesRequest(AbstractModel):
14344
+ r"""DeleteRoutes request structure.
14345
+
14346
+ """
14347
+
14348
+ def __init__(self):
14349
+ r"""
14350
+ :param _RouteTableId: Route table instance ID.
14351
+ :type RouteTableId: str
14352
+ :param _Routes: Routing policy object. Only the `RouteId` field is required when deleting a routing policy.
14353
+ :type Routes: list of Route
14354
+ """
14355
+ self._RouteTableId = None
14356
+ self._Routes = None
14357
+
14358
+ @property
14359
+ def RouteTableId(self):
14360
+ r"""Route table instance ID.
14361
+ :rtype: str
14362
+ """
14363
+ return self._RouteTableId
14364
+
14365
+ @RouteTableId.setter
14366
+ def RouteTableId(self, RouteTableId):
14367
+ self._RouteTableId = RouteTableId
14368
+
14369
+ @property
14370
+ def Routes(self):
14371
+ r"""Routing policy object. Only the `RouteId` field is required when deleting a routing policy.
14372
+ :rtype: list of Route
14373
+ """
14374
+ return self._Routes
14375
+
14376
+ @Routes.setter
14377
+ def Routes(self, Routes):
14378
+ self._Routes = Routes
14379
+
14380
+
14381
+ def _deserialize(self, params):
14382
+ self._RouteTableId = params.get("RouteTableId")
14383
+ if params.get("Routes") is not None:
14384
+ self._Routes = []
14385
+ for item in params.get("Routes"):
14386
+ obj = Route()
14387
+ obj._deserialize(item)
14388
+ self._Routes.append(obj)
14389
+ memeber_set = set(params.keys())
14390
+ for name, value in vars(self).items():
14391
+ property_name = name[1:]
14392
+ if property_name in memeber_set:
14393
+ memeber_set.remove(property_name)
14394
+ if len(memeber_set) > 0:
14395
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14396
+
14397
+
14398
+
14399
+ class DeleteRoutesResponse(AbstractModel):
14400
+ r"""DeleteRoutes response structure.
14401
+
14402
+ """
14403
+
14404
+ def __init__(self):
14405
+ r"""
14406
+ :param _RouteSet: Details of the routing policy that has been deleted.
14407
+ :type RouteSet: list of Route
14408
+ :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.
14409
+ :type RequestId: str
14410
+ """
14411
+ self._RouteSet = None
14412
+ self._RequestId = None
14413
+
14414
+ @property
14415
+ def RouteSet(self):
14416
+ r"""Details of the routing policy that has been deleted.
14417
+ :rtype: list of Route
14418
+ """
14419
+ return self._RouteSet
14420
+
14421
+ @RouteSet.setter
14422
+ def RouteSet(self, RouteSet):
14423
+ self._RouteSet = RouteSet
14424
+
14425
+ @property
14426
+ def RequestId(self):
14427
+ r"""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.
14428
+ :rtype: str
14429
+ """
14430
+ return self._RequestId
14431
+
14432
+ @RequestId.setter
14433
+ def RequestId(self, RequestId):
14434
+ self._RequestId = RequestId
14435
+
14436
+
14437
+ def _deserialize(self, params):
14438
+ if params.get("RouteSet") is not None:
14439
+ self._RouteSet = []
14440
+ for item in params.get("RouteSet"):
14441
+ obj = Route()
14442
+ obj._deserialize(item)
14443
+ self._RouteSet.append(obj)
14444
+ self._RequestId = params.get("RequestId")
14445
+
14446
+
14447
+ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
14448
+ r"""DeleteSecurityGroupPolicies request structure.
14449
+
14450
+ """
14451
+
14452
+ def __init__(self):
14453
+ r"""
14454
+ :param _SecurityGroupId: The security group instance ID, such as `sg-33ocnj9n`. This can be obtained through DescribeSecurityGroups.
14455
+ :type SecurityGroupId: str
14456
+ :param _SecurityGroupPolicySet: The policy set of the security group. One request can only delete one or more policies in one direction. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. Each request can use only one matching method.
14457
+ :type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
14458
+ """
14459
+ self._SecurityGroupId = None
14460
+ self._SecurityGroupPolicySet = None
14461
+
14462
+ @property
14463
+ def SecurityGroupId(self):
14464
+ r"""The security group instance ID, such as `sg-33ocnj9n`. This can be obtained through DescribeSecurityGroups.
14465
+ :rtype: str
14466
+ """
14467
+ return self._SecurityGroupId
14468
+
14469
+ @SecurityGroupId.setter
14470
+ def SecurityGroupId(self, SecurityGroupId):
14471
+ self._SecurityGroupId = SecurityGroupId
14472
+
14473
+ @property
14474
+ def SecurityGroupPolicySet(self):
14475
+ r"""The policy set of the security group. One request can only delete one or more policies in one direction. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. Each request can use only one matching method.
14476
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
14477
+ """
14478
+ return self._SecurityGroupPolicySet
14479
+
14480
+ @SecurityGroupPolicySet.setter
14481
+ def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
14482
+ self._SecurityGroupPolicySet = SecurityGroupPolicySet
14483
+
14484
+
14485
+ def _deserialize(self, params):
14486
+ self._SecurityGroupId = params.get("SecurityGroupId")
14487
+ if params.get("SecurityGroupPolicySet") is not None:
14488
+ self._SecurityGroupPolicySet = SecurityGroupPolicySet()
14489
+ self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
14490
+ memeber_set = set(params.keys())
14491
+ for name, value in vars(self).items():
14492
+ property_name = name[1:]
14493
+ if property_name in memeber_set:
14494
+ memeber_set.remove(property_name)
14495
+ if len(memeber_set) > 0:
14496
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14497
+
14498
+
14499
+
14500
+ class DeleteSecurityGroupPoliciesResponse(AbstractModel):
14501
+ r"""DeleteSecurityGroupPolicies response structure.
14016
14502
 
14017
14503
  """
14018
14504
 
@@ -21330,6 +21816,207 @@ class DescribeReserveIpAddressesResponse(AbstractModel):
21330
21816
  self._RequestId = params.get("RequestId")
21331
21817
 
21332
21818
 
21819
+ class DescribeRoutePolicyEntriesRequest(AbstractModel):
21820
+ r"""DescribeRoutePolicyEntries request structure.
21821
+
21822
+ """
21823
+
21824
+ def __init__(self):
21825
+ r"""
21826
+ :param _Filters: Filter criteria. RoutePolicyEntryIds and Filters cannot be specified at the same time.
21827
+ <li>route-policy-id - String - (filter condition) specifies the instance id of the route reception policy, such as rrp-f49l6u0z.</li>.
21828
+ <li>cidr-block - String - (filter condition) cidr (subnet part before the mask), such as 10.0.0.0/8.</li>.
21829
+ <li>priority - Integer - filter condition. specifies the priority, such as 20.</li>.
21830
+ <li>gateway-type - String - (filter criteria) next hop type, such as CVM.</li>.
21831
+ <li>GatewayId - String - specifies the unique id of the next hop instance, such as ccn-f49l6u0z.</li>.
21832
+ <li>route-type - String - (filter condition) routing type. valid values: USER (USER route), NETD (route issued by network probe), CCN (CCN route).</li>.
21833
+ <li>action - String - (filter condition) specifies the action. valid values: DROP (DROP), DISABLE (receive and DISABLE), ACCEPT (receive and enable).</li>.
21834
+ <li>description - String - specifies the filter condition description, such as TEST.</li>.
21835
+ <li>route-policy-item-id - String - (filter condition) specifies the entry unique id of the route reception policy, such as rrpi-dq782kw7.</li>.
21836
+ :type Filters: list of Filter
21837
+ :param _Offset: Offset.
21838
+ :type Offset: int
21839
+ :param _Limit: Number of request objects.
21840
+ :type Limit: int
21841
+ :param _OrderField: Sorting field. currently only supports the priority field.
21842
+ :type OrderField: str
21843
+ :param _OrderDirection: Specifies the sorting order.
21844
+ ASC: ascending order.
21845
+ DESC: descending order.
21846
+ :type OrderDirection: str
21847
+ :param _RoutePolicyEntryIds: Specifies the routing strategy entry ID.
21848
+ :type RoutePolicyEntryIds: list of str
21849
+ """
21850
+ self._Filters = None
21851
+ self._Offset = None
21852
+ self._Limit = None
21853
+ self._OrderField = None
21854
+ self._OrderDirection = None
21855
+ self._RoutePolicyEntryIds = None
21856
+
21857
+ @property
21858
+ def Filters(self):
21859
+ r"""Filter criteria. RoutePolicyEntryIds and Filters cannot be specified at the same time.
21860
+ <li>route-policy-id - String - (filter condition) specifies the instance id of the route reception policy, such as rrp-f49l6u0z.</li>.
21861
+ <li>cidr-block - String - (filter condition) cidr (subnet part before the mask), such as 10.0.0.0/8.</li>.
21862
+ <li>priority - Integer - filter condition. specifies the priority, such as 20.</li>.
21863
+ <li>gateway-type - String - (filter criteria) next hop type, such as CVM.</li>.
21864
+ <li>GatewayId - String - specifies the unique id of the next hop instance, such as ccn-f49l6u0z.</li>.
21865
+ <li>route-type - String - (filter condition) routing type. valid values: USER (USER route), NETD (route issued by network probe), CCN (CCN route).</li>.
21866
+ <li>action - String - (filter condition) specifies the action. valid values: DROP (DROP), DISABLE (receive and DISABLE), ACCEPT (receive and enable).</li>.
21867
+ <li>description - String - specifies the filter condition description, such as TEST.</li>.
21868
+ <li>route-policy-item-id - String - (filter condition) specifies the entry unique id of the route reception policy, such as rrpi-dq782kw7.</li>.
21869
+ :rtype: list of Filter
21870
+ """
21871
+ return self._Filters
21872
+
21873
+ @Filters.setter
21874
+ def Filters(self, Filters):
21875
+ self._Filters = Filters
21876
+
21877
+ @property
21878
+ def Offset(self):
21879
+ r"""Offset.
21880
+ :rtype: int
21881
+ """
21882
+ return self._Offset
21883
+
21884
+ @Offset.setter
21885
+ def Offset(self, Offset):
21886
+ self._Offset = Offset
21887
+
21888
+ @property
21889
+ def Limit(self):
21890
+ r"""Number of request objects.
21891
+ :rtype: int
21892
+ """
21893
+ return self._Limit
21894
+
21895
+ @Limit.setter
21896
+ def Limit(self, Limit):
21897
+ self._Limit = Limit
21898
+
21899
+ @property
21900
+ def OrderField(self):
21901
+ r"""Sorting field. currently only supports the priority field.
21902
+ :rtype: str
21903
+ """
21904
+ return self._OrderField
21905
+
21906
+ @OrderField.setter
21907
+ def OrderField(self, OrderField):
21908
+ self._OrderField = OrderField
21909
+
21910
+ @property
21911
+ def OrderDirection(self):
21912
+ r"""Specifies the sorting order.
21913
+ ASC: ascending order.
21914
+ DESC: descending order.
21915
+ :rtype: str
21916
+ """
21917
+ return self._OrderDirection
21918
+
21919
+ @OrderDirection.setter
21920
+ def OrderDirection(self, OrderDirection):
21921
+ self._OrderDirection = OrderDirection
21922
+
21923
+ @property
21924
+ def RoutePolicyEntryIds(self):
21925
+ r"""Specifies the routing strategy entry ID.
21926
+ :rtype: list of str
21927
+ """
21928
+ return self._RoutePolicyEntryIds
21929
+
21930
+ @RoutePolicyEntryIds.setter
21931
+ def RoutePolicyEntryIds(self, RoutePolicyEntryIds):
21932
+ self._RoutePolicyEntryIds = RoutePolicyEntryIds
21933
+
21934
+
21935
+ def _deserialize(self, params):
21936
+ if params.get("Filters") is not None:
21937
+ self._Filters = []
21938
+ for item in params.get("Filters"):
21939
+ obj = Filter()
21940
+ obj._deserialize(item)
21941
+ self._Filters.append(obj)
21942
+ self._Offset = params.get("Offset")
21943
+ self._Limit = params.get("Limit")
21944
+ self._OrderField = params.get("OrderField")
21945
+ self._OrderDirection = params.get("OrderDirection")
21946
+ self._RoutePolicyEntryIds = params.get("RoutePolicyEntryIds")
21947
+ memeber_set = set(params.keys())
21948
+ for name, value in vars(self).items():
21949
+ property_name = name[1:]
21950
+ if property_name in memeber_set:
21951
+ memeber_set.remove(property_name)
21952
+ if len(memeber_set) > 0:
21953
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21954
+
21955
+
21956
+
21957
+ class DescribeRoutePolicyEntriesResponse(AbstractModel):
21958
+ r"""DescribeRoutePolicyEntries response structure.
21959
+
21960
+ """
21961
+
21962
+ def __init__(self):
21963
+ r"""
21964
+ :param _RoutePolicyEntrySet: Route reception policy entry list.
21965
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
21966
+ :param _TotalCount: Number of eligible instances.
21967
+ :type TotalCount: int
21968
+ :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.
21969
+ :type RequestId: str
21970
+ """
21971
+ self._RoutePolicyEntrySet = None
21972
+ self._TotalCount = None
21973
+ self._RequestId = None
21974
+
21975
+ @property
21976
+ def RoutePolicyEntrySet(self):
21977
+ r"""Route reception policy entry list.
21978
+ :rtype: list of RoutePolicyEntry
21979
+ """
21980
+ return self._RoutePolicyEntrySet
21981
+
21982
+ @RoutePolicyEntrySet.setter
21983
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
21984
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
21985
+
21986
+ @property
21987
+ def TotalCount(self):
21988
+ r"""Number of eligible instances.
21989
+ :rtype: int
21990
+ """
21991
+ return self._TotalCount
21992
+
21993
+ @TotalCount.setter
21994
+ def TotalCount(self, TotalCount):
21995
+ self._TotalCount = TotalCount
21996
+
21997
+ @property
21998
+ def RequestId(self):
21999
+ r"""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.
22000
+ :rtype: str
22001
+ """
22002
+ return self._RequestId
22003
+
22004
+ @RequestId.setter
22005
+ def RequestId(self, RequestId):
22006
+ self._RequestId = RequestId
22007
+
22008
+
22009
+ def _deserialize(self, params):
22010
+ if params.get("RoutePolicyEntrySet") is not None:
22011
+ self._RoutePolicyEntrySet = []
22012
+ for item in params.get("RoutePolicyEntrySet"):
22013
+ obj = RoutePolicyEntry()
22014
+ obj._deserialize(item)
22015
+ self._RoutePolicyEntrySet.append(obj)
22016
+ self._TotalCount = params.get("TotalCount")
22017
+ self._RequestId = params.get("RequestId")
22018
+
22019
+
21333
22020
  class DescribeRouteTablesRequest(AbstractModel):
21334
22021
  r"""DescribeRouteTables request structure.
21335
22022
 
@@ -34989,6 +35676,100 @@ class ModifyReserveIpAddressResponse(AbstractModel):
34989
35676
  self._RequestId = params.get("RequestId")
34990
35677
 
34991
35678
 
35679
+ class ModifyRoutePolicyAttributeRequest(AbstractModel):
35680
+ r"""ModifyRoutePolicyAttribute request structure.
35681
+
35682
+ """
35683
+
35684
+ def __init__(self):
35685
+ r"""
35686
+ :param _RoutePolicyId: Instance ID of the route reception policy, such as rrp-dz0219jq.
35687
+ :type RoutePolicyId: str
35688
+ :param _RoutePolicyName: Specifies the route reception policy name.
35689
+ :type RoutePolicyName: str
35690
+ :param _RoutePolicyDescription: Describes the route reception policy.
35691
+ :type RoutePolicyDescription: str
35692
+ """
35693
+ self._RoutePolicyId = None
35694
+ self._RoutePolicyName = None
35695
+ self._RoutePolicyDescription = None
35696
+
35697
+ @property
35698
+ def RoutePolicyId(self):
35699
+ r"""Instance ID of the route reception policy, such as rrp-dz0219jq.
35700
+ :rtype: str
35701
+ """
35702
+ return self._RoutePolicyId
35703
+
35704
+ @RoutePolicyId.setter
35705
+ def RoutePolicyId(self, RoutePolicyId):
35706
+ self._RoutePolicyId = RoutePolicyId
35707
+
35708
+ @property
35709
+ def RoutePolicyName(self):
35710
+ r"""Specifies the route reception policy name.
35711
+ :rtype: str
35712
+ """
35713
+ return self._RoutePolicyName
35714
+
35715
+ @RoutePolicyName.setter
35716
+ def RoutePolicyName(self, RoutePolicyName):
35717
+ self._RoutePolicyName = RoutePolicyName
35718
+
35719
+ @property
35720
+ def RoutePolicyDescription(self):
35721
+ r"""Describes the route reception policy.
35722
+ :rtype: str
35723
+ """
35724
+ return self._RoutePolicyDescription
35725
+
35726
+ @RoutePolicyDescription.setter
35727
+ def RoutePolicyDescription(self, RoutePolicyDescription):
35728
+ self._RoutePolicyDescription = RoutePolicyDescription
35729
+
35730
+
35731
+ def _deserialize(self, params):
35732
+ self._RoutePolicyId = params.get("RoutePolicyId")
35733
+ self._RoutePolicyName = params.get("RoutePolicyName")
35734
+ self._RoutePolicyDescription = params.get("RoutePolicyDescription")
35735
+ memeber_set = set(params.keys())
35736
+ for name, value in vars(self).items():
35737
+ property_name = name[1:]
35738
+ if property_name in memeber_set:
35739
+ memeber_set.remove(property_name)
35740
+ if len(memeber_set) > 0:
35741
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
35742
+
35743
+
35744
+
35745
+ class ModifyRoutePolicyAttributeResponse(AbstractModel):
35746
+ r"""ModifyRoutePolicyAttribute response structure.
35747
+
35748
+ """
35749
+
35750
+ def __init__(self):
35751
+ r"""
35752
+ :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.
35753
+ :type RequestId: str
35754
+ """
35755
+ self._RequestId = None
35756
+
35757
+ @property
35758
+ def RequestId(self):
35759
+ r"""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.
35760
+ :rtype: str
35761
+ """
35762
+ return self._RequestId
35763
+
35764
+ @RequestId.setter
35765
+ def RequestId(self, RequestId):
35766
+ self._RequestId = RequestId
35767
+
35768
+
35769
+ def _deserialize(self, params):
35770
+ self._RequestId = params.get("RequestId")
35771
+
35772
+
34992
35773
  class ModifyRouteTableAttributeRequest(AbstractModel):
34993
35774
  r"""ModifyRouteTableAttribute request structure.
34994
35775
 
@@ -39838,49 +40619,133 @@ class RemoveBandwidthPackageResourcesResponse(AbstractModel):
39838
40619
  self._RequestId = params.get("RequestId")
39839
40620
 
39840
40621
 
39841
- class RenewVpnGatewayRequest(AbstractModel):
39842
- r"""RenewVpnGateway request structure.
40622
+ class RenewVpnGatewayRequest(AbstractModel):
40623
+ r"""RenewVpnGateway request structure.
40624
+
40625
+ """
40626
+
40627
+ def __init__(self):
40628
+ r"""
40629
+ :param _VpnGatewayId: The ID of the VPN gateway instance.
40630
+ :type VpnGatewayId: str
40631
+ :param _InstanceChargePrepaid: Billing Methods
40632
+ :type InstanceChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
40633
+ """
40634
+ self._VpnGatewayId = None
40635
+ self._InstanceChargePrepaid = None
40636
+
40637
+ @property
40638
+ def VpnGatewayId(self):
40639
+ r"""The ID of the VPN gateway instance.
40640
+ :rtype: str
40641
+ """
40642
+ return self._VpnGatewayId
40643
+
40644
+ @VpnGatewayId.setter
40645
+ def VpnGatewayId(self, VpnGatewayId):
40646
+ self._VpnGatewayId = VpnGatewayId
40647
+
40648
+ @property
40649
+ def InstanceChargePrepaid(self):
40650
+ r"""Billing Methods
40651
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
40652
+ """
40653
+ return self._InstanceChargePrepaid
40654
+
40655
+ @InstanceChargePrepaid.setter
40656
+ def InstanceChargePrepaid(self, InstanceChargePrepaid):
40657
+ self._InstanceChargePrepaid = InstanceChargePrepaid
40658
+
40659
+
40660
+ def _deserialize(self, params):
40661
+ self._VpnGatewayId = params.get("VpnGatewayId")
40662
+ if params.get("InstanceChargePrepaid") is not None:
40663
+ self._InstanceChargePrepaid = InstanceChargePrepaid()
40664
+ self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
40665
+ memeber_set = set(params.keys())
40666
+ for name, value in vars(self).items():
40667
+ property_name = name[1:]
40668
+ if property_name in memeber_set:
40669
+ memeber_set.remove(property_name)
40670
+ if len(memeber_set) > 0:
40671
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40672
+
40673
+
40674
+
40675
+ class RenewVpnGatewayResponse(AbstractModel):
40676
+ r"""RenewVpnGateway response structure.
40677
+
40678
+ """
40679
+
40680
+ def __init__(self):
40681
+ r"""
40682
+ :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.
40683
+ :type RequestId: str
40684
+ """
40685
+ self._RequestId = None
40686
+
40687
+ @property
40688
+ def RequestId(self):
40689
+ r"""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.
40690
+ :rtype: str
40691
+ """
40692
+ return self._RequestId
40693
+
40694
+ @RequestId.setter
40695
+ def RequestId(self, RequestId):
40696
+ self._RequestId = RequestId
40697
+
40698
+
40699
+ def _deserialize(self, params):
40700
+ self._RequestId = params.get("RequestId")
40701
+
40702
+
40703
+ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
40704
+ r"""ReplaceDirectConnectGatewayCcnRoutes request structure.
39843
40705
 
39844
40706
  """
39845
40707
 
39846
40708
  def __init__(self):
39847
40709
  r"""
39848
- :param _VpnGatewayId: The ID of the VPN gateway instance.
39849
- :type VpnGatewayId: str
39850
- :param _InstanceChargePrepaid: Billing Methods
39851
- :type InstanceChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
40710
+ :param _DirectConnectGatewayId: The ID of the Direct Connect gateway, such as `dcg-prpqlmg1`
40711
+ :type DirectConnectGatewayId: str
40712
+ :param _Routes: The list of IDC IP range that must be connected
40713
+ :type Routes: list of DirectConnectGatewayCcnRoute
39852
40714
  """
39853
- self._VpnGatewayId = None
39854
- self._InstanceChargePrepaid = None
40715
+ self._DirectConnectGatewayId = None
40716
+ self._Routes = None
39855
40717
 
39856
40718
  @property
39857
- def VpnGatewayId(self):
39858
- r"""The ID of the VPN gateway instance.
40719
+ def DirectConnectGatewayId(self):
40720
+ r"""The ID of the Direct Connect gateway, such as `dcg-prpqlmg1`
39859
40721
  :rtype: str
39860
40722
  """
39861
- return self._VpnGatewayId
40723
+ return self._DirectConnectGatewayId
39862
40724
 
39863
- @VpnGatewayId.setter
39864
- def VpnGatewayId(self, VpnGatewayId):
39865
- self._VpnGatewayId = VpnGatewayId
40725
+ @DirectConnectGatewayId.setter
40726
+ def DirectConnectGatewayId(self, DirectConnectGatewayId):
40727
+ self._DirectConnectGatewayId = DirectConnectGatewayId
39866
40728
 
39867
40729
  @property
39868
- def InstanceChargePrepaid(self):
39869
- r"""Billing Methods
39870
- :rtype: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
40730
+ def Routes(self):
40731
+ r"""The list of IDC IP range that must be connected
40732
+ :rtype: list of DirectConnectGatewayCcnRoute
39871
40733
  """
39872
- return self._InstanceChargePrepaid
40734
+ return self._Routes
39873
40735
 
39874
- @InstanceChargePrepaid.setter
39875
- def InstanceChargePrepaid(self, InstanceChargePrepaid):
39876
- self._InstanceChargePrepaid = InstanceChargePrepaid
40736
+ @Routes.setter
40737
+ def Routes(self, Routes):
40738
+ self._Routes = Routes
39877
40739
 
39878
40740
 
39879
40741
  def _deserialize(self, params):
39880
- self._VpnGatewayId = params.get("VpnGatewayId")
39881
- if params.get("InstanceChargePrepaid") is not None:
39882
- self._InstanceChargePrepaid = InstanceChargePrepaid()
39883
- self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
40742
+ self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
40743
+ if params.get("Routes") is not None:
40744
+ self._Routes = []
40745
+ for item in params.get("Routes"):
40746
+ obj = DirectConnectGatewayCcnRoute()
40747
+ obj._deserialize(item)
40748
+ self._Routes.append(obj)
39884
40749
  memeber_set = set(params.keys())
39885
40750
  for name, value in vars(self).items():
39886
40751
  property_name = name[1:]
@@ -39891,8 +40756,8 @@ class RenewVpnGatewayRequest(AbstractModel):
39891
40756
 
39892
40757
 
39893
40758
 
39894
- class RenewVpnGatewayResponse(AbstractModel):
39895
- r"""RenewVpnGateway response structure.
40759
+ class ReplaceDirectConnectGatewayCcnRoutesResponse(AbstractModel):
40760
+ r"""ReplaceDirectConnectGatewayCcnRoutes response structure.
39896
40761
 
39897
40762
  """
39898
40763
 
@@ -39919,52 +40784,121 @@ class RenewVpnGatewayResponse(AbstractModel):
39919
40784
  self._RequestId = params.get("RequestId")
39920
40785
 
39921
40786
 
39922
- class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
39923
- r"""ReplaceDirectConnectGatewayCcnRoutes request structure.
40787
+ class ReplaceRoutePolicyAssociationsRequest(AbstractModel):
40788
+ r"""ReplaceRoutePolicyAssociations request structure.
39924
40789
 
39925
40790
  """
39926
40791
 
39927
40792
  def __init__(self):
39928
40793
  r"""
39929
- :param _DirectConnectGatewayId: The ID of the Direct Connect gateway, such as `dcg-prpqlmg1`
39930
- :type DirectConnectGatewayId: str
39931
- :param _Routes: The list of IDC IP range that must be connected
39932
- :type Routes: list of DirectConnectGatewayCcnRoute
40794
+ :param _RoutePolicyAssociationSet: Route reception policy binding object list. requires specifying the route reception policy instance ID (RoutePolicyId) and route table instance ID (RouteTableId).
40795
+ :type RoutePolicyAssociationSet: list of RoutePolicyAssociation
39933
40796
  """
39934
- self._DirectConnectGatewayId = None
39935
- self._Routes = None
40797
+ self._RoutePolicyAssociationSet = None
39936
40798
 
39937
40799
  @property
39938
- def DirectConnectGatewayId(self):
39939
- r"""The ID of the Direct Connect gateway, such as `dcg-prpqlmg1`
40800
+ def RoutePolicyAssociationSet(self):
40801
+ r"""Route reception policy binding object list. requires specifying the route reception policy instance ID (RoutePolicyId) and route table instance ID (RouteTableId).
40802
+ :rtype: list of RoutePolicyAssociation
40803
+ """
40804
+ return self._RoutePolicyAssociationSet
40805
+
40806
+ @RoutePolicyAssociationSet.setter
40807
+ def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
40808
+ self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
40809
+
40810
+
40811
+ def _deserialize(self, params):
40812
+ if params.get("RoutePolicyAssociationSet") is not None:
40813
+ self._RoutePolicyAssociationSet = []
40814
+ for item in params.get("RoutePolicyAssociationSet"):
40815
+ obj = RoutePolicyAssociation()
40816
+ obj._deserialize(item)
40817
+ self._RoutePolicyAssociationSet.append(obj)
40818
+ memeber_set = set(params.keys())
40819
+ for name, value in vars(self).items():
40820
+ property_name = name[1:]
40821
+ if property_name in memeber_set:
40822
+ memeber_set.remove(property_name)
40823
+ if len(memeber_set) > 0:
40824
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40825
+
40826
+
40827
+
40828
+ class ReplaceRoutePolicyAssociationsResponse(AbstractModel):
40829
+ r"""ReplaceRoutePolicyAssociations response structure.
40830
+
40831
+ """
40832
+
40833
+ def __init__(self):
40834
+ r"""
40835
+ :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.
40836
+ :type RequestId: str
40837
+ """
40838
+ self._RequestId = None
40839
+
40840
+ @property
40841
+ def RequestId(self):
40842
+ r"""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.
39940
40843
  :rtype: str
39941
40844
  """
39942
- return self._DirectConnectGatewayId
40845
+ return self._RequestId
39943
40846
 
39944
- @DirectConnectGatewayId.setter
39945
- def DirectConnectGatewayId(self, DirectConnectGatewayId):
39946
- self._DirectConnectGatewayId = DirectConnectGatewayId
40847
+ @RequestId.setter
40848
+ def RequestId(self, RequestId):
40849
+ self._RequestId = RequestId
40850
+
40851
+
40852
+ def _deserialize(self, params):
40853
+ self._RequestId = params.get("RequestId")
40854
+
40855
+
40856
+ class ReplaceRoutePolicyEntriesRequest(AbstractModel):
40857
+ r"""ReplaceRoutePolicyEntries request structure.
40858
+
40859
+ """
40860
+
40861
+ def __init__(self):
40862
+ r"""
40863
+ :param _RoutePolicyId: Instance ID of the routing strategy, such as rrp-azd4dt1c.
40864
+ :type RoutePolicyId: str
40865
+ :param _RoutePolicyEntrySet: Rule list of the routing strategy. requires specifying the policy rule ID (RoutePolicyEntryId).
40866
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
40867
+ """
40868
+ self._RoutePolicyId = None
40869
+ self._RoutePolicyEntrySet = None
39947
40870
 
39948
40871
  @property
39949
- def Routes(self):
39950
- r"""The list of IDC IP range that must be connected
39951
- :rtype: list of DirectConnectGatewayCcnRoute
40872
+ def RoutePolicyId(self):
40873
+ r"""Instance ID of the routing strategy, such as rrp-azd4dt1c.
40874
+ :rtype: str
39952
40875
  """
39953
- return self._Routes
40876
+ return self._RoutePolicyId
39954
40877
 
39955
- @Routes.setter
39956
- def Routes(self, Routes):
39957
- self._Routes = Routes
40878
+ @RoutePolicyId.setter
40879
+ def RoutePolicyId(self, RoutePolicyId):
40880
+ self._RoutePolicyId = RoutePolicyId
40881
+
40882
+ @property
40883
+ def RoutePolicyEntrySet(self):
40884
+ r"""Rule list of the routing strategy. requires specifying the policy rule ID (RoutePolicyEntryId).
40885
+ :rtype: list of RoutePolicyEntry
40886
+ """
40887
+ return self._RoutePolicyEntrySet
40888
+
40889
+ @RoutePolicyEntrySet.setter
40890
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
40891
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
39958
40892
 
39959
40893
 
39960
40894
  def _deserialize(self, params):
39961
- self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
39962
- if params.get("Routes") is not None:
39963
- self._Routes = []
39964
- for item in params.get("Routes"):
39965
- obj = DirectConnectGatewayCcnRoute()
40895
+ self._RoutePolicyId = params.get("RoutePolicyId")
40896
+ if params.get("RoutePolicyEntrySet") is not None:
40897
+ self._RoutePolicyEntrySet = []
40898
+ for item in params.get("RoutePolicyEntrySet"):
40899
+ obj = RoutePolicyEntry()
39966
40900
  obj._deserialize(item)
39967
- self._Routes.append(obj)
40901
+ self._RoutePolicyEntrySet.append(obj)
39968
40902
  memeber_set = set(params.keys())
39969
40903
  for name, value in vars(self).items():
39970
40904
  property_name = name[1:]
@@ -39975,8 +40909,8 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
39975
40909
 
39976
40910
 
39977
40911
 
39978
- class ReplaceDirectConnectGatewayCcnRoutesResponse(AbstractModel):
39979
- r"""ReplaceDirectConnectGatewayCcnRoutes response structure.
40912
+ class ReplaceRoutePolicyEntriesResponse(AbstractModel):
40913
+ r"""ReplaceRoutePolicyEntries response structure.
39980
40914
 
39981
40915
  """
39982
40916
 
@@ -40771,6 +41705,204 @@ class ResetNatGatewayConnectionResponse(AbstractModel):
40771
41705
  self._RequestId = params.get("RequestId")
40772
41706
 
40773
41707
 
41708
+ class ResetRoutePolicyAssociationsRequest(AbstractModel):
41709
+ r"""ResetRoutePolicyAssociations request structure.
41710
+
41711
+ """
41712
+
41713
+ def __init__(self):
41714
+ r"""
41715
+ :param _RouteTableId: Routing table instance ID, e.g., rtb-azd4dt1c.
41716
+ :type RouteTableId: str
41717
+ :param _RoutePolicyAssociationSet: The list of routing policy binding objects (RoutePolicyAssociation). note: the route table instance ID (RouteTableId) in the binding must match the RouteTableId parameter of this API (that is, this API only supports modifying the strategy binding relationship and priority within the same route table instance).
41718
+ :type RoutePolicyAssociationSet: list of RoutePolicyAssociation
41719
+ """
41720
+ self._RouteTableId = None
41721
+ self._RoutePolicyAssociationSet = None
41722
+
41723
+ @property
41724
+ def RouteTableId(self):
41725
+ r"""Routing table instance ID, e.g., rtb-azd4dt1c.
41726
+ :rtype: str
41727
+ """
41728
+ return self._RouteTableId
41729
+
41730
+ @RouteTableId.setter
41731
+ def RouteTableId(self, RouteTableId):
41732
+ self._RouteTableId = RouteTableId
41733
+
41734
+ @property
41735
+ def RoutePolicyAssociationSet(self):
41736
+ r"""The list of routing policy binding objects (RoutePolicyAssociation). note: the route table instance ID (RouteTableId) in the binding must match the RouteTableId parameter of this API (that is, this API only supports modifying the strategy binding relationship and priority within the same route table instance).
41737
+ :rtype: list of RoutePolicyAssociation
41738
+ """
41739
+ return self._RoutePolicyAssociationSet
41740
+
41741
+ @RoutePolicyAssociationSet.setter
41742
+ def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
41743
+ self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
41744
+
41745
+
41746
+ def _deserialize(self, params):
41747
+ self._RouteTableId = params.get("RouteTableId")
41748
+ if params.get("RoutePolicyAssociationSet") is not None:
41749
+ self._RoutePolicyAssociationSet = []
41750
+ for item in params.get("RoutePolicyAssociationSet"):
41751
+ obj = RoutePolicyAssociation()
41752
+ obj._deserialize(item)
41753
+ self._RoutePolicyAssociationSet.append(obj)
41754
+ memeber_set = set(params.keys())
41755
+ for name, value in vars(self).items():
41756
+ property_name = name[1:]
41757
+ if property_name in memeber_set:
41758
+ memeber_set.remove(property_name)
41759
+ if len(memeber_set) > 0:
41760
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41761
+
41762
+
41763
+
41764
+ class ResetRoutePolicyAssociationsResponse(AbstractModel):
41765
+ r"""ResetRoutePolicyAssociations response structure.
41766
+
41767
+ """
41768
+
41769
+ def __init__(self):
41770
+ r"""
41771
+ :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.
41772
+ :type RequestId: str
41773
+ """
41774
+ self._RequestId = None
41775
+
41776
+ @property
41777
+ def RequestId(self):
41778
+ r"""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.
41779
+ :rtype: str
41780
+ """
41781
+ return self._RequestId
41782
+
41783
+ @RequestId.setter
41784
+ def RequestId(self, RequestId):
41785
+ self._RequestId = RequestId
41786
+
41787
+
41788
+ def _deserialize(self, params):
41789
+ self._RequestId = params.get("RequestId")
41790
+
41791
+
41792
+ class ResetRoutePolicyEntriesRequest(AbstractModel):
41793
+ r"""ResetRoutePolicyEntries request structure.
41794
+
41795
+ """
41796
+
41797
+ def __init__(self):
41798
+ r"""
41799
+ :param _RoutePolicyId: Specifies the instance ID of the route reception policy, such as rrp-azd4dt1c.
41800
+ :type RoutePolicyId: str
41801
+ :param _RoutePolicyEntrySet: Route reception policy entry list. requires specifying the routing strategy entry ID (RoutePolicyEntryId).
41802
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
41803
+ :param _RoutePolicyDescription: Describes the route reception policy.
41804
+ :type RoutePolicyDescription: str
41805
+ :param _RoutePolicyName: Specifies the route reception policy name.
41806
+ :type RoutePolicyName: str
41807
+ """
41808
+ self._RoutePolicyId = None
41809
+ self._RoutePolicyEntrySet = None
41810
+ self._RoutePolicyDescription = None
41811
+ self._RoutePolicyName = None
41812
+
41813
+ @property
41814
+ def RoutePolicyId(self):
41815
+ r"""Specifies the instance ID of the route reception policy, such as rrp-azd4dt1c.
41816
+ :rtype: str
41817
+ """
41818
+ return self._RoutePolicyId
41819
+
41820
+ @RoutePolicyId.setter
41821
+ def RoutePolicyId(self, RoutePolicyId):
41822
+ self._RoutePolicyId = RoutePolicyId
41823
+
41824
+ @property
41825
+ def RoutePolicyEntrySet(self):
41826
+ r"""Route reception policy entry list. requires specifying the routing strategy entry ID (RoutePolicyEntryId).
41827
+ :rtype: list of RoutePolicyEntry
41828
+ """
41829
+ return self._RoutePolicyEntrySet
41830
+
41831
+ @RoutePolicyEntrySet.setter
41832
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
41833
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
41834
+
41835
+ @property
41836
+ def RoutePolicyDescription(self):
41837
+ r"""Describes the route reception policy.
41838
+ :rtype: str
41839
+ """
41840
+ return self._RoutePolicyDescription
41841
+
41842
+ @RoutePolicyDescription.setter
41843
+ def RoutePolicyDescription(self, RoutePolicyDescription):
41844
+ self._RoutePolicyDescription = RoutePolicyDescription
41845
+
41846
+ @property
41847
+ def RoutePolicyName(self):
41848
+ r"""Specifies the route reception policy name.
41849
+ :rtype: str
41850
+ """
41851
+ return self._RoutePolicyName
41852
+
41853
+ @RoutePolicyName.setter
41854
+ def RoutePolicyName(self, RoutePolicyName):
41855
+ self._RoutePolicyName = RoutePolicyName
41856
+
41857
+
41858
+ def _deserialize(self, params):
41859
+ self._RoutePolicyId = params.get("RoutePolicyId")
41860
+ if params.get("RoutePolicyEntrySet") is not None:
41861
+ self._RoutePolicyEntrySet = []
41862
+ for item in params.get("RoutePolicyEntrySet"):
41863
+ obj = RoutePolicyEntry()
41864
+ obj._deserialize(item)
41865
+ self._RoutePolicyEntrySet.append(obj)
41866
+ self._RoutePolicyDescription = params.get("RoutePolicyDescription")
41867
+ self._RoutePolicyName = params.get("RoutePolicyName")
41868
+ memeber_set = set(params.keys())
41869
+ for name, value in vars(self).items():
41870
+ property_name = name[1:]
41871
+ if property_name in memeber_set:
41872
+ memeber_set.remove(property_name)
41873
+ if len(memeber_set) > 0:
41874
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41875
+
41876
+
41877
+
41878
+ class ResetRoutePolicyEntriesResponse(AbstractModel):
41879
+ r"""ResetRoutePolicyEntries response structure.
41880
+
41881
+ """
41882
+
41883
+ def __init__(self):
41884
+ r"""
41885
+ :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.
41886
+ :type RequestId: str
41887
+ """
41888
+ self._RequestId = None
41889
+
41890
+ @property
41891
+ def RequestId(self):
41892
+ r"""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.
41893
+ :rtype: str
41894
+ """
41895
+ return self._RequestId
41896
+
41897
+ @RequestId.setter
41898
+ def RequestId(self, RequestId):
41899
+ self._RequestId = RequestId
41900
+
41901
+
41902
+ def _deserialize(self, params):
41903
+ self._RequestId = params.get("RequestId")
41904
+
41905
+
40774
41906
  class ResetRoutesRequest(AbstractModel):
40775
41907
  r"""ResetRoutes request structure.
40776
41908
 
@@ -42288,6 +43420,456 @@ Note: this field may return `null`, indicating that no valid values can be obtai
42288
43420
 
42289
43421
 
42290
43422
 
43423
+ class RoutePolicy(AbstractModel):
43424
+ r"""Route reception policy. when CCN or other services add routes to a VPC custom route table, you can drop or enable appropriate route entries.
43425
+
43426
+ """
43427
+
43428
+ def __init__(self):
43429
+ r"""
43430
+ :param _RoutePolicyId: Unique ID of the routing policy.
43431
+
43432
+ Note: This field may return null, indicating that no valid value was found.
43433
+ :type RoutePolicyId: str
43434
+ :param _RoutePolicyName: Specifies the routing strategy name.
43435
+ Note: This field may return null, indicating that no valid value was found.
43436
+ :type RoutePolicyName: str
43437
+ :param _RoutePolicyDescription: Routing policy description.
43438
+
43439
+ Note: This field may return null, indicating that no valid value was found.
43440
+ :type RoutePolicyDescription: str
43441
+ :param _RoutePolicyEntrySet: Routing policy rule list.
43442
+ Note: This field may return null, indicating that no valid value was found.
43443
+ :type RoutePolicyEntrySet: list of RoutePolicyEntry
43444
+ :param _RoutePolicyAssociationSet: Specifies the routing strategy binding.
43445
+ Note: This field may return null, indicating that no valid value was found.
43446
+ :type RoutePolicyAssociationSet: list of RoutePolicyAssociation
43447
+ :param _CreatedTime: Creation time.
43448
+
43449
+ Note: This field may return null, indicating that no valid value was found.
43450
+ :type CreatedTime: str
43451
+ :param _TagSet: Tag key-value pair.
43452
+ :type TagSet: list of Tag
43453
+ """
43454
+ self._RoutePolicyId = None
43455
+ self._RoutePolicyName = None
43456
+ self._RoutePolicyDescription = None
43457
+ self._RoutePolicyEntrySet = None
43458
+ self._RoutePolicyAssociationSet = None
43459
+ self._CreatedTime = None
43460
+ self._TagSet = None
43461
+
43462
+ @property
43463
+ def RoutePolicyId(self):
43464
+ r"""Unique ID of the routing policy.
43465
+
43466
+ Note: This field may return null, indicating that no valid value was found.
43467
+ :rtype: str
43468
+ """
43469
+ return self._RoutePolicyId
43470
+
43471
+ @RoutePolicyId.setter
43472
+ def RoutePolicyId(self, RoutePolicyId):
43473
+ self._RoutePolicyId = RoutePolicyId
43474
+
43475
+ @property
43476
+ def RoutePolicyName(self):
43477
+ r"""Specifies the routing strategy name.
43478
+ Note: This field may return null, indicating that no valid value was found.
43479
+ :rtype: str
43480
+ """
43481
+ return self._RoutePolicyName
43482
+
43483
+ @RoutePolicyName.setter
43484
+ def RoutePolicyName(self, RoutePolicyName):
43485
+ self._RoutePolicyName = RoutePolicyName
43486
+
43487
+ @property
43488
+ def RoutePolicyDescription(self):
43489
+ r"""Routing policy description.
43490
+
43491
+ Note: This field may return null, indicating that no valid value was found.
43492
+ :rtype: str
43493
+ """
43494
+ return self._RoutePolicyDescription
43495
+
43496
+ @RoutePolicyDescription.setter
43497
+ def RoutePolicyDescription(self, RoutePolicyDescription):
43498
+ self._RoutePolicyDescription = RoutePolicyDescription
43499
+
43500
+ @property
43501
+ def RoutePolicyEntrySet(self):
43502
+ r"""Routing policy rule list.
43503
+ Note: This field may return null, indicating that no valid value was found.
43504
+ :rtype: list of RoutePolicyEntry
43505
+ """
43506
+ return self._RoutePolicyEntrySet
43507
+
43508
+ @RoutePolicyEntrySet.setter
43509
+ def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
43510
+ self._RoutePolicyEntrySet = RoutePolicyEntrySet
43511
+
43512
+ @property
43513
+ def RoutePolicyAssociationSet(self):
43514
+ r"""Specifies the routing strategy binding.
43515
+ Note: This field may return null, indicating that no valid value was found.
43516
+ :rtype: list of RoutePolicyAssociation
43517
+ """
43518
+ return self._RoutePolicyAssociationSet
43519
+
43520
+ @RoutePolicyAssociationSet.setter
43521
+ def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
43522
+ self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
43523
+
43524
+ @property
43525
+ def CreatedTime(self):
43526
+ r"""Creation time.
43527
+
43528
+ Note: This field may return null, indicating that no valid value was found.
43529
+ :rtype: str
43530
+ """
43531
+ return self._CreatedTime
43532
+
43533
+ @CreatedTime.setter
43534
+ def CreatedTime(self, CreatedTime):
43535
+ self._CreatedTime = CreatedTime
43536
+
43537
+ @property
43538
+ def TagSet(self):
43539
+ r"""Tag key-value pair.
43540
+ :rtype: list of Tag
43541
+ """
43542
+ return self._TagSet
43543
+
43544
+ @TagSet.setter
43545
+ def TagSet(self, TagSet):
43546
+ self._TagSet = TagSet
43547
+
43548
+
43549
+ def _deserialize(self, params):
43550
+ self._RoutePolicyId = params.get("RoutePolicyId")
43551
+ self._RoutePolicyName = params.get("RoutePolicyName")
43552
+ self._RoutePolicyDescription = params.get("RoutePolicyDescription")
43553
+ if params.get("RoutePolicyEntrySet") is not None:
43554
+ self._RoutePolicyEntrySet = []
43555
+ for item in params.get("RoutePolicyEntrySet"):
43556
+ obj = RoutePolicyEntry()
43557
+ obj._deserialize(item)
43558
+ self._RoutePolicyEntrySet.append(obj)
43559
+ if params.get("RoutePolicyAssociationSet") is not None:
43560
+ self._RoutePolicyAssociationSet = []
43561
+ for item in params.get("RoutePolicyAssociationSet"):
43562
+ obj = RoutePolicyAssociation()
43563
+ obj._deserialize(item)
43564
+ self._RoutePolicyAssociationSet.append(obj)
43565
+ self._CreatedTime = params.get("CreatedTime")
43566
+ if params.get("TagSet") is not None:
43567
+ self._TagSet = []
43568
+ for item in params.get("TagSet"):
43569
+ obj = Tag()
43570
+ obj._deserialize(item)
43571
+ self._TagSet.append(obj)
43572
+ memeber_set = set(params.keys())
43573
+ for name, value in vars(self).items():
43574
+ property_name = name[1:]
43575
+ if property_name in memeber_set:
43576
+ memeber_set.remove(property_name)
43577
+ if len(memeber_set) > 0:
43578
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43579
+
43580
+
43581
+
43582
+ class RoutePolicyAssociation(AbstractModel):
43583
+ r"""Route reception policy binding. used to bind the route table and route reception policy and specify the binding priority.
43584
+
43585
+ """
43586
+
43587
+ def __init__(self):
43588
+ r"""
43589
+ :param _RouteTableId: Unique route table ID.
43590
+ :type RouteTableId: str
43591
+ :param _RoutePolicyId: Specifies the unique ID of the route reception policy.
43592
+ :type RoutePolicyId: str
43593
+ :param _Priority: Priority.
43594
+ :type Priority: int
43595
+ """
43596
+ self._RouteTableId = None
43597
+ self._RoutePolicyId = None
43598
+ self._Priority = None
43599
+
43600
+ @property
43601
+ def RouteTableId(self):
43602
+ r"""Unique route table ID.
43603
+ :rtype: str
43604
+ """
43605
+ return self._RouteTableId
43606
+
43607
+ @RouteTableId.setter
43608
+ def RouteTableId(self, RouteTableId):
43609
+ self._RouteTableId = RouteTableId
43610
+
43611
+ @property
43612
+ def RoutePolicyId(self):
43613
+ r"""Specifies the unique ID of the route reception policy.
43614
+ :rtype: str
43615
+ """
43616
+ return self._RoutePolicyId
43617
+
43618
+ @RoutePolicyId.setter
43619
+ def RoutePolicyId(self, RoutePolicyId):
43620
+ self._RoutePolicyId = RoutePolicyId
43621
+
43622
+ @property
43623
+ def Priority(self):
43624
+ r"""Priority.
43625
+ :rtype: int
43626
+ """
43627
+ return self._Priority
43628
+
43629
+ @Priority.setter
43630
+ def Priority(self, Priority):
43631
+ self._Priority = Priority
43632
+
43633
+
43634
+ def _deserialize(self, params):
43635
+ self._RouteTableId = params.get("RouteTableId")
43636
+ self._RoutePolicyId = params.get("RoutePolicyId")
43637
+ self._Priority = params.get("Priority")
43638
+ memeber_set = set(params.keys())
43639
+ for name, value in vars(self).items():
43640
+ property_name = name[1:]
43641
+ if property_name in memeber_set:
43642
+ memeber_set.remove(property_name)
43643
+ if len(memeber_set) > 0:
43644
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43645
+
43646
+
43647
+
43648
+ class RoutePolicyEntry(AbstractModel):
43649
+ r"""Route reception policy entry.
43650
+
43651
+ """
43652
+
43653
+ def __init__(self):
43654
+ r"""
43655
+ :param _RoutePolicyEntryId: Specifies the unique ID of the IPv4 routing strategy entry.
43656
+ Note: This field may return null, indicating that no valid value was found.
43657
+ :type RoutePolicyEntryId: str
43658
+ :param _CidrBlock: Destination ip range.
43659
+ Note: This field may return null, indicating that no valid value was found.
43660
+ :type CidrBlock: str
43661
+ :param _Description: Describes the routing strategy rule.
43662
+ Note: This field may return null, indicating that no valid value was found.
43663
+ :type Description: str
43664
+ :param _RouteType: Routing Type
43665
+
43666
+ Specifies the USER-customized data type.
43667
+ NETD: specifies the route for network detection.
43668
+ CCN: CCN route.
43669
+ Note: This field may return null, indicating that no valid value was found.
43670
+ :type RouteType: str
43671
+ :param _GatewayType: Next hop type. types currently supported:.
43672
+ CVM: cloud virtual machine with public network gateway type.
43673
+ VPN: vpn gateway.
43674
+ DIRECTCONNECT: direct connect gateway.
43675
+ PEERCONNECTION: peering connection.
43676
+ HAVIP: high availability virtual ip.
43677
+ NAT: specifies the nat gateway.
43678
+ EIP: specifies the public ip address of the cloud virtual machine.
43679
+ LOCAL_GATEWAY: specifies the local gateway.
43680
+ PVGW: pvgw gateway.
43681
+ Note: This field may return null, indicating that no valid value was found.
43682
+ :type GatewayType: str
43683
+ :param _GatewayId: Gateway unique ID.
43684
+ Note: This field may return null, indicating that no valid value was found.
43685
+ :type GatewayId: str
43686
+ :param _Priority: Priority. a smaller value indicates a higher priority.
43687
+ Note: This field may return null, indicating that no valid value was found.
43688
+ :type Priority: int
43689
+ :param _Action: Action.
43690
+ DROP: drop.
43691
+ DISABLE: receive and disable.
43692
+ ACCEPT: receive and enable.
43693
+ Note: This field may return null, indicating that no valid value was found.
43694
+ :type Action: str
43695
+ :param _CreatedTime: Creation time.
43696
+
43697
+ Note: This field may return null, indicating that no valid value was found.
43698
+ :type CreatedTime: str
43699
+ :param _Region: Specifies the region.
43700
+ Note: This field may return null, indicating that no valid value was found.
43701
+ :type Region: str
43702
+ """
43703
+ self._RoutePolicyEntryId = None
43704
+ self._CidrBlock = None
43705
+ self._Description = None
43706
+ self._RouteType = None
43707
+ self._GatewayType = None
43708
+ self._GatewayId = None
43709
+ self._Priority = None
43710
+ self._Action = None
43711
+ self._CreatedTime = None
43712
+ self._Region = None
43713
+
43714
+ @property
43715
+ def RoutePolicyEntryId(self):
43716
+ r"""Specifies the unique ID of the IPv4 routing strategy entry.
43717
+ Note: This field may return null, indicating that no valid value was found.
43718
+ :rtype: str
43719
+ """
43720
+ return self._RoutePolicyEntryId
43721
+
43722
+ @RoutePolicyEntryId.setter
43723
+ def RoutePolicyEntryId(self, RoutePolicyEntryId):
43724
+ self._RoutePolicyEntryId = RoutePolicyEntryId
43725
+
43726
+ @property
43727
+ def CidrBlock(self):
43728
+ r"""Destination ip range.
43729
+ Note: This field may return null, indicating that no valid value was found.
43730
+ :rtype: str
43731
+ """
43732
+ return self._CidrBlock
43733
+
43734
+ @CidrBlock.setter
43735
+ def CidrBlock(self, CidrBlock):
43736
+ self._CidrBlock = CidrBlock
43737
+
43738
+ @property
43739
+ def Description(self):
43740
+ r"""Describes the routing strategy rule.
43741
+ Note: This field may return null, indicating that no valid value was found.
43742
+ :rtype: str
43743
+ """
43744
+ return self._Description
43745
+
43746
+ @Description.setter
43747
+ def Description(self, Description):
43748
+ self._Description = Description
43749
+
43750
+ @property
43751
+ def RouteType(self):
43752
+ r"""Routing Type
43753
+
43754
+ Specifies the USER-customized data type.
43755
+ NETD: specifies the route for network detection.
43756
+ CCN: CCN route.
43757
+ Note: This field may return null, indicating that no valid value was found.
43758
+ :rtype: str
43759
+ """
43760
+ return self._RouteType
43761
+
43762
+ @RouteType.setter
43763
+ def RouteType(self, RouteType):
43764
+ self._RouteType = RouteType
43765
+
43766
+ @property
43767
+ def GatewayType(self):
43768
+ r"""Next hop type. types currently supported:.
43769
+ CVM: cloud virtual machine with public network gateway type.
43770
+ VPN: vpn gateway.
43771
+ DIRECTCONNECT: direct connect gateway.
43772
+ PEERCONNECTION: peering connection.
43773
+ HAVIP: high availability virtual ip.
43774
+ NAT: specifies the nat gateway.
43775
+ EIP: specifies the public ip address of the cloud virtual machine.
43776
+ LOCAL_GATEWAY: specifies the local gateway.
43777
+ PVGW: pvgw gateway.
43778
+ Note: This field may return null, indicating that no valid value was found.
43779
+ :rtype: str
43780
+ """
43781
+ return self._GatewayType
43782
+
43783
+ @GatewayType.setter
43784
+ def GatewayType(self, GatewayType):
43785
+ self._GatewayType = GatewayType
43786
+
43787
+ @property
43788
+ def GatewayId(self):
43789
+ r"""Gateway unique ID.
43790
+ Note: This field may return null, indicating that no valid value was found.
43791
+ :rtype: str
43792
+ """
43793
+ return self._GatewayId
43794
+
43795
+ @GatewayId.setter
43796
+ def GatewayId(self, GatewayId):
43797
+ self._GatewayId = GatewayId
43798
+
43799
+ @property
43800
+ def Priority(self):
43801
+ r"""Priority. a smaller value indicates a higher priority.
43802
+ Note: This field may return null, indicating that no valid value was found.
43803
+ :rtype: int
43804
+ """
43805
+ return self._Priority
43806
+
43807
+ @Priority.setter
43808
+ def Priority(self, Priority):
43809
+ self._Priority = Priority
43810
+
43811
+ @property
43812
+ def Action(self):
43813
+ r"""Action.
43814
+ DROP: drop.
43815
+ DISABLE: receive and disable.
43816
+ ACCEPT: receive and enable.
43817
+ Note: This field may return null, indicating that no valid value was found.
43818
+ :rtype: str
43819
+ """
43820
+ return self._Action
43821
+
43822
+ @Action.setter
43823
+ def Action(self, Action):
43824
+ self._Action = Action
43825
+
43826
+ @property
43827
+ def CreatedTime(self):
43828
+ r"""Creation time.
43829
+
43830
+ Note: This field may return null, indicating that no valid value was found.
43831
+ :rtype: str
43832
+ """
43833
+ return self._CreatedTime
43834
+
43835
+ @CreatedTime.setter
43836
+ def CreatedTime(self, CreatedTime):
43837
+ self._CreatedTime = CreatedTime
43838
+
43839
+ @property
43840
+ def Region(self):
43841
+ r"""Specifies the region.
43842
+ Note: This field may return null, indicating that no valid value was found.
43843
+ :rtype: str
43844
+ """
43845
+ return self._Region
43846
+
43847
+ @Region.setter
43848
+ def Region(self, Region):
43849
+ self._Region = Region
43850
+
43851
+
43852
+ def _deserialize(self, params):
43853
+ self._RoutePolicyEntryId = params.get("RoutePolicyEntryId")
43854
+ self._CidrBlock = params.get("CidrBlock")
43855
+ self._Description = params.get("Description")
43856
+ self._RouteType = params.get("RouteType")
43857
+ self._GatewayType = params.get("GatewayType")
43858
+ self._GatewayId = params.get("GatewayId")
43859
+ self._Priority = params.get("Priority")
43860
+ self._Action = params.get("Action")
43861
+ self._CreatedTime = params.get("CreatedTime")
43862
+ self._Region = params.get("Region")
43863
+ memeber_set = set(params.keys())
43864
+ for name, value in vars(self).items():
43865
+ property_name = name[1:]
43866
+ if property_name in memeber_set:
43867
+ memeber_set.remove(property_name)
43868
+ if len(memeber_set) > 0:
43869
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43870
+
43871
+
43872
+
42291
43873
  class RouteTable(AbstractModel):
42292
43874
  r"""Route table object
42293
43875
 
@@ -44549,10 +46131,8 @@ class Tag(AbstractModel):
44549
46131
  def __init__(self):
44550
46132
  r"""
44551
46133
  :param _Key: Tag key
44552
- Note: This field may return null, indicating no valid value.
44553
46134
  :type Key: str
44554
46135
  :param _Value: Tag value
44555
- Note: This field may return null, indicating no valid value.
44556
46136
  :type Value: str
44557
46137
  """
44558
46138
  self._Key = None
@@ -44561,7 +46141,6 @@ Note: This field may return null, indicating no valid value.
44561
46141
  @property
44562
46142
  def Key(self):
44563
46143
  r"""Tag key
44564
- Note: This field may return null, indicating no valid value.
44565
46144
  :rtype: str
44566
46145
  """
44567
46146
  return self._Key
@@ -44573,7 +46152,6 @@ Note: This field may return null, indicating no valid value.
44573
46152
  @property
44574
46153
  def Value(self):
44575
46154
  r"""Tag value
44576
- Note: This field may return null, indicating no valid value.
44577
46155
  :rtype: str
44578
46156
  """
44579
46157
  return self._Value