alibabacloud-vpc20160428 6.6.5__py3-none-any.whl → 6.6.7__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.
@@ -9923,8 +9923,6 @@ class CreateFullNatEntryRequest(TeaModel):
9923
9923
  # This parameter is required.
9924
9924
  self.nat_ip = nat_ip
9925
9925
  # The frontend port to be modified in the mapping of FULLNAT port. Valid values: **1** to **65535**.
9926
- #
9927
- # This parameter is required.
9928
9926
  self.nat_ip_port = nat_ip_port
9929
9927
  # The elastic network interface (ENI) ID.
9930
9928
  #
@@ -11676,7 +11674,7 @@ class CreateIpsecServerRequest(TeaModel):
11676
11674
  #
11677
11675
  # The pre-shared key is used for identity authentication between the IPsec server and the client. The key must be 1 to 100 characters in length.
11678
11676
  #
11679
- # If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call the [ListIpsecServers](https://help.aliyun.com/document_detail/205453.html) operation to query the pre-shared keys that are generated by the system.
11677
+ # If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call the [ListIpsecServers](https://help.aliyun.com/document_detail/2794120.html) operation to query the pre-shared keys that are generated by the system.
11680
11678
  #
11681
11679
  # > The pre-shared key of the IPsec server must be the same as the client key. Otherwise, the IPsec server cannot be connected to the client.
11682
11680
  self.psk = psk
@@ -23852,7 +23850,7 @@ class DeleteCustomerGatewayRequest(TeaModel):
23852
23850
  ):
23853
23851
  # The client token that is used to ensure the idempotence of the request.
23854
23852
  #
23855
- # You can use the client to generate a value, and you must make sure that each request has a unique token value. The token can contain only ASCII characters and cannot exceed 64 characters in length.
23853
+ # You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
23856
23854
  #
23857
23855
  # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
23858
23856
  self.client_token = client_token
@@ -27947,7 +27945,7 @@ class DeleteRouteEntryRequest(TeaModel):
27947
27945
  route_entry_id: str = None,
27948
27946
  route_table_id: str = None,
27949
27947
  ):
27950
- # The destination CIDR block of the route entry. IPv4 and IPv6 CIDR blocks are supported.
27948
+ # The destination CIDR block of the route. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
27951
27949
  self.destination_cidr_block = destination_cidr_block
27952
27950
  # The ID of the next hop.
27953
27951
  #
@@ -30994,7 +30992,9 @@ class DeleteVpnPbrRouteEntryRequest(TeaModel):
30994
30992
  #
30995
30993
  # This parameter is required.
30996
30994
  self.vpn_gateway_id = vpn_gateway_id
30997
- # The weight of the policy-based route.
30995
+ # The weight of the policy-based route. Valid values:
30996
+ #
30997
+ # You can call [DescribeVpnPbrRouteEntries](https://help.aliyun.com/document_detail/2526959.html) to query weights of policy-based routes.
30998
30998
  #
30999
30999
  # This parameter is required.
31000
31000
  self.weight = weight
@@ -34231,17 +34231,17 @@ class DescribeCustomerGatewaysRequestTag(TeaModel):
34231
34231
  key: str = None,
34232
34232
  value: str = None,
34233
34233
  ):
34234
- # The tag key. The tag key cannot be an empty string.
34234
+ # The key of the tag. The tag key cannot be an empty string.
34235
34235
  #
34236
- # It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
34236
+ # The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
34237
34237
  #
34238
- # You can specify at most 20 tag keys in each call.
34238
+ # You can specify at most 20 tag keys at a time.
34239
34239
  self.key = key
34240
- # The tag value.
34240
+ # The value of the tag.
34241
34241
  #
34242
- # The tag value can be an empty string and cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
34242
+ # The tag value can be up to 128 characters in length. It can be an empty string. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
34243
34243
  #
34244
- # Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
34244
+ # Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
34245
34245
  self.value = value
34246
34246
 
34247
34247
  def validate(self):
@@ -34304,11 +34304,7 @@ class DescribeCustomerGatewaysRequest(TeaModel):
34304
34304
  self.resource_group_id = resource_group_id
34305
34305
  self.resource_owner_account = resource_owner_account
34306
34306
  self.resource_owner_id = resource_owner_id
34307
- # The tag value.
34308
- #
34309
- # The tag value can be an empty string and cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
34310
- #
34311
- # Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
34307
+ # The tags to be added to the customer gateway.
34312
34308
  self.tag = tag
34313
34309
 
34314
34310
  def validate(self):
@@ -34381,9 +34377,9 @@ class DescribeCustomerGatewaysResponseBodyCustomerGatewaysCustomerGatewayTagsTag
34381
34377
  key: str = None,
34382
34378
  value: str = None,
34383
34379
  ):
34384
- # The key of tag N.
34380
+ # The key of the tag.
34385
34381
  self.key = key
34386
- # The value of tag N.
34382
+ # The value of the tag.
34387
34383
  self.value = value
34388
34384
 
34389
34385
  def validate(self):
@@ -34460,25 +34456,25 @@ class DescribeCustomerGatewaysResponseBodyCustomerGatewaysCustomerGateway(TeaMod
34460
34456
  ):
