-
Notifications
You must be signed in to change notification settings - Fork 585
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
19 changed files
with
220 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2024-05-22 Version: 3.0.15 | ||
- Support Spot Instance. | ||
|
||
2023-11-27 Version: 3.0.14 | ||
- Support AIC Instance. | ||
|
||
|
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.14' | ||
__version__ = '3.0.15' |
47 changes: 47 additions & 0 deletions
47
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSDGRequest.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,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 CreateSDGRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateSDG','ens') | ||
self.set_method('GET') | ||
|
||
def get_FromSDGId(self): # String | ||
return self.get_query_params().get('FromSDGId') | ||
|
||
def set_FromSDGId(self, FromSDGId): # String | ||
self.add_query_param('FromSDGId', FromSDGId) | ||
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_InstanceId(self): # String | ||
return self.get_query_params().get('InstanceId') | ||
|
||
def set_InstanceId(self, InstanceId): # String | ||
self.add_query_param('InstanceId', InstanceId) | ||
def get_Size(self): # String | ||
return self.get_query_params().get('Size') | ||
|
||
def set_Size(self, Size): # String | ||
self.add_query_param('Size', Size) |
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
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
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
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
87 changes: 0 additions & 87 deletions
87
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeWorkflowRequest.py
This file was deleted.
Oops, something went wrong.
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
63 changes: 63 additions & 0 deletions
63
aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyInstanceChargeTypeRequest.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,63 @@ | ||
# 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 ModifyInstanceChargeTypeRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ModifyInstanceChargeType','ens') | ||
self.set_method('POST') | ||
|
||
def get_Period(self): # String | ||
return self.get_query_params().get('Period') | ||
|
||
def set_Period(self, Period): # String | ||
self.add_query_param('Period', Period) | ||
def get_IncludeDataDisks(self): # Boolean | ||
return self.get_query_params().get('IncludeDataDisks') | ||
|
||
def set_IncludeDataDisks(self, IncludeDataDisks): # Boolean | ||
self.add_query_param('IncludeDataDisks', IncludeDataDisks) | ||
def get_PeriodUnit(self): # String | ||
return self.get_query_params().get('PeriodUnit') | ||
|
||
def set_PeriodUnit(self, PeriodUnit): # String | ||
self.add_query_param('PeriodUnit', PeriodUnit) | ||
def get_AutoRenew(self): # Boolean | ||
return self.get_query_params().get('AutoRenew') | ||
|
||
def set_AutoRenew(self, AutoRenew): # Boolean | ||
self.add_query_param('AutoRenew', AutoRenew) | ||
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)) | ||
def get_InstanceChargeType(self): # String | ||
return self.get_query_params().get('InstanceChargeType') | ||
|
||
def set_InstanceChargeType(self, InstanceChargeType): # String | ||
self.add_query_param('InstanceChargeType', InstanceChargeType) | ||
def get_AutoPay(self): # Boolean | ||
return self.get_query_params().get('AutoPay') | ||
|
||
def set_AutoPay(self, AutoPay): # Boolean | ||
self.add_query_param('AutoPay', AutoPay) |
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
Oops, something went wrong.