vsphere-automation-cis 0.1.0 → 0.2.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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +11 -1
  3. data/Gemfile.lock +39 -36
  4. data/README.md +14 -7
  5. data/Rakefile +8 -0
  6. data/docs/CisTaggingTagAssociationBatchResult.md +1 -1
  7. data/docs/CisTaskInfo.md +1 -1
  8. data/docs/CisTasksGetSpec.md +2 -2
  9. data/docs/CisTasksListResultValue.md +1 -1
  10. data/docs/FilterSpecTargets.md +1 -1
  11. data/docs/SessionApi.md +26 -6
  12. data/docs/TaggingCategoryApi.md +104 -39
  13. data/docs/TaggingTagApi.md +118 -44
  14. data/docs/TaggingTagAssociationApi.md +145 -64
  15. data/docs/TasksApi.md +40 -17
  16. data/lib/vsphere-automation-cis/api/session_api.rb +10 -12
  17. data/lib/vsphere-automation-cis/api/tagging_category_api.rb +79 -70
  18. data/lib/vsphere-automation-cis/api/tagging_tag_api.rb +96 -76
  19. data/lib/vsphere-automation-cis/api/tagging_tag_association_api.rb +140 -120
  20. data/lib/vsphere-automation-cis/api/tasks_api.rb +33 -24
  21. data/lib/vsphere-automation-cis/api_client.rb +9 -5
  22. data/lib/vsphere-automation-cis/api_error.rb +4 -6
  23. data/lib/vsphere-automation-cis/configuration.rb +18 -6
  24. data/lib/vsphere-automation-cis/models/cis_session_create_result.rb +4 -6
  25. data/lib/vsphere-automation-cis/models/cis_session_info.rb +4 -6
  26. data/lib/vsphere-automation-cis/models/cis_session_result.rb +4 -6
  27. data/lib/vsphere-automation-cis/models/cis_tagging_category_add_to_used_by.rb +4 -6
  28. data/lib/vsphere-automation-cis/models/cis_tagging_category_create.rb +4 -6
  29. data/lib/vsphere-automation-cis/models/cis_tagging_category_create_result.rb +4 -6
  30. data/lib/vsphere-automation-cis/models/cis_tagging_category_create_spec.rb +4 -6
  31. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_result.rb +4 -6
  32. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories.rb +4 -6
  33. data/lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories_result.rb +4 -6
  34. data/lib/vsphere-automation-cis/models/cis_tagging_category_model.rb +4 -6
  35. data/lib/vsphere-automation-cis/models/cis_tagging_category_model_cardinality.rb +6 -8
  36. data/lib/vsphere-automation-cis/models/cis_tagging_category_remove_from_used_by.rb +4 -6
  37. data/lib/vsphere-automation-cis/models/cis_tagging_category_result.rb +4 -6
  38. data/lib/vsphere-automation-cis/models/cis_tagging_category_update.rb +4 -6
  39. data/lib/vsphere-automation-cis/models/cis_tagging_category_update_spec.rb +4 -6
  40. data/lib/vsphere-automation-cis/models/cis_tagging_tag_add_to_used_by.rb +4 -6
  41. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach.rb +4 -6
  42. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb +4 -6
  43. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result.rb +4 -6
  44. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects.rb +4 -6
  45. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result.rb +4 -6
  46. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_batch_result.rb +5 -7
  47. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach.rb +4 -6
  48. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object.rb +4 -6
  49. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result.rb +4 -6
  50. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects.rb +4 -6
  51. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result.rb +4 -6
  52. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags.rb +4 -6
  53. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags_result.rb +4 -6
  54. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags.rb +4 -6
  55. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags_result.rb +4 -6
  56. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_result.rb +4 -6
  57. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags.rb +4 -6
  58. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects.rb +4 -6
  59. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects_result.rb +4 -6
  60. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_result.rb +4 -6
  61. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_object_to_tags.rb +4 -6
  62. data/lib/vsphere-automation-cis/models/cis_tagging_tag_association_tag_to_objects.rb +4 -6
  63. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create.rb +4 -6
  64. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_result.rb +4 -6
  65. data/lib/vsphere-automation-cis/models/cis_tagging_tag_create_spec.rb +4 -6
  66. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_result.rb +4 -6
  67. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_tags_for_category_result.rb +4 -6
  68. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags.rb +4 -6
  69. data/lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags_result.rb +4 -6
  70. data/lib/vsphere-automation-cis/models/cis_tagging_tag_model.rb +4 -6
  71. data/lib/vsphere-automation-cis/models/cis_tagging_tag_remove_from_used_by.rb +4 -6
  72. data/lib/vsphere-automation-cis/models/cis_tagging_tag_result.rb +4 -6
  73. data/lib/vsphere-automation-cis/models/cis_tagging_tag_update.rb +4 -6
  74. data/lib/vsphere-automation-cis/models/cis_tagging_tag_update_spec.rb +4 -6
  75. data/lib/vsphere-automation-cis/models/cis_task_info.rb +5 -7
  76. data/lib/vsphere-automation-cis/models/cis_task_progress.rb +4 -6
  77. data/lib/vsphere-automation-cis/models/cis_task_status.rb +9 -11
  78. data/lib/vsphere-automation-cis/models/cis_tasks_filter_spec.rb +4 -6
  79. data/lib/vsphere-automation-cis/models/cis_tasks_get_spec.rb +6 -8
  80. data/lib/vsphere-automation-cis/models/cis_tasks_list_result.rb +4 -6
  81. data/lib/vsphere-automation-cis/models/cis_tasks_list_result_value.rb +17 -19
  82. data/lib/vsphere-automation-cis/models/cis_tasks_result.rb +4 -6
  83. data/lib/vsphere-automation-cis/models/filter_spec_targets.rb +23 -25
  84. data/lib/vsphere-automation-cis/models/vapi_std_dynamic_id.rb +4 -6
  85. data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists.rb +4 -6
  86. data/lib/vsphere-automation-cis/models/vapi_std_errors_already_exists_error.rb +4 -6
  87. data/lib/vsphere-automation-cis/models/vapi_std_errors_error.rb +4 -6
  88. data/lib/vsphere-automation-cis/models/vapi_std_errors_error_error.rb +4 -6
  89. data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument.rb +4 -6
  90. data/lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument_error.rb +4 -6
  91. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
  92. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
  93. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found.rb +4 -6
  94. data/lib/vsphere-automation-cis/models/vapi_std_errors_not_found_error.rb +4 -6
  95. data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible.rb +4 -6
  96. data/lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible_error.rb +4 -6
  97. data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable.rb +4 -6
  98. data/lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable_error.rb +4 -6
  99. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated.rb +4 -6
  100. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated_error.rb +4 -6
  101. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized.rb +4 -6
  102. data/lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized_error.rb +4 -6
  103. data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported.rb +4 -6
  104. data/lib/vsphere-automation-cis/models/vapi_std_errors_unsupported_error.rb +4 -6
  105. data/lib/vsphere-automation-cis/models/vapi_std_localizable_message.rb +4 -6
  106. data/lib/vsphere-automation-cis/version.rb +5 -7
  107. data/lib/vsphere-automation-cis.rb +7 -9
  108. data/pkg/vsphere-automation-cis-0.2.0.gem +0 -0
  109. data/spec/api/session_api_spec.rb +4 -6
  110. data/spec/api/tagging_category_api_spec.rb +10 -11
  111. data/spec/api/tagging_tag_api_spec.rb +11 -11
  112. data/spec/api/tagging_tag_association_api_spec.rb +16 -16
  113. data/spec/api/tasks_api_spec.rb +9 -10
  114. data/spec/api_client_spec.rb +4 -6
  115. data/spec/configuration_spec.rb +4 -6
  116. data/spec/models/cis_session_create_result_spec.rb +4 -6
  117. data/spec/models/cis_session_info_spec.rb +4 -6
  118. data/spec/models/cis_session_result_spec.rb +4 -6
  119. data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +4 -6
  120. data/spec/models/cis_tagging_category_create_result_spec.rb +4 -6
  121. data/spec/models/cis_tagging_category_create_spec.rb +4 -6
  122. data/spec/models/cis_tagging_category_create_spec_spec.rb +4 -6
  123. data/spec/models/cis_tagging_category_list_result_spec.rb +4 -6
  124. data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +4 -6
  125. data/spec/models/cis_tagging_category_list_used_categories_spec.rb +4 -6
  126. data/spec/models/cis_tagging_category_model_cardinality_spec.rb +4 -6
  127. data/spec/models/cis_tagging_category_model_spec.rb +4 -6
  128. data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +4 -6
  129. data/spec/models/cis_tagging_category_result_spec.rb +4 -6
  130. data/spec/models/cis_tagging_category_update_spec.rb +4 -6
  131. data/spec/models/cis_tagging_category_update_spec_spec.rb +4 -6
  132. data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +4 -6
  133. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +4 -6
  134. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +4 -6
  135. data/spec/models/cis_tagging_tag_association_attach_spec.rb +4 -6
  136. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +4 -6
  137. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +4 -6
  138. data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +4 -6
  139. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +4 -6
  140. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +4 -6
  141. data/spec/models/cis_tagging_tag_association_detach_spec.rb +4 -6
  142. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +4 -6
  143. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +4 -6
  144. data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +4 -6
  145. data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +4 -6
  146. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +4 -6
  147. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +4 -6
  148. data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +4 -6
  149. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +4 -6
  150. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +4 -6
  151. data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +4 -6
  152. data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +4 -6
  153. data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +4 -6
  154. data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +4 -6
  155. data/spec/models/cis_tagging_tag_create_result_spec.rb +4 -6
  156. data/spec/models/cis_tagging_tag_create_spec.rb +4 -6
  157. data/spec/models/cis_tagging_tag_create_spec_spec.rb +4 -6
  158. data/spec/models/cis_tagging_tag_list_result_spec.rb +4 -6
  159. data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +4 -6
  160. data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +4 -6
  161. data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +4 -6
  162. data/spec/models/cis_tagging_tag_model_spec.rb +4 -6
  163. data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +4 -6
  164. data/spec/models/cis_tagging_tag_result_spec.rb +4 -6
  165. data/spec/models/cis_tagging_tag_update_spec.rb +4 -6
  166. data/spec/models/cis_tagging_tag_update_spec_spec.rb +4 -6
  167. data/spec/models/cis_task_info_spec.rb +4 -6
  168. data/spec/models/cis_task_progress_spec.rb +4 -6
  169. data/spec/models/cis_task_status_spec.rb +4 -6
  170. data/spec/models/cis_tasks_filter_spec_spec.rb +4 -6
  171. data/spec/models/cis_tasks_get_spec_spec.rb +4 -6
  172. data/spec/models/cis_tasks_list_result_spec.rb +4 -6
  173. data/spec/models/cis_tasks_list_result_value_spec.rb +6 -8
  174. data/spec/models/cis_tasks_result_spec.rb +4 -6
  175. data/spec/models/filter_spec_targets_spec.rb +6 -8
  176. data/spec/models/vapi_std_dynamic_id_spec.rb +4 -6
  177. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +4 -6
  178. data/spec/models/vapi_std_errors_already_exists_spec.rb +4 -6
  179. data/spec/models/vapi_std_errors_error_error_spec.rb +4 -6
  180. data/spec/models/vapi_std_errors_error_spec.rb +4 -6
  181. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +4 -6
  182. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +4 -6
  183. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
  184. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
  185. data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
  186. data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
  187. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +4 -6
  188. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +4 -6
  189. data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
  190. data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
  191. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
  192. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
  193. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
  194. data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
  195. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +4 -6
  196. data/spec/models/vapi_std_errors_unsupported_spec.rb +4 -6
  197. data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
  198. data/spec/spec_helper.rb +4 -6
  199. data/vsphere-automation-cis.gemspec +11 -14
  200. metadata +18 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85bd25d128fa7092352c6fc0cbfb1b916eab11dc4a9da6e0c5c5cb2267ae542b
