Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data VCpuInfo = VCpuInfo' {
- defaultCores :: Maybe Int
- defaultThreadsPerCore :: Maybe Int
- defaultVCpus :: Maybe Int
- validCores :: Maybe [Int]
- validThreadsPerCore :: Maybe [Int]
- newVCpuInfo :: VCpuInfo
- vCpuInfo_defaultCores :: Lens' VCpuInfo (Maybe Int)
- vCpuInfo_defaultThreadsPerCore :: Lens' VCpuInfo (Maybe Int)
- vCpuInfo_defaultVCpus :: Lens' VCpuInfo (Maybe Int)
- vCpuInfo_validCores :: Lens' VCpuInfo (Maybe [Int])
- vCpuInfo_validThreadsPerCore :: Lens' VCpuInfo (Maybe [Int])
Documentation
Describes the vCPU configurations for the instance type.
See: newVCpuInfo
smart constructor.
VCpuInfo' | |
|
Instances
newVCpuInfo :: VCpuInfo Source #
Create a value of VCpuInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultCores:VCpuInfo'
, vCpuInfo_defaultCores
- The default number of cores for the instance type.
$sel:defaultThreadsPerCore:VCpuInfo'
, vCpuInfo_defaultThreadsPerCore
- The default number of threads per core for the instance type.
$sel:defaultVCpus:VCpuInfo'
, vCpuInfo_defaultVCpus
- The default number of vCPUs for the instance type.
$sel:validCores:VCpuInfo'
, vCpuInfo_validCores
- The valid number of cores that can be configured for the instance type.
$sel:validThreadsPerCore:VCpuInfo'
, vCpuInfo_validThreadsPerCore
- The valid number of threads per core that can be configured for the
instance type.
vCpuInfo_defaultCores :: Lens' VCpuInfo (Maybe Int) Source #
The default number of cores for the instance type.
vCpuInfo_defaultThreadsPerCore :: Lens' VCpuInfo (Maybe Int) Source #
The default number of threads per core for the instance type.
vCpuInfo_defaultVCpus :: Lens' VCpuInfo (Maybe Int) Source #
The default number of vCPUs for the instance type.