alibabacloud-vpc20160428 6.11.0__tar.gz → 6.11.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/ChangeLog.md +22 -0
  2. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/PKG-INFO +1 -1
  3. alibabacloud_vpc20160428-6.11.1/alibabacloud_vpc20160428/__init__.py +1 -0
  4. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428/client.py +4 -20
  5. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428/models.py +96 -58
  6. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/setup.py +1 -1
  8. alibabacloud_vpc20160428-6.11.0/alibabacloud_vpc20160428/__init__.py +0 -1
  9. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/LICENSE +0 -0
  10. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/MANIFEST.in +0 -0
  11. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/README-CN.md +0 -0
  12. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/README.md +0 -0
  13. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428.egg-info/requires.txt +0 -0
  16. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
  17. {alibabacloud_vpc20160428-6.11.0 → alibabacloud_vpc20160428-6.11.1}/setup.cfg +0 -0
@@ -1,3 +1,25 @@
1
+ 2025-02-21 Version: 6.11.0
2
+ - Support API ModifyEipForwardMode.
3
+ - Update API AssociateVpcCidrBlock: update response param.
4
+ - Update API CreateFlowLog: add param TrafficAnalyzerId.
5
+ - Update API CreateFlowLog: update param LogStoreName.
6
+ - Update API CreateFlowLog: update param ProjectName.
7
+ - Update API CreateRouteEntries: update param RouteEntries.
8
+ - Update API DeleteRouteEntries: update param RouteEntries.
9
+ - Update API DeleteVSwitch: update response param.
10
+ - Update API DeletionProtection: update response param.
11
+ - Update API DescribeEipAddresses: update response param.
12
+ - Update API DescribeFlowLogs: update response param.
13
+ - Update API DescribeIpv6Gateways: update response param.
14
+ - Update API DescribeRouteEntryList: update param DestCidrBlockList.
15
+ - Update API GetIpv4GatewayAttribute: update response param.
16
+ - Update API ListDhcpOptionsSets: update response param.
17
+ - Update API ListTrafficMirrorSessions: update response param.
18
+ - Update API ModifyFlowLogAttribute: add param DisableLogDelivery.
19
+ - Update API ModifyFlowLogAttribute: add param EnableTrafficAnalyze.
20
+ - Update API ModifyFlowLogAttribute: add param TrafficAnalyzerId.
21
+
22
+
1
23
  2024-12-30 Version: 6.10.1
2
24
  - Update API DescribeNatGatewayAssociateNetworkInterfaces: update response param.
3
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_vpc20160428
3
- Version: 6.11.0
3
+ Version: 6.11.1
4
4
  Summary: Alibaba Cloud Virtual Private Cloud (20160428) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '6.11.1'
@@ -8215,8 +8215,6 @@ class Client(OpenApiClient):
8215
8215
  query['ResourceType'] = request.resource_type
8216
8216
  if not UtilClient.is_unset(request.tag):
8217
8217
  query['Tag'] = request.tag
8218
- if not UtilClient.is_unset(request.traffic_analyzer_id):
8219
- query['TrafficAnalyzerId'] = request.traffic_analyzer_id
8220
8218
  if not UtilClient.is_unset(request.traffic_path):
8221
8219
  query['TrafficPath'] = request.traffic_path
8222
8220
  if not UtilClient.is_unset(request.traffic_type):
@@ -8294,8 +8292,6 @@ class Client(OpenApiClient):
8294
8292
  query['ResourceType'] = request.resource_type
8295
8293
  if not UtilClient.is_unset(request.tag):
8296
8294
  query['Tag'] = request.tag
8297
- if not UtilClient.is_unset(request.traffic_analyzer_id):
8298
- query['TrafficAnalyzerId'] = request.traffic_analyzer_id
8299
8295
  if not UtilClient.is_unset(request.traffic_path):
8300
8296
  query['TrafficPath'] = request.traffic_path
8301
8297
  if not UtilClient.is_unset(request.traffic_type):
