aspera-cli 4.22.0 → 4.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +374 -364
  4. data/README.md +255 -155
  5. data/lib/aspera/agent/direct.rb +1 -1
  6. data/lib/aspera/api/aoc.rb +9 -12
  7. data/lib/aspera/api/httpgw.rb +8 -4
  8. data/lib/aspera/ascmd.rb +14 -6
  9. data/lib/aspera/ascp/installation.rb +6 -3
  10. data/lib/aspera/assert.rb +3 -3
  11. data/lib/aspera/cli/hints.rb +9 -1
  12. data/lib/aspera/cli/main.rb +1 -1
  13. data/lib/aspera/cli/manager.rb +1 -1
  14. data/lib/aspera/cli/plugin.rb +1 -1
  15. data/lib/aspera/cli/plugins/aoc.rb +33 -23
  16. data/lib/aspera/cli/plugins/config.rb +20 -15
  17. data/lib/aspera/cli/plugins/node.rb +96 -92
  18. data/lib/aspera/cli/plugins/server.rb +1 -0
  19. data/lib/aspera/cli/transfer_agent.rb +7 -11
  20. data/lib/aspera/cli/version.rb +1 -1
  21. data/lib/aspera/data_repository.rb +1 -0
  22. data/lib/aspera/environment.rb +1 -0
  23. data/lib/aspera/log.rb +1 -0
  24. data/lib/aspera/oauth/base.rb +2 -0
  25. data/lib/aspera/oauth/factory.rb +1 -0
  26. data/lib/aspera/preview/file_types.rb +40 -33
  27. data/lib/aspera/preview/generator.rb +1 -1
  28. data/lib/aspera/products/connect.rb +1 -0
  29. data/lib/aspera/rest.rb +18 -7
  30. data/lib/aspera/rest_error_analyzer.rb +1 -0
  31. data/lib/aspera/ssh.rb +1 -1
  32. data/lib/aspera/temp_file_manager.rb +1 -0
  33. data/lib/aspera/timer_limiter.rb +7 -5
  34. data/lib/aspera/transfer/async_conf.schema.yaml +716 -0
  35. data/lib/aspera/transfer/sync.rb +14 -4
  36. data/lib/aspera/transfer/sync_instance.schema.yaml +7 -0
  37. data/lib/aspera/transfer/sync_session.schema.yaml +7 -0
  38. data.tar.gz.sig +0 -0
  39. metadata +3 -5
  40. metadata.gz.sig +0 -0
  41. data/examples/dascli +0 -30
  42. data/examples/get_proto_file.rb +0 -8
  43. data/examples/proxy.pac +0 -60
