Skip to content

Commit

Permalink
Add ResourcePoolOptions.Strategy for CreateAutoProvisioningGroup.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 15, 2024
1 parent 74021d5 commit adcf9ec
Show file tree
Hide file tree
Showing 15 changed files with 130 additions and 155 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-ecs/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-10-15 Version: 4.24.76
- Add ResourcePoolOptions.Strategy for CreateAutoProvisioningGroup.

2024-09-14 Version: 4.24.75
- Update EBS default encrypted APIs from private to public.
- Support describe and modify source dest check property of ENI.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-ecs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy

This module works on Python versions:

2.6.5 and greater
3.7 and greater

**Documentation:**

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-ecs/aliyunsdkecs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.24.75'
__version__ = '4.24.76'
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

from aliyunsdkcore.request import RpcRequest
from aliyunsdkecs.endpoint import endpoint_data
import json

class CreateAutoProvisioningGroupRequest(RpcRequest):

Expand Down Expand Up @@ -277,6 +278,11 @@ def get_SpotAllocationStrategy(self): # String

def set_SpotAllocationStrategy(self, SpotAllocationStrategy): # String
self.add_query_param('SpotAllocationStrategy', SpotAllocationStrategy)
def get_ResourcePoolOptions(self): # Struct
return self.get_query_params().get('ResourcePoolOptions')

def set_ResourcePoolOptions(self, ResourcePoolOptions): # Struct
self.add_query_param("ResourcePoolOptions", json.dumps(ResourcePoolOptions))
def get_TerminateInstances(self): # Boolean
return self.get_query_params().get('TerminateInstances')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def get_SystemType(self): # String

def set_SystemType(self, SystemType): # String
self.add_query_param('SystemType', SystemType)
def get_ComponentVersion(self): # String
return self.get_query_params().get('ComponentVersion')

def set_ComponentVersion(self, ComponentVersion): # String
self.add_query_param('ComponentVersion', ComponentVersion)
def get_Content(self): # String
return self.get_query_params().get('Content')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ def get_OwnerAccount(self): # String

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_RepairMode(self): # String
return self.get_query_params().get('RepairMode')

def set_RepairMode(self, RepairMode): # String
self.add_query_param('RepairMode', RepairMode)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

Expand Down Expand Up @@ -132,8 +137,18 @@ def get_Name(self): # String

def set_Name(self, Name): # String
self.add_query_param('Name', Name)
def get_ImageFamily(self): # String
return self.get_query_params().get('ImageFamily')

def set_ImageFamily(self, ImageFamily): # String
self.add_query_param('ImageFamily', ImageFamily)
def get_BuildContent(self): # String
return self.get_query_params().get('BuildContent')

def set_BuildContent(self, BuildContent): # String
self.add_query_param('BuildContent', BuildContent)
def get_TestContent(self): # String
return self.get_query_params().get('TestContent')

def set_TestContent(self, TestContent): # String
self.add_query_param('TestContent', TestContent)
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def get_ResourceOwnerId(self): # Long

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_HttpPutResponseHopLimit(self): # Integer
return self.get_query_params().get('HttpPutResponseHopLimit')

def set_HttpPutResponseHopLimit(self, HttpPutResponseHopLimit): # Integer
self.add_query_param('HttpPutResponseHopLimit', HttpPutResponseHopLimit)
def get_SecurityEnhancementStrategy(self): # String
return self.get_query_params().get('SecurityEnhancementStrategy')

Expand Down Expand Up @@ -239,6 +244,11 @@ def get_PasswordInherit(self): # Boolean

def set_PasswordInherit(self, PasswordInherit): # Boolean
self.add_query_param('PasswordInherit', PasswordInherit)
def get_HttpEndpoint(self): # String
return self.get_query_params().get('HttpEndpoint')

def set_HttpEndpoint(self, HttpEndpoint): # String
self.add_query_param('HttpEndpoint', HttpEndpoint)
def get_InstanceType(self): # String
return self.get_query_params().get('InstanceType')

Expand Down Expand Up @@ -366,6 +376,11 @@ def get_VpcId(self): # String

