vsphere-automation-content 0.4.2 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-content/api_client.rb +260 -0
- data/lib/vsphere-automation-content/api_error.rb +34 -0
- data/lib/vsphere-automation-content/configuration.rb +212 -0
- data/lib/vsphere-automation-content/version.rb +1 -1
- metadata +15 -513
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -86
- data/README.md +0 -276
- data/Rakefile +0 -18
- data/docs/ConfigurationApi.md +0 -105
- data/docs/ContentConfigurationModel.md +0 -11
- data/docs/ContentConfigurationResult.md +0 -8
- data/docs/ContentConfigurationUpdate.md +0 -8
- data/docs/ContentLibraryFind.md +0 -8
- data/docs/ContentLibraryFindResult.md +0 -8
- data/docs/ContentLibraryFindSpec.md +0 -9
- data/docs/ContentLibraryItemCopy.md +0 -9
- data/docs/ContentLibraryItemCopyResult.md +0 -8
- data/docs/ContentLibraryItemCreate.md +0 -9
- data/docs/ContentLibraryItemCreateResult.md +0 -8
- data/docs/ContentLibraryItemDestinationSpec.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionCreate.md +0 -9
- data/docs/ContentLibraryItemDownloadSessionCreateResult.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionFail.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionKeepAlive.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionListResult.md +0 -8
- data/docs/ContentLibraryItemDownloadSessionModel.md +0 -14
- data/docs/ContentLibraryItemDownloadSessionModelState.md +0 -7
- data/docs/ContentLibraryItemDownloadSessionResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFileEndpointType.md +0 -7
- data/docs/ContentLibraryItemDownloadsessionFileGet.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFileInfo.md +0 -14
- data/docs/ContentLibraryItemDownloadsessionFileListResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFilePrepare.md +0 -9
- data/docs/ContentLibraryItemDownloadsessionFilePrepareResult.md +0 -8
- data/docs/ContentLibraryItemDownloadsessionFilePrepareStatus.md +0 -7
- data/docs/ContentLibraryItemDownloadsessionFileResult.md +0 -8
- data/docs/ContentLibraryItemFileChecksumAlgorithm.md +0 -7
- data/docs/ContentLibraryItemFileChecksumInfo.md +0 -9
- data/docs/ContentLibraryItemFileGet.md +0 -8
- data/docs/ContentLibraryItemFileInfo.md +0 -12
- data/docs/ContentLibraryItemFileListResult.md +0 -8
- data/docs/ContentLibraryItemFileResult.md +0 -8
- data/docs/ContentLibraryItemFind.md +0 -8
- data/docs/ContentLibraryItemFindResult.md +0 -8
- data/docs/ContentLibraryItemFindSpec.md +0 -12
- data/docs/ContentLibraryItemListResult.md +0 -8
- data/docs/ContentLibraryItemModel.md +0 -21
- data/docs/ContentLibraryItemPublish.md +0 -9
- data/docs/ContentLibraryItemResult.md +0 -8
- data/docs/ContentLibraryItemStorageGet.md +0 -8
- data/docs/ContentLibraryItemStorageInfo.md +0 -14
- data/docs/ContentLibraryItemStorageListResult.md +0 -8
- data/docs/ContentLibraryItemStorageResult.md +0 -8
- data/docs/ContentLibraryItemTransferEndpoint.md +0 -9
- data/docs/ContentLibraryItemTransferStatus.md +0 -7
- data/docs/ContentLibraryItemUpdate.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionCreate.md +0 -9
- data/docs/ContentLibraryItemUpdateSessionCreateResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionFail.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionKeepAlive.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionListResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionModel.md +0 -16
- data/docs/ContentLibraryItemUpdateSessionModelState.md +0 -7
- data/docs/ContentLibraryItemUpdateSessionResult.md +0 -8
- data/docs/ContentLibraryItemUpdateSessionUpdate.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionCertificateInfo.md +0 -11
- data/docs/ContentLibraryItemUpdatesessionFileAdd.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileAddResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileAddSpec.md +0 -12
- data/docs/ContentLibraryItemUpdatesessionFileGet.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileInfo.md +0 -17
- data/docs/ContentLibraryItemUpdatesessionFileListResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileRemove.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileSourceType.md +0 -7
- data/docs/ContentLibraryItemUpdatesessionFileValidateResult.md +0 -8
- data/docs/ContentLibraryItemUpdatesessionFileValidationError.md +0 -9
- data/docs/ContentLibraryItemUpdatesessionFileValidationResult.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionPreviewInfo.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionPreviewInfoState.md +0 -7
- data/docs/ContentLibraryItemUpdatesessionPreviewWarningInfo.md +0 -10
- data/docs/ContentLibraryItemUpdatesessionWarningBehavior.md +0 -9
- data/docs/ContentLibraryItemUpdatesessionWarningType.md +0 -7
- data/docs/ContentLibraryListResult.md +0 -8
- data/docs/ContentLibraryModel.md +0 -20
- data/docs/ContentLibraryModelLibraryType.md +0 -7
- data/docs/ContentLibraryOptimizationInfo.md +0 -8
- data/docs/ContentLibraryPublishInfo.md +0 -14
- data/docs/ContentLibraryPublishInfoAuthenticationMethod.md +0 -7
- data/docs/ContentLibraryResult.md +0 -8
- data/docs/ContentLibrarySourceInfo.md +0 -9
- data/docs/ContentLibraryStorageBacking.md +0 -10
- data/docs/ContentLibraryStorageBackingType.md +0 -7
- data/docs/ContentLibrarySubscribedItemSync.md +0 -8
- data/docs/ContentLibrarySubscriptionInfo.md +0 -15
- data/docs/ContentLibrarySubscriptionInfoAuthenticationMethod.md +0 -7
- data/docs/ContentLibrarySubscriptionsCreate.md +0 -9
- data/docs/ContentLibrarySubscriptionsCreateResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsCreateSpec.md +0 -8
- data/docs/ContentLibrarySubscriptionsCreateSpecNewSubscribedLibrary.md +0 -12
- data/docs/ContentLibrarySubscriptionsCreateSpecPlacement.md +0 -12
- data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibrary.md +0 -13
- data/docs/ContentLibrarySubscriptionsCreateSpecSubscribedLibraryTarget.md +0 -7
- data/docs/ContentLibrarySubscriptionsCreateSpecVcenter.md +0 -9
- data/docs/ContentLibrarySubscriptionsDelete.md +0 -8
- data/docs/ContentLibrarySubscriptionsGet.md +0 -8
- data/docs/ContentLibrarySubscriptionsInfo.md +0 -12
- data/docs/ContentLibrarySubscriptionsListResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsLocation.md +0 -7
- data/docs/ContentLibrarySubscriptionsPlacementInfo.md +0 -12
- data/docs/ContentLibrarySubscriptionsResult.md +0 -8
- data/docs/ContentLibrarySubscriptionsSummary.md +0 -11
- data/docs/ContentLibrarySubscriptionsUpdate.md +0 -9
- data/docs/ContentLibrarySubscriptionsUpdateSpec.md +0 -9
- data/docs/ContentLibrarySubscriptionsUpdateSpecPlacement.md +0 -12
- data/docs/ContentLibrarySubscriptionsUpdateSpecVcenter.md +0 -9
- data/docs/ContentLibrarySubscriptionsVcenterInfo.md +0 -10
- data/docs/ContentLibraryUpdate.md +0 -8
- data/docs/ContentLocalLibraryCreate.md +0 -9
- data/docs/ContentLocalLibraryCreateResult.md +0 -8
- data/docs/ContentLocalLibraryDestinationSpec.md +0 -8
- data/docs/ContentLocalLibraryListResult.md +0 -8
- data/docs/ContentLocalLibraryPublish.md +0 -8
- data/docs/ContentLocalLibraryResult.md +0 -8
- data/docs/ContentLocalLibraryUpdate.md +0 -8
- data/docs/ContentSubscribedLibraryCreate.md +0 -9
- data/docs/ContentSubscribedLibraryCreateResult.md +0 -8
- data/docs/ContentSubscribedLibraryListResult.md +0 -8
- data/docs/ContentSubscribedLibraryProbe.md +0 -8
- data/docs/ContentSubscribedLibraryProbeResult.md +0 -10
- data/docs/ContentSubscribedLibraryProbeResultStatus.md +0 -7
- data/docs/ContentSubscribedLibraryResult.md +0 -8
- data/docs/ContentSubscribedLibraryUpdate.md +0 -8
- data/docs/LibraryApi.md +0 -209
- data/docs/LibraryItemApi.md +0 -419
- data/docs/LibraryItemDownloadSessionApi.md +0 -369
- data/docs/LibraryItemDownloadsessionFileApi.md +0 -165
- data/docs/LibraryItemFileApi.md +0 -112
- data/docs/LibraryItemStorageApi.md +0 -112
- data/docs/LibraryItemUpdateSessionApi.md +0 -471
- data/docs/LibraryItemUpdatesessionFileApi.md +0 -268
- data/docs/LibrarySubscribedItemApi.md +0 -110
- data/docs/LibrarySubscriptionsApi.md +0 -269
- data/docs/LocalLibraryApi.md +0 -313
- data/docs/SubscribedLibraryApi.md +0 -410
- data/docs/VapiStdErrorsAlreadyExists.md +0 -9
- data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
- data/docs/VapiStdErrorsConcurrentChange.md +0 -9
- data/docs/VapiStdErrorsConcurrentChangeError.md +0 -9
- data/docs/VapiStdErrorsError.md +0 -9
- data/docs/VapiStdErrorsErrorError.md +0 -9
- data/docs/VapiStdErrorsInvalidArgument.md +0 -9
- data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
- data/docs/VapiStdErrorsInvalidElementConfiguration.md +0 -9
- data/docs/VapiStdErrorsInvalidElementConfigurationError.md +0 -9
- data/docs/VapiStdErrorsInvalidElementType.md +0 -9
- data/docs/VapiStdErrorsInvalidElementTypeError.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
- data/docs/VapiStdErrorsNotFound.md +0 -9
- data/docs/VapiStdErrorsNotFoundError.md +0 -9
- data/docs/VapiStdErrorsResourceBusy.md +0 -9
- data/docs/VapiStdErrorsResourceBusyError.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
- data/docs/VapiStdErrorsUnauthenticated.md +0 -9
- data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
- data/docs/VapiStdErrorsUnauthorized.md +0 -9
- data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
- data/docs/VapiStdErrorsUnsupported.md +0 -9
- data/docs/VapiStdErrorsUnsupportedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/git_push.sh +0 -55
- data/pkg/vsphere-automation-content-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-content-0.4.2.gem +0 -0
- data/spec/api/configuration_api_spec.rb +0 -52
- data/spec/api/library_api_spec.rb +0 -75
- data/spec/api/library_item_api_spec.rb +0 -122
- data/spec/api/library_item_download_session_api_spec.rb +0 -110
- data/spec/api/library_item_downloadsession_file_api_spec.rb +0 -66
- data/spec/api/library_item_file_api_spec.rb +0 -54
- data/spec/api/library_item_storage_api_spec.rb +0 -54
- data/spec/api/library_item_update_session_api_spec.rb +0 -133
- data/spec/api/library_item_updatesession_file_api_spec.rb +0 -89
- data/spec/api/library_subscribed_item_api_spec.rb +0 -54
- data/spec/api/library_subscriptions_api_spec.rb +0 -90
- data/spec/api/local_library_api_spec.rb +0 -98
- data/spec/api/subscribed_library_api_spec.rb +0 -119
- data/spec/models/content_configuration_model_spec.rb +0 -55
- data/spec/models/content_configuration_result_spec.rb +0 -37
- data/spec/models/content_configuration_update_spec.rb +0 -37
- data/spec/models/content_library_find_result_spec.rb +0 -37
- data/spec/models/content_library_find_spec.rb +0 -37
- data/spec/models/content_library_find_spec_spec.rb +0 -43
- data/spec/models/content_library_item_copy_result_spec.rb +0 -37
- data/spec/models/content_library_item_copy_spec.rb +0 -43
- data/spec/models/content_library_item_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_create_spec.rb +0 -43
- data/spec/models/content_library_item_destination_spec_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_create_spec.rb +0 -43
- data/spec/models/content_library_item_download_session_fail_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_keep_alive_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_download_session_model_spec.rb +0 -73
- data/spec/models/content_library_item_download_session_model_state_spec.rb +0 -31
- data/spec/models/content_library_item_download_session_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_endpoint_type_spec.rb +0 -31
- data/spec/models/content_library_item_downloadsession_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_info_spec.rb +0 -73
- data/spec/models/content_library_item_downloadsession_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_prepare_result_spec.rb +0 -37
- data/spec/models/content_library_item_downloadsession_file_prepare_spec.rb +0 -43
- data/spec/models/content_library_item_downloadsession_file_prepare_status_spec.rb +0 -31
- data/spec/models/content_library_item_downloadsession_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_file_checksum_algorithm_spec.rb +0 -31
- data/spec/models/content_library_item_file_checksum_info_spec.rb +0 -43
- data/spec/models/content_library_item_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_file_info_spec.rb +0 -61
- data/spec/models/content_library_item_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_find_result_spec.rb +0 -37
- data/spec/models/content_library_item_find_spec.rb +0 -37
- data/spec/models/content_library_item_find_spec_spec.rb +0 -61
- data/spec/models/content_library_item_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_model_spec.rb +0 -115
- data/spec/models/content_library_item_publish_spec.rb +0 -43
- data/spec/models/content_library_item_result_spec.rb +0 -37
- data/spec/models/content_library_item_storage_get_spec.rb +0 -37
- data/spec/models/content_library_item_storage_info_spec.rb +0 -73
- data/spec/models/content_library_item_storage_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_storage_result_spec.rb +0 -37
- data/spec/models/content_library_item_transfer_endpoint_spec.rb +0 -43
- data/spec/models/content_library_item_transfer_status_spec.rb +0 -31
- data/spec/models/content_library_item_update_session_create_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_create_spec.rb +0 -43
- data/spec/models/content_library_item_update_session_fail_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_keep_alive_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_model_spec.rb +0 -85
- data/spec/models/content_library_item_update_session_model_state_spec.rb +0 -31
- data/spec/models/content_library_item_update_session_result_spec.rb +0 -37
- data/spec/models/content_library_item_update_session_update_spec.rb +0 -37
- data/spec/models/content_library_item_update_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_certificate_info_spec.rb +0 -55
- data/spec/models/content_library_item_updatesession_file_add_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_add_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_add_spec_spec.rb +0 -61
- data/spec/models/content_library_item_updatesession_file_get_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_info_spec.rb +0 -91
- data/spec/models/content_library_item_updatesession_file_list_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_remove_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_source_type_spec.rb +0 -31
- data/spec/models/content_library_item_updatesession_file_validate_result_spec.rb +0 -37
- data/spec/models/content_library_item_updatesession_file_validation_error_spec.rb +0 -43
- data/spec/models/content_library_item_updatesession_file_validation_result_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_preview_info_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_preview_info_state_spec.rb +0 -31
- data/spec/models/content_library_item_updatesession_preview_warning_info_spec.rb +0 -49
- data/spec/models/content_library_item_updatesession_warning_behavior_spec.rb +0 -43
- data/spec/models/content_library_item_updatesession_warning_type_spec.rb +0 -31
- data/spec/models/content_library_list_result_spec.rb +0 -37
- data/spec/models/content_library_model_library_type_spec.rb +0 -31
- data/spec/models/content_library_model_spec.rb +0 -109
- data/spec/models/content_library_optimization_info_spec.rb +0 -37
- data/spec/models/content_library_publish_info_authentication_method_spec.rb +0 -31
- data/spec/models/content_library_publish_info_spec.rb +0 -73
- data/spec/models/content_library_result_spec.rb +0 -37
- data/spec/models/content_library_source_info_spec.rb +0 -43
- data/spec/models/content_library_storage_backing_spec.rb +0 -49
- data/spec/models/content_library_storage_backing_type_spec.rb +0 -31
- data/spec/models/content_library_subscribed_item_sync_spec.rb +0 -37
- data/spec/models/content_library_subscription_info_authentication_method_spec.rb +0 -31
- data/spec/models/content_library_subscription_info_spec.rb +0 -79
- data/spec/models/content_library_subscriptions_create_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_create_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_create_spec_new_subscribed_library_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_create_spec_placement_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_create_spec_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_create_spec_subscribed_library_spec.rb +0 -67
- data/spec/models/content_library_subscriptions_create_spec_subscribed_library_target_spec.rb +0 -31
- data/spec/models/content_library_subscriptions_create_spec_vcenter_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_delete_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_get_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_info_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_list_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_location_spec.rb +0 -31
- data/spec/models/content_library_subscriptions_placement_info_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_result_spec.rb +0 -37
- data/spec/models/content_library_subscriptions_summary_spec.rb +0 -55
- data/spec/models/content_library_subscriptions_update_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_update_spec_placement_spec.rb +0 -61
- data/spec/models/content_library_subscriptions_update_spec_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_update_spec_vcenter_spec.rb +0 -43
- data/spec/models/content_library_subscriptions_vcenter_info_spec.rb +0 -49
- data/spec/models/content_library_update_spec.rb +0 -37
- data/spec/models/content_local_library_create_result_spec.rb +0 -37
- data/spec/models/content_local_library_create_spec.rb +0 -43
- data/spec/models/content_local_library_destination_spec_spec.rb +0 -37
- data/spec/models/content_local_library_list_result_spec.rb +0 -37
- data/spec/models/content_local_library_publish_spec.rb +0 -37
- data/spec/models/content_local_library_result_spec.rb +0 -37
- data/spec/models/content_local_library_update_spec.rb +0 -37
- data/spec/models/content_subscribed_library_create_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_create_spec.rb +0 -43
- data/spec/models/content_subscribed_library_list_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_probe_result_spec.rb +0 -49
- data/spec/models/content_subscribed_library_probe_result_status_spec.rb +0 -31
- data/spec/models/content_subscribed_library_probe_spec.rb +0 -37
- data/spec/models/content_subscribed_library_result_spec.rb +0 -37
- data/spec/models/content_subscribed_library_update_spec.rb +0 -37
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
- data/spec/models/vapi_std_errors_concurrent_change_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_concurrent_change_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_configuration_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_configuration_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_type_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_element_type_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
- data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
- data/spec/spec_helper.rb +0 -110
- data/vsphere-automation-content.gemspec +0 -40
data/docs/LocalLibraryApi.md
DELETED
@@ -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://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**create**](SubscribedLibraryApi.md#create) | **POST** /com/vmware/content/subscribed-library | Creates a new subscribed library. <p> Once created, the subscribed library will be empty. If the {@link LibraryModel#subscriptionInfo} property is set, the Content Library Service will attempt to synchronize to the remote source. This is an asynchronous operation so the content of the published library may not immediately appear.
|
8
|
-
[**delete**](SubscribedLibraryApi.md#delete) | **DELETE** /com/vmware/content/subscribed-library/id:{library_id} | Deletes the specified subscribed library. <p> Deleting a subscribed library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal.
|
9
|
-
[**evict**](SubscribedLibraryApi.md#evict) | **POST** /com/vmware/content/subscribed-library/id:{library_id}?~action=evict | Evicts the cached content of an on-demand subscribed library. <p> This {@term operation} allows the cached content of a subscribed library to be removed to free up storage capacity. This {@term operation} will only work when a subscribed library is synchronized on-demand.
|
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=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=sync | Forces the synchronization of the subscribed library. <p> Synchronizing a subscribed library forcefully with this {@term operation} will perform the same synchronization behavior as would run periodically for the library. The {@link SubscriptionInfo#onDemand} setting is respected. Calling this {@term operation} on a library that is already in the process of synchronizing will have no effect.
|
14
|
-
[**update**](SubscribedLibraryApi.md#update) | **PATCH** /com/vmware/content/subscribed-library/id:{library_id} | Updates the properties of a subscribed library. <p> This is an incremental update to the subscribed library. {@term Fields} that are {@term unset} in the update specification will be left unchanged.
|
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
|
-
|