nutanix_volumes 0.2.0 → 0.2.2

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 (182) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-config.json +9 -0
  3. data/.openapi-generator/FILES +475 -0
  4. data/.openapi-generator/VERSION +1 -0
  5. data/.openapi-generator-ignore +28 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +148 -0
  8. data/.whitesource +3 -0
  9. data/CHANGELOG.md +14 -0
  10. data/README.md +4 -4
  11. data/lib/nutanix_volumes/models/common_v10_config_entity_type.rb +3 -3
  12. data/lib/nutanix_volumes/models/common_v10_config_message_severity.rb +3 -3
  13. data/lib/nutanix_volumes/models/common_v10_stats_down_sampling_operator.rb +3 -3
  14. data/lib/nutanix_volumes/models/volumes_v40_config_attachment_type.rb +3 -3
  15. data/lib/nutanix_volumes/models/volumes_v40_config_authentication_type.rb +3 -3
  16. data/lib/nutanix_volumes/models/volumes_v40_config_protocol.rb +3 -3
  17. data/lib/nutanix_volumes/models/volumes_v40_config_sharing_status.rb +3 -3
  18. data/lib/nutanix_volumes/models/volumes_v40_config_usage_type.rb +3 -3
  19. data/lib/nutanix_volumes/models/volumes_v40_config_volume_group_attachment_site.rb +3 -3
  20. data/lib/nutanix_volumes/models/volumes_v40_error_message_severity.rb +3 -3
  21. data/lib/nutanix_volumes/version.rb +1 -1
  22. metadata +9 -317
  23. data/Gemfile +0 -9
  24. data/bin/console +0 -15
  25. data/bin/openapi-generate +0 -26
  26. data/nutanix_volumes.gemspec +0 -39
  27. data/pkg/nutanix_volumes-0.1.0.gem +0 -0
  28. data/spec/api/iscsi_clients_api_spec.rb +0 -79
  29. data/spec/api/volume_groups_api_spec.rb +0 -370
  30. data/spec/models/associate_category202_response_spec.rb +0 -42
  31. data/spec/models/associate_category4_xx_response_spec.rb +0 -42
  32. data/spec/models/attach_iscsi_client202_response_spec.rb +0 -42
  33. data/spec/models/attach_iscsi_client4_xx_response_spec.rb +0 -42
  34. data/spec/models/attach_vm202_response_spec.rb +0 -42
  35. data/spec/models/attach_vm4_xx_response_spec.rb +0 -42
  36. data/spec/models/common_v10_config_entity_reference_spec.rb +0 -54
  37. data/spec/models/common_v10_config_entity_type_spec.rb +0 -30
  38. data/spec/models/common_v10_config_flag_spec.rb +0 -42
  39. data/spec/models/common_v10_config_fqdn_spec.rb +0 -36
  40. data/spec/models/common_v10_config_ip_address_or_fqdn_spec.rb +0 -48
  41. data/spec/models/common_v10_config_ipv4_address_spec.rb +0 -42
  42. data/spec/models/common_v10_config_ipv6_address_spec.rb +0 -42
  43. data/spec/models/common_v10_config_kv_pair_spec.rb +0 -42
  44. data/spec/models/common_v10_config_kv_pair_value_spec.rb +0 -32
  45. data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +0 -36
  46. data/spec/models/common_v10_config_message_severity_spec.rb +0 -30
  47. data/spec/models/common_v10_config_message_spec.rb +0 -54
  48. data/spec/models/common_v10_config_metadata_spec.rb +0 -60
  49. data/spec/models/common_v10_config_tenant_aware_model_spec.rb +0 -36
  50. data/spec/models/common_v10_response_api_link_spec.rb +0 -42
  51. data/spec/models/common_v10_response_api_response_metadata_spec.rb +0 -60
  52. data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +0 -48
  53. data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +0 -30
  54. data/spec/models/create_volume_disk202_response_spec.rb +0 -42
  55. data/spec/models/create_volume_disk4_xx_response_spec.rb +0 -42
  56. data/spec/models/create_volume_group202_response_spec.rb +0 -42
  57. data/spec/models/create_volume_group4_xx_response_spec.rb +0 -42
  58. data/spec/models/delete_volume_disk_by_id202_response_spec.rb +0 -42
  59. data/spec/models/delete_volume_disk_by_id4_xx_response_spec.rb +0 -42
  60. data/spec/models/delete_volume_group_by_id202_response_spec.rb +0 -42
  61. data/spec/models/delete_volume_group_by_id4_xx_response_spec.rb +0 -42
  62. data/spec/models/detach_iscsi_client202_response_spec.rb +0 -42
  63. data/spec/models/detach_iscsi_client4_xx_response_spec.rb +0 -42
  64. data/spec/models/detach_vm202_response_spec.rb +0 -42
  65. data/spec/models/detach_vm4_xx_response_spec.rb +0 -42
  66. data/spec/models/disassociate_category202_response_spec.rb +0 -42
  67. data/spec/models/disassociate_category4_xx_response_spec.rb +0 -42
  68. data/spec/models/get_iscsi_client_by_id200_response_spec.rb +0 -42
  69. data/spec/models/get_iscsi_client_by_id4_xx_response_spec.rb +0 -42
  70. data/spec/models/get_volume_disk_by_id200_response_spec.rb +0 -42
  71. data/spec/models/get_volume_disk_by_id4_xx_response_spec.rb +0 -42
  72. data/spec/models/get_volume_disk_stats200_response_spec.rb +0 -42
  73. data/spec/models/get_volume_disk_stats4_xx_response_spec.rb +0 -42
  74. data/spec/models/get_volume_group_by_id200_response_spec.rb +0 -42
  75. data/spec/models/get_volume_group_by_id4_xx_response_spec.rb +0 -42
  76. data/spec/models/get_volume_group_metadata_by_id200_response_spec.rb +0 -42
  77. data/spec/models/get_volume_group_metadata_by_id4_xx_response_spec.rb +0 -42
  78. data/spec/models/get_volume_group_stats200_response_spec.rb +0 -42
  79. data/spec/models/get_volume_group_stats4_xx_response_spec.rb +0 -42
  80. data/spec/models/list_category_associations_by_volume_group_id200_response_spec.rb +0 -42
  81. data/spec/models/list_category_associations_by_volume_group_id4_xx_response_spec.rb +0 -42
  82. data/spec/models/list_external_iscsi_attachments_by_volume_group_id200_response_spec.rb +0 -42
  83. data/spec/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response_spec.rb +0 -42
  84. data/spec/models/list_iscsi_clients200_response_spec.rb +0 -42
  85. data/spec/models/list_iscsi_clients4_xx_response_spec.rb +0 -42
  86. data/spec/models/list_vm_attachments_by_volume_group_id200_response_spec.rb +0 -42
  87. data/spec/models/list_vm_attachments_by_volume_group_id4_xx_response_spec.rb +0 -42
  88. data/spec/models/list_volume_disks_by_volume_group_id200_response_spec.rb +0 -42
  89. data/spec/models/list_volume_disks_by_volume_group_id4_xx_response_spec.rb +0 -42
  90. data/spec/models/list_volume_groups200_response_spec.rb +0 -42
  91. data/spec/models/list_volume_groups4_xx_response_spec.rb +0 -42
  92. data/spec/models/prism_v40_config_task_reference_spec.rb +0 -36
  93. data/spec/models/revert_volume_group202_response_spec.rb +0 -42
  94. data/spec/models/revert_volume_group4_xx_response_spec.rb +0 -42
  95. data/spec/models/update_iscsi_client_by_id202_response_spec.rb +0 -42
  96. data/spec/models/update_iscsi_client_by_id4_xx_response_spec.rb +0 -42
  97. data/spec/models/update_volume_disk_by_id202_response_spec.rb +0 -42
  98. data/spec/models/update_volume_disk_by_id4_xx_response_spec.rb +0 -42
  99. data/spec/models/update_volume_group_by_id202_response_spec.rb +0 -42
  100. data/spec/models/update_volume_group_by_id4_xx_response_spec.rb +0 -42
  101. data/spec/models/volumes_v40_config_associate_category_api_response_spec.rb +0 -42
  102. data/spec/models/volumes_v40_config_attach_iscsi_client_api_response_spec.rb +0 -42
  103. data/spec/models/volumes_v40_config_attach_nvmf_client_api_response_spec.rb +0 -42
  104. data/spec/models/volumes_v40_config_attach_vm_api_response_spec.rb +0 -42
  105. data/spec/models/volumes_v40_config_attachment_type_spec.rb +0 -30
  106. data/spec/models/volumes_v40_config_authentication_type_spec.rb +0 -30
  107. data/spec/models/volumes_v40_config_category_details_spec.rb +0 -54
  108. data/spec/models/volumes_v40_config_category_entity_references_spec.rb +0 -36
  109. data/spec/models/volumes_v40_config_cluster_spec.rb +0 -42
  110. data/spec/models/volumes_v40_config_create_volume_disk_api_response_spec.rb +0 -42
  111. data/spec/models/volumes_v40_config_create_volume_group_api_response_spec.rb +0 -42
  112. data/spec/models/volumes_v40_config_delete_volume_disk_api_response_spec.rb +0 -42
  113. data/spec/models/volumes_v40_config_delete_volume_group_api_response_spec.rb +0 -42
  114. data/spec/models/volumes_v40_config_detach_iscsi_client_api_response_spec.rb +0 -42
  115. data/spec/models/volumes_v40_config_detach_nvmf_client_api_response_spec.rb +0 -42
  116. data/spec/models/volumes_v40_config_detach_vm_api_response_spec.rb +0 -42
  117. data/spec/models/volumes_v40_config_disassociate_category_api_response_spec.rb +0 -42
  118. data/spec/models/volumes_v40_config_disk_storage_features_spec.rb +0 -36
  119. data/spec/models/volumes_v40_config_flash_mode_spec.rb +0 -36
  120. data/spec/models/volumes_v40_config_get_iscsi_client_api_response_data_spec.rb +0 -32
  121. data/spec/models/volumes_v40_config_get_iscsi_client_api_response_spec.rb +0 -42
  122. data/spec/models/volumes_v40_config_get_volume_disk_api_response_data_spec.rb +0 -32
  123. data/spec/models/volumes_v40_config_get_volume_disk_api_response_spec.rb +0 -42
  124. data/spec/models/volumes_v40_config_get_volume_group_api_response_data_spec.rb +0 -32
  125. data/spec/models/volumes_v40_config_get_volume_group_api_response_spec.rb +0 -42
  126. data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_data_spec.rb +0 -32
  127. data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_spec.rb +0 -42
  128. data/spec/models/volumes_v40_config_iscsi_client_attachment_spec.rb +0 -42
  129. data/spec/models/volumes_v40_config_iscsi_client_spec.rb +0 -96
  130. data/spec/models/volumes_v40_config_iscsi_features_spec.rb +0 -42
  131. data/spec/models/volumes_v40_config_list_category_associations_api_response_data_spec.rb +0 -32
  132. data/spec/models/volumes_v40_config_list_category_associations_api_response_spec.rb +0 -42
  133. data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data_spec.rb +0 -32
  134. data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_spec.rb +0 -42
  135. data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_data_spec.rb +0 -32
  136. data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_spec.rb +0 -42
  137. data/spec/models/volumes_v40_config_list_vm_attachments_api_response_data_spec.rb +0 -32
  138. data/spec/models/volumes_v40_config_list_vm_attachments_api_response_spec.rb +0 -42
  139. data/spec/models/volumes_v40_config_list_volume_disks_api_response_data_spec.rb +0 -32
  140. data/spec/models/volumes_v40_config_list_volume_disks_api_response_spec.rb +0 -42
  141. data/spec/models/volumes_v40_config_list_volume_groups_api_response_data_spec.rb +0 -32
  142. data/spec/models/volumes_v40_config_list_volume_groups_api_response_spec.rb +0 -42
  143. data/spec/models/volumes_v40_config_migrate_volume_group_api_response_spec.rb +0 -42
  144. data/spec/models/volumes_v40_config_nvmf_client_attachment_spec.rb +0 -54
  145. data/spec/models/volumes_v40_config_nvmf_client_spec.rb +0 -66
  146. data/spec/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response_spec.rb +0 -42
  147. data/spec/models/volumes_v40_config_protocol_spec.rb +0 -30
  148. data/spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_spec.rb +0 -42
  149. data/spec/models/volumes_v40_config_revert_spec_spec.rb +0 -36
  150. data/spec/models/volumes_v40_config_revert_volume_group_api_response_spec.rb +0 -42
  151. data/spec/models/volumes_v40_config_sharing_status_spec.rb +0 -30
  152. data/spec/models/volumes_v40_config_storage_features_spec.rb +0 -36
  153. data/spec/models/volumes_v40_config_target_param_spec.rb +0 -42
  154. data/spec/models/volumes_v40_config_update_iscsi_client_api_response_data_spec.rb +0 -32
  155. data/spec/models/volumes_v40_config_update_iscsi_client_api_response_spec.rb +0 -42
  156. data/spec/models/volumes_v40_config_update_iscsi_client_by_id_api_response_spec.rb +0 -42
  157. data/spec/models/volumes_v40_config_update_volume_disk_api_response_spec.rb +0 -42
  158. data/spec/models/volumes_v40_config_update_volume_disk_by_id_api_response_spec.rb +0 -42
  159. data/spec/models/volumes_v40_config_update_volume_group_api_response_spec.rb +0 -42
  160. data/spec/models/volumes_v40_config_update_volume_group_by_id_api_response_spec.rb +0 -42
  161. data/spec/models/volumes_v40_config_update_volume_group_metadata_api_response_spec.rb +0 -42
  162. data/spec/models/volumes_v40_config_update_volume_group_metadata_info_api_response_spec.rb +0 -42
  163. data/spec/models/volumes_v40_config_usage_type_spec.rb +0 -30
  164. data/spec/models/volumes_v40_config_vm_attachment_spec.rb +0 -42
  165. data/spec/models/volumes_v40_config_volume_disk_spec.rb +0 -84
  166. data/spec/models/volumes_v40_config_volume_group_attachment_site_spec.rb +0 -30
  167. data/spec/models/volumes_v40_config_volume_group_metadata_spec.rb +0 -42
  168. data/spec/models/volumes_v40_config_volume_group_spec.rb +0 -144
  169. data/spec/models/volumes_v40_error_app_message_spec.rb +0 -66
  170. data/spec/models/volumes_v40_error_error_response_error_spec.rb +0 -32
  171. data/spec/models/volumes_v40_error_error_response_spec.rb +0 -36
  172. data/spec/models/volumes_v40_error_message_severity_spec.rb +0 -30
  173. data/spec/models/volumes_v40_error_schema_validation_error_message_spec.rb +0 -48
  174. data/spec/models/volumes_v40_error_schema_validation_error_spec.rb +0 -60
  175. data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_data_spec.rb +0 -32
  176. data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_spec.rb +0 -42
  177. data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_data_spec.rb +0 -32
  178. data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_spec.rb +0 -42
  179. data/spec/models/volumes_v40_stats_time_value_pair_spec.rb +0 -42
  180. data/spec/models/volumes_v40_stats_volume_disk_stats_spec.rb +0 -114
  181. data/spec/models/volumes_v40_stats_volume_group_stats_spec.rb +0 -114
  182. data/spec/spec_helper.rb +0 -111
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutanix_volumes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
@@ -56,13 +56,17 @@ executables: []
56
56
  extensions: []
