Skip to main content

View file

File nameResource
*.view.yamlView

GitOps file for a single space.

Queries​

The query lives in a Hamelin sidecar file next to this one, named <name>.view.hmln.

Identity​

  • originKey: GitOps identity of the resource this file owns. The same value as the API's originKey.
  • id: Server-assigned id. Absent until the resource exists.

Fields​

FieldTypeRequiredDescription
archivedbooleanOptionalDefaults to false.
deploybooleanRequired
idstringOptionalServer-assigned id. Absent until the resource exists. Pattern: ^VIE_[A-Z0-9]{1,7}$.
materializedbooleanRequired
maxLatencyenumRequiredOne of MAX_1H, MAX_1D.
namestringRequiredPattern: ^(connectors\.)?([a-zA-Z_][a-zA-Z0-9_]{0,255})(\.([a-zA-Z_][a-zA-Z0-9_]{0,255}))?$.
originKeystringRequiredGitOps identity of the resource this file owns. The same value as the API's originKey. Pattern: ^(?!perpetual:)[a-z][a-z0-9-]{0,31}:[A-Za-z0-9._~\-/:@]{1,256}$.
retentionDaysintegerOptionalMay be null. Greater than 0.
sortedByColumnsarray of stringOptionalDefaults to [].
spaceIdstringRequiredSpace the resource belongs to. Pattern: ^SPC_[A-Z0-9]{1,7}$.
startsAtstringOptionalWhen the view should start materializing data from. Null starts from when materialization begins. May be null. Format: date-time.

Perpetual CLI 0.5.0