alibabacloud-cloudfw20171207 2.1.1__py3-none-any.whl → 3.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of alibabacloud-cloudfw20171207 might be problematic. Click here for more details.

@@ -1 +1 @@
1
- __version__ = '2.1.1'
1
+ __version__ = '3.1.0'
@@ -615,7 +615,7 @@ class Client(OpenApiClient):
615
615
  runtime: util_models.RuntimeOptions,
616
616
  ) -> cloudfw_20171207_models.CreateNatFirewallControlPolicyResponse:
617
617
  """
618
- You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
618
+ You can call this operation to create a policy that allows, denies, or monitors the traffic that passes through the NAT firewall.
619
619
 
620
620
  @param request: CreateNatFirewallControlPolicyRequest
621
621
  @param runtime: runtime options for this request RuntimeOptions
@@ -696,7 +696,7 @@ class Client(OpenApiClient):
696
696
  runtime: util_models.RuntimeOptions,
697
697
  ) -> cloudfw_20171207_models.CreateNatFirewallControlPolicyResponse:
698
698
  """
699
- You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
699
+ You can call this operation to create a policy that allows, denies, or monitors the traffic that passes through the NAT firewall.
700
700
 
701
701
  @param request: CreateNatFirewallControlPolicyRequest
702
702
  @param runtime: runtime options for this request RuntimeOptions
@@ -776,7 +776,7 @@ class Client(OpenApiClient):
776
776
  request: cloudfw_20171207_models.CreateNatFirewallControlPolicyRequest,
777
777
  ) -> cloudfw_20171207_models.CreateNatFirewallControlPolicyResponse:
778
778
  """
779
- You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
779
+ You can call this operation to create a policy that allows, denies, or monitors the traffic that passes through the NAT firewall.
780
780
 
781
781
  @param request: CreateNatFirewallControlPolicyRequest
782
782
  @return: CreateNatFirewallControlPolicyResponse
@@ -789,7 +789,7 @@ class Client(OpenApiClient):
789
789
  request: cloudfw_20171207_models.CreateNatFirewallControlPolicyRequest,
790
790
  ) -> cloudfw_20171207_models.CreateNatFirewallControlPolicyResponse:
791
791
  """
792
- You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
792
+ You can call this operation to create a policy that allows, denies, or monitors the traffic that passes through the NAT firewall.
793
793
 
794
794
  @param request: CreateNatFirewallControlPolicyRequest
795
795
  @return: CreateNatFirewallControlPolicyResponse
@@ -5225,8 +5225,6 @@ class Client(OpenApiClient):
5225
5225
  query['FirewallConfigureStatus'] = request.firewall_configure_status
5226
5226
  if not UtilClient.is_unset(request.lang):
5227
5227
  query['Lang'] = request.lang
5228
- if not UtilClient.is_unset(request.lang):
5229
- query['Lang'] = request.lang
5230
5228
  if not UtilClient.is_unset(request.page_size):
5231
5229
  query['PageSize'] = request.page_size
