vsphere-automation-content 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (409) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +229 -0
  5. data/Rakefile +10 -0
  6. data/docs/ConfigurationApi.md +91 -0
  7. data/docs/ContentConfigurationModel.md +11 -0
  8. data/docs/ContentConfigurationResult.md +8 -0
  9. data/docs/ContentConfigurationUpdate.md +8 -0
  10. data/docs/ContentLibraryFind.md +8 -0
  11. data/docs/ContentLibraryFindResult.md +8 -0
  12. data/docs/ContentLibraryFindSpec.md +9 -0
  13. data/docs/ContentLibraryItemCopy.md +9 -0
  14. data/docs/ContentLibraryItemCopyResult.md +8 -0
  15. data/docs/ContentLibraryItemCreate.md +9 -0
  16. data/docs/ContentLibraryItemCreateResult.md +8 -0
  17. data/docs/ContentLibraryItemDownloadSessionCreate.md +9 -0
  18. data/docs/ContentLibraryItemDownloadSessionCreateResult.md +8 -0
  19. data/docs/ContentLibraryItemDownloadSessionFail.md +8 -0
  20. data/docs/ContentLibraryItemDownloadSessionKeepAlive.md +8 -0
  21. data/docs/ContentLibraryItemDownloadSessionListResult.md +8 -0
  22. data/docs/ContentLibraryItemDownloadSessionModel.md +14 -0
  23. data/docs/ContentLibraryItemDownloadSessionModelState.md +7 -0
  24. data/docs/ContentLibraryItemDownloadSessionResult.md +8 -0
  25. data/docs/ContentLibraryItemDownloadsessionFileEndpointType.md +7 -0
  26. data/docs/ContentLibraryItemDownloadsessionFileGet.md +8 -0
  27. data/docs/ContentLibraryItemDownloadsessionFileInfo.md +14 -0
  28. data/docs/ContentLibraryItemDownloadsessionFileListResult.md +8 -0
  29. data/docs/ContentLibraryItemDownloadsessionFilePrepare.md +9 -0
  30. data/docs/ContentLibraryItemDownloadsessionFilePrepareResult.md +8 -0
  31. data/docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md +7 -0
  32. data/docs/ContentLibraryItemDownloadsessionFileResult.md +8 -0
  33. data/docs/ContentLibraryItemFileChecksumAlgorithm.md +7 -0
  34. data/docs/ContentLibraryItemFileChecksumInfo.md +9 -0
  35. data/docs/ContentLibraryItemFileGet.md +8 -0
  36. data/docs/ContentLibraryItemFileInfo.md +12 -0
  37. data/docs/ContentLibraryItemFileListResult.md +8 -0
  38. data/docs/ContentLibraryItemFileResult.md +8 -0
  39. data/docs/ContentLibraryItemFind.md +8 -0
  40. data/docs/ContentLibraryItemFindResult.md +8 -0
  41. data/docs/ContentLibraryItemFindSpec.md +12 -0
  42. data/docs/ContentLibraryItemListResult.md +8 -0
  43. data/docs/ContentLibraryItemModel.md +21 -0
  44. data/docs/ContentLibraryItemResult.md +8 -0
  45. data/docs/ContentLibraryItemStorageGet.md +8 -0
  46. data/docs/ContentLibraryItemStorageInfo.md +14 -0
  47. data/docs/ContentLibraryItemStorageListResult.md +8 -0
  48. data/docs/ContentLibraryItemStorageResult.md +8 -0
  49. data/docs/ContentLibraryItemTransferEndpoint.md +9 -0
  50. data/docs/ContentLibraryItemTransferStatus.md +7 -0
  51. data/docs/ContentLibraryItemUpdate.md +8 -0
  52. data/docs/ContentLibraryItemUpdateSessionCreate.md +9 -0
  53. data/docs/ContentLibraryItemUpdateSessionCreateResult.md +8 -0
  54. data/docs/ContentLibraryItemUpdateSessionFail.md +8 -0
  55. data/docs/ContentLibraryItemUpdateSessionKeepAlive.md +8 -0
  56. data/docs/ContentLibraryItemUpdateSessionListResult.md +8 -0
  57. data/docs/ContentLibraryItemUpdateSessionModel.md +16 -0
  58. data/docs/ContentLibraryItemUpdateSessionModelState.md +7 -0
  59. data/docs/ContentLibraryItemUpdateSessionResult.md +8 -0
  60. data/docs/ContentLibraryItemUpdateSessionUpdate.md +8 -0
  61. data/docs/ContentLibraryItemUpdatesessionCertificateInfo.md +11 -0
  62. data/docs/ContentLibraryItemUpdatesessionFileAdd.md +8 -0
  63. data/docs/ContentLibraryItemUpdatesessionFileAddResult.md +8 -0
  64. data/docs/ContentLibraryItemUpdatesessionFileAddSpec.md +12 -0
  65. data/docs/ContentLibraryItemUpdatesessionFileGet.md +8 -0
  66. data/docs/ContentLibraryItemUpdatesessionFileInfo.md +17 -0
  67. data/docs/ContentLibraryItemUpdatesessionFileListResult.md +8 -0
  68. data/docs/ContentLibraryItemUpdatesessionFileRemove.md +8 -0
  69. data/docs/ContentLibraryItemUpdatesessionFileResult.md +8 -0
  70. data/docs/ContentLibraryItemUpdatesessionFileSourceType.md +7 -0
  71. data/docs/ContentLibraryItemUpdatesessionFileValidateResult.md +8 -0
  72. data/docs/ContentLibraryItemUpdatesessionFileValidationError.md +9 -0
  73. data/docs/ContentLibraryItemUpdatesessionFileValidationResult.md +10 -0
  74. data/docs/ContentLibraryItemUpdatesessionPreviewInfo.md +10 -0
  75. data/docs/ContentLibraryItemUpdatesessionPreviewInfoState.md +7 -0
  76. data/docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md +10 -0
  77. data/docs/ContentLibraryItemUpdatesessionWarningBehavior.md +9 -0
  78. data/docs/ContentLibraryItemUpdatesessionWarningType.md +7 -0
  79. data/docs/ContentLibraryListResult.md +8 -0
  80. data/docs/ContentLibraryModel.md +20 -0
  81. data/docs/ContentLibraryModelLibraryType.md +7 -0
  82. data/docs/ContentLibraryOptimizationInfo.md +8 -0
  83. data/docs/ContentLibraryPublishInfo.md +14 -0
  84. data/docs/ContentLibraryPublishInfoAuthenticationMethod.md +7 -0
  85. data/docs/ContentLibraryResult.md +8 -0
  86. data/docs/ContentLibraryStorageBacking.md +10 -0
  87. data/docs/ContentLibraryStorageBackingType.md +7 -0
  88. data/docs/ContentLibrarySubscribedItemSync.md +8 -0
  89. data/docs/ContentLibrarySubscriptionInfo.md +14 -0
  90. data/docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md +7 -0
  91. data/docs/ContentLibraryUpdate.md +8 -0
  92. data/docs/ContentLocalLibraryCreate.md +9 -0
  93. data/docs/ContentLocalLibraryCreateResult.md +8 -0
  94. data/docs/ContentLocalLibraryListResult.md +8 -0
  95. data/docs/ContentLocalLibraryResult.md +8 -0
  96. data/docs/ContentLocalLibraryUpdate.md +8 -0
  97. data/docs/ContentSubscribedLibraryCreate.md +9 -0
  98. data/docs/ContentSubscribedLibraryCreateResult.md +8 -0
  99. data/docs/ContentSubscribedLibraryListResult.md +8 -0
  100. data/docs/ContentSubscribedLibraryProbe.md +8 -0
  101. data/docs/ContentSubscribedLibraryProbeResult.md +10 -0
  102. data/docs/ContentSubscribedLibraryProbeResultStatus.md +7 -0
  103. data/docs/ContentSubscribedLibraryResult.md +8 -0
  104. data/docs/ContentSubscribedLibraryUpdate.md +8 -0
  105. data/docs/LibraryApi.md +181 -0
  106. data/docs/LibraryItemApi.md +318 -0
  107. data/docs/LibraryItemDownloadSessionApi.md +320 -0
  108. data/docs/LibraryItemDownloadsessionFileApi.md +144 -0
  109. data/docs/LibraryItemFileApi.md +98 -0
  110. data/docs/LibraryItemStorageApi.md +98 -0
  111. data/docs/LibraryItemUpdateSessionApi.md +408 -0
  112. data/docs/LibraryItemUpdatesessionFileApi.md +233 -0
  113. data/docs/LibrarySubscribedItemApi.md +96 -0
  114. data/docs/LocalLibraryApi.md +224 -0
  115. data/docs/SubscribedLibraryApi.md +354 -0
  116. data/docs/VapiStdErrorsConcurrentChange.md +9 -0
  117. data/docs/VapiStdErrorsConcurrentChangeError.md +9 -0
  118. data/docs/VapiStdErrorsInvalidArgument.md +9 -0
  119. data/docs/VapiStdErrorsInvalidArgumentError.md +9 -0
  120. data/docs/VapiStdErrorsInvalidElementConfiguration.md +9 -0
  121. data/docs/VapiStdErrorsInvalidElementConfigurationError.md +9 -0
  122. data/docs/VapiStdErrorsInvalidElementType.md +9 -0
  123. data/docs/VapiStdErrorsInvalidElementTypeError.md +9 -0
  124. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +9 -0
  125. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +9 -0
  126. data/docs/VapiStdErrorsNotFound.md +9 -0
  127. data/docs/VapiStdErrorsNotFoundError.md +9 -0
  128. data/docs/VapiStdErrorsResourceBusy.md +9 -0
  129. data/docs/VapiStdErrorsResourceBusyError.md +9 -0
  130. data/docs/VapiStdErrorsResourceInaccessible.md +9 -0
  131. data/docs/VapiStdErrorsResourceInaccessibleError.md +9 -0
  132. data/docs/VapiStdErrorsUnauthorized.md +9 -0
  133. data/docs/VapiStdErrorsUnauthorizedError.md +9 -0
  134. data/docs/VapiStdErrorsUnsupported.md +9 -0
  135. data/docs/VapiStdErrorsUnsupportedError.md +9 -0
  136. data/docs/VapiStdLocalizableMessage.md +10 -0
  137. data/git_push.sh +55 -0
  138. data/lib/vsphere-automation-content.rb +168 -0
  139. data/lib/vsphere-automation-content/api/configuration_api.rb +122 -0
  140. data/lib/vsphere-automation-content/api/library_api.rb +238 -0
  141. data/lib/vsphere-automation-content/api/library_item_api.rb +416 -0
  142. data/lib/vsphere-automation-content/api/library_item_download_session_api.rb +397 -0
  143. data/lib/vsphere-automation-content/api/library_item_downloadsession_file_api.rb +205 -0
  144. data/lib/vsphere-automation-content/api/library_item_file_api.rb +140 -0
  145. data/lib/vsphere-automation-content/api/library_item_storage_api.rb +140 -0
  146. data/lib/vsphere-automation-content/api/library_item_update_session_api.rb +505 -0
  147. data/lib/vsphere-automation-content/api/library_item_updatesession_file_api.rb +318 -0
  148. data/lib/vsphere-automation-content/api/library_subscribed_item_api.rb +131 -0
  149. data/lib/vsphere-automation-content/api/local_library_api.rb +289 -0
  150. data/lib/vsphere-automation-content/api/subscribed_library_api.rb +444 -0
  151. data/lib/vsphere-automation-content/api_client.rb +386 -0
  152. data/lib/vsphere-automation-content/api_error.rb +36 -0
  153. data/lib/vsphere-automation-content/configuration.rb +200 -0
  154. data/lib/vsphere-automation-content/models/content_configuration_model.rb +214 -0
  155. data/lib/vsphere-automation-content/models/content_configuration_result.rb +188 -0
  156. data/lib/vsphere-automation-content/models/content_configuration_update.rb +188 -0
  157. data/lib/vsphere-automation-content/models/content_library_find.rb +188 -0
  158. data/lib/vsphere-automation-content/models/content_library_find_result.rb +190 -0
  159. data/lib/vsphere-automation-content/models/content_library_find_spec.rb +193 -0
  160. data/lib/vsphere-automation-content/models/content_library_item_copy.rb +198 -0
  161. data/lib/vsphere-automation-content/models/content_library_item_copy_result.rb +188 -0
  162. data/lib/vsphere-automation-content/models/content_library_item_create.rb +198 -0
  163. data/lib/vsphere-automation-content/models/content_library_item_create_result.rb +188 -0
  164. data/lib/vsphere-automation-content/models/content_library_item_download_session_create.rb +198 -0
  165. data/lib/vsphere-automation-content/models/content_library_item_download_session_create_result.rb +188 -0
  166. data/lib/vsphere-automation-content/models/content_library_item_download_session_fail.rb +189 -0
  167. data/lib/vsphere-automation-content/models/content_library_item_download_session_keep_alive.rb +184 -0
  168. data/lib/vsphere-automation-content/models/content_library_item_download_session_list_result.rb +190 -0
  169. data/lib/vsphere-automation-content/models/content_library_item_download_session_model.rb +242 -0
  170. data/lib/vsphere-automation-content/models/content_library_item_download_session_model_state.rb +31 -0
  171. data/lib/vsphere-automation-content/models/content_library_item_download_session_result.rb +188 -0
  172. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_endpoint_type.rb +30 -0
  173. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_get.rb +189 -0
  174. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_info.rb +255 -0
  175. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_list_result.rb +190 -0
  176. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare.rb +198 -0
  177. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare_result.rb +188 -0
  178. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_prepare_status.rb +33 -0
  179. data/lib/vsphere-automation-content/models/content_library_item_downloadsession_file_result.rb +188 -0
  180. data/lib/vsphere-automation-content/models/content_library_item_file_checksum_algorithm.rb +32 -0
  181. data/lib/vsphere-automation-content/models/content_library_item_file_checksum_info.rb +198 -0
  182. data/lib/vsphere-automation-content/models/content_library_item_file_get.rb +189 -0
  183. data/lib/vsphere-automation-content/models/content_library_item_file_info.rb +243 -0
  184. data/lib/vsphere-automation-content/models/content_library_item_file_list_result.rb +190 -0
  185. data/lib/vsphere-automation-content/models/content_library_item_file_result.rb +188 -0
  186. data/lib/vsphere-automation-content/models/content_library_item_find.rb +188 -0
  187. data/lib/vsphere-automation-content/models/content_library_item_find_result.rb +190 -0
  188. data/lib/vsphere-automation-content/models/content_library_item_find_spec.rb +224 -0
  189. data/lib/vsphere-automation-content/models/content_library_item_list_result.rb +190 -0
  190. data/lib/vsphere-automation-content/models/content_library_item_model.rb +314 -0
  191. data/lib/vsphere-automation-content/models/content_library_item_result.rb +188 -0
  192. data/lib/vsphere-automation-content/models/content_library_item_storage_get.rb +189 -0
  193. data/lib/vsphere-automation-content/models/content_library_item_storage_info.rb +274 -0
  194. data/lib/vsphere-automation-content/models/content_library_item_storage_list_result.rb +190 -0
  195. data/lib/vsphere-automation-content/models/content_library_item_storage_result.rb +190 -0
  196. data/lib/vsphere-automation-content/models/content_library_item_transfer_endpoint.rb +199 -0
  197. data/lib/vsphere-automation-content/models/content_library_item_transfer_status.rb +33 -0
  198. data/lib/vsphere-automation-content/models/content_library_item_update.rb +188 -0
  199. data/lib/vsphere-automation-content/models/content_library_item_update_session_create.rb +198 -0
  200. data/lib/vsphere-automation-content/models/content_library_item_update_session_create_result.rb +188 -0
  201. data/lib/vsphere-automation-content/models/content_library_item_update_session_fail.rb +189 -0
  202. data/lib/vsphere-automation-content/models/content_library_item_update_session_keep_alive.rb +184 -0
  203. data/lib/vsphere-automation-content/models/content_library_item_update_session_list_result.rb +190 -0
  204. data/lib/vsphere-automation-content/models/content_library_item_update_session_model.rb +263 -0
  205. data/lib/vsphere-automation-content/models/content_library_item_update_session_model_state.rb +32 -0
  206. data/lib/vsphere-automation-content/models/content_library_item_update_session_result.rb +188 -0
  207. data/lib/vsphere-automation-content/models/content_library_item_update_session_update.rb +188 -0
  208. data/lib/vsphere-automation-content/models/content_library_item_updatesession_certificate_info.rb +234 -0
  209. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add.rb +188 -0
  210. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add_result.rb +188 -0
  211. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_add_spec.rb +231 -0
  212. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_get.rb +189 -0
  213. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_info.rb +288 -0
  214. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_list_result.rb +190 -0
  215. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_remove.rb +189 -0
  216. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_result.rb +188 -0
  217. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_source_type.rb +31 -0
  218. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validate_result.rb +188 -0
  219. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validation_error.rb +203 -0
  220. data/lib/vsphere-automation-content/models/content_library_item_updatesession_file_validation_result.rb +223 -0
  221. data/lib/vsphere-automation-content/models/content_library_item_updatesession_preview_info.rb +209 -0
  222. data/lib/vsphere-automation-content/models/content_library_item_updatesession_preview_info_state.rb +32 -0
  223. data/lib/vsphere-automation-content/models/content_library_item_updatesession_preview_warning_info.rb +217 -0
  224. data/lib/vsphere-automation-content/models/content_library_item_updatesession_warning_behavior.rb +203 -0
  225. data/lib/vsphere-automation-content/models/content_library_item_updatesession_warning_type.rb +32 -0
  226. data/lib/vsphere-automation-content/models/content_library_list_result.rb +190 -0
  227. data/lib/vsphere-automation-content/models/content_library_model.rb +302 -0
  228. data/lib/vsphere-automation-content/models/content_library_model_library_type.rb +30 -0
  229. data/lib/vsphere-automation-content/models/content_library_optimization_info.rb +184 -0
  230. data/lib/vsphere-automation-content/models/content_library_publish_info.rb +243 -0
  231. data/lib/vsphere-automation-content/models/content_library_publish_info_authentication_method.rb +30 -0
  232. data/lib/vsphere-automation-content/models/content_library_result.rb +188 -0
  233. data/lib/vsphere-automation-content/models/content_library_storage_backing.rb +203 -0
  234. data/lib/vsphere-automation-content/models/content_library_storage_backing_type.rb +30 -0
  235. data/lib/vsphere-automation-content/models/content_library_subscribed_item_sync.rb +189 -0
  236. data/lib/vsphere-automation-content/models/content_library_subscription_info.rb +243 -0
  237. data/lib/vsphere-automation-content/models/content_library_subscription_info_authentication_method.rb +30 -0
  238. data/lib/vsphere-automation-content/models/content_library_update.rb +188 -0
  239. data/lib/vsphere-automation-content/models/content_local_library_create.rb +198 -0
  240. data/lib/vsphere-automation-content/models/content_local_library_create_result.rb +188 -0
  241. data/lib/vsphere-automation-content/models/content_local_library_list_result.rb +190 -0
  242. data/lib/vsphere-automation-content/models/content_local_library_result.rb +188 -0
  243. data/lib/vsphere-automation-content/models/content_local_library_update.rb +188 -0
  244. data/lib/vsphere-automation-content/models/content_subscribed_library_create.rb +198 -0
  245. data/lib/vsphere-automation-content/models/content_subscribed_library_create_result.rb +188 -0
  246. data/lib/vsphere-automation-content/models/content_subscribed_library_list_result.rb +190 -0
  247. data/lib/vsphere-automation-content/models/content_subscribed_library_probe.rb +188 -0
  248. data/lib/vsphere-automation-content/models/content_subscribed_library_probe_result.rb +215 -0
  249. data/lib/vsphere-automation-content/models/content_subscribed_library_probe_result_status.rb +36 -0
  250. data/lib/vsphere-automation-content/models/content_subscribed_library_result.rb +188 -0
  251. data/lib/vsphere-automation-content/models/content_subscribed_library_update.rb +188 -0
  252. data/lib/vsphere-automation-content/models/vapi_std_errors_concurrent_change.rb +201 -0
  253. data/lib/vsphere-automation-content/models/vapi_std_errors_concurrent_change_error.rb +192 -0
  254. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_argument.rb +201 -0
  255. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_argument_error.rb +192 -0
  256. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_configuration.rb +201 -0
  257. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_configuration_error.rb +192 -0
  258. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_type.rb +201 -0
  259. data/lib/vsphere-automation-content/models/vapi_std_errors_invalid_element_type_error.rb +192 -0
  260. data/lib/vsphere-automation-content/models/vapi_std_errors_not_allowed_in_current_state.rb +201 -0
  261. data/lib/vsphere-automation-content/models/vapi_std_errors_not_allowed_in_current_state_error.rb +192 -0
  262. data/lib/vsphere-automation-content/models/vapi_std_errors_not_found.rb +201 -0
  263. data/lib/vsphere-automation-content/models/vapi_std_errors_not_found_error.rb +192 -0
  264. data/lib/vsphere-automation-content/models/vapi_std_errors_resource_busy.rb +201 -0
  265. data/lib/vsphere-automation-content/models/vapi_std_errors_resource_busy_error.rb +192 -0
  266. data/lib/vsphere-automation-content/models/vapi_std_errors_resource_inaccessible.rb +201 -0
  267. data/lib/vsphere-automation-content/models/vapi_std_errors_resource_inaccessible_error.rb +192 -0
  268. data/lib/vsphere-automation-content/models/vapi_std_errors_unauthorized.rb +201 -0
  269. data/lib/vsphere-automation-content/models/vapi_std_errors_unauthorized_error.rb +192 -0
  270. data/lib/vsphere-automation-content/models/vapi_std_errors_unsupported.rb +201 -0
  271. data/lib/vsphere-automation-content/models/vapi_std_errors_unsupported_error.rb +192 -0
  272. data/lib/vsphere-automation-content/models/vapi_std_localizable_message.rb +221 -0
  273. data/lib/vsphere-automation-content/version.rb +15 -0
  274. data/spec/api/configuration_api_spec.rb +54 -0
  275. data/spec/api/library_api_spec.rb +77 -0
  276. data/spec/api/library_item_api_spec.rb +112 -0
  277. data/spec/api/library_item_download_session_api_spec.rb +112 -0
  278. data/spec/api/library_item_downloadsession_file_api_spec.rb +68 -0
  279. data/spec/api/library_item_file_api_spec.rb +56 -0
  280. data/spec/api/library_item_storage_api_spec.rb +56 -0
  281. data/spec/api/library_item_update_session_api_spec.rb +135 -0
  282. data/spec/api/library_item_updatesession_file_api_spec.rb +91 -0
  283. data/spec/api/library_subscribed_item_api_spec.rb +56 -0
  284. data/spec/api/local_library_api_spec.rb +88 -0
  285. data/spec/api/subscribed_library_api_spec.rb +121 -0
  286. data/spec/api_client_spec.rb +224 -0
  287. data/spec/configuration_spec.rb +40 -0
  288. data/spec/models/content_configuration_model_spec.rb +57 -0
  289. data/spec/models/content_configuration_result_spec.rb +39 -0
  290. data/spec/models/content_configuration_update_spec.rb +39 -0
  291. data/spec/models/content_library_find_result_spec.rb +39 -0
  292. data/spec/models/content_library_find_spec.rb +39 -0
  293. data/spec/models/content_library_find_spec_spec.rb +45 -0
  294. data/spec/models/content_library_item_copy_result_spec.rb +39 -0
  295. data/spec/models/content_library_item_copy_spec.rb +45 -0
  296. data/spec/models/content_library_item_create_result_spec.rb +39 -0
  297. data/spec/models/content_library_item_create_spec.rb +45 -0
  298. data/spec/models/content_library_item_download_session_create_result_spec.rb +39 -0
  299. data/spec/models/content_library_item_download_session_create_spec.rb +45 -0
  300. data/spec/models/content_library_item_download_session_fail_spec.rb +39 -0
  301. data/spec/models/content_library_item_download_session_keep_alive_spec.rb +39 -0
  302. data/spec/models/content_library_item_download_session_list_result_spec.rb +39 -0
  303. data/spec/models/content_library_item_download_session_model_spec.rb +75 -0
  304. data/spec/models/content_library_item_download_session_model_state_spec.rb +33 -0
  305. data/spec/models/content_library_item_download_session_result_spec.rb +39 -0
  306. data/spec/models/content_library_item_downloadsession_file_endpoint_type_spec.rb +33 -0
  307. data/spec/models/content_library_item_downloadsession_file_get_spec.rb +39 -0
  308. data/spec/models/content_library_item_downloadsession_file_info_spec.rb +75 -0
  309. data/spec/models/content_library_item_downloadsession_file_list_result_spec.rb +39 -0
  310. data/spec/models/content_library_item_downloadsession_file_prepare_result_spec.rb +39 -0
  311. data/spec/models/content_library_item_downloadsession_file_prepare_spec.rb +45 -0
  312. data/spec/models/content_library_item_downloadsession_file_prepare_status_spec.rb +33 -0
  313. data/spec/models/content_library_item_downloadsession_file_result_spec.rb +39 -0
  314. data/spec/models/content_library_item_file_checksum_algorithm_spec.rb +33 -0
  315. data/spec/models/content_library_item_file_checksum_info_spec.rb +45 -0
  316. data/spec/models/content_library_item_file_get_spec.rb +39 -0
  317. data/spec/models/content_library_item_file_info_spec.rb +63 -0
  318. data/spec/models/content_library_item_file_list_result_spec.rb +39 -0
  319. data/spec/models/content_library_item_file_result_spec.rb +39 -0
  320. data/spec/models/content_library_item_find_result_spec.rb +39 -0
  321. data/spec/models/content_library_item_find_spec.rb +39 -0
  322. data/spec/models/content_library_item_find_spec_spec.rb +63 -0
  323. data/spec/models/content_library_item_list_result_spec.rb +39 -0
  324. data/spec/models/content_library_item_model_spec.rb +117 -0
  325. data/spec/models/content_library_item_result_spec.rb +39 -0
  326. data/spec/models/content_library_item_storage_get_spec.rb +39 -0
  327. data/spec/models/content_library_item_storage_info_spec.rb +75 -0
  328. data/spec/models/content_library_item_storage_list_result_spec.rb +39 -0
  329. data/spec/models/content_library_item_storage_result_spec.rb +39 -0
  330. data/spec/models/content_library_item_transfer_endpoint_spec.rb +45 -0
  331. data/spec/models/content_library_item_transfer_status_spec.rb +33 -0
  332. data/spec/models/content_library_item_update_session_create_result_spec.rb +39 -0
  333. data/spec/models/content_library_item_update_session_create_spec.rb +45 -0
  334. data/spec/models/content_library_item_update_session_fail_spec.rb +39 -0
  335. data/spec/models/content_library_item_update_session_keep_alive_spec.rb +39 -0
  336. data/spec/models/content_library_item_update_session_list_result_spec.rb +39 -0
  337. data/spec/models/content_library_item_update_session_model_spec.rb +87 -0
  338. data/spec/models/content_library_item_update_session_model_state_spec.rb +33 -0
  339. data/spec/models/content_library_item_update_session_result_spec.rb +39 -0
  340. data/spec/models/content_library_item_update_session_update_spec.rb +39 -0
  341. data/spec/models/content_library_item_update_spec.rb +39 -0
  342. data/spec/models/content_library_item_updatesession_certificate_info_spec.rb +57 -0
  343. data/spec/models/content_library_item_updatesession_file_add_result_spec.rb +39 -0
  344. data/spec/models/content_library_item_updatesession_file_add_spec.rb +39 -0
  345. data/spec/models/content_library_item_updatesession_file_add_spec_spec.rb +63 -0
  346. data/spec/models/content_library_item_updatesession_file_get_spec.rb +39 -0
  347. data/spec/models/content_library_item_updatesession_file_info_spec.rb +93 -0
  348. data/spec/models/content_library_item_updatesession_file_list_result_spec.rb +39 -0
  349. data/spec/models/content_library_item_updatesession_file_remove_spec.rb +39 -0
  350. data/spec/models/content_library_item_updatesession_file_result_spec.rb +39 -0
  351. data/spec/models/content_library_item_updatesession_file_source_type_spec.rb +33 -0
  352. data/spec/models/content_library_item_updatesession_file_validate_result_spec.rb +39 -0
  353. data/spec/models/content_library_item_updatesession_file_validation_error_spec.rb +45 -0
  354. data/spec/models/content_library_item_updatesession_file_validation_result_spec.rb +51 -0
  355. data/spec/models/content_library_item_updatesession_preview_info_spec.rb +51 -0
  356. data/spec/models/content_library_item_updatesession_preview_info_state_spec.rb +33 -0
  357. data/spec/models/content_library_item_updatesession_preview_warning_info_spec.rb +51 -0
  358. data/spec/models/content_library_item_updatesession_warning_behavior_spec.rb +45 -0
  359. data/spec/models/content_library_item_updatesession_warning_type_spec.rb +33 -0
  360. data/spec/models/content_library_list_result_spec.rb +39 -0
  361. data/spec/models/content_library_model_library_type_spec.rb +33 -0
  362. data/spec/models/content_library_model_spec.rb +111 -0
  363. data/spec/models/content_library_optimization_info_spec.rb +39 -0
  364. data/spec/models/content_library_publish_info_authentication_method_spec.rb +33 -0
  365. data/spec/models/content_library_publish_info_spec.rb +75 -0
  366. data/spec/models/content_library_result_spec.rb +39 -0
  367. data/spec/models/content_library_storage_backing_spec.rb +51 -0
  368. data/spec/models/content_library_storage_backing_type_spec.rb +33 -0
  369. data/spec/models/content_library_subscribed_item_sync_spec.rb +39 -0
  370. data/spec/models/content_library_subscription_info_authentication_method_spec.rb +33 -0
  371. data/spec/models/content_library_subscription_info_spec.rb +75 -0
  372. data/spec/models/content_library_update_spec.rb +39 -0
  373. data/spec/models/content_local_library_create_result_spec.rb +39 -0
  374. data/spec/models/content_local_library_create_spec.rb +45 -0
  375. data/spec/models/content_local_library_list_result_spec.rb +39 -0
  376. data/spec/models/content_local_library_result_spec.rb +39 -0
  377. data/spec/models/content_local_library_update_spec.rb +39 -0
  378. data/spec/models/content_subscribed_library_create_result_spec.rb +39 -0
  379. data/spec/models/content_subscribed_library_create_spec.rb +45 -0
  380. data/spec/models/content_subscribed_library_list_result_spec.rb +39 -0
  381. data/spec/models/content_subscribed_library_probe_result_spec.rb +51 -0
  382. data/spec/models/content_subscribed_library_probe_result_status_spec.rb +33 -0
  383. data/spec/models/content_subscribed_library_probe_spec.rb +39 -0
  384. data/spec/models/content_subscribed_library_result_spec.rb +39 -0
  385. data/spec/models/content_subscribed_library_update_spec.rb +39 -0
  386. data/spec/models/vapi_std_errors_concurrent_change_error_spec.rb +45 -0
  387. data/spec/models/vapi_std_errors_concurrent_change_spec.rb +45 -0
  388. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +45 -0
  389. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +45 -0
  390. data/spec/models/vapi_std_errors_invalid_element_configuration_error_spec.rb +45 -0
  391. data/spec/models/vapi_std_errors_invalid_element_configuration_spec.rb +45 -0
  392. data/spec/models/vapi_std_errors_invalid_element_type_error_spec.rb +45 -0
  393. data/spec/models/vapi_std_errors_invalid_element_type_spec.rb +45 -0
  394. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +45 -0
  395. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +45 -0
  396. data/spec/models/vapi_std_errors_not_found_error_spec.rb +45 -0
  397. data/spec/models/vapi_std_errors_not_found_spec.rb +45 -0
  398. data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +45 -0
  399. data/spec/models/vapi_std_errors_resource_busy_spec.rb +45 -0
  400. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +45 -0
  401. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +45 -0
  402. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +45 -0
  403. data/spec/models/vapi_std_errors_unauthorized_spec.rb +45 -0
  404. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +45 -0
  405. data/spec/models/vapi_std_errors_unsupported_spec.rb +45 -0
  406. data/spec/models/vapi_std_localizable_message_spec.rb +51 -0
  407. data/spec/spec_helper.rb +109 -0
  408. data/vsphere-automation-content.gemspec +44 -0
  409. metadata +725 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bc08ea5ffe4c0e8a0153ba76c9e71b2239d7713e79346f2510dc7128519bcdb5
