This commit is contained in:
2026-03-27 17:29:52 +03:00
parent 444a33dc7e
commit 9258a1574b
25 changed files with 570 additions and 44 deletions

View File

@@ -16,8 +16,10 @@ type SnapshotCreateRequest struct {
// Text label for snapshot.
// Must be unique among this compute snapshots
// Allowed characters: a-z, 0-9, spaces, punctuation except '<' and '>'
// Maximum length: 36 characters
// Required: true
Label string `url:"label" json:"label" validate:"required"`
Label string `url:"label" json:"label" validate:"required,max=36,excludesall=<>"`
}
// SnapshotCreate creates compute snapshot