Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api/mongodb/v1/mongodb_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,13 @@ type Endpoint struct {
PublicNetwork *EndpointPublicNetworkDetails `json:"public_network,omitempty"`
}

// InstanceSetting: instance setting.
type InstanceSetting struct {
Name string `json:"name"`

Value string `json:"value"`
}

// InstanceSnapshotSchedule: instance snapshot schedule.
type InstanceSnapshotSchedule struct {
FrequencyHours int32 `json:"frequency_hours"`
Expand Down Expand Up @@ -743,6 +750,9 @@ type Instance struct {

// SnapshotSchedule: snapshot schedule configuration of the Database Instance.
SnapshotSchedule *InstanceSnapshotSchedule `json:"snapshot_schedule"`

// Settings: list of settings applied to the Database Instance.
Settings []*InstanceSetting `json:"settings"`
}

// Maintenance: maintenance.
Expand Down
Loading