Skip to content

Commit bb224e2

Browse files
committed
Supported API for PublicIpAddressPool.
1 parent da2d152 commit bb224e2

File tree

318 files changed

+9147
-11619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+9147
-11619
lines changed

aliyun-python-sdk-vpc/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-05-07 Version: 3.0.17
2+
- Supported API for PublicIpAddressPool.
3+
14
2021-12-06 Version: 3.0.16
25
- Supported SecurityProtectionTypes for AllocateEipAddress.
36
- Supported SecurityProtectionTypes for CreateCommonBandwidthPackage.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.0.16'
1+
__version__ = '3.0.17'

aliyun-python-sdk-vpc/aliyunsdkvpc/endpoint.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def __init__(self):
4949
"cn-hangzhou-internal-test-1": "vpc.aliyuncs.com",
5050
"eu-west-1-oxs": "vpc-nebula.cn-shenzhen-cloudstone.aliyuncs.com",
5151
"cn-zhangbei-na61-b01": "vpc.aliyuncs.com",
52-
"cn-beijing-finance-1": "vpc.aliyuncs.com",
5352
"cn-hangzhou-internal-test-3": "vpc.aliyuncs.com",
5453
"cn-shenzhen-finance-1": "vpc.aliyuncs.com",
5554
"cn-hangzhou-internal-test-2": "vpc.aliyuncs.com",

aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/ActivateRouterInterfaceRequest.py

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,30 @@ class ActivateRouterInterfaceRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'ActivateRouterInterface','vpc')
27-
self.set_method('POST')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ResourceOwnerAccount(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ResourceOwnerAccount(self): # String
4140
return self.get_query_params().get('ResourceOwnerAccount')
4241

43-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45-
46-
def get_OwnerId(self):
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_OwnerId(self): # Long
4745
return self.get_query_params().get('OwnerId')
4846

49-
def set_OwnerId(self,OwnerId):
50-
self.add_query_param('OwnerId',OwnerId)
51-
52-
def get_RouterInterfaceId(self):
47+
def set_OwnerId(self, OwnerId): # Long
48+
self.add_query_param('OwnerId', OwnerId)
49+
def get_RouterInterfaceId(self): # String
5350
return self.get_query_params().get('RouterInterfaceId')
5451

55-
def set_RouterInterfaceId(self,RouterInterfaceId):
56-
self.add_query_param('RouterInterfaceId',RouterInterfaceId)
52+
def set_RouterInterfaceId(self, RouterInterfaceId): # String
53+
self.add_query_param('RouterInterfaceId', RouterInterfaceId)

aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/ActiveFlowLogRequest.py

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,35 @@ class ActiveFlowLogRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'ActiveFlowLog','vpc')
27-
self.set_method('POST')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ResourceOwnerAccount(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ResourceOwnerAccount(self): # String
4140
return self.get_query_params().get('ResourceOwnerAccount')
4241

43-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45-
46-
def get_OwnerAccount(self):
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_OwnerAccount(self): # String
4745
return self.get_query_params().get('OwnerAccount')
4846

49-
def set_OwnerAccount(self,OwnerAccount):
50-
self.add_query_param('OwnerAccount',OwnerAccount)
51-
52-
def get_OwnerId(self):
47+
def set_OwnerAccount(self, OwnerAccount): # String
48+
self.add_query_param('OwnerAccount', OwnerAccount)
49+
def get_OwnerId(self): # Long
5350
return self.get_query_params().get('OwnerId')
5451

55-
def set_OwnerId(self,OwnerId):
56-
self.add_query_param('OwnerId',OwnerId)
57-
58-
def get_FlowLogId(self):
52+
def set_OwnerId(self, OwnerId): # Long
53+
self.add_query_param('OwnerId', OwnerId)
54+
def get_FlowLogId(self): # String
5955
return self.get_query_params().get('FlowLogId')
6056

61-
def set_FlowLogId(self,FlowLogId):
62-
self.add_query_param('FlowLogId',FlowLogId)
57+
def set_FlowLogId(self, FlowLogId): # String
58+
self.add_query_param('FlowLogId', FlowLogId)

aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/AddBgpNetworkRequest.py

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -24,57 +24,50 @@ class AddBgpNetworkRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'AddBgpNetwork','vpc')
27-
self.set_method('POST')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ClientToken(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ClientToken(self): # String
4140
return self.get_query_params().get('ClientToken')
4241

43-
def set_ClientToken(self,ClientToken):
44-
self.add_query_param('ClientToken',ClientToken)
45-
46-
def get_ResourceOwnerAccount(self):
42+
def set_ClientToken(self, ClientToken): # String
43+
self.add_query_param('ClientToken', ClientToken)
44+
def get_ResourceOwnerAccount(self): # String
4745
return self.get_query_params().get('ResourceOwnerAccount')
4846

49-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
50-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
51-
52-
def get_OwnerAccount(self):
47+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
48+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
49+
def get_OwnerAccount(self): # String
5350
return self.get_query_params().get('OwnerAccount')
5451

55-
def set_OwnerAccount(self,OwnerAccount):
56-
self.add_query_param('OwnerAccount',OwnerAccount)
57-
58-
def get_OwnerId(self):
52+
def set_OwnerAccount(self, OwnerAccount): # String
53+
self.add_query_param('OwnerAccount', OwnerAccount)
54+
def get_OwnerId(self): # Long
5955
return self.get_query_params().get('OwnerId')
6056

61-
def set_OwnerId(self,OwnerId):
62-
self.add_query_param('OwnerId',OwnerId)
63-
64-
def get_RouterId(self):
57+
def set_OwnerId(self, OwnerId): # Long
58+
self.add_query_param('OwnerId', OwnerId)
59+
def get_RouterId(self): # String
6560
return self.get_query_params().get('RouterId')
6661

67-
def set_RouterId(self,RouterId):
68-
self.add_query_param('RouterId',RouterId)
69-
70-
def get_VpcId(self):
62+
def set_RouterId(self, RouterId): # String
63+
self.add_query_param('RouterId', RouterId)
64+
def get_VpcId(self): # String
7165
return self.get_query_params().get('VpcId')
7266

73-
def set_VpcId(self,VpcId):
74-
self.add_query_param('VpcId',VpcId)
75-
76-
def get_DstCidrBlock(self):
67+
def set_VpcId(self, VpcId): # String
68+
self.add_query_param('VpcId', VpcId)
69+
def get_DstCidrBlock(self): # String
7770
return self.get_query_params().get('DstCidrBlock')
7871

79-
def set_DstCidrBlock(self,DstCidrBlock):
80-
self.add_query_param('DstCidrBlock',DstCidrBlock)
72+
def set_DstCidrBlock(self, DstCidrBlock): # String
73+
self.add_query_param('DstCidrBlock', DstCidrBlock)

aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/AddCommonBandwidthPackageIpRequest.py

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -24,57 +24,50 @@ class AddCommonBandwidthPackageIpRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'AddCommonBandwidthPackageIp','vpc')
27-
self.set_method('POST')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ClientToken(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ClientToken(self): # String
4140
return self.get_query_params().get('ClientToken')
4241

43-
def set_ClientToken(self,ClientToken):
44-
self.add_query_param('ClientToken',ClientToken)
45-
46-
def get_BandwidthPackageId(self):
42+
def set_ClientToken(self, ClientToken): # String
43+
self.add_query_param('ClientToken', ClientToken)
44+
def get_BandwidthPackageId(self): # String
4745
return self.get_query_params().get('BandwidthPackageId')
4846

49-
def set_BandwidthPackageId(self,BandwidthPackageId):
50-
self.add_query_param('BandwidthPackageId',BandwidthPackageId)
51-
52-
def get_ResourceOwnerAccount(self):
47+
def set_BandwidthPackageId(self, BandwidthPackageId): # String
48+
self.add_query_param('BandwidthPackageId', BandwidthPackageId)
49+
def get_ResourceOwnerAccount(self): # String
5350
return self.get_query_params().get('ResourceOwnerAccount')
5451

55-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
56-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
57-
58-
def get_OwnerAccount(self):
52+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
53+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
54+
def get_OwnerAccount(self): # String
5955
return self.get_query_params().get('OwnerAccount')
6056

61-
def set_OwnerAccount(self,OwnerAccount):
62-
self.add_query_param('OwnerAccount',OwnerAccount)
63-
64-
def get_OwnerId(self):
57+
def set_OwnerAccount(self, OwnerAccount): # String
58+
self.add_query_param('OwnerAccount', OwnerAccount)
59+
def get_OwnerId(self): # Long
6560
return self.get_query_params().get('OwnerId')
6661

67-
def set_OwnerId(self,OwnerId):
68-
self.add_query_param('OwnerId',OwnerId)
69-
70-
def get_IpType(self):
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)
64+
def get_IpType(self): # String
7165
return self.get_query_params().get('IpType')
7266