@@ -44911,7 +44907,7 @@ class Client(OpenApiClient):
44911
44907
  runtime: util_models.RuntimeOptions,
44912
44908
  ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
44913
44909
  """
44914
- @summary 修改eip转发类型
44910
+ @summary Modifies the EIP forwarding mode.
44915
44911
 
44916
44912
  @param request: ModifyEipForwardModeRequest
44917
44913
  @param runtime: runtime options for this request RuntimeOptions
@@ -44966,7 +44962,7 @@ class Client(OpenApiClient):
44966
44962
  runtime: util_models.RuntimeOptions,
44967
44963
  ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
44968
44964
  """
44969
- @summary 修改eip转发类型
44965
+ @summary Modifies the EIP forwarding mode.
44970
44966
 
44971
44967
  @param request: ModifyEipForwardModeRequest
44972
44968
  @param runtime: runtime options for this request RuntimeOptions
@@ -45020,7 +45016,7 @@ class Client(OpenApiClient):
45020
45016
  request: vpc_20160428_models.ModifyEipForwardModeRequest,
45021
45017
  ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
45022
45018
  """
45023
- @summary 修改eip转发类型
45019
+ @summary Modifies the EIP forwarding mode.
45024
45020
 
45025
45021
  @param request: ModifyEipForwardModeRequest
45026
45022
  @return: ModifyEipForwardModeResponse
@@ -45033,7 +45029,7 @@ class Client(OpenApiClient):
45033
45029
  request: vpc_20160428_models.ModifyEipForwardModeRequest,
45034
45030
  ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
45035
45031
  """
45036
- @summary 修改eip转发类型
45032
+ @summary Modifies the EIP forwarding mode.
45037
45033
 
45038
45034
  @param request: ModifyEipForwardModeRequest
45039
45035
  @return: ModifyEipForwardModeResponse
@@ -45828,10 +45824,6 @@ class Client(OpenApiClient):
45828
45824
  query['AggregationInterval'] = request.aggregation_interval
45829
45825
  if not UtilClient.is_unset(request.description):
45830
45826
  query['Description'] = request.description
45831
- if not UtilClient.is_unset(request.disable_log_delivery):
45832
- query['DisableLogDelivery'] = request.disable_log_delivery
45833
- if not UtilClient.is_unset(request.enable_traffic_analyze):
45834
- query['EnableTrafficAnalyze'] = request.enable_traffic_analyze
45835
45827
  if not UtilClient.is_unset(request.flow_log_id):
45836
45828
  query['FlowLogId'] = request.flow_log_id
45837
45829
  if not UtilClient.is_unset(request.flow_log_name):
@@ -45848,8 +45840,6 @@ class Client(OpenApiClient):
45848
45840
  query['ResourceOwnerAccount'] = request.resource_owner_account
45849
45841
  if not UtilClient.is_unset(request.resource_owner_id):
45850
45842
  query['ResourceOwnerId'] = request.resource_owner_id
45851
- if not UtilClient.is_unset(request.traffic_analyzer_id):
45852
- query['TrafficAnalyzerId'] = request.traffic_analyzer_id
45853
45843
  req = open_api_models.OpenApiRequest(
45854
45844
  query=OpenApiUtilClient.query(query)
45855
45845
  )
@@ -45898,10 +45888,6 @@ class Client(OpenApiClient):
45898
45888
  query['AggregationInterval'] = request.aggregation_interval
45899
45889
  if not UtilClient.is_unset(request.description):
45900
45890
  query['Description'] = request.description
45901
- if not UtilClient.is_unset(request.disable_log_delivery):
45902
- query['DisableLogDelivery'] = request.disable_log_delivery
45903
- if not UtilClient.is_unset(request.enable_traffic_analyze):
45904
- query['EnableTrafficAnalyze'] = request.enable_traffic_analyze
45905
45891
  if not UtilClient.is_unset(request.flow_log_id):
45906
45892
  query['FlowLogId'] = request.flow_log_id
