2022-07-19 18:04:22 +03:00
|
|
|
package api
|
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the Apache License 2.0.
|
|
|
|
|
|
|
|
// OpenShiftVersion represents an OpenShift version that can be installed
|
|
|
|
type OpenShiftVersion struct {
|
|
|
|
MissingFields
|
|
|
|
|
|
|
|
ID string `json:"id,omitempty"`
|
2022-09-20 00:09:45 +03:00
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
Type string `json:"type,omitempty"`
|
2022-07-19 18:04:22 +03:00
|
|
|
Deleting bool `json:"deleting,omitempty"` // https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-design-patterns#deletes
|
|
|
|
|
2022-09-20 00:09:45 +03:00
|
|
|
// The properties for the OpenShiftVersion resource.
|
|
|
|
Properties OpenShiftVersionProperties `json:"properties,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// OpenShiftVersionProperties represents the properties of an OpenShiftVersion.
|
|
|
|
type OpenShiftVersionProperties struct {
|
2023-10-12 15:50:03 +03:00
|
|
|
MissingFields
|
|
|
|
|
2022-09-20 00:09:45 +03:00
|
|
|
// Version represents the version to create the cluster at.
|
2022-07-19 18:04:22 +03:00
|
|
|
Version string `json:"version,omitempty"`
|
|
|
|
OpenShiftPullspec string `json:"openShiftPullspec,omitempty"`
|
|
|
|
InstallerPullspec string `json:"installerPullspec,omitempty"`
|
|
|
|
Enabled bool `json:"enabled,omitempty"`
|
2023-10-11 17:34:55 +03:00
|
|
|
Default bool `json:"default,omitempty"`
|
2022-07-19 18:04:22 +03:00
|
|
|
}
|