def set_VpcId(self, VpcId): # String
self.add_query_param('VpcId', VpcId)
def get_HttpTokens(self): # String
return self.get_query_params().get('HttpTokens')

def set_HttpTokens(self, HttpTokens): # String
self.add_query_param('HttpTokens', HttpTokens)
def get_SystemDiskDescription(self): # String
return self.get_query_params().get('SystemDisk.Description')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def get_ResourceOwnerId(self): # Long

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_HttpPutResponseHopLimit(self): # Integer
return self.get_query_params().get('HttpPutResponseHopLimit')

def set_HttpPutResponseHopLimit(self, HttpPutResponseHopLimit): # Integer
self.add_query_param('HttpPutResponseHopLimit', HttpPutResponseHopLimit)
def get_SecurityEnhancementStrategy(self): # String
return self.get_query_params().get('SecurityEnhancementStrategy')

Expand Down Expand Up @@ -230,6 +235,11 @@ def get_PasswordInherit(self): # Boolean

def set_PasswordInherit(self, PasswordInherit): # Boolean
self.add_query_param('PasswordInherit', PasswordInherit)
def get_HttpEndpoint(self): # String
return self.get_query_params().get('HttpEndpoint')

def set_HttpEndpoint(self, HttpEndpoint): # String
self.add_query_param('HttpEndpoint', HttpEndpoint)
def get_InstanceType(self): # String
return self.get_query_params().get('InstanceType')

Expand Down Expand Up @@ -357,6 +367,11 @@ def get_VpcId(self): # String

def set_VpcId(self, VpcId): # String
self.add_query_param('VpcId', VpcId)
def get_HttpTokens(self): # String
return self.get_query_params().get('HttpTokens')

def set_HttpTokens(self, HttpTokens): # String
self.add_query_param('HttpTokens', HttpTokens)
def get_SystemDiskDescription(self): # String
return self.get_query_params().get('SystemDisk.Description')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ def get_ResourceOwnerId(self): # Long

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_SystemType(self): # String
return self.get_query_params().get('SystemType')

def set_SystemType(self, SystemType): # String
self.add_query_param('SystemType', SystemType)
def get_ComponentVersion(self): # String
return self.get_query_params().get('ComponentVersion')

def set_ComponentVersion(self, ComponentVersion): # String
self.add_query_param('ComponentVersion', ComponentVersion)
def get_ImageComponentIds(self): # RepeatList
return self.get_query_params().get('ImageComponentId')

Expand Down Expand Up @@ -81,6 +91,11 @@ def get_OwnerId(self): # Long

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def get_ComponentType(self): # String
return self.get_query_params().get('ComponentType')

def set_ComponentType(self, ComponentType): # String
self.add_query_param('ComponentType', ComponentType)
def get_Name(self): # String
return self.get_query_params().get('Name')

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ def get_ResourceGroupId(self): # String

def set_ResourceGroupId(self, ResourceGroupId): # String
self.add_query_param('ResourceGroupId', ResourceGroupId)
def get_Features(self): # Struct
return self.get_query_params().get('Features')

def set_Features(self, Features): # Struct
if Features.get('NvmeSupport') is not None:
self.add_query_param('Features.NvmeSupport', Features.get('NvmeSupport'))
def get_BootMode(self): # String
return self.get_query_params().get('BootMode')

Expand Down Expand Up @@ -107,6 +113,11 @@ def get_DetectionStrategy(self): # String

def set_DetectionStrategy(self, DetectionStrategy): # String
self.add_query_param('DetectionStrategy', DetectionStrategy)
def get_DryRun(self): # Boolean
return self.get_query_params().get('DryRun')

def set_DryRun(self, DryRun): # Boolean
self.add_query_param('DryRun', DryRun)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_ClientToken(self): # String
return self.get_query_params().get('ClientToken')

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

Expand Down Expand Up @@ -66,3 +71,8 @@ def get_OwnerId(self): # Long

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def get_InstanceAmount(self): # Integer
return self.get_query_params().get('InstanceAmount')

def set_InstanceAmount(self, InstanceAmount): # Integer
self.add_query_param('InstanceAmount', InstanceAmount)
Loading

0 comments on commit adcf9ec

Please sign in to comment.