4
- data.tar.gz: 4147733b58246c5f871de9922299cd3ec8bba2a84748dc7e0d4d6e98a73e9303
3
+ metadata.gz: d6d81de9534bf198db1cb86218e061011d58b2ec06449c2decdf897623f2fd18
4
+ data.tar.gz: d6285478bad9dbca474b4876dc6f44d32a5db427f8e556f61feda9a574ce80ea
5
5
  SHA512:
6
- metadata.gz: a5c26e1befb57a32b338f57f7c33b9931075181b0e1a271ba50c04062f0c92cdbc94ceb6eb7ec953f11ae652e2c7e6aa91143c9870f4ed7db664a73fe3108b81
7
- data.tar.gz: 01b641a2720f4a343bb2761f8521cfdfd2277ab84b0ecc5145db5d1679087583f08f192ab0c667d31e6dbd857e55c72f57bd3c3bfaa9240d09a480db10b3b5f7
6
+ metadata.gz: d6bbb60d81063be15d1ef4c31bd495e0ad72e71a8be327ca2639fa00f485d738ff4ead2389910d59fe71f069ed2fab3cf08a5654055ea5a1e3710c4581e13080
7
+ data.tar.gz: cde749f86f9e690abd0d0ff81eef762bcddbd342cb90f8da0b58fa5827806aaba536ae290705c43e9509e2a6712a9706d82292887f84c3e0522df538c9bc11af
data/Gemfile CHANGED
@@ -1,3 +1,13 @@
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
+
6
+ # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+
1
9
  source 'https://rubygems.org'
