alibabacloud-vpc20160428 6.11.8__tar.gz → 6.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/ChangeLog.md +11 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.12.0/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428/client.py +192 -12
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428/models.py +550 -93
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/requires.txt +1 -1
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/setup.py +2 -2
- alibabacloud_vpc20160428-6.11.8/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/README.md +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.11.8 → alibabacloud_vpc20160428-6.12.0}/setup.cfg +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2025-07-24 Version: 6.11.9
|
|
2
|
+
- Update API AssociateVpcCidrBlock: add request parameters Ipv6CidrMask.
|
|
3
|
+
- Update API CreateVpc: add request parameters Ipv6CidrMask.
|
|
4
|
+
- Update API CreateVpc: add request parameters Ipv6IpamPoolId.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
2025-07-15 Version: 6.11.8
|
|
8
|
+
- Update API DescribeNatGatewayAssociateNetworkInterfaces: add response parameters Body.AssociateNetworkInterfaces.$.ResourceVpcId.
|
|
9
|
+
- Update API GetVpcPrefixListAssociations: add response parameters Body.PrefixListAssociation.$.CidrList.
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
2025-06-16 Version: 6.11.7
|
|
2
13
|
- Update API GetDhcpOptionsSet: add response parameters Body.CreationTime.
|
|
3
14
|
- Update API ListDhcpOptionsSets: add response parameters Body.DhcpOptionsSets.$.CreationTime.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.12.0'
|
|
@@ -3809,6 +3809,8 @@ class Client(OpenApiClient):
|
|
|
3809
3809
|
query['IpVersion'] = request.ip_version
|
|
3810
3810
|
if not UtilClient.is_unset(request.ipam_pool_id):
|
|
3811
3811
|
query['IpamPoolId'] = request.ipam_pool_id
|
|
3812
|
+
if not UtilClient.is_unset(request.ipv_6cidr_mask):
|
|
3813
|
+
query['Ipv6CidrMask'] = request.ipv_6cidr_mask
|
|
3812
3814
|
if not UtilClient.is_unset(request.ipv_6isp):
|
|
3813
3815
|
query['Ipv6Isp'] = request.ipv_6isp
|
|
3814
3816
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -3874,6 +3876,8 @@ class Client(OpenApiClient):
|
|
|
3874
3876
|
query['IpVersion'] = request.ip_version
|
|
3875
3877
|
if not UtilClient.is_unset(request.ipam_pool_id):
|
|
3876
3878
|
query['IpamPoolId'] = request.ipam_pool_id
|
|
3879
|
+
if not UtilClient.is_unset(request.ipv_6cidr_mask):
|
|
3880
|
+
query['Ipv6CidrMask'] = request.ipv_6cidr_mask
|
|
3877
3881
|
if not UtilClient.is_unset(request.ipv_6isp):
|
|
3878
3882
|
query['Ipv6Isp'] = request.ipv_6isp
|
|
3879
3883
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -9780,8 +9784,12 @@ class Client(OpenApiClient):
|
|
|
9780
9784
|
query['InstanceChargeType'] = request.instance_charge_type
|
|
9781
9785
|
if not UtilClient.is_unset(request.internet_charge_type):
|
|
9782
9786
|
query['InternetChargeType'] = request.internet_charge_type
|
|
9787
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
9788
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
9783
9789
|
if not UtilClient.is_unset(request.name):
|
|
9784
9790
|
query['Name'] = request.name
|
|
9791
|
+
if not UtilClient.is_unset(request.nat_ip):
|
|
9792
|
+
query['NatIp'] = request.nat_ip
|
|
9785
9793
|
if not UtilClient.is_unset(request.nat_type):
|
|
9786
9794
|
query['NatType'] = request.nat_type
|
|
9787
9795
|
if not UtilClient.is_unset(request.network_type):
|
|
@@ -9874,8 +9882,12 @@ class Client(OpenApiClient):
|
|
|
9874
9882
|
query['InstanceChargeType'] = request.instance_charge_type
|
|
9875
9883
|
if not UtilClient.is_unset(request.internet_charge_type):
|
|
9876
9884
|
query['InternetChargeType'] = request.internet_charge_type
|
|
9885
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
9886
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
9877
9887
|
if not UtilClient.is_unset(request.name):
|
|
9878
9888
|
query['Name'] = request.name
|
|
9889
|
+
if not UtilClient.is_unset(request.nat_ip):
|
|
9890
|
+
query['NatIp'] = request.nat_ip
|
|
9879
9891
|
if not UtilClient.is_unset(request.nat_type):
|
|
9880
9892
|
query['NatType'] = request.nat_type
|
|
9881
9893
|
if not UtilClient.is_unset(request.network_type):
|
|
@@ -9991,6 +10003,10 @@ class Client(OpenApiClient):
|
|
|
9991
10003
|
query['ClientToken'] = request.client_token
|
|
9992
10004
|
if not UtilClient.is_unset(request.dry_run):
|
|
9993
10005
|
query['DryRun'] = request.dry_run
|
|
10006
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
10007
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
10008
|
+
if not UtilClient.is_unset(request.ipv_4prefix_count):
|
|
10009
|
+
query['Ipv4PrefixCount'] = request.ipv_4prefix_count
|
|
9994
10010
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
9995
10011
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
9996
10012
|
if not UtilClient.is_unset(request.nat_ip):
|
|
@@ -10056,6 +10072,10 @@ class Client(OpenApiClient):
|
|
|
10056
10072
|
query['ClientToken'] = request.client_token
|
|
10057
10073
|
if not UtilClient.is_unset(request.dry_run):
|
|
10058
10074
|
query['DryRun'] = request.dry_run
|
|
10075
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
10076
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
10077
|
+
if not UtilClient.is_unset(request.ipv_4prefix_count):
|
|
10078
|
+
query['Ipv4PrefixCount'] = request.ipv_4prefix_count
|
|
10059
10079
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
10060
10080
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
10061
10081
|
if not UtilClient.is_unset(request.nat_ip):
|
|
@@ -13994,6 +14014,10 @@ class Client(OpenApiClient):
|
|
|
13994
14014
|
query['Ipv4IpamPoolId'] = request.ipv_4ipam_pool_id
|
|
13995
14015
|
if not UtilClient.is_unset(request.ipv_6cidr_block):
|
|
13996
14016
|
query['Ipv6CidrBlock'] = request.ipv_6cidr_block
|
|
14017
|
+
if not UtilClient.is_unset(request.ipv_6cidr_mask):
|
|
14018
|
+
query['Ipv6CidrMask'] = request.ipv_6cidr_mask
|
|
14019
|
+
if not UtilClient.is_unset(request.ipv_6ipam_pool_id):
|
|
14020
|
+
query['Ipv6IpamPoolId'] = request.ipv_6ipam_pool_id
|
|
13997
14021
|
if not UtilClient.is_unset(request.ipv_6isp):
|
|
13998
14022
|
query['Ipv6Isp'] = request.ipv_6isp
|
|
13999
14023
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -14076,6 +14100,10 @@ class Client(OpenApiClient):
|
|
|
14076
14100
|
query['Ipv4IpamPoolId'] = request.ipv_4ipam_pool_id
|
|
14077
14101
|
if not UtilClient.is_unset(request.ipv_6cidr_block):
|
|
14078
14102
|
query['Ipv6CidrBlock'] = request.ipv_6cidr_block
|
|
14103
|
+
if not UtilClient.is_unset(request.ipv_6cidr_mask):
|
|
14104
|
+
query['Ipv6CidrMask'] = request.ipv_6cidr_mask
|
|
14105
|
+
if not UtilClient.is_unset(request.ipv_6ipam_pool_id):
|
|
14106
|
+
query['Ipv6IpamPoolId'] = request.ipv_6ipam_pool_id
|
|
14079
14107
|
if not UtilClient.is_unset(request.ipv_6isp):
|
|
14080
14108
|
query['Ipv6Isp'] = request.ipv_6isp
|
|
14081
14109
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -19175,6 +19203,10 @@ class Client(OpenApiClient):
|
|
|
19175
19203
|
query['ClientToken'] = request.client_token
|
|
19176
19204
|
if not UtilClient.is_unset(request.dry_run):
|
|
19177
19205
|
query['DryRun'] = request.dry_run
|
|
19206
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
19207
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
19208
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
19209
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
19178
19210
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19179
19211
|
query['NatIpId'] = request.nat_ip_id
|
|
19180
19212
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -19232,6 +19264,10 @@ class Client(OpenApiClient):
|
|
|
19232
19264
|
query['ClientToken'] = request.client_token
|
|
19233
19265
|
if not UtilClient.is_unset(request.dry_run):
|
|
19234
19266
|
query['DryRun'] = request.dry_run
|
|
19267
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
19268
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
19269
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
19270
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
19235
19271
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19236
19272
|
query['NatIpId'] = request.nat_ip_id
|
|
19237
19273
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -25885,7 +25921,7 @@ class Client(OpenApiClient):
|
|
|
25885
25921
|
runtime: util_models.RuntimeOptions,
|
|
25886
25922
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25887
25923
|
"""
|
|
25888
|
-
@summary
|
|
25924
|
+
@summary Query flow logs.
|
|
25889
25925
|
|
|
25890
25926
|
@param request: DescribeFlowLogsRequest
|
|
25891
25927
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -25956,7 +25992,7 @@ class Client(OpenApiClient):
|
|
|
25956
25992
|
runtime: util_models.RuntimeOptions,
|
|
25957
25993
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25958
25994
|
"""
|
|
25959
|
-
@summary
|
|
25995
|
+
@summary Query flow logs.
|
|
25960
25996
|
|
|
25961
25997
|
@param request: DescribeFlowLogsRequest
|
|
25962
25998
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -26026,7 +26062,7 @@ class Client(OpenApiClient):
|
|
|
26026
26062
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26027
26063
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26028
26064
|
"""
|
|
26029
|
-
@summary
|
|
26065
|
+
@summary Query flow logs.
|
|
26030
26066
|
|
|
26031
26067
|
@param request: DescribeFlowLogsRequest
|
|
26032
26068
|
@return: DescribeFlowLogsResponse
|
|
@@ -26039,7 +26075,7 @@ class Client(OpenApiClient):
|
|
|
26039
26075
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26040
26076
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26041
26077
|
"""
|
|
26042
|
-
@summary
|
|
26078
|
+
@summary Query flow logs.
|
|
26043
26079
|
|
|
26044
26080
|
@param request: DescribeFlowLogsRequest
|
|
26045
26081
|
@return: DescribeFlowLogsResponse
|
|
@@ -30857,7 +30893,7 @@ class Client(OpenApiClient):
|
|
|
30857
30893
|
runtime: util_models.RuntimeOptions,
|
|
30858
30894
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30859
30895
|
"""
|
|
30860
|
-
@summary
|
|
30896
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30861
30897
|
|
|
30862
30898
|
@description You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
|
|
30863
30899
|
**Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
@@ -30915,7 +30951,7 @@ class Client(OpenApiClient):
|
|
|
30915
30951
|
runtime: util_models.RuntimeOptions,
|
|
30916
30952
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30917
30953
|
"""
|
|
30918
|
-
@summary
|
|
30954
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30919
30955
|
|
|
30920
30956
|
@description You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
|
|
30921
30957
|
**Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
@@ -30972,7 +31008,7 @@ class Client(OpenApiClient):
|
|
|
30972
31008
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
30973
31009
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30974
31010
|
"""
|
|
30975
|
-
@summary
|
|
31011
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30976
31012
|
|
|
30977
31013
|
@description You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
|
|
30978
31014
|
**Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
@@ -30990,7 +31026,7 @@ class Client(OpenApiClient):
|
|
|
30990
31026
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
30991
31027
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30992
31028
|
"""
|
|
30993
|
-
@summary
|
|
31029
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30994
31030
|
|
|
30995
31031
|
@description You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
|
|
30996
31032
|
**Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
@@ -31009,7 +31045,7 @@ class Client(OpenApiClient):
|
|
|
31009
31045
|
runtime: util_models.RuntimeOptions,
|
|
31010
31046
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31011
31047
|
"""
|
|
31012
|
-
@summary
|
|
31048
|
+
@summary Queries vRouters in a region.
|
|
31013
31049
|
|
|
31014
31050
|
@param request: DescribeVRoutersRequest
|
|
31015
31051
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31058,7 +31094,7 @@ class Client(OpenApiClient):
|
|
|
31058
31094
|
runtime: util_models.RuntimeOptions,
|
|
31059
31095
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31060
31096
|
"""
|
|
31061
|
-
@summary
|
|
31097
|
+
@summary Queries vRouters in a region.
|
|
31062
31098
|
|
|
31063
31099
|
@param request: DescribeVRoutersRequest
|
|
31064
31100
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31106,7 +31142,7 @@ class Client(OpenApiClient):
|
|
|
31106
31142
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31107
31143
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31108
31144
|
"""
|
|
31109
|
-
@summary
|
|
31145
|
+
@summary Queries vRouters in a region.
|
|
31110
31146
|
|
|
31111
31147
|
@param request: DescribeVRoutersRequest
|
|
31112
31148
|
@return: DescribeVRoutersResponse
|
|
@@ -31119,7 +31155,7 @@ class Client(OpenApiClient):
|
|
|
31119
31155
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31120
31156
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31121
31157
|
"""
|
|
31122
|
-
@summary
|
|
31158
|
+
@summary Queries vRouters in a region.
|
|
31123
31159
|
|
|
31124
31160
|
@param request: DescribeVRoutersRequest
|
|
31125
31161
|
@return: DescribeVRoutersResponse
|
|
@@ -32047,6 +32083,150 @@ class Client(OpenApiClient):
|
|
|
32047
32083
|
runtime = util_models.RuntimeOptions()
|
|
32048
32084
|
return await self.describe_vpc_attribute_with_options_async(request, runtime)
|
|
32049
32085
|
|
|
32086
|
+
def describe_vpc_grant_rules_to_ecr_with_options(
|
|
32087
|
+
self,
|
|
32088
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32089
|
+
runtime: util_models.RuntimeOptions,
|
|
32090
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32091
|
+
"""
|
|
32092
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32093
|
+
|
|
32094
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32095
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
32096
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32097
|
+
"""
|
|
32098
|
+
UtilClient.validate_model(request)
|
|
32099
|
+
query = {}
|
|
32100
|
+
if not UtilClient.is_unset(request.ecr_instance_id):
|
|
32101
|
+
query['EcrInstanceId'] = request.ecr_instance_id
|
|
32102
|
+
if not UtilClient.is_unset(request.ecr_owner_id):
|
|
32103
|
+
query['EcrOwnerId'] = request.ecr_owner_id
|
|
32104
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
32105
|
+
query['InstanceId'] = request.instance_id
|
|
32106
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
32107
|
+
query['InstanceType'] = request.instance_type
|
|
32108
|
+
if not UtilClient.is_unset(request.max_results):
|
|
32109
|
+
query['MaxResults'] = request.max_results
|
|
32110
|
+
if not UtilClient.is_unset(request.next_token):
|
|
32111
|
+
query['NextToken'] = request.next_token
|
|
32112
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
32113
|
+
query['OwnerAccount'] = request.owner_account
|
|
32114
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
32115
|
+
query['OwnerId'] = request.owner_id
|
|
32116
|
+
if not UtilClient.is_unset(request.region_id):
|
|
32117
|
+
query['RegionId'] = request.region_id
|
|
32118
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
32119
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
32120
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
32121
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32122
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32123
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32124
|
+
if not UtilClient.is_unset(request.tags):
|
|
32125
|
+
query['Tags'] = request.tags
|
|
32126
|
+
req = open_api_models.OpenApiRequest(
|
|
32127
|
+
query=OpenApiUtilClient.query(query)
|
|
32128
|
+
)
|
|
32129
|
+
params = open_api_models.Params(
|
|
32130
|
+
action='DescribeVpcGrantRulesToEcr',
|
|
32131
|
+
version='2016-04-28',
|
|
32132
|
+
protocol='HTTPS',
|
|
32133
|
+
pathname='/',
|
|
32134
|
+
method='POST',
|
|
32135
|
+
auth_type='AK',
|
|
32136
|
+
style='RPC',
|
|
32137
|
+
req_body_type='formData',
|
|
32138
|
+
body_type='json'
|
|
32139
|
+
)
|
|
32140
|
+
return TeaCore.from_map(
|
|
32141
|
+
vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse(),
|
|
32142
|
+
self.call_api(params, req, runtime)
|
|
32143
|
+
)
|
|
32144
|
+
|
|
32145
|
+
async def describe_vpc_grant_rules_to_ecr_with_options_async(
|
|
32146
|
+
self,
|
|
32147
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32148
|
+
runtime: util_models.RuntimeOptions,
|
|
32149
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32150
|
+
"""
|
|
32151
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32152
|
+
|
|
32153
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32154
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
32155
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32156
|
+
"""
|
|
32157
|
+
UtilClient.validate_model(request)
|
|
32158
|
+
query = {}
|
|
32159
|
+
if not UtilClient.is_unset(request.ecr_instance_id):
|
|
32160
|
+
query['EcrInstanceId'] = request.ecr_instance_id
|
|
32161
|
+
if not UtilClient.is_unset(request.ecr_owner_id):
|
|
32162
|
+
query['EcrOwnerId'] = request.ecr_owner_id
|
|
32163
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
32164
|
+
query['InstanceId'] = request.instance_id
|
|
32165
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
32166
|
+
query['InstanceType'] = request.instance_type
|
|
32167
|
+
if not UtilClient.is_unset(request.max_results):
|
|
32168
|
+
query['MaxResults'] = request.max_results
|
|
32169
|
+
if not UtilClient.is_unset(request.next_token):
|
|
32170
|
+
query['NextToken'] = request.next_token
|
|
32171
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
32172
|
+
query['OwnerAccount'] = request.owner_account
|
|
32173
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
32174
|
+
query['OwnerId'] = request.owner_id
|
|
32175
|
+
if not UtilClient.is_unset(request.region_id):
|
|
32176
|
+
query['RegionId'] = request.region_id
|
|
32177
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
32178
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
32179
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
32180
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32181
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32182
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32183
|
+
if not UtilClient.is_unset(request.tags):
|
|
32184
|
+
query['Tags'] = request.tags
|
|
32185
|
+
req = open_api_models.OpenApiRequest(
|
|
32186
|
+
query=OpenApiUtilClient.query(query)
|
|
32187
|
+
)
|
|
32188
|
+
params = open_api_models.Params(
|
|
32189
|
+
action='DescribeVpcGrantRulesToEcr',
|
|
32190
|
+
version='2016-04-28',
|
|
32191
|
+
protocol='HTTPS',
|
|
32192
|
+
pathname='/',
|
|
32193
|
+
method='POST',
|
|
32194
|
+
auth_type='AK',
|
|
32195
|
+
style='RPC',
|
|
32196
|
+
req_body_type='formData',
|
|
32197
|
+
body_type='json'
|
|
32198
|
+
)
|
|
32199
|
+
return TeaCore.from_map(
|
|
32200
|
+
vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse(),
|
|
32201
|
+
await self.call_api_async(params, req, runtime)
|
|
32202
|
+
)
|
|
32203
|
+
|
|
32204
|
+
def describe_vpc_grant_rules_to_ecr(
|
|
32205
|
+
self,
|
|
32206
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32207
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32208
|
+
"""
|
|
32209
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32210
|
+
|
|
32211
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32212
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32213
|
+
"""
|
|
32214
|
+
runtime = util_models.RuntimeOptions()
|
|
32215
|
+
return self.describe_vpc_grant_rules_to_ecr_with_options(request, runtime)
|
|
32216
|
+
|
|
32217
|
+
async def describe_vpc_grant_rules_to_ecr_async(
|
|
32218
|
+
self,
|
|
32219
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32220
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32221
|
+
"""
|
|
32222
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32223
|
+
|
|
32224
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32225
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32226
|
+
"""
|
|
32227
|
+
runtime = util_models.RuntimeOptions()
|
|
32228
|
+
return await self.describe_vpc_grant_rules_to_ecr_with_options_async(request, runtime)
|
|
32229
|
+
|
|
32050
32230
|
def describe_vpcs_with_options(
|
|
32051
32231
|
self,
|
|
32052
32232
|
request: vpc_20160428_models.DescribeVpcsRequest,
|