34461
34457
  # The autonomous system number (ASN) of the gateway device in the data center.
34462
34458
  self.asn = asn
34463
- # The authentication key of the Border Gateway Protocol (BGP) routing protocol for the gateway device in the data center.
34459
+ # The authentication key that is used to connect to the gateway device in the data center by using Border Gateway Protocol (BGP).
34464
34460
  self.auth_key = auth_key
34465
- # The timestamp generated when the customer gateway was created. Unit: millisecond.
34461
+ # The time when the customer gateway was created. Unit: millisecond.
34466
34462
  #
34467
- # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
34463
+ # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
34468
34464
  self.create_time = create_time
34469
- # The ID of the customer gateway.
34465
+ # The customer gateway ID.
34470
34466
  self.customer_gateway_id = customer_gateway_id
34471
34467
  # The description of the customer gateway.
34472
34468
  self.description = description
34473
- # The public IP address of the gateway device in the data center.
34469
+ # The IP address of the gateway device in the data center.
34474
34470
  self.ip_address = ip_address
34475
34471
  # The name of the customer gateway.
34476
34472
  self.name = name
34477
34473
  # The ID of the resource group to which the customer gateway belongs.
34478
34474
  #
34479
- # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group information.
34475
+ # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
34480
34476
  self.resource_group_id = resource_group_id
34481
- # The list of tags added to the customer gateway.
34477
+ # The tags that are added to the customer gateway.
34482
34478
  self.tags = tags
34483
34479
 
34484
34480
  def validate(self):
@@ -52126,9 +52122,7 @@ class DescribeSslVpnClientCertResponseBody(TeaModel):
52126
52122
  self.request_id = request_id
52127
52123
  # The ID of the resource group to which the SSL client certificate belongs.
52128
52124
  #
52129
- # The SSL client certificate is the same as the resource group of the SSL server associated with it.
52130
- #
52131
- # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group information.
52125
+ # The SSL client certificate and the SSL server associated with the SSL client certificate belong to the same resource group. You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
52132
52126
  self.resource_group_id = resource_group_id
52133
52127
  # The ID of the SSL client certificate.
52134
52128
  self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
@@ -52282,7 +52276,7 @@ class DescribeSslVpnClientCertsRequest(TeaModel):
52282
52276
  # The ID of the resource group to which the SSL client certificate belongs.
52283
52277
  #
52284
52278
  # The SSL client certificate is the same as the resource group of the SSL server associated with it.
52285
- # You can call the [DescribeSslVpnServers](https://help.aliyun.com/document_detail/2526933.html) operation to query the ID of the resource group to which the SSL server belongs.
52279
+ # You can call the [DescribeSslVpnServers](https://help.aliyun.com/document_detail/2794078.html) operation to query the ID of the resource group to which the SSL server belongs.
52286
52280
  self.resource_group_id = resource_group_id
52287
52281
  self.resource_owner_account = resource_owner_account
52288
52282
  self.resource_owner_id = resource_owner_id
@@ -52992,7 +52986,7 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
52992
52986
  self.compress = compress
52993
52987
  # The total number of current connections.
52994
52988
  self.connections = connections
52995
- # The timestamp generated when the SSL server was created.
52989
+ # The timestamp generated when the SSL-VPN server was created.
52996
52990
  self.create_time = create_time
52997
52991
  # Indicates whether two-factor authentication is enabled.
52998
52992
  #
@@ -53003,7 +52997,7 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
53003
52997
  # The ID of the IDaaS instance.
53004
52998
  self.idaa_sinstance_id = idaa_sinstance_id
53005
52999
  self.idaa_sinstance_version = idaa_sinstance_version
53006
- # The ID of the region where the IDaaS instance is created.
53000
+ # The region ID of the IDaaS instance.
53007
53001
  self.idaa_sregion_id = idaa_sregion_id
53008
53002
  # The public IP address of the VPN gateway.
53009
53003
  self.internet_ip = internet_ip
@@ -53011,19 +53005,19 @@ class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer(TeaModel):
53011
53005
  self.local_subnet = local_subnet
53012
53006
  # The maximum number of connections.
53013
53007
  self.max_connections = max_connections
53014
- # The name of the SSL server.
53008
+ # The name of the SSL-VPN server.
53015
53009
  self.name = name
53016
- # The port that is used by the SSL server.
53010
+ # The port that is used by the SSL-VPN server.
53017
53011
  self.port = port
53018
- # The protocol that is used by the SSL server.
53012
+ # The protocol that is used by the SSL-VPN server.
53019
53013
  self.proto = proto
53020
- # The ID of the region where the SSL server is created.
53014
+ # The region ID of the SSL-VPN server.
53021
53015
  self.region_id = region_id
53022
- # The ID of the resource group to which the SSL server belongs.
53016
+ # The resource group ID of the SSL-VPN server.
53023
53017
  #
53024
- # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group information.
53018
+ # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
53025
53019
  self.resource_group_id = resource_group_id
53026
- # The ID of the SSL server.
53020
+ # The ID of the SSL-VPN server.
53027
53021
  self.ssl_vpn_server_id = ssl_vpn_server_id
53028
53022
  # The ID of the VPN gateway.