2
10
 
3
- gemspec
11
+ gem 'vsphere-automation-runtime', path: '../runtime'
12
+
13
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,81 +1,84 @@
1
1
  PATH
2
- remote: .
2
+ remote: ../runtime
3
3
  specs:
4
- vsphere-automation-cis (0.1.0)
5
- json (~> 2.1)
4
+ vsphere-automation-runtime (0.2.0)
6
5
  typhoeus (~> 1.3)
7
6
 
7
+ PATH
8
+ remote: .
9
+ specs:
10
+ vsphere-automation-cis (0.2.0)
11
+ vsphere-automation-runtime (~> 0.2.0)
12
+
8
13
  GEM
9
14
  remote: https://rubygems.org/
10
15
  specs:
11
- addressable (2.5.2)
16
+ addressable (2.6.0)
12
17
  public_suffix (>= 2.0.2, < 4.0)
13
18
  ast (2.4.0)
14
19
  coderay (1.1.2)
15
20
  crack (0.4.3)
16
21
  safe_yaml (~> 1.0.0)
17
22
  diff-lcs (1.3)
18
- ethon (0.11.0)
23
+ ethon (0.12.0)
19
24
  ffi (>= 1.3.0)
20
- ffi (1.10.0)
21
- hashdiff (0.3.8)
22
- jaro_winkler (1.5.2)
23
- json (2.1.0)
24
- method_source (0.9.0)
25
- parallel (1.12.1)
26
- parser (2.5.3.0)
25
+ ffi (1.11.1)
26
+ hashdiff (1.0.0)
27
+ jaro_winkler (1.5.3)
28
+ method_source (0.9.2)
29
+ parallel (1.17.0)
30
+ parser (2.6.3.0)
27
31
  ast (~> 2.4.0)