5232
5230
  req = open_api_models.OpenApiRequest(
@@ -5270,8 +5268,6 @@ class Client(OpenApiClient):
5270
5268
  query['FirewallConfigureStatus'] = request.firewall_configure_status
5271
5269
  if not UtilClient.is_unset(request.lang):
5272
5270
  query['Lang'] = request.lang
5273
- if not UtilClient.is_unset(request.lang):
5274
- query['Lang'] = request.lang
5275
5271
  if not UtilClient.is_unset(request.page_size):
5276
5272
  query['PageSize'] = request.page_size
5277
5273
  req = open_api_models.OpenApiRequest(
@@ -7145,6 +7141,8 @@ class Client(OpenApiClient):
7145
7141
  query['Destination'] = request.destination
7146
7142
  if not UtilClient.is_unset(request.destination_type):
7147
7143
  query['DestinationType'] = request.destination_type
7144
+ if not UtilClient.is_unset(request.direction):
7145
+ query['Direction'] = request.direction
7148
7146
  if not UtilClient.is_unset(request.domain_resolve_type):
7149
7147
  query['DomainResolveType'] = request.domain_resolve_type
7150
7148
  if not UtilClient.is_unset(request.end_time):
@@ -7222,6 +7220,8 @@ class Client(OpenApiClient):
7222
7220
  query['Destination'] = request.destination
7223
7221
  if not UtilClient.is_unset(request.destination_type):
7224
7222
  query['DestinationType'] = request.destination_type
7223
+ if not UtilClient.is_unset(request.direction):
7224
+ query['Direction'] = request.direction
7225
7225
  if not UtilClient.is_unset(request.domain_resolve_type):
7226
7226
  query['DomainResolveType'] = request.domain_resolve_type
7227
7227
  if not UtilClient.is_unset(request.end_time):
@@ -7302,6 +7302,8 @@ class Client(OpenApiClient):
7302
7302
  query = {}
7303
7303
  if not UtilClient.is_unset(request.acl_uuid):
7304
7304
  query['AclUuid'] = request.acl_uuid
7305
+ if not UtilClient.is_unset(request.direction):
7306
+ query['Direction'] = request.direction
7305
7307
  if not UtilClient.is_unset(request.lang):
7306
7308
  query['Lang'] = request.lang
7307
7309
  if not UtilClient.is_unset(request.nat_gateway_id):
@@ -7336,6 +7338,8 @@ class Client(OpenApiClient):
7336
7338
  query = {}
7337
7339
  if not UtilClient.is_unset(request.acl_uuid):
7338
7340
  query['AclUuid'] = request.acl_uuid
7341
+ if not UtilClient.is_unset(request.direction):
7342
+ query['Direction'] = request.direction
7339
7343
  if not UtilClient.is_unset(request.lang):
7340
7344
  query['Lang'] = request.lang
7341
7345
  if not UtilClient.is_unset(request.nat_gateway_id):
@@ -9141,6 +9145,76 @@ class Client(OpenApiClient):
9141
9145
  runtime = util_models.RuntimeOptions()
9142
9146
  return await self.put_enable_fw_switch_with_options_async(request, runtime)
9143
9147
 
9148
+ def release_post_instance_with_options(
9149
+ self,
9150
+ request: cloudfw_20171207_models.ReleasePostInstanceRequest,
9151
+ runtime: util_models.RuntimeOptions,
9152
+ ) -> cloudfw_20171207_models.ReleasePostInstanceResponse:
9153
+ UtilClient.validate_model(request)
9154
+ query = {}
9155
+ if not UtilClient.is_unset(request.instance_id):
9156
+ query['InstanceId'] = request.instance_id
9157
+ req = open_api_models.OpenApiRequest(
9158
+ query=OpenApiUtilClient.query(query)
9159
+ )
9160
+ params = open_api_models.Params(
9161
+ action='ReleasePostInstance',
9162
+ version='2017-12-07',
9163
+ protocol='HTTPS',
9164
+ pathname='/',
9165
+ method='POST',
9166
+ auth_type='AK',
9167
+ style='RPC',
9168
+ req_body_type='formData',
9169
+ body_type='json'
9170
+ )
9171
+ return TeaCore.from_map(
9172
+ cloudfw_20171207_models.ReleasePostInstanceResponse(),
9173
+ self.call_api(params, req, runtime)
9174
+ )
9175
+
9176
+ async def release_post_instance_with_options_async(
9177
+ self,
9178
+ request: cloudfw_20171207_models.ReleasePostInstanceRequest,
9179
+ runtime: util_models.RuntimeOptions,
9180
+ ) -> cloudfw_20171207_models.ReleasePostInstanceResponse:
9181
+ UtilClient.validate_model(request)
9182
+ query = {}
9183
+ if not UtilClient.is_unset(request.instance_id):
9184
+ query['InstanceId'] = request.instance_id
9185
+ req = open_api_models.OpenApiRequest(
9186
+ query=OpenApiUtilClient.query(query)
9187
+ )
9188
+ params = open_api_models.Params(
9189
+ action='ReleasePostInstance',
9190
+ version='2017-12-07',
9191
+ protocol='HTTPS',
9192
+ pathname='/',
9193
+ method='POST',
9194
+ auth_type='AK',
9195
+ style='RPC',
9196
+ req_body_type='formData',
9197
+ body_type='json'
9198
+ )
9199
+ return TeaCore.from_map(
9200
+ cloudfw_20171207_models.ReleasePostInstanceResponse(),
9201
+ await self.call_api_async(params, req, runtime)
9202
+ )
9203
+
9204
+ def release_post_instance(
9205
+ self,
9206
+ request: cloudfw_20171207_models.ReleasePostInstanceRequest,
9207
+ ) -> cloudfw_20171207_models.ReleasePostInstanceResponse:
9208
+ runtime = util_models.RuntimeOptions()
9209
+ return self.release_post_instance_with_options(request, runtime)
9210
+
9211
+ async def release_post_instance_async(
9212
+ self,
9213
+ request: cloudfw_20171207_models.ReleasePostInstanceRequest,
9214
+ ) -> cloudfw_20171207_models.ReleasePostInstanceResponse:
9215
+ runtime = util_models.RuntimeOptions()
9216
+ return await self.release_post_instance_with_options_async(request, runtime)
9217
+
9144
9218
  def reset_vpc_firewall_rule_hit_count_with_options(
9145
9219
  self,
9146
9220
  request: cloudfw_20171207_models.ResetVpcFirewallRuleHitCountRequest,
@@ -960,12 +960,15 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
960
960
  #
961
961
  # * **out**: outbound traffic
962
962
  self.direction = direction
963
- # The domain name resolution method of the access control policy. By default, an access control policy is enabled after it is created. Valid values:
963
+ # The domain name resolution method of the access control policy. By default, the access control policy is enabled after the policy is created. Valid values:
964
964
  #
965
- # * **0**: Fully qualified domain name (FQDN)-based resolution
965
+ # * **0**: fully qualified domain name (FQDN)-based resolution
966
966
  # * **1**: Domain Name System (DNS)-based dynamic resolution
967
967
  # * **2**: FQDN and DNS-based dynamic resolution
968
968
  self.domain_resolve_type = domain_resolve_type
969
+ # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
970
+ #
971
+ # > If RepeatType is set to Permanent, EndTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.
969
972
  self.end_time = end_time
970
973
  # The IP version supported by the access control policy. Valid values:
971
974
  #
@@ -980,7 +983,7 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
980
983
  self.lang = lang
981
984
  # The ID of the NAT gateway.
982
985
  self.nat_gateway_id = nat_gateway_id
983
- # The new priority of the access control policy.
986
+ # The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority.
984
987
  self.new_order = new_order
985
988
  # The protocol type in the access control policy.
986
989
  #
@@ -996,9 +999,32 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
996
999
  # * **true**\
997
1000
  # * **false**\
998
1001
  self.release = release
1002
+ # The days of a week or of a month on which the access control policy takes effect.
1003
+ #
1004
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
1005
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
1006
+ #
1007
+ # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
1008
+ #
1009
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
1010
+ #
1011
+ # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
999
1012
  self.repeat_days = repeat_days
1013
+ # The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.
1014
+ #
1015
+ # > If RepeatType is set to Permanent or None, RepeatEndTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.
1000
1016
  self.repeat_end_time = repeat_end_time
1017
+ # The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.
1018
+ #
1019
+ # > If RepeatType is set to Permanent or None, RepeatStartTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.
1001
1020
  self.repeat_start_time = repeat_start_time
1021
+ # The recurrence type for the access control policy to take effect. Valid values:
1022
+ #
1023
+ # * **Permanent** (default): The policy always takes effect.
1024
+ # * **None**: The policy takes effect for only once.
1025
+ # * **Daily**: The policy takes effect on a daily basis.
1026
+ # * **Weekly**: The policy takes effect on a weekly basis.
1027
+ # * **Monthly**: The policy takes effect on a monthly basis.
1002
1028
  self.repeat_type = repeat_type
1003
1029
  # The source address in the access control policy.
1004
1030
  #
@@ -1019,6 +1045,9 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1019
1045
  # * **net**: source CIDR block
1020
1046
  # * **group**: source address book
1021
1047
  self.source_type = source_type
1048
+ # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
1049
+ #
1050
+ # > If RepeatType is set to Permanent, StartTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.
1022
1051
  self.start_time = start_time
1023
1052
 
1024
1053
  def validate(self):
@@ -1139,9 +1168,9 @@ class CreateNatFirewallControlPolicyResponseBody(TeaModel):
1139
1168
  acl_uuid: str = None,
1140
1169
  request_id: str = None,
1141
1170
  ):
1142
- # The UUID of the access control policy.
1171
+ # The unique ID of the access control policy.
1143
1172
  #
1144
- # > If you want to modify an access control policy, you must provide the UUID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.
1173
+ # > To modify an access control policy, you must specify the unique ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to obtain the ID.
1145
1174
  self.acl_uuid = acl_uuid
1146
1175
  # The request ID.
1147
1176
  self.request_id = request_id
@@ -3477,9 +3506,16 @@ class DescribeACLProtectTrendRequest(TeaModel):
3477
3506
  source_ip: str = None,
3478
3507
  start_time: str = None,
3479
3508
  ):
3509
+ # The end of the time range to query. The value is a UNIX timestamp that is accurate to seconds.
3480
3510
  self.end_time = end_time
3511
+ # The language of the content within the request and the response. Valid values:
3512
+ #
3513
+ # * **zh** (default): Chinese
3514
+ # * **en**: English
3481
3515
  self.lang = lang
3516
+ # This parameter is deprecated.
3482
3517
  self.source_ip = source_ip
3518
+ # The beginning of the time range to query. The value is a UNIX timestamp that is accurate to seconds.
3483
3519
  self.start_time = start_time
3484
3520
 
3485
3521
  def validate(self):
@@ -3520,7 +3556,9 @@ class DescribeACLProtectTrendResponseBodyTrendList(TeaModel):
3520
3556
  protect_cnt: int = None,
3521
3557
  time: int = None,
3522
3558
  ):
