Class: Resources
Required resources element specifying the resources required to install the application.
classDiagram
class Resources
click Resources href "../Resources/"
Resources : cpu
Resources --> "0..1" CPU : cpu
click CPU href "../CPU/"
Resources : interfaces
Resources --> "*" CommunicationInterface : interfaces
click CommunicationInterface href "../CommunicationInterface/"
Resources : memory
Resources : peripherals
Resources --> "*" Peripheral : peripherals
click Peripheral href "../Peripheral/"
Resources : storage
Attributes
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| cpu | 0..1 CPU |
CPU element specifying the CPU requirements for the application | direct |
| memory | 0..1 string |
The minimum amount of memory required | direct |
| storage | 0..1 string |
The amount of storage required for the application to run | direct |
| peripherals | * Peripheral |
Peripherals element specifying the peripherals required to run the applicatio... | direct |
| interfaces | * CommunicationInterface |
Interfaces element specifying the communication interfaces required to run th... | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| DeploymentProfileDescription | requiredResources | range | Resources |
| HelmDeploymentProfileDescription | requiredResources | range | Resources |
| ComposeDeploymentProfileDescription | requiredResources | range | Resources |
| Properties | resources | range | Resources |
This section is only relevant for contributors of the specification
LinkML Source
Direct
Details
name: Resources
description: Required resources element specifying the resources required to install
the application.
from_schema: https://specification.margo.org/data-model
slots:
- cpu
- memory
- storage
- peripherals
- interfaces
Induced
Details
name: Resources
description: Required resources element specifying the resources required to install
the application.
from_schema: https://specification.margo.org/data-model
attributes:
cpu:
name: cpu
description: CPU element specifying the CPU requirements for the application.
See the [CPU](#cpu-attributes) section below.
from_schema: https://specification.margo.org/data-model
alias: cpu
owner: Resources
domain_of:
- Resources
range: CPU
required: false
memory:
name: memory
description: The minimum amount of memory required. The value is given in binary
units (`Ki` = Kibibytes, `Mi` = Mebibytes, `Gi` = Gibibytes). This is defined
by the application developer. After deployment of the application, the device
MUST provide this amount of memory for the application.
from_schema: https://specification.margo.org/data-model
alias: memory
owner: Resources
domain_of:
- Resources
range: string
required: false
pattern: ^[0-9]+(Mi|Gi|Ki)$
storage:
name: storage
description: The amount of storage required for the application to run. This encompasses
the installed application and the data it needs to store. The value is given
in binary units (`Ki` = Kibibytes, `Mi` = Mebibytes, `Gi` = Gibibytes, `Ti`
Tebibytes, `Pi` = Pebibytes, `Ei` = Exbibytes). This is defined by the application
developer. After deployment of the application, the device MUST provide this
amount of storage for the application
from_schema: https://specification.margo.org/data-model
alias: storage
owner: Resources
domain_of:
- Resources
range: string
required: false
pattern: ^[0-9]+(Mi|Gi|Ki|Ti|Pi|Ei)$
peripherals:
name: peripherals
description: Peripherals element specifying the peripherals required to run the
application. See the [Peripheral](#peripheral-attributes) section below.
from_schema: https://specification.margo.org/data-model
alias: peripherals
owner: Resources
domain_of:
- Resources
range: Peripheral
required: false
multivalued: true
inlined: true
inlined_as_list: true
interfaces:
name: interfaces
description: Interfaces element specifying the communication interfaces required
to run the application. See the [Communication Interfaces](#communicationinterface-attributes)
section below.
from_schema: https://specification.margo.org/data-model
alias: interfaces
owner: Resources
domain_of:
- Resources
range: CommunicationInterface
required: false
multivalued: true
inlined: true
inlined_as_list: true