Skip to content

Commit

Permalink
updated constrains
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaya-sys committed Oct 25, 2023
1 parent 25324f4 commit aa8f12f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/en/docs/reference/score-spec-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,24 @@ resources:
**`resource-name`**: a required property that specifies the resource name.

- **Type**: string.
- **Constraints**: alphanumeric string.
- **Constraints**: alphanumeric characters and dashes "-".

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

- **`Type`**: object.
- **`annotations`**: an optional property that specifies metadata annotations.
- **`Type`**: object.
- **`Constraints`**: alphanumeric string key-value pairs.
- **`Constraints`**: key-value pairs with alphanumeric characters and dashes "-".

`type`: specifies the resource type.

- **Type**: string.
- **Constraints**: alphanumeric string.
- **Constraints**: alphanumeric characters and dashes "-".

`class`: a specialisation of the resource type. For example, a workload that needs an externally accessible resource might set the class to external while the workload that requires an encrypted resource might have a class of sensitive.
`class`: a specialisation of the resource type. For example, a workload that needs an externally accessible storage bucket might set the class to external while the workload that requires an encrypted resource might have a class of sensitive.

- **Type**: string.
- **Constraints**: alphanumeric string.
- **Constraints**: alphanumeric characters and dashes "-".

### Reserved resource types

Expand Down

0 comments on commit aa8f12f

Please sign in to comment.