6.7 Attachment
Attachment definitions and definition examples are shown below. For details on the Attachment, see “Storing documents”.
(Table) Attachment definitions
| Label | Default value | Required | Description | |
|---|---|---|---|---|
| apiVersion: | 1.0 | Yes | API version | |
| kind: | Yes | Specify "attachment" for Attachment. | ||
| type: | No | Only "container" can be specified for Attachment. | ||
| name: | Yes | Internal name of the Attachment definition Specify the directory name for this YAML file. | ||
| label: | Yes | YAML file display name | ||
| description: | No | Detailed description | ||
| nameRule: | No | - | ||
| type: | datetime | No | Select a naming rule from among the following for documents stored in the container.
|
|
| length: | 5 | No | The number of digits when "number" is specified in the "type" label. | |
| timezone: | UTC | No | Time zone when "datetime" is specified in the "type" label. The following time zones can be specified.
|
|
<Definition example>
apiVersion: 1.0
kind: attachment
type: container
name: Evidence of VM creation
label: Evidence of VM creation
description: Container to store check list during VM creation.
nameRule:
type: datetime