3559
+ # The number of requests that are blocked by ACL on the current day.
3523
3560
  self.protect_cnt = protect_cnt
3561
+ # The UNIX timestamp at midnight (00:00:00) of each day, which indicates the date of the current day. Unit: seconds.
3524
3562
  self.time = time
3525
3563
 
3526
3564
  def validate(self):
@@ -3558,12 +3596,19 @@ class DescribeACLProtectTrendResponseBody(TeaModel):
3558
3596
  total_protect_cnt: int = None,
3559
3597
  trend_list: List[DescribeACLProtectTrendResponseBodyTrendList] = None,
3560
3598
  ):
3599
+ # The number of internal requests that are blocked by the ACL feature.
3561
3600
  self.in_protect_cnt = in_protect_cnt
3601
+ # This parameter is deprecated.
3562
3602
  self.inter_vpcprotect_cnt = inter_vpcprotect_cnt
3603
+ # The interval for returning data. Unit: seconds.
3563
3604
  self.interval = interval
3605
+ # The number of external requests that are blocked by the ACL feature.
3564
3606
  self.out_protect_cnt = out_protect_cnt
3607
+ # The request ID.
3565
3608
  self.request_id = request_id
3609
+ # The total number of requests that are blocked by the ACL feature.
3566
3610
  self.total_protect_cnt = total_protect_cnt
3611
+ # The statistics on the requests that are blocked by the ACL feature.
3567
3612
  self.trend_list = trend_list
3568
3613
 
3569
3614
  def validate(self):
@@ -10069,8 +10114,14 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequest(TeaModel):
10069
10114
  lang: str = None,
10070
10115
  tr_firewall_route_policy_id: str = None,
10071
10116
  ):
10117
+ # The instance ID of the VPC firewall.
10072
10118
  self.firewall_id = firewall_id
10119
+ # The language of the content within the response. Valid values:
10120
+ #
10121
+ # * **zh** (default): Chinese
10122
+ # * **en**: English
10073
10123
  self.lang = lang
10124
+ # The ID of the routing policy.
10074
10125
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
10075
10126
 
10076
10127
  def validate(self):
@@ -10110,10 +10161,15 @@ class DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociation
10110
10161
  current_route_table_id: str = None,
10111
10162
  original_route_table_id: str = None,
10112
10163
  ):