53029
53023
  self.vpn_gateway_id = vpn_gateway_id
@@ -53174,7 +53168,7 @@ class DescribeSslVpnServersResponseBody(TeaModel):
53174
53168
  self.page_size = page_size
53175
53169
  # The request ID.
53176
53170
  self.request_id = request_id
53177
- # The detailed information about the SSL servers.
53171
+ # The detailed information about the SSL-VPN server.
53178
53172
  self.ssl_vpn_servers = ssl_vpn_servers
53179
53173
  # The number of entries returned.
53180
53174
  self.total_count = total_count
@@ -60526,21 +60520,21 @@ class DescribeVpnConnectionLogsRequest(TeaModel):
60526
60520
  tunnel_id: str = None,
60527
60521
  vpn_connection_id: str = None,
60528
60522
  ):
60529
- # The beginning of the time range to query. The value must be a UNIX timestamp. For example, 1671003744 specifies 15:42:24 (UTC+8) on December 14, 2022.
60523
+ # The start time of the flow log. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
60530
60524
  #
60531
- # > If you specify **From**, you must also specify **To** or **MinutePeriod**.
60525
+ # > If you specify **From**, you must specify **To** or **MinutePeriod**.
60532
60526
  self.from_ = from_
60533
- # The interval at which log data is queried. Valid values: **1** to **10**. Unit: minutes.
60527
+ # The interval at which log data is collected. Valid values: **1** to **10**. Unit: minutes.
60534
60528
  #
60535
- # > If both **From** and **To** are not specified, you must specify **MinutePeriod**.
60529
+ # > If you do not specify **From** and **To**, you must specify **MinutePeriod**.
60536
60530
  self.minute_period = minute_period
60537
60531
  self.owner_account = owner_account
60538
60532
  self.owner_id = owner_id
60539
- # The number of the page to return. Default value: **1**.
60533
+ # The page number. Default value: **1**.
60540
60534
  self.page_number = page_number
60541
- # The number of entries to return on each page. Valid values: **1** to **50**. Default value: **10**.
60535
+ # The number of entries per page. Valid values: **1** to **50**. Default value: **10**.
60542
60536
  self.page_size = page_size
60543
- # The ID of the region to which the IPsec-VPN connection belongs.
60537
+ # The region ID of the IPsec-VPN connection.
60544
60538
  #
60545
60539
  # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
60546
60540
  #
@@ -60548,11 +60542,13 @@ class DescribeVpnConnectionLogsRequest(TeaModel):
60548
60542
  self.region_id = region_id
60549
60543
  self.resource_owner_account = resource_owner_account
60550
60544
  self.resource_owner_id = resource_owner_id
60551
- # The end of the time range to query. The value must be a UNIX timestamp. For example, 1671004344 specifies 15:52:24 (UTC+8) on December 14, 2022.
60545
+ # The end time of the flow log. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
60552
60546
  #
60553
- # > If you specify **To**, you must also specify **From** or **MinutePeriod**.
60547
+ # > If you specify **To**, you must specify **From** or **MinutePeriod**.
60554
60548
  self.to = to
60555
- # The tunnel ID of the IPsec-VPN connection. You can specify this parameter only for IPsec-VPN connections in dual-tunnel mode.
60549
+ # The ID of the IPsec-VPN connection.
60550
+ #
60551
+ # This parameter is available only for a dual-tunnel IPsec-VPN connection.
60556
60552
  self.tunnel_id = tunnel_id
60557
60553
  # The ID of the IPsec-VPN connection.
60558
60554
  #
@@ -60662,20 +60658,18 @@ class DescribeVpnConnectionLogsResponseBody(TeaModel):
60662
60658
  ):
60663
60659
  # The number of entries on the current page.
60664
60660
  self.count = count
60665
- # An array of strings.
60666
- #
60667
- # Each item in the array is a log entry.
60661
+ # The log list.
60668
60662
  self.data = data
60669
60663
  # Indicates whether the log is accurate. Valid values:
60670
60664
  #
60671
- # * **true**: accurate
60672
- # * **false**: inaccurate
60665
+ # * **true**\
60666
+ # * **false**\
60673
60667
  self.is_completed = is_completed
60674
- # The page number of the returned page.
60668
+ # The page number.
60675
60669
  self.page_number = page_number
60676
- # The number of entries returned per page.
60670
+ # The number of entries per page.
60677
60671
  self.page_size = page_size
60678
- # The ID of the request.
60672
+ # The request ID.
60679
60673
  self.request_id = request_id
60680
60674
 
60681
60675
  def validate(self):
@@ -63354,34 +63348,34 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
63354
63348
  reservation_ssl: str = None,
63355
63349
  status: str = None,
63356
63350
  ):
63357
- # If the order type is **TEMP_UPGRADE** (temporary upgrade), this parameter specifies the time when the temporary upgrade expires.
63351
+ # If the value of ReservationOrderType is **TEMP_UPGRADE**, this parameter indicates the time when the temporary upgrade expires.
63358
63352
  #
