Skip to content

Commit

Permalink
Update HDENI API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Apr 18, 2024
1 parent 2ee5da1 commit 0777cae
Show file tree
Hide file tree
Showing 10 changed files with 244 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-eflo/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-04-18 Version: 1.0.13
- Update HDENI API.

2023-11-03 Version: 1.0.12
- Support ClientToken for Idemoptent.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-eflo/aliyunsdkeflo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.12'
__version__ = '1.0.13'
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest

class AssignLeniPrivateIpAddressRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'AssignLeniPrivateIpAddress','eflo')
self.set_method('POST')

def get_ClientToken(self): # String
return self.get_body_params().get('ClientToken')

def set_ClientToken(self, ClientToken): # String
self.add_body_params('ClientToken', ClientToken)
def get_Description(self): # String
return self.get_body_params().get('Description')

def set_Description(self, Description): # String
self.add_body_params('Description', Description)
def get_PrivateIpAddress(self): # String
return self.get_body_params().get('PrivateIpAddress')

def set_PrivateIpAddress(self, PrivateIpAddress): # String
self.add_body_params('PrivateIpAddress', PrivateIpAddress)
def get_ElasticNetworkInterfaceId(self): # String
return self.get_body_params().get('ElasticNetworkInterfaceId')

def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest

class GetLeniPrivateIpAddressRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'GetLeniPrivateIpAddress','eflo')
self.set_method('POST')

def get_IpName(self): # String
return self.get_body_params().get('IpName')

def set_IpName(self, IpName): # String
self.add_body_params('IpName', IpName)
def get_ElasticNetworkInterfaceId(self): # String
return self.get_body_params().get('ElasticNetworkInterfaceId')

def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'GetVcc','eflo')
self.set_method('POST')

def get_ClientToken(self): # String
return self.get_body_params().get('ClientToken')

def set_ClientToken(self, ClientToken): # String
self.add_body_params('ClientToken', ClientToken)
def get_PageNumber(self): # Integer
return self.get_body_params().get('PageNumber')

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest

class ListLeniPrivateIpAddressesRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'ListLeniPrivateIpAddresses','eflo')
self.set_method('POST')

def get_PageNumber(self): # Integer
return self.get_body_params().get('PageNumber')

def set_PageNumber(self, PageNumber): # Integer
self.add_body_params('PageNumber', PageNumber)
def get_PageSize(self): # Integer
return self.get_body_params().get('PageSize')

def set_PageSize(self, PageSize): # Integer
self.add_body_params('PageSize', PageSize)
def get_PrivateIpAddress(self): # String
return self.get_body_params().get('PrivateIpAddress')

def set_PrivateIpAddress(self, PrivateIpAddress): # String
self.add_body_params('PrivateIpAddress', PrivateIpAddress)
def get_IpName(self): # String
return self.get_body_params().get('IpName')

def set_IpName(self, IpName): # String
self.add_body_params('IpName', IpName)
def get_ElasticNetworkInterfaceId(self): # String
return self.get_body_params().get('ElasticNetworkInterfaceId')

def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
def get_Status(self): # String
return self.get_body_params().get('Status')

def set_Status(self, Status): # String
self.add_body_params('Status', Status)
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ def get_PageNumber(self): # Integer

def set_PageNumber(self, PageNumber): # Integer
self.add_body_params('PageNumber', PageNumber)
def get_ResourceGroupId(self): # String
return self.get_body_params().get('ResourceGroupId')

def set_ResourceGroupId(self, ResourceGroupId): # String
self.add_body_params('ResourceGroupId', ResourceGroupId)
def get_GrantRuleId(self): # String
return self.get_body_params().get('GrantRuleId')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ def get_PageNumber(self): # Integer

def set_PageNumber(self, PageNumber): # Integer
self.add_body_params('PageNumber', PageNumber)
def get_ResourceGroupId(self): # String
return self.get_body_params().get('ResourceGroupId')

def set_ResourceGroupId(self, ResourceGroupId): # String
self.add_body_params('ResourceGroupId', ResourceGroupId)
def get_GrantRuleId(self): # String
return self.get_body_params().get('GrantRuleId')

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest

class UnassignLeniPrivateIpAddressRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'UnassignLeniPrivateIpAddress','eflo')
self.set_method('POST')

def get_ClientToken(self): # String
return self.get_body_params().get('ClientToken')

def set_ClientToken(self, ClientToken): # String
self.add_body_params('ClientToken', ClientToken)
def get_IpName(self): # String
return self.get_body_params().get('IpName')

def set_IpName(self, IpName): # String
self.add_body_params('IpName', IpName)
def get_ElasticNetworkInterfaceId(self): # String
return self.get_body_params().get('ElasticNetworkInterfaceId')

def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest

class UpdateLeniPrivateIpAddressRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'eflo', '2022-05-30', 'UpdateLeniPrivateIpAddress','eflo')
self.set_method('POST')

def get_Description(self): # String
return self.get_body_params().get('Description')

def set_Description(self, Description): # String
self.add_body_params('Description', Description)
def get_IpName(self): # String
return self.get_body_params().get('IpName')

def set_IpName(self, IpName): # String
self.add_body_params('IpName', IpName)
def get_ElasticNetworkInterfaceId(self): # String
return self.get_body_params().get('ElasticNetworkInterfaceId')

def set_ElasticNetworkInterfaceId(self, ElasticNetworkInterfaceId): # String
self.add_body_params('ElasticNetworkInterfaceId', ElasticNetworkInterfaceId)

0 comments on commit 0777cae

Please sign in to comment.