10164
+ # The ID of the traffic redirection instance.
10113
10165
  self.candidate_id = candidate_id
10166
+ # The name of the traffic redirection instance.
10114
10167
  self.candidate_name = candidate_name
10168
+ # The type of the traffic redirection instance.
10115
10169
  self.candidate_type = candidate_type
10170
+ # The route table that is used after traffic redirection.
10116
10171
  self.current_route_table_id = current_route_table_id
10172
+ # The ID of the route table.
10117
10173
  self.original_route_table_id = original_route_table_id
10118
10174
 
10119
10175
  def validate(self):
@@ -10158,7 +10214,9 @@ class DescribeTrFirewallPolicyBackUpAssociationListResponseBody(TeaModel):
10158
10214
  policy_association_backup_configs: List[DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs] = None,
10159
10215
  request_id: str = None,
10160
10216
  ):
10217
+ # The route tables.
10161
10218
  self.policy_association_backup_configs = policy_association_backup_configs
10219
+ # The request ID.
10162
10220
  self.request_id = request_id
10163
10221
 
10164
10222
  def validate(self):
@@ -11977,6 +12035,7 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
11977
12035
  acl_group_id: str = None,
11978
12036
  acl_group_name: str = None,
11979
12037
  acl_rule_count: int = None,
12038
+ is_default: bool = None,
11980
12039
  member_uid: str = None,
11981
12040
  ):
11982
12041
  # The ID of the policy group.
@@ -11997,6 +12056,7 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
11997
12056
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the name of the VPC firewall instance.
11998
12057
  self.acl_group_name = acl_group_name
11999
12058
  self.acl_rule_count = acl_rule_count
12059
+ self.is_default = is_default
12000
12060
  # The UID of the member that is managed by your Alibaba Cloud account.
12001
12061
  self.member_uid = member_uid
12002
12062
 
@@ -12015,6 +12075,8 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
12015
12075
  result['AclGroupName'] = self.acl_group_name
12016
12076
  if self.acl_rule_count is not None:
12017
12077
  result['AclRuleCount'] = self.acl_rule_count
12078
+ if self.is_default is not None:
12079
+ result['IsDefault'] = self.is_default
12018
12080
  if self.member_uid is not None:
12019
12081
  result['MemberUid'] = self.member_uid
12020
12082
  return result
@@ -12027,6 +12089,8 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
12027
12089
  self.acl_group_name = m.get('AclGroupName')
12028
12090
  if m.get('AclRuleCount') is not None:
12029
12091
  self.acl_rule_count = m.get('AclRuleCount')
12092
+ if m.get('IsDefault') is not None:
12093
+ self.is_default = m.get('IsDefault')
12030
12094
  if m.get('MemberUid') is not None:
12031
12095
  self.member_uid = m.get('MemberUid')
12032
12096
  return self
@@ -13330,11 +13394,18 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
13330
13394
  #
13331
13395
  # > If you do not specify this parameter, access control policies of all protocol types are queried.
13332
13396
  self.proto = proto
13333
- # Specifies whether the access control policy is enabled. By default, an access control policy is enabled after the policy is created. Valid values:
13397
+ # The status of the access control policy. Valid values:
13334
13398
  #
13335
- # * **true**: The access control policy is enabled.
13336
- # * **false**: The access control policy is disabled.
13399
+ # * **true**: enabled
13400
+ # * **false**: disabled
13337
13401
  self.release = release
13402
+ # The recurrence type for the access control policy to take effect. Valid values:
13403
+ #
13404
+ # * **Permanent** (default): The policy always takes effect.
13405
+ # * **None**: The policy takes effect for only once.
13406
+ # * **Daily**: The policy takes effect on a daily basis.
13407
+ # * **Weekly**: The policy takes effect on a weekly basis.
13408
+ # * **Monthly**: The policy takes effect on a monthly basis.
13338
13409
  self.repeat_type = repeat_type
13339
13410
  # The source address in the access control policy. Fuzzy match is supported.
13340
13411
  #
@@ -13456,14 +13527,14 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13456
13527
  # The action that Cloud Firewall performs on the traffic. Valid values:
13457
13528
  #
13458
13529
  # * **accept**: allows the traffic.
13459
- # * **drop**: blocks the traffic.
13530
+ # * **drop**: denies the traffic.
13460
13531
  # * **log**: monitors the traffic.
13461
13532
  self.acl_action = acl_action
13462
- # The unique ID of the access control policy.
13533
+ # The UUID of the access control policy.
13463
13534
  self.acl_uuid = acl_uuid
13464
13535
  # The application ID in the access control policy.
13465
13536
  self.application_id = application_id
13466
- # The application type in the access control policy. Valid values:
13537
+ # The application types supported by the access control policy. We recommend that you specify ApplicationNameList. Valid values:
13467
13538
  #
13468
13539
  # * **HTTP**\
13469
13540
  # * **HTTPS**\
@@ -13480,7 +13551,9 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13480
13551
  # * **SSL**\
13481
13552
  # * **ANY**: all application types
13482
13553
  self.application_name = application_name
13554
+ # The application types supported by the access control policy.
13483
13555
  self.application_name_list = application_name_list
13556
+ # The time when the access control policy was created. The value is a UNIX timestamp. Unit: seconds.
13484
13557
  self.create_time = create_time
13485
13558
  # The description of the access control policy.
13486
13559
  self.description = description
@@ -13488,7 +13561,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13488
13561
  self.dest_port = dest_port
