vsphere-automation-content 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +20 -0
  3. data/lib/vsphere-automation-content/version.rb +1 -1
  4. metadata +8 -518
  5. data/Gemfile +0 -14
  6. data/Gemfile.lock +0 -86
  7. data/README.md +0 -276
  8. data/Rakefile +0 -18
  9. data/docs/ConfigurationApi.md +0 -105
  10. data/docs/ContentConfigurationModel.md +0 -11
  11. data/docs/ContentConfigurationResult.md +0 -8
  12. data/docs/ContentConfigurationUpdate.md +0 -8
  13. data/docs/ContentLibraryFind.md +0 -8
  14. data/docs/ContentLibraryFindResult.md +0 -8
  15. data/docs/ContentLibraryFindSpec.md +0 -9
  16. data/docs/ContentLibraryItemCopy.md +0 -9
  17. data/docs/ContentLibraryItemCopyResult.md +0 -8
  18. data/docs/ContentLibraryItemCreate.md +0 -9
  19. data/docs/ContentLibraryItemCreateResult.md +0 -8
  20. data/docs/ContentLibraryItemDestinationSpec.md +0 -8
  21. data/docs/ContentLibraryItemDownloadSessionCreate.md +0 -9
  22. data/docs/ContentLibraryItemDownloadSessionCreateResult.md +0 -8
  23. data/docs/ContentLibraryItemDownloadSessionFail.md +0 -8
  24. data/docs/ContentLibraryItemDownloadSessionKeepAlive.md +0 -8
  25. data/docs/ContentLibraryItemDownloadSessionListResult.md +0 -8
  26. data/docs/ContentLibraryItemDownloadSessionModel.md +0 -14
  27. data/docs/ContentLibraryItemDownloadSessionModelState.md +0 -7
  28. data/docs/ContentLibraryItemDownloadSessionResult.md +0 -8
  29. data/docs/ContentLibraryItemDownloadsessionFileEndpointType.md +0 -7
  30. data/docs/ContentLibraryItemDownloadsessionFileGet.md +0 -8
  31. data/docs/ContentLibraryItemDownloadsessionFileInfo.md +0 -14
  32. data/docs/ContentLibraryItemDownloadsessionFileListResult.md +0 -8
  33. data/docs/ContentLibraryItemDownloadsessionFilePrepare.md +0 -9
  34. data/docs/ContentLibraryItemDownloadsessionFilePrepareResult.md +0 -8
  35. data/docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md +0 -7
  36. data/docs/ContentLibraryItemDownloadsessionFileResult.md +0 -8
  37. data/docs/ContentLibraryItemFileChecksumAlgorithm.md +0 -7
  38. data/docs/ContentLibraryItemFileChecksumInfo.md +0 -9
  39. data/docs/ContentLibraryItemFileGet.md +0 -8
  40. data/docs/ContentLibraryItemFileInfo.md +0 -12
  41. data/docs/ContentLibraryItemFileListResult.md +0 -8
  42. data/docs/ContentLibraryItemFileResult.md +0 -8
  43. data/docs/ContentLibraryItemFind.md +0 -8
  44. data/docs/ContentLibraryItemFindResult.md +0 -8
  45. data/docs/ContentLibraryItemFindSpec.md +0 -12
  46. data/docs/ContentLibraryItemListResult.md +0 -8
  47. data/docs/ContentLibraryItemModel.md +0 -21
  48. data/docs/ContentLibraryItemPublish.md +0 -9
  49. data/docs/ContentLibraryItemResult.md +0 -8
  50. data/docs/ContentLibraryItemStorageGet.md +0 -8
  51. data/docs/ContentLibraryItemStorageInfo.md +0 -14
  52. data/docs/ContentLibraryItemStorageListResult.md +0 -8
  53. data/docs/ContentLibraryItemStorageResult.md +0 -8
  54. data/docs/ContentLibraryItemTransferEndpoint.md +0 -9
  55. data/docs/ContentLibraryItemTransferStatus.md +0 -7
  56. data/docs/ContentLibraryItemUpdate.md +0 -8
  57. data/docs/ContentLibraryItemUpdateSessionCreate.md +0 -9
  58. data/docs/ContentLibraryItemUpdateSessionCreateResult.md +0 -8
  59. data/docs/ContentLibraryItemUpdateSessionFail.md +0 -8
  60. data/docs/ContentLibraryItemUpdateSessionKeepAlive.md +0 -8
  61. data/docs/ContentLibraryItemUpdateSessionListResult.md +0 -8
  62. data/docs/ContentLibraryItemUpdateSessionModel.md +0 -16
  63. data/docs/ContentLibraryItemUpdateSessionModelState.md +0 -7
  64. data/docs/ContentLibraryItemUpdateSessionResult.md +0 -8
  65. data/docs/ContentLibraryItemUpdateSessionUpdate.md +0 -8
  66. data/docs/ContentLibraryItemUpdatesessionCertificateInfo.md +0 -11
  67. data/docs/ContentLibraryItemUpdatesessionFileAdd.md +0 -8
  68. data/docs/ContentLibraryItemUpdatesessionFileAddResult.md +0 -8
  69. data/docs/ContentLibraryItemUpdatesessionFileAddSpec.md +0 -12
  70. data/docs/ContentLibraryItemUpdatesessionFileGet.md +0 -8
  71. data/docs/ContentLibraryItemUpdatesessionFileInfo.md +0 -17
  72. data/docs/ContentLibraryItemUpdatesessionFileListResult.md +0 -8
  73. data/docs/ContentLibraryItemUpdatesessionFileRemove.md +0 -8
  74. data/docs/ContentLibraryItemUpdatesessionFileResult.md +0 -8
  75. data/docs/ContentLibraryItemUpdatesessionFileSourceType.md +0 -7
  76. data/docs/ContentLibraryItemUpdatesessionFileValidateResult.md +0 -8
  77. data/docs/ContentLibraryItemUpdatesessionFileValidationError.md +0 -9
  78. data/docs/ContentLibraryItemUpdatesessionFileValidationResult.md +0 -10
  79. data/docs/ContentLibraryItemUpdatesessionPreviewInfo.md +0 -10
  80. data/docs/ContentLibraryItemUpdatesessionPreviewInfoState.md +0 -7
  81. data/docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md +0 -10
  82. data/docs/ContentLibraryItemUpdatesessionWarningBehavior.md +0 -9
  83. data/docs/ContentLibraryItemUpdatesessionWarningType.md +0 -7
  84. data/docs/ContentLibraryListResult.md +0 -8
  85. data/docs/ContentLibraryModel.md +0 -20
  86. data/docs/ContentLibraryModelLibraryType.md +0 -7
  87. data/docs/ContentLibraryOptimizationInfo.md +0 -8
  88. data/docs/ContentLibraryPublishInfo.md +0 -14
  89. data/docs/ContentLibraryPublishInfoAuthenticationMethod.md +0 -7
  90. data/docs/ContentLibraryResult.md +0 -8
  91. data/docs/ContentLibrarySourceInfo.md +0 -9
  92. data/docs/ContentLibraryStorageBacking.md +0 -10
  93. data/docs/ContentLibraryStorageBackingType.md +0 -7
  94. data/docs/ContentLibrarySubscribedItemSync.md +0 -8
  95. data/docs/ContentLibrarySubscriptionInfo.md +0 -15
  96. data/docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md +0 -7
  97. data/docs/ContentLibrarySubscriptionsCreate.md +0 -9
  98. data/docs/ContentLibrarySubscriptionsCreateResult.md +0 -8
  99. data/docs/ContentLibrarySubscriptionsCreateSpec.md +0 -8
  100. data/docs/ContentLibrarySubscriptionsCreateSpecNewSubscribedLibrary.md +0 -12
  101. data/docs/ContentLibrarySubscriptionsCreateSpecPlacement.md +0 -12
  102. data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibrary.md +0 -13
  103. data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibraryTarget.md +0 -7
  104. data/docs/ContentLibrarySubscriptionsCreateSpecVcenter.md +0 -9
  105. data/docs/ContentLibrarySubscriptionsDelete.md +0 -8
  106. data/docs/ContentLibrarySubscriptionsGet.md +0 -8
  107. data/docs/ContentLibrarySubscriptionsInfo.md +0 -12
  108. data/docs/ContentLibrarySubscriptionsListResult.md +0 -8
  109. data/docs/ContentLibrarySubscriptionsLocation.md +0 -7
  110. data/docs/ContentLibrarySubscriptionsPlacementInfo.md +0 -12
  111. data/docs/ContentLibrarySubscriptionsResult.md +0 -8
  112. data/docs/ContentLibrarySubscriptionsSummary.md +0 -11
  113. data/docs/ContentLibrarySubscriptionsUpdate.md +0 -9
  114. data/docs/ContentLibrarySubscriptionsUpdateSpec.md +0 -9
  115. data/docs/ContentLibrarySubscriptionsUpdateSpecPlacement.md +0 -12
  116. data/docs/ContentLibrarySubscriptionsUpdateSpecVcenter.md +0 -9
  117. data/docs/ContentLibrarySubscriptionsVcenterInfo.md +0 -10
  118. data/docs/ContentLibraryUpdate.md +0 -8
  119. data/docs/ContentLocalLibraryCreate.md +0 -9
  120. data/docs/ContentLocalLibraryCreateResult.md +0 -8
  121. data/docs/ContentLocalLibraryDestinationSpec.md +0 -8
  122. data/docs/ContentLocalLibraryListResult.md +0 -8
  123. data/docs/ContentLocalLibraryPublish.md +0 -8
  124. data/docs/ContentLocalLibraryResult.md +0 -8
  125. data/docs/ContentLocalLibraryUpdate.md +0 -8
  126. data/docs/ContentSubscribedLibraryCreate.md +0 -9
  127. data/docs/ContentSubscribedLibraryCreateResult.md +0 -8
  128. data/docs/ContentSubscribedLibraryListResult.md +0 -8
  129. data/docs/ContentSubscribedLibraryProbe.md +0 -8
  130. data/docs/ContentSubscribedLibraryProbeResult.md +0 -10
  131. data/docs/ContentSubscribedLibraryProbeResultStatus.md +0 -7
  132. data/docs/ContentSubscribedLibraryResult.md +0 -8
  133. data/docs/ContentSubscribedLibraryUpdate.md +0 -8
  134. data/docs/LibraryApi.md +0 -209
  135. data/docs/LibraryItemApi.md +0 -419
  136. data/docs/LibraryItemDownloadSessionApi.md +0 -369
  137. data/docs/LibraryItemDownloadsessionFileApi.md +0 -165
  138. data/docs/LibraryItemFileApi.md +0 -112
  139. data/docs/LibraryItemStorageApi.md +0 -112
  140. data/docs/LibraryItemUpdateSessionApi.md +0 -471
  141. data/docs/LibraryItemUpdatesessionFileApi.md +0 -268
  142. data/docs/LibrarySubscribedItemApi.md +0 -110
  143. data/docs/LibrarySubscriptionsApi.md +0 -269
  144. data/docs/LocalLibraryApi.md +0 -313
  145. data/docs/SubscribedLibraryApi.md +0 -410
  146. data/docs/VapiStdErrorsAlreadyExists.md +0 -9
  147. data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
  148. data/docs/VapiStdErrorsConcurrentChange.md +0 -9
  149. data/docs/VapiStdErrorsConcurrentChangeError.md +0 -9
  150. data/docs/VapiStdErrorsError.md +0 -9
  151. data/docs/VapiStdErrorsErrorError.md +0 -9
  152. data/docs/VapiStdErrorsInvalidArgument.md +0 -9
  153. data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
  154. data/docs/VapiStdErrorsInvalidElementConfiguration.md +0 -9
  155. data/docs/VapiStdErrorsInvalidElementConfigurationError.md +0 -9
  156. data/docs/VapiStdErrorsInvalidElementType.md +0 -9
  157. data/docs/VapiStdErrorsInvalidElementTypeError.md +0 -9
  158. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
  159. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
  160. data/docs/VapiStdErrorsNotFound.md +0 -9
  161. data/docs/VapiStdErrorsNotFoundError.md +0 -9
  162. data/docs/VapiStdErrorsResourceBusy.md +0 -9
  163. data/docs/VapiStdErrorsResourceBusyError.md +0 -9
  164. data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
  165. data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
  166. data/docs/VapiStdErrorsUnauthenticated.md +0 -9
  167. data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
  168. data/docs/VapiStdErrorsUnauthorized.md +0 -9
  169. data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
  170. data/docs/VapiStdErrorsUnsupported.md +0 -9
  171. data/docs/VapiStdErrorsUnsupportedError.md +0 -9
  172. data/docs/VapiStdLocalizableMessage.md +0 -10
  173. data/git_push.sh +0 -55
  174. data/lib/vsphere-automation-content/api_client.rb +0 -260
  175. data/lib/vsphere-automation-content/api_error.rb +0 -34
  176. data/lib/vsphere-automation-content/configuration.rb +0 -212
  177. data/pkg/vsphere-automation-content-0.4.1.gem +0 -0
  178. data/pkg/vsphere-automation-content-0.4.2.gem +0 -0
  179. data/pkg/vsphere-automation-content-0.4.3.gem +0 -0
  180. data/pkg/vsphere-automation-content-0.4.4.gem +0 -0
  181. data/spec/api/configuration_api_spec.rb +0 -52
  182. data/spec/api/library_api_spec.rb +0 -75
  183. data/spec/api/library_item_api_spec.rb +0 -122
  184. data/spec/api/library_item_download_session_api_spec.rb +0 -110
  185. data/spec/api/library_item_downloadsession_file_api_spec.rb +0 -66
  186. data/spec/api/library_item_file_api_spec.rb +0 -54
  187. data/spec/api/library_item_storage_api_spec.rb +0 -54
  188. data/spec/api/library_item_update_session_api_spec.rb +0 -133
  189. data/spec/api/library_item_updatesession_file_api_spec.rb +0 -89
  190. data/spec/api/library_subscribed_item_api_spec.rb +0 -54
  191. data/spec/api/library_subscriptions_api_spec.rb +0 -90
  192. data/spec/api/local_library_api_spec.rb +0 -98
  193. data/spec/api/subscribed_library_api_spec.rb +0 -119
  194. data/spec/api_client_spec.rb +0 -248
  195. data/spec/configuration_spec.rb +0 -38
  196. data/spec/models/content_configuration_model_spec.rb +0 -55
  197. data/spec/models/content_configuration_result_spec.rb +0 -37
  198. data/spec/models/content_configuration_update_spec.rb +0 -37
  199. data/spec/models/content_library_find_result_spec.rb +0 -37
  200. data/spec/models/content_library_find_spec.rb +0 -37
  201. data/spec/models/content_library_find_spec_spec.rb +0 -43
  202. data/spec/models/content_library_item_copy_result_spec.rb +0 -37
  203. data/spec/models/content_library_item_copy_spec.rb +0 -43
  204. data/spec/models/content_library_item_create_result_spec.rb +0 -37
  205. data/spec/models/content_library_item_create_spec.rb +0 -43
  206. data/spec/models/content_library_item_destination_spec_spec.rb +0 -37
  207. data/spec/models/content_library_item_download_session_create_result_spec.rb +0 -37
  208. data/spec/models/content_library_item_download_session_create_spec.rb +0 -43
  209. data/spec/models/content_library_item_download_session_fail_spec.rb +0 -37
  210. data/spec/models/content_library_item_download_session_keep_alive_spec.rb +0 -37
  211. data/spec/models/content_library_item_download_session_list_result_spec.rb +0 -37
  212. data/spec/models/content_library_item_download_session_model_spec.rb +0 -73
  213. data/spec/models/content_library_item_download_session_model_state_spec.rb +0 -31
  214. data/spec/models/content_library_item_download_session_result_spec.rb +0 -37
  215. data/spec/models/content_library_item_downloadsession_file_endpoint_type_spec.rb +0 -31
  216. data/spec/models/content_library_item_downloadsession_file_get_spec.rb +0 -37
  217. data/spec/models/content_library_item_downloadsession_file_info_spec.rb +0 -73
  218. data/spec/models/content_library_item_downloadsession_file_list_result_spec.rb +0 -37
  219. data/spec/models/content_library_item_downloadsession_file_prepare_result_spec.rb +0 -37
  220. data/spec/models/content_library_item_downloadsession_file_prepare_spec.rb +0 -43
  221. data/spec/models/content_library_item_downloadsession_file_prepare_status_spec.rb +0 -31
  222. data/spec/models/content_library_item_downloadsession_file_result_spec.rb +0 -37
  223. data/spec/models/content_library_item_file_checksum_algorithm_spec.rb +0 -31
  224. data/spec/models/content_library_item_file_checksum_info_spec.rb +0 -43
  225. data/spec/models/content_library_item_file_get_spec.rb +0 -37
  226. data/spec/models/content_library_item_file_info_spec.rb +0 -61
  227. data/spec/models/content_library_item_file_list_result_spec.rb +0 -37
  228. data/spec/models/content_library_item_file_result_spec.rb +0 -37
  229. data/spec/models/content_library_item_find_result_spec.rb +0 -37
  230. data/spec/models/content_library_item_find_spec.rb +0 -37
  231. data/spec/models/content_library_item_find_spec_spec.rb +0 -61
  232. data/spec/models/content_library_item_list_result_spec.rb +0 -37
  233. data/spec/models/content_library_item_model_spec.rb +0 -115
  234. data/spec/models/content_library_item_publish_spec.rb +0 -43
  235. data/spec/models/content_library_item_result_spec.rb +0 -37
  236. data/spec/models/content_library_item_storage_get_spec.rb +0 -37
  237. data/spec/models/content_library_item_storage_info_spec.rb +0 -73
  238. data/spec/models/content_library_item_storage_list_result_spec.rb +0 -37
  239. data/spec/models/content_library_item_storage_result_spec.rb +0 -37
  240. data/spec/models/content_library_item_transfer_endpoint_spec.rb +0 -43
  241. data/spec/models/content_library_item_transfer_status_spec.rb +0 -31
  242. data/spec/models/content_library_item_update_session_create_result_spec.rb +0 -37
  243. data/spec/models/content_library_item_update_session_create_spec.rb +0 -43
  244. data/spec/models/content_library_item_update_session_fail_spec.rb +0 -37
  245. data/spec/models/content_library_item_update_session_keep_alive_spec.rb +0 -37
  246. data/spec/models/content_library_item_update_session_list_result_spec.rb +0 -37
  247. data/spec/models/content_library_item_update_session_model_spec.rb +0 -85
  248. data/spec/models/content_library_item_update_session_model_state_spec.rb +0 -31
  249. data/spec/models/content_library_item_update_session_result_spec.rb +0 -37
  250. data/spec/models/content_library_item_update_session_update_spec.rb +0 -37
  251. data/spec/models/content_library_item_update_spec.rb +0 -37
  252. data/spec/models/content_library_item_updatesession_certificate_info_spec.rb +0 -55
  253. data/spec/models/content_library_item_updatesession_file_add_result_spec.rb +0 -37
  254. data/spec/models/content_library_item_updatesession_file_add_spec.rb +0 -37
  255. data/spec/models/content_library_item_updatesession_file_add_spec_spec.rb +0 -61
  256. data/spec/models/content_library_item_updatesession_file_get_spec.rb +0 -37
  257. data/spec/models/content_library_item_updatesession_file_info_spec.rb +0 -91
  258. data/spec/models/content_library_item_updatesession_file_list_result_spec.rb +0 -37
  259. data/spec/models/content_library_item_updatesession_file_remove_spec.rb +0 -37
  260. data/spec/models/content_library_item_updatesession_file_result_spec.rb +0 -37
  261. data/spec/models/content_library_item_updatesession_file_source_type_spec.rb +0 -31
  262. data/spec/models/content_library_item_updatesession_file_validate_result_spec.rb +0 -37
  263. data/spec/models/content_library_item_updatesession_file_validation_error_spec.rb +0 -43
  264. data/spec/models/content_library_item_updatesession_file_validation_result_spec.rb +0 -49
  265. data/spec/models/content_library_item_updatesession_preview_info_spec.rb +0 -49
  266. data/spec/models/content_library_item_updatesession_preview_info_state_spec.rb +0 -31
  267. data/spec/models/content_library_item_updatesession_preview_warning_info_spec.rb +0 -49
  268. data/spec/models/content_library_item_updatesession_warning_behavior_spec.rb +0 -43
  269. data/spec/models/content_library_item_updatesession_warning_type_spec.rb +0 -31
  270. data/spec/models/content_library_list_result_spec.rb +0 -37
  271. data/spec/models/content_library_model_library_type_spec.rb +0 -31
  272. data/spec/models/content_library_model_spec.rb +0 -109
  273. data/spec/models/content_library_optimization_info_spec.rb +0 -37
  274. data/spec/models/content_library_publish_info_authentication_method_spec.rb +0 -31
  275. data/spec/models/content_library_publish_info_spec.rb +0 -73
  276. data/spec/models/content_library_result_spec.rb +0 -37
  277. data/spec/models/content_library_source_info_spec.rb +0 -43
  278. data/spec/models/content_library_storage_backing_spec.rb +0 -49
  279. data/spec/models/content_library_storage_backing_type_spec.rb +0 -31
  280. data/spec/models/content_library_subscribed_item_sync_spec.rb +0 -37
  281. data/spec/models/content_library_subscription_info_authentication_method_spec.rb +0 -31
  282. data/spec/models/content_library_subscription_info_spec.rb +0 -79
  283. data/spec/models/content_library_subscriptions_create_result_spec.rb +0 -37
  284. data/spec/models/content_library_subscriptions_create_spec.rb +0 -43
  285. data/spec/models/content_library_subscriptions_create_spec_new_subscribed_library_spec.rb +0 -61
  286. data/spec/models/content_library_subscriptions_create_spec_placement_spec.rb +0 -61
  287. data/spec/models/content_library_subscriptions_create_spec_spec.rb +0 -37
  288. data/spec/models/content_library_subscriptions_create_spec_subscribed_library_spec.rb +0 -67
  289. data/spec/models/content_library_subscriptions_create_spec_subscribed_library_target_spec.rb +0 -31
  290. data/spec/models/content_library_subscriptions_create_spec_vcenter_spec.rb +0 -43
  291. data/spec/models/content_library_subscriptions_delete_spec.rb +0 -37
  292. data/spec/models/content_library_subscriptions_get_spec.rb +0 -37
  293. data/spec/models/content_library_subscriptions_info_spec.rb +0 -61
  294. data/spec/models/content_library_subscriptions_list_result_spec.rb +0 -37
  295. data/spec/models/content_library_subscriptions_location_spec.rb +0 -31
  296. data/spec/models/content_library_subscriptions_placement_info_spec.rb +0 -61
  297. data/spec/models/content_library_subscriptions_result_spec.rb +0 -37
  298. data/spec/models/content_library_subscriptions_summary_spec.rb +0 -55
  299. data/spec/models/content_library_subscriptions_update_spec.rb +0 -43
  300. data/spec/models/content_library_subscriptions_update_spec_placement_spec.rb +0 -61
  301. data/spec/models/content_library_subscriptions_update_spec_spec.rb +0 -43
  302. data/spec/models/content_library_subscriptions_update_spec_vcenter_spec.rb +0 -43
  303. data/spec/models/content_library_subscriptions_vcenter_info_spec.rb +0 -49
  304. data/spec/models/content_library_update_spec.rb +0 -37
  305. data/spec/models/content_local_library_create_result_spec.rb +0 -37
  306. data/spec/models/content_local_library_create_spec.rb +0 -43
  307. data/spec/models/content_local_library_destination_spec_spec.rb +0 -37
  308. data/spec/models/content_local_library_list_result_spec.rb +0 -37
  309. data/spec/models/content_local_library_publish_spec.rb +0 -37
  310. data/spec/models/content_local_library_result_spec.rb +0 -37
  311. data/spec/models/content_local_library_update_spec.rb +0 -37
  312. data/spec/models/content_subscribed_library_create_result_spec.rb +0 -37
  313. data/spec/models/content_subscribed_library_create_spec.rb +0 -43
  314. data/spec/models/content_subscribed_library_list_result_spec.rb +0 -37
  315. data/spec/models/content_subscribed_library_probe_result_spec.rb +0 -49
  316. data/spec/models/content_subscribed_library_probe_result_status_spec.rb +0 -31
  317. data/spec/models/content_subscribed_library_probe_spec.rb +0 -37
  318. data/spec/models/content_subscribed_library_result_spec.rb +0 -37
  319. data/spec/models/content_subscribed_library_update_spec.rb +0 -37
  320. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
  321. data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
  322. data/spec/models/vapi_std_errors_concurrent_change_error_spec.rb +0 -43
  323. data/spec/models/vapi_std_errors_concurrent_change_spec.rb +0 -43
  324. data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
  325. data/spec/models/vapi_std_errors_error_spec.rb +0 -43
  326. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
  327. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
  328. data/spec/models/vapi_std_errors_invalid_element_configuration_error_spec.rb +0 -43
  329. data/spec/models/vapi_std_errors_invalid_element_configuration_spec.rb +0 -43
  330. data/spec/models/vapi_std_errors_invalid_element_type_error_spec.rb +0 -43
  331. data/spec/models/vapi_std_errors_invalid_element_type_spec.rb +0 -43
  332. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
  333. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
  334. data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
  335. data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
  336. data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
  337. data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
  338. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
  339. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
  340. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
  341. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
  342. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
  343. data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
  344. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
  345. data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
  346. data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
  347. data/spec/spec_helper.rb +0 -110
  348. data/vsphere-automation-content.gemspec +0 -40
