alibabacloud-vpc20160428 6.7.0__py3-none-any.whl → 6.7.1__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.
@@ -1 +1 @@
1
- __version__ = '6.7.0'
1
+ __version__ = '6.7.1'
@@ -7387,6 +7387,8 @@ class Client(OpenApiClient):
7387
7387
  query['ClientToken'] = request.client_token
7388
7388
  if not UtilClient.is_unset(request.description):
7389
7389
  query['Description'] = request.description
7390
+ if not UtilClient.is_unset(request.dry_run):
7391
+ query['DryRun'] = request.dry_run
7390
7392
  if not UtilClient.is_unset(request.job_duration):
7391
7393
  query['JobDuration'] = request.job_duration
7392
7394
  if not UtilClient.is_unset(request.job_type):
@@ -7444,6 +7446,8 @@ class Client(OpenApiClient):
7444
7446
  query['ClientToken'] = request.client_token
7445
7447
  if not UtilClient.is_unset(request.description):
7446
7448
  query['Description'] = request.description
7449
+ if not UtilClient.is_unset(request.dry_run):
7450
+ query['DryRun'] = request.dry_run
7447
7451
  if not UtilClient.is_unset(request.job_duration):
7448
7452
  query['JobDuration'] = request.job_duration
7449
7453
  if not UtilClient.is_unset(request.job_type):
@@ -35587,7 +35591,7 @@ class Client(OpenApiClient):
35587
35591
  runtime: util_models.RuntimeOptions,
35588
35592
  ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35589
35593
  """
35590
- @summary 查询IP地址池功能的开通状态。
35594
+ @summary Queries whether the IP address pool feature is enabled.
35591
35595
 
35592
35596
  @param request: GetPublicIpAddressPoolServiceStatusRequest
35593
35597
  @param runtime: runtime options for this request RuntimeOptions
@@ -35634,7 +35638,7 @@ class Client(OpenApiClient):
35634
35638
  runtime: util_models.RuntimeOptions,
35635
35639
  ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35636
35640
  """
35637
- @summary 查询IP地址池功能的开通状态。
35641
+ @summary Queries whether the IP address pool feature is enabled.
35638
35642
 
35639
35643
  @param request: GetPublicIpAddressPoolServiceStatusRequest
35640
35644
  @param runtime: runtime options for this request RuntimeOptions
@@ -35680,7 +35684,7 @@ class Client(OpenApiClient):
35680
35684
  request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35681
35685
  ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35682
35686
  """
35683
- @summary 查询IP地址池功能的开通状态。
35687
+ @summary Queries whether the IP address pool feature is enabled.
35684
35688
 
35685
35689
  @param request: GetPublicIpAddressPoolServiceStatusRequest
35686
35690
  @return: GetPublicIpAddressPoolServiceStatusResponse
@@ -35693,7 +35697,7 @@ class Client(OpenApiClient):
35693
35697
  request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35694
35698
  ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35695
35699
  """
35696
- @summary 查询IP地址池功能的开通状态。
35700
+ @summary Queries whether the IP address pool feature is enabled.
35697
35701
 
35698
35702
  @param request: GetPublicIpAddressPoolServiceStatusRequest
35699
35703
  @return: GetPublicIpAddressPoolServiceStatusResponse
@@ -38513,7 +38517,7 @@ class Client(OpenApiClient):
38513
38517
  runtime: util_models.RuntimeOptions,
38514
38518
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38515
38519
  """
38516
- @summary Queries the information about the available IP address pools.
38520
+ @summary Queries available IP address pools.
38517
38521
 
38518
38522
  @param request: ListPublicIpAddressPoolsRequest
38519
38523
  @param runtime: runtime options for this request RuntimeOptions
@@ -38576,7 +38580,7 @@ class Client(OpenApiClient):
38576
38580
  runtime: util_models.RuntimeOptions,
38577
38581
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38578
38582
  """
38579
- @summary Queries the information about the available IP address pools.
38583
+ @summary Queries available IP address pools.
38580
38584
 
38581
38585
  @param request: ListPublicIpAddressPoolsRequest
38582
38586
  @param runtime: runtime options for this request RuntimeOptions
@@ -38638,7 +38642,7 @@ class Client(OpenApiClient):
38638
38642
  request: vpc_20160428_models.ListPublicIpAddressPoolsRequest,