13489
13562
  # The name of the destination port address book in the access control policy.
13490
13563
  self.dest_port_group = dest_port_group
13491
- # An array that consists of the ports in the destination port address book of the access control policy.
13564
+ # The ports in the destination port address book of the access control policy.
13492
13565
  self.dest_port_group_ports = dest_port_group_ports
13493
13566
  # The type of the destination port in the access control policy. Valid values:
13494
13567
  #
@@ -13501,7 +13574,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13501
13574
  # * If **DestinationType** is set to `domain`, the value of this parameter is a domain name.
13502
13575
  # * If **DestinationType** is set to `group`, the value of this parameter is an address book name.
13503
13576
  self.destination = destination
13504
- # An array that consists of the CIDR blocks in the destination address book of the access control policy.
13577
+ # The CIDR blocks in the destination address book of the access control policy.
13505
13578
  self.destination_group_cidrs = destination_group_cidrs
13506
13579
  # The type of the destination address book in the access control policy. Valid values:
13507
13580
  #
@@ -13514,12 +13587,17 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13514
13587
  # * **group**: address book
13515
13588
  # * **domain**: domain name
13516
13589
  self.destination_type = destination_type
13590
+ # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
13591
+ #
13592
+ # > If RepeatType is set to Permanent, EndTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must be specified.
13517
13593
  self.end_time = end_time
13594
+ # The time when the access control policy was last hit. The value is a UNIX timestamp. Unit: seconds.
13518
13595
  self.hit_last_time = hit_last_time
13519
13596
  # The number of hits for the access control policy.
13520
13597
  self.hit_times = hit_times
13521
13598
  # The UID of the member that is managed by your Alibaba Cloud account.
13522
13599
  self.member_uid = member_uid
13600
+ # The time when the access control policy was modified. The value is a UNIX timestamp. Unit: seconds.
13523
13601
  self.modify_time = modify_time
13524
13602
  # The priority of the access control policy.
13525
13603
  #
@@ -13532,30 +13610,57 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
13532
13610
  # * **ICMP**\
13533
13611
  # * **ANY**: all protocol types
13534
13612
  self.proto = proto
13535
- # Indicates whether the access control policy is enabled. By default, an access control policy is enabled after the policy is created. Valid values:
13613
+ # Indicates whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values:
13536
13614
  #
13537
- # * **true**: The access control policy is enabled.
13538
- # * **false**: The access control policy is disabled.
13615
+ # * **true**\
13616
+ # * **false**\
13539
13617
  self.release = release
13618
+ # The days of a week or of a month on which the access control policy takes effect.
13619
+ #
13620
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
13621
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
13622
+ #
13623
+ # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
13624
+ #
13625
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
13626
+ #
13627
+ # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
13540
13628
  self.repeat_days = repeat_days
13629
+ # The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.
13630
+ #
13631
+ # > If RepeatType is set to Permanent or None, RepeatEndTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must be specified.
13541
13632
  self.repeat_end_time = repeat_end_time
13633
+ # The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.
13634
+ #
13635
+ # > If RepeatType is set to Permanent or None, RepeatStartTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.
13542
13636
  self.repeat_start_time = repeat_start_time
13637
+ # The recurrence type for the access control policy to take effect. Valid values:
13638
+ #
13639
+ # * **Permanent** (default): The policy always takes effect.
13640
+ # * **None**: The policy takes effect for only once.
13641
+ # * **Daily**: The policy takes effect on a daily basis.
13642
+ # * **Weekly**: The policy takes effect on a weekly basis.
13643
+ # * **Monthly**: The policy takes effect on a monthly basis.
13543
13644
  self.repeat_type = repeat_type
13544
13645
  # The source address in the access control policy. Valid values:
13545
13646
  #
13546
13647
  # * If **SourceType** is set to `net`, the value of this parameter is a CIDR block.
13547
13648
  # * If **SourceType** is set to `group`, the value of this parameter is an address book name.
13548
13649
  self.source = source
13549
- # An array that consists of the CIDR blocks in the source address book of the access control policy.
13650
+ # The CIDR blocks in the source address book of the access control policy.
13550
13651
  self.source_group_cidrs = source_group_cidrs
13551
- # The type of the source address in the access control policy. The value is fixed as **ip**. The value indicates an address book that includes one or more CIDR blocks.
13652
+ # The type of the source address book in the access control policy. The value is fixed as **ip**. The value indicates an address book that includes one or more CIDR blocks.
13552
13653
  self.source_group_type = source_group_type
13553
13654
  # The type of the source address in the access control policy. Valid values:
13554
13655
  #
13555
13656
  # * **net**: CIDR block
13556
13657
  # * **group**: address book
13557
13658
  self.source_type = source_type
13659
+ # The total quota consumed by the returned access control policies, which is the sum of the quota consumed by each policy. The quota that is consumed by an access control policy is calculated by using the following formula: Quota that is consumed by an access control policy = Number of source addresses × Number of destination addresses (number of CIDR blocks or domain names) × Number of applications × Number of port ranges.
13558
13660
  self.spread_cnt = spread_cnt
13661
+ # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
13662
+ #
13663
+ # > If RepeatType is set to Permanent, StartTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must be specified.
13559
13664
  self.start_time = start_time
13560
13665
 
13561
13666
  def validate(self):
@@ -13713,7 +13818,7 @@ class DescribeVpcFirewallControlPolicyResponseBody(TeaModel):
13713
13818
  request_id: str = None,
13714
13819
  total_count: str = None,
13715
13820
  ):
