-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
458 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '3.0.18' | ||
__version__ = '3.0.19' |
39 changes: 39 additions & 0 deletions
39
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AttachInstanceSDGRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 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 | ||
import json | ||
|
||
class AttachInstanceSDGRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'AttachInstanceSDG','ens') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_SDGId(self): # String | ||
return self.get_query_params().get('SDGId') | ||
|
||
def set_SDGId(self, SDGId): # String | ||
self.add_query_param('SDGId', SDGId) | ||
def get_InstanceIds(self): # Array | ||
return self.get_query_params().get('InstanceIds') | ||
|
||
def set_InstanceIds(self, InstanceIds): # Array | ||
self.add_query_param("InstanceIds", json.dumps(InstanceIds)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateHaVipRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# 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 CreateHaVipRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateHaVip','ens') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_IpAddress(self): # String | ||
return self.get_query_params().get('IpAddress') | ||
|
||
def set_IpAddress(self, IpAddress): # String | ||
self.add_query_param('IpAddress', IpAddress) | ||
def get_Description(self): # String | ||
return self.get_query_params().get('Description') | ||
|
||
def set_Description(self, Description): # String | ||
self.add_query_param('Description', Description) | ||
def get_Amount(self): # Integer | ||
return self.get_query_params().get('Amount') | ||
|
||
def set_Amount(self, Amount): # Integer | ||
self.add_query_param('Amount', Amount) | ||
def get_VSwitchId(self): # String | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self, VSwitchId): # String | ||
self.add_query_param('VSwitchId', VSwitchId) | ||
def get_Name(self): # String | ||
return self.get_query_params().get('Name') | ||
|
||
def set_Name(self, Name): # String | ||
self.add_query_param('Name', Name) |
48 changes: 48 additions & 0 deletions
48
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNetworkInterfaceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# 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 | ||
import json | ||
|
||
class CreateNetworkInterfaceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateNetworkInterface','ens') | ||
self.set_method('POST') | ||
|
||
def get_Description(self): # String | ||
return self.get_query_params().get('Description') | ||
|
||
def set_Description(self, Description): # String | ||
self.add_query_param('Description', Description) | ||
def get_SecurityGroupIds(self): # Array | ||
return self.get_query_params().get('SecurityGroupIds') | ||
|
||
def set_SecurityGroupIds(self, SecurityGroupIds): # Array | ||
self.add_query_param("SecurityGroupIds", json.dumps(SecurityGroupIds)) | ||
def get_VSwitchId(self): # String | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self, VSwitchId): # String | ||
self.add_query_param('VSwitchId', VSwitchId) | ||
def get_Name(self): # String | ||
return self.get_query_params().get('Name') | ||
|
||
def set_Name(self, Name): # String | ||
self.add_query_param('Name', Name) |
34 changes: 34 additions & 0 deletions
34
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteHaVipsRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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 | ||
import json | ||
|
||
class DeleteHaVipsRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteHaVips','ens') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_HaVipIds(self): # Array | ||
return self.get_query_params().get('HaVipIds') | ||
|
||
def set_HaVipIds(self, HaVipIds): # Array | ||
self.add_query_param("HaVipIds", json.dumps(HaVipIds)) |
33 changes: 33 additions & 0 deletions
33
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteNetworkInterfacesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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 | ||
import json | ||
|
||
class DeleteNetworkInterfacesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteNetworkInterfaces','ens') | ||
self.set_method('POST') | ||
|
||
def get_NetworkInterfaceIds(self): # Array | ||
return self.get_query_params().get('NetworkInterfaceIds') | ||
|
||
def set_NetworkInterfaceIds(self, NetworkInterfaceIds): # Array | ||
self.add_query_param("NetworkInterfaceIds", json.dumps(NetworkInterfaceIds)) |
52 changes: 52 additions & 0 deletions
52
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeEnsRouteTablesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# 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 DescribeEnsRouteTablesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeEnsRouteTables','ens') | ||
self.set_method('POST') | ||
|
||
def get_PageNumber(self): # Integer | ||
return self.get_query_params().get('PageNumber') | ||
|
||
def set_PageNumber(self, PageNumber): # Integer | ||
self.add_query_param('PageNumber', PageNumber) | ||
def get_PageSize(self): # Integer | ||
return self.get_query_params().get('PageSize') | ||
|
||
def set_PageSize(self, PageSize): # Integer | ||
self.add_query_param('PageSize', PageSize) | ||
def get_EnsRegionId(self): # String | ||
return self.get_query_params().get('EnsRegionId') | ||
|
||
def set_EnsRegionId(self, EnsRegionId): # String | ||
self.add_query_param('EnsRegionId', EnsRegionId) | ||
def get_RouteTableId(self): # String | ||
return self.get_query_params().get('RouteTableId') | ||
|
||
def set_RouteTableId(self, RouteTableId): # String | ||
self.add_query_param('RouteTableId', RouteTableId) | ||
def get_NetworkId(self): # String | ||
return self.get_query_params().get('NetworkId') | ||
|
||
def set_NetworkId(self, NetworkId): # String | ||
self.add_query_param('NetworkId', NetworkId) |
54 changes: 54 additions & 0 deletions
54
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeInstanceSDGStatusRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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 | ||
import json | ||
|
||
class DescribeInstanceSDGStatusRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeInstanceSDGStatus','ens') | ||
self.set_protocol_type('https') | ||
self.set_method('GET') | ||
|
||
def get_PageNumber(self): # Integer | ||
return self.get_query_params().get('PageNumber') | ||
|
||
def set_PageNumber(self, PageNumber): # Integer | ||
self.add_query_param('PageNumber', PageNumber) | ||
def get_PageSize(self): # Integer | ||
return self.get_query_params().get('PageSize') | ||
|
||
def set_PageSize(self, PageSize): # Integer | ||
self.add_query_param('PageSize', PageSize) | ||
def get_SDGIds(self): # Array | ||
return self.get_query_params().get('SDGIds') | ||
|
||
def set_SDGIds(self, SDGIds): # Array | ||
self.add_query_param("SDGIds", json.dumps(SDGIds)) | ||
def get_InstanceId(self): # String | ||
return self.get_query_params().get('InstanceId') | ||
|
||
def set_InstanceId(self, InstanceId): # String | ||
self.add_query_param('InstanceId', InstanceId) | ||
def get_Status(self): # String | ||
return self.get_query_params().get('Status') | ||
|
||
def set_Status(self, Status): # String | ||
self.add_query_param('Status', Status) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.