63359
- # If the order type is **RENEWCHANGE** (renewal with a specification change) or **RENEW** (renewal), this parameter indicates the time when the renewal or renewal with a specification change takes effect.
63353
+ # If the value of ReservationOrderType is **RENEWCHANGE** or **RENEW**, this parameter indicates the time when the renewal or renewal with a specification change takes effect.
63360
63354
  self.reservation_end_time = reservation_end_time
63361
- # The IPsec-VPN status of the order that has not taken effect. Valid values:
63355
+ # The IPsec-VPN status of the pending order. Valid values:
63362
63356
  #
63363
63357
  # * **enable**\
63364
63358
  # * **disable**\
63365
63359
  self.reservation_ipsec = reservation_ipsec
63366
63360
  # The maximum number of concurrent SSL-VPN connections of the pending order.
63367
63361
  self.reservation_max_connections = reservation_max_connections
63368
- # The type of the order that has not taken effect. Valid values:
63362
+ # The type of the pending order. Valid values:
63369
63363
  #
63370
- # * **RENEWCHANGE**: renewal with upgrade or downgrade
63364
+ # * **RENEWCHANGE**: renewal with a specification change
63371
63365
  # * **TEMP_UPGRADE**: temporary upgrade
63372
63366
  # * **RENEW**: renewal
63373
63367
  self.reservation_order_type = reservation_order_type
63374
63368
  # The bandwidth of the pending order. Unit: Mbit/s.
63375
63369
  self.reservation_spec = reservation_spec
63376
- # The SSL-VPN status of the order that has not taken effect. Valid values:
63370
+ # The SSL-VPN status of the pending order. Valid values:
63377
63371
  #
63378
63372
  # * **enable**\
63379
63373
  # * **disable**\
63380
63374
  self.reservation_ssl = reservation_ssl
63381
- # The status of the order that has not taken effect.
63375
+ # The status of the pending order.
63382
63376
  #
63383
63377
  # * **1**: indicates that the order is an order for renewal or renewal with a specification change and the order has not taken effect.
63384
- # * **2**: indicates that the order is an order for temporary upgrade and the order has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specification.
63378
+ # * **2**: indicates that the order is an order for temporary upgrade and the order has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, the values of **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specifications of the VPN gateway.
63385
63379
  self.status = status
63386
63380
 
63387
63381
  def validate(self):
@@ -63434,9 +63428,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayTagsTag(TeaModel):
63434
63428
  key: str = None,
63435
63429
  value: str = None,
63436
63430
  ):
63437
- # The key of tag N.
63431
+ # The tag key.
63438
63432
  self.key = key
63439
- # The value of tag N.
63433
+ # The tag value.
63440
63434
  self.value = value
63441
63435
 
63442
63436
  def validate(self):
@@ -63529,51 +63523,51 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63529
63523
  vpn_gateway_id: str = None,
63530
63524
  vpn_type: str = None,
63531
63525
  ):
63532
- # Indicates whether BGP routes are automatically advertised to the VPC. Valid values:
63526
+ # Indicates whether Border Gateway Protocol (BGP) routes are automatically advertised to the VPC. Valid values:
63533
63527
  #
63534
63528
  # * **true**\
63535
63529
  # * **false**\
63536
63530
  self.auto_propagate = auto_propagate
63537
- # The payment status of the VPN gateway.
63531
+ # The payment status of the VPN gateway. Valid values:
63538
63532
  #
63539
- # * **Normal**\
63540
- # * **FinancialLocked**\
63533
+ # * **Normal**: The VPN gateway runs as expected.
63534
+ # * **FinancialLocked**: The VPN gateway is locked due to overdue payments.
63541
63535
  self.business_status = business_status
63542
63536
  # The billing method of the VPN gateway.
63543
63537
  #
63544
- # The value is fixed as **POSTPAY**, which indicates the pay-as-you-go billing method.
63538
+ # Only **POSTPAY** may be returned, which indicates the pay-as-you-go billing method.
63545
63539
  self.charge_type = charge_type
63546
- # The timestamp when the VPN gateway was created. Unit: millisecond.
63540
+ # The timestamp generated when the VPN gateway was created. Unit: milliseconds.
63547
63541
  #
63548
- # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
63542
+ # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
63549
63543
  self.create_time = create_time
63550
63544
  # The description of the VPN gateway.
63551
63545
  self.description = description
63552
- # The second IP address assigned by the system to create an IPsec-VPN connection.
63546
+ # The second IP address that is assigned to the VPN gateway to create IPsec-VPN connections.
63553
63547
  #
63554
- # This parameter is returned only when the VPN gateway supports the dual-tunnel mode.
63548
+ # This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
63555
63549
  self.disaster_recovery_internet_ip = disaster_recovery_internet_ip
63556
- # The ID of the second vSwitch associated with the VPN gateway.
63550
+ # The ID of the second vSwitch that is associated with the VPN gateway.
63557
63551
  #
63558
- # This parameter is returned only when the VPN gateway supports the dual-tunnel mode.
63552
+ # This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
63559
63553
  self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
63560
- # The BGP status of the VPN gateway.
63554
+ # The BGP status of the VPN gateway. Valid values:
63561
63555
  #
63562
- # * **true**\
63563
- # * **false**\
63556
+ # * **true**: The feature is enabled.
63557
+ # * **false**: The feature is disabled.
63564
63558
  self.enable_bgp = enable_bgp