4
+ data.tar.gz: c8e0ad9e1fc32fbb843e77853414ef752a2846cbd64cd8ca22af63e11bac2291
5
+ SHA512:
6
+ metadata.gz: 2de902b95cf26e55fca81eed72666de3df45e14c43d959d04fdb0c73b131648e8cf3831bbbbc221905ca89f0fe197103b41febf5695247dbdf1293a0ef267003
7
+ data.tar.gz: 90ae8043e4539a138b0d481b9d6522e846291ec9442d412fcb519caec794808fb4356d89e1afa66c37102f43f86045fb9176e26464ef1a731e38ab9899ec233d
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ vsphere-automation-content (0.1.0)
5
+ json (~> 2.1, >= 2.1.0)
6
+ typhoeus (~> 1.0, >= 1.0.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ZenTest (4.11.1)
12
+ addressable (2.5.2)
13
+ public_suffix (>= 2.0.2, < 4.0)
14
+ autotest (4.4.6)
15
+ ZenTest (>= 4.4.1)
16
+ autotest-fsevent (0.2.14)
17
+ sys-uname
18
+ autotest-growl (0.2.16)
19
+ autotest-rails-pure (4.1.2)
20
+ byebug (10.0.2)
21
+ coderay (1.1.2)
22
+ crack (0.4.3)
23
+ safe_yaml (~> 1.0.0)
24
+ diff-lcs (1.3)
25
+ ethon (0.11.0)
26
+ ffi (>= 1.3.0)
27
+ ffi (1.9.25)
28
+ hashdiff (0.3.7)
29
+ json (2.1.0)
30
+ method_source (0.9.0)
31
+ pry (0.11.3)
32
+ coderay (~> 1.1.0)
33
+ method_source (~> 0.9.0)
34
+ pry-byebug (3.6.0)
35
+ byebug (~> 10.0)
36
+ pry (~> 0.10)
37
+ public_suffix (3.0.3)
38
+ rake (12.0.0)
39
+ rspec (3.8.0)
40
+ rspec-core (~> 3.8.0)
41
+ rspec-expectations (~> 3.8.0)
42
+ rspec-mocks (~> 3.8.0)
43
+ rspec-core (3.8.0)
44
+ rspec-support (~> 3.8.0)
45
+ rspec-expectations (3.8.1)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.8.0)
48
+ rspec-mocks (3.8.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-support (3.8.0)
52
+ safe_yaml (1.0.4)
53
+ sys-uname (1.0.3)
54
+ ffi (>= 1.0.0)
55
+ typhoeus (1.3.0)
56
+ ethon (>= 0.9.0)
57
+ vcr (3.0.3)
58
+ webmock (1.24.6)
59
+ addressable (>= 2.3.6)
60
+ crack (>= 0.3.2)
61
+ hashdiff
62
+
63
+ PLATFORMS
64
+ ruby
65
+
66
+ DEPENDENCIES
67
+ autotest (~> 4.4, >= 4.4.6)
68
+ autotest-fsevent (~> 0.2, >= 0.2.12)
69
+ autotest-growl (~> 0.2, >= 0.2.16)
70
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
71
+ vsphere-automation-content!
72
+ pry-byebug
73
+ rake (~> 12.0.0)
74
+ rspec (~> 3.6, >= 3.6.0)
75
+ vcr (~> 3.0, >= 3.0.1)
76
+ webmock (~> 1.24, >= 1.24.3)
77
+
78
+ BUNDLED WITH
79
+ 1.16.1
data/README.md ADDED
@@ -0,0 +1,229 @@
1
+ # vsphere-automation-content
2
+
3
+ The Ruby gem for the vSphere Content API
4
+
5
+ - API version: 2.0.0
6
+ - Package version: 0.1.0
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'vsphere-automation-content'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install vsphere-automation-content
23
+
24
+ ## Getting Started
25
+
26
+ Please follow the [installation](#installation) procedure and then run the following code:
27
+
28
+ ```ruby
29
+ # Load the gem
30
+ require 'vsphere-automation-content'
31
+
32
+ api_instance = VSphereAutomation::Content::ConfigurationApi.new
33
+
34
+ begin
35
+ #Retrieves the current configuration values.
36
+ result = api_instance.get
37
+ p result
38
+ rescue VSphereAutomation::ApiError => e
39
+ puts "Exception when calling ConfigurationApi->get: #{e}"
40
+ end
41
+
42
+ ```
43
+
44
+ ## Documentation for API Endpoints
45
+
46
+ All URIs are relative to *https://&lt;vcenter&gt;/rest*
47
+
48
+ Class | Method | HTTP request | Description
49
+ ------------ | ------------- | ------------- | -------------
50
+ `VSphereAutomation::Content::ConfigurationApi` | [**get**](docs/ConfigurationApi.md#get) | **POST** /com/vmware/content/configuration?~action&#x3D;get | Retrieves the current configuration values.
51
+ `VSphereAutomation::Content::ConfigurationApi` | [**update**](docs/ConfigurationApi.md#update) | **PATCH** /com/vmware/content/configuration | Updates the configuration. The update is incremental. Any {@term field} in the {@link ConfigurationModel} {@term structure} that is {@term unset} will not be modified. Note that this update {@term operation} doesn't guarantee an atomic change of all the properties. In the case of a system crash or failure, some of the properties could be left unchanged while others may be updated.
52
+ `VSphereAutomation::Content::LibraryApi` | [**find**](docs/LibraryApi.md#find) | **POST** /com/vmware/content/library?~action&#x3D;find | Returns a list of all the visible (as determined by authorization policy) libraries matching the requested {@link Library.FindSpec}.
53
+ `VSphereAutomation::Content::LibraryApi` | [**get**](docs/LibraryApi.md#get) | **GET** /com/vmware/content/library/id:{library_id} | Returns a given {@link LibraryModel}.
54
+ `VSphereAutomation::Content::LibraryApi` | [**list**](docs/LibraryApi.md#list) | **GET** /com/vmware/content/library | Returns the identifiers of all libraries of any type in the Content Library.
55
+ `VSphereAutomation::Content::LibraryApi` | [**update**](docs/LibraryApi.md#update) | **PATCH** /com/vmware/content/library/id:{library_id} | Updates the properties of a library. <p> This is an incremental update to the library. Any {@term field} in the {@link LibraryModel} {@term structure} that is {@term unset} will not be modified. <p> This {@term operation} will only update the common properties for all library types. This will not, for example, update the {@link LibraryModel#publishInfo} of a local library, nor the {@link LibraryModel#subscriptionInfo} of a subscribed library. Specific properties are updated in {@link LocalLibrary#update} and {@link SubscribedLibrary#update}.
56
+ `VSphereAutomation::Content::LibraryItemApi` | [**copy**](docs/LibraryItemApi.md#copy) | **POST** /com/vmware/content/library/item/id:{source_library_item_id}?~action&#x3D;copy | Copies a library item. <p> Copying a library item allows a duplicate to be made within the same or different library. The copy occurs by first creating a new library item, whose identifier is returned. The content of the library item is then copied asynchronously. This copy can be tracked as a task. <p> If the copy fails, Content Library Service will roll back the copy by deleting any content that was already copied, and removing the new library item. A failure during rollback may require manual cleanup by an administrator. <p> A library item cannot be copied into a subscribed library.
57
+ `VSphereAutomation::Content::LibraryItemApi` | [**create**](docs/LibraryItemApi.md#create) | **POST** /com/vmware/content/library/item | Creates a new library item. <p> A new library item is created without any content. After creation, content can be added through the {@link UpdateSession} and {@link File} {@term services}. <p> A library item cannot be created in a subscribed library.
58
+ `VSphereAutomation::Content::LibraryItemApi` | [**delete**](docs/LibraryItemApi.md#delete) | **DELETE** /com/vmware/content/library/item/id:{library_item_id} | Deletes a library item. <p> This {@term operation} will immediately remove the item from the library that owns it. The content of the item will be asynchronously removed from the storage backings. The content deletion can be tracked with a task. In the event that the task fails, an administrator may need to manually remove the files from the storage backing. <p> This {@term operation} cannot be used to delete a library item that is a member of a subscribed library. Removing an item from a subscribed library requires deleting the item from the original published local library and syncing the subscribed library.
59
+ `VSphereAutomation::Content::LibraryItemApi` | [**find**](docs/LibraryItemApi.md#find) | **POST** /com/vmware/content/library/item?~action&#x3D;find | Returns identifiers of all the visible (as determined by authorization policy) library items matching the requested {@link Item.FindSpec}.
60
+ `VSphereAutomation::Content::LibraryItemApi` | [**get**](docs/LibraryItemApi.md#get) | **GET** /com/vmware/content/library/item/id:{library_item_id} | Returns the {@link ItemModel} with the given identifier.
61
+ `VSphereAutomation::Content::LibraryItemApi` | [**list**](docs/LibraryItemApi.md#list) | **GET** /com/vmware/content/library/item | Returns the identifiers of all items in the given library.
62
+ `VSphereAutomation::Content::LibraryItemApi` | [**update**](docs/LibraryItemApi.md#update) | **PATCH** /com/vmware/content/library/item/id:{library_item_id} | Updates the specified properties of a library item. <p> This is an incremental update to the library item. {@term Fields} that are {@term unset} in the update specification are left unchanged. <p> This {@term operation} cannot update a library item that is a member of a subscribed library. Those items must be updated in the source published library and synchronized to the subscribed library.
63
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**cancel**](docs/LibraryItemDownloadSessionApi.md#cancel) | **POST** /com/vmware/content/library/item/download-session/id:{download_session_id}?~action&#x3D;cancel | Cancels the download session. This {@term operation} will abort any ongoing transfers and invalidate transfer urls that the client may be downloading from.
64
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**create**](docs/LibraryItemDownloadSessionApi.md#create) | **POST** /com/vmware/content/library/item/download-session | Creates a new download session.
65
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**delete**](docs/LibraryItemDownloadSessionApi.md#delete) | **DELETE** /com/vmware/content/library/item/download-session/id:{download_session_id} | Deletes a download session. This removes the session and all information associated with it. <p> Removing a download session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the transfers will be able to complete). However there will no longer be a means of inspecting the status of those downloads except by seeing the effect on the library item. <p> Download sessions for which there is no download activity or which are complete will automatically be expired and then deleted after a period of time.
66
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**fail**](docs/LibraryItemDownloadSessionApi.md#fail) | **POST** /com/vmware/content/library/item/download-session/id:{download_session_id}?~action&#x3D;fail | Terminates the download session with a client specified error message. <p> This is useful in transmitting client side failures (for example, not being able to download a file) to the server side.
67
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**get**](docs/LibraryItemDownloadSessionApi.md#get) | **GET** /com/vmware/content/library/item/download-session/id:{download_session_id} | Gets the download session with the specified identifier, including the most up-to-date status information for the session.
68
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**keep_alive**](docs/LibraryItemDownloadSessionApi.md#keep_alive) | **POST** /com/vmware/content/library/item/download-session/id:{download_session_id}?~action&#x3D;keep-alive | Keeps a download session alive. This operation is allowed only if the session is in the {@link DownloadSessionModel.State#ACTIVE} state. <p> If there is no activity for a download session for a certain period of time, the download session will expire. The download session expiration timeout is configurable in the Content Library Service system configuration. The default is five minutes. Invoking this {@term operation} enables a client to specifically extend the lifetime of an active download session.
69
+ `VSphereAutomation::Content::LibraryItemDownloadSessionApi` | [**list**](docs/LibraryItemDownloadSessionApi.md#list) | **GET** /com/vmware/content/library/item/download-session | Lists the identifiers of the download sessions created by the calling user. Optionally may filter by library item.
70
+ `VSphereAutomation::Content::LibraryItemDownloadsessionFileApi` | [**get**](docs/LibraryItemDownloadsessionFileApi.md#get) | **POST** /com/vmware/content/library/item/downloadsession/file/id:{download_session_id}?~action&#x3D;get | Retrieves file download information for a specific file.
71
+ `VSphereAutomation::Content::LibraryItemDownloadsessionFileApi` | [**list**](docs/LibraryItemDownloadsessionFileApi.md#list) | **GET** /com/vmware/content/library/item/downloadsession/file | Lists the information of all the files in the library item associated with the download session.
72
+ `VSphereAutomation::Content::LibraryItemDownloadsessionFileApi` | [**prepare**](docs/LibraryItemDownloadsessionFileApi.md#prepare) | **POST** /com/vmware/content/library/item/downloadsession/file/id:{download_session_id}?~action&#x3D;prepare | Requests a file to be prepared for download.
73
+ `VSphereAutomation::Content::LibraryItemFileApi` | [**get**](docs/LibraryItemFileApi.md#get) | **POST** /com/vmware/content/library/item/file/id:{library_item_id}?~action&#x3D;get | Retrieves the information for a single file in a library item by its name.
74
+ `VSphereAutomation::Content::LibraryItemFileApi` | [**list**](docs/LibraryItemFileApi.md#list) | **GET** /com/vmware/content/library/item/file | Lists all of the files that are stored within a given library item.
75
+ `VSphereAutomation::Content::LibraryItemStorageApi` | [**get**](docs/LibraryItemStorageApi.md#get) | **POST** /com/vmware/content/library/item/storage/id:{library_item_id}?~action&#x3D;get | Retrieves the storage information for a specific file in a library item.
76
+ `VSphereAutomation::Content::LibraryItemStorageApi` | [**list**](docs/LibraryItemStorageApi.md#list) | **GET** /com/vmware/content/library/item/storage | Lists all storage items for a given library item.
77
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**cancel**](docs/LibraryItemUpdateSessionApi.md#cancel) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action&#x3D;cancel | Cancels the update session and sets its state to {@link UpdateSessionModel.State#CANCELED}. This {@term operation} will free up any temporary resources currently associated with the session. <p> This {@term operation} is not allowed if the session has been already completed. <p> Cancelling an update session will cancel any in progress transfers (either uploaded by the client or pulled by the server). Any content that has been already received will be scheduled for deletion.
78
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**complete**](docs/LibraryItemUpdateSessionApi.md#complete) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action&#x3D;complete | Completes the update session. This indicates that the client has finished making all the changes required to the underlying library item. If the client is pushing the content to the server, the library item will be updated once this call returns. If the server is pulling the content, the call may return before the changes become visible. In that case, the client can track the session to know when the server is done. <p> This {@term operation} requires the session to be in the {@link UpdateSessionModel.State#ACTIVE} state. <p> Depending on the type of the library item associated with this session, a type adapter may be invoked to verify the validity of the files uploaded. The user can explicitly validate the session before completing the session by using the {@link content.library.item.updatesession.File#validate} {@term operation}. <p> Modifications are not visible to other clients unless the session is completed and all necessary files have been received.
79
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**create**](docs/LibraryItemUpdateSessionApi.md#create) | **POST** /com/vmware/content/library/item/update-session | Creates a new update session. An update session is used to make modifications to a library item. Modifications are not visible to other clients unless the session is completed and all necessary files have been received. <p> Content Library Service allows only one single update session to be active for a specific library item.
80
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**delete**](docs/LibraryItemUpdateSessionApi.md#delete) | **DELETE** /com/vmware/content/library/item/update-session/id:{update_session_id} | Deletes an update session. This removes the session and all information associated with it. <p> Removing an update session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the server will terminate the transfers, or that the transfers can be completed). However there will no longer be a means of inspecting the status of those uploads except by seeing the effect on the library item. <p> Update sessions for which there is no upload activity or which are complete will automatically be deleted after a period of time.
81
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**fail**](docs/LibraryItemUpdateSessionApi.md#fail) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action&#x3D;fail | Terminates the update session with a client specified error message. <p> This is useful in transmitting client side failures (for example, not being able to access a file) to the server side.
82
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**get**](docs/LibraryItemUpdateSessionApi.md#get) | **GET** /com/vmware/content/library/item/update-session/id:{update_session_id} | Gets the update session with the specified identifier, including the most up-to-date status information for the session.
83
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**keep_alive**](docs/LibraryItemUpdateSessionApi.md#keep_alive) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action&#x3D;keep-alive | Keeps an update session alive. <p> If there is no activity for an update session after a period of time, the update session will expire, then be deleted. The update session expiration timeout is configurable in the Content Library Service system configuration. The default is five minutes. Invoking this {@term operation} enables a client to specifically extend the lifetime of the update session.
84
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**list**](docs/LibraryItemUpdateSessionApi.md#list) | **GET** /com/vmware/content/library/item/update-session | Lists the identifiers of the update session created by the calling user. Optionally may filter by library item.
85
+ `VSphereAutomation::Content::LibraryItemUpdateSessionApi` | [**update**](docs/LibraryItemUpdateSessionApi.md#update) | **PATCH** /com/vmware/content/library/item/update-session/id:{update_session_id} | Updates the properties of an update session. <p> This is an incremental update to the update session. Any {@term field} in the {@link UpdateSessionModel} {@term structure} that is {@term unset} will not be modified. <p> This {@term operation} will only update the property {@link UpdateSessionModel#warningBehavior} of the update session. This will not, for example, update the {@link UpdateSessionModel#libraryItemId} or {@link UpdateSessionModel#state} of an update session. <p> This {@term operation} requires the session to be in the {@link UpdateSessionModel.State#ACTIVE} state.
86
+ `VSphereAutomation::Content::LibraryItemUpdatesessionFileApi` | [**add**](docs/LibraryItemUpdatesessionFileApi.md#add) | **POST** /com/vmware/content/library/item/updatesession/file/id:{update_session_id}?~action&#x3D;add | Requests file content to be changed (either created, or updated). Depending on the source type of the file, this {@term operation} will either return an upload endpoint where the client can push the content, or the server will pull from the provided source endpoint. If a file with the same name already exists in this session, this {@term operation} will be used to update the content of the existing file. <p> When importing a file directly from storage, where the source endpoint is a file or datastore URI, you will need to have the ContentLibrary.ReadStorage privilege on the library item. If the file is located in the same directory as the library storage backing folder, the server will move the file instead of copying it, thereby allowing instantaneous import of files for efficient backup and restore scenarios. In all other cases, a copy is performed rather than a move.
87
+ `VSphereAutomation::Content::LibraryItemUpdatesessionFileApi` | [**get**](docs/LibraryItemUpdatesessionFileApi.md#get) | **POST** /com/vmware/content/library/item/updatesession/file/id:{update_session_id}?~action&#x3D;get | Retrieves information about a specific file in the snapshot of the library item at the time when the update session was created.
88
+ `VSphereAutomation::Content::LibraryItemUpdatesessionFileApi` | [**list**](docs/LibraryItemUpdatesessionFileApi.md#list) | **GET** /com/vmware/content/library/item/updatesession/file | Lists all files in the library item associated with the update session.
89
+ `VSphereAutomation::Content::LibraryItemUpdatesessionFileApi` | [**remove**](docs/LibraryItemUpdatesessionFileApi.md#remove) | **POST** /com/vmware/content/library/item/updatesession/file/id:{update_session_id}?~action&#x3D;remove | Requests a file to be removed. The file will only be effectively removed when the update session is completed.
90
+ `VSphereAutomation::Content::LibraryItemUpdatesessionFileApi` | [**validate**](docs/LibraryItemUpdatesessionFileApi.md#validate) | **POST** /com/vmware/content/library/item/updatesession/file/id:{update_session_id}?~action&#x3D;validate | Validates the files in the update session with the referenced identifier and ensures all necessary files are received. In the case where a file is missing, this {@term operation} will return its name in the {@link ValidationResult#missingFiles} set. The user can add the missing files and try re-validating. For other type of errors, {@link ValidationResult#invalidFiles} will contain the list of invalid files.
91
+ `VSphereAutomation::Content::LibrarySubscribedItemApi` | [**evict**](docs/LibrarySubscribedItemApi.md#evict) | **POST** /com/vmware/content/library/subscribed-item/id:{library_item_id}?~action&#x3D;evict | Evicts the cached content of a library item in a subscribed library. <p> This {@term operation} allows the cached content of a library item to be removed to free up storage capacity. This {@term operation} will only work when a library item is synchronized on-demand. When a library is not synchronized on-demand, it always attempts to keep its cache up-to-date with the published source. Evicting the library item will set {@link ItemModel#cached} to false.
92
+ `VSphereAutomation::Content::LibrarySubscribedItemApi` | [**sync**](docs/LibrarySubscribedItemApi.md#sync) | **POST** /com/vmware/content/library/subscribed-item/id:{library_item_id}?~action&#x3D;sync | Forces the synchronization of an individual library item in a subscribed library. <p> Synchronizing an individual item will update that item's metadata from the remote source. If the source library item on the remote library has been deleted, this {@term operation} will delete the library item from the subscribed library as well. <p> The default behavior of the synchronization is determined by the {@link SubscriptionInfo} of the library which owns the library item. <ul> <li>If {@link SubscriptionInfo#onDemand} is true, then the file content is not synchronized by default. In this case, only the library item metadata is synchronized. The file content may still be forcefully synchronized by passing true for the {@param.name forceSyncContent} {@term parameter}.</li> <li>If {@link SubscriptionInfo#onDemand} is false, then this call will always synchronize the file content. The {@param.name forceSyncContent} {@term parameter} is ignored when the subscription is not on-demand.</li> </ul> When the file content has been synchronized, the {@link ItemModel#cached} {@term field} will be true. <p> This {@term operation} will return immediately and create an asynchronous task to perform the synchronization.
93
+ `VSphereAutomation::Content::LocalLibraryApi` | [**create**](docs/LocalLibraryApi.md#create) | **POST** /com/vmware/content/local-library | Creates a new local library.
94
+ `VSphereAutomation::Content::LocalLibraryApi` | [**delete**](docs/LocalLibraryApi.md#delete) | **DELETE** /com/vmware/content/local-library/id:{library_id} | Deletes the specified local library. <p> Deleting a local library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal.
95
+ `VSphereAutomation::Content::LocalLibraryApi` | [**get**](docs/LocalLibraryApi.md#get) | **GET** /com/vmware/content/local-library/id:{library_id} | Returns a given local library.
96
+ `VSphereAutomation::Content::LocalLibraryApi` | [**list**](docs/LocalLibraryApi.md#list) | **GET** /com/vmware/content/local-library | Returns the identifiers of all local libraries in the Content Library.
97
+ `VSphereAutomation::Content::LocalLibraryApi` | [**update**](docs/LocalLibraryApi.md#update) | **PATCH** /com/vmware/content/local-library/id:{library_id} | Updates the properties of a local library. <p> This is an incremental update to the local library. {@term Fields} that are {@term unset} in the update specification will be left unchanged.
98
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**create**](docs/SubscribedLibraryApi.md#create) | **POST** /com/vmware/content/subscribed-library | Creates a new subscribed library. <p> Once created, the subscribed library will be empty. If the {@link LibraryModel#subscriptionInfo} property is set, the Content Library Service will attempt to synchronize to the remote source. This is an asynchronous operation so the content of the published library may not immediately appear.
99
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**delete**](docs/SubscribedLibraryApi.md#delete) | **DELETE** /com/vmware/content/subscribed-library/id:{library_id} | Deletes the specified subscribed library. <p> Deleting a subscribed library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal.
100
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**evict**](docs/SubscribedLibraryApi.md#evict) | **POST** /com/vmware/content/subscribed-library/id:{library_id}?~action&#x3D;evict | Evicts the cached content of an on-demand subscribed library. <p> This {@term operation} allows the cached content of a subscribed library to be removed to free up storage capacity. This {@term operation} will only work when a subscribed library is synchronized on-demand.
101
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**get**](docs/SubscribedLibraryApi.md#get) | **GET** /com/vmware/content/subscribed-library/id:{library_id} | Returns a given subscribed library.
102
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**list**](docs/SubscribedLibraryApi.md#list) | **GET** /com/vmware/content/subscribed-library | Returns the identifiers of all subscribed libraries in the Content Library.
103
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**probe**](docs/SubscribedLibraryApi.md#probe) | **POST** /com/vmware/content/subscribed-library?~action&#x3D;probe | Probes remote library subscription information, including URL, SSL certificate and password. The resulting {@link ProbeResult} {@term structure} describes whether or not the subscription configuration is successful.
104
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**sync**](docs/SubscribedLibraryApi.md#sync) | **POST** /com/vmware/content/subscribed-library/id:{library_id}?~action&#x3D;sync | Forces the synchronization of the subscribed library. <p> Synchronizing a subscribed library forcefully with this {@term operation} will perform the same synchronization behavior as would run periodically for the library. The {@link SubscriptionInfo#onDemand} setting is respected. Calling this {@term operation} on a library that is already in the process of synchronizing will have no effect.
105
+ `VSphereAutomation::Content::SubscribedLibraryApi` | [**update**](docs/SubscribedLibraryApi.md#update) | **PATCH** /com/vmware/content/subscribed-library/id:{library_id} | Updates the properties of a subscribed library. <p> This is an incremental update to the subscribed library. {@term Fields} that are {@term unset} in the update specification will be left unchanged.
106
+
107
+
108
+ ## Documentation for Models
109
+
110
+ - [VSphereAutomation::Content::ContentConfigurationModel](docs/ContentConfigurationModel.md)
111
+ - [VSphereAutomation::Content::ContentConfigurationResult](docs/ContentConfigurationResult.md)
112
+ - [VSphereAutomation::Content::ContentConfigurationUpdate](docs/ContentConfigurationUpdate.md)
113
+ - [VSphereAutomation::Content::ContentLibraryFind](docs/ContentLibraryFind.md)
114
+ - [VSphereAutomation::Content::ContentLibraryFindResult](docs/ContentLibraryFindResult.md)
115
+ - [VSphereAutomation::Content::ContentLibraryFindSpec](docs/ContentLibraryFindSpec.md)
116
+ - [VSphereAutomation::Content::ContentLibraryItemCopy](docs/ContentLibraryItemCopy.md)
117
+ - [VSphereAutomation::Content::ContentLibraryItemCopyResult](docs/ContentLibraryItemCopyResult.md)
118
+ - [VSphereAutomation::Content::ContentLibraryItemCreate](docs/ContentLibraryItemCreate.md)
119
+ - [VSphereAutomation::Content::ContentLibraryItemCreateResult](docs/ContentLibraryItemCreateResult.md)
120
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionCreate](docs/ContentLibraryItemDownloadSessionCreate.md)
121
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionCreateResult](docs/ContentLibraryItemDownloadSessionCreateResult.md)
122
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionFail](docs/ContentLibraryItemDownloadSessionFail.md)
123
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionKeepAlive](docs/ContentLibraryItemDownloadSessionKeepAlive.md)
124
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionListResult](docs/ContentLibraryItemDownloadSessionListResult.md)
125
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionModel](docs/ContentLibraryItemDownloadSessionModel.md)
126
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionModelState](docs/ContentLibraryItemDownloadSessionModelState.md)
127
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadSessionResult](docs/ContentLibraryItemDownloadSessionResult.md)
128
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFileEndpointType](docs/ContentLibraryItemDownloadsessionFileEndpointType.md)
129
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFileGet](docs/ContentLibraryItemDownloadsessionFileGet.md)
130
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFileInfo](docs/ContentLibraryItemDownloadsessionFileInfo.md)
131
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFileListResult](docs/ContentLibraryItemDownloadsessionFileListResult.md)
132
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFilePrepare](docs/ContentLibraryItemDownloadsessionFilePrepare.md)
133
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFilePrepareResult](docs/ContentLibraryItemDownloadsessionFilePrepareResult.md)
134
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFilePrepareStatus](docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md)
135
+ - [VSphereAutomation::Content::ContentLibraryItemDownloadsessionFileResult](docs/ContentLibraryItemDownloadsessionFileResult.md)
136
+ - [VSphereAutomation::Content::ContentLibraryItemFileChecksumAlgorithm](docs/ContentLibraryItemFileChecksumAlgorithm.md)
137
+ - [VSphereAutomation::Content::ContentLibraryItemFileChecksumInfo](docs/ContentLibraryItemFileChecksumInfo.md)
138
+ - [VSphereAutomation::Content::ContentLibraryItemFileGet](docs/ContentLibraryItemFileGet.md)
139
+ - [VSphereAutomation::Content::ContentLibraryItemFileInfo](docs/ContentLibraryItemFileInfo.md)
140
+ - [VSphereAutomation::Content::ContentLibraryItemFileListResult](docs/ContentLibraryItemFileListResult.md)
141
+ - [VSphereAutomation::Content::ContentLibraryItemFileResult](docs/ContentLibraryItemFileResult.md)
142
+ - [VSphereAutomation::Content::ContentLibraryItemFind](docs/ContentLibraryItemFind.md)
143
+ - [VSphereAutomation::Content::ContentLibraryItemFindResult](docs/ContentLibraryItemFindResult.md)
144
+ - [VSphereAutomation::Content::ContentLibraryItemFindSpec](docs/ContentLibraryItemFindSpec.md)
145
+ - [VSphereAutomation::Content::ContentLibraryItemListResult](docs/ContentLibraryItemListResult.md)
146
+ - [VSphereAutomation::Content::ContentLibraryItemModel](docs/ContentLibraryItemModel.md)
147
+ - [VSphereAutomation::Content::ContentLibraryItemResult](docs/ContentLibraryItemResult.md)
148
+ - [VSphereAutomation::Content::ContentLibraryItemStorageGet](docs/ContentLibraryItemStorageGet.md)
149
+ - [VSphereAutomation::Content::ContentLibraryItemStorageInfo](docs/ContentLibraryItemStorageInfo.md)
150
+ - [VSphereAutomation::Content::ContentLibraryItemStorageListResult](docs/ContentLibraryItemStorageListResult.md)
151
+ - [VSphereAutomation::Content::ContentLibraryItemStorageResult](docs/ContentLibraryItemStorageResult.md)
152
+ - [VSphereAutomation::Content::ContentLibraryItemTransferEndpoint](docs/ContentLibraryItemTransferEndpoint.md)
153
+ - [VSphereAutomation::Content::ContentLibraryItemTransferStatus](docs/ContentLibraryItemTransferStatus.md)
154
+ - [VSphereAutomation::Content::ContentLibraryItemUpdate](docs/ContentLibraryItemUpdate.md)
155
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionCreate](docs/ContentLibraryItemUpdateSessionCreate.md)
156
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionCreateResult](docs/ContentLibraryItemUpdateSessionCreateResult.md)
157
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionFail](docs/ContentLibraryItemUpdateSessionFail.md)
158
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionKeepAlive](docs/ContentLibraryItemUpdateSessionKeepAlive.md)
159
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionListResult](docs/ContentLibraryItemUpdateSessionListResult.md)
160
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionModel](docs/ContentLibraryItemUpdateSessionModel.md)
161
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionModelState](docs/ContentLibraryItemUpdateSessionModelState.md)
162
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionResult](docs/ContentLibraryItemUpdateSessionResult.md)
163
+ - [VSphereAutomation::Content::ContentLibraryItemUpdateSessionUpdate](docs/ContentLibraryItemUpdateSessionUpdate.md)
164
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionCertificateInfo](docs/ContentLibraryItemUpdatesessionCertificateInfo.md)
165
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileAdd](docs/ContentLibraryItemUpdatesessionFileAdd.md)
166
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileAddResult](docs/ContentLibraryItemUpdatesessionFileAddResult.md)
167
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileAddSpec](docs/ContentLibraryItemUpdatesessionFileAddSpec.md)
168
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileGet](docs/ContentLibraryItemUpdatesessionFileGet.md)
169
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileInfo](docs/ContentLibraryItemUpdatesessionFileInfo.md)
170
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileListResult](docs/ContentLibraryItemUpdatesessionFileListResult.md)
171
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileRemove](docs/ContentLibraryItemUpdatesessionFileRemove.md)
172
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileResult](docs/ContentLibraryItemUpdatesessionFileResult.md)
173
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileSourceType](docs/ContentLibraryItemUpdatesessionFileSourceType.md)
174
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileValidateResult](docs/ContentLibraryItemUpdatesessionFileValidateResult.md)
175
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileValidationError](docs/ContentLibraryItemUpdatesessionFileValidationError.md)
176
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionFileValidationResult](docs/ContentLibraryItemUpdatesessionFileValidationResult.md)
177
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionPreviewInfo](docs/ContentLibraryItemUpdatesessionPreviewInfo.md)
178
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionPreviewInfoState](docs/ContentLibraryItemUpdatesessionPreviewInfoState.md)
179
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionPreviewWarningInfo](docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md)
180
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionWarningBehavior](docs/ContentLibraryItemUpdatesessionWarningBehavior.md)
181
+ - [VSphereAutomation::Content::ContentLibraryItemUpdatesessionWarningType](docs/ContentLibraryItemUpdatesessionWarningType.md)
182
+ - [VSphereAutomation::Content::ContentLibraryListResult](docs/ContentLibraryListResult.md)
183
+ - [VSphereAutomation::Content::ContentLibraryModel](docs/ContentLibraryModel.md)
184
+ - [VSphereAutomation::Content::ContentLibraryModelLibraryType](docs/ContentLibraryModelLibraryType.md)
185
+ - [VSphereAutomation::Content::ContentLibraryOptimizationInfo](docs/ContentLibraryOptimizationInfo.md)
186
+ - [VSphereAutomation::Content::ContentLibraryPublishInfo](docs/ContentLibraryPublishInfo.md)
187
+ - [VSphereAutomation::Content::ContentLibraryPublishInfoAuthenticationMethod](docs/ContentLibraryPublishInfoAuthenticationMethod.md)
188
+ - [VSphereAutomation::Content::ContentLibraryResult](docs/ContentLibraryResult.md)
189
+ - [VSphereAutomation::Content::ContentLibraryStorageBacking](docs/ContentLibraryStorageBacking.md)
190
+ - [VSphereAutomation::Content::ContentLibraryStorageBackingType](docs/ContentLibraryStorageBackingType.md)
191
+ - [VSphereAutomation::Content::ContentLibrarySubscribedItemSync](docs/ContentLibrarySubscribedItemSync.md)
192
+ - [VSphereAutomation::Content::ContentLibrarySubscriptionInfo](docs/ContentLibrarySubscriptionInfo.md)
193
+ - [VSphereAutomation::Content::ContentLibrarySubscriptionInfoAuthenticationMethod](docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md)
194
+ - [VSphereAutomation::Content::ContentLibraryUpdate](docs/ContentLibraryUpdate.md)
195
+ - [VSphereAutomation::Content::ContentLocalLibraryCreate](docs/ContentLocalLibraryCreate.md)
196
+ - [VSphereAutomation::Content::ContentLocalLibraryCreateResult](docs/ContentLocalLibraryCreateResult.md)
197
+ - [VSphereAutomation::Content::ContentLocalLibraryListResult](docs/ContentLocalLibraryListResult.md)
198
+ - [VSphereAutomation::Content::ContentLocalLibraryResult](docs/ContentLocalLibraryResult.md)
199
+ - [VSphereAutomation::Content::ContentLocalLibraryUpdate](docs/ContentLocalLibraryUpdate.md)
200
+ - [VSphereAutomation::Content::ContentSubscribedLibraryCreate](docs/ContentSubscribedLibraryCreate.md)
201
+ - [VSphereAutomation::Content::ContentSubscribedLibraryCreateResult](docs/ContentSubscribedLibraryCreateResult.md)
202
+ - [VSphereAutomation::Content::ContentSubscribedLibraryListResult](docs/ContentSubscribedLibraryListResult.md)
203
+ - [VSphereAutomation::Content::ContentSubscribedLibraryProbe](docs/ContentSubscribedLibraryProbe.md)
204
+ - [VSphereAutomation::Content::ContentSubscribedLibraryProbeResult](docs/ContentSubscribedLibraryProbeResult.md)
205
+ - [VSphereAutomation::Content::ContentSubscribedLibraryProbeResultStatus](docs/ContentSubscribedLibraryProbeResultStatus.md)
206
+ - [VSphereAutomation::Content::ContentSubscribedLibraryResult](docs/ContentSubscribedLibraryResult.md)
207
+ - [VSphereAutomation::Content::ContentSubscribedLibraryUpdate](docs/ContentSubscribedLibraryUpdate.md)
208
+ - [VSphereAutomation::Content::VapiStdErrorsConcurrentChange](docs/VapiStdErrorsConcurrentChange.md)
209
+ - [VSphereAutomation::Content::VapiStdErrorsConcurrentChangeError](docs/VapiStdErrorsConcurrentChangeError.md)
210
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidArgument](docs/VapiStdErrorsInvalidArgument.md)
211
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidArgumentError](docs/VapiStdErrorsInvalidArgumentError.md)
212
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidElementConfiguration](docs/VapiStdErrorsInvalidElementConfiguration.md)
213
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidElementConfigurationError](docs/VapiStdErrorsInvalidElementConfigurationError.md)
214
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidElementType](docs/VapiStdErrorsInvalidElementType.md)
215
+ - [VSphereAutomation::Content::VapiStdErrorsInvalidElementTypeError](docs/VapiStdErrorsInvalidElementTypeError.md)
216
+ - [VSphereAutomation::Content::VapiStdErrorsNotAllowedInCurrentState](docs/VapiStdErrorsNotAllowedInCurrentState.md)
217
+ - [VSphereAutomation::Content::VapiStdErrorsNotAllowedInCurrentStateError](docs/VapiStdErrorsNotAllowedInCurrentStateError.md)
218
+ - [VSphereAutomation::Content::VapiStdErrorsNotFound](docs/VapiStdErrorsNotFound.md)
219
+ - [VSphereAutomation::Content::VapiStdErrorsNotFoundError](docs/VapiStdErrorsNotFoundError.md)
220
+ - [VSphereAutomation::Content::VapiStdErrorsResourceBusy](docs/VapiStdErrorsResourceBusy.md)
221
+ - [VSphereAutomation::Content::VapiStdErrorsResourceBusyError](docs/VapiStdErrorsResourceBusyError.md)
222
+ - [VSphereAutomation::Content::VapiStdErrorsResourceInaccessible](docs/VapiStdErrorsResourceInaccessible.md)
223
+ - [VSphereAutomation::Content::VapiStdErrorsResourceInaccessibleError](docs/VapiStdErrorsResourceInaccessibleError.md)
224
+ - [VSphereAutomation::Content::VapiStdErrorsUnauthorized](docs/VapiStdErrorsUnauthorized.md)
225
+ - [VSphereAutomation::Content::VapiStdErrorsUnauthorizedError](docs/VapiStdErrorsUnauthorizedError.md)
226
+ - [VSphereAutomation::Content::VapiStdErrorsUnsupported](docs/VapiStdErrorsUnsupported.md)
227
+ - [VSphereAutomation::Content::VapiStdErrorsUnsupportedError](docs/VapiStdErrorsUnsupportedError.md)
228
+ - [VSphereAutomation::Content::VapiStdLocalizableMessage](docs/VapiStdLocalizableMessage.md)
229
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,91 @@
1
+ # VSphereAutomation::Content::ConfigurationApi
2
+
3
+ All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get**](ConfigurationApi.md#get) | **POST** /com/vmware/content/configuration?~action&#x3D;get | Retrieves the current configuration values.
8
+ [**update**](ConfigurationApi.md#update) | **PATCH** /com/vmware/content/configuration | Updates the configuration. The update is incremental. Any {@term field} in the {@link ConfigurationModel} {@term structure} that is {@term unset} will not be modified. Note that this update {@term operation} doesn&#39;t guarantee an atomic change of all the properties. In the case of a system crash or failure, some of the properties could be left unchanged while others may be updated.
9
+
10
+
11
+ # **get**
12
+ > ContentConfigurationResult get
13
+
14
+ Retrieves the current configuration values.
15
+
16
+ ### Example
17
+ ```ruby
18
+ # load the gem
19
+ require 'vsphere-automation-content'
20
+
21
+ api_instance = VSphereAutomation::Content::ConfigurationApi.new
22
+
23
+ begin
24
+ #Retrieves the current configuration values.
25
+ result = api_instance.get
26
+ p result
27
+ rescue VSphereAutomation::ApiError => e
28
+ puts "Exception when calling ConfigurationApi->get: #{e}"
29
+ end
30
+ ```
31
+
32
+ ### Parameters
33
+ This endpoint does not need any parameter.
34
+
35
+ ### Return type
36
+
37
+ [**ContentConfigurationResult**](ContentConfigurationResult.md)
38
+
39
+ ### Authorization
40
+
41
+ No authorization required
42
+
43
+ ### HTTP request headers
44
+
45
+ - **Content-Type**: Not defined
46
+ - **Accept**: */*
47
+
48
+
49
+
50
+ # **update**
51
+ > update(content_configuration_update)
52
+
53
+ Updates the configuration. The update is incremental. Any {@term field} in the {@link ConfigurationModel} {@term structure} that is {@term unset} will not be modified. Note that this update {@term operation} doesn't guarantee an atomic change of all the properties. In the case of a system crash or failure, some of the properties could be left unchanged while others may be updated.
54
+
55
+ ### Example
56
+ ```ruby
57
+ # load the gem
58
+ require 'vsphere-automation-content'
59
+
60
+ api_instance = VSphereAutomation::Content::ConfigurationApi.new
61
+ content_configuration_update = VSphereAutomation::ContentConfigurationUpdate.new # ContentConfigurationUpdate |
62
+
63
+ begin
64
+ #Updates the configuration. The update is incremental. Any {@term field} in the {@link ConfigurationModel} {@term structure} that is {@term unset} will not be modified. Note that this update {@term operation} doesn't guarantee an atomic change of all the properties. In the case of a system crash or failure, some of the properties could be left unchanged while others may be updated.
65
+ api_instance.update(content_configuration_update)
66
+ rescue VSphereAutomation::ApiError => e
67
+ puts "Exception when calling ConfigurationApi->update: #{e}"
68
+ end
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ Name | Type | Description | Notes
74
+ ------------- | ------------- | ------------- | -------------
75
+ **content_configuration_update** | [**ContentConfigurationUpdate**](ContentConfigurationUpdate.md)| |
76
+
77
+ ### Return type
78
+
79
+ nil (empty response body)
80
+
81
+ ### Authorization
82
+
83
+ No authorization required
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: application/json
88
+ - **Accept**: */*
89
+
90
+
91
+
@@ -0,0 +1,11 @@
1
+ # VSphereAutomation::Content::ContentConfigurationModel
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **automatic_sync_enabled** | **BOOLEAN** | Whether automatic synchronization is enabled. &lt;p&gt; When automatic synchronization is enabled, the Content Library Service will automatically synchronize all subscribed libraries on a daily basis. Subscribed libraries with the {@link SubscriptionInfo#automaticSyncEnabled} flag turned on will be synchronized every hour between {@link #automaticSyncStartHour} and {@link #automaticSyncStopHour}. | [optional]
7
+ **automatic_sync_start_hour** | **Integer** | The hour at which the automatic synchronization will start. This value is between 0 (midnight) and 23 inclusive. | [optional]
8
+ **automatic_sync_stop_hour** | **Integer** | The hour at which the automatic synchronization will stop. Any active synchronization operation will continue to run, however no new synchronization operations will be triggered after the stop hour. This value is between 0 (midnight) and 23 inclusive. | [optional]
9
+ **maximum_concurrent_item_syncs** | **Integer** | The maximum allowed number of library items to synchronize concurrently from remote libraries. This must be a positive number. The service may not be able to guarantee the requested concurrency if there is no available capacity. &lt;p&gt; This setting is global across all subscribed libraries. | [optional]
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # VSphereAutomation::Content::ContentConfigurationResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **value** | [**ContentConfigurationModel**](ContentConfigurationModel.md) | |
7
+
8
+