alibabacloud-cloudfw20171207 4.0.0__py3-none-any.whl → 4.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.
- alibabacloud_cloudfw20171207/__init__.py +1 -1
- alibabacloud_cloudfw20171207/client.py +192 -64
- alibabacloud_cloudfw20171207/models.py +361 -68
- {alibabacloud_cloudfw20171207-4.0.0.dist-info → alibabacloud_cloudfw20171207-4.1.0.dist-info}/METADATA +2 -2
- alibabacloud_cloudfw20171207-4.1.0.dist-info/RECORD +8 -0
- alibabacloud_cloudfw20171207-4.0.0.dist-info/RECORD +0 -8
- {alibabacloud_cloudfw20171207-4.0.0.dist-info → alibabacloud_cloudfw20171207-4.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-4.0.0.dist-info → alibabacloud_cloudfw20171207-4.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_cloudfw20171207-4.0.0.dist-info → alibabacloud_cloudfw20171207-4.1.0.dist-info}/top_level.txt +0 -0
|
@@ -54,11 +54,11 @@ class AddAddressBookRequest(TeaModel):
|
|
|
54
54
|
):
|
|
55
55
|
# The addresses that you want to add to the address book. Separate multiple addresses with commas (,).
|
|
56
56
|
#
|
|
57
|
-
# > If you set GroupType to `ip`, `port
|
|
57
|
+
# > If you set GroupType to `ip`, `port` or `domain`, you must specify AddressList.
|
|
58
58
|
#
|
|
59
|
-
# * If you set GroupType to `ip`, you must add IP addresses to the address book. Example: 192.0.XX.XX/32,
|
|
60
|
-
# * If you set GroupType to `port`, you must add port numbers or port ranges to the address book. Example: 80,
|
|
61
|
-
# * If you set GroupType to `domain`, you must add domain names to the address book. Example: example.com,
|
|
59
|
+
# * If you set GroupType to `ip`, you must add IP addresses to the address book. Example: 192.0.XX.XX/32,192.0.XX.XX/24.
|
|
60
|
+
# * If you set GroupType to `port`, you must add port numbers or port ranges to the address book. Example: 80,100/200.
|
|
61
|
+
# * If you set GroupType to `domain`, you must add domain names to the address book. Example: example.com,aliyundoc.com.
|
|
62
62
|
self.address_list = address_list
|
|
63
63
|
# Specifies whether to automatically add public IP addresses of ECS instances to the address book if the instances match the specified tags. Valid values:
|
|
64
64
|
#
|
|
@@ -654,9 +654,9 @@ class AddInstanceMembersRequestMembers(TeaModel):
|
|
|
654
654
|
member_desc: str = None,
|
|
655
655
|
member_uid: int = None,
|
|
656
656
|
):
|
|
657
|
-
# The remarks of member
|
|
657
|
+
# The remarks of the member. The value must be 1 to 256 characters in length.
|
|
658
658
|
self.member_desc = member_desc
|
|
659
|
-
# The UID of member
|
|
659
|
+
# The UID of the member. You can add up to 20 members to Cloud Firewall at a time.
|
|
660
660
|
#
|
|
661
661
|
# This parameter is required.
|
|
662
662
|
self.member_uid = member_uid
|
|
@@ -690,7 +690,7 @@ class AddInstanceMembersRequest(TeaModel):
|
|
|
690
690
|
self,
|
|
691
691
|
members: List[AddInstanceMembersRequestMembers] = None,
|
|
692
692
|
):
|
|
693
|
-
# The members
|
|
693
|
+
# The members.
|
|
694
694
|
#
|
|
695
695
|
# This parameter is required.
|
|
696
696
|
self.members = members
|
|
@@ -728,7 +728,7 @@ class AddInstanceMembersResponseBody(TeaModel):
|
|
|
728
728
|
self,
|
|
729
729
|
request_id: str = None,
|
|
730
730
|
):
|
|
731
|
-
# The ID
|
|
731
|
+
# The request ID.
|
|
732
732
|
self.request_id = request_id
|
|
733
733
|
|
|
734
734
|
def validate(self):
|
|
@@ -1279,9 +1279,9 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
|
|
|
1279
1279
|
#
|
|
1280
1280
|
# This parameter is required.
|
|
1281
1281
|
self.destination_type = destination_type
|
|
1282
|
-
# The direction of the traffic to which the access control policy applies. Valid
|
|
1282
|
+
# The direction of the traffic to which the access control policy applies. Valid value:
|
|
1283
1283
|
#
|
|
1284
|
-
# * **out**: outbound
|
|
1284
|
+
# * **out**: outbound.
|
|
1285
1285
|
#
|
|
1286
1286
|
# This parameter is required.
|
|
1287
1287
|
self.direction = direction
|
|
@@ -1318,11 +1318,13 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
|
|
|
1318
1318
|
#
|
|
1319
1319
|
# Valid values:
|
|
1320
1320
|
#
|
|
1321
|
-
# * ANY: all types of protocols
|
|
1321
|
+
# * ANY: all types of protocols.
|
|
1322
1322
|
# * TCP
|
|
1323
1323
|
# * UDP
|
|
1324
1324
|
# * ICMP
|
|
1325
1325
|
#
|
|
1326
|
+
# > If the destination address is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto only to TCP and set ApplicationNameList to HTTP, HTTPS, SMTP, SMTPS, or SSL.
|
|
1327
|
+
#
|
|
1326
1328
|
# This parameter is required.
|
|
1327
1329
|
self.proto = proto
|
|
1328
1330
|
# Specifies whether to enable the access control policy. By default, an access control policy is enabled after it is created. Valid values:
|
|
@@ -1583,12 +1585,20 @@ class CreateSecurityProxyRequestNatRouteEntryList(TeaModel):
|
|
|
1583
1585
|
next_hop_type: str = None,
|
|
1584
1586
|
route_table_id: str = None,
|
|
1585
1587
|
):
|
|
1588
|
+
# The destination CIDR block of the default route.
|
|
1589
|
+
#
|
|
1586
1590
|
# This parameter is required.
|
|
1587
1591
|
self.destination_cidr = destination_cidr
|
|
1592
|
+
# The next hop of the original NAT gateway.
|
|
1593
|
+
#
|
|
1588
1594
|
# This parameter is required.
|
|
1589
1595
|
self.next_hop_id = next_hop_id
|
|
1596
|
+
# The network type of the next hop. Set the value to NatGateway.
|
|
1597
|
+
#
|
|
1590
1598
|
# This parameter is required.
|
|
1591
1599
|
self.next_hop_type = next_hop_type
|
|
1600
|
+
# The route table to which the default route of the NAT gateway belongs.
|
|
1601
|
+
#
|
|
1592
1602
|
# This parameter is required.
|
|
1593
1603
|
self.route_table_id = route_table_id
|
|
1594
1604
|
|
|
@@ -1639,21 +1649,51 @@ class CreateSecurityProxyRequest(TeaModel):
|
|
|
1639
1649
|
vswitch_cidr: str = None,
|
|
1640
1650
|
vswitch_id: str = None,
|
|
1641
1651
|
):
|
|
1652
|
+
# The status of the NAT firewall. Valid values:
|
|
1653
|
+
#
|
|
1654
|
+
# * **open**: enabled
|
|
1655
|
+
# * **close**: disabled
|
|
1642
1656
|
self.firewall_switch = firewall_switch
|
|
1657
|
+
# The language of the content within the response. Valid values:
|
|
1658
|
+
#
|
|
1659
|
+
# * **zh** (default): Chinese
|
|
1660
|
+
# * **en**: English
|
|
1643
1661
|
self.lang = lang
|
|
1662
|
+
# The ID of the NAT gateway.
|
|
1663
|
+
#
|
|
1644
1664
|
# This parameter is required.
|
|
1645
1665
|
self.nat_gateway_id = nat_gateway_id
|
|
1666
|
+
# The routes to be switched to the NAT gateway.
|
|
1667
|
+
#
|
|
1646
1668
|
# This parameter is required.
|
|
1647
1669
|
self.nat_route_entry_list = nat_route_entry_list
|
|
1670
|
+
# The name of the NAT firewall. The name must be 4 to 50 characters in length, and can contain letters, digits, and underscores (_). However, it cannot start with an underscore.
|
|
1671
|
+
#
|
|
1648
1672
|
# This parameter is required.
|
|
1649
1673
|
self.proxy_name = proxy_name
|
|
1674
|
+
# The region ID of the virtual private cloud (VPC).
|
|
1675
|
+
#
|
|
1676
|
+
# > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
|
|
1677
|
+
#
|
|
1650
1678
|
# This parameter is required.
|
|
1651
1679
|
self.region_no = region_no
|
|
1680
|
+
# Specifies whether to enable the strict mode. Valid values:
|
|
1681
|
+
#
|
|
1682
|
+
# * 1: yes
|
|
1683
|
+
# * 0: no
|
|
1652
1684
|
self.strict_mode = strict_mode
|
|
1685
|
+
# The ID of the VPC.
|
|
1686
|
+
#
|
|
1653
1687
|
# This parameter is required.
|
|
1654
1688
|
self.vpc_id = vpc_id
|
|
1689
|
+
# The mode of the vSwitch that you want to use. Valid values:
|
|
1690
|
+
#
|
|
1691
|
+
# * **true**: automatic
|
|
1692
|
+
# * **false**: manual
|
|
1655
1693
|
self.vswitch_auto = vswitch_auto
|
|
1694
|
+
# The CIDR block of the vSwitch.
|
|
1656
1695
|
self.vswitch_cidr = vswitch_cidr
|
|
1696
|
+
# The ID of the vSwitch. This parameter is required if you set the VswitchAuto parameter to true.
|
|
1657
1697
|
self.vswitch_id = vswitch_id
|
|
1658
1698
|
|
|
1659
1699
|
def validate(self):
|
|
@@ -1730,7 +1770,9 @@ class CreateSecurityProxyResponseBody(TeaModel):
|
|
|
1730
1770
|
proxy_id: str = None,
|
|
1731
1771
|
request_id: str = None,
|
|
1732
1772
|
):
|
|
1773
|
+
# The ID of the NAT firewall.
|
|
1733
1774
|
self.proxy_id = proxy_id
|
|
1775
|
+
# The request ID.
|
|
1734
1776
|
self.request_id = request_id
|
|
1735
1777
|
|
|
1736
1778
|
def validate(self):
|
|
@@ -2919,6 +2961,11 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
|
|
|
2919
2961
|
#
|
|
2920
2962
|
# This parameter is required.
|
|
2921
2963
|
self.destination_type = destination_type
|
|
2964
|
+
# The domain name resolution method of the access control policy. Valid values:
|
|
2965
|
+
#
|
|
2966
|
+
# * **FQDN**: fully qualified domain name (FQDN)-based resolution
|
|
2967
|
+
# * **DNS**: DNS-based dynamic resolution
|
|
2968
|
+
# * **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution
|
|
2922
2969
|
self.domain_resolve_type = domain_resolve_type
|
|
2923
2970
|
# 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 start time.
|
|
2924
2971
|
#
|
|
@@ -3330,8 +3377,8 @@ class DeleteControlPolicyRequest(TeaModel):
|
|
|
3330
3377
|
#
|
|
3331
3378
|
# Valid values:
|
|
3332
3379
|
#
|
|
3333
|
-
# * **in**: inbound
|
|
3334
|
-
# * **out**: outbound
|
|
3380
|
+
# * **in**: inbound.
|
|
3381
|
+
# * **out**: outbound.
|
|
3335
3382
|
self.direction = direction
|
|
3336
3383
|
# The language of the content within the request and response.
|
|
3337
3384
|
#
|
|
@@ -3786,7 +3833,7 @@ class DeleteInstanceMembersRequest(TeaModel):
|
|
|
3786
3833
|
self,
|
|
3787
3834
|
member_uids: List[int] = None,
|
|
3788
3835
|
):
|
|
3789
|
-
# The
|
|
3836
|
+
# The UIDs of the members.
|
|
3790
3837
|
#
|
|
3791
3838
|
# This parameter is required.
|
|
3792
3839
|
self.member_uids = member_uids
|
|
@@ -3816,7 +3863,7 @@ class DeleteInstanceMembersResponseBody(TeaModel):
|
|
|
3816
3863
|
self,
|
|
3817
3864
|
request_id: str = None,
|
|
3818
3865
|
):
|
|
3819
|
-
# The ID
|
|
3866
|
+
# The request ID.
|
|
3820
3867
|
self.request_id = request_id
|
|
3821
3868
|
|
|
3822
3869
|
def validate(self):
|
|
@@ -4945,7 +4992,7 @@ class DescribeAddressBookRequest(TeaModel):
|
|
|
4945
4992
|
# * **tag**: Elastic Compute Service (ECS) tag-based address book
|
|
4946
4993
|
# * **allCloud**: cloud service address book
|
|
4947
4994
|
# * **threat**: threat intelligence address book
|
|
4948
|
-
#
|
|
4995
|
+
# * **ipv6**: IPv6 address book
|
|
4949
4996
|
# > If you do not specify a type, the domain address books and ECS tag-based address books are queried.
|
|
4950
4997
|
self.group_type = group_type
|
|
4951
4998
|
# The language of the content within the request. Valid values:
|
|
@@ -5726,9 +5773,9 @@ class DescribeAssetRiskListRequest(TeaModel):
|
|
|
5726
5773
|
#
|
|
5727
5774
|
# >
|
|
5728
5775
|
#
|
|
5729
|
-
# * Example
|
|
5776
|
+
# * Example IPv4 address: 47.97.XX.XX.
|
|
5730
5777
|
#
|
|
5731
|
-
# * Example
|
|
5778
|
+
# * Example IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.
|
|
5732
5779
|
self.ip_addr_list = ip_addr_list
|
|
5733
5780
|
# The IP version of the asset that is protected by Cloud Firewall.
|
|
5734
5781
|
#
|
|
@@ -5844,7 +5891,7 @@ class DescribeAssetRiskListResponseBody(TeaModel):
|
|
|
5844
5891
|
request_id: str = None,
|
|
5845
5892
|
total_count: int = None,
|
|
5846
5893
|
):
|
|
5847
|
-
# The details of the
|
|
5894
|
+
# The details of the assets.
|
|
5848
5895
|
self.asset_list = asset_list
|
|
5849
5896
|
# The ID of the request.
|
|
5850
5897
|
self.request_id = request_id
|
|
@@ -6151,10 +6198,10 @@ class DescribeControlPolicyRequest(TeaModel):
|
|
|
6151
6198
|
#
|
|
6152
6199
|
# > If you do not specify this parameter, access control policies of all destination address types are queried.
|
|
6153
6200
|
self.destination = destination
|
|
6154
|
-
# The direction of the traffic to which the access control
|
|
6201
|
+
# The direction of the traffic to which the access control policies apply. Valid values:
|
|
6155
6202
|
#
|
|
6156
|
-
# * **in**: inbound
|
|
6157
|
-
# * **out**: outbound
|
|
6203
|
+
# * **in**: inbound.
|
|
6204
|
+
# * **out**: outbound.
|
|
6158
6205
|
self.direction = direction
|
|
6159
6206
|
# The IP version of the address in the access control policy. Valid values:
|
|
6160
6207
|
#
|
|
@@ -6355,12 +6402,12 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
|
|
|
6355
6402
|
# * **port**: port
|
|
6356
6403
|
# * **group**: port address book
|
|
6357
6404
|
self.dest_port_type = dest_port_type
|
|
6358
|
-
# The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType.
|
|
6405
|
+
# The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType.
|
|
6359
6406
|
#
|
|
6360
|
-
# * If **DestinationType** is
|
|
6361
|
-
# * If **DestinationType** is
|
|
6362
|
-
# * If **DestinationType** is
|
|
6363
|
-
# * If **DestinationType** is
|
|
6407
|
+
# * If the value of **DestinationType** is **net**, the value of Destination is a CIDR block. Example: 192.0.XX.XX/24.
|
|
6408
|
+
# * If the value of **DestinationType** is **domain**, the value of Destination is a domain name. Example: aliyuncs.com.
|
|
6409
|
+
# * If the value of **DestinationType** is **group**, the value of Destination is the name of an address book. Example: db_group.
|
|
6410
|
+
# * If the value of **DestinationType** is **location**, the value of Destination is the name of a location. For more information about location codes, see AddControlPolicy. Example: ["BJ11", "ZB"].
|
|
6364
6411
|
self.destination = destination
|
|
6365
6412
|
# The CIDR blocks in the destination address book.
|
|
6366
6413
|
self.destination_group_cidrs = destination_group_cidrs
|
|
@@ -6384,7 +6431,7 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
|
|
|
6384
6431
|
# * **in**: inbound traffic
|
|
6385
6432
|
# * **out**: outbound traffic
|
|
6386
6433
|
self.direction = direction
|
|
6387
|
-
# The DNS resolution
|
|
6434
|
+
# The DNS resolution results.
|
|
6388
6435
|
self.dns_result = dns_result
|
|
6389
6436
|
# The time when the Domain Name System (DNS) resolution was performed. The value is a timestamp. Unit: seconds.
|
|
6390
6437
|
self.dns_result_time = dns_result_time
|
|
@@ -8150,6 +8197,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8150
8197
|
risk_level: int = None,
|
|
8151
8198
|
risk_reason: str = None,
|
|
8152
8199
|
service_name_list: List[str] = None,
|
|
8200
|
+
src_ip_cnt: int = None,
|
|
8201
|
+
total_reply_bytes: int = None,
|
|
8153
8202
|
traffic_percent_1day: str = None,
|
|
8154
8203
|
traffic_percent_30day: str = None,
|
|
8155
8204
|
traffic_percent_7day: str = None,
|
|
@@ -8191,6 +8240,8 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8191
8240
|
self.risk_reason = risk_reason
|
|
8192
8241
|
# The list of applications.
|
|
8193
8242
|
self.service_name_list = service_name_list
|
|
8243
|
+
self.src_ip_cnt = src_ip_cnt
|
|
8244
|
+
self.total_reply_bytes = total_reply_bytes
|
|
8194
8245
|
# The percentage of traffic of a day. Unit: percent (%).
|
|
8195
8246
|
self.traffic_percent_1day = traffic_percent_1day
|
|
8196
8247
|
# The percentage of traffic of 30 days. Unit: percent (%).
|
|
@@ -8231,6 +8282,10 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8231
8282
|
result['RiskReason'] = self.risk_reason
|
|
8232
8283
|
if self.service_name_list is not None:
|
|
8233
8284
|
result['ServiceNameList'] = self.service_name_list
|
|
8285
|
+
if self.src_ip_cnt is not None:
|
|
8286
|
+
result['SrcIpCnt'] = self.src_ip_cnt
|
|
8287
|
+
if self.total_reply_bytes is not None:
|
|
8288
|
+
result['TotalReplyBytes'] = self.total_reply_bytes
|
|
8234
8289
|
if self.traffic_percent_1day is not None:
|
|
8235
8290
|
result['TrafficPercent1Day'] = self.traffic_percent_1day
|
|
8236
8291
|
if self.traffic_percent_30day is not None:
|
|
@@ -8265,6 +8320,10 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
|
|
|
8265
8320
|
self.risk_reason = m.get('RiskReason')
|
|
8266
8321
|
if m.get('ServiceNameList') is not None:
|
|
8267
8322
|
self.service_name_list = m.get('ServiceNameList')
|
|
8323
|
+
if m.get('SrcIpCnt') is not None:
|
|
8324
|
+
self.src_ip_cnt = m.get('SrcIpCnt')
|
|
8325
|
+
if m.get('TotalReplyBytes') is not None:
|
|
8326
|
+
self.total_reply_bytes = m.get('TotalReplyBytes')
|
|
8268
8327
|
if m.get('TrafficPercent1Day') is not None:
|
|
8269
8328
|
self.traffic_percent_1day = m.get('TrafficPercent1Day')
|
|
8270
8329
|
if m.get('TrafficPercent30Day') is not None:
|
|
@@ -9301,6 +9360,7 @@ class DescribeNatAclPageStatusResponseBody(TeaModel):
|
|
|
9301
9360
|
nat_acl_page_enable: bool = None,
|
|
9302
9361
|
request_id: str = None,
|
|
9303
9362
|
):
|
|
9363
|
+
# Extra error information.
|
|
9304
9364
|
self.detail = detail
|
|
9305
9365
|
# Indicates whether pagination for access control policies for NAT firewalls is supported.
|
|
9306
9366
|
self.nat_acl_page_enable = nat_acl_page_enable
|
|
@@ -11811,8 +11871,8 @@ class DescribePolicyPriorUsedRequest(TeaModel):
|
|
|
11811
11871
|
#
|
|
11812
11872
|
# Valid values:
|
|
11813
11873
|
#
|
|
11814
|
-
# * **in**: inbound
|
|
11815
|
-
# * **out**: outbound
|
|
11874
|
+
# * **in**: inbound.
|
|
11875
|
+
# * **out**: outbound.
|
|
11816
11876
|
#
|
|
11817
11877
|
# This parameter is required.
|
|
11818
11878
|
self.direction = direction
|
|
@@ -11820,15 +11880,15 @@ class DescribePolicyPriorUsedRequest(TeaModel):
|
|
|
11820
11880
|
#
|
|
11821
11881
|
# Valid values:
|
|
11822
11882
|
#
|
|
11823
|
-
# * **4
|
|
11824
|
-
# * **6**: IPv6
|
|
11883
|
+
# * **4** (default): IPv4.
|
|
11884
|
+
# * **6**: IPv6.
|
|
11825
11885
|
self.ip_version = ip_version
|
|
11826
|
-
# The
|
|
11886
|
+
# The language of the content within the request and response.
|
|
11827
11887
|
#
|
|
11828
11888
|
# Valid values:
|
|
11829
11889
|
#
|
|
11830
|
-
# * **zh
|
|
11831
|
-
# * **en
|
|
11890
|
+
# * **zh** (default)
|
|
11891
|
+
# * **en**\
|
|
11832
11892
|
self.lang = lang
|
|
11833
11893
|
# The source IP address of the request.
|
|
11834
11894
|
self.source_ip = source_ip
|
|
@@ -11876,7 +11936,7 @@ class DescribePolicyPriorUsedResponseBody(TeaModel):
|
|
|
11876
11936
|
#
|
|
11877
11937
|
# > The value -1 indicates the lowest priority.
|
|
11878
11938
|
self.end = end
|
|
11879
|
-
# The ID
|
|
11939
|
+
# The request ID.
|
|
11880
11940
|
self.request_id = request_id
|
|
11881
11941
|
# The highest priority of existing access control policies.
|
|
11882
11942
|
#
|
|
@@ -11960,6 +12020,7 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
11960
12020
|
lang: str = None,
|
|
11961
12021
|
order: str = None,
|
|
11962
12022
|
page_size: int = None,
|
|
12023
|
+
region_no: str = None,
|
|
11963
12024
|
search_item: str = None,
|
|
11964
12025
|
start_time: str = None,
|
|
11965
12026
|
traffic_type: str = None,
|
|
@@ -11982,6 +12043,7 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
11982
12043
|
self.order = order
|
|
11983
12044
|
# The number of entries per page. Default value: 10. Maximum value: 50.
|
|
11984
12045
|
self.page_size = page_size
|
|
12046
|
+
self.region_no = region_no
|
|
11985
12047
|
# The instance ID or the IP address of the asset.
|
|
11986
12048
|
self.search_item = search_item
|
|
11987
12049
|
# The beginning of the time range to query. Specify a value in the YYYYMMDD format.
|
|
@@ -11990,9 +12052,9 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
11990
12052
|
self.start_time = start_time
|
|
11991
12053
|
# The traffic type. This parameter is required. Valid values:
|
|
11992
12054
|
#
|
|
11993
|
-
# * **EIP_TRAFFIC**: traffic for the Internet firewall
|
|
11994
|
-
# * **NatGateway_TRAFFIC**: traffic for NAT firewalls
|
|
11995
|
-
# * **VPC_TRAFFIC**: traffic for virtual private cloud (VPC) firewalls
|
|
12055
|
+
# * **EIP_TRAFFIC**: traffic for the Internet firewall.
|
|
12056
|
+
# * **NatGateway_TRAFFIC**: traffic for NAT firewalls.
|
|
12057
|
+
# * **VPC_TRAFFIC**: traffic for virtual private cloud (VPC) firewalls.
|
|
11996
12058
|
#
|
|
11997
12059
|
# This parameter is required.
|
|
11998
12060
|
self.traffic_type = traffic_type
|
|
@@ -12016,6 +12078,8 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
12016
12078
|
result['Order'] = self.order
|
|
12017
12079
|
if self.page_size is not None:
|
|
12018
12080
|
result['PageSize'] = self.page_size
|
|
12081
|
+
if self.region_no is not None:
|
|
12082
|
+
result['RegionNo'] = self.region_no
|
|
12019
12083
|
if self.search_item is not None:
|
|
12020
12084
|
result['SearchItem'] = self.search_item
|
|
12021
12085
|
if self.start_time is not None:
|
|
@@ -12036,6 +12100,8 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
|
|
|
12036
12100
|
self.order = m.get('Order')
|
|
12037
12101
|
if m.get('PageSize') is not None:
|
|
12038
12102
|
self.page_size = m.get('PageSize')
|
|
12103
|
+
if m.get('RegionNo') is not None:
|
|
12104
|
+
self.region_no = m.get('RegionNo')
|
|
12039
12105
|
if m.get('SearchItem') is not None:
|
|
12040
12106
|
self.search_item = m.get('SearchItem')
|
|
12041
12107
|
if m.get('StartTime') is not None:
|
|
@@ -12053,6 +12119,7 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
12053
12119
|
instance_type: str = None,
|
|
12054
12120
|
out_bytes: int = None,
|
|
12055
12121
|
protection_duration: int = None,
|
|
12122
|
+
region_no: str = None,
|
|
12056
12123
|
resource_id: str = None,
|
|
12057
12124
|
total_bytes: int = None,
|
|
12058
12125
|
traffic_day: str = None,
|
|
@@ -12067,6 +12134,7 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
12067
12134
|
# The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
|
|
12068
12135
|
self.out_bytes = out_bytes
|
|
12069
12136
|
self.protection_duration = protection_duration
|
|
12137
|
+
self.region_no = region_no
|
|
12070
12138
|
# The resource ID. The resource ID for the Internet firewall is the public IP address that is protected the Internet firewall, and the resource ID for a NAT firewall is the instance ID of the NAT firewall.
|
|
12071
12139
|
self.resource_id = resource_id
|
|
12072
12140
|
# The total inbound and outbound network throughput, which indicates the total number of bytes that are received and sent. Unit: bytes.
|
|
@@ -12099,6 +12167,8 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
12099
12167
|
result['OutBytes'] = self.out_bytes
|
|
12100
12168
|
if self.protection_duration is not None:
|
|
12101
12169
|
result['ProtectionDuration'] = self.protection_duration
|
|
12170
|
+
if self.region_no is not None:
|
|
12171
|
+
result['RegionNo'] = self.region_no
|
|
12102
12172
|
if self.resource_id is not None:
|
|
12103
12173
|
result['ResourceId'] = self.resource_id
|
|
12104
12174
|
if self.total_bytes is not None:
|
|
@@ -12121,6 +12191,8 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
|
|
|
12121
12191
|
self.out_bytes = m.get('OutBytes')
|
|
12122
12192
|
if m.get('ProtectionDuration') is not None:
|
|
12123
12193
|
self.protection_duration = m.get('ProtectionDuration')
|
|
12194
|
+
if m.get('RegionNo') is not None:
|
|
12195
|
+
self.region_no = m.get('RegionNo')
|
|
12124
12196
|
if m.get('ResourceId') is not None:
|
|
12125
12197
|
self.resource_id = m.get('ResourceId')
|
|
12126
12198
|
if m.get('TotalBytes') is not None:
|
|
@@ -15497,6 +15569,173 @@ class DescribeUserAssetIPTrafficInfoResponse(TeaModel):
|
|
|
15497
15569
|
return self
|
|
15498
15570
|
|
|
15499
15571
|
|
|
15572
|
+
class DescribeUserBuyVersionRequest(TeaModel):
|
|
15573
|
+
def __init__(
|
|
15574
|
+
self,
|
|
15575
|
+
instance_id: str = None,
|
|
15576
|
+
):
|
|
15577
|
+
self.instance_id = instance_id
|
|
15578
|
+
|
|
15579
|
+
def validate(self):
|
|
15580
|
+
pass
|
|
15581
|
+
|
|
15582
|
+
def to_map(self):
|
|
15583
|
+
_map = super().to_map()
|
|
15584
|
+
if _map is not None:
|
|
15585
|
+
return _map
|
|
15586
|
+
|
|
15587
|
+
result = dict()
|
|
15588
|
+
if self.instance_id is not None:
|
|
15589
|
+
result['InstanceId'] = self.instance_id
|
|
15590
|
+
return result
|
|
15591
|
+
|
|
15592
|
+
def from_map(self, m: dict = None):
|
|
15593
|
+
m = m or dict()
|
|
15594
|
+
if m.get('InstanceId') is not None:
|
|
15595
|
+
self.instance_id = m.get('InstanceId')
|
|
15596
|
+
return self
|
|
15597
|
+
|
|
15598
|
+
|
|
15599
|
+
class DescribeUserBuyVersionResponseBody(TeaModel):
|
|
15600
|
+
def __init__(
|
|
15601
|
+
self,
|
|
15602
|
+
ali_uid: int = None,
|
|
15603
|
+
expire: int = None,
|
|
15604
|
+
instance_id: str = None,
|
|
15605
|
+
instance_status: str = None,
|
|
15606
|
+
ip_number: int = None,
|
|
15607
|
+
log_status: bool = None,
|
|
15608
|
+
log_storage: int = None,
|
|
15609
|
+
max_overflow: int = None,
|
|
15610
|
+
request_id: str = None,
|
|
15611
|
+
start_time: int = None,
|
|
15612
|
+
user_status: bool = None,
|
|
15613
|
+
version: int = None,
|
|
15614
|
+
vpc_number: int = None,
|
|
15615
|
+
):
|
|
15616
|
+
self.ali_uid = ali_uid
|
|
15617
|
+
self.expire = expire
|
|
15618
|
+
self.instance_id = instance_id
|
|
15619
|
+
self.instance_status = instance_status
|
|
15620
|
+
self.ip_number = ip_number
|
|
15621
|
+
self.log_status = log_status
|
|
15622
|
+
self.log_storage = log_storage
|
|
15623
|
+
self.max_overflow = max_overflow
|
|
15624
|
+
self.request_id = request_id
|
|
15625
|
+
self.start_time = start_time
|
|
15626
|
+
self.user_status = user_status
|
|
15627
|
+
self.version = version
|
|
15628
|
+
self.vpc_number = vpc_number
|
|
15629
|
+
|
|
15630
|
+
def validate(self):
|
|
15631
|
+
pass
|
|
15632
|
+
|
|
15633
|
+
def to_map(self):
|
|
15634
|
+
_map = super().to_map()
|
|
15635
|
+
if _map is not None:
|
|
15636
|
+
return _map
|
|
15637
|
+
|
|
15638
|
+
result = dict()
|
|
15639
|
+
if self.ali_uid is not None:
|
|
15640
|
+
result['AliUid'] = self.ali_uid
|
|
15641
|
+
if self.expire is not None:
|
|
15642
|
+
result['Expire'] = self.expire
|
|
15643
|
+
if self.instance_id is not None:
|
|
15644
|
+
result['InstanceId'] = self.instance_id
|
|
15645
|
+
if self.instance_status is not None:
|
|
15646
|
+
result['InstanceStatus'] = self.instance_status
|
|
15647
|
+
if self.ip_number is not None:
|
|
15648
|
+
result['IpNumber'] = self.ip_number
|
|
15649
|
+
if self.log_status is not None:
|
|
15650
|
+
result['LogStatus'] = self.log_status
|
|
15651
|
+
if self.log_storage is not None:
|
|
15652
|
+
result['LogStorage'] = self.log_storage
|
|
15653
|
+
if self.max_overflow is not None:
|
|
15654
|
+
result['MaxOverflow'] = self.max_overflow
|
|
15655
|
+
if self.request_id is not None:
|
|
15656
|
+
result['RequestId'] = self.request_id
|
|
15657
|
+
if self.start_time is not None:
|
|
15658
|
+
result['StartTime'] = self.start_time
|
|
15659
|
+
if self.user_status is not None:
|
|
15660
|
+
result['UserStatus'] = self.user_status
|
|
15661
|
+
if self.version is not None:
|
|
15662
|
+
result['Version'] = self.version
|
|
15663
|
+
if self.vpc_number is not None:
|
|
15664
|
+
result['VpcNumber'] = self.vpc_number
|
|
15665
|
+
return result
|
|
15666
|
+
|
|
15667
|
+
def from_map(self, m: dict = None):
|
|
15668
|
+
m = m or dict()
|
|
15669
|
+
if m.get('AliUid') is not None:
|
|
15670
|
+
self.ali_uid = m.get('AliUid')
|
|
15671
|
+
if m.get('Expire') is not None:
|
|
15672
|
+
self.expire = m.get('Expire')
|
|
15673
|
+
if m.get('InstanceId') is not None:
|
|
15674
|
+
self.instance_id = m.get('InstanceId')
|
|
15675
|
+
if m.get('InstanceStatus') is not None:
|
|
15676
|
+
self.instance_status = m.get('InstanceStatus')
|
|
15677
|
+
if m.get('IpNumber') is not None:
|
|
15678
|
+
self.ip_number = m.get('IpNumber')
|
|
15679
|
+
if m.get('LogStatus') is not None:
|
|
15680
|
+
self.log_status = m.get('LogStatus')
|
|
15681
|
+
if m.get('LogStorage') is not None:
|
|
15682
|
+
self.log_storage = m.get('LogStorage')
|
|
15683
|
+
if m.get('MaxOverflow') is not None:
|
|
15684
|
+
self.max_overflow = m.get('MaxOverflow')
|
|
15685
|
+
if m.get('RequestId') is not None:
|
|
15686
|
+
self.request_id = m.get('RequestId')
|
|
15687
|
+
if m.get('StartTime') is not None:
|
|
15688
|
+
self.start_time = m.get('StartTime')
|
|
15689
|
+
if m.get('UserStatus') is not None:
|
|
15690
|
+
self.user_status = m.get('UserStatus')
|
|
15691
|
+
if m.get('Version') is not None:
|
|
15692
|
+
self.version = m.get('Version')
|
|
15693
|
+
if m.get('VpcNumber') is not None:
|
|
15694
|
+
self.vpc_number = m.get('VpcNumber')
|
|
15695
|
+
return self
|
|
15696
|
+
|
|
15697
|
+
|
|
15698
|
+
class DescribeUserBuyVersionResponse(TeaModel):
|
|
15699
|
+
def __init__(
|
|
15700
|
+
self,
|
|
15701
|
+
headers: Dict[str, str] = None,
|
|
15702
|
+
status_code: int = None,
|
|
15703
|
+
body: DescribeUserBuyVersionResponseBody = None,
|
|
15704
|
+
):
|
|
15705
|
+
self.headers = headers
|
|
15706
|
+
self.status_code = status_code
|
|
15707
|
+
self.body = body
|
|
15708
|
+
|
|
15709
|
+
def validate(self):
|
|
15710
|
+
if self.body:
|
|
15711
|
+
self.body.validate()
|
|
15712
|
+
|
|
15713
|
+
def to_map(self):
|
|
15714
|
+
_map = super().to_map()
|
|
15715
|
+
if _map is not None:
|
|
15716
|
+
return _map
|
|
15717
|
+
|
|
15718
|
+
result = dict()
|
|
15719
|
+
if self.headers is not None:
|
|
15720
|
+
result['headers'] = self.headers
|
|
15721
|
+
if self.status_code is not None:
|
|
15722
|
+
result['statusCode'] = self.status_code
|
|
15723
|
+
if self.body is not None:
|
|
15724
|
+
result['body'] = self.body.to_map()
|
|
15725
|
+
return result
|
|
15726
|
+
|
|
15727
|
+
def from_map(self, m: dict = None):
|
|
15728
|
+
m = m or dict()
|
|
15729
|
+
if m.get('headers') is not None:
|
|
15730
|
+
self.headers = m.get('headers')
|
|
15731
|
+
if m.get('statusCode') is not None:
|
|
15732
|
+
self.status_code = m.get('statusCode')
|
|
15733
|
+
if m.get('body') is not None:
|
|
15734
|
+
temp_model = DescribeUserBuyVersionResponseBody()
|
|
15735
|
+
self.body = temp_model.from_map(m['body'])
|
|
15736
|
+
return self
|
|
15737
|
+
|
|
15738
|
+
|
|
15500
15739
|
class DescribeUserIPSWhitelistRequest(TeaModel):
|
|
15501
15740
|
def __init__(
|
|
15502
15741
|
self,
|
|
@@ -17594,7 +17833,7 @@ class DescribeVpcFirewallControlPolicyResponseBody(TeaModel):
|
|
|
17594
17833
|
request_id: str = None,
|
|
17595
17834
|
total_count: str = None,
|
|
17596
17835
|
):
|
|
17597
|
-
# The access control policies.
|
|
17836
|
+
# The details of the access control policies.
|
|
17598
17837
|
self.policys = policys
|
|
17599
17838
|
# The ID of the request.
|
|
17600
17839
|
self.request_id = request_id
|
|
@@ -18656,6 +18895,11 @@ class DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig(TeaModel):
|
|
|
18656
18895
|
# * **1**: yes
|
|
18657
18896
|
# * **0**: no
|
|
18658
18897
|
self.enable_all_patch = enable_all_patch
|
|
18898
|
+
# The level of the rule group for the IPS. Valid values:
|
|
18899
|
+
#
|
|
18900
|
+
# * **1**: loose
|
|
18901
|
+
# * **2**: medium
|
|
18902
|
+
# * **3**: strict
|
|
18659
18903
|
self.rule_class = rule_class
|
|
18660
18904
|
# The mode of the IPS. Valid values:
|
|
18661
18905
|
#
|
|
@@ -19024,7 +19268,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls(TeaModel):
|
|
|
19024
19268
|
# * **closed**: The VPC firewall is disabled.
|
|
19025
19269
|
# * **notconfigured**: The VPC firewall is not configured.
|
|
19026
19270
|
self.firewall_switch_status = firewall_switch_status
|
|
19027
|
-
# The
|
|
19271
|
+
# The intrusion prevention system (IPS) configurations.
|
|
19028
19272
|
self.ips_config = ips_config
|
|
19029
19273
|
# The details about the local VPC.
|
|
19030
19274
|
self.local_vpc = local_vpc
|
|
@@ -19131,7 +19375,7 @@ class DescribeVpcFirewallListResponseBody(TeaModel):
|
|
|
19131
19375
|
self.request_id = request_id
|
|
19132
19376
|
# The total number of VPC firewalls.
|
|
19133
19377
|
self.total_count = total_count
|
|
19134
|
-
#
|
|
19378
|
+
# The information about the VPC firewalls.
|
|
19135
19379
|
self.vpc_firewalls = vpc_firewalls
|
|
19136
19380
|
|
|
19137
19381
|
def validate(self):
|
|
@@ -19217,23 +19461,22 @@ class DescribeVpcFirewallPolicyPriorUsedRequest(TeaModel):
|
|
|
19217
19461
|
lang: str = None,
|
|
19218
19462
|
vpc_firewall_id: str = None,
|
|
19219
19463
|
):
|
|
19220
|
-
# The
|
|
19464
|
+
# The language of the content within the request and response.
|
|
19221
19465
|
#
|
|
19222
19466
|
# Valid values:
|
|
19223
19467
|
#
|
|
19224
|
-
#
|
|
19225
|
-
#
|
|
19468
|
+
# * **zh** (default)
|
|
19469
|
+
# * **en**\
|
|
19226
19470
|
self.lang = lang
|
|
19227
|
-
# The ID of the
|
|
19471
|
+
# The ID of the access control policy group. You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
|
|
19228
19472
|
#
|
|
19229
|
-
#
|
|
19473
|
+
# * If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.
|
|
19230
19474
|
#
|
|
19231
|
-
# -
|
|
19475
|
+
# Example: cen-ervw0g12b5jbw\\*\\*\\*\\*.
|
|
19232
19476
|
#
|
|
19233
|
-
#
|
|
19234
|
-
# - If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall instance.
|
|
19477
|
+
# * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall.
|
|
19235
19478
|
#
|
|
19236
|
-
#
|
|
19479
|
+
# Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*.
|
|
19237
19480
|
#
|
|
19238
19481
|
# This parameter is required.
|
|
19239
19482
|
self.vpc_firewall_id = vpc_firewall_id
|
|
@@ -19269,11 +19512,11 @@ class DescribeVpcFirewallPolicyPriorUsedResponseBody(TeaModel):
|
|
|
19269
19512
|
request_id: str = None,
|
|
19270
19513
|
start: int = None,
|
|
19271
19514
|
):
|
|
19272
|
-
# The lowest priority for the access control
|
|
19515
|
+
# The lowest priority for the access control policies.
|
|
19273
19516
|
self.end = end
|
|
19274
|
-
# The ID
|
|
19517
|
+
# The request ID.
|
|
19275
19518
|
self.request_id = request_id
|
|
19276
|
-
# The highest priority for the access control
|
|
19519
|
+
# The highest priority for the access control policies.
|
|
19277
19520
|
self.start = start
|
|
19278
19521
|
|
|
19279
19522
|
def validate(self):
|
|
@@ -20384,6 +20627,14 @@ class ModifyAddressBookRequest(TeaModel):
|
|
|
20384
20627
|
# * **zh**: Chinese (default)
|
|
20385
20628
|
# * **en**: English
|
|
20386
20629
|
self.lang = lang
|
|
20630
|
+
# Modification mode with the following values:
|
|
20631
|
+
#
|
|
20632
|
+
# - **Cover**: Use the value of the AddressList parameter to overwrite the original address book.
|
|
20633
|
+
# - **Append**: After the original address book, append addresses using the value of the AddressList parameter.
|
|
20634
|
+
# - **Delete**: Delete addresses using the value of the AddressList parameter from the address book.
|
|
20635
|
+
#
|
|
20636
|
+
# >When GroupType is **ip**, **ipv6**, **port**, or **domain**, if this parameter is not configured, the default is to use the **Cover** method to modify the address book.
|
|
20637
|
+
# >Notice: When GroupType is **tag**, this parameter must be empty.</notice>
|
|
20387
20638
|
self.modify_mode = modify_mode
|
|
20388
20639
|
# The source IP address of the request.
|
|
20389
20640
|
self.source_ip = source_ip
|
|
@@ -21544,9 +21795,9 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
|
|
|
21544
21795
|
#
|
|
21545
21796
|
# This parameter is required.
|
|
21546
21797
|
self.destination_type = destination_type
|
|
21547
|
-
# The direction of the traffic to which the access control policy applies.
|
|
21798
|
+
# The direction of the traffic to which the access control policy applies. Valid value:
|
|
21548
21799
|
#
|
|
21549
|
-
# *
|
|
21800
|
+
# * **out**: outbound.
|
|
21550
21801
|
self.direction = direction
|
|
21551
21802
|
# The domain name resolution method of the access control policy. Valid values:
|
|
21552
21803
|
#
|
|
@@ -21959,16 +22210,47 @@ class ModifyObjectGroupOperationRequest(TeaModel):
|
|
|
21959
22210
|
object_type: str = None,
|
|
21960
22211
|
source_ip: str = None,
|
|
21961
22212
|
):
|
|
22213
|
+
# The remarks of the operation.
|
|
21962
22214
|
self.comment = comment
|
|
22215
|
+
# The direction of the traffic to which the access control policy applies.
|
|
22216
|
+
#
|
|
22217
|
+
# Valid values:
|
|
22218
|
+
#
|
|
22219
|
+
# * **in**: inbound.
|
|
22220
|
+
# * **out**: outbound.
|
|
22221
|
+
#
|
|
21963
22222
|
# This parameter is required.
|
|
21964
22223
|
self.direction = direction
|
|
22224
|
+
# The language of the content within the response. Valid values:
|
|
22225
|
+
#
|
|
22226
|
+
# * **zh** (default)
|
|
22227
|
+
# * **en**\
|
|
21965
22228
|
self.lang = lang
|
|
22229
|
+
# The operation objects.
|
|
22230
|
+
#
|
|
21966
22231
|
# This parameter is required.
|
|
21967
22232
|
self.object_list = object_list
|
|
22233
|
+
# The operation. Valid values:
|
|
22234
|
+
#
|
|
22235
|
+
# * **ignore**: adds the operation object to the whitelist.
|
|
22236
|
+
# * **cancelIgnore**: removes the operation object from the whitelist.
|
|
22237
|
+
# * **subscribe**: follows the operation object.
|
|
22238
|
+
# * **unsubscribe**: unfollows the operation object.
|
|
22239
|
+
#
|
|
21968
22240
|
# This parameter is required.
|
|
21969
22241
|
self.object_operation = object_operation
|
|
22242
|
+
# The type of the operation object.
|
|
22243
|
+
#
|
|
22244
|
+
# Valid values:
|
|
22245
|
+
#
|
|
22246
|
+
# * **assetsIp**: the asset IP address.
|
|
22247
|
+
# * **destinationIp**: the destination IP address.
|
|
22248
|
+
# * **destinationPort**: the destination port.
|
|
22249
|
+
# * **destinationDomain**: the destination domain name.
|
|
22250
|
+
#
|
|
21970
22251
|
# This parameter is required.
|
|
21971
22252
|
self.object_type = object_type
|
|
22253
|
+
# The source IP address of the request.
|
|
21972
22254
|
self.source_ip = source_ip
|
|
21973
22255
|
|
|
21974
22256
|
def validate(self):
|
|
@@ -22020,6 +22302,7 @@ class ModifyObjectGroupOperationResponseBody(TeaModel):
|
|
|
22020
22302
|
self,
|
|
22021
22303
|
request_id: str = None,
|
|
22022
22304
|
):
|
|
22305
|
+
# The request ID.
|
|
22023
22306
|
self.request_id = request_id
|
|
22024
22307
|
|
|
22025
22308
|
def validate(self):
|
|
@@ -23272,6 +23555,11 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
|
|
|
23272
23555
|
#
|
|
23273
23556
|
# This parameter is required.
|
|
23274
23557
|
self.destination_type = destination_type
|
|
23558
|
+
# The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
|
|
23559
|
+
#
|
|
23560
|
+
# * **FQDN**: fully qualified domain name (FQDN)-based resolution
|
|
23561
|
+
# * **DNS**: DNS-based dynamic resolution
|
|
23562
|
+
# * **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution
|
|
23275
23563
|
self.domain_resolve_type = domain_resolve_type
|
|
23276
23564
|
# 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.
|
|
23277
23565
|
#
|
|
@@ -23708,39 +23996,44 @@ class ModifyVpcFirewallDefaultIPSConfigRequest(TeaModel):
|
|
|
23708
23996
|
):
|
|
23709
23997
|
# Specifies whether to enable basic protection. Valid values:
|
|
23710
23998
|
#
|
|
23711
|
-
# * **1**: yes
|
|
23712
|
-
# * **0**: no
|
|
23999
|
+
# * **1**: yes.
|
|
24000
|
+
# * **0**: no.
|
|
23713
24001
|
#
|
|
23714
24002
|
# This parameter is required.
|
|
23715
24003
|
self.basic_rules = basic_rules
|
|
23716
24004
|
# Specifies whether to enable virtual patching. Valid values:
|
|
23717
24005
|
#
|
|
23718
|
-
# * **1**: yes
|
|
23719
|
-
# * **0**: no
|
|
24006
|
+
# * **1**: yes.
|
|
24007
|
+
# * **0**: no.
|
|
23720
24008
|
#
|
|
23721
24009
|
# This parameter is required.
|
|
23722
24010
|
self.enable_all_patch = enable_all_patch
|
|
23723
24011
|
# The language of the content within the request and response. Valid values:
|
|
23724
24012
|
#
|
|
23725
|
-
# * **zh
|
|
23726
|
-
# * **en
|
|
24013
|
+
# * **zh** (default)
|
|
24014
|
+
# * **en**\
|
|
23727
24015
|
self.lang = lang
|
|
23728
24016
|
# The UID of the member that is managed by your Alibaba Cloud account.
|
|
23729
24017
|
self.member_uid = member_uid
|
|
24018
|
+
# The level of the rule group for the IPS. Valid values:
|
|
24019
|
+
#
|
|
24020
|
+
# * **1**: loose
|
|
24021
|
+
# * **2**: medium
|
|
24022
|
+
# * **3**: strict
|
|
23730
24023
|
self.rule_class = rule_class
|
|
23731
24024
|
# The mode of the intrusion prevention system (IPS). Valid values:
|
|
23732
24025
|
#
|
|
23733
|
-
# * **1**: block mode
|
|
23734
|
-
# * **0**: monitor mode
|
|
24026
|
+
# * **1**: block mode.
|
|
24027
|
+
# * **0**: monitor mode.
|
|
23735
24028
|
#
|
|
23736
24029
|
# This parameter is required.
|
|
23737
24030
|
self.run_mode = run_mode
|
|
23738
24031
|
# The source IP address of the request.
|
|
23739
24032
|
self.source_ip = source_ip
|
|
23740
|
-
# The instance ID of the VPC firewall.
|
|
24033
|
+
# The instance ID of the VPC firewall.
|
|
23741
24034
|
#
|
|
23742
|
-
# * If the VPC firewall protects
|
|
23743
|
-
# * If the VPC firewall protects
|
|
24035
|
+
# * If the VPC firewall protects traffic between a VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the IDs of CEN instances.
|
|
24036
|
+
# * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
|
|
23744
24037
|
#
|
|
23745
24038
|
# This parameter is required.
|
|
23746
24039
|
self.vpc_firewall_id = vpc_firewall_id
|
|
@@ -23798,7 +24091,7 @@ class ModifyVpcFirewallDefaultIPSConfigResponseBody(TeaModel):
|
|
|
23798
24091
|
self,
|
|
23799
24092
|
request_id: str = None,
|
|
23800
24093
|
):
|
|
23801
|
-
# The ID
|
|
24094
|
+
# The request ID.
|
|
23802
24095
|
self.request_id = request_id
|
|
23803
24096
|
|
|
23804
24097
|
def validate(self):
|