@@ -0,0 +1,716 @@
1
+ $schema: http://json-schema.org/draft-04/schema#
2
+ $comment: >-
3
+ This is a YAML version of the original JSON schema.
4
+ type: object
5
+ definitions:
6
+ date-time:
7
+ description: 'UTC timestamp with the format: YYYY-MM-DDTHH:mm:ssZ'
8
+ type: string
9
+ properties:
10
+ required:
11
+ - configuration
12
+ configuration:
13
+ description: Configuration of async
14
+ type: object
15
+ properties:
16
+ required:
17
+ - name
18
+ - local
19
+ - remote
20
+ ascp_dir:
21
+ description: Directory containing ascp executable to use
22
+ type: string
23
+ default: ''
24
+ assume_no_mods:
25
+ description: Assume that the directory structure has not been modified
26
+ type: boolean
27
+ default: false
28
+ checksum:
29
+ description: Use the specified checksum type. Default is none on cloud storage
30
+ enum:
31
+ - sha1
32
+ - md5
33
+ - sha1_sparse
34
+ - md5_sparse
35
+ - none
36
+ default: sha1_sparse
37
+ clean_excluded:
38
+ description: Removes any existing entries in the snapshot database for excluded
39
+ paths
40
+ type: boolean
41
+ default: false
42
+ store_metadata_records:
43
+ description: Store the acls or xattrs in the snapshot database
44
+ type: boolean
45
+ default: false
46
+ cookie:
47
+ description: User-defined identification string
48
+ type: string
49
+ default: ''
50
+ cooloff_max_seconds:
51
+ description: Wait up to the specified time for a file to stop changing before
52
+ skipping synchronization of the file. 0 for disabled
53
+ type: integer
54
+ default: 0
55
+ cooloff_seconds:
56
+ description: Delay the start of the transfer to confirm that the content is
57
+ not changing. Value must be between 0 and 60
58
+ type: integer
59
+ default: 3
60
+ create_dir:
61
+ description: Create the source directory, target directory, or both, if they
62
+ do not exist
63
+ type: boolean
64
+ default: false
65
+ db_cache_size:
66
+ description: Specify DB cache size
67
+ type: integer
68
+ default: 16000
69
+ db_journal_off:
70
+ description: Turn off DB journal
71
+ type: boolean
72
+ default: false
73
+ db_sync_on:
74
+ description: Enable synchronous write in DB
75
+ type: boolean
76
+ default: false
77
+ dedup:
78
+ description: Take the specified action when async detects duplicate files
79
+ on the source
80
+ enum:
81
+ - copy
82
+ - inode
83
+ - hardlink
84
+ - none
85
+ default: none
86
+ delete_before:
87
+ description: Schedule deletes before transfers
88
+ type: boolean
89
+ default: false
90
+ delete_delay:
91
+ description: Delay actual deletes until the end of the synchronization
92
+ type: boolean
93
+ default: false
94
+ direction:
95
+ description: The direction of replication relative to the local
96
+ enum:
97
+ - bidi
98
+ - pull
99
+ - push
100
+ default: push
101
+ filters:
102
+ description: The filters allow to further specify which files have to be excluded
103
+ and included from the transfer list. Each filter is defined by a rule and
104
+ a value. Order of filters matters
105
+ type: array
106
+ items:
107
+ type: object
108
+ properties:
109
+ required:
110
+ - rule
111
+ - value
112
+ rule:
113
+ description: The rule for the filter
114
+ enum:
115
+ - include
116
+ - exclude
117
+ - include_from
118
+ - exclude_from
119
+ value:
120
+ description: On include or exclude, the filter's pattern. On include_from
121
+ or exclude_from, the path containing filter specifications
122
+ type: string
123
+ exclude_dirs_older_than:
124
+ description: Don't scan directories with a recursive modified time older than
125
+ absolute or async start time - relative_seconds
126
+ type: object
127
+ properties:
128
+ absolute:
129
+ description: UTC timestamp. Empty value for disabled
130
+ $ref: "#/definitions/date-time"
131
+ default: ''
132
+ relative_seconds:
133
+ description: Relative to async start time. -1 for disabled
134
+ type: integer
135
+ default: -1
136
+ ignore_delete:
137
+ description: Do not copy removals to the peer
138
+ type: boolean
139
+ default: false
140
+ ignore_mode:
141
+ description: Source files that have had their mode changed after the initial
142
+ transfer will not update the destination file mode
143
+ type: boolean
144
+ default: false
145
+ ignore_remote_host_sync_name:
146
+ description: Do not check that the remote host being used for the current
147
+ transfer matches the host used when the local database was created
148
+ type: boolean
149
+ default: false
150
+ local:
151
+ type: object
152
+ properties:
153
+ required:
154
+ - path
155
+ pass:
156
+ description: Authenticate the local async with the specified password
157
+ type: string
158
+ default: ''
159
+ path:
160
+ description: The directory to be synchronized on the local host
161
+ type: string
162
+ local_apply_docroot:
163
+ description: Prepend the docroot to the directory on the local host
164
+ type: boolean
165
+ default: false
166
+ local_db_dir:
167
+ description: Use the specified database directory on the local host. Default
168
+ is .private-asp at the root level of the synchronized directory
169
+ type: string
170
+ default: ''
171
+ local_checksum_threads:
172
+ description: Maximum number of threads to do checksum on the local host. Value
173
+ must be between 1 and 99
174
+ type: integer
175
+ default: 4
176
+ local_db_store_dir:
177
+ description: Store/Restore the database to/from the specified directory on
178
+ the local host. The value can be an absolute path, an URI or - (use the
179
+ local sync dir)
180
+ type: string
181
+ default: ''
182
+ local_force_stat:
183
+ description: Forces the local async to retrieve file information even when
184
+ no changes are detected by the scanner or monitor
185
+ type: boolean
186
+ default: false
187
+ local_fs_threads:
188
+ description: Maximum number of threads to do file system operations on the
189
+ local host. Value must be between 1 and 99
190
+ type: integer
191
+ default: 1
192
+ local_keep_dir:
193
+ description: Move deleted files into the specified directory on the local
194
+ host
195
+ type: string
196
+ default: ''
197
+ local_mount_signature:
198
+ description: Verify that the file system is mounted by the existence of this
199
+ file on the local host
200
+ type: string
201
+ default: ''
202
+ local_move_cache_timeout_seconds:
203
+ description: Delay in seconds before aborting moving a file from local cache
204
+ to final destination. -1 for disabled
205
+ type: integer
206
+ default: -1
207
+ local_preserve_acls:
208
+ description: Preserve access control lists on the local host
209
+ enum:
210
+ - native
211
+ - metafile
212
+ - none
213
+ default: none
214
+ local_preserve_xattrs:
215
+ description: Preserve extended attributes on the local
216
+ enum:
217
+ - native
218
+ - metafile
219
+ - none
220
+ default: none
221
+ local_scan_interval_milliseconds:
222
+ description: Enable periodic scans on the local host during a continuous sync.
223
+ -1 for disabled
224
+ type: integer
225
+ default: -1
226
+ local_scan_threads:
227
+ description: Number of directory scanning threads on the local host. Value
228
+ must be between 1 and 99
229
+ type: integer
230
+ default: 1
231
+ local_stat_cache_size:
232
+ description: Set stat cache size on the local host. 0 for disabled
233
+ type: integer
234
+ default: 0
235
+ log:
236
+ type: object
237
+ properties:
238
+ level:
239
+ description: Use the specified log level
240
+ enum:
241
+ - log
242
+ - dbg1
243
+ - dbg2
244
+ default: log
245
+ local_dir:
246
+ description: Use the specified logging directory on the local host
247
+ type: string
248
+ default: ''
249
+ remote_dir:
250
+ description: Use the specified logging directory on the remote host
251
+ type: string
252
+ default: ''
253
+ manifest_path:
254
+ description: A directory path where ascp will create manifest TEXT files (passed
255
+ to ascp as --file-manifest-path)
256
+ type: string
257
+ default: ''
258
+ mirror:
259
+ description: Force the pulling side to be exactly like the pushing side, removing
260
+ files on the destination that don't exist on the source and resending source
261
+ files that don't have an exact match on the destination. Cannot be used
262
+ in bi-directional mode
263
+ type: boolean
264
+ default: false
265
+ mode:
266
+ description: Specify whether async runs continuously or not. In one_time mode,
267
+ async stops after the first full synchronization
268
+ enum:
269
+ - one_time
270
+ - continuous
271
+ default: one_time
272
+ monitor_buffer_size:
273
+ description: Bytes to allocate for the change monitor buffer. Applies to any
274
+ windows machine on either side. -1 to use the computed value
275
+ type: integer
276
+ default: -1
277
+ name:
278
+ description: Name of the synchronization pair
279
+ type: string
280
+ no_log:
281
+ description: Suppress log messages for ITEM. The only currently supported
282
+ ITEM is 'stats', which suppresses both STATS and PROG log messages
283
+ type: string
284
+ default: ''
285
+ no_preserve_root_attrs:
286
+ description: Disable the preservation of attributes on the Sync root
287
+ type: boolean
288
+ default: false
289
+ no_scan:
290
+ description: Skip initial scanning
291
+ type: boolean
292
+ default: false
293
+ notifications_sharing_retry_max:
294
+ description: Retry processing filesystem notifications up to the specified
295
+ maximum number after a sharing violation
296
+ type: integer
297
+ default: 3
298
+ overwrite:
299
+ description: 'Overwrite files according to the specified policy. Default is
300
+ determined by the direction: conflict for bidi, otherwise always'
301
+ enum:
302
+ - always
303
+ - older
304
+ - conflict
305
+ pending_max:
306
+ description: Allow the maximum number of files that are pending transfer to
307
+ be no more than the specified number
308
+ type: integer
309
+ default: 2000
310
+ preserve_access_time:
311
+ description: Preserve file access time from the source to the destination
312
+ type: boolean
313
+ default: false
314
+ preserve_creation_time:
315
+ description: Preserve file creation time from the source to the destination
316
+ type: boolean
317
+ default: false
318
+ preserve_gid:
319
+ description: Preserve the file owner's GID
320
+ type: boolean
321
+ default: false
322
+ preserve_modification_time:
323
+ description: Preserve file modification time from the source to the destination
324
+ type: boolean
325
+ default: false
326
+ preserve_object_lock_legal_hold:
327
+ description: Preserve object lock legal hold status from the source to the
328
+ destination
329
+ type: boolean
330
+ default: false
331
+ preserve_object_lock_retention:
332
+ description: Preserve object lock retention from the source to the destination
333
+ type: boolean
334
+ default: false
335
+ preserve_object_metadata:
336
+ description: Preserve object metadata from the source to the destination
337
+ type: boolean
338
+ default: false
339
+ preserve_uid:
340
+ description: Preserve the file owner's UID
341
+ type: boolean
342
+ default: false
343
+ quiet:
344
+ description: Disable progress display
345
+ type: boolean
346
+ default: true
347
+ remote:
348
+ type: object
349
+ properties:
350
+ required:
351
+ - host
352
+ - user
353
+ - path
354
+ fingerprint:
355
+ description: Check it against server SSH host key fingerprint
356
+ type: string
357
+ default: ''
358
+ host:
359
+ description: Use the specified host name or address of the remote host
360
+ type: string
361
+ pass:
362
+ description: Authenticate the transfer with the specified password
363
+ type: string
364
+ default: ''
365
+ path:
366
+ description: Synchronize the specified directory on the remote host
367
+ type: string
368
+ port:
369
+ description: Use the specified TCP port for SSH. Used when connect_mode
370
+ is 'ssh'
371
+ type: integer
372
+ default: 22
373
+ ws_port:
374
+ description: Use the specified port for Websocket. Used when connect_mode
375
+ is 'ws'
376
+ type: integer
377
+ default: 9093
378
+ connect_mode:
379
+ description: Define how to connect to the remote
380
+ enum:
381
+ - ssh
382
+ - ws
383
+ default: ssh
384
+ private_key_paths:
385
+ description: Authenticate with the specified SSH private key file
386
+ type: array
387
+ items:
388
+ type: string
389
+ proxy:
390
+ description: Specify the address of the Aspera high-speed proxy server
391
+ type: object
392
+ properties:
393
+ host:
394
+ description: Use the specified host name or address of the proxy
395
+ type: string
396
+ default: ''
397
+ pass:
398
+ description: Authenticate to the proxy with the specified password
399
+ type: string
400
+ default: ''
401
+ port:
402
+ description: Use the specified port, default is 9091 for dnat, 9092
403
+ for dnats
404
+ type: integer
405
+ protocol:
406
+ description: The protocol to be used
407
+ enum:
408
+ - none
409
+ - dnat
410
+ - dnats
411
+ default: none
412
+ user:
413
+ description: Authenticate to the proxy with the specified username
414
+ type: string
415
+ default: ''
416
+ token:
417
+ description: Token string passed to server's authentication service
418
+ type: string
419
+ default: ''
420
+ token_node_user:
421
+ description: Node API user identity associated with the token. Required
422
+ for node user bearer tokens
423
+ type: string
424
+ default: ''
425
+ user:
426
+ description: Authenticate the transfer with the specified username
427
+ type: string
428
+ remote_checksum_threads:
429
+ description: Maximum number of threads to do checksum on the remote host.
430
+ Value must be between 1 and 99
431
+ type: integer
432
+ default: 4
433
+ remote_db_dir:
434
+ description: Use the specified database directory on the remote host. Default
435
+ is .private-asp at the root level of the synchronized directory
436
+ type: string
437
+ default: ''
438
+ remote_db_store_dir:
439
+ description: Store/Restore the database to/from the specified directory on
440
+ the remote host. The value can be an absolute path, an URI or - (use the
441
+ remote sync dir)
442
+ type: string
443
+ default: ''
444
+ remote_force_stat:
445
+ description: Forces the remote async to retrieve file information even when
446
+ no changes are detected by the scanner or monitor
447
+ type: boolean
448
+ default: false
449
+ remote_fs_threads:
450
+ description: Maximum number of threads to do file system operations on the
451
+ remote host. Value must be between 1 and 99
452
+ type: integer
453
+ default: 1
454
+ remote_keep_dir:
455
+ description: Move deleted files into the specified directory on the remote
456
+ host
457
+ type: string
458
+ default: ''
459
+ remote_mount_signature:
460
+ description: Verify that the file system is mounted by the existence of this
461
+ file on the remote host
462
+ type: string
463
+ default: ''
464
+ remote_move_cache_timeout_seconds:
465
+ description: Delay in seconds before aborting moving a file from remote cache
466
+ to final destination. -1 for disabled
467
+ type: integer
468
+ default: -1
469
+ remote_preserve_acls:
470
+ description: Preserve access control lists on the remote host. If not specified,
471
+ the default behavior is to use the same storage mode as specified by preserve_acls
472
+ enum:
473
+ - native
474
+ - metafile
475
+ - none
476
+ remote_preserve_xattrs:
477
+ description: Preserve extended attributes on the remote host. If not specified,
478
+ the default behavior is to use the same storage mode as specified by preserve_xattrs
479
+ enum:
480
+ - native
481
+ - metafile
482
+ - none
483
+ remote_scan_interval_milliseconds:
484
+ description: Enable periodic scans on the remote host. -1 for disabled
485
+ type: integer
486
+ default: -1
487
+ remote_scan_threads:
488
+ description: Number of directory scanning threads on the remote host. Value
489
+ must be between 1 and 99
490
+ type: integer
491
+ default: 1
492
+ remote_stat_cache_size:
493
+ description: Set stat cache size on the remote host. 0 for disabled
494
+ type: integer
495
+ default: 0
496
+ remove_after_transfer:
497
+ description: Remove source files after they are successfully synchronized
498
+ type: boolean
499
+ default: false
500
+ reset:
501
+ description: Clear the snapshot database and rescan the synchronized directories
502
+ and files to create a fresh snapshot
503
+ type: boolean
504
+ default: false
505
+ resume:
506
+ description: Partial transfers may exist if communication disruptions caused
507
+ the underlying ascp processes to terminate early. Note that transfer resumption
508
+ can only happen if the 'reset' option is disabled. If an async session starts
509
+ with 'reset' enabled and resume enabled, transfers interrupted during that
510
+ session will be resumeable, but only if async is then restarted with 'reset'
511
+ disabled
512
+ type: object
513
+ properties:
514
+ enabled:
515
+ description: Enable the possibility of resuming individual file transfers
516
+ between async sessions
517
+ type: boolean
518
+ default: false
519
+ min_size:
520
+ description: This field specifies the minimum size of files that will
521
+ be allowed to resume
522
+ type: integer
523
+ default: '1048576'
524
+ max_age:
525
+ description: Sets the age limit in days for temporary files that will
526
+ be preserved on cleanup (usually at async's start and stop) for potential
527
+ transfer resume. Temp files older than the given value will be removed
528
+ regardless of whether they might be resumeable
529
+ type: integer
530
+ default: '5'
531
+ resume_scan:
532
+ description: Resume the scan from where the previous execution left off
533
+ type: boolean
534
+ default: false
535
+ scan_dir_rename:
536
+ description: Enable the detection of renamed directories and files compared
537
+ to the previous scan, based on matching inodes
538
+ type: boolean
539
+ default: false
540
+ scan_file_rename:
541
+ description: Enable the detection of renamed files compared to the previous
542
+ scan, based on matching inodes
543
+ type: boolean
544
+ default: false
545
+ scan_intensity:
546
+ description: Scan at the set intensity. vlow minimizes system activity. vhigh
547
+ maximizes system activity by continuously scanning files without rest
548
+ enum:
549
+ - vlow
550
+ - low
551
+ - medium
552
+ - high
553
+ - vhigh
554
+ default: medium
555
+ sharing_retry_max:
556
+ description: Retry synchronizations up to the specified maximum number after
557
+ a sharing violation
558
+ type: integer
559
+ default: 3
560
+ symbolic_links:
561
+ description: Handle symbolic links with the specified method. Default is 'skip'
562
+ on windows, 'copy' otherwise
563
+ enum:
564
+ - copy
565
+ - skip
566
+ - follow
567
+ tags:
568
+ description: User-defined metadata tags
569
+ type: object
570
+ properties: {}
571
+ transfer_threads:
572
+ description: Use the specified number of dedicated transfer threads to process
573
+ files smaller or equal to the specified size
574
+ type: array
575
+ items:
576
+ type: object
577
+ properties:
578
+ required:
579
+ - threads
580
+ size:
581
+ description: Upper limit. -1 for infinity
582
+ type: integer
583
+ default: -1
584
+ threads:
585
+ description: The number of threads
586
+ type: integer
587
+ transport:
588
+ type: object
589
+ properties:
590
+ cipher:
591
+ description: Specify encryption algorithm for file data
592
+ enum:
593
+ - none
594
+ - aes128
595
+ - aes192
596
+ - aes256
597
+ - aes128cfb
598
+ - aes192cfb
599
+ - aes256cfb
600
+ - aes128gcm
601
+ - aes192gcm
602
+ - aes256gcm
603
+ default: aes128
604
+ compression:
605
+ description: Compress a file before transfer using the specified MODE
606
+ enum:
607
+ - none
608
+ - zlib
609
+ default: none
610
+ datagram_size:
611
+ description: Specify the datagram size (MTU) for FASP. By default it uses
612
+ the detected path MTU
613
+ type: integer
614
+ min_rate:
615
+ description: Attempt to transfer no slower than the specified rate (in
616
+ bps)
617
+ type: integer
618
+ default: 0
619
+ rate_policy:
620
+ description: Defines how ascp will manage the bandwidth
621
+ enum:
622
+ - fair
623
+ - fixed
624
+ - high
625
+ - low
626
+ default: fair
627
+ raw_options:
628
+ description: Pass arbitrary arguments to ascp
629
+ type: array
630
+ items:
631
+ type: string
632
+ read_block_size:
633
+ description: Use the specified block size (in bytes) for reading. Default
634
+ is determined by aspera.conf
635
+ type: integer
636
+ rexmsg_size:
637
+ description: Use the specified size (in bytes) for a retransmission request.
638
+ Default is determined by aspera.conf
639
+ type: integer
640
+ target_rate:
641
+ description: Transfer no faster than the specified rate (in bps)
642
+ type: integer
643
+ default: '10000000'
644
+ write_block_size:
645
+ description: Use the specified block size (in bytes) for writing. Default
646
+ is determined by aspera.conf
647
+ type: integer
648
+ udp_port:
649
+ description: Use the specified UDP port for FASP data transfer
650
+ type: integer
651
+ default: 33001
652
+ watchd:
653
+ description: When connection is configured, asperawatchd is used to detect
654
+ the changes on the source directory
655
+ type: object
656
+ properties:
657
+ datastore:
658
+ description: Specify the type of datastore, none for disabled
659
+ enum:
660
+ - none
661
+ - redis
662
+ - scalekv
663
+ default: none
664
+ domain:
665
+ description: Specify the domain. Default is the current username
666
+ type: string
667
+ host:
668
+ description: Use the specified host name or address to connect to the
669
+ datastore
670
+ type: string
671
+ default: ''
672
+ port:
673
+ description: Use the specified port
674
+ type: integer
675
+ default: 31415
676
+ write_gid:
677
+ description: Try to write files as the specified group
678
+ type: string
679
+ default: ''
680
+ write_uid:
681
+ description: Try to write files as the specified user
682
+ type: string
683
+ default: ''
684
+ id:
685
+ description: This value allows to identify a job. This value is set by the server
686
+ at creation
687
+ type: string
688
+ schedulings:
689
+ description: Automatically start on recurring schedules or given dates
690
+ type: array
691
+ items:
692
+ type: object
693
+ properties:
694
+ cron:
695
+ description: Cron expression
696
+ type: string
697
+ end_time:
698
+ description: Specify when the scheduling ends for the cron. An empty value
699
+ means 'never'
700
+ $ref: "#/definitions/date-time"
701
+ default: ''
702
+ start_time:
703
+ description: When the cron expression is specified, this value specifies
704
+ when the scheduling starts for the cron. The scheduling starts immediately
705
+ on empty value. When the cron expression is not specified, async will
706
+ be started at this given date. In this case, the precision is in minute.
707
+ Seconds are ignored.
708
+ $ref: "#/definitions/date-time"
709
+ default: ''
710
+ version:
711
+ description: Specifies the current version of the configuration. At creation,
712
+ this value is 0. When updating the configuration, this value must be specified
713
+ and must match the current version stored by the server, otherwise it will be
714
+ rejected
715
+ type: integer
716
+ default: 0