memory_2.go 973 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * HCS API
  3. *
  4. * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
  5. *
  6. * API version: 2.1
  7. * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
  8. */
  9. package hcsschema
  10. type Memory2 struct {
  11. SizeInMB int32 `json:"SizeInMB,omitempty"`
  12. AllowOvercommit bool `json:"AllowOvercommit,omitempty"`
  13. EnableHotHint bool `json:"EnableHotHint,omitempty"`
  14. EnableColdHint bool `json:"EnableColdHint,omitempty"`
  15. EnableEpf bool `json:"EnableEpf,omitempty"`
  16. // EnableDeferredCommit is private in the schema. If regenerated need to add back.
  17. EnableDeferredCommit bool `json:"EnableDeferredCommit,omitempty"`
  18. // EnableColdDiscardHint if enabled, then the memory cold discard hint feature is exposed
  19. // to the VM, allowing it to trim non-zeroed pages from the working set (if supported by
  20. // the guest operating system).
  21. EnableColdDiscardHint bool `json:"EnableColdDiscardHint,omitempty"`
  22. }