73-
def set_IpType(self,IpType):
74-
self.add_query_param('IpType',IpType)
75-
76-
def get_IpInstanceId(self):
67+
def set_IpType(self, IpType): # String
68+
self.add_query_param('IpType', IpType)
69+
def get_IpInstanceId(self): # String
7770
return self.get_query_params().get('IpInstanceId')
7871

79-
def set_IpInstanceId(self,IpInstanceId):
80-
self.add_query_param('IpInstanceId',IpInstanceId)
72+
def set_IpInstanceId(self, IpInstanceId): # String
73+
self.add_query_param('IpInstanceId', IpInstanceId)

aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/AddCommonBandwidthPackageIpsRequest.py

Lines changed: 27 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,59 +24,51 @@ class AddCommonBandwidthPackageIpsRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'AddCommonBandwidthPackageIps','vpc')
27-
self.set_method('POST')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ClientToken(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ClientToken(self): # String
4140
return self.get_query_params().get('ClientToken')
4241

43-
def set_ClientToken(self,ClientToken):
44-
self.add_query_param('ClientToken',ClientToken)
45-
46-
def get_IpInstanceIdss(self):
42+
def set_ClientToken(self, ClientToken): # String
43+
self.add_query_param('ClientToken', ClientToken)
44+
def get_IpInstanceIdss(self): # RepeatList
4745
return self.get_query_params().get('IpInstanceIds')
4846

49-
def set_IpInstanceIdss(self, IpInstanceIdss):
50-
for depth1 in range(len(IpInstanceIdss)):
51-
if IpInstanceIdss[depth1] is not None:
52-
self.add_query_param('IpInstanceIds.' + str(depth1 + 1) , IpInstanceIdss[depth1])
53-
54-
def get_BandwidthPackageId(self):
47+
def set_IpInstanceIdss(self, IpInstanceIds): # RepeatList
48+
for depth1 in range(len(IpInstanceIds)):
49+
self.add_query_param('IpInstanceIds.' + str(depth1 + 1), IpInstanceIds[depth1])
50+
def get_BandwidthPackageId(self): # String
5551
return self.get_query_params().get('BandwidthPackageId')
5652

57-
def set_BandwidthPackageId(self,BandwidthPackageId):
58-
self.add_query_param('BandwidthPackageId',BandwidthPackageId)
59-
60-
def get_ResourceOwnerAccount(self):
53+
def set_BandwidthPackageId(self, BandwidthPackageId): # String
54+
self.add_query_param('BandwidthPackageId', BandwidthPackageId)
55+
def get_ResourceOwnerAccount(self): # String
6156
return self.get_query_params().get('ResourceOwnerAccount')
6257

63-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
64-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
65-
66-
def get_OwnerAccount(self):
58+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
59+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
60+
def get_OwnerAccount(self): # String
6761
return self.get_query_params().get('OwnerAccount')
6862

69-
def set_OwnerAccount(self,OwnerAccount):
70-
self.add_query_param('OwnerAccount',OwnerAccount)
71-
72-
def get_OwnerId(self):
63+
def set_OwnerAccount(self, OwnerAccount): # String
64+
self.add_query_param('OwnerAccount', OwnerAccount)
65+
def get_OwnerId(self): # Long
7366
return self.get_query_params().get('OwnerId')
7467

75-
def set_OwnerId(self,OwnerId):
76-
self.add_query_param('OwnerId',OwnerId)
77-
78-
def get_IpType(self):
68+
def set_OwnerId(self, OwnerId): # Long
69+
self.add_query_param('OwnerId', OwnerId)
70+
def get_IpType(self): # String
7971
return self.get_query_params().get('IpType')
8072

81-
def set_IpType(self,IpType):
82-
self.add_query_param('IpType',IpType)
73+
def set_IpType(self, IpType): # String
74+
self.add_query_param('IpType', IpType)

0 commit comments

Comments
 (0)