Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions content/en/docs/score specification/score-spec-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,17 +287,13 @@ resources: # optional
param-name: value
```

`resources`: the resource dependencies needed by the workload.

`resource-name`: a required property that specifies the resource name.

`type`: the resource type. This should be a type supported by the Score implementations being used.
`class`: an optional specialisation of the resource type.
`id`: an optional external resource identifier. When two resources share the same type, class, and id, they are considered the same resource when used across related Workloads.
`params`: an optional map of parameters that may configure this resource. Params support both metadata and resource placeholders local to this Workload.

`metadata`: an optional property that specifies additional resource metadata.

- `type`: the resource type. This should be a type supported by the Score implementations being used.
Comment thread
mathieu-benoit marked this conversation as resolved.
- `class`: an optional specialisation of the resource type.
- `id`: an optional external resource identifier. When two resources share the same type, class, and id, they are considered the same resource when used across related Workloads.
- `params`: an optional map of parameters that may configure this resource. Params support both metadata and resource placeholders local to this Workload.
- `metadata`: an optional property that specifies additional resource metadata.
- `annotations`: An optional property to specify meta data for a resource. This can be utilised to provide additional instructions for the Score CLI Implementation to interpret.

### Resource example
Expand Down