13716
- # The information about the access control policies.
13821
+ # The access control policies.
13717
13822
  self.policys = policys
13718
13823
  # The ID of the request.
13719
13824
  self.request_id = request_id
@@ -16159,6 +16264,9 @@ class ModifyControlPolicyRequest(TeaModel):
16159
16264
  # * **in**: inbound traffic
16160
16265
  # * **out**: outbound traffic
16161
16266
  self.direction = direction
16267
+ # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
16268
+ #
16269
+ # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
16162
16270
  self.end_time = end_time
16163
16271
  # The language of the content within the request and the response. Valid values:
16164
16272
  #
@@ -16179,9 +16287,32 @@ class ModifyControlPolicyRequest(TeaModel):
16179
16287
  # * true: enabled
16180
16288
  # * false: disabled
16181
16289
  self.release = release
16290
+ # The days of a week or of a month on which the access control policy takes effect.
16291
+ #
16292
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[]
16293
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6]
16294
+ #
16295
+ # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
16296
+ #
16297
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31]
16298
+ #
16299
+ # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
16182
16300
  self.repeat_days = repeat_days
16301
+ # The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.
16302
+ #
16303
+ # > If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.
16183
16304
  self.repeat_end_time = repeat_end_time
16305
+ # The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.
16306
+ #
16307
+ # > If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.
16184
16308
  self.repeat_start_time = repeat_start_time
16309
+ # The recurrence type for the access control policy to take effect. Valid values:
16310
+ #
16311
+ # * **Permanent** (default): The policy always takes effect.
16312
+ # * **None**: The policy takes effect for only once.
16313
+ # * **Daily**: The policy takes effect on a daily basis.
16314
+ # * **Weekly**: The policy takes effect on a weekly basis.
16315
+ # * **Monthly**: The policy takes effect on a monthly basis.
16185
16316
  self.repeat_type = repeat_type
16186
16317
  # The source address in the access control policy.
16187
16318
  #
@@ -16195,6 +16326,9 @@ class ModifyControlPolicyRequest(TeaModel):
16195
16326
  # * **group**: address book
16196
16327
  # * **location**: location
16197
16328
  self.source_type = source_type
16329
+ # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
16330
+ #
16331
+ # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
16198
16332
  self.start_time = start_time
16199
16333
 
16200
16334
  def validate(self):
@@ -16674,10 +16808,24 @@ class ModifyFirewallV2RoutePolicySwitchRequest(TeaModel):
16674
16808
  tr_firewall_route_policy_id: str = None,
16675
16809
  tr_firewall_route_policy_switch_status: str = None,
16676
16810
  ):
16811
+ # The instance ID of the virtual private cloud (VPC) firewall.
16677
16812
  self.firewall_id = firewall_id
16813
+ # The language of the content within the response. Valid values:
16814
+ #
16815
+ # * **zh** (default): Chinese
16816
+ # * **en**: English
16678
16817
  self.lang = lang
16818
+ # Specifies whether to restore the traffic redirection configurations. Valid values:
16819
+ #
16820
+ # * true: roll back
16821
+ # * false: withdraw
16679
16822
  self.should_recover = should_recover
16823
+ # The ID of the routing policy.
16680
16824
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
16825
+ # The status of the routing policy. Valid values:
16826
+ #
16827
+ # * open: enabled
16828
+ # * close: disabled
16681
16829
  self.tr_firewall_route_policy_switch_status = tr_firewall_route_policy_switch_status
16682
16830
 
16683
16831
  def validate(self):
@@ -16721,6 +16869,7 @@ class ModifyFirewallV2RoutePolicySwitchResponseBody(TeaModel):
16721
16869
  self,
16722
16870
  request_id: str = None,
16723
16871
  ):
16872
+ # The request ID.
16724
16873
  self.request_id = request_id
16725
16874
 
16726
16875
  def validate(self):
@@ -16942,6 +17091,7 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
16942
17091
  dest_port_type: str = None,
16943
17092
  destination: str = None,
16944
17093
  destination_type: str = None,
17094
+ direction: str = None,
16945
17095
  domain_resolve_type: str = None,
16946
17096
  end_time: int = None,
16947
17097
  lang: str = None,
@@ -16997,6 +17147,7 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
16997
17147
  # * **domain**: domain name
16998
17148
  # * **location**\
16999
17149
  self.destination_type = destination_type
17150
+ self.direction = direction
17000
17151
  # The domain name resolution method of the access control policy. By default, an access control policy is enabled after it is created. Valid values:
17001
17152
  #
17002
17153
  # * **0**: Fully qualified domain name (FQDN)-based resolution
@@ -17077,6 +17228,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
17077
17228
  result['Destination'] = self.destination
17078
17229
  if self.destination_type is not None:
17079
17230
  result['DestinationType'] = self.destination_type
17231
+ if self.direction is not None:
17232
+ result['Direction'] = self.direction
17080
17233
  if self.domain_resolve_type is not None:
17081
17234
  result['DomainResolveType'] = self.domain_resolve_type
17082
17235
  if self.end_time is not None:
@@ -17125,6 +17278,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
17125
17278
  self.destination = m.get('Destination')
17126
17279
  if m.get('DestinationType') is not None:
17127
17280
  self.destination_type = m.get('DestinationType')
17281
+ if m.get('Direction') is not None:
17282
+ self.direction = m.get('Direction')
17128
17283
  if m.get('DomainResolveType') is not None:
17129
17284
  self.domain_resolve_type = m.get('DomainResolveType')