@@ -1,112 +0,0 @@
1
- # VSphereAutomation::Content::LibraryItemFileApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](LibraryItemFileApi.md#get) | **POST** /com/vmware/content/library/item/file/id:{library_item_id}?~action=get | Retrieves the information for a single file in a library item by its name.
8
- [**list**](LibraryItemFileApi.md#list) | **GET** /com/vmware/content/library/item/file | Lists all of the files that are stored within a given library item.
9
-
10
-
11
- # **get**
12
- > ContentLibraryItemFileResult get(library_item_id, request_body)
13
-
14
- Retrieves the information for a single file in a library item by its name.
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'vsphere-automation-content'
20
- # setup authorization
21
- VSphereAutomation::Configuration.new.tap do |config|
22
- # Configure API key authorization: api_key
23
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
24
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
25
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
26
- end
27
-
28
- api_instance = VSphereAutomation::Content::LibraryItemFileApi.new
29
- library_item_id = 'library_item_id_example' # String | Identifier of the library item whose file information should be returned.
30
- request_body = Content::ContentLibraryItemFileGet.new # ContentLibraryItemFileGet |
31
-
32
- begin
33
- #Retrieves the information for a single file in a library item by its name.
34
- result = api_instance.get(library_item_id, request_body)
35
- p result
36
- rescue VSphereAutomation::ApiError => e
37
- puts "Exception when calling LibraryItemFileApi->get: #{e}"
38
- end
39
- ```
40
-
41
- ### Parameters
42
-
43
- Name | Type | Description | Notes
44
- ------------- | ------------- | ------------- | -------------
45
- **library_item_id** | **String**| Identifier of the library item whose file information should be returned. |
46
- **request_body** | [**ContentLibraryItemFileGet**](ContentLibraryItemFileGet.md)| |
47
-
48
- ### Return type
49
-
50
- [**ContentLibraryItemFileResult**](ContentLibraryItemFileResult.md)
51
-
52
- ### Authorization
53
-
54
- [api_key](../README.md#api_key)
55
-
56
- ### HTTP request headers
57
-
58
- - **Content-Type**: application/json
59
- - **Accept**: application/json
60
-
61
-
62
-
63
- # **list**
64
- > ContentLibraryItemFileListResult list(library_item_id)
65
-
66
- Lists all of the files that are stored within a given library item.
67
-
68
- ### Example
69
- ```ruby
70
- # load the gem
71
- require 'vsphere-automation-content'
72
- # setup authorization
73
- VSphereAutomation::Configuration.new.tap do |config|
74
- # Configure API key authorization: api_key
75
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
76
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
77
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
78
- end
79
-
80
- api_instance = VSphereAutomation::Content::LibraryItemFileApi.new
81
- library_item_id = 'library_item_id_example' # String | Identifier of the library item whose files should be listed.
82
-
83
- begin
84
- #Lists all of the files that are stored within a given library item.
85
- result = api_instance.list(library_item_id)
86
- p result
87
- rescue VSphereAutomation::ApiError => e
88
- puts "Exception when calling LibraryItemFileApi->list: #{e}"
89
- end
90
- ```
91
-
92
- ### Parameters
93
-
94
- Name | Type | Description | Notes
95
- ------------- | ------------- | ------------- | -------------
96
- **library_item_id** | **String**| Identifier of the library item whose files should be listed. |
97
-
98
- ### Return type
99
-
100
- [**ContentLibraryItemFileListResult**](ContentLibraryItemFileListResult.md)
101
-
102
- ### Authorization
103
-
104
- [api_key](../README.md#api_key)
105
-
106
- ### HTTP request headers
107
-
108
- - **Content-Type**: Not defined
109
- - **Accept**: application/json
110
-
111
-
112
-
@@ -1,112 +0,0 @@
1
- # VSphereAutomation::Content::LibraryItemStorageApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](LibraryItemStorageApi.md#get) | **POST** /com/vmware/content/library/item/storage/id:{library_item_id}?~action=get | Retrieves the storage information for a specific file in a library item.
8
- [**list**](LibraryItemStorageApi.md#list) | **GET** /com/vmware/content/library/item/storage | Lists all storage items for a given library item.
9
-
10
-
11
- # **get**
12
- > ContentLibraryItemStorageResult get(library_item_id, request_body)
13
-
14
- Retrieves the storage information for a specific file in a library item.
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'vsphere-automation-content'
20
- # setup authorization
21
- VSphereAutomation::Configuration.new.tap do |config|
22
- # Configure API key authorization: api_key
23
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
24
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
25
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
26
- end
27
-
28
- api_instance = VSphereAutomation::Content::LibraryItemStorageApi.new
29
- library_item_id = 'library_item_id_example' # String | Identifier of the library item whose storage information should be retrieved.
30
- request_body = Content::ContentLibraryItemStorageGet.new # ContentLibraryItemStorageGet |
31
-
32
- begin
33
- #Retrieves the storage information for a specific file in a library item.
34
- result = api_instance.get(library_item_id, request_body)
35
- p result
36
- rescue VSphereAutomation::ApiError => e
37
- puts "Exception when calling LibraryItemStorageApi->get: #{e}"
38
- end
39
- ```
40
-
41
- ### Parameters
42
-
43
- Name | Type | Description | Notes
44
- ------------- | ------------- | ------------- | -------------
45
- **library_item_id** | **String**| Identifier of the library item whose storage information should be retrieved. |
46
- **request_body** | [**ContentLibraryItemStorageGet**](ContentLibraryItemStorageGet.md)| |
47
-
48
- ### Return type
49
-
50
- [**ContentLibraryItemStorageResult**](ContentLibraryItemStorageResult.md)
51
-
52
- ### Authorization
53
-
54
- [api_key](../README.md#api_key)
55
-
56
- ### HTTP request headers
57
-
58
- - **Content-Type**: application/json
59
- - **Accept**: application/json
60
-
61
-
62
-
63
- # **list**
64
- > ContentLibraryItemStorageListResult list(library_item_id)
65
-
66
- Lists all storage items for a given library item.
67
-
68
- ### Example
69
- ```ruby
70
- # load the gem
71
- require 'vsphere-automation-content'
72
- # setup authorization
73
- VSphereAutomation::Configuration.new.tap do |config|
74
- # Configure API key authorization: api_key
75
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
76
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
77
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
78
- end
79
-
80
- api_instance = VSphereAutomation::Content::LibraryItemStorageApi.new
81
- library_item_id = 'library_item_id_example' # String | Identifier of the library item whose storage information should be listed.
82
-
83
- begin
84
- #Lists all storage items for a given library item.
85
- result = api_instance.list(library_item_id)
86
- p result
87
- rescue VSphereAutomation::ApiError => e
88
- puts "Exception when calling LibraryItemStorageApi->list: #{e}"
89
- end
90
- ```
91
-
92
- ### Parameters
93
-
94
- Name | Type | Description | Notes
95
- ------------- | ------------- | ------------- | -------------
96
- **library_item_id** | **String**| Identifier of the library item whose storage information should be listed. |
97
-
98
- ### Return type
99
-
100
- [**ContentLibraryItemStorageListResult**](ContentLibraryItemStorageListResult.md)
101
-
102
- ### Authorization
103
-
104
- [api_key](../README.md#api_key)
105
-
106
- ### HTTP request headers
107
-
108
- - **Content-Type**: Not defined
109
- - **Accept**: application/json
110
-
111
-
112
-
@@ -1,471 +0,0 @@
1
- # VSphereAutomation::Content::LibraryItemUpdateSessionApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**cancel**](LibraryItemUpdateSessionApi.md#cancel) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=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.
8
- [**complete**](LibraryItemUpdateSessionApi.md#complete) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=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.
9
- [**create**](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.
10
- [**delete**](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.
11
- [**fail**](LibraryItemUpdateSessionApi.md#fail) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=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.
12
- [**get**](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.
13
- [**keep_alive**](LibraryItemUpdateSessionApi.md#keep_alive) | **POST** /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=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.
14
- [**list**](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.
15
- [**update**](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.
16
-
17
-
18
- # **cancel**
19
- > cancel(update_session_id)
20
-
21
- 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.
22
-
23
- ### Example
24
- ```ruby
25
- # load the gem
26
- require 'vsphere-automation-content'
27
- # setup authorization
28
- VSphereAutomation::Configuration.new.tap do |config|
29
- # Configure API key authorization: api_key
30
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
31
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
33
- end
34
-
35
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
36
- update_session_id = 'update_session_id_example' # String | Identifier of the update session that should be canceled.
37
-
38
- begin
39
- #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.
40
- api_instance.cancel(update_session_id)
41
- rescue VSphereAutomation::ApiError => e
42
- puts "Exception when calling LibraryItemUpdateSessionApi->cancel: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **update_session_id** | **String**| Identifier of the update session that should be canceled. |
51
-
52
- ### Return type
53
-
54
- nil (empty response body)
55
-
56
- ### Authorization
57
-
58
- [api_key](../README.md#api_key)
59
-
60
- ### HTTP request headers
61
-
62
- - **Content-Type**: Not defined
63
- - **Accept**: application/json
64
-
65
-
66
-
67
- # **complete**
68
- > complete(update_session_id)
69
-
70
- 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.
71
-
72
- ### Example
73
- ```ruby
74
- # load the gem
75
- require 'vsphere-automation-content'
76
- # setup authorization
77
- VSphereAutomation::Configuration.new.tap do |config|
78
- # Configure API key authorization: api_key
79
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
80
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
81
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
82
- end
83
-
84
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
85
- update_session_id = 'update_session_id_example' # String | Identifier of the update session that should be completed.
86
-
87
- begin
88
- #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.
89
- api_instance.complete(update_session_id)
90
- rescue VSphereAutomation::ApiError => e
91
- puts "Exception when calling LibraryItemUpdateSessionApi->complete: #{e}"
92
- end
93
- ```
94
-
95
- ### Parameters
96
-
97
- Name | Type | Description | Notes
98
- ------------- | ------------- | ------------- | -------------
99
- **update_session_id** | **String**| Identifier of the update session that should be completed. |
100
-
101
- ### Return type
102
-
103
- nil (empty response body)
104
-
105
- ### Authorization
106
-
107
- [api_key](../README.md#api_key)
108
-
109
- ### HTTP request headers
110
-
111
- - **Content-Type**: Not defined
112
- - **Accept**: application/json
113
-
114
-
115
-
116
- # **create**
117
- > ContentLibraryItemUpdateSessionCreateResult create(request_body)
118
-
119
- 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.
120
-
121
- ### Example
122
- ```ruby
123
- # load the gem
124
- require 'vsphere-automation-content'
125
- # setup authorization
126
- VSphereAutomation::Configuration.new.tap do |config|
127
- # Configure API key authorization: api_key
128
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
129
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
130
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
131
- end
132
-
133
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
134
- request_body = Content::ContentLibraryItemUpdateSessionCreate.new # ContentLibraryItemUpdateSessionCreate |
135
-
136
- begin
137
- #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.
138
- result = api_instance.create(request_body)
139
- p result
140
- rescue VSphereAutomation::ApiError => e
141
- puts "Exception when calling LibraryItemUpdateSessionApi->create: #{e}"
142
- end
143
- ```
144
-
145
- ### Parameters
146
-
147
- Name | Type | Description | Notes
148
- ------------- | ------------- | ------------- | -------------
149
- **request_body** | [**ContentLibraryItemUpdateSessionCreate**](ContentLibraryItemUpdateSessionCreate.md)| |
150
-
151
- ### Return type
152
-
153
- [**ContentLibraryItemUpdateSessionCreateResult**](ContentLibraryItemUpdateSessionCreateResult.md)
154
-
155
- ### Authorization
156
-
157
- [api_key](../README.md#api_key)
158
-
159
- ### HTTP request headers
160
-
161
- - **Content-Type**: application/json
162
- - **Accept**: application/json
163
-
164
-
165
-
166
- # **delete**
167
- > delete(update_session_id)
168
-
169
- 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.
170
-
171
- ### Example
172
- ```ruby
173
- # load the gem
174
- require 'vsphere-automation-content'
175
- # setup authorization
176
- VSphereAutomation::Configuration.new.tap do |config|
177
- # Configure API key authorization: api_key
178
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
179
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
180
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
181
- end
182
-
183
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
184
- update_session_id = 'update_session_id_example' # String | Identifer of the update session to delete.
185
-
186
- begin
187
- #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.
188
- api_instance.delete(update_session_id)
189
- rescue VSphereAutomation::ApiError => e
190
- puts "Exception when calling LibraryItemUpdateSessionApi->delete: #{e}"
191
- end
192
- ```
193
-
194
- ### Parameters
195
-
196
- Name | Type | Description | Notes
197
- ------------- | ------------- | ------------- | -------------
198
- **update_session_id** | **String**| Identifer of the update session to delete. |
199
-
200
- ### Return type
201
-
202
- nil (empty response body)
203
-
204
- ### Authorization
205
-
206
- [api_key](../README.md#api_key)
207
-
208
- ### HTTP request headers
209
-
210
- - **Content-Type**: Not defined
211
- - **Accept**: application/json
212
-
213
-
214
-
215
- # **fail**
216
- > fail(update_session_id, request_body)
217
-
218
- 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.
219
-
220
- ### Example
221
- ```ruby
222
- # load the gem
223
- require 'vsphere-automation-content'
224
- # setup authorization
225
- VSphereAutomation::Configuration.new.tap do |config|
226
- # Configure API key authorization: api_key
227
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
228
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
229
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
230
- end
231
-
232
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
233
- update_session_id = 'update_session_id_example' # String | Identifier of the update session to fail.
234
- request_body = Content::ContentLibraryItemUpdateSessionFail.new # ContentLibraryItemUpdateSessionFail |
235
-
236
- begin
237
- #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.
238
- api_instance.fail(update_session_id, request_body)
239
- rescue VSphereAutomation::ApiError => e
240
- puts "Exception when calling LibraryItemUpdateSessionApi->fail: #{e}"
241
- end
242
- ```
243
-
244
- ### Parameters
245
-
246
- Name | Type | Description | Notes
247
- ------------- | ------------- | ------------- | -------------
248
- **update_session_id** | **String**| Identifier of the update session to fail. |
249
- **request_body** | [**ContentLibraryItemUpdateSessionFail**](ContentLibraryItemUpdateSessionFail.md)| |
250
-
251
- ### Return type
252
-
253
- nil (empty response body)
254
-
255
- ### Authorization
256
-
257
- [api_key](../README.md#api_key)
258
-
259
- ### HTTP request headers
260
-
261
- - **Content-Type**: application/json
262
- - **Accept**: application/json
263
-
264
-
265
-
266
- # **get**
267
- > ContentLibraryItemUpdateSessionResult get(update_session_id)
268
-
269
- Gets the update session with the specified identifier, including the most up-to-date status information for the session.
270
-
271
- ### Example
272
- ```ruby
273
- # load the gem
274
- require 'vsphere-automation-content'
275
- # setup authorization
276
- VSphereAutomation::Configuration.new.tap do |config|
277
- # Configure API key authorization: api_key
278
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
279
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
280
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
281
- end
282
-
283
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
284
- update_session_id = 'update_session_id_example' # String | Identifier of the update session to retrieve.
285
-
286
- begin
287
- #Gets the update session with the specified identifier, including the most up-to-date status information for the session.
288
- result = api_instance.get(update_session_id)
289
- p result
290
- rescue VSphereAutomation::ApiError => e
291
- puts "Exception when calling LibraryItemUpdateSessionApi->get: #{e}"
292
- end
293
- ```
294
-
295
- ### Parameters
296
-
297
- Name | Type | Description | Notes
298
- ------------- | ------------- | ------------- | -------------
299
- **update_session_id** | **String**| Identifier of the update session to retrieve. |
300
-
301
- ### Return type
302
-
303
- [**ContentLibraryItemUpdateSessionResult**](ContentLibraryItemUpdateSessionResult.md)
304
-
305
- ### Authorization
306
-
307
- [api_key](../README.md#api_key)
308
-
309
- ### HTTP request headers
310
-
311
- - **Content-Type**: Not defined
312
- - **Accept**: application/json
313
-
314
-
315
-
316
- # **keep_alive**
317
- > keep_alive(update_session_id, opts)
318
-
319
- 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.
320
-
321
- ### Example
322
- ```ruby
323
- # load the gem
324
- require 'vsphere-automation-content'
325
- # setup authorization
326
- VSphereAutomation::Configuration.new.tap do |config|
327
- # Configure API key authorization: api_key
328
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
329
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
330
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
331
- end
332
-
333
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
334
- update_session_id = 'update_session_id_example' # String | Identifier of the update session whose lifetime should be extended.
335
- opts = {
336
- request_body: Content::ContentLibraryItemUpdateSessionKeepAlive.new # ContentLibraryItemUpdateSessionKeepAlive |
337
- }
338
-
339
- begin
340
- #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.
341
- api_instance.keep_alive(update_session_id, opts)
342
- rescue VSphereAutomation::ApiError => e
343
- puts "Exception when calling LibraryItemUpdateSessionApi->keep_alive: #{e}"
344
- end
345
- ```
346
-
347
- ### Parameters
348
-
349
- Name | Type | Description | Notes
350
- ------------- | ------------- | ------------- | -------------
351
- **update_session_id** | **String**| Identifier of the update session whose lifetime should be extended. |
352
- **request_body** | [**ContentLibraryItemUpdateSessionKeepAlive**](ContentLibraryItemUpdateSessionKeepAlive.md)| | [optional]
353
-
354
- ### Return type
355
-
356
- nil (empty response body)
357
-
358
- ### Authorization
359
-
360
- [api_key](../README.md#api_key)
361
-
362
- ### HTTP request headers
363
-
364
- - **Content-Type**: application/json
365
- - **Accept**: application/json
366
-
367
-
368
-
369
- # **list**
370
- > ContentLibraryItemUpdateSessionListResult list(opts)
371
-
372
- Lists the identifiers of the update session created by the calling user. Optionally may filter by library item.
373
-
374
- ### Example
375
- ```ruby
376
- # load the gem
377
- require 'vsphere-automation-content'
378
- # setup authorization
379
- VSphereAutomation::Configuration.new.tap do |config|
380
- # Configure API key authorization: api_key
381
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
382
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
383
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
384
- end
385
-
386
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
387
- opts = {
388
- library_item_id: 'library_item_id_example' # String | Optional library item identifier on which to filter results.
389
- }
390
-
391
- begin
392
- #Lists the identifiers of the update session created by the calling user. Optionally may filter by library item.
393
- result = api_instance.list(opts)
394
- p result
395
- rescue VSphereAutomation::ApiError => e
396
- puts "Exception when calling LibraryItemUpdateSessionApi->list: #{e}"
397
- end
398
- ```
399
-
400
- ### Parameters
401
-
402
- Name | Type | Description | Notes
403
- ------------- | ------------- | ------------- | -------------
404
- **library_item_id** | **String**| Optional library item identifier on which to filter results. | [optional]
405
-
406
- ### Return type
407
-
408
- [**ContentLibraryItemUpdateSessionListResult**](ContentLibraryItemUpdateSessionListResult.md)
409
-
410
- ### Authorization
411
-
412
- [api_key](../README.md#api_key)
413
-
414
- ### HTTP request headers
415
-
416
- - **Content-Type**: Not defined
417
- - **Accept**: application/json
418
-
419
-
420
-
421
- # **update**
422
- > update(update_session_id, request_body)
423
-
424
- 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.
425
-
426
- ### Example
427
- ```ruby
428
- # load the gem
429
- require 'vsphere-automation-content'
430
- # setup authorization
431
- VSphereAutomation::Configuration.new.tap do |config|
432
- # Configure API key authorization: api_key
433
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
434
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
435
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
436
- end
437
-
438
- api_instance = VSphereAutomation::Content::LibraryItemUpdateSessionApi.new
439
- update_session_id = 'update_session_id_example' # String | Identifer of the update session that should be updated.
440
- request_body = Content::ContentLibraryItemUpdateSessionUpdate.new # ContentLibraryItemUpdateSessionUpdate |
441
-
442
- begin
443
- #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.
444
- api_instance.update(update_session_id, request_body)
445
- rescue VSphereAutomation::ApiError => e
446
- puts "Exception when calling LibraryItemUpdateSessionApi->update: #{e}"
447
- end
448
- ```
449
-
450
- ### Parameters
451
-
452
- Name | Type | Description | Notes
453
- ------------- | ------------- | ------------- | -------------
454
- **update_session_id** | **String**| Identifer of the update session that should be updated. |
455
- **request_body** | [**ContentLibraryItemUpdateSessionUpdate**](ContentLibraryItemUpdateSessionUpdate.md)| |
456
-
457
- ### Return type
458
-
459
- nil (empty response body)
460
-
461
- ### Authorization
462
-
463
- [api_key](../README.md#api_key)
464
-
465
- ### HTTP request headers
466
-
467
- - **Content-Type**: application/json
468
- - **Accept**: application/json
469
-
470
-
471
-