Просмотр исходного кода

由温仰发起的VPC SDK自动发布, BUILD_ID=466, 版本号:1.2.4

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 лет назад
Родитель
Сommit
3caa4efd36

+ 3 - 0
ChangeLog.txt

@@ -4,6 +4,9 @@
 2018-03-15 Version: 1.2.4
 1, Synchronize to the latest api list
 
+2018-03-15 Version: 1.2.4
+1, Synchronize to the latest api list
+
 2018-03-15 Version: 1.2.4
 1, Add QueryCustomerSaleInfo API.
 

+ 1 - 1
services/vpc/struct_associated_cen.go

@@ -17,7 +17,7 @@ package vpc
 
 // AssociatedCen is a nested struct in vpc response
 type AssociatedCen struct {
-	CenOwnerId int    `json:"CenOwnerId" xml:"CenOwnerId"`
 	CenStatus  string `json:"CenStatus" xml:"CenStatus"`
+	CenOwnerId int    `json:"CenOwnerId" xml:"CenOwnerId"`
 	CenId      string `json:"CenId" xml:"CenId"`
 }

+ 3 - 3
services/vpc/struct_eip_monitor_data.go

@@ -17,10 +17,10 @@ package vpc
 
 // EipMonitorData is a nested struct in vpc response
 type EipMonitorData struct {
-	EipRX        int    `json:"EipRX" xml:"EipRX"`
-	EipTX        int    `json:"EipTX" xml:"EipTX"`
 	EipPackets   int    `json:"EipPackets" xml:"EipPackets"`
-	EipBandwidth int    `json:"EipBandwidth" xml:"EipBandwidth"`
 	TimeStamp    string `json:"TimeStamp" xml:"TimeStamp"`
 	EipFlow      int    `json:"EipFlow" xml:"EipFlow"`
+	EipRX        int    `json:"EipRX" xml:"EipRX"`
+	EipBandwidth int    `json:"EipBandwidth" xml:"EipBandwidth"`
+	EipTX        int    `json:"EipTX" xml:"EipTX"`
 }

+ 10 - 10
services/vpc/struct_global_acceleration_instance.go

@@ -17,22 +17,22 @@ package vpc
 
 // GlobalAccelerationInstance is a nested struct in vpc response
 type GlobalAccelerationInstance struct {
-	CreationTime                 string                                                 `json:"CreationTime" xml:"CreationTime"`
-	Bandwidth                    string                                                 `json:"Bandwidth" xml:"Bandwidth"`
-	ExpiredTime                  string                                                 `json:"ExpiredTime" xml:"ExpiredTime"`
 	Name                         string                                                 `json:"Name" xml:"Name"`
-	Description                  string                                                 `json:"Description" xml:"Description"`
-	InternetChargeType           string                                                 `json:"InternetChargeType" xml:"InternetChargeType"`
-	ServiceLocation              string                                                 `json:"ServiceLocation" xml:"ServiceLocation"`
+	ExpiredTime                  string                                                 `json:"ExpiredTime" xml:"ExpiredTime"`
 	IpAddress                    string                                                 `json:"IpAddress" xml:"IpAddress"`
-	BandwidthType                string                                                 `json:"BandwidthType" xml:"BandwidthType"`
 	ChargeType                   string                                                 `json:"ChargeType" xml:"ChargeType"`
-	RegionId                     string                                                 `json:"RegionId" xml:"RegionId"`
+	ServiceLocation              string                                                 `json:"ServiceLocation" xml:"ServiceLocation"`
+	CreationTime                 string                                                 `json:"CreationTime" xml:"CreationTime"`
 	ServerIpAddress              string                                                 `json:"ServerIpAddress" xml:"ServerIpAddress"`
-	GlobalAccelerationInstanceId string                                                 `json:"GlobalAccelerationInstanceId" xml:"GlobalAccelerationInstanceId"`
+	RegionId                     string                                                 `json:"RegionId" xml:"RegionId"`
 	AccelerationLocation         string                                                 `json:"AccelerationLocation" xml:"AccelerationLocation"`
+	BandwidthType                string                                                 `json:"BandwidthType" xml:"BandwidthType"`
+	Bandwidth                    string                                                 `json:"Bandwidth" xml:"Bandwidth"`
+	InternetChargeType           string                                                 `json:"InternetChargeType" xml:"InternetChargeType"`
+	GlobalAccelerationInstanceId string                                                 `json:"GlobalAccelerationInstanceId" xml:"GlobalAccelerationInstanceId"`
 	Status                       string                                                 `json:"Status" xml:"Status"`
-	BackendServers               BackendServers                                         `json:"BackendServers" xml:"BackendServers"`
+	Description                  string                                                 `json:"Description" xml:"Description"`
 	OperationLocks               OperationLocksInDescribeGlobalAccelerationInstances    `json:"OperationLocks" xml:"OperationLocks"`
 	PublicIpAddresses            PublicIpAddressesInDescribeGlobalAccelerationInstances `json:"PublicIpAddresses" xml:"PublicIpAddresses"`
+	BackendServers               BackendServers                                         `json:"BackendServers" xml:"BackendServers"`
 }

