diff --git a/ChangeLog.txt b/ChangeLog.txt index 3ae6db03ac..79274a1769 100644 --- a/ChangeLog.txt +++ b/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 - Generated 2015-01-01 for `R-kvstore` diff --git a/services/rds/struct_available_resource.go b/services/rds/struct_available_resource.go new file mode 100644 index 0000000000..0c177cb90e --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_available_resources.go b/services/rds/struct_available_resources.go index 03242ab040..a9250dd4b3 100644 --- a/services/rds/struct_available_resources.go +++ b/services/rds/struct_available_resources.go @@ -17,7 +17,6 @@ package rds // AvailableResources is a nested struct in rds response 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"` } diff --git a/services/rds/struct_available_resources_in_describe_available_resource.go b/services/rds/struct_available_resources_in_describe_available_resource.go new file mode 100644 index 0000000000..4d50c074ea --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_available_zone.go b/services/rds/struct_available_zone.go index 1884a19fd0..37035ee1c1 100644 --- a/services/rds/struct_available_zone.go +++ b/services/rds/struct_available_zone.go @@ -17,9 +17,10 @@ package rds // AvailableZone is a nested struct in rds response 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"` } diff --git a/services/rds/struct_supported_category.go b/services/rds/struct_supported_category.go new file mode 100644 index 0000000000..0c2e59f3fa --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_categorys.go b/services/rds/struct_supported_categorys.go index 3a1206a421..16719886c3 100644 --- a/services/rds/struct_supported_categorys.go +++ b/services/rds/struct_supported_categorys.go @@ -17,6 +17,6 @@ package rds // SupportedCategorys is a nested struct in rds response 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"` } diff --git a/services/rds/struct_supported_categorys_in_describe_available_resource.go b/services/rds/struct_supported_categorys_in_describe_available_resource.go new file mode 100644 index 0000000000..1f56340826 --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_engine.go b/services/rds/struct_supported_engine.go new file mode 100644 index 0000000000..5aea377c9c --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_engine_version.go b/services/rds/struct_supported_engine_version.go new file mode 100644 index 0000000000..5ce37caa06 --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_engine_versions_in_describe_available_resource.go b/services/rds/struct_supported_engine_versions_in_describe_available_resource.go new file mode 100644 index 0000000000..2be261abaf --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_engines.go b/services/rds/struct_supported_engines.go index 800b7761d6..7316b82868 100644 --- a/services/rds/struct_supported_engines.go +++ b/services/rds/struct_supported_engines.go @@ -17,6 +17,6 @@ package rds // SupportedEngines is a nested struct in rds response 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"` } diff --git a/services/rds/struct_supported_engines_in_describe_available_resource.go b/services/rds/struct_supported_engines_in_describe_available_resource.go new file mode 100644 index 0000000000..f47be58cce --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_storage_type.go b/services/rds/struct_supported_storage_type.go new file mode 100644 index 0000000000..940585bfde --- /dev/null +++ b/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"` +} diff --git a/services/rds/struct_supported_storage_types.go b/services/rds/struct_supported_storage_types.go index 9ef3a2e8a2..9e6a361291 100644 --- a/services/rds/struct_supported_storage_types.go +++ b/services/rds/struct_supported_storage_types.go @@ -17,6 +17,6 @@ package rds // SupportedStorageTypes is a nested struct in rds response 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"` } diff --git a/services/rds/struct_supported_storage_types_in_describe_available_resource.go b/services/rds/struct_supported_storage_types_in_describe_available_resource.go new file mode 100644 index 0000000000..fa1a2a33a7 --- /dev/null +++ b/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"` +}