38639
38643
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38640
38644
  """
38641
- @summary Queries the information about the available IP address pools.
38645
+ @summary Queries available IP address pools.
38642
38646
 
38643
38647
  @param request: ListPublicIpAddressPoolsRequest
38644
38648
  @return: ListPublicIpAddressPoolsResponse
@@ -38651,7 +38655,7 @@ class Client(OpenApiClient):
38651
38655
  request: vpc_20160428_models.ListPublicIpAddressPoolsRequest,
38652
38656
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38653
38657
  """
38654
- @summary Queries the information about the available IP address pools.
38658
+ @summary Queries available IP address pools.
38655
38659
 
38656
38660
  @param request: ListPublicIpAddressPoolsRequest
38657
38661
  @return: ListPublicIpAddressPoolsResponse
@@ -53305,6 +53309,8 @@ class Client(OpenApiClient):
53305
53309
  query['ClientToken'] = request.client_token
53306
53310
  if not UtilClient.is_unset(request.description):
53307
53311
  query['Description'] = request.description
53312
+ if not UtilClient.is_unset(request.dry_run):
53313
+ query['DryRun'] = request.dry_run
53308
53314
  if not UtilClient.is_unset(request.job_duration):
53309
53315
  query['JobDuration'] = request.job_duration
53310
53316
  if not UtilClient.is_unset(request.job_id):
@@ -53360,6 +53366,8 @@ class Client(OpenApiClient):
53360
53366
  query['ClientToken'] = request.client_token
53361
53367
  if not UtilClient.is_unset(request.description):
53362
53368
  query['Description'] = request.description
53369
+ if not UtilClient.is_unset(request.dry_run):
53370
+ query['DryRun'] = request.dry_run
53363
53371
  if not UtilClient.is_unset(request.job_duration):
53364
53372
  query['JobDuration'] = request.job_duration
53365
53373
  if not UtilClient.is_unset(request.job_id):
@@ -1173,7 +1173,7 @@ class AddPublicIpAddressPoolCidrBlockResponseBody(TeaModel):
1173
1173
  cidr_block: str = None,
1174
1174
  request_id: str = None,
1175
1175
  ):
1176
- # The CIDR blocks.
1176
+ # The CIDR block.
1177
1177
  self.cidr_block = cidr_block
1178
1178
  # The request ID.
1179
1179
  self.request_id = request_id
@@ -9169,6 +9169,7 @@ class CreateFailoverTestJobRequest(TeaModel):
9169
9169
  self,
9170
9170
  client_token: str = None,
9171
9171
  description: str = None,
9172
+ dry_run: bool = None,
9172
9173
  job_duration: int = None,
9173
9174
  job_type: str = None,
9174
9175
  name: str = None,
@@ -9181,6 +9182,7 @@ class CreateFailoverTestJobRequest(TeaModel):
9181
9182
  ):
9182
9183
  self.client_token = client_token
9183
9184
  self.description = description
9185
+ self.dry_run = dry_run
9184
9186
  # This parameter is required.
9185
9187
  self.job_duration = job_duration
9186
9188
  # This parameter is required.
@@ -9208,6 +9210,8 @@ class CreateFailoverTestJobRequest(TeaModel):
9208
9210
  result['ClientToken'] = self.client_token
9209
9211
  if self.description is not None:
9210
9212
  result['Description'] = self.description
9213
+ if self.dry_run is not None:
9214
+ result['DryRun'] = self.dry_run
9211
9215
  if self.job_duration is not None:
9212
9216
  result['JobDuration'] = self.job_duration
9213
9217
  if self.job_type is not None:
@@ -9234,6 +9238,8 @@ class CreateFailoverTestJobRequest(TeaModel):
9234
9238
  self.client_token = m.get('ClientToken')
9235
9239
  if m.get('Description') is not None:
9236
9240
  self.description = m.get('Description')
9241
+ if m.get('DryRun') is not None:
9242
+ self.dry_run = m.get('DryRun')
9237
9243
  if m.get('JobDuration') is not None:
9238
9244
  self.job_duration = m.get('JobDuration')
9239
9245
  if m.get('JobType') is not None:
@@ -15093,45 +15099,49 @@ class CreateRouteEntriesRequestRouteEntries(TeaModel):
15093
15099
  next_hop_type: str = None,
15094
15100
  route_table_id: str = None,
15095
15101
  ):
15096
- # The description of the custom route entry. You can specify up to 50 descriptions.
15102
+ # The description of the custom route. You can specify at most 50 descriptions.
15097
15103
  #