63565
- # The timestamp when the VPN gateway expires. Unit: millisecond.
63559
+ # The timestamp generated when the VPN gateway expires. Unit: milliseconds.
63566
63560
  #
63567
63561
  # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
63568
63562
  self.end_time = end_time
63569
63563
  self.eni_instance_ids = eni_instance_ids
63570
- # * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the address is the IP address of the VPN gateway and can be used to create an IPsec-VPN connection or an SSL-VPN connection.
63564
+ # * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the value of this parameter is the IP address of the VPN gateway, which can be used to create IPsec-VPN or SSL-VPN connections.
63571
63565
  #
63572
- # * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the address is the first IP address used to create an IPsec-VPN connection. The address cannot be used to create an SSL-VPN connection.
63566
+ # * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the value of this parameter is the first IP address that is used to create an IPsec-VPN connection. The IP address cannot be used to create SSL-VPN connections.
63573
63567
  #
63574
- # 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.
63568
+ # If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two IPsec addresses to the VPN gateway to create IPsec-VPN connections in dual-tunnel mode.
63575
63569
  self.internet_ip = internet_ip
63576
- # Indicates whether IPsec-VPN is enabled for the VPN gateway.
63570
+ # Indicates whether IPsec-VPN is enabled for the VPN gateway. Valid values:
63577
63571
  #
63578
63572
  # * **enable**\
63579
63573
  # * **disable**\
@@ -63585,26 +63579,26 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63585
63579
  # * **public**\
63586
63580
  # * **private**\
63587
63581
  self.network_type = network_type
63588
- # The information about pending orders.
63582
+ # The pending orders.
63589
63583
  #
63590
- # > This parameter is returned only when **IncludeReservationData** is set to **true**.
63584
+ # > This parameter is returned only if **IncludeReservationData** is set to **true**.
63591
63585
  self.reservation_data = reservation_data
63592
63586
  # The ID of the resource group to which the VPN gateway belongs.
63593
63587
  #
63594
- # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query the resource group information.
63588
+ # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
63595
63589
  self.resource_group_id = resource_group_id
63596
- # The maximum bandwidth of the VPN gateway. **M** indicates Mbit/s.
63590
+ # The maximum bandwidth of the VPN gateway. Unit: **M**, which indicates Mbit/s.
63597
63591
  self.spec = spec
63598
63592
  # The number of SSL-VPN connections supported by the VPN gateway.
63599
63593
  self.ssl_max_connections = ssl_max_connections
63600
- # Indicates whether SSL-VPN is enabled for the VPN gateway.
63594
+ # Indicates whether SSL-VPN is enabled for the VPN gateway. Valid values:
63601
63595
  #
63602
63596
  # * **enable**\
63603
63597
  # * **disable**\
63604
63598
  self.ssl_vpn = ssl_vpn
63605
63599
  # The IP address of the SSL-VPN connection.
63606
63600
  #
63607
- # This parameter is returned only when the VPN gateway is a public VPN gateway and supports only the single-tunnel mode. In addition, the VPN gateway must have the SSL-VPN feature enabled.
63601
+ # This parameter is returned only if the VPN gateway is a public VPN gateway and supports IPsec-VPN connections in dual-tunnel mode. In addition, SSL-VPN must be enabled for the VPN gateway.
63608
63602
  self.ssl_vpn_internet_ip = ssl_vpn_internet_ip
63609
63603
  # The status of the VPN gateway. Valid values:
63610
63604
  #
@@ -63614,43 +63608,43 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63614
63608
  # * **updating**\
63615
63609
  # * **deleting**\
63616
63610
  self.status = status
63617
- # The automatically generated tag of the VPN gateway.
63611
+ # The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
63618
63612
  #
63619
63613
  # * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
63620
63614
  #
63621
63615
  # * **true**\
63622
63616
  # * **false**\
63623
63617
  #
63624
- # * **VisuallySsl**: indicates whether the VPN gateway allows you to view information about connected SSL clients.
63618
+ # * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
63625
63619
  #
63626
63620
  # * **true**\
63627
63621
  # * **false**\
63628
63622
  #
63629
- # * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
63623
+ # * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
63630
63624
  #
63631
63625
  # * **true**\
63632
63626
  # * **false**\
63633
63627
  #
63634
- # * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
63628
+ # * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
63635
63629
  #
63636
63630
  # * **true**\
63637
63631
  # * **false**\
63638
63632
  #
63639
- # * **description**: the description of the VPN gateway. This parameter is for internal system use only.
63633
+ # * **description**: the description of the VPN gateway. This parameter is only for internal use.
63640
63634
  #
63641
- # * **VpnVersion**: the version of the VPN gateway.
63635
+ # * **VpnVersion**: the version number of the VPN gateway.
63642
63636
  self.tag = tag
63643
- # The tags to be added to the VPN gateway.
63637
+ # The tags that are added to the VPN gateway.
63644
63638
  self.tags = tags
63645
63639
  # The ID of the vSwitch to which the VPN gateway belongs.
63646
63640
  self.v_switch_id = v_switch_id