+ 6 - 6
services/vpc/struct_ike_config.go

@@ -17,13 +17,13 @@ package vpc
 
 // IkeConfig is a nested struct in vpc response
 type IkeConfig struct {
+	LocalId     string `json:"LocalId" xml:"LocalId"`
+	IkeAuthAlg  string `json:"IkeAuthAlg" xml:"IkeAuthAlg"`
+	IkePfs      string `json:"IkePfs" xml:"IkePfs"`
+	IkeMode     string `json:"IkeMode" xml:"IkeMode"`
+	IkeEncAlg   string `json:"IkeEncAlg" xml:"IkeEncAlg"`
 	Psk         string `json:"Psk" xml:"Psk"`
-	IkeVersion  string `json:"IkeVersion" xml:"IkeVersion"`
 	RemoteId    string `json:"RemoteId" xml:"RemoteId"`
+	IkeVersion  string `json:"IkeVersion" xml:"IkeVersion"`
 	IkeLifetime int    `json:"IkeLifetime" xml:"IkeLifetime"`
-	IkeMode     string `json:"IkeMode" xml:"IkeMode"`
-	IkeEncAlg   string `json:"IkeEncAlg" xml:"IkeEncAlg"`
-	LocalId     string `json:"LocalId" xml:"LocalId"`
-	IkePfs      string `json:"IkePfs" xml:"IkePfs"`
-	IkeAuthAlg  string `json:"IkeAuthAlg" xml:"IkeAuthAlg"`
 }

+ 2 - 2
services/vpc/struct_ipsec_config.go

@@ -17,8 +17,8 @@ package vpc
 
 // IpsecConfig is a nested struct in vpc response
 type IpsecConfig struct {
-	IpsecEncAlg   string `json:"IpsecEncAlg" xml:"IpsecEncAlg"`
-	IpsecLifetime int    `json:"IpsecLifetime" xml:"IpsecLifetime"`
 	IpsecAuthAlg  string `json:"IpsecAuthAlg" xml:"IpsecAuthAlg"`
 	IpsecPfs      string `json:"IpsecPfs" xml:"IpsecPfs"`
+	IpsecEncAlg   string `json:"IpsecEncAlg" xml:"IpsecEncAlg"`
+	IpsecLifetime int    `json:"IpsecLifetime" xml:"IpsecLifetime"`
 }

+ 3 - 3
services/vpc/struct_public_ip_addresse.go

@@ -17,8 +17,8 @@ package vpc
 
 // PublicIpAddresse is a nested struct in vpc response
 type PublicIpAddresse struct {
-	UsingStatus     string `json:"UsingStatus" xml:"UsingStatus"`
-	AllocationId    string `json:"AllocationId" xml:"AllocationId"`
-	ApAccessEnabled bool   `json:"ApAccessEnabled" xml:"ApAccessEnabled"`
 	IpAddress       string `json:"IpAddress" xml:"IpAddress"`
+	ApAccessEnabled bool   `json:"ApAccessEnabled" xml:"ApAccessEnabled"`
+	AllocationId    string `json:"AllocationId" xml:"AllocationId"`
+	UsingStatus     string `json:"UsingStatus" xml:"UsingStatus"`
 }

+ 20 - 20
services/vpc/struct_router_interface_type.go

