alibabacloud-vpc20160428 6.11.9__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.9 → alibabacloud_vpc20160428-6.12.0}/ChangeLog.md +6 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.12.0/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428/client.py +180 -12
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428/models.py +530 -90
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/requires.txt +1 -1
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/setup.py +2 -2
- alibabacloud_vpc20160428-6.11.9/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/README.md +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.11.9 → alibabacloud_vpc20160428-6.12.0}/setup.cfg +0 -0
|
@@ -1,3 +1,9 @@
|
|
|
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
|
+
|
|
1
7
|
2025-07-15 Version: 6.11.8
|
|
2
8
|
- Update API DescribeNatGatewayAssociateNetworkInterfaces: add response parameters Body.AssociateNetworkInterfaces.$.ResourceVpcId.
|
|
3
9
|
- Update API GetVpcPrefixListAssociations: add response parameters Body.PrefixListAssociation.$.CidrList.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.12.0'
|
|
@@ -9784,8 +9784,12 @@ class Client(OpenApiClient):
|
|
|
9784
9784
|
query['InstanceChargeType'] = request.instance_charge_type
|
|
9785
9785
|
if not UtilClient.is_unset(request.internet_charge_type):
|
|
9786
9786
|
query['InternetChargeType'] = request.internet_charge_type
|
|
9787
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
9788
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
9787
9789
|
if not UtilClient.is_unset(request.name):
|
|
9788
9790
|
query['Name'] = request.name
|
|
9791
|
+
if not UtilClient.is_unset(request.nat_ip):
|
|
9792
|
+
query['NatIp'] = request.nat_ip
|
|
9789
9793
|
if not UtilClient.is_unset(request.nat_type):
|
|
9790
9794
|
query['NatType'] = request.nat_type
|
|
9791
9795
|
if not UtilClient.is_unset(request.network_type):
|
|
@@ -9878,8 +9882,12 @@ class Client(OpenApiClient):
|
|
|
9878
9882
|
query['InstanceChargeType'] = request.instance_charge_type
|
|
9879
9883
|
if not UtilClient.is_unset(request.internet_charge_type):
|
|
9880
9884
|
query['InternetChargeType'] = request.internet_charge_type
|
|
9885
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
9886
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
9881
9887
|
if not UtilClient.is_unset(request.name):
|
|
9882
9888
|
query['Name'] = request.name
|
|
9889
|
+
if not UtilClient.is_unset(request.nat_ip):
|
|
9890
|
+
query['NatIp'] = request.nat_ip
|
|
9883
9891
|
if not UtilClient.is_unset(request.nat_type):
|
|
9884
9892
|
query['NatType'] = request.nat_type
|
|
9885
9893
|
if not UtilClient.is_unset(request.network_type):
|
|
@@ -9995,6 +10003,10 @@ class Client(OpenApiClient):
|
|
|
9995
10003
|
query['ClientToken'] = request.client_token
|
|
9996
10004
|
if not UtilClient.is_unset(request.dry_run):
|
|
9997
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
|
|
9998
10010
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
9999
10011
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
10000
10012
|
if not UtilClient.is_unset(request.nat_ip):
|
|
@@ -10060,6 +10072,10 @@ class Client(OpenApiClient):
|
|
|
10060
10072
|
query['ClientToken'] = request.client_token
|
|
10061
10073
|
if not UtilClient.is_unset(request.dry_run):
|
|
10062
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
|
|
10063
10079
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
10064
10080
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
10065
10081
|
if not UtilClient.is_unset(request.nat_ip):
|
|
@@ -19187,6 +19203,10 @@ class Client(OpenApiClient):
|
|
|
19187
19203
|
query['ClientToken'] = request.client_token
|
|
19188
19204
|
if not UtilClient.is_unset(request.dry_run):
|
|
19189
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
|
|
19190
19210
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19191
19211
|
query['NatIpId'] = request.nat_ip_id
|
|
19192
19212
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -19244,6 +19264,10 @@ class Client(OpenApiClient):
|
|
|
19244
19264
|
query['ClientToken'] = request.client_token
|
|
19245
19265
|
if not UtilClient.is_unset(request.dry_run):
|
|
19246
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
|
|
19247
19271
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19248
19272
|
query['NatIpId'] = request.nat_ip_id
|
|
19249
19273
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -25897,7 +25921,7 @@ class Client(OpenApiClient):
|
|
|
25897
25921
|
runtime: util_models.RuntimeOptions,
|
|
25898
25922
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25899
25923
|
"""
|
|
25900
|
-
@summary
|
|
25924
|
+
@summary Query flow logs.
|
|
25901
25925
|
|
|
25902
25926
|
@param request: DescribeFlowLogsRequest
|
|
25903
25927
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -25968,7 +25992,7 @@ class Client(OpenApiClient):
|
|
|
25968
25992
|
runtime: util_models.RuntimeOptions,
|
|
25969
25993
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25970
25994
|
"""
|
|
25971
|
-
@summary
|
|
25995
|
+
@summary Query flow logs.
|
|
25972
25996
|
|
|
25973
25997
|
@param request: DescribeFlowLogsRequest
|
|
25974
25998
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -26038,7 +26062,7 @@ class Client(OpenApiClient):
|
|
|
26038
26062
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26039
26063
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26040
26064
|
"""
|
|
26041
|
-
@summary
|
|
26065
|
+
@summary Query flow logs.
|
|
26042
26066
|
|
|
26043
26067
|
@param request: DescribeFlowLogsRequest
|
|
26044
26068
|
@return: DescribeFlowLogsResponse
|
|
@@ -26051,7 +26075,7 @@ class Client(OpenApiClient):
|
|
|
26051
26075
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26052
26076
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26053
26077
|
"""
|
|
26054
|
-
@summary
|
|
26078
|
+
@summary Query flow logs.
|
|
26055
26079
|
|
|
26056
26080
|
@param request: DescribeFlowLogsRequest
|
|
26057
26081
|
@return: DescribeFlowLogsResponse
|
|
@@ -30869,7 +30893,7 @@ class Client(OpenApiClient):
|
|
|
30869
30893
|
runtime: util_models.RuntimeOptions,
|
|
30870
30894
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30871
30895
|
"""
|
|
30872
|
-
@summary
|
|
30896
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30873
30897
|
|
|
30874
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.
|
|
30875
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.
|
|
@@ -30927,7 +30951,7 @@ class Client(OpenApiClient):
|
|
|
30927
30951
|
runtime: util_models.RuntimeOptions,
|
|
30928
30952
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30929
30953
|
"""
|
|
30930
|
-
@summary
|
|
30954
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30931
30955
|
|
|
30932
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.
|
|
30933
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.
|
|
@@ -30984,7 +31008,7 @@ class Client(OpenApiClient):
|
|
|
30984
31008
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
30985
31009
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30986
31010
|
"""
|
|
30987
|
-
@summary
|
|
31011
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30988
31012
|
|
|
30989
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.
|
|
30990
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.
|
|
@@ -31002,7 +31026,7 @@ class Client(OpenApiClient):
|
|
|
31002
31026
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
31003
31027
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
31004
31028
|
"""
|
|
31005
|
-
@summary
|
|
31029
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
31006
31030
|
|
|
31007
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.
|
|
31008
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.
|
|
@@ -31021,7 +31045,7 @@ class Client(OpenApiClient):
|
|
|
31021
31045
|
runtime: util_models.RuntimeOptions,
|
|
31022
31046
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31023
31047
|
"""
|
|
31024
|
-
@summary
|
|
31048
|
+
@summary Queries vRouters in a region.
|
|
31025
31049
|
|
|
31026
31050
|
@param request: DescribeVRoutersRequest
|
|
31027
31051
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31070,7 +31094,7 @@ class Client(OpenApiClient):
|
|
|
31070
31094
|
runtime: util_models.RuntimeOptions,
|
|
31071
31095
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31072
31096
|
"""
|
|
31073
|
-
@summary
|
|
31097
|
+
@summary Queries vRouters in a region.
|
|
31074
31098
|
|
|
31075
31099
|
@param request: DescribeVRoutersRequest
|
|
31076
31100
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31118,7 +31142,7 @@ class Client(OpenApiClient):
|
|
|
31118
31142
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31119
31143
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31120
31144
|
"""
|
|
31121
|
-
@summary
|
|
31145
|
+
@summary Queries vRouters in a region.
|
|
31122
31146
|
|
|
31123
31147
|
@param request: DescribeVRoutersRequest
|
|
31124
31148
|
@return: DescribeVRoutersResponse
|
|
@@ -31131,7 +31155,7 @@ class Client(OpenApiClient):
|
|
|
31131
31155
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31132
31156
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31133
31157
|
"""
|
|
31134
|
-
@summary
|
|
31158
|
+
@summary Queries vRouters in a region.
|
|
31135
31159
|
|
|
31136
31160
|
@param request: DescribeVRoutersRequest
|
|
31137
31161
|
@return: DescribeVRoutersResponse
|
|
@@ -32059,6 +32083,150 @@ class Client(OpenApiClient):
|
|
|
32059
32083
|
runtime = util_models.RuntimeOptions()
|
|
32060
32084
|
return await self.describe_vpc_attribute_with_options_async(request, runtime)
|
|
32061
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
|
+
|
|
32062
32230
|
def describe_vpcs_with_options(
|
|
32063
32231
|
self,
|
|
32064
32232
|
request: vpc_20160428_models.DescribeVpcsRequest,
|