63647
- # The ID of the virtual private cloud (VPC) to which the VPN gateway belongs.
63641
+ # The ID of the VPC to which the VPN gateway belongs.
63648
63642
  self.vpc_id = vpc_id
63649
63643
  # The ID of the VPN gateway.
63650
63644
  self.vpn_gateway_id = vpn_gateway_id
63651
63645
  # The type of the VPN gateway.
63652
63646
  #
63653
- # Only **Normal** may be returned, which indicates a standard NAT gateway.
63647
+ # Only **Normal** may be returned, which indicates a standard VPN gateway.
63654
63648
  self.vpn_type = vpn_type
63655
63649
 
63656
63650
  def validate(self):
@@ -63837,7 +63831,7 @@ class DescribeVpnGatewaysResponseBody(TeaModel):
63837
63831
  self.request_id = request_id
63838
63832
  # The number of entries returned.
63839
63833
  self.total_count = total_count
63840
- # The information about VPN gateways.
63834
+ # The VPN gateways.
63841
63835
  self.vpn_gateways = vpn_gateways
63842
63836
 
63843
63837
  def validate(self):
@@ -64011,7 +64005,7 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
64011
64005
  vpn_instance_id: str = None,
64012
64006
  weight: int = None,
64013
64007
  ):
64014
- # The time when the policy-based route was created. Unit: milliseconds.
64008
+ # The time when the policy-based route was created. Unit: millisecond.
64015
64009
  #
64016
64010
  # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
64017
64011
  self.create_time = create_time
@@ -64019,7 +64013,7 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
64019
64013
  self.next_hop = next_hop
64020
64014
  # The ID of the tunnel associated with the next hop of the policy-based route.
64021
64015
  #
64022
- # This parameter is returned only if the VPN gateway supports the dual-tunnel mode.
64016
+ # This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
64023
64017
  self.next_hop_tunnel_id = next_hop_tunnel_id
64024
64018
  # The priority of the policy-based route.
64025
64019
  #
@@ -64034,16 +64028,16 @@ class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntriesVpnPbrRouteEntry(T
64034
64028
  # * **published**: advertised to the VPC route table.
64035
64029
  # * **normal**: not advertised to the VPC route table.
64036
64030
  self.state = state
64037
- # The VPN gateway ID.
64031
+ # The ID of the VPN gateway.
64038
64032
  self.vpn_instance_id = vpn_instance_id
64039
- # The weight of the policy-based route. Valid values:
64033
+ # The weight of the policy-based route.
64040
64034
  #
64041
- # * For a VPN gateway that supports the dual-tunnel mode, the default value is **100**.
64035
+ # For a VPN gateway that supports IPsec-VPN connections in single-tunnel mode, the weight of a policy-based route indicates the priority of the route.
64042
64036
  #
64043
- # * For a VPN gateway that supports the single-tunnel mode, the weight specifies the priority of the policy-based route.
64037
+ # * **100**: a high priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the active connection.
64038
+ # * **0**: a low priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the standby connection.
64044
64039
  #
64045
- # * **100**: a high priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the active connection.
64046
- # * **0**: a low priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the standby connection.
64040
+ # > For a VPN gateway that does not support IPsec-VPN connections in single-tunnel mode, this parameter does not take effect.
64047
64041
  self.weight = weight
64048
64042
 
64049
64043
  def validate(self):
@@ -65215,13 +65209,22 @@ class DiagnoseVpnConnectionsRequest(TeaModel):
65215
65209
  vpn_connection_ids: List[str] = None,
65216
65210
  vpn_gateway_id: str = None,
65217
65211
  ):
65212
+ # The page number. Default value: **1**.
65218
65213
  self.page_number = page_number
65214
+ # The number of entries per page. Default value: **10**.
65219
65215
  self.page_size = page_size
65216
+ # The region ID of the IPsec-VPN connection.
65217
+ #
65218
+ # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
65219
+ #
65220
65220
  # This parameter is required.
65221
65221
  self.region_id = region_id
65222
65222
  self.resource_owner_id = resource_owner_id
65223
+ # The list of tunnel IDs.
65223
65224
  self.tunnel_ids = tunnel_ids
65225
+ # The IDs of IPsec-VPN connections.
65224
65226
  self.vpn_connection_ids = vpn_connection_ids
65227
+ # The ID of the VPN gateway.
65225
65228
  self.vpn_gateway_id = vpn_gateway_id
65226
65229
 
65227
65230
  def validate(self):
@@ -65281,14 +65284,29 @@ class DiagnoseVpnConnectionsResponseBodyVpnConnections(TeaModel):
65281
65284
  tunnel_id: str = None,
65282
65285
  vpn_connection_id: str = None,
65283
65286
  ):
65287
+ # The cause of the error.
65284
65288
  self.failed_reason = failed_reason
65289
+ # The error code.
65285
65290
  self.failed_reason_code = failed_reason_code
65291
+ # The timestamp when the current error occurred on the IPsec-VPN connection. Unit: millisecond.
65292
+ #
65293
+ # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
65286
65294
  self.failed_time = failed_time
65295
+ # If the values of the parameters configured for the IPsec-VPN connection and the peer gateway device do not match, this parameter indicates the value of the parameters configured for the IPsec-VPN connection.
65287
65296
  self.mismatch_local_param = mismatch_local_param