28
- powerpack (0.1.2)
29
- pry (0.11.3)
32
+ pry (0.12.2)
30
33
  coderay (~> 1.1.0)
31
34
  method_source (~> 0.9.0)
32
- public_suffix (3.0.3)
35
+ public_suffix (3.1.1)
33
36
  rainbow (3.0.0)
34
- rake (12.3.2)
37
+ rake (12.3.3)
35
38
  rspec (3.8.0)
36
39
  rspec-core (~> 3.8.0)
37
40
  rspec-expectations (~> 3.8.0)
38
41
  rspec-mocks (~> 3.8.0)
39
- rspec-core (3.8.0)
42
+ rspec-core (3.8.2)
40
43
  rspec-support (~> 3.8.0)
41
- rspec-expectations (3.8.1)
44
+ rspec-expectations (3.8.4)
42
45
  diff-lcs (>= 1.2.0, < 2.0)
43
46
  rspec-support (~> 3.8.0)
44
- rspec-mocks (3.8.0)
47
+ rspec-mocks (3.8.1)
45
48
  diff-lcs (>= 1.2.0, < 2.0)
46
49
  rspec-support (~> 3.8.0)
47
- rspec-support (3.8.0)
48
- rubocop (0.58.2)
50
+ rspec-support (3.8.2)
51
+ rubocop (0.73.0)
49
52
  jaro_winkler (~> 1.5.1)
50
53
  parallel (~> 1.10)
51
- parser (>= 2.5, != 2.5.1.1)
52
- powerpack (~> 0.1)
54
+ parser (>= 2.6)
53
55
  rainbow (>= 2.2.2, < 4.0)
54
56
  ruby-progressbar (~> 1.7)
55
- unicode-display_width (~> 1.0, >= 1.0.1)
56
- ruby-progressbar (1.10.0)
57
- safe_yaml (1.0.4)
57
+ unicode-display_width (>= 1.4.0, < 1.7)
58
+ ruby-progressbar (1.10.1)
59
+ safe_yaml (1.0.5)
58
60
  typhoeus (1.3.1)
59
61
  ethon (>= 0.9.0)
60
- unicode-display_width (1.4.1)
61
- vcr (4.0.0)
62
- webmock (3.5.1)
62
+ unicode-display_width (1.6.0)
63
+ vcr (5.0.0)
64
+ webmock (3.6.2)
63
65
  addressable (>= 2.3.6)
64
66
  crack (>= 0.3.2)
65
- hashdiff
67
+ hashdiff (>= 0.4.0, < 2.0.0)
66
68
 
67
69
  PLATFORMS
68
70
  ruby
69
71
 
70
72
  DEPENDENCIES
71
- bundler (~> 1.16)
72
- pry (~> 0.11.3)
73
+ bundler (~> 2.0)
74
+ pry (~> 0.12.2)
73
75
  rake (~> 12.3)
74
76
  rspec (~> 3.7)
75
- rubocop (~> 0.58.2)
76
- vcr (~> 4.0)
77
+ rubocop (~> 0.73.0)
78
+ vcr (~> 5.0)
77
79
  vsphere-automation-cis!
78
- webmock (~> 3.4)
80
+ vsphere-automation-runtime!
81
+ webmock (~> 3.6)
79
82
 
80
83
  BUNDLED WITH
81
- 1.17.3
84
+ 2.0.2
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The Ruby gem for the vSphere CIS API
4
4
 
5
5
  - API version: 2.0.0
6
- - Package version: 0.1.0
6
+ - Package version: 0.2.0
7
7
 
8
8
  ## Installation
9
9
 
