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
@@ -1,43 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::Content::VapiStdErrorsUnsupported
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'VapiStdErrorsUnsupported' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::Content::VapiStdErrorsUnsupported.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of VapiStdErrorsUnsupported' do
|
27
|
-
it 'should create an instance of VapiStdErrorsUnsupported' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::Content::VapiStdErrorsUnsupported)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "messages"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
describe 'test attribute "data"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
|
7
|
-
|
8
|
-
|
9
|
-
require 'spec_helper'
|
10
|
-
require 'json'
|
11
|
-
require 'date'
|
12
|
-
|
13
|
-
# Unit tests for VSphereAutomation::Content::VapiStdLocalizableMessage
|
14
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
15
|
-
# Please update as you see appropriate
|
16
|
-
describe 'VapiStdLocalizableMessage' do
|
17
|
-
before do
|
18
|
-
# run before each test
|
19
|
-
@instance = VSphereAutomation::Content::VapiStdLocalizableMessage.new
|
20
|
-
end
|
21
|
-
|
22
|
-
after do
|
23
|
-
# run after each test
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'test an instance of VapiStdLocalizableMessage' do
|
27
|
-
it 'should create an instance of VapiStdLocalizableMessage' do
|
28
|
-
expect(@instance).to be_instance_of(VSphereAutomation::Content::VapiStdLocalizableMessage)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
describe 'test attribute "id"' do
|
32
|
-
it 'should work' do
|
33
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
describe 'test attribute "default_message"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'test attribute "args"' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
end
|
data/spec/spec_helper.rb
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
-
# SPDX-License-Identifier: MIT
|
3
|
-
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
-
|
6
|
-
# content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
|
7
|
-
|
8
|
-
|
9
|
-
# load the gem
|
10
|
-
require 'vsphere-automation-content'
|
11
|
-
require 'webmock/rspec'
|
12
|
-
|
13
|
-
WebMock.disable_net_connect!(allow_localhost: true)
|
14
|
-
|
15
|
-
# The following was generated by the `rspec --init` command. Conventionally, all
|
16
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
17
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
18
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
19
|
-
# files.
|
20
|
-
#
|
21
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
22
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
23
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
24
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
25
|
-
# a separate helper file that requires the additional dependencies and performs
|
26
|
-
# the additional setup, and require it from the spec files that actually need
|
27
|
-
# it.
|
28
|
-
#
|
29
|
-
# The `.rspec` file also contains a few flags that are not defaults but that
|
30
|
-
# users commonly want.
|
31
|
-
#
|
32
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
33
|
-
RSpec.configure do |config|
|
34
|
-
# rspec-expectations config goes here. You can use an alternate
|
35
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
36
|
-
# assertions if you prefer.
|
37
|
-
config.expect_with :rspec do |expectations|
|
38
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
39
|
-
# and `failure_message` of custom matchers include text for helper methods
|
40
|
-
# defined using `chain`, e.g.:
|
41
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
42
|
-
# # => "be bigger than 2 and smaller than 4"
|
43
|
-
# ...rather than:
|
44
|
-
# # => "be bigger than 2"
|
45
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
46
|
-
end
|
47
|
-
|
48
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
49
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
50
|
-
config.mock_with :rspec do |mocks|
|
51
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
52
|
-
# a real object. This is generally recommended, and will default to
|
53
|
-
# `true` in RSpec 4.
|
54
|
-
mocks.verify_partial_doubles = true
|
55
|
-
end
|
56
|
-
|
57
|
-
# The settings below are suggested to provide a good initial experience
|
58
|
-
# with RSpec, but feel free to customize to your heart's content.
|
59
|
-
=begin
|
60
|
-
# These two settings work together to allow you to limit a spec run
|
61
|
-
# to individual examples or groups you care about by tagging them with
|
62
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
63
|
-
# get run.
|
64
|
-
config.filter_run :focus
|
65
|
-
config.run_all_when_everything_filtered = true
|
66
|
-
|
67
|
-
# Allows RSpec to persist some state between runs in order to support
|
68
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
69
|
-
# you configure your source control system to ignore this file.
|
70
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
71
|
-
|
72
|
-
# Limits the available syntax to the non-monkey patched syntax that is
|
73
|
-
# recommended. For more details, see:
|
74
|
-
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
75
|
-
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
76
|
-
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
77
|
-
config.disable_monkey_patching!
|
78
|
-
|
79
|
-
# This setting enables warnings. It's recommended, but in some cases may
|
80
|
-
# be too noisy due to issues in dependencies.
|
81
|
-
config.warnings = true
|
82
|
-
|
83
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
84
|
-
# file, and it's useful to allow more verbose output when running an
|
85
|
-
# individual spec file.
|
86
|
-
if config.files_to_run.one?
|
87
|
-
# Use the documentation formatter for detailed output,
|
88
|
-
# unless a formatter has already been configured
|
89
|
-
# (e.g. via a command-line flag).
|
90
|
-
config.default_formatter = 'doc'
|
91
|
-
end
|
92
|
-
|
93
|
-
# Print the 10 slowest examples and example groups at the
|
94
|
-
# end of the spec run, to help surface which specs are running
|
95
|
-
# particularly slow.
|
96
|
-
config.profile_examples = 10
|
97
|
-
|
98
|
-
# Run specs in random order to surface order dependencies. If you find an
|
99
|
-
# order dependency and want to debug it, you can fix the order by providing
|
100
|
-
# the seed, which is printed after each run.
|
101
|
-
# --seed 1234
|
102
|
-
config.order = :random
|
103
|
-
|
104
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
105
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
106
|
-
# test failures related to randomization by passing the same `--seed` value
|
107
|
-
# as the one that triggered the failure.
|
108
|
-
Kernel.srand config.seed
|
109
|
-
=end
|
110
|
-
end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
4
|
-
# SPDX-License-Identifier: MIT
|
5
|
-
|
6
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
7
|
-
|
8
|
-
# content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.
|
9
|
-
|
10
|
-
|
11
|
-
$:.push File.expand_path("../lib", __FILE__)
|
12
|
-
require "vsphere-automation-content/version"
|
13
|
-
|
14
|
-
Gem::Specification.new do |s|
|
15
|
-
s.name = "vsphere-automation-content"
|
16
|
-
s.version = VSphereAutomation::Content::VERSION
|
17
|
-
s.platform = Gem::Platform::RUBY
|
18
|
-
s.authors = ["J.R. Garcia"]
|
19
|
-
s.email = ["jrg@vmware.com"]
|
20
|
-
s.homepage = "https://github.com/vmware/vsphere-automation-sdk-ruby"
|
21
|
-
s.summary = "A Ruby SDK for the vSphere APIs (Content)"
|
22
|
-
s.description = "A Ruby SDK for the vSphere APIs (Content)"
|
23
|
-
s.license = 'MIT'
|
24
|
-
s.required_ruby_version = ">= 2.3"
|
25
|
-
s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.4.2'
|
26
|
-
s.add_runtime_dependency 'vsphere-automation-cis', '~> 0.4.2'
|
27
|
-
|
28
|
-
s.add_development_dependency 'bundler', '~> 2.0'
|
29
|
-
s.add_development_dependency 'pry', '~> 0.12.2'
|
30
|
-
s.add_development_dependency 'rake', '~> 12.3'
|
31
|
-
s.add_development_dependency 'rspec', '~> 3.7'
|
32
|
-
s.add_development_dependency 'rubocop', '~> 0.73.0'
|
33
|
-
s.add_development_dependency 'vcr', '~> 5.0'
|
34
|
-
s.add_development_dependency 'webmock', '~> 3.6'
|
35
|
-
|
36
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
37
|
-
s.test_files = `find spec/*`.split("\n")
|
38
|
-
s.executables = []
|
39
|
-
s.require_paths = ["lib"]
|
40
|
-
end
|