, pOpPriority
, pDependencies
, pComment
+ , pReason
+ , pEnabledStorageTypes
, dOldQuery
, dOldQueryNoLocking
) where
optionalField $
simpleField "enabled_hypervisors" [t| NonEmpty Hypervisor |]
+-- | List of enabled storage methods.
+pEnabledStorageTypes :: Field
+pEnabledStorageTypes =
+ optionalField $
+ simpleField "enabled_storage_types" [t| NonEmpty StorageType |]
+
-- | Selected hypervisor for an instance.
pHypervisor :: Field
pHypervisor =
pComment :: Field
pComment = optionalNullSerField $ stringField "comment"
+-- | The description of the state change reason.
+pReason :: Field
+pReason = simpleField "reason" [t| (InstReasonSrc, NonEmptyString) |]
+
-- * Entire opcode parameter list
-- | Old-style query opcode, with locking.