@@ -29,6 +29,13 @@ Please follow the [installation](#installation) procedure and then run the follo
29
29
  # Load the gem
30
30
  require 'vsphere-automation-cis'
31
31
 
32
+ # Setup authorization
33
+ VSphereAutomation.configure do |config|
34
+ # Configure HTTP basic authorization: basic_auth
35
+ config.username = 'YOUR USERNAME'
36
+ config.password = 'YOUR PASSWORD'
37
+ end
38
+
32
39
  api_instance = VSphereAutomation::CIS::SessionApi.new
33
40
  vmware_use_header_authn = 'vmware_use_header_authn_example' # String | Custom header to protect against CSRF attacks in browser based clients
34
41
 
@@ -57,22 +64,22 @@ Class | Method | HTTP request | Description
57
64
  `VSphereAutomation::CIS::TaggingCategoryApi` | [**get**](docs/TaggingCategoryApi.md#get) | **GET** /com/vmware/cis/tagging/category/id:{category_id} | Fetches the category information for the given category identifier. In order to view the category information, you need the read privilege on the category.
58
65
  `VSphereAutomation::CIS::TaggingCategoryApi` | [**list**](docs/TaggingCategoryApi.md#list) | **GET** /com/vmware/cis/tagging/category | Enumerates the categories in the system. To invoke this {@term operation}, you need the read privilege on the individual categories. The {@term list} will only contain those categories for which you have read privileges.
59
66
  `VSphereAutomation::CIS::TaggingCategoryApi` | [**list_used_categories**](docs/TaggingCategoryApi.md#list_used_categories) | **POST** /com/vmware/cis/tagging/category?~action&#x3D;list-used-categories | Enumerates all categories for which the {@param.name usedByEntity} is part of the {@link CategoryModel#usedBy} subscribers {@term set}. To invoke this {@term operation}, you need the read privilege on the individual categories.
60
- `VSphereAutomation::CIS::TaggingCategoryApi` | [**remove_from_used_by**](docs/TaggingCategoryApi.md#remove_from_used_by) | **POST** /com/vmware/cis/tagging/category/id:{category_id}?~action&#x3D;remove-from-used-by | Removes the {@param.name usedByEntity} from the {@link CategoryModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is not using this category, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link CategoryModel#usedBy} privilege on the category.
67
+ `VSphereAutomation::CIS::TaggingCategoryApi` | [**remove_from_used_by**](docs/TaggingCategoryApi.md#remove_from_used_by) | **POST** /com/vmware/cis/tagging/category/id:{category_id} | Removes the {@param.name usedByEntity} from the {@link CategoryModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is not using this category, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link CategoryModel#usedBy} privilege on the category.
61
68
  `VSphereAutomation::CIS::TaggingCategoryApi` | [**revoke_propagating_permissions**](docs/TaggingCategoryApi.md#revoke_propagating_permissions) | **POST** /com/vmware/cis/tagging/category/id:{category_id}?~action&#x3D;revoke-propagating-permissions | Revokes all propagating permissions on the given category. You should then attach a direct permission with tagging privileges on the given category. To invoke this {@term operation}, you need category related privileges (direct or propagating) on the concerned category.
62
69
  `VSphereAutomation::CIS::TaggingCategoryApi` | [**update**](docs/TaggingCategoryApi.md#update) | **PATCH** /com/vmware/cis/tagging/category/id:{category_id} | Updates an existing category. To invoke this {@term operation}, you need the edit privilege on the category.
63
- `VSphereAutomation::CIS::TaggingTagApi` | [**add_to_used_by**](docs/TaggingTagApi.md#add_to_used_by) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action&#x3D;add-to-used-by | Adds the {@param.name usedByEntity} to the {@link TagModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is already in the {@term set}, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link TagModel#usedBy} privilege on the tag.
70
+ `VSphereAutomation::CIS::TaggingTagApi` | [**add_to_used_by**](docs/TaggingTagApi.md#add_to_used_by) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id} | Adds the {@param.name usedByEntity} to the {@link TagModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is already in the {@term set}, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link TagModel#usedBy} privilege on the tag.
64
71
  `VSphereAutomation::CIS::TaggingTagApi` | [**create**](docs/TaggingTagApi.md#create) | **POST** /com/vmware/cis/tagging/tag | Creates a tag. To invoke this {@term operation}, you need the create tag privilege on the input category.
65
72
  `VSphereAutomation::CIS::TaggingTagApi` | [**delete**](docs/TaggingTagApi.md#delete) | **DELETE** /com/vmware/cis/tagging/tag/id:{tag_id} | Deletes an existing tag. To invoke this {@term operation}, you need the delete privilege on the tag.
66
73
  `VSphereAutomation::CIS::TaggingTagApi` | [**get**](docs/TaggingTagApi.md#get) | **GET** /com/vmware/cis/tagging/tag/id:{tag_id} | Fetches the tag information for the given tag identifier. To invoke this {@term operation}, you need the read privilege on the tag in order to view the tag info.
67
74
  `VSphereAutomation::CIS::TaggingTagApi` | [**list**](docs/TaggingTagApi.md#list) | **GET** /com/vmware/cis/tagging/tag | Enumerates the tags in the system. To invoke this {@term operation}, you need read privilege on the individual tags. The {@term list} will only contain tags for which you have read privileges.
68
- `VSphereAutomation::CIS::TaggingTagApi` | [**list_tags_for_category**](docs/TaggingTagApi.md#list_tags_for_category) | **POST** /com/vmware/cis/tagging/tag/id:{category_id}?~action&#x3D;list-tags-for-category | Enumerates all tags for the given category. To invoke this {@term operation}, you need the read privilege on the given category and the individual tags in that category.
75
+ `VSphereAutomation::CIS::TaggingTagApi` | [**list_tags_for_category**](docs/TaggingTagApi.md#list_tags_for_category) | **POST** /com/vmware/cis/tagging/tag/id:{category_id} | Enumerates all tags for the given category. To invoke this {@term operation}, you need the read privilege on the given category and the individual tags in that category.
69
76
  `VSphereAutomation::CIS::TaggingTagApi` | [**list_used_tags**](docs/TaggingTagApi.md#list_used_tags) | **POST** /com/vmware/cis/tagging/tag?~action&#x3D;list-used-tags | Enumerates all tags for which the {@param.name usedByEntity} is part of the {@link TagModel#usedBy} subscribers {@term set}. To invoke this {@term operation}, you need the read privilege on the individual tags.
70
77
  `VSphereAutomation::CIS::TaggingTagApi` | [**remove_from_used_by**](docs/TaggingTagApi.md#remove_from_used_by) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action&#x3D;remove-from-used-by | Removes the {@param.name usedByEntity} from the {@link TagModel#usedBy} subscribers set. If the {@param.name usedByEntity} is not using this tag, then this becomes a no-op. To invoke this {@term operation}, you need modify {@link TagModel#usedBy} privilege on the tag.
71
78
  `VSphereAutomation::CIS::TaggingTagApi` | [**revoke_propagating_permissions**](docs/TaggingTagApi.md#revoke_propagating_permissions) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action&#x3D;revoke-propagating-permissions | Revokes all propagating permissions on the given tag. You should then attach a direct permission with tagging privileges on the given tag. To invoke this {@term operation}, you need tag related privileges (direct or propagating) on the concerned tag.
72
79
  `VSphereAutomation::CIS::TaggingTagApi` | [**update**](docs/TaggingTagApi.md#update) | **PATCH** /com/vmware/cis/tagging/tag/id:{tag_id} | Updates an existing tag. To invoke this {@term operation}, you need the edit privilege on the tag.
73
80
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach**](docs/TaggingTagAssociationApi.md#attach) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action&#x3D;attach | Attaches the given tag to the input object. The tag needs to meet the cardinality ({@link CategoryModel#cardinality}) and associability ({@link CategoryModel#associableTypes}) criteria in order to be eligible for attachment. If the tag is already attached to the object, then this {@term operation} is a no-op and an error will not be thrown. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on the object.
74
81
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach_multiple_tags_to_object**](docs/TaggingTagAssociationApi.md#attach_multiple_tags_to_object) | **POST** /com/vmware/cis/tagging/tag-association?~action&#x3D;attach-multiple-tags-to-object | Attaches the given tags to the input object. If a tag is already attached to the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the read privilege on the object and the attach tag privilege on each tag.
75
- `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach_tag_to_multiple_objects**](docs/TaggingTagAssociationApi.md#attach_tag_to_multiple_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action&#x3D;attach-tag-to-multiple-objects | Attaches the given tag to the input objects. If a tag is already attached to the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on each object.
82
+ `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach_tag_to_multiple_objects**](docs/TaggingTagAssociationApi.md#attach_tag_to_multiple_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id} | Attaches the given tag to the input objects. If a tag is already attached to the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on each object.
76
83
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach**](docs/TaggingTagAssociationApi.md#detach) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action&#x3D;detach | Detaches the tag from the given object. If the tag is already removed from the object, then this {@term operation} is a no-op and an error will not be thrown. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on the object.
77
84
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach_multiple_tags_from_object**](docs/TaggingTagAssociationApi.md#detach_multiple_tags_from_object) | **POST** /com/vmware/cis/tagging/tag-association?~action&#x3D;detach-multiple-tags-from-object | Detaches the given tags from the input object. If a tag is already removed from the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the read privilege on the object and the attach tag privilege each tag.
78
85
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach_tag_from_multiple_objects**](docs/TaggingTagAssociationApi.md#detach_tag_from_multiple_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action&#x3D;detach-tag-from-multiple-objects | Detaches the given tag from the input objects. If a tag is already removed from the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on each object.
@@ -80,8 +87,8 @@ Class | Method | HTTP request | Description
80
87
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_objects**](docs/TaggingTagAssociationApi.md#list_attached_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action&#x3D;list-attached-objects | Fetches the {@term list} of attached objects for the given tag. To invoke this {@term operation}, you need the read privilege on the input tag. Only those objects for which you have the read privilege will be returned.
81
88
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_objects_on_tags**](docs/TaggingTagAssociationApi.md#list_attached_objects_on_tags) | **POST** /com/vmware/cis/tagging/tag-association?~action&#x3D;list-attached-objects-on-tags | Fetches the {@term list} of {@link TagToObjects} describing the input tag identifiers and the objects they are attached to. To invoke this {@term operation}, you need the read privilege on each input tag. The {@link TagToObjects#objectIds} will only contain those objects for which you have the read privilege.
82
89
  `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_tags**](docs/TaggingTagAssociationApi.md#list_attached_tags) | **POST** /com/vmware/cis/tagging/tag-association?~action&#x3D;list-attached-tags | Fetches the {@term list} of tags attached to the given object. To invoke this {@term operation}, you need the read privilege on the input object. The {@term list} will only contain those tags for which you have the read privileges.
83
- `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_tags_on_objects**](docs/TaggingTagAssociationApi.md#list_attached_tags_on_objects) | **POST** /com/vmware/cis/tagging/tag-association?~action&#x3D;list-attached-tags-on-objects | Fetches the {@term list} of {@link ObjectToTags} describing the input object identifiers and the tags attached to each object. To invoke this {@term operation}, you need the read privilege on each input object. The {@link ObjectToTags#tagIds} will only contain those tags for which you have the read privilege.
84
- `VSphereAutomation::CIS::TasksApi` | [**cancel**](docs/TasksApi.md#cancel) | **POST** /cis/tasks/{task}?action&#x3D;cancel | Cancel a running operation associated with the task. This is the best effort attempt. Operation may not be cancelled anymore once it reaches certain stage.
90
+ `VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_tags_on_objects**](docs/TaggingTagAssociationApi.md#list_attached_tags_on_objects) | **POST** /com/vmware/cis/tagging/tag-association | Fetches the {@term list} of {@link ObjectToTags} describing the input object identifiers and the tags attached to each object. To invoke this {@term operation}, you need the read privilege on each input object. The {@link ObjectToTags#tagIds} will only contain those tags for which you have the read privilege.
91
+ `VSphereAutomation::CIS::TasksApi` | [**cancel**](docs/TasksApi.md#cancel) | **POST** /cis/tasks/{task} | Cancel a running operation associated with the task. This is the best effort attempt. Operation may not be cancelled anymore once it reaches certain stage.
85
92
  `VSphereAutomation::CIS::TasksApi` | [**get**](docs/TasksApi.md#get) | **GET** /cis/tasks/{task} | Returns information about a task.
86
93
  `VSphereAutomation::CIS::TasksApi` | [**list**](docs/TasksApi.md#list) | **GET** /cis/tasks | Returns information about at most 1000 visible (subject to permission checks) tasks matching the Tasks.FilterSpec. All tasks must be in the same provider.
87
94
 
data/Rakefile CHANGED
@@ -1,3 +1,11 @@
1
+ # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
+
6
+ # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+
1
9
  require "bundler/gem_tasks"
2
10
 
3
11
  begin
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **success** | **BOOLEAN** | This is true if the batch {@term operation} completed without any errors. Otherwise it is false and all or some {@term operations} have failed. |
6
+ **success** | **Boolean** | This is true if the batch {@term operation} completed without any errors. Otherwise it is false and all or some {@term operations} have failed. |
7
7
  **error_messages** | [**Array&lt;VapiStdLocalizableMessage&gt;**](VapiStdLocalizableMessage.md) | The {@term list} of error messages. |
8
8
 
9
9
 
data/docs/CisTaskInfo.md CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **parent** | **String** | Parent of the current task. This field will be unset if the task has no parent. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: cis.task. When operations return a value of this structure as a result, the field will be an identifier for the resource type: cis.task. | [optional]
11
11
  **target** | [**VapiStdDynamicID**](VapiStdDynamicID.md) | | [optional]
12
12
  **status** | [**CisTaskStatus**](CisTaskStatus.md) | |
13
- **cancelable** | **BOOLEAN** | Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses. |
13
+ **cancelable** | **Boolean** | Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses. |
14
14
  **error** | **String** | Description of the error if the operation status is \&quot;FAILED\&quot;. If unset the description of why the operation failed will be included in the result of the operation (see Info.result). | [optional]
15
15
  **start_time** | **DateTime** | Time when the operation is started. This field is optional and it is only relevant when the value of CommonInfo.status is one of RUNNING, BLOCKED, SUCCEEDED, or FAILED. | [optional]
16
16
  **end_time** | **DateTime** | Time when the operation is completed. This field is optional and it is only relevant when the value of CommonInfo.status is one of SUCCEEDED or FAILED. | [optional]
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **return_all** | **BOOLEAN** | If true, all data, including operation-specific data, will be returned, otherwise only the data described in Info will be returned. If unset, only the data described in Info will be returned. | [optional]
7
- **exclude_result** | **BOOLEAN** | If true, the result will not be included in the task information, otherwise it will be included. If unset, the result of the operation will be included in the task information. | [optional]
6
+ **return_all** | **Boolean** | If true, all data, including operation-specific data, will be returned, otherwise only the data described in Info will be returned. If unset, only the data described in Info will be returned. | [optional]
7
+ **exclude_result** | **Boolean** | If true, the result will not be included in the task information, otherwise it will be included. If unset, the result of the operation will be included in the task information. | [optional]
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | [**CisTaskInfo**](CisTaskInfo.md) | | [optional]
7
6
  **key** | **String** | | [optional]
7
+ **value** | [**CisTaskInfo**](CisTaskInfo.md) | | [optional]
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **id** | **String** | The identifier for a resource whose type is specified by {@link #type}. |
7
6
  **type** | **String** | The type of resource being identified (for example {@code com.acme.Person}). &lt;p&gt; {@term Services} that contain {@term operations} for creating and deleting resources typically contain a {@term constant} specifying the resource type for the resources being created and deleted. The API metamodel metadata {@term services} include a {@term service} that allows retrieving all the known resource types. |
7
+ **id** | **String** | The identifier for a resource whose type is specified by {@link #type}. |
8
8
 
9
9
 
data/docs/SessionApi.md CHANGED
@@ -18,6 +18,12 @@ Creates a session with the API. This is the equivalent of login. This operation
18
18
  ```ruby
19
19
  # load the gem
20
20
  require 'vsphere-automation-cis'
21
+ # setup authorization
22
+ VSphereAutomation::Configuration.new.tap do |config|
23
+ # Configure HTTP basic authorization: basic_auth
24
+ config.username = 'YOUR USERNAME'
25
+ config.password = 'YOUR PASSWORD'
26
+ end
21
27
 
22
28
  api_instance = VSphereAutomation::CIS::SessionApi.new
23
29
  vmware_use_header_authn = 'vmware_use_header_authn_example' # String | Custom header to protect against CSRF attacks in browser based clients
@@ -43,12 +49,12 @@ Name | Type | Description | Notes
43
49
 
44
50
  ### Authorization
45
51
 
46
- No authorization required
52
+ [basic_auth](../README.md#basic_auth)
47
53
 
48
54
  ### HTTP request headers
49
55
 
50
56
  - **Content-Type**: Not defined
51
- - **Accept**: */*
57
+ - **Accept**: application/json
52
58
 
53
59
 
54
60
 
@@ -61,6 +67,13 @@ Terminates the validity of a session token. This is the equivalent of log out.
61
67
  ```ruby
62
68
  # load the gem
63
69
  require 'vsphere-automation-cis'
70
+ # setup authorization
71
+ VSphereAutomation::Configuration.new.tap do |config|
72
+ # Configure API key authorization: api_key
73
+ config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
74
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
75
+ #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
76
+ end
64
77
 
65
78
  api_instance = VSphereAutomation::CIS::SessionApi.new
66
79
 
@@ -81,12 +94,12 @@ nil (empty response body)
81
94
 
82
95
  ### Authorization
83
96
 
84
- No authorization required
97
+ [api_key](../README.md#api_key)
85
98
 
86
99
  ### HTTP request headers
87
100
 
88
101
  - **Content-Type**: Not defined
89
- - **Accept**: */*
102
+ - **Accept**: application/json
90
103
 
91
104
 
92
105
 
@@ -99,6 +112,13 @@ Returns information about the current session. This operation expects a valid se
99
112
  ```ruby
100
113
  # load the gem
101
114
  require 'vsphere-automation-cis'
115
+ # setup authorization
116
+ VSphereAutomation::Configuration.new.tap do |config|
117
+ # Configure API key authorization: api_key
118
+ config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
119
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
120
+ #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
121
+ end
102
122
 
103
123
  api_instance = VSphereAutomation::CIS::SessionApi.new
104
124
 
@@ -120,12 +140,12 @@ This endpoint does not need any parameter.
120
140
 
121
141
  ### Authorization
122
142
 
123
- No authorization required
143
+ [api_key](../README.md#api_key)
124
144
 
125
145
  ### HTTP request headers
126
146
 
127
147
  - **Content-Type**: Not defined
128
- - **Accept**: */*
148
+ - **Accept**: application/json
129
149
 
130
150
 
131
151