Skip to content

Commit 0777cae

Browse files
committed
Update HDENI API.
1 parent 2ee5da1 commit 0777cae

10 files changed

+244
-1
lines changed

aliyun-python-sdk-eflo/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-04-18 Version: 1.0.13
2+
- Update HDENI API.
3+
14
2023-11-03 Version: 1.0.12
25
- Support ClientToken for Idemoptent.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.12'
1+
__version__ = '1.0.13'
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class AssignLeniPrivateIpAddressRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'AssignLeniPrivateIpAddress','eflo')
26+
self.set_method('POST')
27+
28+
def get_ClientToken(self): # String
29+
return self.get_body_params().get('ClientToken')
30+
31+
def set_ClientToken(self, ClientToken): # String
32+
self.add_body_params('ClientToken', ClientToken)
33+
def get_Description(self): # String
34+
return self.get_body_params().get('Description')
35+
36+
def set_Description(self, Description): # String
37+
self.add_body_params('Description', Description)
38+
def get_PrivateIpAddress(self): # String
39+
return self.get_body_params().get('PrivateIpAddress')
40+
41+
def set_PrivateIpAddress(self, PrivateIpAddress): # String
42+
self.add_body_params('PrivateIpAddress', PrivateIpAddress)
43+
def get_ElasticNetworkInterfaceId(self): # String
44+
return self.get_body_params().get('ElasticNetworkInterfaceId')
45+
46+
def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
47+
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetLeniPrivateIpAddressRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'GetLeniPrivateIpAddress','eflo')
26+
self.set_method('POST')
27+
28+
def get_IpName(self): # String
29+
return self.get_body_params().get('IpName')
30+
31+
def set_IpName(self, IpName): # String
32+
self.add_body_params('IpName', IpName)
33+
def get_ElasticNetworkInterfaceId(self): # String
34+
return self.get_body_params().get('ElasticNetworkInterfaceId')
35+
36+
def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
37+
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)

aliyun-python-sdk-eflo/aliyunsdkeflo/request/v20220530/GetVccRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ def __init__(self):
2525
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'GetVcc','eflo')
2626
self.set_method('POST')
2727

28+
def get_ClientToken(self): # String
29+
return self.get_body_params().get('ClientToken')
30+
31+
def set_ClientToken(self, ClientToken): # String
32+
self.add_body_params('ClientToken', ClientToken)
2833
def get_PageNumber(self): # Integer
2934
return self.get_body_params().get('PageNumber')
3035

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class ListLeniPrivateIpAddressesRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'ListLeniPrivateIpAddresses','eflo')
26+
self.set_method('POST')
27+
28+
def get_PageNumber(self): # Integer
29+
return self.get_body_params().get('PageNumber')
30+
31+
def set_PageNumber(self, PageNumber): # Integer
32+
self.add_body_params('PageNumber', PageNumber)
33+
def get_PageSize(self): # Integer
34+
return self.get_body_params().get('PageSize')
35+
36+
def set_PageSize(self, PageSize): # Integer
37+
self.add_body_params('PageSize', PageSize)
38+
def get_PrivateIpAddress(self): # String
39+
return self.get_body_params().get('PrivateIpAddress')
40+
41+
def set_PrivateIpAddress(self, PrivateIpAddress): # String
42+
self.add_body_params('PrivateIpAddress', PrivateIpAddress)
43+
def get_IpName(self): # String
44+
return self.get_body_params().get('IpName')
45+
46+
def set_IpName(self, IpName): # String
47+
self.add_body_params('IpName', IpName)
48+
def get_ElasticNetworkInterfaceId(self): # String
49+
return self.get_body_params().get('ElasticNetworkInterfaceId')
50+
51+
def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
52+
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
53+
def get_Status(self): # String
54+
return self.get_body_params().get('Status')
55+
56+
def set_Status(self, Status): # String
57+
self.add_body_params('Status', Status)

aliyun-python-sdk-eflo/aliyunsdkeflo/request/v20220530/ListVccGrantRulesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ def get_PageNumber(self): # Integer
3535

3636
def set_PageNumber(self, PageNumber): # Integer
3737
self.add_body_params('PageNumber', PageNumber)
38+
def get_ResourceGroupId(self): # String
39+
return self.get_body_params().get('ResourceGroupId')
40+
41+
def set_ResourceGroupId(self, ResourceGroupId): # String
42+
self.add_body_params('ResourceGroupId', ResourceGroupId)
3843
def get_GrantRuleId(self): # String
3944
return self.get_body_params().get('GrantRuleId')
4045

aliyun-python-sdk-eflo/aliyunsdkeflo/request/v20220530/ListVpdGrantRulesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ def get_PageNumber(self): # Integer
3535

3636
def set_PageNumber(self, PageNumber): # Integer
3737
self.add_body_params('PageNumber', PageNumber)
38+
def get_ResourceGroupId(self): # String
39+
return self.get_body_params().get('ResourceGroupId')
40+
41+
def set_ResourceGroupId(self, ResourceGroupId): # String
42+
self.add_body_params('ResourceGroupId', ResourceGroupId)
3843
def get_GrantRuleId(self): # String
3944
return self.get_body_params().get('GrantRuleId')
4045

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class UnassignLeniPrivateIpAddressRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'UnassignLeniPrivateIpAddress','eflo')
26+
self.set_method('POST')
27+
28+
def get_ClientToken(self): # String
29+
return self.get_body_params().get('ClientToken')
30+
31+
def set_ClientToken(self, ClientToken): # String
32+
self.add_body_params('ClientToken', ClientToken)
33+
def get_IpName(self): # String
34+
return self.get_body_params().get('IpName')
35+
36+
def set_IpName(self, IpName): # String
37+
self.add_body_params('IpName', IpName)
38+
def get_ElasticNetworkInterfaceId(self): # String
39+
return self.get_body_params().get('ElasticNetworkInterfaceId')
40+
41+
def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
42+
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class UpdateLeniPrivateIpAddressRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'UpdateLeniPrivateIpAddress','eflo')
26+
self.set_method('POST')
27+
28+
def get_Description(self): # String
29+
return self.get_body_params().get('Description')
30+
31+
def set_Description(self, Description): # String
32+
self.add_body_params('Description', Description)
33+
def get_IpName(self): # String
34+
return self.get_body_params().get('IpName')
35+
36+
def set_IpName(self, IpName): # String
37+
self.add_body_params('IpName', IpName)
38+
def get_ElasticNetworkInterfaceId(self): # String
39+
return self.get_body_params().get('ElasticNetworkInterfaceId')
40+
41+
def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
42+
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)

0 commit comments

Comments
 (0)