17130
17285
  if m.get('EndTime') is not None:
@@ -17230,12 +17385,14 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
17230
17385
  def __init__(
17231
17386
  self,
17232
17387
  acl_uuid: str = None,
17388
+ direction: str = None,
17233
17389
  lang: str = None,
17234
17390
  nat_gateway_id: str = None,
17235
17391
  new_order: int = None,
17236
17392
  ):
17237
17393
  # The UUID of the access control policy.
17238
17394
  self.acl_uuid = acl_uuid
17395
+ self.direction = direction
17239
17396
  # The language of the content within the response. Valid values:
17240
17397
  #
17241
17398
  # * **zh**: Chinese (default)
@@ -17261,6 +17418,8 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
17261
17418
  result = dict()
17262
17419
  if self.acl_uuid is not None:
17263
17420
  result['AclUuid'] = self.acl_uuid
17421
+ if self.direction is not None:
17422
+ result['Direction'] = self.direction
17264
17423
  if self.lang is not None:
17265
17424
  result['Lang'] = self.lang
17266
17425
  if self.nat_gateway_id is not None:
@@ -17273,6 +17432,8 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
17273
17432
  m = m or dict()
17274
17433
  if m.get('AclUuid') is not None:
17275
17434
  self.acl_uuid = m.get('AclUuid')
17435
+ if m.get('Direction') is not None:
17436
+ self.direction = m.get('Direction')
17276
17437
  if m.get('Lang') is not None:
17277
17438
  self.lang = m.get('Lang')
17278
17439
  if m.get('NatGatewayId') is not None:
@@ -18423,7 +18584,7 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
18423
18584
  #
18424
18585
  # If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the ID.
18425
18586
  self.acl_uuid = acl_uuid
18426
- # The application type in the access control policy.
18587
+ # The application type used in the access control policy.
18427
18588
  #
18428
18589
  # Valid values:
18429
18590
  #
@@ -18444,6 +18605,7 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
18444
18605
  # * SSL
18445
18606
  # * ANY: all application types
18446
18607
  self.application_name = application_name
18608
+ # The application names.
18447
18609
  self.application_name_list = application_name_list
18448
18610
  # The description of the access control policy.
18449
18611
  self.description = description
@@ -18478,6 +18640,9 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
18478
18640
  # * **group**: address book
18479
18641
  # * **domain**: domain name
18480
18642
  self.destination_type = destination_type
18643
+ # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
18644
+ #
18645
+ # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
18481
18646
  self.end_time = end_time
18482
18647
  # The language of the content within the response.
18483
18648
  #
@@ -18500,9 +18665,32 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
18500
18665
  # * **true**: enables the access control policy.
18501
18666
  # * **false**: disables the access control policy.
18502
18667
  self.release = release
18668
+ # The days of a week or of a month on which the access control policy takes effect.
18669
+ #
18670
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[].
18671
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
18672
+ #
18673
+ # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
18674
+ #
18675
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
18676
+ #
18677
+ # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
18503
18678
  self.repeat_days = repeat_days
18679
+ # The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.
18680
+ #
18681
+ # > If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.
18504
18682
  self.repeat_end_time = repeat_end_time
18683
+ # The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.
18684
+ #
18685
+ # > If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.
18505
18686
  self.repeat_start_time = repeat_start_time
18687
+ # The recurrence type for the access control policy to take effect. Valid values:
18688
+ #
18689
+ # * **Permanent** (default): The policy always takes effect.
18690
+ # * **None**: The policy takes effect for only once.
18691
+ # * **Daily**: The policy takes effect on a daily basis.
18692
+ # * **Weekly**: The policy takes effect on a weekly basis.
18693
+ # * **Monthly**: The policy takes effect on a monthly basis.
18506
18694
  self.repeat_type = repeat_type
18507
18695
  # The source address in the access control policy.
18508
18696
  #
@@ -18523,6 +18711,9 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
18523
18711
  # * **net**: CIDR block
18524
18712
  # * **group**: address book
18525
18713
  self.source_type = source_type
18714
+ # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
18715
+ #
18716
+ # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
18526
18717
  self.start_time = start_time
18527
18718
  # The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
18528
18719
  #
@@ -19727,6 +19918,122 @@ class PutEnableFwSwitchResponse(TeaModel):
19727
19918
  return self
19728
19919
 
19729
19920
 