45907
45893
  if not UtilClient.is_unset(request.flow_log_name):
@@ -45918,8 +45904,6 @@ class Client(OpenApiClient):
45918
45904
  query['ResourceOwnerAccount'] = request.resource_owner_account
45919
45905
  if not UtilClient.is_unset(request.resource_owner_id):
45920
45906
  query['ResourceOwnerId'] = request.resource_owner_id
45921
- if not UtilClient.is_unset(request.traffic_analyzer_id):
45922
- query['TrafficAnalyzerId'] = request.traffic_analyzer_id
45923
45907
  req = open_api_models.OpenApiRequest(
45924
45908
  query=OpenApiUtilClient.query(query)
45925
45909
  )
@@ -9650,7 +9650,6 @@ class CreateFlowLogRequest(TeaModel):
9650
9650
  resource_owner_id: int = None,
9651
9651
  resource_type: str = None,
9652
9652
  tag: List[CreateFlowLogRequestTag] = None,
9653
- traffic_analyzer_id: str = None,
9654
9653
  traffic_path: List[str] = None,
9655
9654
  traffic_type: str = None,
9656
9655
  ):
@@ -9701,7 +9700,6 @@ class CreateFlowLogRequest(TeaModel):
9701
9700
  self.resource_type = resource_type
9702
9701
  # The tag of the resource.
9703
9702
  self.tag = tag
9704
- self.traffic_analyzer_id = traffic_analyzer_id
9705
9703
  # The scope of the traffic that you want to capture. Valid values:
9706
9704
  #
9707
9705
  # * **all**: all traffic.
@@ -9760,8 +9758,6 @@ class CreateFlowLogRequest(TeaModel):
9760
9758
  if self.tag is not None:
9761
9759
  for k in self.tag:
9762
9760
  result['Tag'].append(k.to_map() if k else None)
9763
- if self.traffic_analyzer_id is not None:
9764
- result['TrafficAnalyzerId'] = self.traffic_analyzer_id
9765
9761
  if self.traffic_path is not None:
9766
9762
  result['TrafficPath'] = self.traffic_path
9767
9763
  if self.traffic_type is not None:
@@ -9803,8 +9799,6 @@ class CreateFlowLogRequest(TeaModel):
9803
9799
  for k in m.get('Tag'):
9804
9800
  temp_model = CreateFlowLogRequestTag()
9805
9801
  self.tag.append(temp_model.from_map(k))
9806
- if m.get('TrafficAnalyzerId') is not None:
9807
- self.traffic_analyzer_id = m.get('TrafficAnalyzerId')
9808
9802
  if m.get('TrafficPath') is not None:
9809
9803
  self.traffic_path = m.get('TrafficPath')
9810
9804
  if m.get('TrafficType') is not None:
@@ -15557,7 +15551,7 @@ class CreatePublicIpAddressPoolRequest(TeaModel):
15557
15551
  self.client_token = client_token
15558
15552
  # The description of the IP address pool.
15559
15553
  #
15560
- # This parameter is optional. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
15554
+ # The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
15561
15555
  self.description = description
15562
15556
  # Specifies whether to precheck only this request. Valid values:
15563
15557
  #
@@ -15584,7 +15578,7 @@ class CreatePublicIpAddressPoolRequest(TeaModel):
15584
15578
  self.isp = isp
15585
15579
  # The name of the IP address pool.
15586
15580
  #
15587
- # This parameter is optional. The name must be 1 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with `http://` or `https://`.
15581
+ # The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
15588
15582
  self.name = name
15589
15583
  self.owner_account = owner_account
15590
15584
  self.owner_id = owner_id
@@ -15697,6 +15691,7 @@ class CreatePublicIpAddressPoolResponseBody(TeaModel):
15697
15691
  request_id: str = None,
15698
15692
  resource_group_id: str = None,
15699
15693
  ):
15694
+ # The ID of the IP address pool.
15700
15695
  self.public_ip_address_pool_id = public_ip_address_pool_id
