瀏覽代碼

1, fixed DescribeAvailableResource OpenApi AvailableZones value problem.

sdk-team 6 年之前
父節點
當前提交
920297dd72

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-06-13 Version: 1.60.44
+1, fixed DescribeAvailableResource OpenApi AvailableZones value problem.
+
 2019-06-13 Version: 1.60.43
 2019-06-13 Version: 1.60.43
 - Generated 2015-01-01 for `R-kvstore`
 - Generated 2015-01-01 for `R-kvstore`
 
 

+ 23 - 0
services/rds/struct_available_resource.go

@@ -0,0 +1,23 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AvailableResource is a nested struct in rds response
+type AvailableResource struct {
+	StorageRange           string                 `json:"StorageRange" xml:"StorageRange"`
+	DBInstanceClass        string                 `json:"DBInstanceClass" xml:"DBInstanceClass"`
+	DBInstanceStorageRange DBInstanceStorageRange `json:"DBInstanceStorageRange" xml:"DBInstanceStorageRange"`
+}

+ 2 - 3
services/rds/struct_available_resources.go

@@ -17,7 +17,6 @@ package rds
 
 
 // AvailableResources is a nested struct in rds response
 // AvailableResources is a nested struct in rds response
 type AvailableResources struct {
 type AvailableResources struct {
-	StorageRange           string                 `json:"StorageRange" xml:"StorageRange"`
-	DBInstanceClass        string                 `json:"DBInstanceClass" xml:"DBInstanceClass"`
-	DBInstanceStorageRange DBInstanceStorageRange `json:"DBInstanceStorageRange" xml:"DBInstanceStorageRange"`
+	StorageRange    string `json:"StorageRange" xml:"StorageRange"`
+	DBInstanceClass string `json:"DBInstanceClass" xml:"DBInstanceClass"`
 }
 }

+ 21 - 0
services/rds/struct_available_resources_in_describe_available_resource.go

@@ -0,0 +1,21 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AvailableResourcesInDescribeAvailableResource is a nested struct in rds response
+type AvailableResourcesInDescribeAvailableResource struct {
+	AvailableResource []AvailableResource `json:"AvailableResource" xml:"AvailableResource"`
+}

+ 6 - 5
services/rds/struct_available_zone.go

@@ -17,9 +17,10 @@ package rds
 
 
 // AvailableZone is a nested struct in rds response
 // AvailableZone is a nested struct in rds response
 type AvailableZone struct {
 type AvailableZone struct {
-	RegionId        string                                     `json:"RegionId" xml:"RegionId"`
-	ZoneId          string                                     `json:"ZoneId" xml:"ZoneId"`
-	Status          string                                     `json:"Status" xml:"Status"`
-	NetworkTypes    string                                     `json:"NetworkTypes" xml:"NetworkTypes"`
-	SupportedEngine SupportedEngineInDescribeAvailableResource `json:"SupportedEngine" xml:"SupportedEngine"`
+	RegionId         string                                      `json:"RegionId" xml:"RegionId"`
+	ZoneId           string                                      `json:"ZoneId" xml:"ZoneId"`
+	Status           string                                      `json:"Status" xml:"Status"`
+	NetworkTypes     string                                      `json:"NetworkTypes" xml:"NetworkTypes"`
+	SupportedEngines SupportedEnginesInDescribeAvailableResource `json:"SupportedEngines" xml:"SupportedEngines"`
+	SupportedEngine  []SupportedEngines                          `json:"SupportedEngine" xml:"SupportedEngine"`
 }
 }

+ 22 - 0
services/rds/struct_supported_category.go

@@ -0,0 +1,22 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedCategory is a nested struct in rds response
+type SupportedCategory struct {
+	Category              string                                           `json:"Category" xml:"Category"`
+	SupportedStorageTypes SupportedStorageTypesInDescribeAvailableResource `json:"SupportedStorageTypes" xml:"SupportedStorageTypes"`
+}

+ 2 - 2
services/rds/struct_supported_categorys.go

@@ -17,6 +17,6 @@ package rds
 
 
 // SupportedCategorys is a nested struct in rds response
 // SupportedCategorys is a nested struct in rds response
 type SupportedCategorys struct {
 type SupportedCategorys struct {
-	Category             string                                          `json:"Category" xml:"Category"`
-	SupportedStorageType SupportedStorageTypeInDescribeAvailableResource `json:"SupportedStorageType" xml:"SupportedStorageType"`
+	Category             string                  `json:"Category" xml:"Category"`
+	SupportedStorageType []SupportedStorageTypes `json:"SupportedStorageType" xml:"SupportedStorageType"`
 }
 }

+ 21 - 0
services/rds/struct_supported_categorys_in_describe_available_resource.go

@@ -0,0 +1,21 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedCategorysInDescribeAvailableResource is a nested struct in rds response
+type SupportedCategorysInDescribeAvailableResource struct {
+	SupportedCategory []SupportedCategory `json:"SupportedCategory" xml:"SupportedCategory"`
+}

+ 22 - 0
services/rds/struct_supported_engine.go

@@ -0,0 +1,22 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedEngine is a nested struct in rds response
+type SupportedEngine struct {
+	Engine                  string                                             `json:"Engine" xml:"Engine"`
+	SupportedEngineVersions SupportedEngineVersionsInDescribeAvailableResource `json:"SupportedEngineVersions" xml:"SupportedEngineVersions"`
+}

+ 22 - 0
services/rds/struct_supported_engine_version.go

@@ -0,0 +1,22 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedEngineVersion is a nested struct in rds response
+type SupportedEngineVersion struct {
+	Version            string                                        `json:"Version" xml:"Version"`
+	SupportedCategorys SupportedCategorysInDescribeAvailableResource `json:"SupportedCategorys" xml:"SupportedCategorys"`
+}

+ 21 - 0
services/rds/struct_supported_engine_versions_in_describe_available_resource.go

@@ -0,0 +1,21 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedEngineVersionsInDescribeAvailableResource is a nested struct in rds response
+type SupportedEngineVersionsInDescribeAvailableResource struct {
+	SupportedEngineVersion []SupportedEngineVersion `json:"SupportedEngineVersion" xml:"SupportedEngineVersion"`
+}

+ 2 - 2
services/rds/struct_supported_engines.go

@@ -17,6 +17,6 @@ package rds
 
 
 // SupportedEngines is a nested struct in rds response
 // SupportedEngines is a nested struct in rds response
 type SupportedEngines struct {
 type SupportedEngines struct {
-	Engine                 string                                            `json:"Engine" xml:"Engine"`
-	SupportedEngineVersion SupportedEngineVersionInDescribeAvailableResource `json:"SupportedEngineVersion" xml:"SupportedEngineVersion"`
+	Engine                 string                    `json:"Engine" xml:"Engine"`
+	SupportedEngineVersion []SupportedEngineVersions `json:"SupportedEngineVersion" xml:"SupportedEngineVersion"`
 }
 }

+ 21 - 0
services/rds/struct_supported_engines_in_describe_available_resource.go

@@ -0,0 +1,21 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedEnginesInDescribeAvailableResource is a nested struct in rds response
+type SupportedEnginesInDescribeAvailableResource struct {
+	SupportedEngine []SupportedEngine `json:"SupportedEngine" xml:"SupportedEngine"`
+}

+ 22 - 0
services/rds/struct_supported_storage_type.go

@@ -0,0 +1,22 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedStorageType is a nested struct in rds response
+type SupportedStorageType struct {
+	StorageType        string                                        `json:"StorageType" xml:"StorageType"`
+	AvailableResources AvailableResourcesInDescribeAvailableResource `json:"AvailableResources" xml:"AvailableResources"`
+}

+ 2 - 2
services/rds/struct_supported_storage_types.go

@@ -17,6 +17,6 @@ package rds
 
 
 // SupportedStorageTypes is a nested struct in rds response
 // SupportedStorageTypes is a nested struct in rds response
 type SupportedStorageTypes struct {
 type SupportedStorageTypes struct {
-	StorageType       string                                       `json:"StorageType" xml:"StorageType"`
-	AvailableResource AvailableResourceInDescribeAvailableResource `json:"AvailableResource" xml:"AvailableResource"`
+	StorageType       string               `json:"StorageType" xml:"StorageType"`
+	AvailableResource []AvailableResources `json:"AvailableResource" xml:"AvailableResource"`
 }
 }

+ 21 - 0
services/rds/struct_supported_storage_types_in_describe_available_resource.go

@@ -0,0 +1,21 @@
+package rds
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupportedStorageTypesInDescribeAvailableResource is a nested struct in rds response
+type SupportedStorageTypesInDescribeAvailableResource struct {
+	SupportedStorageType []SupportedStorageType `json:"SupportedStorageType" xml:"SupportedStorageType"`
+}