65297
+ # If the parameter values configured for the IPsec-VPN connection and the peer gateway device do not match, this parameter indicates the value of the parameter configured for the peer gateway device.
65288
65298
  self.mismatch_remote_param = mismatch_remote_param
65299
+ # The error level. Valid values:
65300
+ #
65301
+ # * **Critical**\
65302
+ # * **Warn**\
65303
+ # * **Normal**\
65289
65304
  self.severity = severity
65305
+ # The log information about the error.
65290
65306
  self.source_log = source_log
65307
+ # The tunnel ID.
65291
65308
  self.tunnel_id = tunnel_id
65309
+ # The ID of the IPsec-VPN connection.
65292
65310
  self.vpn_connection_id = vpn_connection_id
65293
65311
 
65294
65312
  def validate(self):
@@ -65352,10 +65370,15 @@ class DiagnoseVpnConnectionsResponseBody(TeaModel):
65352
65370
  total_count: int = None,
65353
65371
  vpn_connections: List[DiagnoseVpnConnectionsResponseBodyVpnConnections] = None,
65354
65372
  ):
65373
+ # The page number.
65355
65374
  self.page_number = page_number
65375
+ # The number of entries per page.
65356
65376
  self.page_size = page_size
65377
+ # The request ID.
65357
65378
  self.request_id = request_id
65379
+ # The number of entries returned.
65358
65380
  self.total_count = total_count
65381
+ # The diagnostic information.
65359
65382
  self.vpn_connections = vpn_connections
65360
65383
 
65361
65384
  def validate(self):
@@ -75634,6 +75657,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75634
75657
  def __init__(
75635
75658
  self,
75636
75659
  biz_type: str = None,
75660
+ business_status: str = None,
75637
75661
  creation_time: str = None,
75638
75662
  description: str = None,
75639
75663
  ip_address_remaining: bool = None,
@@ -75657,6 +75681,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75657
75681
  # * **CloudBox** Only cloud box users can select this type.
75658
75682
  # * **Default** (default)
75659
75683
  self.biz_type = biz_type
75684
+ self.business_status = business_status
75660
75685
  # The time when the IP address pool was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format.
75661
75686
  self.creation_time = creation_time
75662
75687
  # The description of the IP address pool.
@@ -75738,6 +75763,8 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75738
75763
  result = dict()
75739
75764
  if self.biz_type is not None:
75740
75765
  result['BizType'] = self.biz_type
75766
+ if self.business_status is not None:
75767
+ result['BusinessStatus'] = self.business_status
75741
75768
  if self.creation_time is not None:
75742
75769
  result['CreationTime'] = self.creation_time
75743
75770
  if self.description is not None:
@@ -75780,6 +75807,8 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75780
75807
  m = m or dict()
75781
75808
  if m.get('BizType') is not None:
75782
75809
  self.biz_type = m.get('BizType')
75810
+ if m.get('BusinessStatus') is not None:
75811
+ self.business_status = m.get('BusinessStatus')
75783
75812
  if m.get('CreationTime') is not None:
75784
75813
  self.creation_time = m.get('CreationTime')
75785
75814
  if m.get('Description') is not None:
@@ -86350,11 +86379,11 @@ class ModifySslVpnClientCertRequest(TeaModel):
86350
86379
  ):
86351
86380
  # The client token that is used to ensure the idempotence of the request.
86352
86381
  #
86353
- # You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
86382
+ # You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
86354
86383
  #
86355
- # > If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** may be different for each API request.
86384
+ # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
86356
86385
  self.client_token = client_token
86357
- # The name of the SSL-VPN client certificate.
86386
+ # The new name of the SSL client certificate. This parameter cannot be left empty.
86358
86387
  #
86359
86388
  # The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
86360
86389
  self.name = name
@@ -86368,7 +86397,7 @@ class ModifySslVpnClientCertRequest(TeaModel):
86368
86397
  self.region_id = region_id
86369
86398
  self.resource_owner_account = resource_owner_account
86370
86399
  self.resource_owner_id = resource_owner_id
86371
- # The ID of the SSL-VPN client certificate.
86400
+ # The ID of the SSL client certificate.
86372
86401
  #
86373
86402
  # This parameter is required.
86374
86403
  self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
@@ -86430,9 +86459,9 @@ class ModifySslVpnClientCertResponseBody(TeaModel):
86430
86459
  ):
86431
86460
  # The name of the SSL client certificate.
86432
86461
  self.name = name
86433
- # The ID of the request.
86462
+ # The request ID.
86434
86463
  self.request_id = request_id
86435
- # The ID of the SSL-VPN client certificate.
86464
+ # The ID of the SSL client certificate.
86436
86465
  self.ssl_vpn_client_cert_id = ssl_vpn_client_cert_id
86437
86466
 
86438
86467
  def validate(self):
@@ -92333,7 +92362,7 @@ class ModifyVpnRouteEntryWeightRequest(TeaModel):
92333
92362
  #
92334
92363
  # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
92335
92364
  self.client_token = client_token
92336
- # The new weight that you want to set for the destination-based route. Valid values:
92365
+ # The new weight of the destination-based route. Valid values:
92337
92366
  #