15701
15696
  # The ID of the IP address pool.
15702
15697
  self.pulbic_ip_address_pool_id = pulbic_ip_address_pool_id
@@ -16198,7 +16193,7 @@ class CreateRouteEntryRequest(TeaModel):
16198
16193
  # * **VpcPeer**: a VPC peering connection.
16199
16194
  # * **Ipv4Gateway**: an IPv4 gateway.
16200
16195
  # * **GatewayEndpoint**: a gateway endpoint.
16201
- # * **Ecr**: a Express Connect Router (ECR).
16196
+ # * **Ecr**: an Express Connect Router (ECR).
16202
16197
  self.next_hop_type = next_hop_type
16203
16198
  self.owner_account = owner_account
16204
16199
  self.owner_id = owner_id
@@ -36328,6 +36323,12 @@ class DescribeEipAddressesRequest(TeaModel):
36328
36323
  self.security_protection_enabled = security_protection_enabled
36329
36324
  # The ID of the contiguous EIP group.
36330
36325
  self.segment_instance_id = segment_instance_id
36326
+ # Indicates whether the instance is managed. Valid values:
36327
+ #
36328
+ # * **true**: yes
36329
+ # * **false**: no.
36330
+ #
36331
+ # If you do not specify this parameter, all instances are queried.
36331
36332
  self.service_managed = service_managed
36332
36333
  # The state of the EIP. Valid values:
36333
36334
  #
@@ -36816,11 +36817,13 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress(TeaModel):
36816
36817
  #
36817
36818
  # This value is returned only when you query contiguous EIPs.
36818
36819
  self.segment_instance_id = segment_instance_id
36820
+ # The ID of the service provider to which the managed instance belongs.
36821
+ # > This is only valid when the ServiceManaged parameter is set to True.
36819
36822
  self.service_id = service_id
36820
- # Indicates whether the resource is created by the service account. Valid values:
36823
+ # Indicates whether the instance is managed. Valid values:
36821
36824
  #
36822
- # * **0**\
36823
- # * **1**\
36825
+ # * **1**: yes
36826
+ # * **0**: no
36824
36827
  self.service_managed = service_managed
36825
36828
  # The status of the EIP. Valid values:
36826
36829
  #
@@ -37079,7 +37082,7 @@ class DescribeEipAddressesResponseBody(TeaModel):
37079
37082
  request_id: str = None,
37080
37083
  total_count: int = None,
37081
37084
  ):
37082
- # The details about the EIPs.
37085
+ # Details of the EIPs.
37083
37086
  self.eip_addresses = eip_addresses
37084
37087
  # The page number.
37085
37088
  self.page_number = page_number
@@ -40298,7 +40301,6 @@ class DescribeFlowLogsResponseBodyFlowLogsFlowLog(TeaModel):
40298
40301
  service_type: str = None,
40299
40302
  status: str = None,
40300
40303
  tags: DescribeFlowLogsResponseBodyFlowLogsFlowLogTags = None,
40301
- traffic_analyzer_id: str = None,
40302
40304
  traffic_path: DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath = None,
40303
40305
  traffic_type: str = None,
40304
40306
  ):
@@ -40359,7 +40361,6 @@ class DescribeFlowLogsResponseBodyFlowLogsFlowLog(TeaModel):
40359
40361
  self.status = status
40360
40362
  # The list of tags.
40361
40363
  self.tags = tags
40362
- self.traffic_analyzer_id = traffic_analyzer_id
40363
40364
  # The sampling scope of the traffic that is collected. Valid values:
40364
40365
  #
40365
40366
  # * **all** (default value): all traffic
@@ -40422,8 +40423,6 @@ class DescribeFlowLogsResponseBodyFlowLogsFlowLog(TeaModel):
40422
40423
  result['Status'] = self.status
40423
40424
  if self.tags is not None:
40424
40425
  result['Tags'] = self.tags.to_map()
