alibabacloud-vpc20160428 6.11.9__py3-none-any.whl → 6.12.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_vpc20160428/__init__.py +1 -1
- alibabacloud_vpc20160428/client.py +192 -12
- alibabacloud_vpc20160428/models.py +554 -90
- {alibabacloud_vpc20160428-6.11.9.dist-info → alibabacloud_vpc20160428-6.12.1.dist-info}/METADATA +2 -2
- alibabacloud_vpc20160428-6.12.1.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.11.9.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.11.9.dist-info → alibabacloud_vpc20160428-6.12.1.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.11.9.dist-info → alibabacloud_vpc20160428-6.12.1.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.11.9.dist-info → alibabacloud_vpc20160428-6.12.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.
|
|
1
|
+
__version__ = '6.12.1'
|
|
@@ -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):
|
|
@@ -10637,6 +10653,10 @@ class Client(OpenApiClient):
|
|
|
10637
10653
|
query = {}
|
|
10638
10654
|
if not UtilClient.is_unset(request.auto_pay):
|
|
10639
10655
|
query['AutoPay'] = request.auto_pay
|
|
10656
|
+
if not UtilClient.is_unset(request.auto_renew):
|
|
10657
|
+
query['AutoRenew'] = request.auto_renew
|
|
10658
|
+
if not UtilClient.is_unset(request.auto_renew_duration):
|
|
10659
|
+
query['AutoRenewDuration'] = request.auto_renew_duration
|
|
10640
10660
|
if not UtilClient.is_unset(request.client_token):
|
|
10641
10661
|
query['ClientToken'] = request.client_token
|
|
10642
10662
|
if not UtilClient.is_unset(request.instance_charge_type):
|
|
@@ -10694,6 +10714,10 @@ class Client(OpenApiClient):
|
|
|
10694
10714
|
query = {}
|
|
10695
10715
|
if not UtilClient.is_unset(request.auto_pay):
|
|
10696
10716
|
query['AutoPay'] = request.auto_pay
|
|
10717
|
+
if not UtilClient.is_unset(request.auto_renew):
|
|
10718
|
+
query['AutoRenew'] = request.auto_renew
|
|
10719
|
+
if not UtilClient.is_unset(request.auto_renew_duration):
|
|
10720
|
+
query['AutoRenewDuration'] = request.auto_renew_duration
|
|
10697
10721
|
if not UtilClient.is_unset(request.client_token):
|
|
10698
10722
|
query['ClientToken'] = request.client_token
|
|
10699
10723
|
if not UtilClient.is_unset(request.instance_charge_type):
|
|
@@ -19187,6 +19211,10 @@ class Client(OpenApiClient):
|
|
|
19187
19211
|
query['ClientToken'] = request.client_token
|
|
19188
19212
|
if not UtilClient.is_unset(request.dry_run):
|
|
19189
19213
|
query['DryRun'] = request.dry_run
|
|
19214
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
19215
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
19216
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
19217
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
19190
19218
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19191
19219
|
query['NatIpId'] = request.nat_ip_id
|
|
19192
19220
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -19244,6 +19272,10 @@ class Client(OpenApiClient):
|
|
|
19244
19272
|
query['ClientToken'] = request.client_token
|
|
19245
19273
|
if not UtilClient.is_unset(request.dry_run):
|
|
19246
19274
|
query['DryRun'] = request.dry_run
|
|
19275
|
+
if not UtilClient.is_unset(request.ipv_4prefix):
|
|
19276
|
+
query['Ipv4Prefix'] = request.ipv_4prefix
|
|
19277
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
19278
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
19247
19279
|
if not UtilClient.is_unset(request.nat_ip_id):
|
|
19248
19280
|
query['NatIpId'] = request.nat_ip_id
|
|
19249
19281
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -25897,7 +25929,7 @@ class Client(OpenApiClient):
|
|
|
25897
25929
|
runtime: util_models.RuntimeOptions,
|
|
25898
25930
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25899
25931
|
"""
|
|
25900
|
-
@summary
|
|
25932
|
+
@summary Query flow logs.
|
|
25901
25933
|
|
|
25902
25934
|
@param request: DescribeFlowLogsRequest
|
|
25903
25935
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -25968,7 +26000,7 @@ class Client(OpenApiClient):
|
|
|
25968
26000
|
runtime: util_models.RuntimeOptions,
|
|
25969
26001
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
25970
26002
|
"""
|
|
25971
|
-
@summary
|
|
26003
|
+
@summary Query flow logs.
|
|
25972
26004
|
|
|
25973
26005
|
@param request: DescribeFlowLogsRequest
|
|
25974
26006
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -26038,7 +26070,7 @@ class Client(OpenApiClient):
|
|
|
26038
26070
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26039
26071
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26040
26072
|
"""
|
|
26041
|
-
@summary
|
|
26073
|
+
@summary Query flow logs.
|
|
26042
26074
|
|
|
26043
26075
|
@param request: DescribeFlowLogsRequest
|
|
26044
26076
|
@return: DescribeFlowLogsResponse
|
|
@@ -26051,7 +26083,7 @@ class Client(OpenApiClient):
|
|
|
26051
26083
|
request: vpc_20160428_models.DescribeFlowLogsRequest,
|
|
26052
26084
|
) -> vpc_20160428_models.DescribeFlowLogsResponse:
|
|
26053
26085
|
"""
|
|
26054
|
-
@summary
|
|
26086
|
+
@summary Query flow logs.
|
|
26055
26087
|
|
|
26056
26088
|
@param request: DescribeFlowLogsRequest
|
|
26057
26089
|
@return: DescribeFlowLogsResponse
|
|
@@ -30869,7 +30901,7 @@ class Client(OpenApiClient):
|
|
|
30869
30901
|
runtime: util_models.RuntimeOptions,
|
|
30870
30902
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30871
30903
|
"""
|
|
30872
|
-
@summary
|
|
30904
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30873
30905
|
|
|
30874
30906
|
@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
30907
|
**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 +30959,7 @@ class Client(OpenApiClient):
|
|
|
30927
30959
|
runtime: util_models.RuntimeOptions,
|
|
30928
30960
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30929
30961
|
"""
|
|
30930
|
-
@summary
|
|
30962
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30931
30963
|
|
|
30932
30964
|
@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
30965
|
**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 +31016,7 @@ class Client(OpenApiClient):
|
|
|
30984
31016
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
30985
31017
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
30986
31018
|
"""
|
|
30987
|
-
@summary
|
|
31019
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
30988
31020
|
|
|
30989
31021
|
@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
31022
|
**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 +31034,7 @@ class Client(OpenApiClient):
|
|
|
31002
31034
|
request: vpc_20160428_models.DescribeTagsRequest,
|
|
31003
31035
|
) -> vpc_20160428_models.DescribeTagsResponse:
|
|
31004
31036
|
"""
|
|
31005
|
-
@summary
|
|
31037
|
+
@summary Queries tags that meet the specified filter conditions.
|
|
31006
31038
|
|
|
31007
31039
|
@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
31040
|
**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 +31053,7 @@ class Client(OpenApiClient):
|
|
|
31021
31053
|
runtime: util_models.RuntimeOptions,
|
|
31022
31054
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31023
31055
|
"""
|
|
31024
|
-
@summary
|
|
31056
|
+
@summary Queries vRouters in a region.
|
|
31025
31057
|
|
|
31026
31058
|
@param request: DescribeVRoutersRequest
|
|
31027
31059
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31070,7 +31102,7 @@ class Client(OpenApiClient):
|
|
|
31070
31102
|
runtime: util_models.RuntimeOptions,
|
|
31071
31103
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31072
31104
|
"""
|
|
31073
|
-
@summary
|
|
31105
|
+
@summary Queries vRouters in a region.
|
|
31074
31106
|
|
|
31075
31107
|
@param request: DescribeVRoutersRequest
|
|
31076
31108
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -31118,7 +31150,7 @@ class Client(OpenApiClient):
|
|
|
31118
31150
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31119
31151
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31120
31152
|
"""
|
|
31121
|
-
@summary
|
|
31153
|
+
@summary Queries vRouters in a region.
|
|
31122
31154
|
|
|
31123
31155
|
@param request: DescribeVRoutersRequest
|
|
31124
31156
|
@return: DescribeVRoutersResponse
|
|
@@ -31131,7 +31163,7 @@ class Client(OpenApiClient):
|
|
|
31131
31163
|
request: vpc_20160428_models.DescribeVRoutersRequest,
|
|
31132
31164
|
) -> vpc_20160428_models.DescribeVRoutersResponse:
|
|
31133
31165
|
"""
|
|
31134
|
-
@summary
|
|
31166
|
+
@summary Queries vRouters in a region.
|
|
31135
31167
|
|
|
31136
31168
|
@param request: DescribeVRoutersRequest
|
|
31137
31169
|
@return: DescribeVRoutersResponse
|
|
@@ -32059,6 +32091,150 @@ class Client(OpenApiClient):
|
|
|
32059
32091
|
runtime = util_models.RuntimeOptions()
|
|
32060
32092
|
return await self.describe_vpc_attribute_with_options_async(request, runtime)
|
|
32061
32093
|
|
|
32094
|
+
def describe_vpc_grant_rules_to_ecr_with_options(
|
|
32095
|
+
self,
|
|
32096
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32097
|
+
runtime: util_models.RuntimeOptions,
|
|
32098
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32099
|
+
"""
|
|
32100
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32101
|
+
|
|
32102
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32103
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
32104
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32105
|
+
"""
|
|
32106
|
+
UtilClient.validate_model(request)
|
|
32107
|
+
query = {}
|
|
32108
|
+
if not UtilClient.is_unset(request.ecr_instance_id):
|
|
32109
|
+
query['EcrInstanceId'] = request.ecr_instance_id
|
|
32110
|
+
if not UtilClient.is_unset(request.ecr_owner_id):
|
|
32111
|
+
query['EcrOwnerId'] = request.ecr_owner_id
|
|
32112
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
32113
|
+
query['InstanceId'] = request.instance_id
|
|
32114
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
32115
|
+
query['InstanceType'] = request.instance_type
|
|
32116
|
+
if not UtilClient.is_unset(request.max_results):
|
|
32117
|
+
query['MaxResults'] = request.max_results
|
|
32118
|
+
if not UtilClient.is_unset(request.next_token):
|
|
32119
|
+
query['NextToken'] = request.next_token
|
|
32120
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
32121
|
+
query['OwnerAccount'] = request.owner_account
|
|
32122
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
32123
|
+
query['OwnerId'] = request.owner_id
|
|
32124
|
+
if not UtilClient.is_unset(request.region_id):
|
|
32125
|
+
query['RegionId'] = request.region_id
|
|
32126
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
32127
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
32128
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
32129
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32130
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32131
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32132
|
+
if not UtilClient.is_unset(request.tags):
|
|
32133
|
+
query['Tags'] = request.tags
|
|
32134
|
+
req = open_api_models.OpenApiRequest(
|
|
32135
|
+
query=OpenApiUtilClient.query(query)
|
|
32136
|
+
)
|
|
32137
|
+
params = open_api_models.Params(
|
|
32138
|
+
action='DescribeVpcGrantRulesToEcr',
|
|
32139
|
+
version='2016-04-28',
|
|
32140
|
+
protocol='HTTPS',
|
|
32141
|
+
pathname='/',
|
|
32142
|
+
method='POST',
|
|
32143
|
+
auth_type='AK',
|
|
32144
|
+
style='RPC',
|
|
32145
|
+
req_body_type='formData',
|
|
32146
|
+
body_type='json'
|
|
32147
|
+
)
|
|
32148
|
+
return TeaCore.from_map(
|
|
32149
|
+
vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse(),
|
|
32150
|
+
self.call_api(params, req, runtime)
|
|
32151
|
+
)
|
|
32152
|
+
|
|
32153
|
+
async def describe_vpc_grant_rules_to_ecr_with_options_async(
|
|
32154
|
+
self,
|
|
32155
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32156
|
+
runtime: util_models.RuntimeOptions,
|
|
32157
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32158
|
+
"""
|
|
32159
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32160
|
+
|
|
32161
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32162
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
32163
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32164
|
+
"""
|
|
32165
|
+
UtilClient.validate_model(request)
|
|
32166
|
+
query = {}
|
|
32167
|
+
if not UtilClient.is_unset(request.ecr_instance_id):
|
|
32168
|
+
query['EcrInstanceId'] = request.ecr_instance_id
|
|
32169
|
+
if not UtilClient.is_unset(request.ecr_owner_id):
|
|
32170
|
+
query['EcrOwnerId'] = request.ecr_owner_id
|
|
32171
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
32172
|
+
query['InstanceId'] = request.instance_id
|
|
32173
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
32174
|
+
query['InstanceType'] = request.instance_type
|
|
32175
|
+
if not UtilClient.is_unset(request.max_results):
|
|
32176
|
+
query['MaxResults'] = request.max_results
|
|
32177
|
+
if not UtilClient.is_unset(request.next_token):
|
|
32178
|
+
query['NextToken'] = request.next_token
|
|
32179
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
32180
|
+
query['OwnerAccount'] = request.owner_account
|
|
32181
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
32182
|
+
query['OwnerId'] = request.owner_id
|
|
32183
|
+
if not UtilClient.is_unset(request.region_id):
|
|
32184
|
+
query['RegionId'] = request.region_id
|
|
32185
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
32186
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
32187
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
32188
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32189
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32190
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32191
|
+
if not UtilClient.is_unset(request.tags):
|
|
32192
|
+
query['Tags'] = request.tags
|
|
32193
|
+
req = open_api_models.OpenApiRequest(
|
|
32194
|
+
query=OpenApiUtilClient.query(query)
|
|
32195
|
+
)
|
|
32196
|
+
params = open_api_models.Params(
|
|
32197
|
+
action='DescribeVpcGrantRulesToEcr',
|
|
32198
|
+
version='2016-04-28',
|
|
32199
|
+
protocol='HTTPS',
|
|
32200
|
+
pathname='/',
|
|
32201
|
+
method='POST',
|
|
32202
|
+
auth_type='AK',
|
|
32203
|
+
style='RPC',
|
|
32204
|
+
req_body_type='formData',
|
|
32205
|
+
body_type='json'
|
|
32206
|
+
)
|
|
32207
|
+
return TeaCore.from_map(
|
|
32208
|
+
vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse(),
|
|
32209
|
+
await self.call_api_async(params, req, runtime)
|
|
32210
|
+
)
|
|
32211
|
+
|
|
32212
|
+
def describe_vpc_grant_rules_to_ecr(
|
|
32213
|
+
self,
|
|
32214
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32215
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32216
|
+
"""
|
|
32217
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32218
|
+
|
|
32219
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32220
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32221
|
+
"""
|
|
32222
|
+
runtime = util_models.RuntimeOptions()
|
|
32223
|
+
return self.describe_vpc_grant_rules_to_ecr_with_options(request, runtime)
|
|
32224
|
+
|
|
32225
|
+
async def describe_vpc_grant_rules_to_ecr_async(
|
|
32226
|
+
self,
|
|
32227
|
+
request: vpc_20160428_models.DescribeVpcGrantRulesToEcrRequest,
|
|
32228
|
+
) -> vpc_20160428_models.DescribeVpcGrantRulesToEcrResponse:
|
|
32229
|
+
"""
|
|
32230
|
+
@summary 查询VPC跨账号授权给ECR
|
|
32231
|
+
|
|
32232
|
+
@param request: DescribeVpcGrantRulesToEcrRequest
|
|
32233
|
+
@return: DescribeVpcGrantRulesToEcrResponse
|
|
32234
|
+
"""
|
|
32235
|
+
runtime = util_models.RuntimeOptions()
|
|
32236
|
+
return await self.describe_vpc_grant_rules_to_ecr_with_options_async(request, runtime)
|
|
32237
|
+
|
|
32062
32238
|
def describe_vpcs_with_options(
|
|
32063
32239
|
self,
|
|
32064
32240
|
request: vpc_20160428_models.DescribeVpcsRequest,
|
|
@@ -47169,6 +47345,8 @@ class Client(OpenApiClient):
|
|
|
47169
47345
|
query['MinRxInterval'] = request.min_rx_interval
|
|
47170
47346
|
if not UtilClient.is_unset(request.min_tx_interval):
|
|
47171
47347
|
query['MinTxInterval'] = request.min_tx_interval
|
|
47348
|
+
if not UtilClient.is_unset(request.mtu):
|
|
47349
|
+
query['Mtu'] = request.mtu
|
|
47172
47350
|
if not UtilClient.is_unset(request.name):
|
|
47173
47351
|
query['Name'] = request.name
|
|
47174
47352
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -47258,6 +47436,8 @@ class Client(OpenApiClient):
|
|
|
47258
47436
|
query['MinRxInterval'] = request.min_rx_interval
|
|
47259
47437
|
if not UtilClient.is_unset(request.min_tx_interval):
|
|
47260
47438
|
query['MinTxInterval'] = request.min_tx_interval
|
|
47439
|
+
if not UtilClient.is_unset(request.mtu):
|
|
47440
|
+
query['Mtu'] = request.mtu
|
|
47261
47441
|
if not UtilClient.is_unset(request.name):
|
|
47262
47442
|
query['Name'] = request.name
|
|
47263
47443
|
if not UtilClient.is_unset(request.owner_account):
|