@@ -17,31 +17,31 @@ package vpc
 
 // RouterInterfaceType is a nested struct in vpc response
 type RouterInterfaceType struct {
-	OppositeInterfaceBusinessStatus string `json:"OppositeInterfaceBusinessStatus" xml:"OppositeInterfaceBusinessStatus"`
-	OppositeInterfaceStatus         string `json:"OppositeInterfaceStatus" xml:"OppositeInterfaceStatus"`
-	Description                     string `json:"Description" xml:"Description"`
-	HealthCheckTargetIp             string `json:"HealthCheckTargetIp" xml:"HealthCheckTargetIp"`
-	OppositeInterfaceId             string `json:"OppositeInterfaceId" xml:"OppositeInterfaceId"`
-	OppositeRegionId                string `json:"OppositeRegionId" xml:"OppositeRegionId"`
-	HealthCheckSourceIp             string `json:"HealthCheckSourceIp" xml:"HealthCheckSourceIp"`
-	ConnectedTime                   string `json:"ConnectedTime" xml:"ConnectedTime"`
-	OppositeInterfaceSpec           string `json:"OppositeInterfaceSpec" xml:"OppositeInterfaceSpec"`
-	Status                          string `json:"Status" xml:"Status"`
-	CreationTime                    string `json:"CreationTime" xml:"CreationTime"`
-	RouterId                        string `json:"RouterId" xml:"RouterId"`
-	Name                            string `json:"Name" xml:"Name"`
-	RouterType                      string `json:"RouterType" xml:"RouterType"`
-	RouterInterfaceId               string `json:"RouterInterfaceId" xml:"RouterInterfaceId"`
-	OppositeAccessPointId           string `json:"OppositeAccessPointId" xml:"OppositeAccessPointId"`
-	Spec                            string `json:"Spec" xml:"Spec"`
 	AccessPointId                   string `json:"AccessPointId" xml:"AccessPointId"`
+	Name                            string `json:"Name" xml:"Name"`
+	ConnectedTime                   string `json:"ConnectedTime" xml:"ConnectedTime"`
 	ChargeType                      string `json:"ChargeType" xml:"ChargeType"`
-	OppositeRouterId                string `json:"OppositeRouterId" xml:"OppositeRouterId"`
+	RouterId                        string `json:"RouterId" xml:"RouterId"`
+	OppositeInterfaceId             string `json:"OppositeInterfaceId" xml:"OppositeInterfaceId"`
+	HealthCheckSourceIp             string `json:"HealthCheckSourceIp" xml:"HealthCheckSourceIp"`
 	RegionId                        string `json:"RegionId" xml:"RegionId"`
 	Role                            string `json:"Role" xml:"Role"`
+	HealthCheckTargetIp             string `json:"HealthCheckTargetIp" xml:"HealthCheckTargetIp"`
+	RouterInterfaceId               string `json:"RouterInterfaceId" xml:"RouterInterfaceId"`
+	OppositeInterfaceSpec           string `json:"OppositeInterfaceSpec" xml:"OppositeInterfaceSpec"`
+	Description                     string `json:"Description" xml:"Description"`
+	OppositeInterfaceOwnerId        int    `json:"OppositeInterfaceOwnerId" xml:"OppositeInterfaceOwnerId"`
 	VpcInstanceId                   string `json:"VpcInstanceId" xml:"VpcInstanceId"`
-	BusinessStatus                  string `json:"BusinessStatus" xml:"BusinessStatus"`
+	RouterType                      string `json:"RouterType" xml:"RouterType"`
+	CreationTime                    string `json:"CreationTime" xml:"CreationTime"`
 	OppositeRouterType              string `json:"OppositeRouterType" xml:"OppositeRouterType"`
 	OppositeVpcInstanceId           string `json:"OppositeVpcInstanceId" xml:"OppositeVpcInstanceId"`
-	OppositeInterfaceOwnerId        int    `json:"OppositeInterfaceOwnerId" xml:"OppositeInterfaceOwnerId"`
+	OppositeInterfaceBusinessStatus string `json:"OppositeInterfaceBusinessStatus" xml:"OppositeInterfaceBusinessStatus"`
+	Spec                            string `json:"Spec" xml:"Spec"`
+	BusinessStatus                  string `json:"BusinessStatus" xml:"BusinessStatus"`
+	OppositeInterfaceStatus         string `json:"OppositeInterfaceStatus" xml:"OppositeInterfaceStatus"`
+	OppositeRouterId                string `json:"OppositeRouterId" xml:"OppositeRouterId"`
+	Status                          string `json:"Status" xml:"Status"`
+	OppositeAccessPointId           string `json:"OppositeAccessPointId" xml:"OppositeAccessPointId"`
+	OppositeRegionId                string `json:"OppositeRegionId" xml:"OppositeRegionId"`
 }