40425
- if self.traffic_analyzer_id is not None:
40426
- result['TrafficAnalyzerId'] = self.traffic_analyzer_id
40427
40426
  if self.traffic_path is not None:
40428
40427
  result['TrafficPath'] = self.traffic_path.to_map()
40429
40428
  if self.traffic_type is not None:
@@ -40469,8 +40468,6 @@ class DescribeFlowLogsResponseBodyFlowLogsFlowLog(TeaModel):
40469
40468
  if m.get('Tags') is not None:
40470
40469
  temp_model = DescribeFlowLogsResponseBodyFlowLogsFlowLogTags()
40471
40470
  self.tags = temp_model.from_map(m['Tags'])
40472
- if m.get('TrafficAnalyzerId') is not None:
40473
- self.traffic_analyzer_id = m.get('TrafficAnalyzerId')
40474
40471
  if m.get('TrafficPath') is not None:
40475
40472
  temp_model = DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath()
40476
40473
  self.traffic_path = temp_model.from_map(m['TrafficPath'])
@@ -50068,6 +50065,10 @@ class DescribePublicIpAddressRequest(TeaModel):
50068
50065
  resource_owner_account: str = None,
50069
50066
  resource_owner_id: int = None,
50070
50067
  ):
50068
+ # The IP version. Valid values:
50069
+ #
50070
+ # * **IPv4** (default)
50071
+ # * **IPv6**\
50071
50072
  self.ip_version = ip_version
50072
50073
  self.owner_account = owner_account
50073
50074
  self.owner_id = owner_id
@@ -83944,12 +83945,29 @@ class ModifyEipForwardModeRequest(TeaModel):
83944
83945
  resource_owner_account: str = None,
83945
83946
  resource_owner_id: int = None,
83946
83947
  ):
83948
+ # The client token that is used to ensure the idempotence of the request.
83949
+ #
83950
+ # You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
83951
+ #
83952
+ # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **RequestId** may be different for each request.
83947
83953
  self.client_token = client_token
83954
+ # The ID of the EIP whose attributes you want to modify.
83955
+ #
83948
83956
  # This parameter is required.
83949
83957
  self.instance_id = instance_id
83958
+ # The association mode. Valid values:
83959
+ #
83960
+ # * **NAT** (default): the standard NAT mode.
83961
+ # * **MULTI_BINDED**: the multi-EIP-to-ENI mode.
83962
+ # * **BINDED**: the cut-through mode.
83963
+ #
83964
+ # > This parameter is required only if **InstanceType** is set to **NetworkInterface**.
83965
+ #
83950
83966
  # This parameter is required.
83951
83967
  self.mode = mode
83952
83968
  self.owner_id = owner_id
83969
+ # The ID of the region to which the EIP belongs. You can call the DescribeRegions operation to query the most recent region list.
83970
+ #
83953
83971
  # This parameter is required.
83954
83972
  self.region_id = region_id
83955
83973
  self.resource_owner_account = resource_owner_account
@@ -84004,6 +84022,7 @@ class ModifyEipForwardModeResponseBody(TeaModel):
84004
84022
  self,
84005
84023
  request_id: str = None,
84006
84024
  ):
84025
+ # The request ID.
84007
84026
  self.request_id = request_id
84008
84027
 
84009
84028
  def validate(self):
@@ -85093,8 +85112,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85093
85112
  self,
85094
85113
  aggregation_interval: int = None,
85095
85114
  description: str = None,
85096
- disable_log_delivery: str = None,
85097
- enable_traffic_analyze: str = None,
85098
85115
  flow_log_id: str = None,
85099
85116
  flow_log_name: str = None,
85100
85117
  ip_version: str = None,
@@ -85103,7 +85120,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85103
85120
  region_id: str = None,
85104
85121
  resource_owner_account: str = None,
85105
85122
  resource_owner_id: int = None,
85106
- traffic_analyzer_id: str = None,
85107
85123
  ):
85108
85124
  # The new sampling interval of the flow log. Unit: minutes. Valid values: **1**, **5**, and **10**.
