@@ -88,18 +88,19 @@ func (o LocalThroughput) String() string {
88
88
}
89
89
90
90
type UpdateActiveActiveDatabase struct {
91
- DryRun * bool `json:"dryRun,omitempty"`
92
- MemoryLimitInGB * float64 `json:"memoryLimitInGb,omitempty"`
93
- SupportOSSClusterAPI * bool `json:"supportOSSClusterApi,omitempty"`
94
- UseExternalEndpointForOSSClusterAPI * bool `json:"useExternalEndpointForOSSClusterApi,omitempty"`
95
- ClientSSLCertificate * string `json:"clientSslCertificate,omitempty"`
96
- EnableTls * bool `json:"enableTls,omitempty"`
97
- GlobalDataPersistence * string `json:"globalDataPersistence,omitempty"`
98
- GlobalPassword * string `json:"globalPassword,omitempty"`
99
- GlobalSourceIP []* string `json:"globalSourceIp,omitempty"`
100
- GlobalAlerts []* UpdateAlert `json:"globalAlerts,omitempty"`
101
- Regions []* LocalRegionProperties `json:"regions,omitempty"`
102
- DataEvictionPolicy * string `json:"dataEvictionPolicy,omitempty"`
91
+ DryRun * bool `json:"dryRun,omitempty"`
92
+ MemoryLimitInGB * float64 `json:"memoryLimitInGb,omitempty"`
93
+ SupportOSSClusterAPI * bool `json:"supportOSSClusterApi,omitempty"`
94
+ UseExternalEndpointForOSSClusterAPI * bool `json:"useExternalEndpointForOSSClusterApi,omitempty"`
95
+ ClientSSLCertificate * string `json:"clientSslCertificate,omitempty"`
96
+ EnableTls * bool `json:"enableTls,omitempty"`
97
+ GlobalDataPersistence * string `json:"globalDataPersistence,omitempty"`
98
+ GlobalPassword * string `json:"globalPassword,omitempty"`
99
+ GlobalSourceIP []* string `json:"globalSourceIp,omitempty"`
100
+ // Using a pointer to allow empty slices to be serialised/sent
101
+ GlobalAlerts * []* UpdateAlert `json:"globalAlerts,omitempty"`
102
+ Regions []* LocalRegionProperties `json:"regions,omitempty"`
103
+ DataEvictionPolicy * string `json:"dataEvictionPolicy,omitempty"`
103
104
}
104
105
105
106
func (o UpdateActiveActiveDatabase ) String () string {
@@ -113,7 +114,8 @@ type LocalRegionProperties struct {
113
114
DataPersistence * string `json:"dataPersistence,omitempty"`
114
115
Password * string `json:"password,omitempty"`
115
116
SourceIP []* string `json:"sourceIp,omitempty"`
116
- Alerts []* UpdateAlert `json:"alerts,omitempty"`
117
+ // Using a pointer to allow empty slices to be serialised/sent
118
+ Alerts * []* UpdateAlert `json:"alerts,omitempty"`
117
119
}
118
120
119
121
func (o LocalRegionProperties ) String () string {
0 commit comments