Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateModes = struct { Automatic UpdateMode AutomaticDuringMw UpdateMode Manual UpdateMode }{ "AUTOMATIC", "AUTOMATIC_DURING_MW", "MANUAL", }
Functions ¶
This section is empty.
Types ¶
type MaintenanceWindow ¶
type MaintenanceWindow struct {
MaintenanceWindow string `json:"maintenanceWindow"` // Select a [maintenance window for OneAgent updates](/ui/settings/builtin:deployment.management.update-windows)
}
func (*MaintenanceWindow) MarshalHCL ¶
func (me *MaintenanceWindow) MarshalHCL(properties hcl.Properties) error
func (*MaintenanceWindow) UnmarshalHCL ¶
func (me *MaintenanceWindow) UnmarshalHCL(decoder hcl.Decoder) error
type MaintenanceWindows ¶
type MaintenanceWindows []*MaintenanceWindow
func (MaintenanceWindows) MarshalHCL ¶
func (me MaintenanceWindows) MarshalHCL(properties hcl.Properties) error
func (*MaintenanceWindows) Schema ¶
func (me *MaintenanceWindows) Schema() map[string]*schema.Schema
func (*MaintenanceWindows) UnmarshalHCL ¶
func (me *MaintenanceWindows) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { MaintenanceWindows MaintenanceWindows `json:"maintenanceWindows,omitempty"` // Maintenance windows Revision *string `json:"revision,omitempty"` // Revision Scope *string `json:"-" scope:"scope"` // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. TargetVersion *string `json:"targetVersion,omitempty"` // Target version UpdateMode UpdateMode `json:"updateMode"` // Possible Values: `AUTOMATIC`, `AUTOMATIC_DURING_MW`, `MANUAL` }
func (*Settings) HandlePreconditions ¶
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type UpdateMode ¶
type UpdateMode string
Click to show internal directories.
Click to hide internal directories.