85109
85125
  self.aggregation_interval = aggregation_interval
@@ -85111,8 +85127,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85111
85127
  #
85112
85128
  # The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
85113
85129
  self.description = description
85114
- self.disable_log_delivery = disable_log_delivery
85115
- self.enable_traffic_analyze = enable_traffic_analyze
85116
85130
  # The ID of the flow log.
85117
85131
  #
85118
85132
  # This parameter is required.
@@ -85132,7 +85146,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85132
85146
  self.region_id = region_id
85133
85147
  self.resource_owner_account = resource_owner_account
85134
85148
  self.resource_owner_id = resource_owner_id
85135
- self.traffic_analyzer_id = traffic_analyzer_id
85136
85149
 
85137
85150
  def validate(self):
85138
85151
  pass
@@ -85147,10 +85160,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85147
85160
  result['AggregationInterval'] = self.aggregation_interval
85148
85161
  if self.description is not None:
85149
85162
  result['Description'] = self.description
85150
- if self.disable_log_delivery is not None:
85151
- result['DisableLogDelivery'] = self.disable_log_delivery
85152
- if self.enable_traffic_analyze is not None:
85153
- result['EnableTrafficAnalyze'] = self.enable_traffic_analyze
85154
85163
  if self.flow_log_id is not None:
85155
85164
  result['FlowLogId'] = self.flow_log_id
85156
85165
  if self.flow_log_name is not None:
@@ -85167,8 +85176,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85167
85176
  result['ResourceOwnerAccount'] = self.resource_owner_account
85168
85177
  if self.resource_owner_id is not None:
85169
85178
  result['ResourceOwnerId'] = self.resource_owner_id
85170
- if self.traffic_analyzer_id is not None:
85171
- result['TrafficAnalyzerId'] = self.traffic_analyzer_id
85172
85179
  return result
85173
85180
 
85174
85181
  def from_map(self, m: dict = None):
@@ -85177,10 +85184,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85177
85184
  self.aggregation_interval = m.get('AggregationInterval')
85178
85185
  if m.get('Description') is not None:
85179
85186
  self.description = m.get('Description')
85180
- if m.get('DisableLogDelivery') is not None:
85181
- self.disable_log_delivery = m.get('DisableLogDelivery')
85182
- if m.get('EnableTrafficAnalyze') is not None:
85183
- self.enable_traffic_analyze = m.get('EnableTrafficAnalyze')
85184
85187
  if m.get('FlowLogId') is not None:
85185
85188
  self.flow_log_id = m.get('FlowLogId')
85186
85189
  if m.get('FlowLogName') is not None:
@@ -85197,8 +85200,6 @@ class ModifyFlowLogAttributeRequest(TeaModel):
85197
85200
  self.resource_owner_account = m.get('ResourceOwnerAccount')
85198
85201
  if m.get('ResourceOwnerId') is not None:
85199
85202
  self.resource_owner_id = m.get('ResourceOwnerId')
85200
- if m.get('TrafficAnalyzerId') is not None:
85201
- self.traffic_analyzer_id = m.get('TrafficAnalyzerId')
85202
85203
  return self
85203
85204
 
85204
85205
 
@@ -90366,11 +90367,13 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig(TeaM
90366
90367
  ):
90367
90368
  # The local autonomous system number (ASN). Valid values: **1** to **4294967295**.
90368
90369
  self.local_asn = local_asn
90369
- # The BGP IP address of the tunnel. The IP address must fall into the **CIDR block** of the tunnel.
90370
+ # The BGP IP address of the tunnel. The address needs to be an IP address within the **TunnelCidr**.
90370
90371
  self.local_bgp_ip = local_bgp_ip
90371
90372
  # The CIDR block of the tunnel.
90372
90373
  #
90373
- # The CIDR block must fall within the 169.254.0.0/16 range. The subnet mask of the CIDR block must be 30 bits in length.
90374
+ # The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
90375
+ #
90376
+ # > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
90374
90377
  self.tunnel_cidr = tunnel_cidr
