Browse Source

ECS SDK Auto Released By hongchen,Version:1.53.81

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 years ago
parent
commit
701486e8f8
4 changed files with 7 additions and 1 deletions
  1. 4 0
      ChangeLog.txt
  2. 1 0
      services/ecs/create_disk.go
  3. 1 0
      services/ecs/describe_zones.go
  4. 1 1
      services/ecs/import_image.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-03-28 Version: 1.53.81
+1, Add multiple language support in DescribeZones
+2, Add gray parameter in CreateDisk
+
 2019-03-28 Version: 1.53.80
 1, Add instance remark modify api.
 

+ 1 - 0
services/ecs/create_disk.go

@@ -91,6 +91,7 @@ type CreateDiskRequest struct {
 	ZoneId               string           `position:"Query" name:"ZoneId"`
 	Tag                  *[]CreateDiskTag `position:"Query" name:"Tag"  type:"Repeated"`
 	KMSKeyId             string           `position:"Query" name:"KMSKeyId"`
+	AdvancedFeatures     string           `position:"Query" name:"AdvancedFeatures"`
 }
 
 // CreateDiskTag is a repeated param struct in CreateDiskRequest

+ 1 - 0
services/ecs/describe_zones.go

@@ -80,6 +80,7 @@ type DescribeZonesRequest struct {
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	AcceptLanguage       string           `position:"Query" name:"AcceptLanguage"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	InstanceChargeType   string           `position:"Query" name:"InstanceChargeType"`
 	Verbose              requests.Boolean `position:"Query" name:"Verbose"`

+ 1 - 1
services/ecs/import_image.go

@@ -79,12 +79,12 @@ type ImportImageRequest struct {
 	DiskDeviceMapping    *[]ImportImageDiskDeviceMapping `position:"Query" name:"DiskDeviceMapping"  type:"Repeated"`
 	ResourceOwnerId      requests.Integer                `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string                          `position:"Query" name:"ResourceOwnerAccount"`
-	ImageName            string                          `position:"Query" name:"ImageName"`
 	RoleName             string                          `position:"Query" name:"RoleName"`
 	Description          string                          `position:"Query" name:"Description"`
 	OSType               string                          `position:"Query" name:"OSType"`
 	OwnerId              requests.Integer                `position:"Query" name:"OwnerId"`
 	Platform             string                          `position:"Query" name:"Platform"`
+	ImageName            string                          `position:"Query" name:"ImageName"`
 	Architecture         string                          `position:"Query" name:"Architecture"`
 }