-
Notifications
You must be signed in to change notification settings - Fork 272
/
struct_db_instance.go
51 lines (49 loc) · 2.79 KB
/
struct_db_instance.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package polardbx
//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.
// DBInstance is a nested struct in polardbx response
type DBInstance struct {
DBNodeClass string `json:"DBNodeClass" xml:"DBNodeClass"`
DBType string `json:"DBType" xml:"DBType"`
Engine string `json:"Engine" xml:"Engine"`
CreateTime string `json:"CreateTime" xml:"CreateTime"`
StorageUsed string `json:"StorageUsed" xml:"StorageUsed"`
DBNodeCount int `json:"DBNodeCount" xml:"DBNodeCount"`
RegionId string `json:"RegionId" xml:"RegionId"`
DBInstanceType string `json:"DBInstanceType" xml:"DBInstanceType"`
MinorVersion string `json:"MinorVersion" xml:"MinorVersion"`
MaintainEndTime string `json:"MaintainEndTime" xml:"MaintainEndTime"`
Network string `json:"Network" xml:"Network"`
Id string `json:"Id" xml:"Id"`
CommodityCode string `json:"CommodityCode" xml:"CommodityCode"`
Description string `json:"Description" xml:"Description"`
Expired string `json:"Expired" xml:"Expired"`
Type string `json:"Type" xml:"Type"`
DBVersion string `json:"DBVersion" xml:"DBVersion"`
VPCId string `json:"VPCId" xml:"VPCId"`
Port string `json:"Port" xml:"Port"`
PayType string `json:"PayType" xml:"PayType"`
VSwitchId string `json:"VSwitchId" xml:"VSwitchId"`
ExpireDate string `json:"ExpireDate" xml:"ExpireDate"`
MaintainStartTime string `json:"MaintainStartTime" xml:"MaintainStartTime"`
ZoneId string `json:"ZoneId" xml:"ZoneId"`
LatestMinorVersion string `json:"LatestMinorVersion" xml:"LatestMinorVersion"`
ConnectionString string `json:"ConnectionString" xml:"ConnectionString"`
Status string `json:"Status" xml:"Status"`
LockMode string `json:"LockMode" xml:"LockMode"`
ReadDBInstances []string `json:"ReadDBInstances" xml:"ReadDBInstances"`
DBNodes []DBNode `json:"DBNodes" xml:"DBNodes"`
ConnAddrs []ConnAddr `json:"ConnAddrs" xml:"ConnAddrs"`
}