@@ -51,7 +51,8 @@ type MySQLDatabase struct {
5151 TotalDiskSizeGB int `json:"total_disk_size_gb"`
5252 Port int `json:"port"`
5353
54- EngineConfig MySQLDatabaseEngineConfig `json:"engine_config"`
54+ EngineConfig MySQLDatabaseEngineConfig `json:"engine_config"`
55+ PrivateNetwork * DatabasePrivateNetwork `json:"private_network,omitempty"`
5556}
5657
5758type MySQLDatabaseEngineConfig struct {
@@ -410,19 +411,21 @@ type MySQLCreateOptions struct {
410411 // Deprecated: SSLConnection is a deprecated property, as it is no longer supported in DBaaS V2.
411412 SSLConnection bool `json:"ssl_connection,omitempty"`
412413
413- Fork * DatabaseFork `json:"fork,omitempty"`
414- EngineConfig * MySQLDatabaseEngineConfig `json:"engine_config,omitempty"`
414+ Fork * DatabaseFork `json:"fork,omitempty"`
415+ EngineConfig * MySQLDatabaseEngineConfig `json:"engine_config,omitempty"`
416+ PrivateNetwork * DatabasePrivateNetwork `json:"private_network,omitempty"`
415417}
416418
417419// MySQLUpdateOptions fields are used when altering the existing MySQL Database
418420type MySQLUpdateOptions struct {
419- Label string `json:"label,omitempty"`
420- AllowList * []string `json:"allow_list,omitempty"`
421- Updates * DatabaseMaintenanceWindow `json:"updates,omitempty"`
422- Type string `json:"type,omitempty"`
423- ClusterSize int `json:"cluster_size,omitempty"`
424- Version string `json:"version,omitempty"`
425- EngineConfig * MySQLDatabaseEngineConfig `json:"engine_config,omitempty"`
421+ Label string `json:"label,omitempty"`
422+ AllowList * []string `json:"allow_list,omitempty"`
423+ Updates * DatabaseMaintenanceWindow `json:"updates,omitempty"`
424+ Type string `json:"type,omitempty"`
425+ ClusterSize int `json:"cluster_size,omitempty"`
426+ Version string `json:"version,omitempty"`
427+ EngineConfig * MySQLDatabaseEngineConfig `json:"engine_config,omitempty"`
428+ PrivateNetwork * DatabasePrivateNetwork `json:"private_network,omitempty"`
426429}
427430
428431// MySQLDatabaseBackup is information for interacting with a backup for the existing MySQL Database
0 commit comments