90375
90378
 
90376
90379
  def validate(self):
@@ -90416,15 +90419,30 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig(TeaM
90416
90419
  ):
90417
90420
  # The authentication algorithm that is used in IKE Phase 1 negotiations.
90418
90421
  #
90419
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90420
- # * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm3**.
90422
+ #
90423
+ # <props="china">
90424
+ #
90425
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90426
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, the valid value is **sm3**.
90427
+ #
90428
+ #
90429
+ # <props="intl">
90430
+ #
90431
+ # Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90421
90432
  self.ike_auth_alg = ike_auth_alg
90422
90433
  # The encryption algorithm that is used in IKE Phase 1 negotiations.
90423
90434
  #
90424
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90425
- # * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
90435
+ # <props="china">
90436
+ #
90437
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **aes**, **aes192**, **aes256**, **des**, and **3des**.
90438
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, set the value to **sm4**.
90439
+ #
90440
+ #
90441
+ # <props="intl">
90442
+ #
90443
+ # Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90426
90444
  self.ike_enc_alg = ike_enc_alg
90427
- # The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0 to 86400**.
90445
+ # The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
90428
90446
  self.ike_lifetime = ike_lifetime
90429
90447
  # The negotiation mode of IKE. Valid values:
90430
90448
  #
@@ -90435,16 +90453,16 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig(TeaM
90435
90453
  self.ike_pfs = ike_pfs
90436
90454
  # The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
90437
90455
  self.ike_version = ike_version
90438
- # The tunnel identifier. The identifier can be up to 100 characters in length, and supports FQDNs and IP addresses. The default value is the IP address of the tunnel.
90456
+ # The tunnel identifier. The identifier can be up to 100 characters in length and cannot contain spaces. It supports fully qualified domain names (FQDNs) and IP addresses. The default value is the IP address of the tunnel.
90439
90457
  self.local_id = local_id
90440
90458
  # The pre-shared key that is used to verify identities between the tunnel and peer.
90441
90459
  #
90442
- # * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
90443
- # * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) operation to query the pre-shared key that is automatically generated by the system.
90460
+ # * The key must be 1 to 100 characters in length, and can contain digits, and letters. It cannot contain spaces. ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
90461
+ # * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) operation to query the pre-shared key that is automatically generated by the system.
90444
90462
  #
90445
- # > The pre-shared key that is configured for the tunnel and the tunnel peer must be the same. Otherwise, the system cannot establish the tunnel.
90463
+ # > The pre-shared key that is configured for the tunnel and the tunnel peer must be the same. Otherwise, the system cannot establish the tunnel.
90446
90464
  self.psk = psk
90447
- # The peer identifier. The identifier can be up to 100 characters in length, and supports FQDNs and IP addresses. The default identifier is the IP address of the customer gateway associated with the tunnel.
90465
+ # The peer identifier. The identifier can be up to 100 characters in length, and cannot contain spaces. It supports FQDNs and IP addresses. The default identifier is the IP address of the customer gateway associated with the tunnel.
90448
90466
  self.remote_id = remote_id
90449
90467
 
90450
90468
  def validate(self):
@@ -90509,15 +90527,31 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig(Te
90509
90527
  ):
90510
90528
  # The authentication algorithm that is used in IPsec Phase 2 negotiations.
90511
90529
  #
90512
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90513
- # * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm3**.
90530
+ # <props="china">
90531
+ #
90532
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90533
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, set the value to **sm3**.
90534
+ #
90535
+ #
90536
+ #
90537
+ # <props="intl">
90538
+ #
90539
+ # Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90514
90540
  self.ipsec_auth_alg = ipsec_auth_alg
90515
90541
  # The encryption algorithm that is used in IPsec Phase 2 negotiations.
90516
90542
  #
90517
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90543
+ # <props="china">
90544
+ #
90545
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **aes**, **aes192**, **aes256**, **des**, and **3des**.
90518
90546
  # * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
90547
+ #
90548
+ #
90549
+ #
90550
+ # <props="intl">
90551
+ #
90552
+ # Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90519
90553
  self.ipsec_enc_alg = ipsec_enc_alg
90520
- # The SA lifetime as a result of Phase 2 negotiations. Unit: seconds. Valid values: **0 to 86400**.
90554
+ # The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0 to 86400**.
90521
90555
  self.ipsec_lifetime = ipsec_lifetime
90522
90556
  # The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
90523
90557
  self.ipsec_pfs = ipsec_pfs
@@ -90565,10 +90599,11 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecification(TeaModel):
90565
90599
  tunnel_ike_config: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig = None,
90566
90600
  tunnel_ipsec_config: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig = None,
90567
90601
  ):