57
57
  extra_rdoc_files: []
58
58
  files:
59
+ - ".openapi-config.json"
60
+ - ".openapi-generator-ignore"
61
+ - ".openapi-generator/FILES"
62
+ - ".openapi-generator/VERSION"
63
+ - ".rspec"
64
+ - ".rubocop.yml"
65
+ - ".whitesource"
59
66
  - CHANGELOG.md
60
- - Gemfile
61
67
  - LICENSE.txt
62
68
  - README.md
63
69
  - Rakefile
64
- - bin/console
65
- - bin/openapi-generate
66
70
  - docs/AssociateCategory202Response.md
67
71
  - docs/AssociateCategory4XXResponse.md
68
72
  - docs/AttachIscsiClient202Response.md
@@ -378,164 +382,7 @@ files:
378
382
  - lib/nutanix_volumes/models/volumes_v40_stats_volume_disk_stats.rb
379
383
  - lib/nutanix_volumes/models/volumes_v40_stats_volume_group_stats.rb
380
384
  - lib/nutanix_volumes/version.rb
381
- - nutanix_volumes.gemspec
382
- - pkg/nutanix_volumes-0.1.0.gem
383
385
  - renovate.json
384
- - spec/api/iscsi_clients_api_spec.rb
385
- - spec/api/volume_groups_api_spec.rb
386
- - spec/models/associate_category202_response_spec.rb
387
- - spec/models/associate_category4_xx_response_spec.rb
388
- - spec/models/attach_iscsi_client202_response_spec.rb
389
- - spec/models/attach_iscsi_client4_xx_response_spec.rb
390
- - spec/models/attach_vm202_response_spec.rb
391
- - spec/models/attach_vm4_xx_response_spec.rb
392
- - spec/models/common_v10_config_entity_reference_spec.rb
393
- - spec/models/common_v10_config_entity_type_spec.rb
394
- - spec/models/common_v10_config_flag_spec.rb
395
- - spec/models/common_v10_config_fqdn_spec.rb
396
- - spec/models/common_v10_config_ip_address_or_fqdn_spec.rb
397
- - spec/models/common_v10_config_ipv4_address_spec.rb
398
- - spec/models/common_v10_config_ipv6_address_spec.rb
399
- - spec/models/common_v10_config_kv_pair_spec.rb
400
- - spec/models/common_v10_config_kv_pair_value_spec.rb
401
- - spec/models/common_v10_config_map_of_string_wrapper_spec.rb
402
- - spec/models/common_v10_config_message_severity_spec.rb
403
- - spec/models/common_v10_config_message_spec.rb
404
- - spec/models/common_v10_config_metadata_spec.rb
405
- - spec/models/common_v10_config_tenant_aware_model_spec.rb
406
- - spec/models/common_v10_response_api_link_spec.rb
407
- - spec/models/common_v10_response_api_response_metadata_spec.rb
408
- - spec/models/common_v10_response_externalizable_abstract_model_spec.rb
409
- - spec/models/common_v10_stats_down_sampling_operator_spec.rb
410
- - spec/models/create_volume_disk202_response_spec.rb
411
- - spec/models/create_volume_disk4_xx_response_spec.rb
412
- - spec/models/create_volume_group202_response_spec.rb
413
- - spec/models/create_volume_group4_xx_response_spec.rb
414
- - spec/models/delete_volume_disk_by_id202_response_spec.rb
415
- - spec/models/delete_volume_disk_by_id4_xx_response_spec.rb
416
- - spec/models/delete_volume_group_by_id202_response_spec.rb
417
- - spec/models/delete_volume_group_by_id4_xx_response_spec.rb
418
- - spec/models/detach_iscsi_client202_response_spec.rb
419
- - spec/models/detach_iscsi_client4_xx_response_spec.rb
420
- - spec/models/detach_vm202_response_spec.rb
421
- - spec/models/detach_vm4_xx_response_spec.rb
422
- - spec/models/disassociate_category202_response_spec.rb
423
- - spec/models/disassociate_category4_xx_response_spec.rb
424
- - spec/models/get_iscsi_client_by_id200_response_spec.rb
425
- - spec/models/get_iscsi_client_by_id4_xx_response_spec.rb
426
- - spec/models/get_volume_disk_by_id200_response_spec.rb
427
- - spec/models/get_volume_disk_by_id4_xx_response_spec.rb
428
- - spec/models/get_volume_disk_stats200_response_spec.rb
429
- - spec/models/get_volume_disk_stats4_xx_response_spec.rb
430
- - spec/models/get_volume_group_by_id200_response_spec.rb
431
- - spec/models/get_volume_group_by_id4_xx_response_spec.rb
432
- - spec/models/get_volume_group_metadata_by_id200_response_spec.rb
433
- - spec/models/get_volume_group_metadata_by_id4_xx_response_spec.rb
434
- - spec/models/get_volume_group_stats200_response_spec.rb
435
- - spec/models/get_volume_group_stats4_xx_response_spec.rb
436
- - spec/models/list_category_associations_by_volume_group_id200_response_spec.rb
437
- - spec/models/list_category_associations_by_volume_group_id4_xx_response_spec.rb
438
- - spec/models/list_external_iscsi_attachments_by_volume_group_id200_response_spec.rb
439
- - spec/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response_spec.rb
440
- - spec/models/list_iscsi_clients200_response_spec.rb
441
- - spec/models/list_iscsi_clients4_xx_response_spec.rb
442
- - spec/models/list_vm_attachments_by_volume_group_id200_response_spec.rb
443
- - spec/models/list_vm_attachments_by_volume_group_id4_xx_response_spec.rb
444
- - spec/models/list_volume_disks_by_volume_group_id200_response_spec.rb
445
- - spec/models/list_volume_disks_by_volume_group_id4_xx_response_spec.rb
446
- - spec/models/list_volume_groups200_response_spec.rb
447
- - spec/models/list_volume_groups4_xx_response_spec.rb
448
- - spec/models/prism_v40_config_task_reference_spec.rb
449
- - spec/models/revert_volume_group202_response_spec.rb
450
- - spec/models/revert_volume_group4_xx_response_spec.rb
451
- - spec/models/update_iscsi_client_by_id202_response_spec.rb
452
- - spec/models/update_iscsi_client_by_id4_xx_response_spec.rb
453
- - spec/models/update_volume_disk_by_id202_response_spec.rb
454
- - spec/models/update_volume_disk_by_id4_xx_response_spec.rb
455
- - spec/models/update_volume_group_by_id202_response_spec.rb
456
- - spec/models/update_volume_group_by_id4_xx_response_spec.rb
457
- - spec/models/volumes_v40_config_associate_category_api_response_spec.rb
458
- - spec/models/volumes_v40_config_attach_iscsi_client_api_response_spec.rb
459
- - spec/models/volumes_v40_config_attach_nvmf_client_api_response_spec.rb
460
- - spec/models/volumes_v40_config_attach_vm_api_response_spec.rb
461
- - spec/models/volumes_v40_config_attachment_type_spec.rb
462
- - spec/models/volumes_v40_config_authentication_type_spec.rb
463
- - spec/models/volumes_v40_config_category_details_spec.rb
464
- - spec/models/volumes_v40_config_category_entity_references_spec.rb
465
- - spec/models/volumes_v40_config_cluster_spec.rb
466
- - spec/models/volumes_v40_config_create_volume_disk_api_response_spec.rb
467
- - spec/models/volumes_v40_config_create_volume_group_api_response_spec.rb
468
- - spec/models/volumes_v40_config_delete_volume_disk_api_response_spec.rb
469
- - spec/models/volumes_v40_config_delete_volume_group_api_response_spec.rb
470
- - spec/models/volumes_v40_config_detach_iscsi_client_api_response_spec.rb
471
- - spec/models/volumes_v40_config_detach_nvmf_client_api_response_spec.rb
472
- - spec/models/volumes_v40_config_detach_vm_api_response_spec.rb
473
- - spec/models/volumes_v40_config_disassociate_category_api_response_spec.rb
474
- - spec/models/volumes_v40_config_disk_storage_features_spec.rb
475
- - spec/models/volumes_v40_config_flash_mode_spec.rb
476
- - spec/models/volumes_v40_config_get_iscsi_client_api_response_data_spec.rb
477
- - spec/models/volumes_v40_config_get_iscsi_client_api_response_spec.rb
478
- - spec/models/volumes_v40_config_get_volume_disk_api_response_data_spec.rb
479
- - spec/models/volumes_v40_config_get_volume_disk_api_response_spec.rb
480
- - spec/models/volumes_v40_config_get_volume_group_api_response_data_spec.rb
481
- - spec/models/volumes_v40_config_get_volume_group_api_response_spec.rb
482
- - spec/models/volumes_v40_config_get_volume_group_metadata_api_response_data_spec.rb
483
- - spec/models/volumes_v40_config_get_volume_group_metadata_api_response_spec.rb
484
- - spec/models/volumes_v40_config_iscsi_client_attachment_spec.rb
485
- - spec/models/volumes_v40_config_iscsi_client_spec.rb
486
- - spec/models/volumes_v40_config_iscsi_features_spec.rb
487
- - spec/models/volumes_v40_config_list_category_associations_api_response_data_spec.rb
488
- - spec/models/volumes_v40_config_list_category_associations_api_response_spec.rb
489
- - spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data_spec.rb
490
- - spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_spec.rb
491
- - spec/models/volumes_v40_config_list_iscsi_clients_api_response_data_spec.rb
492
- - spec/models/volumes_v40_config_list_iscsi_clients_api_response_spec.rb
493
- - spec/models/volumes_v40_config_list_vm_attachments_api_response_data_spec.rb
494
- - spec/models/volumes_v40_config_list_vm_attachments_api_response_spec.rb
495
- - spec/models/volumes_v40_config_list_volume_disks_api_response_data_spec.rb
496
- - spec/models/volumes_v40_config_list_volume_disks_api_response_spec.rb
497
- - spec/models/volumes_v40_config_list_volume_groups_api_response_data_spec.rb
498
- - spec/models/volumes_v40_config_list_volume_groups_api_response_spec.rb
499
- - spec/models/volumes_v40_config_migrate_volume_group_api_response_spec.rb
500
- - spec/models/volumes_v40_config_nvmf_client_attachment_spec.rb
501
- - spec/models/volumes_v40_config_nvmf_client_spec.rb
502
- - spec/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response_spec.rb
503
- - spec/models/volumes_v40_config_protocol_spec.rb
504
- - spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_spec.rb
505
- - spec/models/volumes_v40_config_revert_spec_spec.rb
506
- - spec/models/volumes_v40_config_revert_volume_group_api_response_spec.rb
507
- - spec/models/volumes_v40_config_sharing_status_spec.rb
508
- - spec/models/volumes_v40_config_storage_features_spec.rb
509
- - spec/models/volumes_v40_config_target_param_spec.rb
510
- - spec/models/volumes_v40_config_update_iscsi_client_api_response_data_spec.rb
511
- - spec/models/volumes_v40_config_update_iscsi_client_api_response_spec.rb
512
- - spec/models/volumes_v40_config_update_iscsi_client_by_id_api_response_spec.rb
513
- - spec/models/volumes_v40_config_update_volume_disk_api_response_spec.rb
514
- - spec/models/volumes_v40_config_update_volume_disk_by_id_api_response_spec.rb
515
- - spec/models/volumes_v40_config_update_volume_group_api_response_spec.rb
516
- - spec/models/volumes_v40_config_update_volume_group_by_id_api_response_spec.rb
517
- - spec/models/volumes_v40_config_update_volume_group_metadata_api_response_spec.rb
518
- - spec/models/volumes_v40_config_update_volume_group_metadata_info_api_response_spec.rb
519
- - spec/models/volumes_v40_config_usage_type_spec.rb
520
- - spec/models/volumes_v40_config_vm_attachment_spec.rb
521
- - spec/models/volumes_v40_config_volume_disk_spec.rb
522
- - spec/models/volumes_v40_config_volume_group_attachment_site_spec.rb
523
- - spec/models/volumes_v40_config_volume_group_metadata_spec.rb
524
- - spec/models/volumes_v40_config_volume_group_spec.rb
525
- - spec/models/volumes_v40_error_app_message_spec.rb
526
- - spec/models/volumes_v40_error_error_response_error_spec.rb
527
- - spec/models/volumes_v40_error_error_response_spec.rb
528
- - spec/models/volumes_v40_error_message_severity_spec.rb
529
- - spec/models/volumes_v40_error_schema_validation_error_message_spec.rb
530
- - spec/models/volumes_v40_error_schema_validation_error_spec.rb
531
- - spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_data_spec.rb
532
- - spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_spec.rb
533
- - spec/models/volumes_v40_stats_get_volume_group_stats_api_response_data_spec.rb
534
- - spec/models/volumes_v40_stats_get_volume_group_stats_api_response_spec.rb
535
- - spec/models/volumes_v40_stats_time_value_pair_spec.rb
536
- - spec/models/volumes_v40_stats_volume_disk_stats_spec.rb
537
- - spec/models/volumes_v40_stats_volume_group_stats_spec.rb
538
- - spec/spec_helper.rb
539
386
  homepage: https://openapi-generator.tech
