cloud/azure/batch/models/windows_configuration.go
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
)
// WindowsConfiguration Windows operating system settings to apply to the virtual machine.
// swagger:model WindowsConfiguration
type WindowsConfiguration struct {
// Whether automatic updates are enabled on the virtual machine.
//
// If omitted, the default value is true.
EnableAutomaticUpdates bool `json:"enableAutomaticUpdates,omitempty"`
}
// Validate validates this windows configuration
func (m *WindowsConfiguration) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}