nodeum_sdk 1.85.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +472 -0
- data/Rakefile +10 -0
- data/docs/ActiveJobStatus.md +23 -0
- data/docs/ApiKey.md +21 -0
- data/docs/ApiKeyCollection.md +19 -0
- data/docs/ApiKeyFull.md +17 -0
- data/docs/ApiKeyFullAllOf.md +17 -0
- data/docs/ApiKeyScope.md +19 -0
- data/docs/AttributeError.md +17 -0
- data/docs/Blank.md +16 -0
- data/docs/ByDateFacet.md +35 -0
- data/docs/ByDateFacetBucket.md +17 -0
- data/docs/ByDateFacetBucketAllOf.md +17 -0
- data/docs/ByDateFacetBuckets.md +17 -0
- data/docs/ByFileExtensionFacet.md +17 -0
- data/docs/ByFileExtensionFacetAllOf.md +17 -0
- data/docs/ByGroupOwnerFacet.md +17 -0
- data/docs/ByGroupOwnerFacetAllOf.md +17 -0
- data/docs/ByPrimaryFacet.md +17 -0
- data/docs/ByPrimaryFacetAllOf.md +17 -0
- data/docs/BySecondaryBucket.md +17 -0
- data/docs/BySecondaryBucketAllOf.md +17 -0
- data/docs/BySecondaryBuckets.md +17 -0
- data/docs/BySecondaryFacet.md +29 -0
- data/docs/BySecondaryTypeFacet.md +17 -0
- data/docs/BySecondaryTypeFacetAllOf.md +17 -0
- data/docs/BySizeFacet.md +35 -0
- data/docs/ByUserOwnerFacet.md +17 -0
- data/docs/ByUserOwnerFacetAllOf.md +17 -0
- data/docs/CloudBucket.md +31 -0
- data/docs/CloudBucketCollection.md +19 -0
- data/docs/CloudBucketSimpleCollection.md +17 -0
- data/docs/CloudBucketsApi.md +908 -0
- data/docs/CloudConnector.md +31 -0
- data/docs/CloudConnectorCollection.md +19 -0
- data/docs/CloudConnectorsApi.md +442 -0
- data/docs/Container.md +35 -0
- data/docs/ContainerCollection.md +19 -0
- data/docs/ContainerPrivilege.md +23 -0
- data/docs/ContainerPrivilegeCollection.md +19 -0
- data/docs/ContainersApi.md +650 -0
- data/docs/DateToFileFacets.md +31 -0
- data/docs/Error.md +19 -0
- data/docs/FileFacet.md +19 -0
- data/docs/FilesApi.md +2090 -0
- data/docs/Frozen.md +16 -0
- data/docs/GreaterThan.md +19 -0
- data/docs/GreaterThanAllOf.md +19 -0
- data/docs/GreaterThanOrEqualTo.md +19 -0
- data/docs/ImportFile.md +39 -0
- data/docs/ImportFileCollection.md +19 -0
- data/docs/ImportFileWithPath.md +41 -0
- data/docs/Invalid.md +17 -0
- data/docs/LessThan.md +19 -0
- data/docs/LessThanAllOf.md +19 -0
- data/docs/LessThanOrEqualTo.md +19 -0
- data/docs/MountCollection.md +17 -0
- data/docs/MountInfo.md +57 -0
- data/docs/MountNotification.md +19 -0
- data/docs/MountStatus.md +21 -0
- data/docs/MountsApi.md +63 -0
- data/docs/Nas.md +27 -0
- data/docs/NasApi.md +322 -0
- data/docs/NasCollection.md +19 -0
- data/docs/NasShare.md +35 -0
- data/docs/NasShareCollection.md +19 -0
- data/docs/NasSharesApi.md +1155 -0
- data/docs/NodeumFile.md +39 -0
- data/docs/NodeumFileCollection.md +19 -0
- data/docs/NodeumFileWithPath.md +17 -0
- data/docs/NodeumFileWithPathAllOf.md +17 -0
- data/docs/OccurrenceLessThan.md +19 -0
- data/docs/OccurrenceLessThanAllOf.md +19 -0
- data/docs/OccurrenceLessThanOrEqualTo.md +19 -0
- data/docs/OnTapesFile.md +25 -0
- data/docs/OnTapesFileCollection.md +19 -0
- data/docs/Pool.md +27 -0
- data/docs/PoolCollection.md +19 -0
- data/docs/PoolUp.md +21 -0
- data/docs/PoolUpAllOf.md +21 -0
- data/docs/PoolsApi.md +798 -0
- data/docs/PrimaryScan.md +25 -0
- data/docs/QuotaOnCache.md +16 -0
- data/docs/Reset.md +17 -0
- data/docs/ResetSections.md +21 -0
- data/docs/SizeToDateFacets.md +31 -0
- data/docs/StatisticsApi.md +386 -0
- data/docs/SystemGroup.md +21 -0
- data/docs/SystemGroupCollection.md +19 -0
- data/docs/SystemUser.md +23 -0
- data/docs/SystemUserCollection.md +19 -0
- data/docs/SystemsApi.md +183 -0
- data/docs/Taken.md +17 -0
- data/docs/TakenAllOf.md +17 -0
- data/docs/Tape.md +65 -0
- data/docs/TapeCollection.md +19 -0
- data/docs/TapeDrive.md +55 -0
- data/docs/TapeDriveAllOf.md +55 -0
- data/docs/TapeDriveCollection.md +19 -0
- data/docs/TapeDriveDevice.md +29 -0
- data/docs/TapeDriveDeviceCollection.md +17 -0
- data/docs/TapeDrivesApi.md +730 -0
- data/docs/TapeLibrariesApi.md +403 -0
- data/docs/TapeLibrary.md +27 -0
- data/docs/TapeLibraryAllOf.md +27 -0
- data/docs/TapeLibraryCollection.md +19 -0
- data/docs/TapeLibraryDevice.md +37 -0
- data/docs/TapeLibraryDeviceCollection.md +17 -0
- data/docs/TapeStat.md +115 -0
- data/docs/TapeStatCollection.md +19 -0
- data/docs/TapesApi.md +959 -0
- data/docs/Task.md +55 -0
- data/docs/TaskCallback.md +21 -0
- data/docs/TaskCallbackCollection.md +19 -0
- data/docs/TaskCallbacksApi.md +326 -0
- data/docs/TaskCollection.md +19 -0
- data/docs/TaskDestinationCollection.md +19 -0
- data/docs/TaskDestinationDown.md +25 -0
- data/docs/TaskDestinationUp.md +27 -0
- data/docs/TaskDestinationsApi.md +328 -0
- data/docs/TaskExecution.md +51 -0
- data/docs/TaskExecutionCollection.md +19 -0
- data/docs/TaskExecutionsApi.md +336 -0
- data/docs/TaskMetadataApi.md +326 -0
- data/docs/TaskMetadatum.md +21 -0
- data/docs/TaskMetadatumCollection.md +19 -0
- data/docs/TaskOption.md +21 -0
- data/docs/TaskOptionCollection.md +19 -0
- data/docs/TaskOptionsApi.md +326 -0
- data/docs/TaskSchedule.md +34 -0
- data/docs/TaskScheduleCollection.md +19 -0
- data/docs/TaskSchedulesApi.md +322 -0
- data/docs/TaskSourceCollection.md +19 -0
- data/docs/TaskSourceDown.md +29 -0
- data/docs/TaskSourceUp.md +33 -0
- data/docs/TaskSourcesApi.md +330 -0
- data/docs/TasksApi.md +846 -0
- data/docs/TooLong.md +17 -0
- data/docs/TooLongAllOf.md +17 -0
- data/docs/TooShort.md +17 -0
- data/docs/TooShortAllOf.md +17 -0
- data/docs/TypeToSecondaryFacets.md +25 -0
- data/docs/UsersApi.md +418 -0
- data/git_push.sh +58 -0
- data/lib/nodeum_sdk.rb +180 -0
- data/lib/nodeum_sdk/api/cloud_buckets_api.rb +1026 -0
- data/lib/nodeum_sdk/api/cloud_connectors_api.rb +491 -0
- data/lib/nodeum_sdk/api/containers_api.rb +736 -0
- data/lib/nodeum_sdk/api/files_api.rb +2418 -0
- data/lib/nodeum_sdk/api/mounts_api.rb +78 -0
- data/lib/nodeum_sdk/api/nas_api.rb +361 -0
- data/lib/nodeum_sdk/api/nas_shares_api.rb +1305 -0
- data/lib/nodeum_sdk/api/pools_api.rb +876 -0
- data/lib/nodeum_sdk/api/statistics_api.rb +418 -0
- data/lib/nodeum_sdk/api/systems_api.rb +215 -0
- data/lib/nodeum_sdk/api/tape_drives_api.rb +858 -0
- data/lib/nodeum_sdk/api/tape_libraries_api.rb +457 -0
- data/lib/nodeum_sdk/api/tapes_api.rb +1104 -0
- data/lib/nodeum_sdk/api/task_callbacks_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_destinations_api.rb +385 -0
- data/lib/nodeum_sdk/api/task_executions_api.rb +399 -0
- data/lib/nodeum_sdk/api/task_metadata_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_options_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_schedules_api.rb +364 -0
- data/lib/nodeum_sdk/api/task_sources_api.rb +388 -0
- data/lib/nodeum_sdk/api/tasks_api.rb +951 -0
- data/lib/nodeum_sdk/api/users_api.rb +452 -0
- data/lib/nodeum_sdk/api_client.rb +386 -0
- data/lib/nodeum_sdk/api_error.rb +57 -0
- data/lib/nodeum_sdk/configuration.rb +255 -0
- data/lib/nodeum_sdk/models/active_job_status.rb +267 -0
- data/lib/nodeum_sdk/models/api_key.rb +224 -0
- data/lib/nodeum_sdk/models/api_key_collection.rb +217 -0
- data/lib/nodeum_sdk/models/api_key_full.rb +220 -0
- data/lib/nodeum_sdk/models/api_key_full_all_of.rb +208 -0
- data/lib/nodeum_sdk/models/api_key_scope.rb +215 -0
- data/lib/nodeum_sdk/models/attribute_error.rb +216 -0
- data/lib/nodeum_sdk/models/blank.rb +209 -0
- data/lib/nodeum_sdk/models/by_date_facet.rb +295 -0
- data/lib/nodeum_sdk/models/by_date_facet_bucket.rb +218 -0
- data/lib/nodeum_sdk/models/by_date_facet_bucket_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_date_facet_buckets.rb +208 -0
- data/lib/nodeum_sdk/models/by_file_extension_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_file_extension_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_group_owner_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_group_owner_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_primary_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_primary_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_secondary_bucket.rb +218 -0
- data/lib/nodeum_sdk/models/by_secondary_bucket_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_secondary_buckets.rb +208 -0
- data/lib/nodeum_sdk/models/by_secondary_facet.rb +268 -0
- data/lib/nodeum_sdk/models/by_secondary_type_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_secondary_type_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_size_facet.rb +295 -0
- data/lib/nodeum_sdk/models/by_user_owner_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_user_owner_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/cloud_bucket.rb +269 -0
- data/lib/nodeum_sdk/models/cloud_bucket_collection.rb +217 -0
- data/lib/nodeum_sdk/models/cloud_bucket_simple_collection.rb +208 -0
- data/lib/nodeum_sdk/models/cloud_connector.rb +303 -0
- data/lib/nodeum_sdk/models/cloud_connector_collection.rb +217 -0
- data/lib/nodeum_sdk/models/container.rb +321 -0
- data/lib/nodeum_sdk/models/container_collection.rb +217 -0
- data/lib/nodeum_sdk/models/container_privilege.rb +279 -0
- data/lib/nodeum_sdk/models/container_privilege_collection.rb +217 -0
- data/lib/nodeum_sdk/models/date_to_file_facets.rb +269 -0
- data/lib/nodeum_sdk/models/error.rb +221 -0
- data/lib/nodeum_sdk/models/file_facet.rb +215 -0
- data/lib/nodeum_sdk/models/frozen.rb +209 -0
- data/lib/nodeum_sdk/models/greater_than.rb +230 -0
- data/lib/nodeum_sdk/models/greater_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/greater_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/import_file.rb +339 -0
- data/lib/nodeum_sdk/models/import_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/import_file_with_path.rb +356 -0
- data/lib/nodeum_sdk/models/invalid.rb +220 -0
- data/lib/nodeum_sdk/models/less_than.rb +230 -0
- data/lib/nodeum_sdk/models/less_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/less_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/mount_collection.rb +208 -0
- data/lib/nodeum_sdk/models/mount_info.rb +420 -0
- data/lib/nodeum_sdk/models/mount_notification.rb +249 -0
- data/lib/nodeum_sdk/models/mount_status.rb +224 -0
- data/lib/nodeum_sdk/models/nas.rb +285 -0
- data/lib/nodeum_sdk/models/nas_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nas_share.rb +287 -0
- data/lib/nodeum_sdk/models/nas_share_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nodeum_file.rb +339 -0
- data/lib/nodeum_sdk/models/nodeum_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nodeum_file_with_path.rb +240 -0
- data/lib/nodeum_sdk/models/nodeum_file_with_path_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/occurrence_less_than.rb +230 -0
- data/lib/nodeum_sdk/models/occurrence_less_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/occurrence_less_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/on_tapes_file.rb +278 -0
- data/lib/nodeum_sdk/models/on_tapes_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/pool.rb +297 -0
- data/lib/nodeum_sdk/models/pool_collection.rb +217 -0
- data/lib/nodeum_sdk/models/pool_up.rb +264 -0
- data/lib/nodeum_sdk/models/pool_up_all_of.rb +230 -0
- data/lib/nodeum_sdk/models/primary_scan.rb +276 -0
- data/lib/nodeum_sdk/models/quota_on_cache.rb +209 -0
- data/lib/nodeum_sdk/models/reset.rb +209 -0
- data/lib/nodeum_sdk/models/reset_sections.rb +265 -0
- data/lib/nodeum_sdk/models/size_to_date_facets.rb +269 -0
- data/lib/nodeum_sdk/models/system_group.rb +226 -0
- data/lib/nodeum_sdk/models/system_group_collection.rb +217 -0
- data/lib/nodeum_sdk/models/system_user.rb +233 -0
- data/lib/nodeum_sdk/models/system_user_collection.rb +217 -0
- data/lib/nodeum_sdk/models/taken.rb +220 -0
- data/lib/nodeum_sdk/models/taken_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/tape.rb +456 -0
- data/lib/nodeum_sdk/models/tape_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_drive.rb +423 -0
- data/lib/nodeum_sdk/models/tape_drive_all_of.rb +411 -0
- data/lib/nodeum_sdk/models/tape_drive_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_drive_device.rb +261 -0
- data/lib/nodeum_sdk/models/tape_drive_device_collection.rb +208 -0
- data/lib/nodeum_sdk/models/tape_library.rb +297 -0
- data/lib/nodeum_sdk/models/tape_library_all_of.rb +285 -0
- data/lib/nodeum_sdk/models/tape_library_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_library_device.rb +330 -0
- data/lib/nodeum_sdk/models/tape_library_device_collection.rb +208 -0
- data/lib/nodeum_sdk/models/tape_stat.rb +647 -0
- data/lib/nodeum_sdk/models/tape_stat_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task.rb +483 -0
- data/lib/nodeum_sdk/models/task_callback.rb +258 -0
- data/lib/nodeum_sdk/models/task_callback_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_destination_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_destination_down.rb +242 -0
- data/lib/nodeum_sdk/models/task_destination_up.rb +251 -0
- data/lib/nodeum_sdk/models/task_execution.rb +441 -0
- data/lib/nodeum_sdk/models/task_execution_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_metadatum.rb +224 -0
- data/lib/nodeum_sdk/models/task_metadatum_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_option.rb +258 -0
- data/lib/nodeum_sdk/models/task_option_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_schedule.rb +278 -0
- data/lib/nodeum_sdk/models/task_schedule_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_source_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_source_down.rb +262 -0
- data/lib/nodeum_sdk/models/task_source_up.rb +280 -0
- data/lib/nodeum_sdk/models/too_long.rb +220 -0
- data/lib/nodeum_sdk/models/too_long_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/too_short.rb +220 -0
- data/lib/nodeum_sdk/models/too_short_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/type_to_secondary_facets.rb +242 -0
- data/lib/nodeum_sdk/version.rb +15 -0
- data/nodeum_sdk.gemspec +39 -0
- data/spec/api/cloud_buckets_api_spec.rb +237 -0
- data/spec/api/cloud_connectors_api_spec.rb +129 -0
- data/spec/api/containers_api_spec.rb +180 -0
- data/spec/api/files_api_spec.rb +570 -0
- data/spec/api/mounts_api_spec.rb +46 -0
- data/spec/api/nas_api_spec.rb +104 -0
- data/spec/api/nas_shares_api_spec.rb +292 -0
- data/spec/api/pools_api_spec.rb +203 -0
- data/spec/api/statistics_api_spec.rb +113 -0
- data/spec/api/systems_api_spec.rb +70 -0
- data/spec/api/tape_drives_api_spec.rb +220 -0
- data/spec/api/tape_libraries_api_spec.rb +127 -0
- data/spec/api/tapes_api_spec.rb +279 -0
- data/spec/api/task_callbacks_api_spec.rb +106 -0
- data/spec/api/task_destinations_api_spec.rb +107 -0
- data/spec/api/task_executions_api_spec.rb +127 -0
- data/spec/api/task_metadata_api_spec.rb +106 -0
- data/spec/api/task_options_api_spec.rb +106 -0
- data/spec/api/task_schedules_api_spec.rb +104 -0
- data/spec/api/task_sources_api_spec.rb +108 -0
- data/spec/api/tasks_api_spec.rb +226 -0
- data/spec/api/users_api_spec.rb +119 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/active_job_status_spec.rb +63 -0
- data/spec/models/api_key_collection_spec.rb +47 -0
- data/spec/models/api_key_full_all_of_spec.rb +41 -0
- data/spec/models/api_key_full_spec.rb +41 -0
- data/spec/models/api_key_scope_spec.rb +47 -0
- data/spec/models/api_key_spec.rb +53 -0
- data/spec/models/attribute_error_spec.rb +41 -0
- data/spec/models/blank_spec.rb +35 -0
- data/spec/models/by_date_facet_bucket_all_of_spec.rb +41 -0
- data/spec/models/by_date_facet_bucket_spec.rb +41 -0
- data/spec/models/by_date_facet_buckets_spec.rb +41 -0
- data/spec/models/by_date_facet_spec.rb +95 -0
- data/spec/models/by_file_extension_facet_all_of_spec.rb +41 -0
- data/spec/models/by_file_extension_facet_spec.rb +41 -0
- data/spec/models/by_group_owner_facet_all_of_spec.rb +41 -0
- data/spec/models/by_group_owner_facet_spec.rb +41 -0
- data/spec/models/by_primary_facet_all_of_spec.rb +41 -0
- data/spec/models/by_primary_facet_spec.rb +41 -0
- data/spec/models/by_secondary_bucket_all_of_spec.rb +41 -0
- data/spec/models/by_secondary_bucket_spec.rb +41 -0
- data/spec/models/by_secondary_buckets_spec.rb +41 -0
- data/spec/models/by_secondary_facet_spec.rb +77 -0
- data/spec/models/by_secondary_type_facet_all_of_spec.rb +41 -0
- data/spec/models/by_secondary_type_facet_spec.rb +41 -0
- data/spec/models/by_size_facet_spec.rb +95 -0
- data/spec/models/by_user_owner_facet_all_of_spec.rb +41 -0
- data/spec/models/by_user_owner_facet_spec.rb +41 -0
- data/spec/models/cloud_bucket_collection_spec.rb +47 -0
- data/spec/models/cloud_bucket_simple_collection_spec.rb +41 -0
- data/spec/models/cloud_bucket_spec.rb +83 -0
- data/spec/models/cloud_connector_collection_spec.rb +47 -0
- data/spec/models/cloud_connector_spec.rb +87 -0
- data/spec/models/container_collection_spec.rb +47 -0
- data/spec/models/container_privilege_collection_spec.rb +47 -0
- data/spec/models/container_privilege_spec.rb +67 -0
- data/spec/models/container_spec.rb +99 -0
- data/spec/models/date_to_file_facets_spec.rb +83 -0
- data/spec/models/error_spec.rb +47 -0
- data/spec/models/file_facet_spec.rb +47 -0
- data/spec/models/frozen_spec.rb +35 -0
- data/spec/models/greater_than_all_of_spec.rb +47 -0
- data/spec/models/greater_than_or_equal_to_spec.rb +47 -0
- data/spec/models/greater_than_spec.rb +47 -0
- data/spec/models/import_file_collection_spec.rb +47 -0
- data/spec/models/import_file_spec.rb +111 -0
- data/spec/models/import_file_with_path_spec.rb +117 -0
- data/spec/models/invalid_spec.rb +41 -0
- data/spec/models/less_than_all_of_spec.rb +47 -0
- data/spec/models/less_than_or_equal_to_spec.rb +47 -0
- data/spec/models/less_than_spec.rb +47 -0
- data/spec/models/mount_collection_spec.rb +41 -0
- data/spec/models/mount_info_spec.rb +165 -0
- data/spec/models/mount_notification_spec.rb +51 -0
- data/spec/models/mount_status_spec.rb +53 -0
- data/spec/models/nas_collection_spec.rb +47 -0
- data/spec/models/nas_share_collection_spec.rb +47 -0
- data/spec/models/nas_share_spec.rb +95 -0
- data/spec/models/nas_spec.rb +75 -0
- data/spec/models/nodeum_file_collection_spec.rb +47 -0
- data/spec/models/nodeum_file_spec.rb +111 -0
- data/spec/models/nodeum_file_with_path_all_of_spec.rb +41 -0
- data/spec/models/nodeum_file_with_path_spec.rb +41 -0
- data/spec/models/occurrence_less_than_all_of_spec.rb +47 -0
- data/spec/models/occurrence_less_than_or_equal_to_spec.rb +47 -0
- data/spec/models/occurrence_less_than_spec.rb +47 -0
- data/spec/models/on_tapes_file_collection_spec.rb +47 -0
- data/spec/models/on_tapes_file_spec.rb +69 -0
- data/spec/models/pool_collection_spec.rb +47 -0
- data/spec/models/pool_spec.rb +79 -0
- data/spec/models/pool_up_all_of_spec.rb +53 -0
- data/spec/models/pool_up_spec.rb +53 -0
- data/spec/models/primary_scan_spec.rb +69 -0
- data/spec/models/quota_on_cache_spec.rb +35 -0
- data/spec/models/reset_sections_spec.rb +57 -0
- data/spec/models/reset_spec.rb +41 -0
- data/spec/models/size_to_date_facets_spec.rb +83 -0
- data/spec/models/system_group_collection_spec.rb +47 -0
- data/spec/models/system_group_spec.rb +53 -0
- data/spec/models/system_user_collection_spec.rb +47 -0
- data/spec/models/system_user_spec.rb +59 -0
- data/spec/models/taken_all_of_spec.rb +41 -0
- data/spec/models/taken_spec.rb +41 -0
- data/spec/models/tape_collection_spec.rb +47 -0
- data/spec/models/tape_drive_all_of_spec.rb +159 -0
- data/spec/models/tape_drive_collection_spec.rb +47 -0
- data/spec/models/tape_drive_device_collection_spec.rb +41 -0
- data/spec/models/tape_drive_device_spec.rb +77 -0
- data/spec/models/tape_drive_spec.rb +159 -0
- data/spec/models/tape_library_all_of_spec.rb +75 -0
- data/spec/models/tape_library_collection_spec.rb +47 -0
- data/spec/models/tape_library_device_collection_spec.rb +41 -0
- data/spec/models/tape_library_device_spec.rb +105 -0
- data/spec/models/tape_library_spec.rb +75 -0
- data/spec/models/tape_spec.rb +189 -0
- data/spec/models/tape_stat_collection_spec.rb +47 -0
- data/spec/models/tape_stat_spec.rb +335 -0
- data/spec/models/task_callback_collection_spec.rb +47 -0
- data/spec/models/task_callback_spec.rb +57 -0
- data/spec/models/task_collection_spec.rb +47 -0
- data/spec/models/task_destination_collection_spec.rb +47 -0
- data/spec/models/task_destination_down_spec.rb +65 -0
- data/spec/models/task_destination_up_spec.rb +71 -0
- data/spec/models/task_execution_collection_spec.rb +47 -0
- data/spec/models/task_execution_spec.rb +163 -0
- data/spec/models/task_metadatum_collection_spec.rb +47 -0
- data/spec/models/task_metadatum_spec.rb +53 -0
- data/spec/models/task_option_collection_spec.rb +47 -0
- data/spec/models/task_option_spec.rb +57 -0
- data/spec/models/task_schedule_collection_spec.rb +47 -0
- data/spec/models/task_schedule_spec.rb +89 -0
- data/spec/models/task_source_collection_spec.rb +47 -0
- data/spec/models/task_source_down_spec.rb +77 -0
- data/spec/models/task_source_up_spec.rb +89 -0
- data/spec/models/task_spec.rb +183 -0
- data/spec/models/too_long_all_of_spec.rb +41 -0
- data/spec/models/too_long_spec.rb +41 -0
- data/spec/models/too_short_all_of_spec.rb +41 -0
- data/spec/models/too_short_spec.rb +41 -0
- data/spec/models/type_to_secondary_facets_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +718 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# Nodeum::TapeLibraryCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional] [readonly]
|
8
|
+
**tape_libraries** | [**Array<TapeLibrary>**](TapeLibrary.md) | | [optional] [readonly]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Nodeum'
|
14
|
+
|
15
|
+
instance = Nodeum::TapeLibraryCollection.new(count: 1,
|
16
|
+
tape_libraries: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Nodeum::TapeLibraryDevice
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**serial** | **String** | | [optional] [readonly]
|
8
|
+
**protocol** | **String** | | [optional] [readonly]
|
9
|
+
**vendor** | **String** | | [optional] [readonly]
|
10
|
+
**product** | **String** | | [optional] [readonly]
|
11
|
+
**firmware** | **String** | | [optional] [readonly]
|
12
|
+
**device** | **String** | | [optional] [readonly]
|
13
|
+
**acs** | **Integer** | | [optional] [readonly]
|
14
|
+
**storage_slots** | **Integer** | | [optional] [readonly]
|
15
|
+
**storage_slots_address** | **Integer** | | [optional] [readonly]
|
16
|
+
**io_slots** | **Integer** | | [optional] [readonly]
|
17
|
+
**io_slots_address** | **Integer** | | [optional] [readonly]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'Nodeum'
|
23
|
+
|
24
|
+
instance = Nodeum::TapeLibraryDevice.new(serial: C0F905D800A0_LL3,
|
25
|
+
protocol: scsi,
|
26
|
+
vendor: IBM,
|
27
|
+
product: 3573-TL,
|
28
|
+
firmware: 6.24,
|
29
|
+
device: /dev/sg9,
|
30
|
+
acs: null,
|
31
|
+
storage_slots: 20,
|
32
|
+
storage_slots_address: 1024,
|
33
|
+
io_slots: 4,
|
34
|
+
io_slots_address: 768)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Nodeum::TapeLibraryDeviceCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**tape_libraries** | [**Array<TapeLibraryDevice>**](TapeLibraryDevice.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::TapeLibraryDeviceCollection.new(tape_libraries: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/TapeStat.md
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
# Nodeum::TapeStat
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**log_time** | **String** | | [optional] [readonly]
|
8
|
+
**barcode** | **String** | | [optional] [readonly]
|
9
|
+
**mounts** | **Integer** | | [optional] [readonly]
|
10
|
+
**datasets_written** | **Integer** | | [optional] [readonly]
|
11
|
+
**datasets_read** | **Integer** | | [optional] [readonly]
|
12
|
+
**recovered_write_data_errors** | **Integer** | | [optional] [readonly]
|
13
|
+
**unrecovered_write_data_errors** | **Integer** | | [optional] [readonly]
|
14
|
+
**write_servo_errors** | **Integer** | | [optional] [readonly]
|
15
|
+
**unrecovered_write_servo_errors** | **Integer** | | [optional] [readonly]
|
16
|
+
**recovered_read_errors** | **Integer** | | [optional] [readonly]
|
17
|
+
**unrecovered_read_errors** | **Integer** | | [optional] [readonly]
|
18
|
+
**last_mount_unrecovered_write_errors** | **Integer** | | [optional] [readonly]
|
19
|
+
**last_mount_unrecovered_read_errors** | **Integer** | | [optional] [readonly]
|
20
|
+
**last_mount_mbytes_written** | **Integer** | | [optional] [readonly]
|
21
|
+
**last_mount_mbytes_read** | **Integer** | | [optional] [readonly]
|
22
|
+
**lifetime_mbytes_written** | **Integer** | | [optional] [readonly]
|
23
|
+
**lifetime_mbytes_read** | **Integer** | | [optional] [readonly]
|
24
|
+
**last_load_write_compression_ratio** | **Integer** | | [optional] [readonly]
|
25
|
+
**last_load_read_compression_ratio** | **Integer** | | [optional] [readonly]
|
26
|
+
**medium_mount_time** | **Integer** | | [optional] [readonly]
|
27
|
+
**medium_ready_time** | **Integer** | | [optional] [readonly]
|
28
|
+
**total_native_capacity** | **Integer** | | [optional] [readonly]
|
29
|
+
**total_used_native_capacity** | **Integer** | | [optional] [readonly]
|
30
|
+
**write_protect** | **Integer** | | [optional] [readonly]
|
31
|
+
**worm** | **Integer** | | [optional] [readonly]
|
32
|
+
**beginning_of_medium_passes** | **Integer** | | [optional] [readonly]
|
33
|
+
**middle_of_tape_passes** | **Integer** | | [optional] [readonly]
|
34
|
+
**read_compression_ratio** | **Integer** | | [optional] [readonly]
|
35
|
+
**write_compression_ratio** | **Integer** | | [optional] [readonly]
|
36
|
+
**mbytes_transferred_to_app_client** | **Integer** | | [optional] [readonly]
|
37
|
+
**bytes_transferred_to_app_client** | **Integer** | | [optional] [readonly]
|
38
|
+
**mbytes_read_from_medium** | **Integer** | | [optional] [readonly]
|
39
|
+
**bytes_read_from_medium** | **Integer** | | [optional] [readonly]
|
40
|
+
**mbytes_transferred_from_app_client** | **Integer** | | [optional] [readonly]
|
41
|
+
**bytes_transferred_from_app_client** | **Integer** | | [optional] [readonly]
|
42
|
+
**mbytes_written_to_medium** | **Integer** | | [optional] [readonly]
|
43
|
+
**bytes_written_to_medium** | **Integer** | | [optional] [readonly]
|
44
|
+
**data_compression_enabled** | **Integer** | | [optional] [readonly]
|
45
|
+
**write_retries** | **Integer** | | [optional] [readonly]
|
46
|
+
**write_perms** | **Integer** | | [optional] [readonly]
|
47
|
+
**suspended_writes** | **Integer** | | [optional] [readonly]
|
48
|
+
**fatal_suspended_writes** | **Integer** | | [optional] [readonly]
|
49
|
+
**read_retries** | **Integer** | | [optional] [readonly]
|
50
|
+
**read_perms** | **Integer** | | [optional] [readonly]
|
51
|
+
**suspended_reads** | **Integer** | | [optional] [readonly]
|
52
|
+
**fatal_suspended_reads** | **Integer** | | [optional] [readonly]
|
53
|
+
**partition_0_remaining_capacity** | **Integer** | | [optional] [readonly]
|
54
|
+
**partition_1_remaining_capacity** | **Integer** | | [optional] [readonly]
|
55
|
+
**partition_0_maximum_capacity** | **Integer** | | [optional] [readonly]
|
56
|
+
**partition_1_maximum_capacity** | **Integer** | | [optional] [readonly]
|
57
|
+
|
58
|
+
## Code Sample
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
require 'Nodeum'
|
62
|
+
|
63
|
+
instance = Nodeum::TapeStat.new(log_time: null,
|
64
|
+
barcode: null,
|
65
|
+
mounts: null,
|
66
|
+
datasets_written: null,
|
67
|
+
datasets_read: null,
|
68
|
+
recovered_write_data_errors: null,
|
69
|
+
unrecovered_write_data_errors: null,
|
70
|
+
write_servo_errors: null,
|
71
|
+
unrecovered_write_servo_errors: null,
|
72
|
+
recovered_read_errors: null,
|
73
|
+
unrecovered_read_errors: null,
|
74
|
+
last_mount_unrecovered_write_errors: null,
|
75
|
+
last_mount_unrecovered_read_errors: null,
|
76
|
+
last_mount_mbytes_written: null,
|
77
|
+
last_mount_mbytes_read: null,
|
78
|
+
lifetime_mbytes_written: null,
|
79
|
+
lifetime_mbytes_read: null,
|
80
|
+
last_load_write_compression_ratio: null,
|
81
|
+
last_load_read_compression_ratio: null,
|
82
|
+
medium_mount_time: null,
|
83
|
+
medium_ready_time: null,
|
84
|
+
total_native_capacity: null,
|
85
|
+
total_used_native_capacity: null,
|
86
|
+
write_protect: null,
|
87
|
+
worm: null,
|
88
|
+
beginning_of_medium_passes: null,
|
89
|
+
middle_of_tape_passes: null,
|
90
|
+
read_compression_ratio: null,
|
91
|
+
write_compression_ratio: null,
|
92
|
+
mbytes_transferred_to_app_client: null,
|
93
|
+
bytes_transferred_to_app_client: null,
|
94
|
+
mbytes_read_from_medium: null,
|
95
|
+
bytes_read_from_medium: null,
|
96
|
+
mbytes_transferred_from_app_client: null,
|
97
|
+
bytes_transferred_from_app_client: null,
|
98
|
+
mbytes_written_to_medium: null,
|
99
|
+
bytes_written_to_medium: null,
|
100
|
+
data_compression_enabled: null,
|
101
|
+
write_retries: null,
|
102
|
+
write_perms: null,
|
103
|
+
suspended_writes: null,
|
104
|
+
fatal_suspended_writes: null,
|
105
|
+
read_retries: null,
|
106
|
+
read_perms: null,
|
107
|
+
suspended_reads: null,
|
108
|
+
fatal_suspended_reads: null,
|
109
|
+
partition_0_remaining_capacity: null,
|
110
|
+
partition_1_remaining_capacity: null,
|
111
|
+
partition_0_maximum_capacity: null,
|
112
|
+
partition_1_maximum_capacity: null)
|
113
|
+
```
|
114
|
+
|
115
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Nodeum::TapeStatCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional] [readonly]
|
8
|
+
**tape_stats** | [**Array<TapeStat>**](TapeStat.md) | | [optional] [readonly]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Nodeum'
|
14
|
+
|
15
|
+
instance = Nodeum::TapeStatCollection.new(count: 1,
|
16
|
+
tape_stats: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/TapesApi.md
ADDED
@@ -0,0 +1,959 @@
|
|
1
|
+
# Nodeum::TapesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost/api/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**index_tape_stats**](TapesApi.md#index_tape_stats) | **GET** /tape_stats | List all tape statistics.
|
8
|
+
[**index_tapes**](TapesApi.md#index_tapes) | **GET** /tapes | Lists all tapes.
|
9
|
+
[**index_tapes_by_pool**](TapesApi.md#index_tapes_by_pool) | **GET** /pools/{pool_id}/tapes | Lists all tapes.
|
10
|
+
[**index_tapes_by_tape_library**](TapesApi.md#index_tapes_by_tape_library) | **GET** /tape_libraries/{tape_library_id}/tapes | Lists all tapes.
|
11
|
+
[**mount_status_tape**](TapesApi.md#mount_status_tape) | **GET** /tapes/{tape_id}/mount | Get mount status of Tape.
|
12
|
+
[**mount_status_tape_by_pool**](TapesApi.md#mount_status_tape_by_pool) | **GET** /pools/{pool_id}/tapes/{tape_id}/mount | Get mount status of Tape.
|
13
|
+
[**mount_status_tape_by_tape_library**](TapesApi.md#mount_status_tape_by_tape_library) | **GET** /tape_libraries/{tape_library_id}/tapes/{tape_id}/mount | Get mount status of Tape.
|
14
|
+
[**show_tape**](TapesApi.md#show_tape) | **GET** /tapes/{tape_id} | Displays a specific tape.
|
15
|
+
[**show_tape_by_pool**](TapesApi.md#show_tape_by_pool) | **GET** /pools/{pool_id}/tapes/{tape_id} | Displays a specific tape.
|
16
|
+
[**show_tape_by_tape_library**](TapesApi.md#show_tape_by_tape_library) | **GET** /tape_libraries/{tape_library_id}/tapes/{tape_id} | Displays a specific tape.
|
17
|
+
[**show_tape_stat**](TapesApi.md#show_tape_stat) | **GET** /tapes/{tape_id}/tape_stat | Display statistic for a specific tape.
|
18
|
+
[**show_tape_stat_by_pool**](TapesApi.md#show_tape_stat_by_pool) | **GET** /pools/{pool_id}/tapes/{tape_id}/tape_stat | Display statistic for a specific tape.
|
19
|
+
[**show_tape_stat_by_tape_library**](TapesApi.md#show_tape_stat_by_tape_library) | **GET** /tape_libraries/{tape_library_id}/tapes/{tape_id}/tape_stat | Display statistic for a specific tape.
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
## index_tape_stats
|
24
|
+
|
25
|
+
> TapeStatCollection index_tape_stats(opts)
|
26
|
+
|
27
|
+
List all tape statistics.
|
28
|
+
|
29
|
+
**API Key Scope**: tape_stats / index
|
30
|
+
|
31
|
+
### Example
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
# load the gem
|
35
|
+
require 'nodeum_sdk'
|
36
|
+
# setup authorization
|
37
|
+
Nodeum.configure do |config|
|
38
|
+
# Configure HTTP basic authorization: BasicAuth
|
39
|
+
config.username = 'YOUR USERNAME'
|
40
|
+
config.password = 'YOUR PASSWORD'
|
41
|
+
|
42
|
+
# Configure API key authorization: BearerAuth
|
43
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
44
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
45
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
46
|
+
end
|
47
|
+
|
48
|
+
api_instance = Nodeum::TapesApi.new
|
49
|
+
opts = {
|
50
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
51
|
+
offset: 56 # Integer | The number of items to skip for pagination.
|
52
|
+
}
|
53
|
+
|
54
|
+
begin
|
55
|
+
#List all tape statistics.
|
56
|
+
result = api_instance.index_tape_stats(opts)
|
57
|
+
p result
|
58
|
+
rescue Nodeum::ApiError => e
|
59
|
+
puts "Exception when calling TapesApi->index_tape_stats: #{e}"
|
60
|
+
end
|
61
|
+
```
|
62
|
+
|
63
|
+
### Parameters
|
64
|
+
|
65
|
+
|
66
|
+
Name | Type | Description | Notes
|
67
|
+
------------- | ------------- | ------------- | -------------
|
68
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
69
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
70
|
+
|
71
|
+
### Return type
|
72
|
+
|
73
|
+
[**TapeStatCollection**](TapeStatCollection.md)
|
74
|
+
|
75
|
+
### Authorization
|
76
|
+
|
77
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
78
|
+
|
79
|
+
### HTTP request headers
|
80
|
+
|
81
|
+
- **Content-Type**: Not defined
|
82
|
+
- **Accept**: application/json
|
83
|
+
|
84
|
+
|
85
|
+
## index_tapes
|
86
|
+
|
87
|
+
> TapeCollection index_tapes(opts)
|
88
|
+
|
89
|
+
Lists all tapes.
|
90
|
+
|
91
|
+
**API Key Scope**: tapes / index
|
92
|
+
|
93
|
+
### Example
|
94
|
+
|
95
|
+
```ruby
|
96
|
+
# load the gem
|
97
|
+
require 'nodeum_sdk'
|
98
|
+
# setup authorization
|
99
|
+
Nodeum.configure do |config|
|
100
|
+
# Configure HTTP basic authorization: BasicAuth
|
101
|
+
config.username = 'YOUR USERNAME'
|
102
|
+
config.password = 'YOUR PASSWORD'
|
103
|
+
|
104
|
+
# Configure API key authorization: BearerAuth
|
105
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
106
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
107
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
108
|
+
end
|
109
|
+
|
110
|
+
api_instance = Nodeum::TapesApi.new
|
111
|
+
opts = {
|
112
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
113
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
114
|
+
sort_by: ['sort_by_example'], # Array<String> | Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
115
|
+
id: 'id_example', # String | Filter on id
|
116
|
+
tape_library_id: 'tape_library_id_example', # String | Filter on tape library id
|
117
|
+
pool_id: 'pool_id_example', # String | Filter on a pool id
|
118
|
+
barcode: 'barcode_example', # String | Filter on barcode
|
119
|
+
location: 'location_example', # String | Filter on location
|
120
|
+
type: 'type_example', # String | Filter on type
|
121
|
+
locked: 'locked_example', # String | Filter on locked
|
122
|
+
scratch: 'scratch_example', # String | Filter on scratch
|
123
|
+
cleaning: 'cleaning_example', # String | Filter on cleaning
|
124
|
+
write_protect: 'write_protect_example', # String | Filter on write protect
|
125
|
+
mounted: 'mounted_example', # String | Filter on mounted
|
126
|
+
ejected: 'ejected_example', # String | Filter on ejected
|
127
|
+
known: 'known_example', # String | Filter on known
|
128
|
+
mount_count: 'mount_count_example', # String | Filter on mount count
|
129
|
+
date_in: 'date_in_example', # String | Filter on date in
|
130
|
+
date_move: 'date_move_example', # String | Filter on date move
|
131
|
+
free: 'free_example', # String | Filter on free
|
132
|
+
max: 'max_example', # String | Filter on max
|
133
|
+
last_size_update: 'last_size_update_example', # String | Filter on last size update
|
134
|
+
last_maintenance: 'last_maintenance_example', # String | Filter on last maintenance
|
135
|
+
last_repack: 'last_repack_example', # String | Filter on last repack
|
136
|
+
repack_status: 'repack_status_example', # String | Filter on repack status
|
137
|
+
hash: 'hash_example', # String | Filter on hash
|
138
|
+
force_import_type: 'force_import_type_example', # String | Filter on force import type
|
139
|
+
need_to_check: 'need_to_check_example' # String | Filter on need to check
|
140
|
+
}
|
141
|
+
|
142
|
+
begin
|
143
|
+
#Lists all tapes.
|
144
|
+
result = api_instance.index_tapes(opts)
|
145
|
+
p result
|
146
|
+
rescue Nodeum::ApiError => e
|
147
|
+
puts "Exception when calling TapesApi->index_tapes: #{e}"
|
148
|
+
end
|
149
|
+
```
|
150
|
+
|
151
|
+
### Parameters
|
152
|
+
|
153
|
+
|
154
|
+
Name | Type | Description | Notes
|
155
|
+
------------- | ------------- | ------------- | -------------
|
156
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
157
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
158
|
+
**sort_by** | [**Array<String>**](String.md)| Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`. | [optional]
|
159
|
+
**id** | **String**| Filter on id | [optional]
|
160
|
+
**tape_library_id** | **String**| Filter on tape library id | [optional]
|
161
|
+
**pool_id** | **String**| Filter on a pool id | [optional]
|
162
|
+
**barcode** | **String**| Filter on barcode | [optional]
|
163
|
+
**location** | **String**| Filter on location | [optional]
|
164
|
+
**type** | **String**| Filter on type | [optional]
|
165
|
+
**locked** | **String**| Filter on locked | [optional]
|
166
|
+
**scratch** | **String**| Filter on scratch | [optional]
|
167
|
+
**cleaning** | **String**| Filter on cleaning | [optional]
|
168
|
+
**write_protect** | **String**| Filter on write protect | [optional]
|
169
|
+
**mounted** | **String**| Filter on mounted | [optional]
|
170
|
+
**ejected** | **String**| Filter on ejected | [optional]
|
171
|
+
**known** | **String**| Filter on known | [optional]
|
172
|
+
**mount_count** | **String**| Filter on mount count | [optional]
|
173
|
+
**date_in** | **String**| Filter on date in | [optional]
|
174
|
+
**date_move** | **String**| Filter on date move | [optional]
|
175
|
+
**free** | **String**| Filter on free | [optional]
|
176
|
+
**max** | **String**| Filter on max | [optional]
|
177
|
+
**last_size_update** | **String**| Filter on last size update | [optional]
|
178
|
+
**last_maintenance** | **String**| Filter on last maintenance | [optional]
|
179
|
+
**last_repack** | **String**| Filter on last repack | [optional]
|
180
|
+
**repack_status** | **String**| Filter on repack status | [optional]
|
181
|
+
**hash** | **String**| Filter on hash | [optional]
|
182
|
+
**force_import_type** | **String**| Filter on force import type | [optional]
|
183
|
+
**need_to_check** | **String**| Filter on need to check | [optional]
|
184
|
+
|
185
|
+
### Return type
|
186
|
+
|
187
|
+
[**TapeCollection**](TapeCollection.md)
|
188
|
+
|
189
|
+
### Authorization
|
190
|
+
|
191
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
192
|
+
|
193
|
+
### HTTP request headers
|
194
|
+
|
195
|
+
- **Content-Type**: Not defined
|
196
|
+
- **Accept**: application/json
|
197
|
+
|
198
|
+
|
199
|
+
## index_tapes_by_pool
|
200
|
+
|
201
|
+
> TapeCollection index_tapes_by_pool(pool_id, opts)
|
202
|
+
|
203
|
+
Lists all tapes.
|
204
|
+
|
205
|
+
**API Key Scope**: tapes / index
|
206
|
+
|
207
|
+
### Example
|
208
|
+
|
209
|
+
```ruby
|
210
|
+
# load the gem
|
211
|
+
require 'nodeum_sdk'
|
212
|
+
# setup authorization
|
213
|
+
Nodeum.configure do |config|
|
214
|
+
# Configure HTTP basic authorization: BasicAuth
|
215
|
+
config.username = 'YOUR USERNAME'
|
216
|
+
config.password = 'YOUR PASSWORD'
|
217
|
+
|
218
|
+
# Configure API key authorization: BearerAuth
|
219
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
220
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
221
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
222
|
+
end
|
223
|
+
|
224
|
+
api_instance = Nodeum::TapesApi.new
|
225
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
226
|
+
opts = {
|
227
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
228
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
229
|
+
sort_by: ['sort_by_example'], # Array<String> | Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
230
|
+
id: 'id_example', # String | Filter on id
|
231
|
+
tape_library_id: 'tape_library_id_example', # String | Filter on tape library id
|
232
|
+
barcode: 'barcode_example', # String | Filter on barcode
|
233
|
+
location: 'location_example', # String | Filter on location
|
234
|
+
type: 'type_example', # String | Filter on type
|
235
|
+
locked: 'locked_example', # String | Filter on locked
|
236
|
+
scratch: 'scratch_example', # String | Filter on scratch
|
237
|
+
cleaning: 'cleaning_example', # String | Filter on cleaning
|
238
|
+
write_protect: 'write_protect_example', # String | Filter on write protect
|
239
|
+
mounted: 'mounted_example', # String | Filter on mounted
|
240
|
+
ejected: 'ejected_example', # String | Filter on ejected
|
241
|
+
known: 'known_example', # String | Filter on known
|
242
|
+
mount_count: 'mount_count_example', # String | Filter on mount count
|
243
|
+
date_in: 'date_in_example', # String | Filter on date in
|
244
|
+
date_move: 'date_move_example', # String | Filter on date move
|
245
|
+
free: 'free_example', # String | Filter on free
|
246
|
+
max: 'max_example', # String | Filter on max
|
247
|
+
last_size_update: 'last_size_update_example', # String | Filter on last size update
|
248
|
+
last_maintenance: 'last_maintenance_example', # String | Filter on last maintenance
|
249
|
+
last_repack: 'last_repack_example', # String | Filter on last repack
|
250
|
+
repack_status: 'repack_status_example', # String | Filter on repack status
|
251
|
+
hash: 'hash_example', # String | Filter on hash
|
252
|
+
force_import_type: 'force_import_type_example', # String | Filter on force import type
|
253
|
+
need_to_check: 'need_to_check_example' # String | Filter on need to check
|
254
|
+
}
|
255
|
+
|
256
|
+
begin
|
257
|
+
#Lists all tapes.
|
258
|
+
result = api_instance.index_tapes_by_pool(pool_id, opts)
|
259
|
+
p result
|
260
|
+
rescue Nodeum::ApiError => e
|
261
|
+
puts "Exception when calling TapesApi->index_tapes_by_pool: #{e}"
|
262
|
+
end
|
263
|
+
```
|
264
|
+
|
265
|
+
### Parameters
|
266
|
+
|
267
|
+
|
268
|
+
Name | Type | Description | Notes
|
269
|
+
------------- | ------------- | ------------- | -------------
|
270
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
271
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
272
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
273
|
+
**sort_by** | [**Array<String>**](String.md)| Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`. | [optional]
|
274
|
+
**id** | **String**| Filter on id | [optional]
|
275
|
+
**tape_library_id** | **String**| Filter on tape library id | [optional]
|
276
|
+
**barcode** | **String**| Filter on barcode | [optional]
|
277
|
+
**location** | **String**| Filter on location | [optional]
|
278
|
+
**type** | **String**| Filter on type | [optional]
|
279
|
+
**locked** | **String**| Filter on locked | [optional]
|
280
|
+
**scratch** | **String**| Filter on scratch | [optional]
|
281
|
+
**cleaning** | **String**| Filter on cleaning | [optional]
|
282
|
+
**write_protect** | **String**| Filter on write protect | [optional]
|
283
|
+
**mounted** | **String**| Filter on mounted | [optional]
|
284
|
+
**ejected** | **String**| Filter on ejected | [optional]
|
285
|
+
**known** | **String**| Filter on known | [optional]
|
286
|
+
**mount_count** | **String**| Filter on mount count | [optional]
|
287
|
+
**date_in** | **String**| Filter on date in | [optional]
|
288
|
+
**date_move** | **String**| Filter on date move | [optional]
|
289
|
+
**free** | **String**| Filter on free | [optional]
|
290
|
+
**max** | **String**| Filter on max | [optional]
|
291
|
+
**last_size_update** | **String**| Filter on last size update | [optional]
|
292
|
+
**last_maintenance** | **String**| Filter on last maintenance | [optional]
|
293
|
+
**last_repack** | **String**| Filter on last repack | [optional]
|
294
|
+
**repack_status** | **String**| Filter on repack status | [optional]
|
295
|
+
**hash** | **String**| Filter on hash | [optional]
|
296
|
+
**force_import_type** | **String**| Filter on force import type | [optional]
|
297
|
+
**need_to_check** | **String**| Filter on need to check | [optional]
|
298
|
+
|
299
|
+
### Return type
|
300
|
+
|
301
|
+
[**TapeCollection**](TapeCollection.md)
|
302
|
+
|
303
|
+
### Authorization
|
304
|
+
|
305
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
306
|
+
|
307
|
+
### HTTP request headers
|
308
|
+
|
309
|
+
- **Content-Type**: Not defined
|
310
|
+
- **Accept**: application/json
|
311
|
+
|
312
|
+
|
313
|
+
## index_tapes_by_tape_library
|
314
|
+
|
315
|
+
> TapeCollection index_tapes_by_tape_library(tape_library_id, opts)
|
316
|
+
|
317
|
+
Lists all tapes.
|
318
|
+
|
319
|
+
**API Key Scope**: tapes / index
|
320
|
+
|
321
|
+
### Example
|
322
|
+
|
323
|
+
```ruby
|
324
|
+
# load the gem
|
325
|
+
require 'nodeum_sdk'
|
326
|
+
# setup authorization
|
327
|
+
Nodeum.configure do |config|
|
328
|
+
# Configure HTTP basic authorization: BasicAuth
|
329
|
+
config.username = 'YOUR USERNAME'
|
330
|
+
config.password = 'YOUR PASSWORD'
|
331
|
+
|
332
|
+
# Configure API key authorization: BearerAuth
|
333
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
334
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
335
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
336
|
+
end
|
337
|
+
|
338
|
+
api_instance = Nodeum::TapesApi.new
|
339
|
+
tape_library_id = 'tape_library_id_example' # String | Numeric ID, serial, or name of tape library.
|
340
|
+
opts = {
|
341
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
342
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
343
|
+
sort_by: ['sort_by_example'], # Array<String> | Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
344
|
+
id: 'id_example', # String | Filter on id
|
345
|
+
pool_id: 'pool_id_example', # String | Filter on a pool id
|
346
|
+
barcode: 'barcode_example', # String | Filter on barcode
|
347
|
+
location: 'location_example', # String | Filter on location
|
348
|
+
type: 'type_example', # String | Filter on type
|
349
|
+
locked: 'locked_example', # String | Filter on locked
|
350
|
+
scratch: 'scratch_example', # String | Filter on scratch
|
351
|
+
cleaning: 'cleaning_example', # String | Filter on cleaning
|
352
|
+
write_protect: 'write_protect_example', # String | Filter on write protect
|
353
|
+
mounted: 'mounted_example', # String | Filter on mounted
|
354
|
+
ejected: 'ejected_example', # String | Filter on ejected
|
355
|
+
known: 'known_example', # String | Filter on known
|
356
|
+
mount_count: 'mount_count_example', # String | Filter on mount count
|
357
|
+
date_in: 'date_in_example', # String | Filter on date in
|
358
|
+
date_move: 'date_move_example', # String | Filter on date move
|
359
|
+
free: 'free_example', # String | Filter on free
|
360
|
+
max: 'max_example', # String | Filter on max
|
361
|
+
last_size_update: 'last_size_update_example', # String | Filter on last size update
|
362
|
+
last_maintenance: 'last_maintenance_example', # String | Filter on last maintenance
|
363
|
+
last_repack: 'last_repack_example', # String | Filter on last repack
|
364
|
+
repack_status: 'repack_status_example', # String | Filter on repack status
|
365
|
+
hash: 'hash_example', # String | Filter on hash
|
366
|
+
force_import_type: 'force_import_type_example', # String | Filter on force import type
|
367
|
+
need_to_check: 'need_to_check_example' # String | Filter on need to check
|
368
|
+
}
|
369
|
+
|
370
|
+
begin
|
371
|
+
#Lists all tapes.
|
372
|
+
result = api_instance.index_tapes_by_tape_library(tape_library_id, opts)
|
373
|
+
p result
|
374
|
+
rescue Nodeum::ApiError => e
|
375
|
+
puts "Exception when calling TapesApi->index_tapes_by_tape_library: #{e}"
|
376
|
+
end
|
377
|
+
```
|
378
|
+
|
379
|
+
### Parameters
|
380
|
+
|
381
|
+
|
382
|
+
Name | Type | Description | Notes
|
383
|
+
------------- | ------------- | ------------- | -------------
|
384
|
+
**tape_library_id** | **String**| Numeric ID, serial, or name of tape library. |
|
385
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
386
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
387
|
+
**sort_by** | [**Array<String>**](String.md)| Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`. | [optional]
|
388
|
+
**id** | **String**| Filter on id | [optional]
|
389
|
+
**pool_id** | **String**| Filter on a pool id | [optional]
|
390
|
+
**barcode** | **String**| Filter on barcode | [optional]
|
391
|
+
**location** | **String**| Filter on location | [optional]
|
392
|
+
**type** | **String**| Filter on type | [optional]
|
393
|
+
**locked** | **String**| Filter on locked | [optional]
|
394
|
+
**scratch** | **String**| Filter on scratch | [optional]
|
395
|
+
**cleaning** | **String**| Filter on cleaning | [optional]
|
396
|
+
**write_protect** | **String**| Filter on write protect | [optional]
|
397
|
+
**mounted** | **String**| Filter on mounted | [optional]
|
398
|
+
**ejected** | **String**| Filter on ejected | [optional]
|
399
|
+
**known** | **String**| Filter on known | [optional]
|
400
|
+
**mount_count** | **String**| Filter on mount count | [optional]
|
401
|
+
**date_in** | **String**| Filter on date in | [optional]
|
402
|
+
**date_move** | **String**| Filter on date move | [optional]
|
403
|
+
**free** | **String**| Filter on free | [optional]
|
404
|
+
**max** | **String**| Filter on max | [optional]
|
405
|
+
**last_size_update** | **String**| Filter on last size update | [optional]
|
406
|
+
**last_maintenance** | **String**| Filter on last maintenance | [optional]
|
407
|
+
**last_repack** | **String**| Filter on last repack | [optional]
|
408
|
+
**repack_status** | **String**| Filter on repack status | [optional]
|
409
|
+
**hash** | **String**| Filter on hash | [optional]
|
410
|
+
**force_import_type** | **String**| Filter on force import type | [optional]
|
411
|
+
**need_to_check** | **String**| Filter on need to check | [optional]
|
412
|
+
|
413
|
+
### Return type
|
414
|
+
|
415
|
+
[**TapeCollection**](TapeCollection.md)
|
416
|
+
|
417
|
+
### Authorization
|
418
|
+
|
419
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
420
|
+
|
421
|
+
### HTTP request headers
|
422
|
+
|
423
|
+
- **Content-Type**: Not defined
|
424
|
+
- **Accept**: application/json
|
425
|
+
|
426
|
+
|
427
|
+
## mount_status_tape
|
428
|
+
|
429
|
+
> MountStatus mount_status_tape(tape_id)
|
430
|
+
|
431
|
+
Get mount status of Tape.
|
432
|
+
|
433
|
+
**API Key Scope**: tapes / mount_status
|
434
|
+
|
435
|
+
### Example
|
436
|
+
|
437
|
+
```ruby
|
438
|
+
# load the gem
|
439
|
+
require 'nodeum_sdk'
|
440
|
+
# setup authorization
|
441
|
+
Nodeum.configure do |config|
|
442
|
+
# Configure HTTP basic authorization: BasicAuth
|
443
|
+
config.username = 'YOUR USERNAME'
|
444
|
+
config.password = 'YOUR PASSWORD'
|
445
|
+
|
446
|
+
# Configure API key authorization: BearerAuth
|
447
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
448
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
449
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
450
|
+
end
|
451
|
+
|
452
|
+
api_instance = Nodeum::TapesApi.new
|
453
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
454
|
+
|
455
|
+
begin
|
456
|
+
#Get mount status of Tape.
|
457
|
+
result = api_instance.mount_status_tape(tape_id)
|
458
|
+
p result
|
459
|
+
rescue Nodeum::ApiError => e
|
460
|
+
puts "Exception when calling TapesApi->mount_status_tape: #{e}"
|
461
|
+
end
|
462
|
+
```
|
463
|
+
|
464
|
+
### Parameters
|
465
|
+
|
466
|
+
|
467
|
+
Name | Type | Description | Notes
|
468
|
+
------------- | ------------- | ------------- | -------------
|
469
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
470
|
+
|
471
|
+
### Return type
|
472
|
+
|
473
|
+
[**MountStatus**](MountStatus.md)
|
474
|
+
|
475
|
+
### Authorization
|
476
|
+
|
477
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
478
|
+
|
479
|
+
### HTTP request headers
|
480
|
+
|
481
|
+
- **Content-Type**: Not defined
|
482
|
+
- **Accept**: application/json
|
483
|
+
|
484
|
+
|
485
|
+
## mount_status_tape_by_pool
|
486
|
+
|
487
|
+
> MountStatus mount_status_tape_by_pool(pool_id, tape_id)
|
488
|
+
|
489
|
+
Get mount status of Tape.
|
490
|
+
|
491
|
+
**API Key Scope**: tapes / mount_status
|
492
|
+
|
493
|
+
### Example
|
494
|
+
|
495
|
+
```ruby
|
496
|
+
# load the gem
|
497
|
+
require 'nodeum_sdk'
|
498
|
+
# setup authorization
|
499
|
+
Nodeum.configure do |config|
|
500
|
+
# Configure HTTP basic authorization: BasicAuth
|
501
|
+
config.username = 'YOUR USERNAME'
|
502
|
+
config.password = 'YOUR PASSWORD'
|
503
|
+
|
504
|
+
# Configure API key authorization: BearerAuth
|
505
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
506
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
507
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
508
|
+
end
|
509
|
+
|
510
|
+
api_instance = Nodeum::TapesApi.new
|
511
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
512
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
513
|
+
|
514
|
+
begin
|
515
|
+
#Get mount status of Tape.
|
516
|
+
result = api_instance.mount_status_tape_by_pool(pool_id, tape_id)
|
517
|
+
p result
|
518
|
+
rescue Nodeum::ApiError => e
|
519
|
+
puts "Exception when calling TapesApi->mount_status_tape_by_pool: #{e}"
|
520
|
+
end
|
521
|
+
```
|
522
|
+
|
523
|
+
### Parameters
|
524
|
+
|
525
|
+
|
526
|
+
Name | Type | Description | Notes
|
527
|
+
------------- | ------------- | ------------- | -------------
|
528
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
529
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
530
|
+
|
531
|
+
### Return type
|
532
|
+
|
533
|
+
[**MountStatus**](MountStatus.md)
|
534
|
+
|
535
|
+
### Authorization
|
536
|
+
|
537
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
538
|
+
|
539
|
+
### HTTP request headers
|
540
|
+
|
541
|
+
- **Content-Type**: Not defined
|
542
|
+
- **Accept**: application/json
|
543
|
+
|
544
|
+
|
545
|
+
## mount_status_tape_by_tape_library
|
546
|
+
|
547
|
+
> MountStatus mount_status_tape_by_tape_library(tape_library_id, tape_id)
|
548
|
+
|
549
|
+
Get mount status of Tape.
|
550
|
+
|
551
|
+
**API Key Scope**: tapes / mount_status
|
552
|
+
|
553
|
+
### Example
|
554
|
+
|
555
|
+
```ruby
|
556
|
+
# load the gem
|
557
|
+
require 'nodeum_sdk'
|
558
|
+
# setup authorization
|
559
|
+
Nodeum.configure do |config|
|
560
|
+
# Configure HTTP basic authorization: BasicAuth
|
561
|
+
config.username = 'YOUR USERNAME'
|
562
|
+
config.password = 'YOUR PASSWORD'
|
563
|
+
|
564
|
+
# Configure API key authorization: BearerAuth
|
565
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
566
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
567
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
568
|
+
end
|
569
|
+
|
570
|
+
api_instance = Nodeum::TapesApi.new
|
571
|
+
tape_library_id = 'tape_library_id_example' # String | Numeric ID, serial, or name of tape library.
|
572
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
573
|
+
|
574
|
+
begin
|
575
|
+
#Get mount status of Tape.
|
576
|
+
result = api_instance.mount_status_tape_by_tape_library(tape_library_id, tape_id)
|
577
|
+
p result
|
578
|
+
rescue Nodeum::ApiError => e
|
579
|
+
puts "Exception when calling TapesApi->mount_status_tape_by_tape_library: #{e}"
|
580
|
+
end
|
581
|
+
```
|
582
|
+
|
583
|
+
### Parameters
|
584
|
+
|
585
|
+
|
586
|
+
Name | Type | Description | Notes
|
587
|
+
------------- | ------------- | ------------- | -------------
|
588
|
+
**tape_library_id** | **String**| Numeric ID, serial, or name of tape library. |
|
589
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
590
|
+
|
591
|
+
### Return type
|
592
|
+
|
593
|
+
[**MountStatus**](MountStatus.md)
|
594
|
+
|
595
|
+
### Authorization
|
596
|
+
|
597
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
598
|
+
|
599
|
+
### HTTP request headers
|
600
|
+
|
601
|
+
- **Content-Type**: Not defined
|
602
|
+
- **Accept**: application/json
|
603
|
+
|
604
|
+
|
605
|
+
## show_tape
|
606
|
+
|
607
|
+
> Tape show_tape(tape_id)
|
608
|
+
|
609
|
+
Displays a specific tape.
|
610
|
+
|
611
|
+
**API Key Scope**: tapes / show
|
612
|
+
|
613
|
+
### Example
|
614
|
+
|
615
|
+
```ruby
|
616
|
+
# load the gem
|
617
|
+
require 'nodeum_sdk'
|
618
|
+
# setup authorization
|
619
|
+
Nodeum.configure do |config|
|
620
|
+
# Configure HTTP basic authorization: BasicAuth
|
621
|
+
config.username = 'YOUR USERNAME'
|
622
|
+
config.password = 'YOUR PASSWORD'
|
623
|
+
|
624
|
+
# Configure API key authorization: BearerAuth
|
625
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
626
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
627
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
628
|
+
end
|
629
|
+
|
630
|
+
api_instance = Nodeum::TapesApi.new
|
631
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
632
|
+
|
633
|
+
begin
|
634
|
+
#Displays a specific tape.
|
635
|
+
result = api_instance.show_tape(tape_id)
|
636
|
+
p result
|
637
|
+
rescue Nodeum::ApiError => e
|
638
|
+
puts "Exception when calling TapesApi->show_tape: #{e}"
|
639
|
+
end
|
640
|
+
```
|
641
|
+
|
642
|
+
### Parameters
|
643
|
+
|
644
|
+
|
645
|
+
Name | Type | Description | Notes
|
646
|
+
------------- | ------------- | ------------- | -------------
|
647
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
648
|
+
|
649
|
+
### Return type
|
650
|
+
|
651
|
+
[**Tape**](Tape.md)
|
652
|
+
|
653
|
+
### Authorization
|
654
|
+
|
655
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
656
|
+
|
657
|
+
### HTTP request headers
|
658
|
+
|
659
|
+
- **Content-Type**: Not defined
|
660
|
+
- **Accept**: application/json
|
661
|
+
|
662
|
+
|
663
|
+
## show_tape_by_pool
|
664
|
+
|
665
|
+
> Tape show_tape_by_pool(pool_id, tape_id)
|
666
|
+
|
667
|
+
Displays a specific tape.
|
668
|
+
|
669
|
+
**API Key Scope**: tapes / show
|
670
|
+
|
671
|
+
### Example
|
672
|
+
|
673
|
+
```ruby
|
674
|
+
# load the gem
|
675
|
+
require 'nodeum_sdk'
|
676
|
+
# setup authorization
|
677
|
+
Nodeum.configure do |config|
|
678
|
+
# Configure HTTP basic authorization: BasicAuth
|
679
|
+
config.username = 'YOUR USERNAME'
|
680
|
+
config.password = 'YOUR PASSWORD'
|
681
|
+
|
682
|
+
# Configure API key authorization: BearerAuth
|
683
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
684
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
685
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
686
|
+
end
|
687
|
+
|
688
|
+
api_instance = Nodeum::TapesApi.new
|
689
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
690
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
691
|
+
|
692
|
+
begin
|
693
|
+
#Displays a specific tape.
|
694
|
+
result = api_instance.show_tape_by_pool(pool_id, tape_id)
|
695
|
+
p result
|
696
|
+
rescue Nodeum::ApiError => e
|
697
|
+
puts "Exception when calling TapesApi->show_tape_by_pool: #{e}"
|
698
|
+
end
|
699
|
+
```
|
700
|
+
|
701
|
+
### Parameters
|
702
|
+
|
703
|
+
|
704
|
+
Name | Type | Description | Notes
|
705
|
+
------------- | ------------- | ------------- | -------------
|
706
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
707
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
708
|
+
|
709
|
+
### Return type
|
710
|
+
|
711
|
+
[**Tape**](Tape.md)
|
712
|
+
|
713
|
+
### Authorization
|
714
|
+
|
715
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
716
|
+
|
717
|
+
### HTTP request headers
|
718
|
+
|
719
|
+
- **Content-Type**: Not defined
|
720
|
+
- **Accept**: application/json
|
721
|
+
|
722
|
+
|
723
|
+
## show_tape_by_tape_library
|
724
|
+
|
725
|
+
> Tape show_tape_by_tape_library(tape_library_id, tape_id)
|
726
|
+
|
727
|
+
Displays a specific tape.
|
728
|
+
|
729
|
+
**API Key Scope**: tapes / show
|
730
|
+
|
731
|
+
### Example
|
732
|
+
|
733
|
+
```ruby
|
734
|
+
# load the gem
|
735
|
+
require 'nodeum_sdk'
|
736
|
+
# setup authorization
|
737
|
+
Nodeum.configure do |config|
|
738
|
+
# Configure HTTP basic authorization: BasicAuth
|
739
|
+
config.username = 'YOUR USERNAME'
|
740
|
+
config.password = 'YOUR PASSWORD'
|
741
|
+
|
742
|
+
# Configure API key authorization: BearerAuth
|
743
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
744
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
745
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
746
|
+
end
|
747
|
+
|
748
|
+
api_instance = Nodeum::TapesApi.new
|
749
|
+
tape_library_id = 'tape_library_id_example' # String | Numeric ID, serial, or name of tape library.
|
750
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
751
|
+
|
752
|
+
begin
|
753
|
+
#Displays a specific tape.
|
754
|
+
result = api_instance.show_tape_by_tape_library(tape_library_id, tape_id)
|
755
|
+
p result
|
756
|
+
rescue Nodeum::ApiError => e
|
757
|
+
puts "Exception when calling TapesApi->show_tape_by_tape_library: #{e}"
|
758
|
+
end
|
759
|
+
```
|
760
|
+
|
761
|
+
### Parameters
|
762
|
+
|
763
|
+
|
764
|
+
Name | Type | Description | Notes
|
765
|
+
------------- | ------------- | ------------- | -------------
|
766
|
+
**tape_library_id** | **String**| Numeric ID, serial, or name of tape library. |
|
767
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
768
|
+
|
769
|
+
### Return type
|
770
|
+
|
771
|
+
[**Tape**](Tape.md)
|
772
|
+
|
773
|
+
### Authorization
|
774
|
+
|
775
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
776
|
+
|
777
|
+
### HTTP request headers
|
778
|
+
|
779
|
+
- **Content-Type**: Not defined
|
780
|
+
- **Accept**: application/json
|
781
|
+
|
782
|
+
|
783
|
+
## show_tape_stat
|
784
|
+
|
785
|
+
> TapeStat show_tape_stat(tape_id)
|
786
|
+
|
787
|
+
Display statistic for a specific tape.
|
788
|
+
|
789
|
+
**API Key Scope**: tape_stats / show
|
790
|
+
|
791
|
+
### Example
|
792
|
+
|
793
|
+
```ruby
|
794
|
+
# load the gem
|
795
|
+
require 'nodeum_sdk'
|
796
|
+
# setup authorization
|
797
|
+
Nodeum.configure do |config|
|
798
|
+
# Configure HTTP basic authorization: BasicAuth
|
799
|
+
config.username = 'YOUR USERNAME'
|
800
|
+
config.password = 'YOUR PASSWORD'
|
801
|
+
|
802
|
+
# Configure API key authorization: BearerAuth
|
803
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
804
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
805
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
806
|
+
end
|
807
|
+
|
808
|
+
api_instance = Nodeum::TapesApi.new
|
809
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
810
|
+
|
811
|
+
begin
|
812
|
+
#Display statistic for a specific tape.
|
813
|
+
result = api_instance.show_tape_stat(tape_id)
|
814
|
+
p result
|
815
|
+
rescue Nodeum::ApiError => e
|
816
|
+
puts "Exception when calling TapesApi->show_tape_stat: #{e}"
|
817
|
+
end
|
818
|
+
```
|
819
|
+
|
820
|
+
### Parameters
|
821
|
+
|
822
|
+
|
823
|
+
Name | Type | Description | Notes
|
824
|
+
------------- | ------------- | ------------- | -------------
|
825
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
826
|
+
|
827
|
+
### Return type
|
828
|
+
|
829
|
+
[**TapeStat**](TapeStat.md)
|
830
|
+
|
831
|
+
### Authorization
|
832
|
+
|
833
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
834
|
+
|
835
|
+
### HTTP request headers
|
836
|
+
|
837
|
+
- **Content-Type**: Not defined
|
838
|
+
- **Accept**: application/json
|
839
|
+
|
840
|
+
|
841
|
+
## show_tape_stat_by_pool
|
842
|
+
|
843
|
+
> TapeStat show_tape_stat_by_pool(pool_id, tape_id)
|
844
|
+
|
845
|
+
Display statistic for a specific tape.
|
846
|
+
|
847
|
+
**API Key Scope**: tape_stats / show
|
848
|
+
|
849
|
+
### Example
|
850
|
+
|
851
|
+
```ruby
|
852
|
+
# load the gem
|
853
|
+
require 'nodeum_sdk'
|
854
|
+
# setup authorization
|
855
|
+
Nodeum.configure do |config|
|
856
|
+
# Configure HTTP basic authorization: BasicAuth
|
857
|
+
config.username = 'YOUR USERNAME'
|
858
|
+
config.password = 'YOUR PASSWORD'
|
859
|
+
|
860
|
+
# Configure API key authorization: BearerAuth
|
861
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
862
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
863
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
864
|
+
end
|
865
|
+
|
866
|
+
api_instance = Nodeum::TapesApi.new
|
867
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
868
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
869
|
+
|
870
|
+
begin
|
871
|
+
#Display statistic for a specific tape.
|
872
|
+
result = api_instance.show_tape_stat_by_pool(pool_id, tape_id)
|
873
|
+
p result
|
874
|
+
rescue Nodeum::ApiError => e
|
875
|
+
puts "Exception when calling TapesApi->show_tape_stat_by_pool: #{e}"
|
876
|
+
end
|
877
|
+
```
|
878
|
+
|
879
|
+
### Parameters
|
880
|
+
|
881
|
+
|
882
|
+
Name | Type | Description | Notes
|
883
|
+
------------- | ------------- | ------------- | -------------
|
884
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
885
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
886
|
+
|
887
|
+
### Return type
|
888
|
+
|
889
|
+
[**TapeStat**](TapeStat.md)
|
890
|
+
|
891
|
+
### Authorization
|
892
|
+
|
893
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
894
|
+
|
895
|
+
### HTTP request headers
|
896
|
+
|
897
|
+
- **Content-Type**: Not defined
|
898
|
+
- **Accept**: application/json
|
899
|
+
|
900
|
+
|
901
|
+
## show_tape_stat_by_tape_library
|
902
|
+
|
903
|
+
> TapeStat show_tape_stat_by_tape_library(tape_library_id, tape_id)
|
904
|
+
|
905
|
+
Display statistic for a specific tape.
|
906
|
+
|
907
|
+
**API Key Scope**: tape_stats / show
|
908
|
+
|
909
|
+
### Example
|
910
|
+
|
911
|
+
```ruby
|
912
|
+
# load the gem
|
913
|
+
require 'nodeum_sdk'
|
914
|
+
# setup authorization
|
915
|
+
Nodeum.configure do |config|
|
916
|
+
# Configure HTTP basic authorization: BasicAuth
|
917
|
+
config.username = 'YOUR USERNAME'
|
918
|
+
config.password = 'YOUR PASSWORD'
|
919
|
+
|
920
|
+
# Configure API key authorization: BearerAuth
|
921
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
922
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
923
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
924
|
+
end
|
925
|
+
|
926
|
+
api_instance = Nodeum::TapesApi.new
|
927
|
+
tape_library_id = 'tape_library_id_example' # String | Numeric ID, serial, or name of tape library.
|
928
|
+
tape_id = 'tape_id_example' # String | Numeric ID, or barcode of tape.
|
929
|
+
|
930
|
+
begin
|
931
|
+
#Display statistic for a specific tape.
|
932
|
+
result = api_instance.show_tape_stat_by_tape_library(tape_library_id, tape_id)
|
933
|
+
p result
|
934
|
+
rescue Nodeum::ApiError => e
|
935
|
+
puts "Exception when calling TapesApi->show_tape_stat_by_tape_library: #{e}"
|
936
|
+
end
|
937
|
+
```
|
938
|
+
|
939
|
+
### Parameters
|
940
|
+
|
941
|
+
|
942
|
+
Name | Type | Description | Notes
|
943
|
+
------------- | ------------- | ------------- | -------------
|
944
|
+
**tape_library_id** | **String**| Numeric ID, serial, or name of tape library. |
|
945
|
+
**tape_id** | **String**| Numeric ID, or barcode of tape. |
|
946
|
+
|
947
|
+
### Return type
|
948
|
+
|
949
|
+
[**TapeStat**](TapeStat.md)
|
950
|
+
|
951
|
+
### Authorization
|
952
|
+
|
953
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
954
|
+
|
955
|
+
### HTTP request headers
|
956
|
+
|
957
|
+
- **Content-Type**: Not defined
|
958
|
+
- **Accept**: application/json
|
959
|
+
|