92338
92367
  # * **0**: a low priority
92339
92368
  # * **100**: a high priority
@@ -92362,7 +92391,7 @@ class ModifyVpnRouteEntryWeightRequest(TeaModel):
92362
92391
  #
92363
92392
  # This parameter is required.
92364
92393
  self.vpn_gateway_id = vpn_gateway_id
92365
- # The previous weight of the destination-based route. Valid values:
92394
+ # The original weight of the destination-based route. Valid values:
92366
92395
  #
92367
92396
  # * **0**: a low priority
92368
92397
  # * **100**: a high priority
@@ -99017,21 +99046,21 @@ class UpdateIpsecServerRequest(TeaModel):
99017
99046
  # * **true**: prechecks the request without modifying the configurations of the IPsec server. The system checks the required parameters, request format, and service limits. If the request fails to pass the precheck, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
99018
99047
  # * **false**: sends the request. This is the default value. If the request passes the precheck, the system modifies the configurations of the IPsec server.
99019
99048
  self.dry_run = dry_run
99020
- # Specifies whether to delete the current IPsec tunnel and initiate negotiations again. Valid values:
99049
+ # Specifies whether to delete the negotiated IPsec tunnel and initiate the negotiation again. Valid values:
99021
99050
  #
99022
99051
  # * **true**: immediately initiates negotiations after the configuration is complete.
99023
- # * **false**: initiates negotiations when inbound traffic is detected. This is the default value.
99052
+ # * **false**: initiates negotiations when inbound traffic is detected.
99024
99053
  self.effect_immediately = effect_immediately
99025
- # The configuration of Phase 1 negotiation. Valid values:
99054
+ # The configuration of Phase 1 negotiations. Valid values:
99026
99055
  #
99027
- # * **IkeVersion**: the IKE version. Valid values: **ikev1** and **ikev2**. Default value: **ikev2**.
99028
- # * **IkeMode**: the IKE negotiation mode. Default value: **main**.
99056
+ # * **IkeVersion**: The IKE version. Valid values: **ikev1** and **ikev2**.
99057
+ # * **IkeMode**: The IKE negotiation mode. Default value: **main**.
99029
99058
  # * **IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiation. Default value: **aes**.
99030
99059
  # * **IkeAuthAlg**: the authentication algorithm that is used in Phase 1 negotiation. Default value: **sha1**.
99031
- # * **IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiation. Default value: **group2**.
99032
- # * **IkeLifetime**: the security association (SA) lifetime determined by Phase 1 negotiation. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
99033
- # * **LocalId**: the identifier of the IPsec server. The value can be a fully qualified domain name (FQDN) or an IP address. The default value is the public IP address of the VPN gateway.
99034
- # * **RemoteId**: the peer identifier. The value can be an FQDN or an IP address. The default value is empty.
99060
+ # * **IkePfs**: The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.
99061
+ # * **IkeLifetime**: The SA lifetime determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
99062
+ # * **LocalId**: The identifier of the IPsec server. Only FQDN and IP address formats are supported.
99063
+ # * **RemoteId**: the peer identifier. Only FQDN and IP address formats are supported.
99035
99064
  self.ike_config = ike_config
99036
99065
  # The configuration of Phase 2 negotiation. Valid values:
99037
99066
  #
@@ -99044,9 +99073,9 @@ class UpdateIpsecServerRequest(TeaModel):
99044
99073
  #
99045
99074
  # This parameter is required.
99046
99075
  self.ipsec_server_id = ipsec_server_id
99047
- # The IPsec server name.
99076
+ # The name of the IPsec server.
99048
99077
  #
99049
- # The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
99078
+ # It must be 1 to 100 characters in length.
99050
99079
  self.ipsec_server_name = ipsec_server_name
99051
99080
  # The local CIDR blocks, which are the CIDR blocks of the virtual private cloud (VPC) for the client to access.
99052
99081
  #
@@ -99054,11 +99083,11 @@ class UpdateIpsecServerRequest(TeaModel):
99054
99083
  self.local_subnet = local_subnet
99055
99084
  # The pre-shared key.
99056
99085
  #
99057
- # The pre-shared key is used for identity authentication between the IPsec server and the client. The key must be 1 to 100 characters in length.
99086
+ # The pre-shared key that is used for authentication between the IPsec-VPN server and the client. It must be 1 to 100 characters in length.
99058
99087
  #
99059
- # If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call the [ListIpsecServers](https://help.aliyun.com/document_detail/205453.html) operation to query the pre-shared keys that are generated by the system.
99088
+ # You can call [ListIpsecServers](https://help.aliyun.com/document_detail/2794120.html) to query keys generated by the system.
99060
99089
  #
99061
- # > The pre-shared key of the IPsec server must be the same as the client key. Otherwise, the IPsec server cannot be connected to the client.
99090
+ # > The pre-shared key of the IPsec server key must be the same as that of the client. Otherwise, the connection between the IPsec server and the client cannot be established.
99062
99091
  self.psk = psk
99063
99092
  # Specifies whether to enable pre-shared key authentication. If you set the value to **true**, pre-shared key authentication is enabled.
99064
99093
  self.psk_enabled = psk_enabled