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,313 +0,0 @@
1
- # VSphereAutomation::Content::LocalLibraryApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](LocalLibraryApi.md#create) | **POST** /com/vmware/content/local-library | Creates a new local library.
8
- [**delete**](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.
9
- [**get**](LocalLibraryApi.md#get) | **GET** /com/vmware/content/local-library/id:{library_id} | Returns a given local library.
10
- [**list**](LocalLibraryApi.md#list) | **GET** /com/vmware/content/local-library | Returns the identifiers of all local libraries in the Content Library.
11
- [**publish**](LocalLibraryApi.md#publish) | **POST** /com/vmware/content/local-library/id:{library_id}?~action=publish | Publishes the library to specified subscriptions. If no subscriptions are specified, then publishes the library to all its subscriptions.
12
- [**update**](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.
13
-
14
-
15
- # **create**
16
- > ContentLocalLibraryCreateResult create(request_body)
17
-
18
- Creates a new local library.
19
-
20
- ### Example
21
- ```ruby
22
- # load the gem
23
- require 'vsphere-automation-content'
24
- # setup authorization
25
- VSphereAutomation::Configuration.new.tap do |config|
26
- # Configure API key authorization: api_key
27
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
28
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
30
- end
31
-
32
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
33
- request_body = Content::ContentLocalLibraryCreate.new # ContentLocalLibraryCreate |
34
-
35
- begin
36
- #Creates a new local library.
37
- result = api_instance.create(request_body)
38
- p result
39
- rescue VSphereAutomation::ApiError => e
40
- puts "Exception when calling LocalLibraryApi->create: #{e}"
41
- end
42
- ```
43
-
44
- ### Parameters
45
-
46
- Name | Type | Description | Notes
47
- ------------- | ------------- | ------------- | -------------
48
- **request_body** | [**ContentLocalLibraryCreate**](ContentLocalLibraryCreate.md)| |
49
-
50
- ### Return type
51
-
52
- [**ContentLocalLibraryCreateResult**](ContentLocalLibraryCreateResult.md)
53
-
54
- ### Authorization
55
-
56
- [api_key](../README.md#api_key)
57
-
58
- ### HTTP request headers
59
-
60
- - **Content-Type**: application/json
61
- - **Accept**: application/json
62
-
63
-
64
-
65
- # **delete**
66
- > delete(library_id)
67
-
68
- 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.
69
-
70
- ### Example
71
- ```ruby
72
- # load the gem
73
- require 'vsphere-automation-content'
74
- # setup authorization
75
- VSphereAutomation::Configuration.new.tap do |config|
76
- # Configure API key authorization: api_key
77
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
78
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
79
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
80
- end
81
-
82
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
83
- library_id = 'library_id_example' # String | Identifier of the local library to delete.
84
-
85
- begin
86
- #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.
87
- api_instance.delete(library_id)
88
- rescue VSphereAutomation::ApiError => e
89
- puts "Exception when calling LocalLibraryApi->delete: #{e}"
90
- end
91
- ```
92
-
93
- ### Parameters
94
-
95
- Name | Type | Description | Notes
96
- ------------- | ------------- | ------------- | -------------
97
- **library_id** | **String**| Identifier of the local library to delete. |
98
-
99
- ### Return type
100
-
101
- nil (empty response body)
102
-
103
- ### Authorization
104
-
105
- [api_key](../README.md#api_key)
106
-
107
- ### HTTP request headers
108
-
109
- - **Content-Type**: Not defined
110
- - **Accept**: application/json
111
-
112
-
113
-
114
- # **get**
115
- > ContentLocalLibraryResult get(library_id)
116
-
117
- Returns a given local library.
118
-
119
- ### Example
120
- ```ruby
121
- # load the gem
122
- require 'vsphere-automation-content'
123
- # setup authorization
124
- VSphereAutomation::Configuration.new.tap do |config|
125
- # Configure API key authorization: api_key
126
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
127
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
128
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
129
- end
130
-
131
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
132
- library_id = 'library_id_example' # String | Identifier of the local library to return.
133
-
134
- begin
135
- #Returns a given local library.
136
- result = api_instance.get(library_id)
137
- p result
138
- rescue VSphereAutomation::ApiError => e
139
- puts "Exception when calling LocalLibraryApi->get: #{e}"
140
- end
141
- ```
142
-
143
- ### Parameters
144
-
145
- Name | Type | Description | Notes
146
- ------------- | ------------- | ------------- | -------------
147
- **library_id** | **String**| Identifier of the local library to return. |
148
-
149
- ### Return type
150
-
151
- [**ContentLocalLibraryResult**](ContentLocalLibraryResult.md)
152
-
153
- ### Authorization
154
-
155
- [api_key](../README.md#api_key)
156
-
157
- ### HTTP request headers
158
-
159
- - **Content-Type**: Not defined
160
- - **Accept**: application/json
161
-
162
-
163
-
164
- # **list**
165
- > ContentLocalLibraryListResult list
166
-
167
- Returns the identifiers of all local libraries in the Content Library.
168
-
169
- ### Example
170
- ```ruby
171
- # load the gem
172
- require 'vsphere-automation-content'
173
- # setup authorization
174
- VSphereAutomation::Configuration.new.tap do |config|
175
- # Configure API key authorization: api_key
176
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
177
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
178
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
179
- end
180
-
181
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
182
-
183
- begin
184
- #Returns the identifiers of all local libraries in the Content Library.
185
- result = api_instance.list
186
- p result
187
- rescue VSphereAutomation::ApiError => e
188
- puts "Exception when calling LocalLibraryApi->list: #{e}"
189
- end
190
- ```
191
-
192
- ### Parameters
193
- This endpoint does not need any parameter.
194
-
195
- ### Return type
196
-
197
- [**ContentLocalLibraryListResult**](ContentLocalLibraryListResult.md)
198
-
199
- ### Authorization
200
-
201
- [api_key](../README.md#api_key)
202
-
203
- ### HTTP request headers
204
-
205
- - **Content-Type**: Not defined
206
- - **Accept**: application/json
207
-
208
-
209
-
210
- # **publish**
211
- > publish(library_id, opts)
212
-
213
- Publishes the library to specified subscriptions. If no subscriptions are specified, then publishes the library to all its subscriptions.
214
-
215
- ### Example
216
- ```ruby
217
- # load the gem
218
- require 'vsphere-automation-content'
219
- # setup authorization
220
- VSphereAutomation::Configuration.new.tap do |config|
221
- # Configure API key authorization: api_key
222
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
223
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
224
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
225
- end
226
-
227
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
228
- library_id = 'library_id_example' # String | Identifier of the published library.
229
- opts = {
230
- request_body: Content::ContentLocalLibraryPublish.new # ContentLocalLibraryPublish |
231
- }
232
-
233
- begin
234
- #Publishes the library to specified subscriptions. If no subscriptions are specified, then publishes the library to all its subscriptions.
235
- api_instance.publish(library_id, opts)
236
- rescue VSphereAutomation::ApiError => e
237
- puts "Exception when calling LocalLibraryApi->publish: #{e}"
238
- end
239
- ```
240
-
241
- ### Parameters
242
-
243
- Name | Type | Description | Notes
244
- ------------- | ------------- | ------------- | -------------
245
- **library_id** | **String**| Identifier of the published library. |
246
- **request_body** | [**ContentLocalLibraryPublish**](ContentLocalLibraryPublish.md)| | [optional]
247
-
248
- ### Return type
249
-
250
- nil (empty response body)
251
-
252
- ### Authorization
253
-
254
- [api_key](../README.md#api_key)
255
-
256
- ### HTTP request headers
257
-
258
- - **Content-Type**: application/json
259
- - **Accept**: application/json
260
-
261
-
262
-
263
- # **update**
264
- > update(library_id, request_body)
265
-
266
- 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.
267
-
268
- ### Example
269
- ```ruby
270
- # load the gem
271
- require 'vsphere-automation-content'
272
- # setup authorization
273
- VSphereAutomation::Configuration.new.tap do |config|
274
- # Configure API key authorization: api_key
275
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
276
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
277
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
278
- end
279
-
280
- api_instance = VSphereAutomation::Content::LocalLibraryApi.new
281
- library_id = 'library_id_example' # String | Identifier of the local library to update.
282
- request_body = Content::ContentLocalLibraryUpdate.new # ContentLocalLibraryUpdate |
283
-
284
- begin
285
- #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.
286
- api_instance.update(library_id, request_body)
287
- rescue VSphereAutomation::ApiError => e
288
- puts "Exception when calling LocalLibraryApi->update: #{e}"
289
- end
290
- ```
291
-
292
- ### Parameters
293
-
294
- Name | Type | Description | Notes
295
- ------------- | ------------- | ------------- | -------------
296
- **library_id** | **String**| Identifier of the local library to update. |
297
- **request_body** | [**ContentLocalLibraryUpdate**](ContentLocalLibraryUpdate.md)| |
298
-
299
- ### Return type
300
-
301
- nil (empty response body)
302
-
303
- ### Authorization
304
-
305
- [api_key](../README.md#api_key)
306
-
307
- ### HTTP request headers
308
-
309
- - **Content-Type**: application/json
310
- - **Accept**: application/json
311
-
312
-
313
-
@@ -1,410 +0,0 @@
1
- # VSphereAutomation::Content::SubscribedLibraryApi
2
-
3
- All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](SubscribedLibraryApi.md#create) | **POST** /com/vmware/content/subscribed-library | Creates a new subscribed library. &lt;p&gt; 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.
8
- [**delete**](SubscribedLibraryApi.md#delete) | **DELETE** /com/vmware/content/subscribed-library/id:{library_id} | Deletes the specified subscribed library. &lt;p&gt; 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.
9
- [**evict**](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. &lt;p&gt; 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.
10
- [**get**](SubscribedLibraryApi.md#get) | **GET** /com/vmware/content/subscribed-library/id:{library_id} | Returns a given subscribed library.
11
- [**list**](SubscribedLibraryApi.md#list) | **GET** /com/vmware/content/subscribed-library | Returns the identifiers of all subscribed libraries in the Content Library.
12
- [**probe**](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.
13
- [**sync**](SubscribedLibraryApi.md#sync) | **POST** /com/vmware/content/subscribed-library/id:{library_id}?~action&#x3D;sync | Forces the synchronization of the subscribed library. &lt;p&gt; 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.
14
- [**update**](SubscribedLibraryApi.md#update) | **PATCH** /com/vmware/content/subscribed-library/id:{library_id} | Updates the properties of a subscribed library. &lt;p&gt; This is an incremental update to the subscribed library. {@term Fields} that are {@term unset} in the update specification will be left unchanged.
15
-
16
-
17
- # **create**
18
- > ContentSubscribedLibraryCreateResult create(request_body)
19
-
20
- 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.
21
-
22
- ### Example
23
- ```ruby
24
- # load the gem
25
- require 'vsphere-automation-content'
26
- # setup authorization
27
- VSphereAutomation::Configuration.new.tap do |config|
28
- # Configure API key authorization: api_key
29
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
30
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
32
- end
33
-
34
- api_instance = VSphereAutomation::Content::SubscribedLibraryApi.new
35
- request_body = Content::ContentSubscribedLibraryCreate.new # ContentSubscribedLibraryCreate |
36
-
37
- begin
38
- #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.
39
- result = api_instance.create(request_body)
40
- p result
41
- rescue VSphereAutomation::ApiError => e
42
- puts "Exception when calling SubscribedLibraryApi->create: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **request_body** | [**ContentSubscribedLibraryCreate**](ContentSubscribedLibraryCreate.md)| |
51
-
52
- ### Return type
53
-
54
- [**ContentSubscribedLibraryCreateResult**](ContentSubscribedLibraryCreateResult.md)
55
-
56
- ### Authorization
57
-
58
- [api_key](../README.md#api_key)
59
-
60
- ### HTTP request headers
61
-
62
- - **Content-Type**: application/json
63
- - **Accept**: application/json
64
-
65
-
66
-
67
- # **delete**
68
- > delete(library_id)
69
-
70
- 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.
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::SubscribedLibraryApi.new
85
- library_id = 'library_id_example' # String | Identifier of the subscribed library to delete.
86
-
87
- begin
88
- #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.
89
- api_instance.delete(library_id)
90
- rescue VSphereAutomation::ApiError => e
91
- puts "Exception when calling SubscribedLibraryApi->delete: #{e}"
92
- end
93
- ```
94
-
95
- ### Parameters
96
-
97
- Name | Type | Description | Notes
98
- ------------- | ------------- | ------------- | -------------
99
- **library_id** | **String**| Identifier of the subscribed library to delete. |
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
- # **evict**
117
- > evict(library_id)
118
-
119
- 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.
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::SubscribedLibraryApi.new
134
- library_id = 'library_id_example' # String | Identifier of the subscribed library whose content should be evicted.
135
-
136
- begin
137
- #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.
138
- api_instance.evict(library_id)
139
- rescue VSphereAutomation::ApiError => e
140
- puts "Exception when calling SubscribedLibraryApi->evict: #{e}"
141
- end
142
- ```
143
-
144
- ### Parameters
145
-
146
- Name | Type | Description | Notes
147
- ------------- | ------------- | ------------- | -------------
148
- **library_id** | **String**| Identifier of the subscribed library whose content should be evicted. |
149
-
150
- ### Return type
151
-
152
- nil (empty response body)
153
-
154
- ### Authorization
155
-
156
- [api_key](../README.md#api_key)
157
-
158
- ### HTTP request headers
159
-
160
- - **Content-Type**: Not defined
161
- - **Accept**: application/json
162
-
163
-
164
-
165
- # **get**
166
- > ContentSubscribedLibraryResult get(library_id)
167
-
168
- Returns a given subscribed library.
169
-
170
- ### Example
171
- ```ruby
172
- # load the gem
173
- require 'vsphere-automation-content'
174
- # setup authorization
175
- VSphereAutomation::Configuration.new.tap do |config|
176
- # Configure API key authorization: api_key
177
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
178
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
179
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
180
- end
181
-
182
- api_instance = VSphereAutomation::Content::SubscribedLibraryApi.new
183
- library_id = 'library_id_example' # String | Identifier of the subscribed library to return.
184
-
185
- begin
186
- #Returns a given subscribed library.
187
- result = api_instance.get(library_id)
188
- p result
189
- rescue VSphereAutomation::ApiError => e
190
- puts "Exception when calling SubscribedLibraryApi->get: #{e}"
191
- end
192
- ```
193
-
194
- ### Parameters
195
-
196
- Name | Type | Description | Notes
197
- ------------- | ------------- | ------------- | -------------
198
- **library_id** | **String**| Identifier of the subscribed library to return. |
199
-
200
- ### Return type
201
-
202
- [**ContentSubscribedLibraryResult**](ContentSubscribedLibraryResult.md)
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
- # **list**
216
- > ContentSubscribedLibraryListResult list
217
-
218
- Returns the identifiers of all subscribed libraries in the Content Library.
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::SubscribedLibraryApi.new
233
-
234
- begin
235
- #Returns the identifiers of all subscribed libraries in the Content Library.
236
- result = api_instance.list
237
- p result
238
- rescue VSphereAutomation::ApiError => e
239
- puts "Exception when calling SubscribedLibraryApi->list: #{e}"
240
- end
241
- ```
242
-
243
- ### Parameters
244
- This endpoint does not need any parameter.
245
-
246
- ### Return type
247
-
248
- [**ContentSubscribedLibraryListResult**](ContentSubscribedLibraryListResult.md)
249
-
250
- ### Authorization
251
-
252
- [api_key](../README.md#api_key)
253
-
254
- ### HTTP request headers
255
-
256
- - **Content-Type**: Not defined
257
- - **Accept**: application/json
258
-
259
-
260
-
261
- # **probe**
262
- > ContentSubscribedLibraryProbeResult probe(request_body)
263
-
264
- 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.
265
-
266
- ### Example
267
- ```ruby
268
- # load the gem
269
- require 'vsphere-automation-content'
270
- # setup authorization
271
- VSphereAutomation::Configuration.new.tap do |config|
272
- # Configure API key authorization: api_key
273
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
274
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
275
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
276
- end
277
-
278
- api_instance = VSphereAutomation::Content::SubscribedLibraryApi.new
279
- request_body = Content::ContentSubscribedLibraryProbe.new # ContentSubscribedLibraryProbe |
280
-
281
- begin
282
- #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.
283
- result = api_instance.probe(request_body)
284
- p result
285
- rescue VSphereAutomation::ApiError => e
286
- puts "Exception when calling SubscribedLibraryApi->probe: #{e}"
287
- end
288
- ```
289
-
290
- ### Parameters
291
-
292
- Name | Type | Description | Notes
293
- ------------- | ------------- | ------------- | -------------
294
- **request_body** | [**ContentSubscribedLibraryProbe**](ContentSubscribedLibraryProbe.md)| |
295
-
296
- ### Return type
297
-
298
- [**ContentSubscribedLibraryProbeResult**](ContentSubscribedLibraryProbeResult.md)
299
-
300
- ### Authorization
301
-
302
- [api_key](../README.md#api_key)
303
-
304
- ### HTTP request headers
305
-
306
- - **Content-Type**: application/json
307
- - **Accept**: application/json
308
-
309
-
310
-
311
- # **sync**
312
- > sync(library_id)
313
-
314
- 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.
315
-
316
- ### Example
317
- ```ruby
318
- # load the gem
319
- require 'vsphere-automation-content'
320
- # setup authorization
321
- VSphereAutomation::Configuration.new.tap do |config|
322
- # Configure API key authorization: api_key
323
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
324
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
325
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
326
- end
327
-
328
- api_instance = VSphereAutomation::Content::SubscribedLibraryApi.new
329
- library_id = 'library_id_example' # String | Identifier of the subscribed library to synchronize.
330
-
331
- begin
332
- #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.
333
- api_instance.sync(library_id)
334
- rescue VSphereAutomation::ApiError => e
335
- puts "Exception when calling SubscribedLibraryApi->sync: #{e}"
336
- end
337
- ```
338
-
339
- ### Parameters
340
-
341
- Name | Type | Description | Notes
342
- ------------- | ------------- | ------------- | -------------
343
- **library_id** | **String**| Identifier of the subscribed library to synchronize. |
344
-
345
- ### Return type
346
-
347
- nil (empty response body)
348
-
349
- ### Authorization
350
-
351
- [api_key](../README.md#api_key)
352
-
353
- ### HTTP request headers
354
-
355
- - **Content-Type**: Not defined
356
- - **Accept**: application/json
357
-
358
-
359
-
360
- # **update**
361
- > update(library_id, request_body)
362
-
363
- 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.
364
-
365
- ### Example
366
- ```ruby
367
- # load the gem
368
- require 'vsphere-automation-content'
369
- # setup authorization
370
- VSphereAutomation::Configuration.new.tap do |config|
371
- # Configure API key authorization: api_key
372
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
373
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
374
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
375
- end
376
-
377
- api_instance = VSphereAutomation::Content::SubscribedLibraryApi.new
378
- library_id = 'library_id_example' # String | Identifier of the subscribed library to update.
379
- request_body = Content::ContentSubscribedLibraryUpdate.new # ContentSubscribedLibraryUpdate |
380
-
381
- begin
382
- #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.
383
- api_instance.update(library_id, request_body)
384
- rescue VSphereAutomation::ApiError => e
385
- puts "Exception when calling SubscribedLibraryApi->update: #{e}"
386
- end
387
- ```
388
-
389
- ### Parameters
390
-
391
- Name | Type | Description | Notes
392
- ------------- | ------------- | ------------- | -------------
393
- **library_id** | **String**| Identifier of the subscribed library to update. |
394
- **request_body** | [**ContentSubscribedLibraryUpdate**](ContentSubscribedLibraryUpdate.md)| |
395
-
396
- ### Return type
397
-
398
- nil (empty response body)
399
-
400
- ### Authorization
401
-
402
- [api_key](../README.md#api_key)
403
-
404
- ### HTTP request headers
405
-
406
- - **Content-Type**: application/json
407
- - **Accept**: application/json
408
-
409
-
410
-