Types file for replica support
@@ -17,6 +17,10 @@ type MySQLServerSpec struct {
Sku AzureDBsSQLSku `json:"sku,omitempty"`
ServerVersion ServerVersion `json:"serverVersion,omitempty"`
SSLEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
+ MinimalTLSVersion string `json:"minimalTLSVersion,omitempty"`
+ InfrastructureEncryption string `json:"infrastructureEncryption,omitempty"`
+ CreateMode string `json:"createMode,omitempty"`
+ ReplicaProperties ReplicaProperties `json:"replicaProperties, omitempty"`
KeyVaultToStoreSecrets string `json:"keyVaultToStoreSecrets,omitempty"`
}
@@ -41,6 +45,10 @@ type MySQLServerList struct {
Items []MySQLServer `json:"items"`
}
+type ReplicaProperties struct {
+ SourceServerId string `json:"sourceServerId,omitempty"`
+}
+
func init() {
SchemeBuilder.Register(&MySQLServer{}, &MySQLServerList{})
}