19921
+ class ReleasePostInstanceRequest(TeaModel):
19922
+ def __init__(
19923
+ self,
19924
+ instance_id: str = None,
19925
+ ):
19926
+ self.instance_id = instance_id
19927
+
19928
+ def validate(self):
19929
+ pass
19930
+
19931
+ def to_map(self):
19932
+ _map = super().to_map()
19933
+ if _map is not None:
19934
+ return _map
19935
+
19936
+ result = dict()
19937
+ if self.instance_id is not None:
19938
+ result['InstanceId'] = self.instance_id
19939
+ return result
19940
+
19941
+ def from_map(self, m: dict = None):
19942
+ m = m or dict()
19943
+ if m.get('InstanceId') is not None:
19944
+ self.instance_id = m.get('InstanceId')
19945
+ return self
19946
+
19947
+
19948
+ class ReleasePostInstanceResponseBody(TeaModel):
19949
+ def __init__(
19950
+ self,
19951
+ http_status_code: int = None,
19952
+ release_status: bool = None,
19953
+ request_id: str = None,
19954
+ success: bool = None,
19955
+ ):
19956
+ self.http_status_code = http_status_code
19957
+ self.release_status = release_status
19958
+ self.request_id = request_id
19959
+ self.success = success
19960
+
19961
+ def validate(self):
19962
+ pass
19963
+
19964
+ def to_map(self):
19965
+ _map = super().to_map()
19966
+ if _map is not None:
19967
+ return _map
19968
+
19969
+ result = dict()
19970
+ if self.http_status_code is not None:
19971
+ result['HttpStatusCode'] = self.http_status_code
19972
+ if self.release_status is not None:
19973
+ result['ReleaseStatus'] = self.release_status
19974
+ if self.request_id is not None:
19975
+ result['RequestId'] = self.request_id
19976
+ if self.success is not None:
19977
+ result['Success'] = self.success
19978
+ return result
19979
+
19980
+ def from_map(self, m: dict = None):
19981
+ m = m or dict()
19982
+ if m.get('HttpStatusCode') is not None:
19983
+ self.http_status_code = m.get('HttpStatusCode')
19984
+ if m.get('ReleaseStatus') is not None:
19985
+ self.release_status = m.get('ReleaseStatus')
19986
+ if m.get('RequestId') is not None:
19987
+ self.request_id = m.get('RequestId')
19988
+ if m.get('Success') is not None:
19989
+ self.success = m.get('Success')
19990
+ return self
19991
+
19992
+
19993
+ class ReleasePostInstanceResponse(TeaModel):
19994
+ def __init__(
19995
+ self,
19996
+ headers: Dict[str, str] = None,
19997
+ status_code: int = None,
19998
+ body: ReleasePostInstanceResponseBody = None,
19999
+ ):
20000
+ self.headers = headers
20001
+ self.status_code = status_code
20002
+ self.body = body
20003
+
20004
+ def validate(self):
20005
+ self.validate_required(self.headers, 'headers')
20006
+ self.validate_required(self.status_code, 'status_code')
20007
+ self.validate_required(self.body, 'body')
20008
+ if self.body:
20009
+ self.body.validate()
20010
+
20011
+ def to_map(self):
20012
+ _map = super().to_map()
20013
+ if _map is not None:
20014
+ return _map
20015
+
20016
+ result = dict()
20017
+ if self.headers is not None:
20018
+ result['headers'] = self.headers
20019
+ if self.status_code is not None:
20020
+ result['statusCode'] = self.status_code
20021
+ if self.body is not None:
20022
+ result['body'] = self.body.to_map()
20023
+ return result
20024
+
20025
+ def from_map(self, m: dict = None):
20026
+ m = m or dict()
20027
+ if m.get('headers') is not None:
20028
+ self.headers = m.get('headers')
20029
+ if m.get('statusCode') is not None:
20030
+ self.status_code = m.get('statusCode')
20031
+ if m.get('body') is not None:
20032
+ temp_model = ReleasePostInstanceResponseBody()
20033
+ self.body = temp_model.from_map(m['body'])
20034
+ return self
20035
+
20036
+
19730
20037
  class ResetVpcFirewallRuleHitCountRequest(TeaModel):
19731
20038
  def __init__(
19732
20039
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-cloudfw20171207
3
- Version: 2.1.1
3
+ Version: 3.1.0
4
4
  Summary: Alibaba Cloud Cloudfw (20171207) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development
21
21
  Requires-Python: >=3.6
22
22
  Description-Content-Type: text/markdown
23
23
  Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.11
24
- Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.6
24
+ Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.8
25
25
  Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
26
26
  Requires-Dist: alibabacloud-endpoint-util <1.0.0,>=0.0.3
27
27
 
@@ -0,0 +1,8 @@
1
+ alibabacloud_cloudfw20171207/__init__.py,sha256=eAFl6268qA4nmIlnubQ4w8wznduMfMj0fmAHBVFcebU,21
2
+ alibabacloud_cloudfw20171207/client.py,sha256=8DFq-uID6FRMopdkq8RXb7Gu28v-zE5FDN5RKB0tnQs,477868
3
+ alibabacloud_cloudfw20171207/models.py,sha256=Jg4ZI1NNhAcvRjZHedj17uAR_UTIGVwsA6MDyuoA5l4,760871
4
+ alibabacloud_cloudfw20171207-3.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_cloudfw20171207-3.1.0.dist-info/METADATA,sha256=mljspisOpkaxc8YkUXS94hIrvRk5DyZWvqnZwb7T7B8,2234
6
+ alibabacloud_cloudfw20171207-3.1.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ alibabacloud_cloudfw20171207-3.1.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
+ alibabacloud_cloudfw20171207-3.1.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_cloudfw20171207/__init__.py,sha256=1_YyE3kZfxaXK9HQHZsaGZapgijGuuJmiBFmVoCI_uo,21
2
- alibabacloud_cloudfw20171207/client.py,sha256=ymNmLmD1pMiYACd0b8C_mCevAjZZzPqGFJ7Hf5ighwY,474994
3
- alibabacloud_cloudfw20171207/models.py,sha256=yRjHzBOidtpZNIvKJz-JVf5k5DiQr3yZhBUevZwQVso,742768
4
- alibabacloud_cloudfw20171207-2.1.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_cloudfw20171207-2.1.1.dist-info/METADATA,sha256=XpJcYnMU9WXVFpzee2D6G0e3K-VlCo5lnu-P79_ijYU,2234
6
- alibabacloud_cloudfw20171207-2.1.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- alibabacloud_cloudfw20171207-2.1.1.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
- alibabacloud_cloudfw20171207-2.1.1.dist-info/RECORD,,