浏览代码

Generated 2014-05-26 for Ecs.

sdk-team 6 年之前
父节点
当前提交
84d6b56faf

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-12-19 Version: v1.60.296
+- Generated 2014-05-26 for `Ecs`.
+- DescribeNetworkInterfaces Supports NextToken.
+
 2019-12-18 Version: v1.60.295
 - Generated 2014-08-15 for `Rds`.
 

+ 3 - 0
services/ecs/attach_disk.go

@@ -77,6 +77,9 @@ func (client *Client) AttachDiskWithCallback(request *AttachDiskRequest, callbac
 type AttachDiskRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	KeyPairName          string           `position:"Query" name:"KeyPairName"`
+	Bootable             requests.Boolean `position:"Query" name:"Bootable"`
+	Password             string           `position:"Query" name:"Password"`
 	DiskId               string           `position:"Query" name:"DiskId"`
 	DeleteWithInstance   requests.Boolean `position:"Query" name:"DeleteWithInstance"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`

+ 3 - 0
services/ecs/describe_network_interfaces.go

@@ -82,6 +82,7 @@ type DescribeNetworkInterfacesRequest struct {
 	Type                 string                          `position:"Query" name:"Type"`
 	PageNumber           requests.Integer                `position:"Query" name:"PageNumber"`
 	ResourceGroupId      string                          `position:"Query" name:"ResourceGroupId"`
+	NextToken            string                          `position:"Query" name:"NextToken"`
 	PageSize             requests.Integer                `position:"Query" name:"PageSize"`
 	Tag                  *[]DescribeNetworkInterfacesTag `position:"Query" name:"Tag"  type:"Repeated"`
 	NetworkInterfaceName string                          `position:"Query" name:"NetworkInterfaceName"`
@@ -93,6 +94,7 @@ type DescribeNetworkInterfacesRequest struct {
 	InstanceId           string                          `position:"Query" name:"InstanceId"`
 	VpcId                string                          `position:"Query" name:"VpcId"`
 	PrimaryIpAddress     string                          `position:"Query" name:"PrimaryIpAddress"`
+	MaxResults           requests.Integer                `position:"Query" name:"MaxResults"`
 	NetworkInterfaceId   *[]string                       `position:"Query" name:"NetworkInterfaceId"  type:"Repeated"`
 }
 
@@ -109,6 +111,7 @@ type DescribeNetworkInterfacesResponse struct {
 	TotalCount           int                  `json:"TotalCount" xml:"TotalCount"`
 	PageNumber           int                  `json:"PageNumber" xml:"PageNumber"`
 	PageSize             int                  `json:"PageSize" xml:"PageSize"`
+	NextToken            string               `json:"NextToken" xml:"NextToken"`
 	NetworkInterfaceSets NetworkInterfaceSets `json:"NetworkInterfaceSets" xml:"NetworkInterfaceSets"`
 }
 

+ 1 - 0
services/ecs/detach_disk.go

@@ -78,6 +78,7 @@ type DetachDiskRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	DiskId               string           `position:"Query" name:"DiskId"`
+	DeleteWithInstance   requests.Boolean `position:"Query" name:"DeleteWithInstance"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`

+ 1 - 0
services/ecs/modify_instance_deployment.go

@@ -77,6 +77,7 @@ func (client *Client) ModifyInstanceDeploymentWithCallback(request *ModifyInstan
 type ModifyInstanceDeploymentRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	InstanceType         string           `position:"Query" name:"InstanceType"`
 	DeploymentSetId      string           `position:"Query" name:"DeploymentSetId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`

+ 1 - 0
services/ecs/struct_key_pair.go

@@ -19,6 +19,7 @@ package ecs
 type KeyPair struct {
 	KeyPairName        string                 `json:"KeyPairName" xml:"KeyPairName"`
 	KeyPairFingerPrint string                 `json:"KeyPairFingerPrint" xml:"KeyPairFingerPrint"`
+	CreationTime       string                 `json:"CreationTime" xml:"CreationTime"`
 	ResourceGroupId    string                 `json:"ResourceGroupId" xml:"ResourceGroupId"`
 	Tags               TagsInDescribeKeyPairs `json:"Tags" xml:"Tags"`
 }