15098
15104
  # The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
15099
15105
  self.description = description
15100
- # The destination CIDR block of the custom route entry. Both IPv4 and IPv6 CIDR blocks are supported. You can specify up to 50 destination CIDR blocks. Make sure that the destination CIDR block meets the following requirements:
15106
+ # The destination CIDR block of the custom route. IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported. You can enter up to 50 destination CIDR blocks. Make sure that the following requirements are met:
15101
15107
  #
15102
- # * The destination CIDR block is not 100.64.0.0/10 or a subset of 100.64.0.0/10.
15103
- # * The destination CIDR block of the custom route entry is different from the destination CIDR blocks of other route entries in the same route table.
15108
+ # * The destination CIDR block cannot point to 100.64.0.0/10 or belong to 100.64.0.0/10.
15109
+ # * The destination CIDR block of each route in the route table is unique.
15104
15110
  #
15105
15111
  # This parameter is required.
15106
15112
  self.dst_cidr_block = dst_cidr_block
15107
- # The IP version. You can specify up to 50 IP versions. Valid values:
15113
+ # The IP version. Valid values: You can specify at most 50 IP versions. Valid values:
15108
15114
  #
15109
15115
  # * **4**: IPv4
15110
15116
  # * **6**: IPv6
15111
15117
  self.ip_version = ip_version
15112
- # The name of the custom route entry that you want to add. You can specify up to 50 names.
15118
+ # The name of the custom route that you want to add. You can specify at most 50 names.
15113
15119
  #
15114
15120
  # The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
15115
15121
  self.name = name
15116
- # The next hop ID of the custom route entry. You can specify up to 50 next hop IDs.
15122
+ # The ID of the next hop for the custom route. You can specify at most 50 instance IDs.
15117
15123
  #
15118
15124
  # This parameter is required.
15119
15125
  self.next_hop = next_hop
15120
- # The type of next hop. You can specify up to 50 next hop types. Valid values:
15121
- #
15122
- # * **Instance** (default): an Elastic Compute Service (ECS) instance
15123
- # * **HaVip**: a high-availability virtual IP address (HAVIP).
15124
- # * **RouterInterface**: a router interface.
15125
- # * **NetworkInterface**: an elastic network interface (ENI).
15126
- # * **VpnGateway**: a VPN gateway.
15127
- # * **IPv6Gateway**: an IPv6 gateway.
15128
- # * **NatGateway**: a NAT gateway.
15129
- # * **Attachment**: a transit router.
15130
- # * **VpcPeer**: a VPC peering connection.
15126
+ # The type of next hop. You can specify at most 50 next hop types. Valid values:
15127
+ #
15128
+ # * **Instance**: Elastic Compute Service (ECS) instance. This is the default value.
15129
+ # * **HaVip**: high-availability virtual IP address (HAVIP).
15130
+ # * **RouterInterface**: router interface.
15131
+ # * **NetworkInterface**: elastic network interface (ENI).
15132
+ # * **VpnGateway**: VPN gateway.
15133
+ # * **IPv6Gateway**: IPv6 gateway.
15134
+ # * **NatGateway**: NAT gateway.
15135
+ # * **Attachment**: transit router.
15136
+ # * **VpcPeer**: VPC peering connection.
15137
+ # * **Ipv4Gateway**: IPv4 gateway.
15138
+ # * **GatewayEndpoint**: gateway endpoint.
15139
+ # * **CenBasic**: CEN does not support transfer routers.
15140
+ # * **Ecr**: Express Connect Router (ECR).
15131
15141
  #
15132
15142
  # This parameter is required.
15133
15143
  self.next_hop_type = next_hop_type
15134
- # The ID of the route table to which you want to add a custom route entry. You can specify up to 50 route table IDs.
15144
+ # The ID of the route table to which you want to add custom route s. You can specify at most 50 route table IDs.
15135
15145
  #
15136
15146
  # This parameter is required.
15137
15147
  self.route_table_id = route_table_id
@@ -15198,7 +15208,7 @@ class CreateRouteEntriesRequest(TeaModel):
15198
15208
  self.region_id = region_id
15199
15209
  self.resource_owner_account = resource_owner_account
15200
15210
  self.resource_owner_id = resource_owner_id
15201
- # The route entries.
15211
+ # The routes.
15202
15212
  #
15203
15213
  # This parameter is required.
15204
15214
  self.route_entries = route_entries