90602
+ # The ID of the customer gateway associated with the tunnel.
90568
90603
  self.customer_gateway_id = customer_gateway_id
90569
- # Specifies whether to enable dead peer detection (DPD). Valid values: Valid values:
90604
+ # Specifies whether to enable dead peer detection (DPD). Valid values:
90570
90605
  #
90571
- # * **true** The IPsec initiator sends DPD packets to verify the existence and availability of the IPsec peer. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
90606
+ # * **true** The IPsec initiator sends DPD packets to check the IPsec peer is alive. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
90572
90607
  # * **false**: DPD is disabled. The IPsec initiator does not send DPD packets.
90573
90608
  self.enable_dpd = enable_dpd
90574
90609
  # Specifies whether to enable NAT traversal. Valid values:
@@ -90580,7 +90615,7 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecification(TeaModel):
90580
90615
  self.remote_ca_certificate = remote_ca_certificate
90581
90616
  # The Border Gateway Protocol (BGP) configurations of the tunnel.
90582
90617
  #
90583
- # If the BGP feature is not enabled for the tunnel, you must call the [ModifyVpnConnectionAttribute](https://help.aliyun.com/document_detail/120381.html) operation to enable the BGP feature for the tunnel and configure BGP.
90618
+ # If the BGP feature is not enabled for the tunnel, you must call the [ModifyVpnConnectionAttribute](https://help.aliyun.com/document_detail/120381.html) operation to enable the feature and configure BGP.
90584
90619
  self.tunnel_bgp_config = tunnel_bgp_config
90585
90620
  # The configurations of IKE Phase 1.
90586
90621
  self.tunnel_ike_config = tunnel_ike_config
@@ -95733,14 +95768,17 @@ class ModifyVpnGatewayAttributeResponseBody(TeaModel):
95733
95768
  #
95734
95769
  # If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two IP addresses to the VPN gateway to create two encrypted tunnels.
95735
95770
  self.internet_ip = internet_ip
95736
- # The IP address of the VPN gateway.
95771
+ # The private IP address of the vSwitch that is used by the system when the VPN gateway is deployed.
95737
95772
  #
95738
- # This parameter is returned only if the VPN gateway supports IPsec-VPN connections in single-tunnel mode.
95773
+ # The parameter is returned only for VPN gateways that support single-tunnel IPsec-VPN connections. The IPsec-VPN feature must be enabled.
95739
95774
  self.intranet_ip = intranet_ip
95740
95775
  # The name of the VPN gateway.
95741
95776
  self.name = name
95742
95777
  # The request ID.
95743
95778
  self.request_id = request_id
95779
+ # The ID of the resource group to which the VPN gateway belongs.
95780
+ #
95781
+ # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
95744
95782
  self.resource_group_id = resource_group_id
95745
95783
  # The maximum bandwidth of the VPN gateway. Unit: Mbit/s.
95746
95784
  self.spec = spec
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.11.0
3
+ Version: 6.11.1
4
4
  Summary: Alibaba Cloud Virtual Private Cloud (20160428) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_vpc20160428.
26
26
 
27
- Created on 21/02/2025
27
+ Created on 26/02/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '6.11.0'