/
parameters.yaml
1940 lines (1919 loc) · 42.3 KB
/
parameters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# variables in header
x-openstack-request-id:
description: >
foo
in: header
required: false
type: string
# variables in path
admin_project_id:
description: |
The UUID of the administrative project.
in: path
required: true
type: string
backup_id:
description: |
The UUID for a backup.
in: path
required: true
type: string
cascade:
description: |
Remove any snapshots along with the volume. Default=False.
in: path
required: false
type: boolean
cgsnapshot_id_1:
description: |
The ID of the consistency group snapshot.
in: path
required: true
type: string
encryption_id:
description: |
The ID of the encryption type.
in: path
required: true
type: string
hostname:
description: |
The name of the host that hosts the storage back
end.
in: path
required: true
type: string
key_1:
description: |
The metadata key name for the metadata that you
want to remove.
in: path
required: true
type: string
key_2:
description: |
The metadata key name for the metadata that you
want to see.
in: path
required: true
type: string
key_3:
description: |
The metadata key name for the metadata that you
want to update.
in: path
required: true
type: string
project_id_path:
description: |
The UUID of the project in a multi-tenancy cloud.
in: path
required: true
type: string
qos_id:
description: |
The ID of the QoS specification.
in: path
required: true
type: string
quota_class_name:
description:
The name of the quota class for which to set quotas.
in: path
required: true
type: string
quotas_project_id:
description: |
The UUID of the project in a multi-tenancy cloud.
in: path
required: true
type: string
transfer_id:
description: |
The unique identifier for a volume transfer.
in: path
required: false
type: string
vol_type_id:
description: |
The UUID for an existing volume type.
in: path
required: true
type: string
volume_id_path:
description: |
The UUID of the volume.
in: path
required: true
type: string
volume_type:
description: |
The ID of Volume Type to be accessed by project.
in: path
required: false
type: string
volume_type_access:
description: |
The ID of Volume Type to be accessed by project.
in: path
required: true
type: string
volume_type_id:
description: |
The UUID for an existing volume type.
in: path
required: false
type: string
# variables in query
action:
description: |
The action. Valid values are "set" or "unset."
in: query
required: true
type: string
all-tenants:
description: |
Shows details for all projects. Admin only.
in: query
required: false
type: string
bootable_query:
description: |
Filters results by bootable status. Default=None.
in: query
required: false
type: boolean
detail:
description: |
Indicates whether to show pool details or only
pool names in the response. Set to ``true`` to show pool details.
Set to ``false`` to show only pool names. Default is ``false``.
in: query
required: false
type: boolean
image-id:
description: |
Creates volume from image ID. Default=None.
in: query
required: false
type: string
limit:
description: |
Requests a page size of items. Returns a number
of items up to a limit value. Use the ``limit`` parameter to make
an initial limited request and use the ID of the last-seen item
from the response as the ``marker`` parameter value in a
subsequent limited request.
in: query
required: false
type: integer
marker:
description: |
The ID of the last-seen item. Use the ``limit``
parameter to make an initial limited request and use the ID of the
last-seen item from the response as the ``marker`` parameter value
in a subsequent limited request.
in: query
required: false
type: string
name_volume:
description: |
Filters results by a name. Default=None.
in: query
required: false
type: string
offset:
description: |
Used in conjunction with ``limit`` to return a slice of items. ``offset``
is where to start in the list.
in: query
required: false
type: integer
sort:
description: |
Comma-separated list of sort keys and optional
sort directions in the form of < key > [: < direction > ]. A valid
direction is ``asc`` (ascending) or ``desc`` (descending).
in: query
required: false
type: string
sort_dir:
description: |
Sorts by one or more sets of attribute and sort
direction combinations. If you omit the sort direction in a set,
default is ``desc``.
in: query
required: false
type: string
sort_key:
description: |
Sorts by an attribute. A valid value is ``name``,
``status``, ``container_format``, ``disk_format``, ``size``,
``id``, ``created_at``, or ``updated_at``. Default is
``created_at``. The API uses the natural sorting direction of the
``sort_key`` attribute value.
in: query
required: false
type: string
usage:
description: |
Set to ``usage=true`` to show quota usage.
Default is ``false``.
in: query
required: false
type: boolean
# variables in body
absolute:
description: |
An ``absolute`` limits object.
in: body
required: true
type: object
add_volumes:
description: |
One or more volume UUIDs, separated by commas, to
add to the volume consistency group.
in: body
required: false
type: string
alias:
description: |
The alias for the extension. For example,
"FOXNSOX", "os- availability-zone", "os-extended-quotas", "os-
share-unmanage" or "os-used-limits."
in: body
required: true
type: string
attach_status:
description: |
The volume attach status.
in: body
required: false
type: string
attachment_id:
description: |
The interface ID.
in: body
required: false
type: string
attachments:
description: |
Instance attachment information. If this volume
is attached to a server instance, the attachments list includes
the UUID of the attached server, an attachment UUID, the name of
the attached host, if any, the volume UUID, the device, and the
device UUID. Otherwise, this list is empty.
in: body
required: true
type: array
auth_key:
description: |
The authentication key for the volume transfer.
in: body
required: true
type: string
availability_zone:
description: |
The name of the availability zone.
in: body
required: false
type: string
availability_zone_3:
description: |
The availability zone name.
in: body
required: true
type: string
backup:
description: |
A ``backup`` object.
in: body
required: true
type: object
backup_gigabytes:
description: |
The size (GB) of backups that are allowed for each project.
in: body
required: true
type: integer
backup_record:
description: |
An object recording volume backup metadata, including ``backup_service``
and ``backup_url``.
in: body
required: true
type: object
backup_service:
description: |
The service used to perform the backup.
in: body
required: true
type: string
backup_url:
description: |
An identifier string to locate the backup.
in: body
required: true
type: string
backups:
description: |
A list of ``backup`` objects.
in: body
required: true
type: array
backups_number:
description: |
The number of backups that are allowed for each project.
in: body
required: true
type: integer
bootable:
description: |
Enables or disables the bootable attribute. You
can boot an instance from a bootable volume.
in: body
required: true
type: boolean
bootable_response:
description: |
Enables or disables the bootable attribute. You
can boot an instance from a bootable volume.
in: body
required: true
type: string
capabilities:
description: |
The capabilities for the back end. The value is
either ``null`` or a string value that indicates the capabilities
for each pool. For example, ``total_capacity_gb`` or ``QoS_support``.
in: body
required: true
type: object
cgsnapshot_id:
description: |
The UUID of the consistency group snapshot.
in: body
required: false
type: string
cipher:
description: |
The encryption algorithm or mode. For example, aes-xts-plain64. The default
value is None.
in: body
required: false
type: string
connector:
description: |
The ``connector`` object.
in: body
required: false
type: object
consistencygroup_id:
description: |
The UUID of the consistency group.
in: body
required: true
type: string
consistencygroup_id_1:
description: |
The UUID of the consistency group.
in: body
required: false
type: string
consumer:
description: |
The consumer type.
in: body
required: false
type: string
consumer_1:
description: |
The consumer type.
in: body
required: true
type: string
container:
description: |
The container name or null.
in: body
required: false
type: string
control_location:
description: |
Notional service where encryption is performed. Valid values are
"front-end" or "back-end". The default value is "front-end".
in: body
required: false
type: string
cores:
description: |
The number of instance cores that are allowed for
each project.
in: body
required: true
type: integer
created_at:
description: |
The date and time when the resource was created.
The date and time stamp format is `ISO 8601
<https://en.wikipedia.org/wiki/ISO_8601>`_:
::
CCYY-MM-DDThh:mm:ss±hh:mm
For example, ``2015-08-27T09:49:58-05:00``.
The ``±hh:mm`` value, if included, is the time zone as an offset
from UTC.
in: body
required: true
type: string
created_at_1:
description: |
Date and time when the volume was created.
in: body
required: true
type: string
data_timestamp:
description: |
The time when the data on the volume was first saved. If it is
a backup from volume, it will be the same as ``created_at``
for a backup. If it is a backup from a snapshot, it will be the
same as ``created_at`` for the snapshot.
in: body
required: true
type: string
deleted:
description: |
The resource is deleted or not.
in: body
required: true
type: boolean
deleted_at:
description: |
The date and time when the resource was deleted.
The date and time stamp format is `ISO 8601
<https://en.wikipedia.org/wiki/ISO_8601>`_:
::
CCYY-MM-DDThh:mm:ss±hh:mm
For example, ``2015-08-27T09:49:58-05:00``.
The ``±hh:mm`` value, if included, is the time zone as an offset
from UTC. In the previous example, the offset value is ``-05:00``.
If the ``deleted_at`` date and time stamp is not set, its value is
``null``.
in: body
required: true
type: string
description:
description: |
The backup description or null.
in: body
required: false
type: string
description_1:
description: |
The consistency group snapshot description.
in: body
required: true
type: string
description_10:
description: |
The capabilities description.
in: body
required: true
type: string
description_11:
description: |
The consistency group description.
in: body
required: false
type: string
description_2:
description: |
The description of the consistency group.
in: body
required: false
type: string
description_3:
description: |
The description of the consistency group.
in: body
required: true
type: string
description_4:
description: |
A description for the snapshot. Default is
``None``.
in: body
required: false
type: string
description_5:
description: |
The volume description.
in: body
required: false
type: string
description_6:
description: |
The consistency group description.
in: body
required: true
type: string
description_7:
description: |
The extension description.
in: body
required: true
type: string
description_8:
description: |
A description for the snapshot.
in: body
required: true
type: string
description_9:
description: |
The volume description.
in: body
required: true
type: string
display_name:
description: |
The name of volume backend capabilities.
in: body
required: true
type: string
driver_version:
description: |
The driver version.
in: body
required: true
type: string
encrypted:
description: |
If true, this volume is encrypted.
in: body
required: true
type: boolean
encryption:
description: |
The encryption information.
in: body
required: true
type: object
encryption_id_body:
description: |
The UUID of the encryption.
in: body
required: true
type: string
extra_specs:
description: |
A set of key and value pairs that contains the
specifications for a volume type.
in: body
required: true
type: object
fail_reason:
description: |
If the backup failed, the reason for the failure.
Otherwise, null.
in: body
required: true
type: string
fixed_ips:
description: |
The number of fixed IP addresses that are allowed
for each project. Must be equal to or greater than the number of
allowed instances.
in: body
required: true
type: integer
floating_ips:
description: |
The number of floating IP addresses that are
allowed for each project.
in: body
required: true
type: integer
force:
description: |
Indicates whether to backup, even if the volume
is attached. Default is ``false``.
in: body
required: false
type: boolean
force_1:
description: |
Indicates whether to snapshot, even if the volume
is attached. Default is ``false``.
in: body
required: false
type: boolean
force_2:
description: |
If set to ``true``, forces deletion of a
consistency group that has a registered volume.
in: body
required: false
type: boolean
free_capacity:
description: |
The amount of free capacity for the back-end
volume, in GBs. A valid value is a string, such as ``unknown``, or
a number (integer or floating point).
in: body
required: true
type: string
gigabytes:
description: |
The size (GB) of volumes and snapshots that are allowed for each project.
in: body
required: true
type: integer
gigabytes_for_type:
description: |
The size (GB) of volumes and snapshots that are allowed for each project
and the specified volume type.
in: body
required: true
type: integer
groups_number:
description: |
The number of groups that are allowed for each project.
in: body
required: true
type: integer
has_dependent_backups:
description: |
If this value is ``true``, there are other backups depending on
this backup.
in: body
required: false
type: boolean
host:
description: |
The OpenStack Block Storage host where the
existing volume resides.
in: body
required: true
type: string
host_name:
description: |
The name of the attaching host.
in: body
required: false
type: string
host_name_1:
description: |
The name of the host that hosts the storage backend,
may take the format of ``host@backend``.
in: body
required: true
type: string
host_service:
description: |
The name of the service which is running on the host.
in: body
required: true
type: string
host_service_status:
description: |
The status of the service. One of ``available`` or ``unavailable``.
in: body
required: true
type: string
id:
description: |
The UUID of the volume transfer.
in: body
required: true
type: string
id_1:
description: |
The UUID of the backup.
in: body
required: true
type: string
id_2:
description: |
The UUID of the consistency group snapshot.
in: body
required: true
type: string
id_3:
description: |
The generated ID for the QoS specification.
in: body
required: true
type: string
id_4:
description: |
The snapshot UUID.
in: body
required: true
type: string
id_5:
description: |
The UUID of the volume.
in: body
required: true
type: string
id_6:
description: |
The UUID of the consistency group.
in: body
required: true
type: string
id_7:
description: |
The ID for the quota set.
in: body
required: true
type: integer
imageRef:
description: |
The UUID of the image from which you want to
create the volume. Required to create a bootable volume.
in: body
required: false
type: string
in_use:
description: |
The in use data size. Visible only if you set the
``usage=true`` query parameter.
in: body
required: false
type: string
incremental:
description: |
The backup mode. A valid value is ``true`` for
incremental backup mode or ``false`` for full backup mode. Default
is ``false``.
in: body
required: false
type: boolean
injected_file_content_bytes:
description: |
The number of bytes of content that are allowed
for each injected file.
in: body
required: true
type: integer
injected_file_path_bytes:
description: |
The number of bytes that are allowed for each
injected file path.
in: body
required: true
type: integer
injected_files:
description: |
The number of injected files that are allowed for
each project.
in: body
required: true
type: integer
instance_uuid:
description: |
The UUID of the attaching instance.
in: body
required: false
type: string
instances:
description: |
The number of instances that are allowed for each
project.
in: body
required: true
type: integer
is_incremental:
description: |
Indicates whether the backup mode is incremental.
If this value is ``true``, the backup mode is incremental. If this
value is ``false``, the backup mode is full.
in: body
required: false
type: boolean
is_public:
description:
Volume type which is accessible to the public.
in: body
required: false
type: boolean
key:
description: |
The metadata key name for the metadata that you
want to remove.
in: body
required: true
type: string
key_pairs:
description: |
The number of key pairs that are allowed for each
user.
in: body
required: true
type: integer
key_size:
description: |
Size of encryption key, in bits. For example, 128 or 256. The default value
is None.
in: body
required: false
type: integer
keys:
description: |
List of Keys.
in: body
required: true
type: array
limits:
description: |
A list of ``limit`` objects.
in: body
required: true
type: object
links:
description: |
Links for the volume transfer.
in: body
required: true
type: array
links_1:
description: |
Links for the backup.
in: body
required: true
type: array
links_2:
description: |
The QoS specification links.
in: body
required: true
type: array
links_3:
description: |
The volume links.
in: body
required: true
type: array
links_4:
description: |
List of links related to the extension.
in: body
required: true
type: array
links_5:
description: |
List of links related to the extension.
in: body
required: true
type: array
links_vol_optional:
description: |
The volume links.
in: body
required: false
type: array
location:
description: |
Full URL to a service or server.
format: uri
in: body
required: true
type: string
maxTotalBackupGigabytes:
description: |
The maximum total amount of backups, in gibibytes
(GiB).
in: body
required: true
type: integer
maxTotalBackups:
description: |
The maximum number of backups.
in: body
required: true
type: integer
maxTotalGroups:
description: |
The maximum number of groups.
in: body
required: true
type: integer
maxTotalSnapshots:
description: |
The maximum number of snapshots.
in: body
required: true
type: integer
maxTotalSnapshotsOptional:
description: |
The maximum number of snapshots.
in: body
required: false
type: integer
maxTotalVolumeGigabytes:
description: |
The maximum total amount of volumes, in gibibytes (GiB).
in: body
required: true
type: integer
maxTotalVolumeGigabytesOptional:
description: |
The maximum total amount of volumes, in gibibytes (GiB).
in: body
required: true
type: integer
maxTotalVolumes:
description: |
The maximum number of volumes.
in: body
required: true
type: integer
maxTotalVolumesOptional:
description: |
The maximum number of volumes.
in: body
required: false
type: integer
meta:
description: |
The metadata key and value pair for the volume.
in: body
required: true
type: object
metadata:
description: |
One or more metadata key and value pairs for the
snapshot, if any.
in: body
required: true
type: object
metadata_1:
description: |
A ``metadata`` object. Contains one or more
metadata key and value pairs that are associated with the volume.
in: body
required: true
type: object
metadata_2:
description: |
One or more metadata key and value pairs that are
associated with the volume.
in: body
required: false
type: object
metadata_3:
description: |
One or more metadata key and value pairs that are
associated with the volume.
in: body
required: true
type: object
metadata_4:
description: |
One or more metadata key and value pairs to
associate with the volume.
in: body
required: false
type: string
metadata_5:
description: |
The image metadata to add to the volume as a set
of metadata key and value pairs.
in: body
required: true
type: object
metadata_6: