Skip to content

Commit

Permalink
feat(rdb): allow setting initial settings while creating an RDB insta…
Browse files Browse the repository at this point in the history
…nce. (#536)

Co-authored-by: Rémy Léone <rleone@scaleway.com>
  • Loading branch information
scaleway-bot and remyleone authored Sep 7, 2020
1 parent d35413e commit 59dda9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/rdb/v1/rdb_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,8 @@ type EngineVersion struct {
Disabled bool `json:"disabled"`

Beta bool `json:"beta"`

InitSettings []*EngineSetting `json:"init_settings"`
}

// Instance: instance
Expand Down Expand Up @@ -831,6 +833,8 @@ type Instance struct {
ReadReplicas []*Endpoint `json:"read_replicas"`
// NodeType: node type of the instance
NodeType string `json:"node_type"`
// InitSettings: list of engine settings to be set at database initialisation
InitSettings []*InstanceSetting `json:"init_settings"`
}

// InstanceLog: instance log
Expand Down Expand Up @@ -1682,6 +1686,8 @@ type CreateInstanceRequest struct {
DisableBackup bool `json:"disable_backup"`
// Tags: tags to apply to the instance
Tags []string `json:"tags"`
// InitSettings: list of engine settings to be set at database initialisation
InitSettings []*InstanceSetting `json:"init_settings"`
}

// CreateInstance: create an instance
Expand Down

0 comments on commit 59dda9e

Please sign in to comment.