nutanix_volumes 0.1.0
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/CHANGELOG.md +11 -0
- data/Gemfile +9 -0
- data/README.md +290 -0
- data/Rakefile +10 -0
- data/docs/AssociateCategory202Response.md +20 -0
- data/docs/AssociateCategory4XXResponse.md +20 -0
- data/docs/AttachIscsiClient202Response.md +20 -0
- data/docs/AttachIscsiClient4XXResponse.md +20 -0
- data/docs/AttachVm202Response.md +20 -0
- data/docs/AttachVm4XXResponse.md +20 -0
- data/docs/CommonV10ConfigEntityReference.md +24 -0
- data/docs/CommonV10ConfigEntityType.md +15 -0
- data/docs/CommonV10ConfigFQDN.md +18 -0
- data/docs/CommonV10ConfigFlag.md +20 -0
- data/docs/CommonV10ConfigIPAddressOrFQDN.md +22 -0
- data/docs/CommonV10ConfigIPv4Address.md +20 -0
- data/docs/CommonV10ConfigIPv6Address.md +20 -0
- data/docs/CommonV10ConfigKVPair.md +20 -0
- data/docs/CommonV10ConfigKVPairValue.md +59 -0
- data/docs/CommonV10ConfigMapOfStringWrapper.md +18 -0
- data/docs/CommonV10ConfigMessage.md +24 -0
- data/docs/CommonV10ConfigMessageSeverity.md +15 -0
- data/docs/CommonV10ConfigMetadata.md +26 -0
- data/docs/CommonV10ConfigTenantAwareModel.md +18 -0
- data/docs/CommonV10ResponseApiLink.md +20 -0
- data/docs/CommonV10ResponseApiResponseMetadata.md +26 -0
- data/docs/CommonV10ResponseExternalizableAbstractModel.md +22 -0
- data/docs/CommonV10StatsDownSamplingOperator.md +15 -0
- data/docs/CreateVolumeDisk202Response.md +20 -0
- data/docs/CreateVolumeDisk4XXResponse.md +20 -0
- data/docs/CreateVolumeGroup202Response.md +20 -0
- data/docs/CreateVolumeGroup4XXResponse.md +20 -0
- data/docs/DeleteVolumeDiskById202Response.md +20 -0
- data/docs/DeleteVolumeDiskById4XXResponse.md +20 -0
- data/docs/DeleteVolumeGroupById202Response.md +20 -0
- data/docs/DeleteVolumeGroupById4XXResponse.md +20 -0
- data/docs/DetachIscsiClient202Response.md +20 -0
- data/docs/DetachIscsiClient4XXResponse.md +20 -0
- data/docs/DetachVm202Response.md +20 -0
- data/docs/DetachVm4XXResponse.md +20 -0
- data/docs/DisassociateCategory202Response.md +20 -0
- data/docs/DisassociateCategory4XXResponse.md +20 -0
- data/docs/GetIscsiClientById200Response.md +20 -0
- data/docs/GetIscsiClientById4XXResponse.md +20 -0
- data/docs/GetVolumeDiskById200Response.md +20 -0
- data/docs/GetVolumeDiskById4XXResponse.md +20 -0
- data/docs/GetVolumeDiskStats200Response.md +20 -0
- data/docs/GetVolumeDiskStats4XXResponse.md +20 -0
- data/docs/GetVolumeGroupById200Response.md +20 -0
- data/docs/GetVolumeGroupById4XXResponse.md +20 -0
- data/docs/GetVolumeGroupMetadataById200Response.md +20 -0
- data/docs/GetVolumeGroupMetadataById4XXResponse.md +20 -0
- data/docs/GetVolumeGroupStats200Response.md +20 -0
- data/docs/GetVolumeGroupStats4XXResponse.md +20 -0
- data/docs/IscsiClientsApi.md +253 -0
- data/docs/ListCategoryAssociationsByVolumeGroupId200Response.md +20 -0
- data/docs/ListCategoryAssociationsByVolumeGroupId4XXResponse.md +20 -0
- data/docs/ListExternalIscsiAttachmentsByVolumeGroupId200Response.md +20 -0
- data/docs/ListExternalIscsiAttachmentsByVolumeGroupId4XXResponse.md +20 -0
- data/docs/ListIscsiClients200Response.md +20 -0
- data/docs/ListIscsiClients4XXResponse.md +20 -0
- data/docs/ListVmAttachmentsByVolumeGroupId200Response.md +20 -0
- data/docs/ListVmAttachmentsByVolumeGroupId4XXResponse.md +20 -0
- data/docs/ListVolumeDisksByVolumeGroupId200Response.md +20 -0
- data/docs/ListVolumeDisksByVolumeGroupId4XXResponse.md +20 -0
- data/docs/ListVolumeGroups200Response.md +20 -0
- data/docs/ListVolumeGroups4XXResponse.md +20 -0
- data/docs/PrismV40ConfigTaskReference.md +18 -0
- data/docs/RevertVolumeGroup202Response.md +20 -0
- data/docs/RevertVolumeGroup4XXResponse.md +20 -0
- data/docs/UpdateIscsiClientById202Response.md +20 -0
- data/docs/UpdateIscsiClientById4XXResponse.md +20 -0
- data/docs/UpdateVolumeDiskById202Response.md +20 -0
- data/docs/UpdateVolumeDiskById4XXResponse.md +20 -0
- data/docs/UpdateVolumeGroupById202Response.md +20 -0
- data/docs/UpdateVolumeGroupById4XXResponse.md +20 -0
- data/docs/VolumeGroupsApi.md +1887 -0
- data/docs/VolumesV40ConfigAssociateCategoryApiResponse.md +20 -0
- data/docs/VolumesV40ConfigAttachIscsiClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigAttachNvmfClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigAttachVmApiResponse.md +20 -0
- data/docs/VolumesV40ConfigAttachmentType.md +15 -0
- data/docs/VolumesV40ConfigAuthenticationType.md +15 -0
- data/docs/VolumesV40ConfigCategoryDetails.md +24 -0
- data/docs/VolumesV40ConfigCategoryEntityReferences.md +18 -0
- data/docs/VolumesV40ConfigCluster.md +20 -0
- data/docs/VolumesV40ConfigCreateVolumeDiskApiResponse.md +20 -0
- data/docs/VolumesV40ConfigCreateVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDeleteVolumeDiskApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDeleteVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDetachIscsiClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDetachNvmfClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDetachVmApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDisassociateCategoryApiResponse.md +20 -0
- data/docs/VolumesV40ConfigDiskStorageFeatures.md +18 -0
- data/docs/VolumesV40ConfigFlashMode.md +18 -0
- data/docs/VolumesV40ConfigGetIscsiClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigGetIscsiClientApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigGetVolumeDiskApiResponse.md +20 -0
- data/docs/VolumesV40ConfigGetVolumeDiskApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigGetVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigGetVolumeGroupApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigGetVolumeGroupMetadataApiResponse.md +20 -0
- data/docs/VolumesV40ConfigGetVolumeGroupMetadataApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigIscsiClient.md +38 -0
- data/docs/VolumesV40ConfigIscsiClientAttachment.md +20 -0
- data/docs/VolumesV40ConfigIscsiFeatures.md +20 -0
- data/docs/VolumesV40ConfigListCategoryAssociationsApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListCategoryAssociationsApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigListExternalIscsiAttachmentsApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListExternalIscsiAttachmentsApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigListIscsiClientsApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListIscsiClientsApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigListVmAttachmentsApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListVmAttachmentsApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigListVolumeDisksApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListVolumeDisksApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigListVolumeGroupsApiResponse.md +20 -0
- data/docs/VolumesV40ConfigListVolumeGroupsApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigMigrateVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigNvmfClient.md +28 -0
- data/docs/VolumesV40ConfigNvmfClientAttachment.md +24 -0
- data/docs/VolumesV40ConfigPauseVolumeGroupSynchronousReplicationApiResponse.md +20 -0
- data/docs/VolumesV40ConfigProtocol.md +15 -0
- data/docs/VolumesV40ConfigResumeVolumeGroupSynchronousReplicationApiResponse.md +20 -0
- data/docs/VolumesV40ConfigResumeVolumeGroupSynchronousReplicationApiResponseData.md +47 -0
- data/docs/VolumesV40ConfigRevertSpec.md +18 -0
- data/docs/VolumesV40ConfigRevertVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigSharingStatus.md +15 -0
- data/docs/VolumesV40ConfigStorageFeatures.md +18 -0
- data/docs/VolumesV40ConfigTargetParam.md +20 -0
- data/docs/VolumesV40ConfigUpdateIscsiClientApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateIscsiClientApiResponseData.md +49 -0
- data/docs/VolumesV40ConfigUpdateIscsiClientByIdApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeDiskApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeDiskByIdApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeGroupApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeGroupByIdApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeGroupMetadataApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUpdateVolumeGroupMetadataInfoApiResponse.md +20 -0
- data/docs/VolumesV40ConfigUsageType.md +15 -0
- data/docs/VolumesV40ConfigVmAttachment.md +20 -0
- data/docs/VolumesV40ConfigVolumeDisk.md +34 -0
- data/docs/VolumesV40ConfigVolumeGroup.md +54 -0
- data/docs/VolumesV40ConfigVolumeGroupAttachmentSite.md +15 -0
- data/docs/VolumesV40ConfigVolumeGroupMetadata.md +20 -0
- data/docs/VolumesV40ErrorAppMessage.md +28 -0
- data/docs/VolumesV40ErrorErrorResponse.md +18 -0
- data/docs/VolumesV40ErrorErrorResponseError.md +49 -0
- data/docs/VolumesV40ErrorMessageSeverity.md +15 -0
- data/docs/VolumesV40ErrorSchemaValidationError.md +26 -0
- data/docs/VolumesV40ErrorSchemaValidationErrorMessage.md +22 -0
- data/docs/VolumesV40StatsGetVolumeDiskStatsApiResponse.md +20 -0
- data/docs/VolumesV40StatsGetVolumeDiskStatsApiResponseData.md +49 -0
- data/docs/VolumesV40StatsGetVolumeGroupStatsApiResponse.md +20 -0
- data/docs/VolumesV40StatsGetVolumeGroupStatsApiResponseData.md +49 -0
- data/docs/VolumesV40StatsTimeValuePair.md +20 -0
- data/docs/VolumesV40StatsVolumeDiskStats.md +44 -0
- data/docs/VolumesV40StatsVolumeGroupStats.md +44 -0
- data/git_push.sh +57 -0
- data/lib/nutanix_volumes/api/iscsi_clients_api.rb +270 -0
- data/lib/nutanix_volumes/api/volume_groups_api.rb +2003 -0
- data/lib/nutanix_volumes/api_client.rb +394 -0
- data/lib/nutanix_volumes/api_error.rb +58 -0
- data/lib/nutanix_volumes/configuration.rb +315 -0
- data/lib/nutanix_volumes/models/associate_category202_response.rb +224 -0
- data/lib/nutanix_volumes/models/associate_category4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/attach_iscsi_client202_response.rb +224 -0
- data/lib/nutanix_volumes/models/attach_iscsi_client4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/attach_vm202_response.rb +224 -0
- data/lib/nutanix_volumes/models/attach_vm4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/common_v10_config_entity_reference.rb +336 -0
- data/lib/nutanix_volumes/models/common_v10_config_entity_type.rb +68 -0
- data/lib/nutanix_volumes/models/common_v10_config_flag.rb +256 -0
- data/lib/nutanix_volumes/models/common_v10_config_fqdn.rb +237 -0
- data/lib/nutanix_volumes/models/common_v10_config_ip_address_or_fqdn.rb +233 -0
- data/lib/nutanix_volumes/models/common_v10_config_ipv4_address.rb +284 -0
- data/lib/nutanix_volumes/models/common_v10_config_ipv6_address.rb +284 -0
- data/lib/nutanix_volumes/models/common_v10_config_kv_pair.rb +253 -0
- data/lib/nutanix_volumes/models/common_v10_config_kv_pair_value.rb +111 -0
- data/lib/nutanix_volumes/models/common_v10_config_map_of_string_wrapper.rb +218 -0
- data/lib/nutanix_volumes/models/common_v10_config_message.rb +268 -0
- data/lib/nutanix_volumes/models/common_v10_config_message_severity.rb +43 -0
- data/lib/nutanix_volumes/models/common_v10_config_metadata.rb +366 -0
- data/lib/nutanix_volumes/models/common_v10_config_tenant_aware_model.rb +237 -0
- data/lib/nutanix_volumes/models/common_v10_response_api_link.rb +226 -0
- data/lib/nutanix_volumes/models/common_v10_response_api_response_metadata.rb +376 -0
- data/lib/nutanix_volumes/models/common_v10_response_externalizable_abstract_model.rb +312 -0
- data/lib/nutanix_volumes/models/common_v10_stats_down_sampling_operator.rb +46 -0
- data/lib/nutanix_volumes/models/create_volume_disk202_response.rb +224 -0
- data/lib/nutanix_volumes/models/create_volume_disk4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/create_volume_group202_response.rb +224 -0
- data/lib/nutanix_volumes/models/create_volume_group4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/delete_volume_disk_by_id202_response.rb +224 -0
- data/lib/nutanix_volumes/models/delete_volume_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/delete_volume_group_by_id202_response.rb +224 -0
- data/lib/nutanix_volumes/models/delete_volume_group_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/detach_iscsi_client202_response.rb +224 -0
- data/lib/nutanix_volumes/models/detach_iscsi_client4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/detach_vm202_response.rb +224 -0
- data/lib/nutanix_volumes/models/detach_vm4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/disassociate_category202_response.rb +224 -0
- data/lib/nutanix_volumes/models/disassociate_category4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_iscsi_client_by_id200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_iscsi_client_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_disk_by_id200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_disk_stats200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_disk_stats4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_by_id200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_metadata_by_id200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_metadata_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_stats200_response.rb +224 -0
- data/lib/nutanix_volumes/models/get_volume_group_stats4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_category_associations_by_volume_group_id200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_category_associations_by_volume_group_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_external_iscsi_attachments_by_volume_group_id200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_iscsi_clients200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_iscsi_clients4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_vm_attachments_by_volume_group_id200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_vm_attachments_by_volume_group_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_volume_disks_by_volume_group_id200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_volume_disks_by_volume_group_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/list_volume_groups200_response.rb +226 -0
- data/lib/nutanix_volumes/models/list_volume_groups4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/prism_v40_config_task_reference.rb +237 -0
- data/lib/nutanix_volumes/models/revert_volume_group202_response.rb +224 -0
- data/lib/nutanix_volumes/models/revert_volume_group4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_iscsi_client_by_id202_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_iscsi_client_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_volume_disk_by_id202_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_volume_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_volume_group_by_id202_response.rb +224 -0
- data/lib/nutanix_volumes/models/update_volume_group_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_associate_category_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_attach_iscsi_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_attach_nvmf_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_attach_vm_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_attachment_type.rb +43 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_authentication_type.rb +42 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_category_details.rb +344 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_category_entity_references.rb +246 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_cluster.rb +265 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_create_volume_disk_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_create_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_delete_volume_disk_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_delete_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_detach_iscsi_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_detach_nvmf_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_detach_vm_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_disassociate_category_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_disk_storage_features.rb +215 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_flash_mode.rb +218 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_iscsi_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_iscsi_client_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_disk_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_disk_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_group_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_group_metadata_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_get_volume_group_metadata_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_iscsi_client.rb +508 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_iscsi_client_attachment.rb +268 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_iscsi_features.rb +275 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_category_associations_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_category_associations_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_external_iscsi_attachments_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_iscsi_clients_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_iscsi_clients_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_vm_attachments_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_vm_attachments_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_volume_disks_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_volume_disks_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_volume_groups_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_list_volume_groups_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_migrate_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_nvmf_client.rb +412 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_nvmf_client_attachment.rb +343 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_protocol.rb +43 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_data.rb +104 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_revert_spec.rb +244 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_revert_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_sharing_status.rb +42 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_storage_features.rb +215 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_target_param.rb +273 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_iscsi_client_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_iscsi_client_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_iscsi_client_by_id_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_disk_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_disk_by_id_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_group_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_group_by_id_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_group_metadata_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_update_volume_group_metadata_info_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_usage_type.rb +44 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_vm_attachment.rb +254 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_volume_disk.rb +466 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_volume_group.rb +657 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_volume_group_attachment_site.rb +42 -0
- data/lib/nutanix_volumes/models/volumes_v40_config_volume_group_metadata.rb +255 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_app_message.rb +291 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_error_response.rb +215 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_error_response_error.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_message_severity.rb +43 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_schema_validation_error.rb +258 -0
- data/lib/nutanix_volumes/models/volumes_v40_error_schema_validation_error_message.rb +236 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_get_volume_disk_stats_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_get_volume_disk_stats_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_get_volume_group_stats_api_response.rb +224 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_get_volume_group_stats_api_response_data.rb +105 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_time_value_pair.rb +225 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_volume_disk_stats.rb +743 -0
- data/lib/nutanix_volumes/models/volumes_v40_stats_volume_group_stats.rb +743 -0
- data/lib/nutanix_volumes/version.rb +15 -0
- data/lib/nutanix_volumes.rb +194 -0
- data/nutanix_volumes.gemspec +39 -0
- data/spec/api/iscsi_clients_api_spec.rb +79 -0
- data/spec/api/volume_groups_api_spec.rb +370 -0
- data/spec/models/associate_category202_response_spec.rb +42 -0
- data/spec/models/associate_category4_xx_response_spec.rb +42 -0
- data/spec/models/attach_iscsi_client202_response_spec.rb +42 -0
- data/spec/models/attach_iscsi_client4_xx_response_spec.rb +42 -0
- data/spec/models/attach_vm202_response_spec.rb +42 -0
- data/spec/models/attach_vm4_xx_response_spec.rb +42 -0
- data/spec/models/common_v10_config_entity_reference_spec.rb +54 -0
- data/spec/models/common_v10_config_entity_type_spec.rb +30 -0
- data/spec/models/common_v10_config_flag_spec.rb +42 -0
- data/spec/models/common_v10_config_fqdn_spec.rb +36 -0
- data/spec/models/common_v10_config_ip_address_or_fqdn_spec.rb +48 -0
- data/spec/models/common_v10_config_ipv4_address_spec.rb +42 -0
- data/spec/models/common_v10_config_ipv6_address_spec.rb +42 -0
- data/spec/models/common_v10_config_kv_pair_spec.rb +42 -0
- data/spec/models/common_v10_config_kv_pair_value_spec.rb +32 -0
- data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +36 -0
- data/spec/models/common_v10_config_message_severity_spec.rb +30 -0
- data/spec/models/common_v10_config_message_spec.rb +54 -0
- data/spec/models/common_v10_config_metadata_spec.rb +60 -0
- data/spec/models/common_v10_config_tenant_aware_model_spec.rb +36 -0
- data/spec/models/common_v10_response_api_link_spec.rb +42 -0
- data/spec/models/common_v10_response_api_response_metadata_spec.rb +60 -0
- data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +48 -0
- data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +30 -0
- data/spec/models/create_volume_disk202_response_spec.rb +42 -0
- data/spec/models/create_volume_disk4_xx_response_spec.rb +42 -0
- data/spec/models/create_volume_group202_response_spec.rb +42 -0
- data/spec/models/create_volume_group4_xx_response_spec.rb +42 -0
- data/spec/models/delete_volume_disk_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_volume_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_volume_group_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_volume_group_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/detach_iscsi_client202_response_spec.rb +42 -0
- data/spec/models/detach_iscsi_client4_xx_response_spec.rb +42 -0
- data/spec/models/detach_vm202_response_spec.rb +42 -0
- data/spec/models/detach_vm4_xx_response_spec.rb +42 -0
- data/spec/models/disassociate_category202_response_spec.rb +42 -0
- data/spec/models/disassociate_category4_xx_response_spec.rb +42 -0
- data/spec/models/get_iscsi_client_by_id200_response_spec.rb +42 -0
- data/spec/models/get_iscsi_client_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_volume_disk_by_id200_response_spec.rb +42 -0
- data/spec/models/get_volume_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_volume_disk_stats200_response_spec.rb +42 -0
- data/spec/models/get_volume_disk_stats4_xx_response_spec.rb +42 -0
- data/spec/models/get_volume_group_by_id200_response_spec.rb +42 -0
- data/spec/models/get_volume_group_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_volume_group_metadata_by_id200_response_spec.rb +42 -0
- data/spec/models/get_volume_group_metadata_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_volume_group_stats200_response_spec.rb +42 -0
- data/spec/models/get_volume_group_stats4_xx_response_spec.rb +42 -0
- data/spec/models/list_category_associations_by_volume_group_id200_response_spec.rb +42 -0
- data/spec/models/list_category_associations_by_volume_group_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_external_iscsi_attachments_by_volume_group_id200_response_spec.rb +42 -0
- data/spec/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_iscsi_clients200_response_spec.rb +42 -0
- data/spec/models/list_iscsi_clients4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_attachments_by_volume_group_id200_response_spec.rb +42 -0
- data/spec/models/list_vm_attachments_by_volume_group_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_volume_disks_by_volume_group_id200_response_spec.rb +42 -0
- data/spec/models/list_volume_disks_by_volume_group_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_volume_groups200_response_spec.rb +42 -0
- data/spec/models/list_volume_groups4_xx_response_spec.rb +42 -0
- data/spec/models/prism_v40_config_task_reference_spec.rb +36 -0
- data/spec/models/revert_volume_group202_response_spec.rb +42 -0
- data/spec/models/revert_volume_group4_xx_response_spec.rb +42 -0
- data/spec/models/update_iscsi_client_by_id202_response_spec.rb +42 -0
- data/spec/models/update_iscsi_client_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_volume_disk_by_id202_response_spec.rb +42 -0
- data/spec/models/update_volume_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_volume_group_by_id202_response_spec.rb +42 -0
- data/spec/models/update_volume_group_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_associate_category_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_attach_iscsi_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_attach_nvmf_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_attach_vm_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_attachment_type_spec.rb +30 -0
- data/spec/models/volumes_v40_config_authentication_type_spec.rb +30 -0
- data/spec/models/volumes_v40_config_category_details_spec.rb +54 -0
- data/spec/models/volumes_v40_config_category_entity_references_spec.rb +36 -0
- data/spec/models/volumes_v40_config_cluster_spec.rb +42 -0
- data/spec/models/volumes_v40_config_create_volume_disk_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_create_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_delete_volume_disk_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_delete_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_detach_iscsi_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_detach_nvmf_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_detach_vm_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_disassociate_category_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_disk_storage_features_spec.rb +36 -0
- data/spec/models/volumes_v40_config_flash_mode_spec.rb +36 -0
- data/spec/models/volumes_v40_config_get_iscsi_client_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_get_iscsi_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_get_volume_disk_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_get_volume_disk_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_get_volume_group_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_get_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_iscsi_client_attachment_spec.rb +42 -0
- data/spec/models/volumes_v40_config_iscsi_client_spec.rb +96 -0
- data/spec/models/volumes_v40_config_iscsi_features_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_category_associations_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_category_associations_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_vm_attachments_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_vm_attachments_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_volume_disks_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_volume_disks_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_list_volume_groups_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_list_volume_groups_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_migrate_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_nvmf_client_attachment_spec.rb +54 -0
- data/spec/models/volumes_v40_config_nvmf_client_spec.rb +66 -0
- data/spec/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_protocol_spec.rb +30 -0
- data/spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_revert_spec_spec.rb +36 -0
- data/spec/models/volumes_v40_config_revert_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_sharing_status_spec.rb +30 -0
- data/spec/models/volumes_v40_config_storage_features_spec.rb +36 -0
- data/spec/models/volumes_v40_config_target_param_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_iscsi_client_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_config_update_iscsi_client_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_iscsi_client_by_id_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_disk_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_disk_by_id_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_group_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_group_by_id_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_group_metadata_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_update_volume_group_metadata_info_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_config_usage_type_spec.rb +30 -0
- data/spec/models/volumes_v40_config_vm_attachment_spec.rb +42 -0
- data/spec/models/volumes_v40_config_volume_disk_spec.rb +84 -0
- data/spec/models/volumes_v40_config_volume_group_attachment_site_spec.rb +30 -0
- data/spec/models/volumes_v40_config_volume_group_metadata_spec.rb +42 -0
- data/spec/models/volumes_v40_config_volume_group_spec.rb +144 -0
- data/spec/models/volumes_v40_error_app_message_spec.rb +66 -0
- data/spec/models/volumes_v40_error_error_response_error_spec.rb +32 -0
- data/spec/models/volumes_v40_error_error_response_spec.rb +36 -0
- data/spec/models/volumes_v40_error_message_severity_spec.rb +30 -0
- data/spec/models/volumes_v40_error_schema_validation_error_message_spec.rb +48 -0
- data/spec/models/volumes_v40_error_schema_validation_error_spec.rb +60 -0
- data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_data_spec.rb +32 -0
- data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_spec.rb +42 -0
- data/spec/models/volumes_v40_stats_time_value_pair_spec.rb +42 -0
- data/spec/models/volumes_v40_stats_volume_disk_stats_spec.rb +114 -0
- data/spec/models/volumes_v40_stats_volume_group_stats_spec.rb +114 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger-volumes-v4.0-all.yaml +8140 -0
- metadata +714 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Nutanix Volumes APIs
|
|
3
|
+
|
|
4
|
+
#Configure volumes.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 4.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.9.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
# Common files
|
|
14
|
+
require 'nutanix_volumes/api_client'
|
|
15
|
+
require 'nutanix_volumes/api_error'
|
|
16
|
+
require 'nutanix_volumes/version'
|
|
17
|
+
require 'nutanix_volumes/configuration'
|
|
18
|
+
|
|
19
|
+
# Models
|
|
20
|
+
NutanixVolumes.autoload :AssociateCategory202Response, 'nutanix_volumes/models/associate_category202_response'
|
|
21
|
+
NutanixVolumes.autoload :AssociateCategory4XXResponse, 'nutanix_volumes/models/associate_category4_xx_response'
|
|
22
|
+
NutanixVolumes.autoload :AttachIscsiClient202Response, 'nutanix_volumes/models/attach_iscsi_client202_response'
|
|
23
|
+
NutanixVolumes.autoload :AttachIscsiClient4XXResponse, 'nutanix_volumes/models/attach_iscsi_client4_xx_response'
|
|
24
|
+
NutanixVolumes.autoload :AttachVm202Response, 'nutanix_volumes/models/attach_vm202_response'
|
|
25
|
+
NutanixVolumes.autoload :AttachVm4XXResponse, 'nutanix_volumes/models/attach_vm4_xx_response'
|
|
26
|
+
NutanixVolumes.autoload :CommonV10ConfigEntityReference, 'nutanix_volumes/models/common_v10_config_entity_reference'
|
|
27
|
+
NutanixVolumes.autoload :CommonV10ConfigEntityType, 'nutanix_volumes/models/common_v10_config_entity_type'
|
|
28
|
+
NutanixVolumes.autoload :CommonV10ConfigFQDN, 'nutanix_volumes/models/common_v10_config_fqdn'
|
|
29
|
+
NutanixVolumes.autoload :CommonV10ConfigFlag, 'nutanix_volumes/models/common_v10_config_flag'
|
|
30
|
+
NutanixVolumes.autoload :CommonV10ConfigIPAddressOrFQDN, 'nutanix_volumes/models/common_v10_config_ip_address_or_fqdn'
|
|
31
|
+
NutanixVolumes.autoload :CommonV10ConfigIPv4Address, 'nutanix_volumes/models/common_v10_config_ipv4_address'
|
|
32
|
+
NutanixVolumes.autoload :CommonV10ConfigIPv6Address, 'nutanix_volumes/models/common_v10_config_ipv6_address'
|
|
33
|
+
NutanixVolumes.autoload :CommonV10ConfigKVPair, 'nutanix_volumes/models/common_v10_config_kv_pair'
|
|
34
|
+
NutanixVolumes.autoload :CommonV10ConfigKVPairValue, 'nutanix_volumes/models/common_v10_config_kv_pair_value'
|
|
35
|
+
NutanixVolumes.autoload :CommonV10ConfigMapOfStringWrapper, 'nutanix_volumes/models/common_v10_config_map_of_string_wrapper'
|
|
36
|
+
NutanixVolumes.autoload :CommonV10ConfigMessage, 'nutanix_volumes/models/common_v10_config_message'
|
|
37
|
+
NutanixVolumes.autoload :CommonV10ConfigMessageSeverity, 'nutanix_volumes/models/common_v10_config_message_severity'
|
|
38
|
+
NutanixVolumes.autoload :CommonV10ConfigMetadata, 'nutanix_volumes/models/common_v10_config_metadata'
|
|
39
|
+
NutanixVolumes.autoload :CommonV10ConfigTenantAwareModel, 'nutanix_volumes/models/common_v10_config_tenant_aware_model'
|
|
40
|
+
NutanixVolumes.autoload :CommonV10ResponseApiLink, 'nutanix_volumes/models/common_v10_response_api_link'
|
|
41
|
+
NutanixVolumes.autoload :CommonV10ResponseApiResponseMetadata, 'nutanix_volumes/models/common_v10_response_api_response_metadata'
|
|
42
|
+
NutanixVolumes.autoload :CommonV10ResponseExternalizableAbstractModel, 'nutanix_volumes/models/common_v10_response_externalizable_abstract_model'
|
|
43
|
+
NutanixVolumes.autoload :CommonV10StatsDownSamplingOperator, 'nutanix_volumes/models/common_v10_stats_down_sampling_operator'
|
|
44
|
+
NutanixVolumes.autoload :CreateVolumeDisk202Response, 'nutanix_volumes/models/create_volume_disk202_response'
|
|
45
|
+
NutanixVolumes.autoload :CreateVolumeDisk4XXResponse, 'nutanix_volumes/models/create_volume_disk4_xx_response'
|
|
46
|
+
NutanixVolumes.autoload :CreateVolumeGroup202Response, 'nutanix_volumes/models/create_volume_group202_response'
|
|
47
|
+
NutanixVolumes.autoload :CreateVolumeGroup4XXResponse, 'nutanix_volumes/models/create_volume_group4_xx_response'
|
|
48
|
+
NutanixVolumes.autoload :DeleteVolumeDiskById202Response, 'nutanix_volumes/models/delete_volume_disk_by_id202_response'
|
|
49
|
+
NutanixVolumes.autoload :DeleteVolumeDiskById4XXResponse, 'nutanix_volumes/models/delete_volume_disk_by_id4_xx_response'
|
|
50
|
+
NutanixVolumes.autoload :DeleteVolumeGroupById202Response, 'nutanix_volumes/models/delete_volume_group_by_id202_response'
|
|
51
|
+
NutanixVolumes.autoload :DeleteVolumeGroupById4XXResponse, 'nutanix_volumes/models/delete_volume_group_by_id4_xx_response'
|
|
52
|
+
NutanixVolumes.autoload :DetachIscsiClient202Response, 'nutanix_volumes/models/detach_iscsi_client202_response'
|
|
53
|
+
NutanixVolumes.autoload :DetachIscsiClient4XXResponse, 'nutanix_volumes/models/detach_iscsi_client4_xx_response'
|
|
54
|
+
NutanixVolumes.autoload :DetachVm202Response, 'nutanix_volumes/models/detach_vm202_response'
|
|
55
|
+
NutanixVolumes.autoload :DetachVm4XXResponse, 'nutanix_volumes/models/detach_vm4_xx_response'
|
|
56
|
+
NutanixVolumes.autoload :DisassociateCategory202Response, 'nutanix_volumes/models/disassociate_category202_response'
|
|
57
|
+
NutanixVolumes.autoload :DisassociateCategory4XXResponse, 'nutanix_volumes/models/disassociate_category4_xx_response'
|
|
58
|
+
NutanixVolumes.autoload :GetIscsiClientById200Response, 'nutanix_volumes/models/get_iscsi_client_by_id200_response'
|
|
59
|
+
NutanixVolumes.autoload :GetIscsiClientById4XXResponse, 'nutanix_volumes/models/get_iscsi_client_by_id4_xx_response'
|
|
60
|
+
NutanixVolumes.autoload :GetVolumeDiskById200Response, 'nutanix_volumes/models/get_volume_disk_by_id200_response'
|
|
61
|
+
NutanixVolumes.autoload :GetVolumeDiskById4XXResponse, 'nutanix_volumes/models/get_volume_disk_by_id4_xx_response'
|
|
62
|
+
NutanixVolumes.autoload :GetVolumeDiskStats200Response, 'nutanix_volumes/models/get_volume_disk_stats200_response'
|
|
63
|
+
NutanixVolumes.autoload :GetVolumeDiskStats4XXResponse, 'nutanix_volumes/models/get_volume_disk_stats4_xx_response'
|
|
64
|
+
NutanixVolumes.autoload :GetVolumeGroupById200Response, 'nutanix_volumes/models/get_volume_group_by_id200_response'
|
|
65
|
+
NutanixVolumes.autoload :GetVolumeGroupById4XXResponse, 'nutanix_volumes/models/get_volume_group_by_id4_xx_response'
|
|
66
|
+
NutanixVolumes.autoload :GetVolumeGroupMetadataById200Response, 'nutanix_volumes/models/get_volume_group_metadata_by_id200_response'
|
|
67
|
+
NutanixVolumes.autoload :GetVolumeGroupMetadataById4XXResponse, 'nutanix_volumes/models/get_volume_group_metadata_by_id4_xx_response'
|
|
68
|
+
NutanixVolumes.autoload :GetVolumeGroupStats200Response, 'nutanix_volumes/models/get_volume_group_stats200_response'
|
|
69
|
+
NutanixVolumes.autoload :GetVolumeGroupStats4XXResponse, 'nutanix_volumes/models/get_volume_group_stats4_xx_response'
|
|
70
|
+
NutanixVolumes.autoload :ListCategoryAssociationsByVolumeGroupId200Response, 'nutanix_volumes/models/list_category_associations_by_volume_group_id200_response'
|
|
71
|
+
NutanixVolumes.autoload :ListCategoryAssociationsByVolumeGroupId4XXResponse, 'nutanix_volumes/models/list_category_associations_by_volume_group_id4_xx_response'
|
|
72
|
+
NutanixVolumes.autoload :ListExternalIscsiAttachmentsByVolumeGroupId200Response, 'nutanix_volumes/models/list_external_iscsi_attachments_by_volume_group_id200_response'
|
|
73
|
+
NutanixVolumes.autoload :ListExternalIscsiAttachmentsByVolumeGroupId4XXResponse, 'nutanix_volumes/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response'
|
|
74
|
+
NutanixVolumes.autoload :ListIscsiClients200Response, 'nutanix_volumes/models/list_iscsi_clients200_response'
|
|
75
|
+
NutanixVolumes.autoload :ListIscsiClients4XXResponse, 'nutanix_volumes/models/list_iscsi_clients4_xx_response'
|
|
76
|
+
NutanixVolumes.autoload :ListVmAttachmentsByVolumeGroupId200Response, 'nutanix_volumes/models/list_vm_attachments_by_volume_group_id200_response'
|
|
77
|
+
NutanixVolumes.autoload :ListVmAttachmentsByVolumeGroupId4XXResponse, 'nutanix_volumes/models/list_vm_attachments_by_volume_group_id4_xx_response'
|
|
78
|
+
NutanixVolumes.autoload :ListVolumeDisksByVolumeGroupId200Response, 'nutanix_volumes/models/list_volume_disks_by_volume_group_id200_response'
|
|
79
|
+
NutanixVolumes.autoload :ListVolumeDisksByVolumeGroupId4XXResponse, 'nutanix_volumes/models/list_volume_disks_by_volume_group_id4_xx_response'
|
|
80
|
+
NutanixVolumes.autoload :ListVolumeGroups200Response, 'nutanix_volumes/models/list_volume_groups200_response'
|
|
81
|
+
NutanixVolumes.autoload :ListVolumeGroups4XXResponse, 'nutanix_volumes/models/list_volume_groups4_xx_response'
|
|
82
|
+
NutanixVolumes.autoload :PrismV40ConfigTaskReference, 'nutanix_volumes/models/prism_v40_config_task_reference'
|
|
83
|
+
NutanixVolumes.autoload :RevertVolumeGroup202Response, 'nutanix_volumes/models/revert_volume_group202_response'
|
|
84
|
+
NutanixVolumes.autoload :RevertVolumeGroup4XXResponse, 'nutanix_volumes/models/revert_volume_group4_xx_response'
|
|
85
|
+
NutanixVolumes.autoload :UpdateIscsiClientById202Response, 'nutanix_volumes/models/update_iscsi_client_by_id202_response'
|
|
86
|
+
NutanixVolumes.autoload :UpdateIscsiClientById4XXResponse, 'nutanix_volumes/models/update_iscsi_client_by_id4_xx_response'
|
|
87
|
+
NutanixVolumes.autoload :UpdateVolumeDiskById202Response, 'nutanix_volumes/models/update_volume_disk_by_id202_response'
|
|
88
|
+
NutanixVolumes.autoload :UpdateVolumeDiskById4XXResponse, 'nutanix_volumes/models/update_volume_disk_by_id4_xx_response'
|
|
89
|
+
NutanixVolumes.autoload :UpdateVolumeGroupById202Response, 'nutanix_volumes/models/update_volume_group_by_id202_response'
|
|
90
|
+
NutanixVolumes.autoload :UpdateVolumeGroupById4XXResponse, 'nutanix_volumes/models/update_volume_group_by_id4_xx_response'
|
|
91
|
+
NutanixVolumes.autoload :VolumesV40ConfigAssociateCategoryApiResponse, 'nutanix_volumes/models/volumes_v40_config_associate_category_api_response'
|
|
92
|
+
NutanixVolumes.autoload :VolumesV40ConfigAttachIscsiClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_attach_iscsi_client_api_response'
|
|
93
|
+
NutanixVolumes.autoload :VolumesV40ConfigAttachNvmfClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_attach_nvmf_client_api_response'
|
|
94
|
+
NutanixVolumes.autoload :VolumesV40ConfigAttachVmApiResponse, 'nutanix_volumes/models/volumes_v40_config_attach_vm_api_response'
|
|
95
|
+
NutanixVolumes.autoload :VolumesV40ConfigAttachmentType, 'nutanix_volumes/models/volumes_v40_config_attachment_type'
|
|
96
|
+
NutanixVolumes.autoload :VolumesV40ConfigAuthenticationType, 'nutanix_volumes/models/volumes_v40_config_authentication_type'
|
|
97
|
+
NutanixVolumes.autoload :VolumesV40ConfigCategoryDetails, 'nutanix_volumes/models/volumes_v40_config_category_details'
|
|
98
|
+
NutanixVolumes.autoload :VolumesV40ConfigCategoryEntityReferences, 'nutanix_volumes/models/volumes_v40_config_category_entity_references'
|
|
99
|
+
NutanixVolumes.autoload :VolumesV40ConfigCluster, 'nutanix_volumes/models/volumes_v40_config_cluster'
|
|
100
|
+
NutanixVolumes.autoload :VolumesV40ConfigCreateVolumeDiskApiResponse, 'nutanix_volumes/models/volumes_v40_config_create_volume_disk_api_response'
|
|
101
|
+
NutanixVolumes.autoload :VolumesV40ConfigCreateVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_create_volume_group_api_response'
|
|
102
|
+
NutanixVolumes.autoload :VolumesV40ConfigDeleteVolumeDiskApiResponse, 'nutanix_volumes/models/volumes_v40_config_delete_volume_disk_api_response'
|
|
103
|
+
NutanixVolumes.autoload :VolumesV40ConfigDeleteVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_delete_volume_group_api_response'
|
|
104
|
+
NutanixVolumes.autoload :VolumesV40ConfigDetachIscsiClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_detach_iscsi_client_api_response'
|
|
105
|
+
NutanixVolumes.autoload :VolumesV40ConfigDetachNvmfClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_detach_nvmf_client_api_response'
|
|
106
|
+
NutanixVolumes.autoload :VolumesV40ConfigDetachVmApiResponse, 'nutanix_volumes/models/volumes_v40_config_detach_vm_api_response'
|
|
107
|
+
NutanixVolumes.autoload :VolumesV40ConfigDisassociateCategoryApiResponse, 'nutanix_volumes/models/volumes_v40_config_disassociate_category_api_response'
|
|
108
|
+
NutanixVolumes.autoload :VolumesV40ConfigDiskStorageFeatures, 'nutanix_volumes/models/volumes_v40_config_disk_storage_features'
|
|
109
|
+
NutanixVolumes.autoload :VolumesV40ConfigFlashMode, 'nutanix_volumes/models/volumes_v40_config_flash_mode'
|
|
110
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetIscsiClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_get_iscsi_client_api_response'
|
|
111
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetIscsiClientApiResponseData, 'nutanix_volumes/models/volumes_v40_config_get_iscsi_client_api_response_data'
|
|
112
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeDiskApiResponse, 'nutanix_volumes/models/volumes_v40_config_get_volume_disk_api_response'
|
|
113
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeDiskApiResponseData, 'nutanix_volumes/models/volumes_v40_config_get_volume_disk_api_response_data'
|
|
114
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_get_volume_group_api_response'
|
|
115
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeGroupApiResponseData, 'nutanix_volumes/models/volumes_v40_config_get_volume_group_api_response_data'
|
|
116
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeGroupMetadataApiResponse, 'nutanix_volumes/models/volumes_v40_config_get_volume_group_metadata_api_response'
|
|
117
|
+
NutanixVolumes.autoload :VolumesV40ConfigGetVolumeGroupMetadataApiResponseData, 'nutanix_volumes/models/volumes_v40_config_get_volume_group_metadata_api_response_data'
|
|
118
|
+
NutanixVolumes.autoload :VolumesV40ConfigIscsiClient, 'nutanix_volumes/models/volumes_v40_config_iscsi_client'
|
|
119
|
+
NutanixVolumes.autoload :VolumesV40ConfigIscsiClientAttachment, 'nutanix_volumes/models/volumes_v40_config_iscsi_client_attachment'
|
|
120
|
+
NutanixVolumes.autoload :VolumesV40ConfigIscsiFeatures, 'nutanix_volumes/models/volumes_v40_config_iscsi_features'
|
|
121
|
+
NutanixVolumes.autoload :VolumesV40ConfigListCategoryAssociationsApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_category_associations_api_response'
|
|
122
|
+
NutanixVolumes.autoload :VolumesV40ConfigListCategoryAssociationsApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_category_associations_api_response_data'
|
|
123
|
+
NutanixVolumes.autoload :VolumesV40ConfigListExternalIscsiAttachmentsApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_external_iscsi_attachments_api_response'
|
|
124
|
+
NutanixVolumes.autoload :VolumesV40ConfigListExternalIscsiAttachmentsApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data'
|
|
125
|
+
NutanixVolumes.autoload :VolumesV40ConfigListIscsiClientsApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_iscsi_clients_api_response'
|
|
126
|
+
NutanixVolumes.autoload :VolumesV40ConfigListIscsiClientsApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_iscsi_clients_api_response_data'
|
|
127
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVmAttachmentsApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_vm_attachments_api_response'
|
|
128
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVmAttachmentsApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_vm_attachments_api_response_data'
|
|
129
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVolumeDisksApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_volume_disks_api_response'
|
|
130
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVolumeDisksApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_volume_disks_api_response_data'
|
|
131
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVolumeGroupsApiResponse, 'nutanix_volumes/models/volumes_v40_config_list_volume_groups_api_response'
|
|
132
|
+
NutanixVolumes.autoload :VolumesV40ConfigListVolumeGroupsApiResponseData, 'nutanix_volumes/models/volumes_v40_config_list_volume_groups_api_response_data'
|
|
133
|
+
NutanixVolumes.autoload :VolumesV40ConfigMigrateVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_migrate_volume_group_api_response'
|
|
134
|
+
NutanixVolumes.autoload :VolumesV40ConfigNvmfClient, 'nutanix_volumes/models/volumes_v40_config_nvmf_client'
|
|
135
|
+
NutanixVolumes.autoload :VolumesV40ConfigNvmfClientAttachment, 'nutanix_volumes/models/volumes_v40_config_nvmf_client_attachment'
|
|
136
|
+
NutanixVolumes.autoload :VolumesV40ConfigPauseVolumeGroupSynchronousReplicationApiResponse, 'nutanix_volumes/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response'
|
|
137
|
+
NutanixVolumes.autoload :VolumesV40ConfigProtocol, 'nutanix_volumes/models/volumes_v40_config_protocol'
|
|
138
|
+
NutanixVolumes.autoload :VolumesV40ConfigResumeVolumeGroupSynchronousReplicationApiResponse, 'nutanix_volumes/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response'
|
|
139
|
+
NutanixVolumes.autoload :VolumesV40ConfigResumeVolumeGroupSynchronousReplicationApiResponseData, 'nutanix_volumes/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_data'
|
|
140
|
+
NutanixVolumes.autoload :VolumesV40ConfigRevertSpec, 'nutanix_volumes/models/volumes_v40_config_revert_spec'
|
|
141
|
+
NutanixVolumes.autoload :VolumesV40ConfigRevertVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_revert_volume_group_api_response'
|
|
142
|
+
NutanixVolumes.autoload :VolumesV40ConfigSharingStatus, 'nutanix_volumes/models/volumes_v40_config_sharing_status'
|
|
143
|
+
NutanixVolumes.autoload :VolumesV40ConfigStorageFeatures, 'nutanix_volumes/models/volumes_v40_config_storage_features'
|
|
144
|
+
NutanixVolumes.autoload :VolumesV40ConfigTargetParam, 'nutanix_volumes/models/volumes_v40_config_target_param'
|
|
145
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateIscsiClientApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_iscsi_client_api_response'
|
|
146
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateIscsiClientApiResponseData, 'nutanix_volumes/models/volumes_v40_config_update_iscsi_client_api_response_data'
|
|
147
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateIscsiClientByIdApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_iscsi_client_by_id_api_response'
|
|
148
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeDiskApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_disk_api_response'
|
|
149
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeDiskByIdApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_disk_by_id_api_response'
|
|
150
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeGroupApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_group_api_response'
|
|
151
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeGroupByIdApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_group_by_id_api_response'
|
|
152
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeGroupMetadataApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_group_metadata_api_response'
|
|
153
|
+
NutanixVolumes.autoload :VolumesV40ConfigUpdateVolumeGroupMetadataInfoApiResponse, 'nutanix_volumes/models/volumes_v40_config_update_volume_group_metadata_info_api_response'
|
|
154
|
+
NutanixVolumes.autoload :VolumesV40ConfigUsageType, 'nutanix_volumes/models/volumes_v40_config_usage_type'
|
|
155
|
+
NutanixVolumes.autoload :VolumesV40ConfigVmAttachment, 'nutanix_volumes/models/volumes_v40_config_vm_attachment'
|
|
156
|
+
NutanixVolumes.autoload :VolumesV40ConfigVolumeDisk, 'nutanix_volumes/models/volumes_v40_config_volume_disk'
|
|
157
|
+
NutanixVolumes.autoload :VolumesV40ConfigVolumeGroup, 'nutanix_volumes/models/volumes_v40_config_volume_group'
|
|
158
|
+
NutanixVolumes.autoload :VolumesV40ConfigVolumeGroupAttachmentSite, 'nutanix_volumes/models/volumes_v40_config_volume_group_attachment_site'
|
|
159
|
+
NutanixVolumes.autoload :VolumesV40ConfigVolumeGroupMetadata, 'nutanix_volumes/models/volumes_v40_config_volume_group_metadata'
|
|
160
|
+
NutanixVolumes.autoload :VolumesV40ErrorAppMessage, 'nutanix_volumes/models/volumes_v40_error_app_message'
|
|
161
|
+
NutanixVolumes.autoload :VolumesV40ErrorErrorResponse, 'nutanix_volumes/models/volumes_v40_error_error_response'
|
|
162
|
+
NutanixVolumes.autoload :VolumesV40ErrorErrorResponseError, 'nutanix_volumes/models/volumes_v40_error_error_response_error'
|
|
163
|
+
NutanixVolumes.autoload :VolumesV40ErrorMessageSeverity, 'nutanix_volumes/models/volumes_v40_error_message_severity'
|
|
164
|
+
NutanixVolumes.autoload :VolumesV40ErrorSchemaValidationError, 'nutanix_volumes/models/volumes_v40_error_schema_validation_error'
|
|
165
|
+
NutanixVolumes.autoload :VolumesV40ErrorSchemaValidationErrorMessage, 'nutanix_volumes/models/volumes_v40_error_schema_validation_error_message'
|
|
166
|
+
NutanixVolumes.autoload :VolumesV40StatsGetVolumeDiskStatsApiResponse, 'nutanix_volumes/models/volumes_v40_stats_get_volume_disk_stats_api_response'
|
|
167
|
+
NutanixVolumes.autoload :VolumesV40StatsGetVolumeDiskStatsApiResponseData, 'nutanix_volumes/models/volumes_v40_stats_get_volume_disk_stats_api_response_data'
|
|
168
|
+
NutanixVolumes.autoload :VolumesV40StatsGetVolumeGroupStatsApiResponse, 'nutanix_volumes/models/volumes_v40_stats_get_volume_group_stats_api_response'
|
|
169
|
+
NutanixVolumes.autoload :VolumesV40StatsGetVolumeGroupStatsApiResponseData, 'nutanix_volumes/models/volumes_v40_stats_get_volume_group_stats_api_response_data'
|
|
170
|
+
NutanixVolumes.autoload :VolumesV40StatsTimeValuePair, 'nutanix_volumes/models/volumes_v40_stats_time_value_pair'
|
|
171
|
+
NutanixVolumes.autoload :VolumesV40StatsVolumeDiskStats, 'nutanix_volumes/models/volumes_v40_stats_volume_disk_stats'
|
|
172
|
+
NutanixVolumes.autoload :VolumesV40StatsVolumeGroupStats, 'nutanix_volumes/models/volumes_v40_stats_volume_group_stats'
|
|
173
|
+
|
|
174
|
+
# APIs
|
|
175
|
+
NutanixVolumes.autoload :IscsiClientsApi, 'nutanix_volumes/api/iscsi_clients_api'
|
|
176
|
+
NutanixVolumes.autoload :VolumeGroupsApi, 'nutanix_volumes/api/volume_groups_api'
|
|
177
|
+
|
|
178
|
+
module NutanixVolumes
|
|
179
|
+
class << self
|
|
180
|
+
# Customize default settings for the SDK using block.
|
|
181
|
+
# NutanixVolumes.configure do |config|
|
|
182
|
+
# config.username = "xxx"
|
|
183
|
+
# config.password = "xxx"
|
|
184
|
+
# end
|
|
185
|
+
# If no block given, return the default Configuration object.
|
|
186
|
+
def configure
|
|
187
|
+
if block_given?
|
|
188
|
+
yield(Configuration.default)
|
|
189
|
+
else
|
|
190
|
+
Configuration.default
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
=begin
|
|
4
|
+
#Nutanix Volumes APIs
|
|
5
|
+
|
|
6
|
+
#Configure volumes.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 4.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
Generator version: 7.9.0
|
|
12
|
+
|
|
13
|
+
=end
|
|
14
|
+
|
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
16
|
+
require "nutanix_volumes/version"
|
|
17
|
+
|
|
18
|
+
Gem::Specification.new do |s|
|
|
19
|
+
s.name = "nutanix_volumes"
|
|
20
|
+
s.version = NutanixVolumes::VERSION
|
|
21
|
+
s.platform = Gem::Platform::RUBY
|
|
22
|
+
s.authors = ["ManageIQ Developers"]
|
|
23
|
+
s.email = [""]
|
|
24
|
+
s.homepage = "https://openapi-generator.tech"
|
|
25
|
+
s.summary = "Nutanix Volumes API"
|
|
26
|
+
s.description = "Ruby gem for Nutanix Volume Management APIs"
|
|
27
|
+
s.license = "Apache-2.0"
|
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
|
29
|
+
s.metadata = {}
|
|
30
|
+
|
|
31
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
32
|
+
|
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
|
+
|
|
35
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
36
|
+
s.test_files = `find spec/*`.split("\n")
|
|
37
|
+
s.executables = []
|
|
38
|
+
s.require_paths = ["lib"]
|
|
39
|
+
end
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Nutanix Volumes APIs
|
|
3
|
+
|
|
4
|
+
#Configure volumes.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 4.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.9.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for NutanixVolumes::IscsiClientsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'IscsiClientsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = NutanixVolumes::IscsiClientsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of IscsiClientsApi' do
|
|
30
|
+
it 'should create an instance of IscsiClientsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(NutanixVolumes::IscsiClientsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for get_iscsi_client_by_id
|
|
36
|
+
# Fetch an iSCSI client details
|
|
37
|
+
# Fetches the iSCSI client details identified by {extId}.
|
|
38
|
+
# @param ext_id The external identifier of an iSCSI client.
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [GetIscsiClientById200Response]
|
|
41
|
+
describe 'get_iscsi_client_by_id test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for list_iscsi_clients
|
|
48
|
+
# List all the iSCSI clients
|
|
49
|
+
# Fetches the list of iSCSI clients.
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
52
|
+
# @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
53
|
+
# @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - clusterReference - extId
|
|
54
|
+
# @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - clusterReference - extId
|
|
55
|
+
# @option opts [String] :expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - cluster
|
|
56
|
+
# @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - clusterReference - extId
|
|
57
|
+
# @return [ListIscsiClients200Response]
|
|
58
|
+
describe 'list_iscsi_clients test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for update_iscsi_client_by_id
|
|
65
|
+
# Update an iSCSI client
|
|
66
|
+
# Modifies the details of an existing iSCSI client configuration identified by {extId}.
|
|
67
|
+
# @param ext_id The external identifier of an iSCSI client.
|
|
68
|
+
# @param if_match The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
|
|
69
|
+
# @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
|
70
|
+
# @param volumes_v40_config_iscsi_client A model that represents an iSCSI client that can be associated with a Volume Group as an external attachment.
|
|
71
|
+
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @return [UpdateIscsiClientById202Response]
|
|
73
|
+
describe 'update_iscsi_client_by_id test' do
|
|
74
|
+
it 'should work' do
|
|
75
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
end
|