540
387
  licenses:
541
388
  - Apache-2.0
@@ -557,159 +404,4 @@ requirements: []
557
404
  rubygems_version: 3.6.7
558
405
  specification_version: 4
559
406
  summary: Nutanix Volumes API
560
- test_files:
561
- - spec/api/iscsi_clients_api_spec.rb
562
- - spec/api/volume_groups_api_spec.rb
563
- - spec/models/associate_category202_response_spec.rb
564
- - spec/models/associate_category4_xx_response_spec.rb
565
- - spec/models/attach_iscsi_client202_response_spec.rb
566
- - spec/models/attach_iscsi_client4_xx_response_spec.rb
567
- - spec/models/attach_vm202_response_spec.rb
568
- - spec/models/attach_vm4_xx_response_spec.rb
569
- - spec/models/common_v10_config_entity_reference_spec.rb
570
- - spec/models/common_v10_config_entity_type_spec.rb
571
- - spec/models/common_v10_config_flag_spec.rb
572
- - spec/models/common_v10_config_fqdn_spec.rb
573
- - spec/models/common_v10_config_ip_address_or_fqdn_spec.rb
574
- - spec/models/common_v10_config_ipv4_address_spec.rb
575
- - spec/models/common_v10_config_ipv6_address_spec.rb
576
- - spec/models/common_v10_config_kv_pair_spec.rb
577
- - spec/models/common_v10_config_kv_pair_value_spec.rb
578
- - spec/models/common_v10_config_map_of_string_wrapper_spec.rb
579
- - spec/models/common_v10_config_message_severity_spec.rb
580
- - spec/models/common_v10_config_message_spec.rb
581
- - spec/models/common_v10_config_metadata_spec.rb
582
- - spec/models/common_v10_config_tenant_aware_model_spec.rb
583
- - spec/models/common_v10_response_api_link_spec.rb
584
- - spec/models/common_v10_response_api_response_metadata_spec.rb
585
- - spec/models/common_v10_response_externalizable_abstract_model_spec.rb
586
- - spec/models/common_v10_stats_down_sampling_operator_spec.rb
587
- - spec/models/create_volume_disk202_response_spec.rb
588
- - spec/models/create_volume_disk4_xx_response_spec.rb
589
- - spec/models/create_volume_group202_response_spec.rb
590
- - spec/models/create_volume_group4_xx_response_spec.rb
591
- - spec/models/delete_volume_disk_by_id202_response_spec.rb
592
- - spec/models/delete_volume_disk_by_id4_xx_response_spec.rb
593
- - spec/models/delete_volume_group_by_id202_response_spec.rb
594
- - spec/models/delete_volume_group_by_id4_xx_response_spec.rb
595
- - spec/models/detach_iscsi_client202_response_spec.rb
596
- - spec/models/detach_iscsi_client4_xx_response_spec.rb
597
- - spec/models/detach_vm202_response_spec.rb
598
- - spec/models/detach_vm4_xx_response_spec.rb
599
- - spec/models/disassociate_category202_response_spec.rb
600
- - spec/models/disassociate_category4_xx_response_spec.rb
601
- - spec/models/get_iscsi_client_by_id200_response_spec.rb
602
- - spec/models/get_iscsi_client_by_id4_xx_response_spec.rb
603
- - spec/models/get_volume_disk_by_id200_response_spec.rb
604
- - spec/models/get_volume_disk_by_id4_xx_response_spec.rb
605
- - spec/models/get_volume_disk_stats200_response_spec.rb
606
- - spec/models/get_volume_disk_stats4_xx_response_spec.rb
607
- - spec/models/get_volume_group_by_id200_response_spec.rb
608
- - spec/models/get_volume_group_by_id4_xx_response_spec.rb
609
- - spec/models/get_volume_group_metadata_by_id200_response_spec.rb
610
- - spec/models/get_volume_group_metadata_by_id4_xx_response_spec.rb
611
- - spec/models/get_volume_group_stats200_response_spec.rb
612
- - spec/models/get_volume_group_stats4_xx_response_spec.rb
613
- - spec/models/list_category_associations_by_volume_group_id200_response_spec.rb
614
- - spec/models/list_category_associations_by_volume_group_id4_xx_response_spec.rb
615
- - spec/models/list_external_iscsi_attachments_by_volume_group_id200_response_spec.rb
616
- - spec/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response_spec.rb
617
- - spec/models/list_iscsi_clients200_response_spec.rb
618
- - spec/models/list_iscsi_clients4_xx_response_spec.rb
619
- - spec/models/list_vm_attachments_by_volume_group_id200_response_spec.rb
620
- - spec/models/list_vm_attachments_by_volume_group_id4_xx_response_spec.rb
621
- - spec/models/list_volume_disks_by_volume_group_id200_response_spec.rb
622
- - spec/models/list_volume_disks_by_volume_group_id4_xx_response_spec.rb
623
- - spec/models/list_volume_groups200_response_spec.rb
624
- - spec/models/list_volume_groups4_xx_response_spec.rb
625
- - spec/models/prism_v40_config_task_reference_spec.rb
626
- - spec/models/revert_volume_group202_response_spec.rb
627
- - spec/models/revert_volume_group4_xx_response_spec.rb
628
- - spec/models/update_iscsi_client_by_id202_response_spec.rb
629
- - spec/models/update_iscsi_client_by_id4_xx_response_spec.rb
630
- - spec/models/update_volume_disk_by_id202_response_spec.rb
631
- - spec/models/update_volume_disk_by_id4_xx_response_spec.rb
632
- - spec/models/update_volume_group_by_id202_response_spec.rb
633
- - spec/models/update_volume_group_by_id4_xx_response_spec.rb
634
- - spec/models/volumes_v40_config_associate_category_api_response_spec.rb
635
- - spec/models/volumes_v40_config_attach_iscsi_client_api_response_spec.rb
636
- - spec/models/volumes_v40_config_attach_nvmf_client_api_response_spec.rb
637
- - spec/models/volumes_v40_config_attach_vm_api_response_spec.rb
638
- - spec/models/volumes_v40_config_attachment_type_spec.rb
639
- - spec/models/volumes_v40_config_authentication_type_spec.rb
640
- - spec/models/volumes_v40_config_category_details_spec.rb
641
- - spec/models/volumes_v40_config_category_entity_references_spec.rb
642
- - spec/models/volumes_v40_config_cluster_spec.rb
643
- - spec/models/volumes_v40_config_create_volume_disk_api_response_spec.rb
644
- - spec/models/volumes_v40_config_create_volume_group_api_response_spec.rb
645
- - spec/models/volumes_v40_config_delete_volume_disk_api_response_spec.rb
646
- - spec/models/volumes_v40_config_delete_volume_group_api_response_spec.rb
647
- - spec/models/volumes_v40_config_detach_iscsi_client_api_response_spec.rb
648
- - spec/models/volumes_v40_config_detach_nvmf_client_api_response_spec.rb
649
- - spec/models/volumes_v40_config_detach_vm_api_response_spec.rb
650
- - spec/models/volumes_v40_config_disassociate_category_api_response_spec.rb
651
- - spec/models/volumes_v40_config_disk_storage_features_spec.rb
652
- - spec/models/volumes_v40_config_flash_mode_spec.rb
653
- - spec/models/volumes_v40_config_get_iscsi_client_api_response_data_spec.rb
654
- - spec/models/volumes_v40_config_get_iscsi_client_api_response_spec.rb
655
- - spec/models/volumes_v40_config_get_volume_disk_api_response_data_spec.rb
656
- - spec/models/volumes_v40_config_get_volume_disk_api_response_spec.rb
657
- - spec/models/volumes_v40_config_get_volume_group_api_response_data_spec.rb
658
- - spec/models/volumes_v40_config_get_volume_group_api_response_spec.rb
659
- - spec/models/volumes_v40_config_get_volume_group_metadata_api_response_data_spec.rb
660
- - spec/models/volumes_v40_config_get_volume_group_metadata_api_response_spec.rb
661
- - spec/models/volumes_v40_config_iscsi_client_attachment_spec.rb
662
- - spec/models/volumes_v40_config_iscsi_client_spec.rb
663
- - spec/models/volumes_v40_config_iscsi_features_spec.rb
664
- - spec/models/volumes_v40_config_list_category_associations_api_response_data_spec.rb
665
- - spec/models/volumes_v40_config_list_category_associations_api_response_spec.rb
666
- - spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data_spec.rb
667
- - spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_spec.rb
668
- - spec/models/volumes_v40_config_list_iscsi_clients_api_response_data_spec.rb
669
- - spec/models/volumes_v40_config_list_iscsi_clients_api_response_spec.rb
670
- - spec/models/volumes_v40_config_list_vm_attachments_api_response_data_spec.rb
671
- - spec/models/volumes_v40_config_list_vm_attachments_api_response_spec.rb
672
- - spec/models/volumes_v40_config_list_volume_disks_api_response_data_spec.rb
673
- - spec/models/volumes_v40_config_list_volume_disks_api_response_spec.rb
674
- - spec/models/volumes_v40_config_list_volume_groups_api_response_data_spec.rb
675
- - spec/models/volumes_v40_config_list_volume_groups_api_response_spec.rb
676
- - spec/models/volumes_v40_config_migrate_volume_group_api_response_spec.rb
677
- - spec/models/volumes_v40_config_nvmf_client_attachment_spec.rb
678
- - spec/models/volumes_v40_config_nvmf_client_spec.rb
679
- - spec/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response_spec.rb
680
- - spec/models/volumes_v40_config_protocol_spec.rb
681
- - spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_spec.rb
682
- - spec/models/volumes_v40_config_revert_spec_spec.rb
683
- - spec/models/volumes_v40_config_revert_volume_group_api_response_spec.rb
684
- - spec/models/volumes_v40_config_sharing_status_spec.rb
685
- - spec/models/volumes_v40_config_storage_features_spec.rb
686
- - spec/models/volumes_v40_config_target_param_spec.rb
687
- - spec/models/volumes_v40_config_update_iscsi_client_api_response_data_spec.rb
688
- - spec/models/volumes_v40_config_update_iscsi_client_api_response_spec.rb
689
- - spec/models/volumes_v40_config_update_iscsi_client_by_id_api_response_spec.rb
690
- - spec/models/volumes_v40_config_update_volume_disk_api_response_spec.rb
691
- - spec/models/volumes_v40_config_update_volume_disk_by_id_api_response_spec.rb
692
- - spec/models/volumes_v40_config_update_volume_group_api_response_spec.rb
693
- - spec/models/volumes_v40_config_update_volume_group_by_id_api_response_spec.rb
694
- - spec/models/volumes_v40_config_update_volume_group_metadata_api_response_spec.rb
695
- - spec/models/volumes_v40_config_update_volume_group_metadata_info_api_response_spec.rb
696
- - spec/models/volumes_v40_config_usage_type_spec.rb
697
- - spec/models/volumes_v40_config_vm_attachment_spec.rb
698
- - spec/models/volumes_v40_config_volume_disk_spec.rb
699
- - spec/models/volumes_v40_config_volume_group_attachment_site_spec.rb
700
- - spec/models/volumes_v40_config_volume_group_metadata_spec.rb
701
- - spec/models/volumes_v40_config_volume_group_spec.rb
702
- - spec/models/volumes_v40_error_app_message_spec.rb
703
- - spec/models/volumes_v40_error_error_response_error_spec.rb
704
- - spec/models/volumes_v40_error_error_response_spec.rb
705
- - spec/models/volumes_v40_error_message_severity_spec.rb
706
- - spec/models/volumes_v40_error_schema_validation_error_message_spec.rb
707
- - spec/models/volumes_v40_error_schema_validation_error_spec.rb
708
- - spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_data_spec.rb
709
- - spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_spec.rb
710
- - spec/models/volumes_v40_stats_get_volume_group_stats_api_response_data_spec.rb
711
- - spec/models/volumes_v40_stats_get_volume_group_stats_api_response_spec.rb
712
- - spec/models/volumes_v40_stats_time_value_pair_spec.rb
713
- - spec/models/volumes_v40_stats_volume_disk_stats_spec.rb
714
- - spec/models/volumes_v40_stats_volume_group_stats_spec.rb
715
- - spec/spec_helper.rb
407
+ test_files: []
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 13.0.1'
7
- gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
9
- end
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "nutanix_volumes"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require "irb"
15
- IRB.start(__FILE__)
data/bin/openapi-generate DELETED
@@ -1,26 +0,0 @@
1
- #!/bin/bash
2
-
3
- if [ -z "$INPUT_SPEC_VERSION" ]; then
4
- echo "ERROR: INPUT_SPEC_VERSION must be set"
5
- exit 1
6
- fi
7
-
8
- if [ -z "$OPENAPI_GENERATOR_JAR" ]; then
9
- # Detect the latest version of the openapi-generator-cli package
10
- version=`wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/maven-metadata.xml -O - 2>/dev/null | xq -x "//metadata/versioning/latest"`
11
- OPENAPI_GENERATOR_JAR=openapi-generator-cli-$version.jar
12
-
13
- # Download the openapi-generator-cli jar if we don't already have it locally
14
- if [ ! -f "$OPENAPI_GENERATOR_JAR" ]; then
15
- echo "Downloading '$OPENAPI_GENERATOR_JAR'..."
16
- wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/$OPENAPI_GENERATOR_JAR
17
- fi
18
- fi
19
-
20
- # Clear out any existing files in paths that are autogenerated to prevent deleted files
21
- # from remaining after running the generate
22
- rm -rf ./docs ./lib ./spec
23
-
24
- # Generate the gem from the current openapi-spec
25
- input_spec=https://developers.nutanix.com/api/v1/namespaces/volumes/versions/$INPUT_SPEC_VERSION/yaml
26
- java -jar $OPENAPI_GENERATOR_JAR generate --input-spec $input_spec --skip-validate-spec --generator-name ruby --config .openapi-config.json
@@ -1,39 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- =begin
4
- #Nutanix Volumes APIs
5
-
6
- #Configure volumes.
7
-
8
- The version of the OpenAPI document: 4.0
9
-
10
- Generated by: https://openapi-generator.tech
11
- Generator version: 7.9.0
12
-
13
- =end
14
-
15
- $:.push File.expand_path("../lib", __FILE__)
16
- require "nutanix_volumes/version"
17
-
18
- Gem::Specification.new do |s|
19
- s.name = "nutanix_volumes"
20
- s.version = NutanixVolumes::VERSION
21
- s.platform = Gem::Platform::RUBY
22
- s.authors = ["ManageIQ Developers"]
23
- s.email = [""]
24
- s.homepage = "https://openapi-generator.tech"
25
- s.summary = "Nutanix Volumes API"
26
- s.description = "Ruby gem for Nutanix Volume Management APIs"
27
- s.license = "Apache-2.0"
28
- s.required_ruby_version = ">= 2.7"
29
- s.metadata = {}
30
-
31
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
32
-
33
- s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
-
35
- s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
- s.test_files = `find spec/*`.split("\n")
37
- s.executables = []
38
- s.require_paths = ["lib"]
39
- end
Binary file
@@ -1,79 +0,0 @@
1
- =begin
2
- #Nutanix Volumes APIs
3
-
4
- #Configure volumes.
5
-
6
- The version of the OpenAPI document: 4.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.17.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for NutanixVolumes::IscsiClientsApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'IscsiClientsApi' do
20
- before do
21
- # run before each test
22
- @api_instance = NutanixVolumes::IscsiClientsApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of IscsiClientsApi' do
30
- it 'should create an instance of IscsiClientsApi' do
31
- expect(@api_instance).to be_instance_of(NutanixVolumes::IscsiClientsApi)
32
- end
33
- end
34
-
35
- # unit tests for get_iscsi_client_by_id
36
- # Fetch an iSCSI client details
37
- # Fetches the iSCSI client details identified by {extId}.
38
- # @param ext_id The external identifier of an iSCSI client.
39
- # @param [Hash] opts the optional parameters
40
- # @return [GetIscsiClientById200Response]
41
- describe 'get_iscsi_client_by_id test' do
42
- it 'should work' do
43
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
- end
45
- end
46
-
47
- # unit tests for list_iscsi_clients
48
- # List all the iSCSI clients
49
- # Fetches the list of iSCSI clients.
50
- # @param [Hash] opts the optional parameters
51
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
52
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
53
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - clusterReference - extId
54
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - clusterReference - extId
55
- # @option opts [String] :expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - cluster
56
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - clusterReference - extId
57
- # @return [ListIscsiClients200Response]
58
- describe 'list_iscsi_clients test' do
59
- it 'should work' do
60
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- end
62
- end
63
-
64
- # unit tests for update_iscsi_client_by_id
65
- # Update an iSCSI client
66
- # Modifies the details of an existing iSCSI client configuration identified by {extId}.
67
- # @param ext_id The external identifier of an iSCSI client.
68
- # @param if_match The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
69
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
70
- # @param volumes_v40_config_iscsi_client A model that represents an iSCSI client that can be associated with a Volume Group as an external attachment.
71
- # @param [Hash] opts the optional parameters
72
- # @return [UpdateIscsiClientById202Response]
73
- describe 'update_iscsi_client_by_id test' do
74
- it 'should work' do
75
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
76
- end
77
- end
78
-
79
- end