Skip to content

feat(baremetal): add zone in primary resource #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2020
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
4 changes: 4 additions & 0 deletions api/baremetal/v1alpha1/baremetal_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ type IPFailover struct {
ReverseStatus IPReverseStatus `json:"reverse_status"`
// ReverseStatusMessage a message related to the reverse status, in case of an error for example
ReverseStatusMessage *string `json:"reverse_status_message"`
// Zone the zone in which is the ip
Zone scw.Zone `json:"zone"`
}

// IPFailoverEvent ip failover event
Expand Down Expand Up @@ -806,6 +808,8 @@ type Server struct {
//
// Default value: normal
BootType ServerBootType `json:"boot_type"`
// Zone the zone in which is the server
Zone scw.Zone `json:"zone"`
}

// ServerEvent server event
Expand Down