@@ -15496,6 +15506,9 @@ class CreateRouteEntryRequest(TeaModel):
15496
15506
  # * **NatGateway**: a NAT gateway.
15497
15507
  # * **Attachment**: a transit router.
15498
15508
  # * **VpcPeer**: a VPC peering connection.
15509
+ # * **Ipv4Gateway**: an IPv4 gateway.
15510
+ # * **GatewayEndpoint**: a gateway endpoint.
15511
+ # * **Ecr**: a Express Connect Router (ECR).
15499
15512
  self.next_hop_type = next_hop_type
15500
15513
  self.owner_account = owner_account
15501
15514
  self.owner_id = owner_id
@@ -22140,19 +22153,19 @@ class CreateVpnGatewayRequest(TeaModel):
22140
22153
  vpc_id: str = None,
22141
22154
  vpn_type: str = None,
22142
22155
  ):
22143
- # Specifies whether to enable automatic payment for the VPN gateway. Valid values:
22156
+ # Specifies whether to enable automatic payment. Valid values:
22144
22157
  #
22145
22158
  # * **true**\
22146
22159
  # * **false** (default)
22147
22160
  #
22148
- # > We recommend that you enable automatic payment. If you disable automatic payment, you must manually pay the bill for creating the VPN gateway.
22161
+ # > To create a VPN gateway, we recommend that you enable automatic payment. If you disable automatic payment, you must manually pay the bill to create the VPN gateway.
22149
22162
  self.auto_pay = auto_pay
22150
22163
  # The maximum bandwidth of the VPN gateway. Unit: Mbit/s.
22151
22164
  #
22152
22165
  # * If you want to create a public VPN gateway, valid values are **10**, **100**, **200**, **500**, and **1000**.
22153
22166
  # * If you want to create a private VPN gateway, valid values are **200** and **1000**.
22154
22167
  #
22155
- # > The maximum bandwidth supported by VPN gateways in some regions is 200 Mbit/s. For more information, see [VPN gateway limits](https://help.aliyun.com/document_detail/65290.html).
22168
+ # > The maximum bandwidth supported by VPN gateways in some regions is 500 Mbit/s. For more information, see [VPN gateway limits](https://help.aliyun.com/document_detail/65290.html).
22156
22169
  #
22157
22170
  # This parameter is required.
22158
22171
  self.bandwidth = bandwidth
@@ -22170,12 +22183,12 @@ class CreateVpnGatewayRequest(TeaModel):
22170
22183
  #
22171
22184
  # For more information about the regions and zones that support the IPsec-VPN connections in dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](https://help.aliyun.com/document_detail/2358946.html).
22172
22185
  self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
22173
- # Specifies whether to enable the IPsec-VPN feature. Valid values:
22186
+ # Specifies whether to enable IPsec-VPN for the VPN gateway. Valid values:
22174
22187
  #
22175
22188
  # * **true** (default)
22176
22189
  # * **false**\
22177
22190
  self.enable_ipsec = enable_ipsec
22178
- # Specifies whether to enable the SSL-VPN feature for the VPN gateway. Valid values:
22191
+ # Specifies whether to enable SSL-VPN. Valid values:
22179
22192
  #
22180
22193
  # * **true**\
22181
22194
  # * **false** (default)
@@ -69175,9 +69188,18 @@ class GetPublicIpAddressPoolServiceStatusRequest(TeaModel):
69175
69188
  resource_owner_account: str = None,
69176
69189
  resource_owner_id: int = None,
69177
69190
  ):
69191
+ # The client token that is used to ensure the idempotence of the request.
69192
+ #
69193
+ # 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.
69194
+ #
69195
+ # > 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.
69178
69196
  self.client_token = client_token
69179
69197
  self.owner_account = owner_account
69180
69198
  self.owner_id = owner_id
69199
+ # The region ID of the IP address pool.
69200
+ #
69201
+ # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
69202
+ #
69181
69203
  # This parameter is required.
69182
69204
  self.region_id = region_id
69183
69205
  self.resource_owner_account = resource_owner_account
@@ -69229,7 +69251,12 @@ class GetPublicIpAddressPoolServiceStatusResponseBody(TeaModel):
69229
69251
  enabled: bool = None,
69230
69252
  request_id: str = None,
69231
69253
  ):
69254
+ # Indicates whether the IP address pool feature is enabled. Valid values:
69255
+ #
69256
+ # * **true**\
69257
+ # * **false** You can call OpenPublicIpAddressPoolService to enable the IP address pool feature.
69232
69258
  self.enabled = enabled
