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,17 @@
|
|
1
|
+
# Nodeum::BySecondaryTypeFacet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**secondary_name** | [**BySecondaryBuckets**](BySecondaryBuckets.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::BySecondaryTypeFacet.new(secondary_name: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Nodeum::BySecondaryTypeFacetAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**secondary_name** | [**BySecondaryBuckets**](BySecondaryBuckets.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::BySecondaryTypeFacetAllOf.new(secondary_name: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/BySizeFacet.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Nodeum::BySizeFacet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**file_size_sum** | **Integer** | | [optional]
|
9
|
+
**less_100_kb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
10
|
+
**less_1_mb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
11
|
+
**less_10_mb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
12
|
+
**less_100_mb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
13
|
+
**less_1_gb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
14
|
+
**less_10_gb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
15
|
+
**less_100_gb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
16
|
+
**more_100_gb** | [**ByDateFacet**](ByDateFacet.md) | | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'Nodeum'
|
22
|
+
|
23
|
+
instance = Nodeum::BySizeFacet.new(count: null,
|
24
|
+
file_size_sum: null,
|
25
|
+
less_100_kb: null,
|
26
|
+
less_1_mb: null,
|
27
|
+
less_10_mb: null,
|
28
|
+
less_100_mb: null,
|
29
|
+
less_1_gb: null,
|
30
|
+
less_10_gb: null,
|
31
|
+
less_100_gb: null,
|
32
|
+
more_100_gb: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Nodeum::ByUserOwnerFacet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**user_owner_id** | [**ByDateFacetBuckets**](ByDateFacetBuckets.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::ByUserOwnerFacet.new(user_owner_id: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Nodeum::ByUserOwnerFacetAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**user_owner_id** | [**ByDateFacetBuckets**](ByDateFacetBuckets.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::ByUserOwnerFacetAllOf.new(user_owner_id: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/CloudBucket.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Nodeum::CloudBucket
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **Integer** | | [optional] [readonly]
|
8
|
+
**cloud_connector_id** | **Integer** | | [optional] [readonly]
|
9
|
+
**pool_id** | **Integer** | | [optional] [readonly]
|
10
|
+
**name** | **String** | | [optional] [readonly]
|
11
|
+
**file_count** | **Integer** | | [optional] [readonly]
|
12
|
+
**file_size_sum** | **Integer** | | [optional] [readonly]
|
13
|
+
**location** | **String** | | [optional] [readonly]
|
14
|
+
**price** | **String** | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'Nodeum'
|
20
|
+
|
21
|
+
instance = Nodeum::CloudBucket.new(id: null,
|
22
|
+
cloud_connector_id: null,
|
23
|
+
pool_id: null,
|
24
|
+
name: null,
|
25
|
+
file_count: null,
|
26
|
+
file_size_sum: null,
|
27
|
+
location: null,
|
28
|
+
price: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Nodeum::CloudBucketCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional] [readonly]
|
8
|
+
**cloud_buckets** | [**Array<CloudBucket>**](CloudBucket.md) | | [optional] [readonly]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Nodeum'
|
14
|
+
|
15
|
+
instance = Nodeum::CloudBucketCollection.new(count: 1,
|
16
|
+
cloud_buckets: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Nodeum::CloudBucketSimpleCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**cloud_buckets** | [**Array<CloudBucket>**](CloudBucket.md) | | [optional] [readonly]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Nodeum'
|
13
|
+
|
14
|
+
instance = Nodeum::CloudBucketSimpleCollection.new(cloud_buckets: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,908 @@
|
|
1
|
+
# Nodeum::CloudBucketsApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost/api/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**index_cloud_buckets**](CloudBucketsApi.md#index_cloud_buckets) | **GET** /cloud_buckets | Lists all cloud buckets.
|
8
|
+
[**index_cloud_buckets_by_cloud_connector**](CloudBucketsApi.md#index_cloud_buckets_by_cloud_connector) | **GET** /cloud_connectors/{cloud_connector_id}/cloud_buckets | Lists all cloud buckets.
|
9
|
+
[**index_cloud_buckets_by_pool**](CloudBucketsApi.md#index_cloud_buckets_by_pool) | **GET** /pools/{pool_id}/cloud_buckets | Lists all cloud buckets from pool.
|
10
|
+
[**mount_status_cloud_bucket**](CloudBucketsApi.md#mount_status_cloud_bucket) | **GET** /cloud_buckets/{cloud_bucket_id}/mount | Get mount status of Cloud bucket.
|
11
|
+
[**mount_status_cloud_bucket_by_cloud_connector**](CloudBucketsApi.md#mount_status_cloud_bucket_by_cloud_connector) | **GET** /cloud_connectors/{cloud_connector_id}/cloud_buckets/{cloud_bucket_id}/mount | Get mount status of Cloud bucket.
|
12
|
+
[**mount_status_cloud_bucket_by_pool**](CloudBucketsApi.md#mount_status_cloud_bucket_by_pool) | **GET** /pools/{pool_id}/cloud_buckets/{cloud_bucket_id}/mount | Get mount status of Cloud bucket.
|
13
|
+
[**show_cloud_bucket**](CloudBucketsApi.md#show_cloud_bucket) | **GET** /cloud_buckets/{cloud_bucket_id} | Displays a specific cloud bucket.
|
14
|
+
[**show_cloud_bucket_by_cloud_connector**](CloudBucketsApi.md#show_cloud_bucket_by_cloud_connector) | **GET** /cloud_connectors/{cloud_connector_id}/cloud_buckets/{cloud_bucket_id} | Displays a specific cloud bucket.
|
15
|
+
[**show_cloud_bucket_by_pool**](CloudBucketsApi.md#show_cloud_bucket_by_pool) | **GET** /pools/{pool_id}/cloud_buckets/{cloud_bucket_id} | Displays a specific cloud bucket.
|
16
|
+
[**sync_cloud_buckets**](CloudBucketsApi.md#sync_cloud_buckets) | **PUT** /cloud_connectors/{cloud_connector_id}/cloud_buckets/-/sync | Synchronize internal cloud buckets with their remote equivalent.
|
17
|
+
[**sync_result_cloud_buckets**](CloudBucketsApi.md#sync_result_cloud_buckets) | **GET** /cloud_connectors/{cloud_connector_id}/cloud_buckets/-/sync | Check result of cloud connector sync job.
|
18
|
+
[**update_cloud_bucket**](CloudBucketsApi.md#update_cloud_bucket) | **PUT** /cloud_buckets/{cloud_bucket_id} | Updates a specific cloud bucket.
|
19
|
+
[**update_cloud_bucket_by_cloud_connector**](CloudBucketsApi.md#update_cloud_bucket_by_cloud_connector) | **PUT** /cloud_connectors/{cloud_connector_id}/cloud_buckets/{cloud_bucket_id} | Updates a specific cloud bucket.
|
20
|
+
[**update_cloud_bucket_by_pool**](CloudBucketsApi.md#update_cloud_bucket_by_pool) | **PUT** /pools/{pool_id}/cloud_buckets/{cloud_bucket_id} | Updates a specific cloud bucket.
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
## index_cloud_buckets
|
25
|
+
|
26
|
+
> CloudBucketCollection index_cloud_buckets(opts)
|
27
|
+
|
28
|
+
Lists all cloud buckets.
|
29
|
+
|
30
|
+
**API Key Scope**: cloud_buckets / index
|
31
|
+
|
32
|
+
### Example
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
# load the gem
|
36
|
+
require 'nodeum_sdk'
|
37
|
+
# setup authorization
|
38
|
+
Nodeum.configure do |config|
|
39
|
+
# Configure HTTP basic authorization: BasicAuth
|
40
|
+
config.username = 'YOUR USERNAME'
|
41
|
+
config.password = 'YOUR PASSWORD'
|
42
|
+
|
43
|
+
# Configure API key authorization: BearerAuth
|
44
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
45
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
46
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
47
|
+
end
|
48
|
+
|
49
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
50
|
+
opts = {
|
51
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
52
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
53
|
+
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`.
|
54
|
+
id: 'id_example', # String | Filter on id
|
55
|
+
cloud_connector_id: 'cloud_connector_id_example', # String | Filter on cloud connector id
|
56
|
+
pool_id: 'pool_id_example', # String | Filter on a pool id
|
57
|
+
name: 'name_example', # String | Filter on name
|
58
|
+
location: 'location_example', # String | Filter on location
|
59
|
+
price: 'price_example' # String | Filter on price
|
60
|
+
}
|
61
|
+
|
62
|
+
begin
|
63
|
+
#Lists all cloud buckets.
|
64
|
+
result = api_instance.index_cloud_buckets(opts)
|
65
|
+
p result
|
66
|
+
rescue Nodeum::ApiError => e
|
67
|
+
puts "Exception when calling CloudBucketsApi->index_cloud_buckets: #{e}"
|
68
|
+
end
|
69
|
+
```
|
70
|
+
|
71
|
+
### Parameters
|
72
|
+
|
73
|
+
|
74
|
+
Name | Type | Description | Notes
|
75
|
+
------------- | ------------- | ------------- | -------------
|
76
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
77
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
78
|
+
**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]
|
79
|
+
**id** | **String**| Filter on id | [optional]
|
80
|
+
**cloud_connector_id** | **String**| Filter on cloud connector id | [optional]
|
81
|
+
**pool_id** | **String**| Filter on a pool id | [optional]
|
82
|
+
**name** | **String**| Filter on name | [optional]
|
83
|
+
**location** | **String**| Filter on location | [optional]
|
84
|
+
**price** | **String**| Filter on price | [optional]
|
85
|
+
|
86
|
+
### Return type
|
87
|
+
|
88
|
+
[**CloudBucketCollection**](CloudBucketCollection.md)
|
89
|
+
|
90
|
+
### Authorization
|
91
|
+
|
92
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
93
|
+
|
94
|
+
### HTTP request headers
|
95
|
+
|
96
|
+
- **Content-Type**: Not defined
|
97
|
+
- **Accept**: application/json
|
98
|
+
|
99
|
+
|
100
|
+
## index_cloud_buckets_by_cloud_connector
|
101
|
+
|
102
|
+
> CloudBucketCollection index_cloud_buckets_by_cloud_connector(cloud_connector_id, opts)
|
103
|
+
|
104
|
+
Lists all cloud buckets.
|
105
|
+
|
106
|
+
**API Key Scope**: cloud_buckets / index
|
107
|
+
|
108
|
+
### Example
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
# load the gem
|
112
|
+
require 'nodeum_sdk'
|
113
|
+
# setup authorization
|
114
|
+
Nodeum.configure do |config|
|
115
|
+
# Configure HTTP basic authorization: BasicAuth
|
116
|
+
config.username = 'YOUR USERNAME'
|
117
|
+
config.password = 'YOUR PASSWORD'
|
118
|
+
|
119
|
+
# Configure API key authorization: BearerAuth
|
120
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
121
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
122
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
123
|
+
end
|
124
|
+
|
125
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
126
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
127
|
+
opts = {
|
128
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
129
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
130
|
+
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`.
|
131
|
+
id: 'id_example', # String | Filter on id
|
132
|
+
pool_id: 'pool_id_example', # String | Filter on a pool id
|
133
|
+
name: 'name_example', # String | Filter on name
|
134
|
+
location: 'location_example', # String | Filter on location
|
135
|
+
price: 'price_example' # String | Filter on price
|
136
|
+
}
|
137
|
+
|
138
|
+
begin
|
139
|
+
#Lists all cloud buckets.
|
140
|
+
result = api_instance.index_cloud_buckets_by_cloud_connector(cloud_connector_id, opts)
|
141
|
+
p result
|
142
|
+
rescue Nodeum::ApiError => e
|
143
|
+
puts "Exception when calling CloudBucketsApi->index_cloud_buckets_by_cloud_connector: #{e}"
|
144
|
+
end
|
145
|
+
```
|
146
|
+
|
147
|
+
### Parameters
|
148
|
+
|
149
|
+
|
150
|
+
Name | Type | Description | Notes
|
151
|
+
------------- | ------------- | ------------- | -------------
|
152
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
153
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
154
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
155
|
+
**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]
|
156
|
+
**id** | **String**| Filter on id | [optional]
|
157
|
+
**pool_id** | **String**| Filter on a pool id | [optional]
|
158
|
+
**name** | **String**| Filter on name | [optional]
|
159
|
+
**location** | **String**| Filter on location | [optional]
|
160
|
+
**price** | **String**| Filter on price | [optional]
|
161
|
+
|
162
|
+
### Return type
|
163
|
+
|
164
|
+
[**CloudBucketCollection**](CloudBucketCollection.md)
|
165
|
+
|
166
|
+
### Authorization
|
167
|
+
|
168
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
169
|
+
|
170
|
+
### HTTP request headers
|
171
|
+
|
172
|
+
- **Content-Type**: Not defined
|
173
|
+
- **Accept**: application/json
|
174
|
+
|
175
|
+
|
176
|
+
## index_cloud_buckets_by_pool
|
177
|
+
|
178
|
+
> CloudBucketCollection index_cloud_buckets_by_pool(pool_id, opts)
|
179
|
+
|
180
|
+
Lists all cloud buckets from pool.
|
181
|
+
|
182
|
+
**API Key Scope**: cloud_buckets / index
|
183
|
+
|
184
|
+
### Example
|
185
|
+
|
186
|
+
```ruby
|
187
|
+
# load the gem
|
188
|
+
require 'nodeum_sdk'
|
189
|
+
# setup authorization
|
190
|
+
Nodeum.configure do |config|
|
191
|
+
# Configure HTTP basic authorization: BasicAuth
|
192
|
+
config.username = 'YOUR USERNAME'
|
193
|
+
config.password = 'YOUR PASSWORD'
|
194
|
+
|
195
|
+
# Configure API key authorization: BearerAuth
|
196
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
197
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
198
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
199
|
+
end
|
200
|
+
|
201
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
202
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
203
|
+
opts = {
|
204
|
+
limit: 56, # Integer | The number of items to display for pagination.
|
205
|
+
offset: 56, # Integer | The number of items to skip for pagination.
|
206
|
+
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`.
|
207
|
+
id: 'id_example', # String | Filter on id
|
208
|
+
cloud_connector_id: 'cloud_connector_id_example', # String | Filter on cloud connector id
|
209
|
+
name: 'name_example', # String | Filter on name
|
210
|
+
location: 'location_example', # String | Filter on location
|
211
|
+
price: 'price_example' # String | Filter on price
|
212
|
+
}
|
213
|
+
|
214
|
+
begin
|
215
|
+
#Lists all cloud buckets from pool.
|
216
|
+
result = api_instance.index_cloud_buckets_by_pool(pool_id, opts)
|
217
|
+
p result
|
218
|
+
rescue Nodeum::ApiError => e
|
219
|
+
puts "Exception when calling CloudBucketsApi->index_cloud_buckets_by_pool: #{e}"
|
220
|
+
end
|
221
|
+
```
|
222
|
+
|
223
|
+
### Parameters
|
224
|
+
|
225
|
+
|
226
|
+
Name | Type | Description | Notes
|
227
|
+
------------- | ------------- | ------------- | -------------
|
228
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
229
|
+
**limit** | **Integer**| The number of items to display for pagination. | [optional]
|
230
|
+
**offset** | **Integer**| The number of items to skip for pagination. | [optional]
|
231
|
+
**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]
|
232
|
+
**id** | **String**| Filter on id | [optional]
|
233
|
+
**cloud_connector_id** | **String**| Filter on cloud connector id | [optional]
|
234
|
+
**name** | **String**| Filter on name | [optional]
|
235
|
+
**location** | **String**| Filter on location | [optional]
|
236
|
+
**price** | **String**| Filter on price | [optional]
|
237
|
+
|
238
|
+
### Return type
|
239
|
+
|
240
|
+
[**CloudBucketCollection**](CloudBucketCollection.md)
|
241
|
+
|
242
|
+
### Authorization
|
243
|
+
|
244
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
245
|
+
|
246
|
+
### HTTP request headers
|
247
|
+
|
248
|
+
- **Content-Type**: Not defined
|
249
|
+
- **Accept**: application/json
|
250
|
+
|
251
|
+
|
252
|
+
## mount_status_cloud_bucket
|
253
|
+
|
254
|
+
> MountStatus mount_status_cloud_bucket(cloud_bucket_id)
|
255
|
+
|
256
|
+
Get mount status of Cloud bucket.
|
257
|
+
|
258
|
+
**API Key Scope**: cloud_buckets / mount_status
|
259
|
+
|
260
|
+
### Example
|
261
|
+
|
262
|
+
```ruby
|
263
|
+
# load the gem
|
264
|
+
require 'nodeum_sdk'
|
265
|
+
# setup authorization
|
266
|
+
Nodeum.configure do |config|
|
267
|
+
# Configure HTTP basic authorization: BasicAuth
|
268
|
+
config.username = 'YOUR USERNAME'
|
269
|
+
config.password = 'YOUR PASSWORD'
|
270
|
+
|
271
|
+
# Configure API key authorization: BearerAuth
|
272
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
273
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
274
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
275
|
+
end
|
276
|
+
|
277
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
278
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
279
|
+
|
280
|
+
begin
|
281
|
+
#Get mount status of Cloud bucket.
|
282
|
+
result = api_instance.mount_status_cloud_bucket(cloud_bucket_id)
|
283
|
+
p result
|
284
|
+
rescue Nodeum::ApiError => e
|
285
|
+
puts "Exception when calling CloudBucketsApi->mount_status_cloud_bucket: #{e}"
|
286
|
+
end
|
287
|
+
```
|
288
|
+
|
289
|
+
### Parameters
|
290
|
+
|
291
|
+
|
292
|
+
Name | Type | Description | Notes
|
293
|
+
------------- | ------------- | ------------- | -------------
|
294
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
295
|
+
|
296
|
+
### Return type
|
297
|
+
|
298
|
+
[**MountStatus**](MountStatus.md)
|
299
|
+
|
300
|
+
### Authorization
|
301
|
+
|
302
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
303
|
+
|
304
|
+
### HTTP request headers
|
305
|
+
|
306
|
+
- **Content-Type**: Not defined
|
307
|
+
- **Accept**: application/json
|
308
|
+
|
309
|
+
|
310
|
+
## mount_status_cloud_bucket_by_cloud_connector
|
311
|
+
|
312
|
+
> MountStatus mount_status_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id)
|
313
|
+
|
314
|
+
Get mount status of Cloud bucket.
|
315
|
+
|
316
|
+
**API Key Scope**: cloud_buckets / mount_status
|
317
|
+
|
318
|
+
### Example
|
319
|
+
|
320
|
+
```ruby
|
321
|
+
# load the gem
|
322
|
+
require 'nodeum_sdk'
|
323
|
+
# setup authorization
|
324
|
+
Nodeum.configure do |config|
|
325
|
+
# Configure HTTP basic authorization: BasicAuth
|
326
|
+
config.username = 'YOUR USERNAME'
|
327
|
+
config.password = 'YOUR PASSWORD'
|
328
|
+
|
329
|
+
# Configure API key authorization: BearerAuth
|
330
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
331
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
332
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
333
|
+
end
|
334
|
+
|
335
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
336
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
337
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
338
|
+
|
339
|
+
begin
|
340
|
+
#Get mount status of Cloud bucket.
|
341
|
+
result = api_instance.mount_status_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id)
|
342
|
+
p result
|
343
|
+
rescue Nodeum::ApiError => e
|
344
|
+
puts "Exception when calling CloudBucketsApi->mount_status_cloud_bucket_by_cloud_connector: #{e}"
|
345
|
+
end
|
346
|
+
```
|
347
|
+
|
348
|
+
### Parameters
|
349
|
+
|
350
|
+
|
351
|
+
Name | Type | Description | Notes
|
352
|
+
------------- | ------------- | ------------- | -------------
|
353
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
354
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
355
|
+
|
356
|
+
### Return type
|
357
|
+
|
358
|
+
[**MountStatus**](MountStatus.md)
|
359
|
+
|
360
|
+
### Authorization
|
361
|
+
|
362
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
363
|
+
|
364
|
+
### HTTP request headers
|
365
|
+
|
366
|
+
- **Content-Type**: Not defined
|
367
|
+
- **Accept**: application/json
|
368
|
+
|
369
|
+
|
370
|
+
## mount_status_cloud_bucket_by_pool
|
371
|
+
|
372
|
+
> MountStatus mount_status_cloud_bucket_by_pool(pool_id, cloud_bucket_id)
|
373
|
+
|
374
|
+
Get mount status of Cloud bucket.
|
375
|
+
|
376
|
+
**API Key Scope**: cloud_buckets / mount_status
|
377
|
+
|
378
|
+
### Example
|
379
|
+
|
380
|
+
```ruby
|
381
|
+
# load the gem
|
382
|
+
require 'nodeum_sdk'
|
383
|
+
# setup authorization
|
384
|
+
Nodeum.configure do |config|
|
385
|
+
# Configure HTTP basic authorization: BasicAuth
|
386
|
+
config.username = 'YOUR USERNAME'
|
387
|
+
config.password = 'YOUR PASSWORD'
|
388
|
+
|
389
|
+
# Configure API key authorization: BearerAuth
|
390
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
391
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
392
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
393
|
+
end
|
394
|
+
|
395
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
396
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
397
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
398
|
+
|
399
|
+
begin
|
400
|
+
#Get mount status of Cloud bucket.
|
401
|
+
result = api_instance.mount_status_cloud_bucket_by_pool(pool_id, cloud_bucket_id)
|
402
|
+
p result
|
403
|
+
rescue Nodeum::ApiError => e
|
404
|
+
puts "Exception when calling CloudBucketsApi->mount_status_cloud_bucket_by_pool: #{e}"
|
405
|
+
end
|
406
|
+
```
|
407
|
+
|
408
|
+
### Parameters
|
409
|
+
|
410
|
+
|
411
|
+
Name | Type | Description | Notes
|
412
|
+
------------- | ------------- | ------------- | -------------
|
413
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
414
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
415
|
+
|
416
|
+
### Return type
|
417
|
+
|
418
|
+
[**MountStatus**](MountStatus.md)
|
419
|
+
|
420
|
+
### Authorization
|
421
|
+
|
422
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
423
|
+
|
424
|
+
### HTTP request headers
|
425
|
+
|
426
|
+
- **Content-Type**: Not defined
|
427
|
+
- **Accept**: application/json
|
428
|
+
|
429
|
+
|
430
|
+
## show_cloud_bucket
|
431
|
+
|
432
|
+
> CloudBucket show_cloud_bucket(cloud_bucket_id)
|
433
|
+
|
434
|
+
Displays a specific cloud bucket.
|
435
|
+
|
436
|
+
**API Key Scope**: cloud_buckets / show
|
437
|
+
|
438
|
+
### Example
|
439
|
+
|
440
|
+
```ruby
|
441
|
+
# load the gem
|
442
|
+
require 'nodeum_sdk'
|
443
|
+
# setup authorization
|
444
|
+
Nodeum.configure do |config|
|
445
|
+
# Configure HTTP basic authorization: BasicAuth
|
446
|
+
config.username = 'YOUR USERNAME'
|
447
|
+
config.password = 'YOUR PASSWORD'
|
448
|
+
|
449
|
+
# Configure API key authorization: BearerAuth
|
450
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
451
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
452
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
453
|
+
end
|
454
|
+
|
455
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
456
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
457
|
+
|
458
|
+
begin
|
459
|
+
#Displays a specific cloud bucket.
|
460
|
+
result = api_instance.show_cloud_bucket(cloud_bucket_id)
|
461
|
+
p result
|
462
|
+
rescue Nodeum::ApiError => e
|
463
|
+
puts "Exception when calling CloudBucketsApi->show_cloud_bucket: #{e}"
|
464
|
+
end
|
465
|
+
```
|
466
|
+
|
467
|
+
### Parameters
|
468
|
+
|
469
|
+
|
470
|
+
Name | Type | Description | Notes
|
471
|
+
------------- | ------------- | ------------- | -------------
|
472
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
473
|
+
|
474
|
+
### Return type
|
475
|
+
|
476
|
+
[**CloudBucket**](CloudBucket.md)
|
477
|
+
|
478
|
+
### Authorization
|
479
|
+
|
480
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
481
|
+
|
482
|
+
### HTTP request headers
|
483
|
+
|
484
|
+
- **Content-Type**: Not defined
|
485
|
+
- **Accept**: application/json
|
486
|
+
|
487
|
+
|
488
|
+
## show_cloud_bucket_by_cloud_connector
|
489
|
+
|
490
|
+
> CloudBucket show_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id)
|
491
|
+
|
492
|
+
Displays a specific cloud bucket.
|
493
|
+
|
494
|
+
**API Key Scope**: cloud_buckets / show
|
495
|
+
|
496
|
+
### Example
|
497
|
+
|
498
|
+
```ruby
|
499
|
+
# load the gem
|
500
|
+
require 'nodeum_sdk'
|
501
|
+
# setup authorization
|
502
|
+
Nodeum.configure do |config|
|
503
|
+
# Configure HTTP basic authorization: BasicAuth
|
504
|
+
config.username = 'YOUR USERNAME'
|
505
|
+
config.password = 'YOUR PASSWORD'
|
506
|
+
|
507
|
+
# Configure API key authorization: BearerAuth
|
508
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
509
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
510
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
511
|
+
end
|
512
|
+
|
513
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
514
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
515
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
516
|
+
|
517
|
+
begin
|
518
|
+
#Displays a specific cloud bucket.
|
519
|
+
result = api_instance.show_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id)
|
520
|
+
p result
|
521
|
+
rescue Nodeum::ApiError => e
|
522
|
+
puts "Exception when calling CloudBucketsApi->show_cloud_bucket_by_cloud_connector: #{e}"
|
523
|
+
end
|
524
|
+
```
|
525
|
+
|
526
|
+
### Parameters
|
527
|
+
|
528
|
+
|
529
|
+
Name | Type | Description | Notes
|
530
|
+
------------- | ------------- | ------------- | -------------
|
531
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
532
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
533
|
+
|
534
|
+
### Return type
|
535
|
+
|
536
|
+
[**CloudBucket**](CloudBucket.md)
|
537
|
+
|
538
|
+
### Authorization
|
539
|
+
|
540
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
541
|
+
|
542
|
+
### HTTP request headers
|
543
|
+
|
544
|
+
- **Content-Type**: Not defined
|
545
|
+
- **Accept**: application/json
|
546
|
+
|
547
|
+
|
548
|
+
## show_cloud_bucket_by_pool
|
549
|
+
|
550
|
+
> CloudBucket show_cloud_bucket_by_pool(pool_id, cloud_bucket_id)
|
551
|
+
|
552
|
+
Displays a specific cloud bucket.
|
553
|
+
|
554
|
+
**API Key Scope**: cloud_buckets / show
|
555
|
+
|
556
|
+
### Example
|
557
|
+
|
558
|
+
```ruby
|
559
|
+
# load the gem
|
560
|
+
require 'nodeum_sdk'
|
561
|
+
# setup authorization
|
562
|
+
Nodeum.configure do |config|
|
563
|
+
# Configure HTTP basic authorization: BasicAuth
|
564
|
+
config.username = 'YOUR USERNAME'
|
565
|
+
config.password = 'YOUR PASSWORD'
|
566
|
+
|
567
|
+
# Configure API key authorization: BearerAuth
|
568
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
569
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
570
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
571
|
+
end
|
572
|
+
|
573
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
574
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
575
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
576
|
+
|
577
|
+
begin
|
578
|
+
#Displays a specific cloud bucket.
|
579
|
+
result = api_instance.show_cloud_bucket_by_pool(pool_id, cloud_bucket_id)
|
580
|
+
p result
|
581
|
+
rescue Nodeum::ApiError => e
|
582
|
+
puts "Exception when calling CloudBucketsApi->show_cloud_bucket_by_pool: #{e}"
|
583
|
+
end
|
584
|
+
```
|
585
|
+
|
586
|
+
### Parameters
|
587
|
+
|
588
|
+
|
589
|
+
Name | Type | Description | Notes
|
590
|
+
------------- | ------------- | ------------- | -------------
|
591
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
592
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
593
|
+
|
594
|
+
### Return type
|
595
|
+
|
596
|
+
[**CloudBucket**](CloudBucket.md)
|
597
|
+
|
598
|
+
### Authorization
|
599
|
+
|
600
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
601
|
+
|
602
|
+
### HTTP request headers
|
603
|
+
|
604
|
+
- **Content-Type**: Not defined
|
605
|
+
- **Accept**: application/json
|
606
|
+
|
607
|
+
|
608
|
+
## sync_cloud_buckets
|
609
|
+
|
610
|
+
> ActiveJobStatus sync_cloud_buckets(cloud_connector_id)
|
611
|
+
|
612
|
+
Synchronize internal cloud buckets with their remote equivalent.
|
613
|
+
|
614
|
+
**API Key Scope**: cloud_buckets / sync
|
615
|
+
|
616
|
+
### Example
|
617
|
+
|
618
|
+
```ruby
|
619
|
+
# load the gem
|
620
|
+
require 'nodeum_sdk'
|
621
|
+
# setup authorization
|
622
|
+
Nodeum.configure do |config|
|
623
|
+
# Configure HTTP basic authorization: BasicAuth
|
624
|
+
config.username = 'YOUR USERNAME'
|
625
|
+
config.password = 'YOUR PASSWORD'
|
626
|
+
|
627
|
+
# Configure API key authorization: BearerAuth
|
628
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
629
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
630
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
631
|
+
end
|
632
|
+
|
633
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
634
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
635
|
+
|
636
|
+
begin
|
637
|
+
#Synchronize internal cloud buckets with their remote equivalent.
|
638
|
+
result = api_instance.sync_cloud_buckets(cloud_connector_id)
|
639
|
+
p result
|
640
|
+
rescue Nodeum::ApiError => e
|
641
|
+
puts "Exception when calling CloudBucketsApi->sync_cloud_buckets: #{e}"
|
642
|
+
end
|
643
|
+
```
|
644
|
+
|
645
|
+
### Parameters
|
646
|
+
|
647
|
+
|
648
|
+
Name | Type | Description | Notes
|
649
|
+
------------- | ------------- | ------------- | -------------
|
650
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
651
|
+
|
652
|
+
### Return type
|
653
|
+
|
654
|
+
[**ActiveJobStatus**](ActiveJobStatus.md)
|
655
|
+
|
656
|
+
### Authorization
|
657
|
+
|
658
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
659
|
+
|
660
|
+
### HTTP request headers
|
661
|
+
|
662
|
+
- **Content-Type**: Not defined
|
663
|
+
- **Accept**: application/json, queued, working, failed
|
664
|
+
|
665
|
+
|
666
|
+
## sync_result_cloud_buckets
|
667
|
+
|
668
|
+
> CloudBucketSimpleCollection sync_result_cloud_buckets(cloud_connector_id, job_id)
|
669
|
+
|
670
|
+
Check result of cloud connector sync job.
|
671
|
+
|
672
|
+
**API Key Scope**: cloud_buckets / sync
|
673
|
+
|
674
|
+
### Example
|
675
|
+
|
676
|
+
```ruby
|
677
|
+
# load the gem
|
678
|
+
require 'nodeum_sdk'
|
679
|
+
# setup authorization
|
680
|
+
Nodeum.configure do |config|
|
681
|
+
# Configure HTTP basic authorization: BasicAuth
|
682
|
+
config.username = 'YOUR USERNAME'
|
683
|
+
config.password = 'YOUR PASSWORD'
|
684
|
+
|
685
|
+
# Configure API key authorization: BearerAuth
|
686
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
687
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
688
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
689
|
+
end
|
690
|
+
|
691
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
692
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
693
|
+
job_id = 'job_id_example' # String | ID of active job
|
694
|
+
|
695
|
+
begin
|
696
|
+
#Check result of cloud connector sync job.
|
697
|
+
result = api_instance.sync_result_cloud_buckets(cloud_connector_id, job_id)
|
698
|
+
p result
|
699
|
+
rescue Nodeum::ApiError => e
|
700
|
+
puts "Exception when calling CloudBucketsApi->sync_result_cloud_buckets: #{e}"
|
701
|
+
end
|
702
|
+
```
|
703
|
+
|
704
|
+
### Parameters
|
705
|
+
|
706
|
+
|
707
|
+
Name | Type | Description | Notes
|
708
|
+
------------- | ------------- | ------------- | -------------
|
709
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
710
|
+
**job_id** | **String**| ID of active job |
|
711
|
+
|
712
|
+
### Return type
|
713
|
+
|
714
|
+
[**CloudBucketSimpleCollection**](CloudBucketSimpleCollection.md)
|
715
|
+
|
716
|
+
### Authorization
|
717
|
+
|
718
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
719
|
+
|
720
|
+
### HTTP request headers
|
721
|
+
|
722
|
+
- **Content-Type**: Not defined
|
723
|
+
- **Accept**: application/json, queued, working, failed,
|
724
|
+
|
725
|
+
|
726
|
+
## update_cloud_bucket
|
727
|
+
|
728
|
+
> CloudBucket update_cloud_bucket(cloud_bucket_id, cloud_bucket_body)
|
729
|
+
|
730
|
+
Updates a specific cloud bucket.
|
731
|
+
|
732
|
+
**API Key Scope**: cloud_buckets / update
|
733
|
+
|
734
|
+
### Example
|
735
|
+
|
736
|
+
```ruby
|
737
|
+
# load the gem
|
738
|
+
require 'nodeum_sdk'
|
739
|
+
# setup authorization
|
740
|
+
Nodeum.configure do |config|
|
741
|
+
# Configure HTTP basic authorization: BasicAuth
|
742
|
+
config.username = 'YOUR USERNAME'
|
743
|
+
config.password = 'YOUR PASSWORD'
|
744
|
+
|
745
|
+
# Configure API key authorization: BearerAuth
|
746
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
747
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
748
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
749
|
+
end
|
750
|
+
|
751
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
752
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
753
|
+
cloud_bucket_body = Nodeum::CloudBucket.new # CloudBucket |
|
754
|
+
|
755
|
+
begin
|
756
|
+
#Updates a specific cloud bucket.
|
757
|
+
result = api_instance.update_cloud_bucket(cloud_bucket_id, cloud_bucket_body)
|
758
|
+
p result
|
759
|
+
rescue Nodeum::ApiError => e
|
760
|
+
puts "Exception when calling CloudBucketsApi->update_cloud_bucket: #{e}"
|
761
|
+
end
|
762
|
+
```
|
763
|
+
|
764
|
+
### Parameters
|
765
|
+
|
766
|
+
|
767
|
+
Name | Type | Description | Notes
|
768
|
+
------------- | ------------- | ------------- | -------------
|
769
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
770
|
+
**cloud_bucket_body** | [**CloudBucket**](CloudBucket.md)| |
|
771
|
+
|
772
|
+
### Return type
|
773
|
+
|
774
|
+
[**CloudBucket**](CloudBucket.md)
|
775
|
+
|
776
|
+
### Authorization
|
777
|
+
|
778
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
779
|
+
|
780
|
+
### HTTP request headers
|
781
|
+
|
782
|
+
- **Content-Type**: application/json
|
783
|
+
- **Accept**: application/json
|
784
|
+
|
785
|
+
|
786
|
+
## update_cloud_bucket_by_cloud_connector
|
787
|
+
|
788
|
+
> CloudBucket update_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id, cloud_bucket_body)
|
789
|
+
|
790
|
+
Updates a specific cloud bucket.
|
791
|
+
|
792
|
+
**API Key Scope**: cloud_buckets / update
|
793
|
+
|
794
|
+
### Example
|
795
|
+
|
796
|
+
```ruby
|
797
|
+
# load the gem
|
798
|
+
require 'nodeum_sdk'
|
799
|
+
# setup authorization
|
800
|
+
Nodeum.configure do |config|
|
801
|
+
# Configure HTTP basic authorization: BasicAuth
|
802
|
+
config.username = 'YOUR USERNAME'
|
803
|
+
config.password = 'YOUR PASSWORD'
|
804
|
+
|
805
|
+
# Configure API key authorization: BearerAuth
|
806
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
807
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
808
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
809
|
+
end
|
810
|
+
|
811
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
812
|
+
cloud_connector_id = 'cloud_connector_id_example' # String | Numeric ID or name of cloud connector.
|
813
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
814
|
+
cloud_bucket_body = Nodeum::CloudBucket.new # CloudBucket |
|
815
|
+
|
816
|
+
begin
|
817
|
+
#Updates a specific cloud bucket.
|
818
|
+
result = api_instance.update_cloud_bucket_by_cloud_connector(cloud_connector_id, cloud_bucket_id, cloud_bucket_body)
|
819
|
+
p result
|
820
|
+
rescue Nodeum::ApiError => e
|
821
|
+
puts "Exception when calling CloudBucketsApi->update_cloud_bucket_by_cloud_connector: #{e}"
|
822
|
+
end
|
823
|
+
```
|
824
|
+
|
825
|
+
### Parameters
|
826
|
+
|
827
|
+
|
828
|
+
Name | Type | Description | Notes
|
829
|
+
------------- | ------------- | ------------- | -------------
|
830
|
+
**cloud_connector_id** | **String**| Numeric ID or name of cloud connector. |
|
831
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
832
|
+
**cloud_bucket_body** | [**CloudBucket**](CloudBucket.md)| |
|
833
|
+
|
834
|
+
### Return type
|
835
|
+
|
836
|
+
[**CloudBucket**](CloudBucket.md)
|
837
|
+
|
838
|
+
### Authorization
|
839
|
+
|
840
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
841
|
+
|
842
|
+
### HTTP request headers
|
843
|
+
|
844
|
+
- **Content-Type**: application/json
|
845
|
+
- **Accept**: application/json
|
846
|
+
|
847
|
+
|
848
|
+
## update_cloud_bucket_by_pool
|
849
|
+
|
850
|
+
> CloudBucket update_cloud_bucket_by_pool(pool_id, cloud_bucket_id, cloud_bucket_body)
|
851
|
+
|
852
|
+
Updates a specific cloud bucket.
|
853
|
+
|
854
|
+
**API Key Scope**: cloud_buckets / update
|
855
|
+
|
856
|
+
### Example
|
857
|
+
|
858
|
+
```ruby
|
859
|
+
# load the gem
|
860
|
+
require 'nodeum_sdk'
|
861
|
+
# setup authorization
|
862
|
+
Nodeum.configure do |config|
|
863
|
+
# Configure HTTP basic authorization: BasicAuth
|
864
|
+
config.username = 'YOUR USERNAME'
|
865
|
+
config.password = 'YOUR PASSWORD'
|
866
|
+
|
867
|
+
# Configure API key authorization: BearerAuth
|
868
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
869
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
870
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
871
|
+
end
|
872
|
+
|
873
|
+
api_instance = Nodeum::CloudBucketsApi.new
|
874
|
+
pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
|
875
|
+
cloud_bucket_id = 'cloud_bucket_id_example' # String | Numeric ID or name of cloud bucket.
|
876
|
+
cloud_bucket_body = Nodeum::CloudBucket.new # CloudBucket |
|
877
|
+
|
878
|
+
begin
|
879
|
+
#Updates a specific cloud bucket.
|
880
|
+
result = api_instance.update_cloud_bucket_by_pool(pool_id, cloud_bucket_id, cloud_bucket_body)
|
881
|
+
p result
|
882
|
+
rescue Nodeum::ApiError => e
|
883
|
+
puts "Exception when calling CloudBucketsApi->update_cloud_bucket_by_pool: #{e}"
|
884
|
+
end
|
885
|
+
```
|
886
|
+
|
887
|
+
### Parameters
|
888
|
+
|
889
|
+
|
890
|
+
Name | Type | Description | Notes
|
891
|
+
------------- | ------------- | ------------- | -------------
|
892
|
+
**pool_id** | **String**| Numeric ID, or name of pool. |
|
893
|
+
**cloud_bucket_id** | **String**| Numeric ID or name of cloud bucket. |
|
894
|
+
**cloud_bucket_body** | [**CloudBucket**](CloudBucket.md)| |
|
895
|
+
|
896
|
+
### Return type
|
897
|
+
|
898
|
+
[**CloudBucket**](CloudBucket.md)
|
899
|
+
|
900
|
+
### Authorization
|
901
|
+
|
902
|
+
[BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
|
903
|
+
|
904
|
+
### HTTP request headers
|
905
|
+
|
906
|
+
- **Content-Type**: application/json
|
907
|
+
- **Accept**: application/json
|
908
|
+
|