소스 검색

Generated 2014-05-26 for Ecs.

sdk-team 5 년 전
부모
커밋
50c4c6b139

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2020-02-13 Version: v1.60.368
+- Generated 2014-05-26 for `Ecs`.
+- ModifyNetworkInterfaceAttribute support modify QueueNumber.
+- DescribeNetworkInterfaces support QueueNumber.
+
 2020-02-13 Version: v1.60.367
 - Generated 2014-11-11, 2018-05-10 for `Cdn`.
 - Add Staging apis.

+ 1 - 0
services/ecs/create_snapshot.go

@@ -86,6 +86,7 @@ type CreateSnapshotRequest struct {
 	OwnerAccount         string               `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer     `position:"Query" name:"OwnerId"`
 	RetentionDays        requests.Integer     `position:"Query" name:"RetentionDays"`
+	Category             string               `position:"Query" name:"Category"`
 }
 
 // CreateSnapshotTag is a repeated param struct in CreateSnapshotRequest

+ 1 - 0
services/ecs/describe_reserved_instances.go

@@ -91,6 +91,7 @@ type DescribeReservedInstancesRequest struct {
 	ZoneId               string           `position:"Query" name:"ZoneId"`
 	ReservedInstanceName string           `position:"Query" name:"ReservedInstanceName"`
 	Status               *[]string        `position:"Query" name:"Status"  type:"Repeated"`
+	AllocationType       string           `position:"Query" name:"AllocationType"`
 }
 
 // DescribeReservedInstancesResponse is the response struct for api DescribeReservedInstances

+ 1 - 0
services/ecs/describe_snapshot_monitor_data.go

@@ -83,6 +83,7 @@ type DescribeSnapshotMonitorDataRequest struct {
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	EndTime              string           `position:"Query" name:"EndTime"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Category             string           `position:"Query" name:"Category"`
 }
 
 // DescribeSnapshotMonitorDataResponse is the response struct for api DescribeSnapshotMonitorData

+ 1 - 0
services/ecs/modify_instance_attribute.go

@@ -87,6 +87,7 @@ type ModifyInstanceAttributeRequest struct {
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	CreditSpecification  string           `position:"Query" name:"CreditSpecification"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityGroupIds     *[]string        `position:"Query" name:"SecurityGroupIds"  type:"Repeated"`
 	InstanceId           string           `position:"Query" name:"InstanceId"`
 	InstanceName         string           `position:"Query" name:"InstanceName"`
 }

+ 1 - 0
services/ecs/modify_network_interface_attribute.go

@@ -76,6 +76,7 @@ func (client *Client) ModifyNetworkInterfaceAttributeWithCallback(request *Modif
 // ModifyNetworkInterfaceAttributeRequest is the request struct for api ModifyNetworkInterfaceAttribute
 type ModifyNetworkInterfaceAttributeRequest struct {
 	*requests.RpcRequest
+	QueueNumber          requests.Integer `position:"Query" name:"QueueNumber"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SecurityGroupId      *[]string        `position:"Query" name:"SecurityGroupId"  type:"Repeated"`
 	Description          string           `position:"Query" name:"Description"`

+ 1 - 0
services/ecs/struct_network_interface_set.go

@@ -32,6 +32,7 @@ type NetworkInterfaceSet struct {
 	ResourceGroupId      string                                      `json:"ResourceGroupId" xml:"ResourceGroupId"`
 	ServiceID            int64                                       `json:"ServiceID" xml:"ServiceID"`
 	ServiceManaged       bool                                        `json:"ServiceManaged" xml:"ServiceManaged"`
+	QueueNumber          int                                         `json:"QueueNumber" xml:"QueueNumber"`
 	SecurityGroupIds     SecurityGroupIdsInDescribeNetworkInterfaces `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
 	AssociatedPublicIp   AssociatedPublicIp                          `json:"AssociatedPublicIp" xml:"AssociatedPublicIp"`
 	PrivateIpSets        PrivateIpSets                               `json:"PrivateIpSets" xml:"PrivateIpSets"`

+ 1 - 0
services/ecs/struct_reserved_instance.go

@@ -32,5 +32,6 @@ type ReservedInstance struct {
 	ExpiredTime          string                                    `json:"ExpiredTime" xml:"ExpiredTime"`
 	StartTime            string                                    `json:"StartTime" xml:"StartTime"`
 	ResourceGroupId      string                                    `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	AllocationStatus     string                                    `json:"AllocationStatus" xml:"AllocationStatus"`
 	OperationLocks       OperationLocksInDescribeReservedInstances `json:"OperationLocks" xml:"OperationLocks"`
 }

+ 1 - 0
services/ecs/struct_snapshot.go

@@ -36,5 +36,6 @@ type Snapshot struct {
 	RemainTime        int                     `json:"RemainTime" xml:"RemainTime"`
 	ResourceGroupId   string                  `json:"ResourceGroupId" xml:"ResourceGroupId"`
 	KMSKeyId          string                  `json:"KMSKeyId" xml:"KMSKeyId"`
+	Category          string                  `json:"Category" xml:"Category"`
 	Tags              TagsInDescribeSnapshots `json:"Tags" xml:"Tags"`
 }

+ 1 - 0
services/ecs/struct_snapshot_link.go

@@ -25,6 +25,7 @@ type SnapshotLink struct {
 	SourceDiskName string `json:"SourceDiskName" xml:"SourceDiskName"`
 	SourceDiskSize int    `json:"SourceDiskSize" xml:"SourceDiskSize"`
 	SourceDiskType string `json:"SourceDiskType" xml:"SourceDiskType"`
+	Category       string `json:"Category" xml:"Category"`
 	TotalSize      int64  `json:"TotalSize" xml:"TotalSize"`
 	TotalCount     int    `json:"TotalCount" xml:"TotalCount"`
 }