69259
+ # The request ID.
69233
69260
  self.request_id = request_id
69234
69261
 
69235
69262
  def validate(self):
@@ -75845,6 +75872,10 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75845
75872
  # * **CloudBox** Only cloud box users can select this type.
75846
75873
  # * **Default** (default)
75847
75874
  self.biz_type = biz_type
75875
+ # The status of the IP address pool.
75876
+ #
75877
+ # * **Normal**\
75878
+ # * **FinancialLocked**\
75848
75879
  self.business_status = business_status
75849
75880
  # The time when the IP address pool was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format.
75850
75881
  self.creation_time = creation_time
@@ -98965,6 +98996,7 @@ class UpdateFailoverTestJobRequest(TeaModel):
98965
98996
  self,
98966
98997
  client_token: str = None,
98967
98998
  description: str = None,
98999
+ dry_run: bool = None,
98968
99000
  job_duration: int = None,
98969
99001
  job_id: str = None,
98970
99002
  name: str = None,
@@ -98976,6 +99008,7 @@ class UpdateFailoverTestJobRequest(TeaModel):
98976
99008
  ):
98977
99009
  self.client_token = client_token
98978
99010
  self.description = description
99011
+ self.dry_run = dry_run
98979
99012
  self.job_duration = job_duration
98980
99013
  # This parameter is required.
98981
99014
  self.job_id = job_id
@@ -98999,6 +99032,8 @@ class UpdateFailoverTestJobRequest(TeaModel):
98999
99032
  result['ClientToken'] = self.client_token
99000
99033
  if self.description is not None:
99001
99034
  result['Description'] = self.description
99035
+ if self.dry_run is not None:
99036
+ result['DryRun'] = self.dry_run
99002
99037
  if self.job_duration is not None:
99003
99038
  result['JobDuration'] = self.job_duration
99004
99039
  if self.job_id is not None:
@@ -99023,6 +99058,8 @@ class UpdateFailoverTestJobRequest(TeaModel):
99023
99058
  self.client_token = m.get('ClientToken')
99024
99059
  if m.get('Description') is not None:
99025
99060
  self.description = m.get('Description')
99061
+ if m.get('DryRun') is not None:
99062
+ self.dry_run = m.get('DryRun')
99026
99063
  if m.get('JobDuration') is not None:
99027
99064
  self.job_duration = m.get('JobDuration')
99028
99065
  if m.get('JobId') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.7.0
3
+ Version: 6.7.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,8 @@
1
+ alibabacloud_vpc20160428/__init__.py,sha256=PZJaPNfUPfzLN5YkPXEz8qyK5oQ9KaanQQC-YTM1dVE,21
2
+ alibabacloud_vpc20160428/client.py,sha256=XLRHYRydSmYCjXWwpJFOEyXSALhiLcSByn4SSRrBviI,2787189
3
+ alibabacloud_vpc20160428/models.py,sha256=U9ouc5ALdM70j5RSRqZXnJk_yu7LiVXZeVKntreyAso,3951855
4
+ alibabacloud_vpc20160428-6.7.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.7.1.dist-info/METADATA,sha256=H3CNb61_dtPXuj-5Q_n4imqnpqxMfHICPFVR4DXUqDg,2302
6
+ alibabacloud_vpc20160428-6.7.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ alibabacloud_vpc20160428-6.7.1.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.7.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_vpc20160428/__init__.py,sha256=xM2hV6LmQ47yDT_biggvt8zrXzW-SXtygqm6emy2o9g,21
2
- alibabacloud_vpc20160428/client.py,sha256=U2WIxgOQtWIeZW4pV1oIw1CQlz6td9Ja-SzPY5-PmMo,2786841
3
- alibabacloud_vpc20160428/models.py,sha256=48KtgV3uHAH_-PetE8piqmGqFt77BR0z8NNYvMFfihQ,3950087
4
- alibabacloud_vpc20160428-6.7.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_vpc20160428-6.7.0.dist-info/METADATA,sha256=_Do9onGUnfVIwXzxWGhE_6FqRaTOAcPtznME4Fg1ohU,2302
6
- alibabacloud_vpc20160428-6.7.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- alibabacloud_vpc20160428-6.7.0.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
- alibabacloud_vpc20160428-6.7.0.dist-info/RECORD,,