struct_db_instance.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package drds
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // DbInstance is a nested struct in drds response
  17. type DbInstance struct {
  18. ReadWeight int `json:"ReadWeight" xml:"ReadWeight"`
  19. Port int `json:"Port" xml:"Port"`
  20. DbInstType string `json:"DbInstType" xml:"DbInstType"`
  21. Engine string `json:"Engine" xml:"Engine"`
  22. EngineVersion string `json:"EngineVersion" xml:"EngineVersion"`
  23. RemainDays string `json:"RemainDays" xml:"RemainDays"`
  24. PayType string `json:"PayType" xml:"PayType"`
  25. RdsInstType string `json:"RdsInstType" xml:"RdsInstType"`
  26. DBInstanceStatus string `json:"DBInstanceStatus" xml:"DBInstanceStatus"`
  27. ExpireTime string `json:"ExpireTime" xml:"ExpireTime"`
  28. ConnectUrl string `json:"ConnectUrl" xml:"ConnectUrl"`
  29. DBInstanceId string `json:"DBInstanceId" xml:"DBInstanceId"`
  30. NetworkType string `json:"NetworkType" xml:"NetworkType"`
  31. Endpoints Endpoints `json:"Endpoints" xml:"Endpoints"`
  32. DBNodes DBNodes `json:"DBNodes" xml:"DBNodes"`
  33. ReadOnlyInstances ReadOnlyInstancesInDescribeDrdsDbInstance `json:"ReadOnlyInstances" xml:"ReadOnlyInstances"`
  34. }