nutanix_clustermgmt 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 +636 -0
- data/Rakefile +10 -0
- data/docs/AddDisk202Response.md +20 -0
- data/docs/AddDisk4XXResponse.md +20 -0
- data/docs/AddSnmpTransport202Response.md +20 -0
- data/docs/AddSnmpTransport4XXResponse.md +20 -0
- data/docs/ApplyClusterProfile202Response.md +20 -0
- data/docs/ApplyClusterProfile4XXResponse.md +20 -0
- data/docs/AssociateCategoriesToCluster202Response.md +20 -0
- data/docs/AssociateCategoriesToCluster4XXResponse.md +20 -0
- data/docs/BmcApi.md +169 -0
- data/docs/CheckHypervisorRequirements202Response.md +20 -0
- data/docs/CheckHypervisorRequirements4XXResponse.md +20 -0
- data/docs/ClusterProfilesApi.md +575 -0
- data/docs/ClustermgmtV40AhvConfigListPcieDevicesApiResponse.md +20 -0
- data/docs/ClustermgmtV40AhvConfigListPcieDevicesApiResponseData.md +49 -0
- data/docs/ClustermgmtV40AhvConfigPcieDevice.md +34 -0
- data/docs/ClustermgmtV40AhvConfigPcieDeviceConfiguration.md +30 -0
- data/docs/ClustermgmtV40AhvConfigPcieDeviceState.md +15 -0
- data/docs/ClustermgmtV40ConfigAcropolisConnectionState.md +15 -0
- data/docs/ClustermgmtV40ConfigAddDiskApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigAddSnmpTransportsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigAddressType.md +15 -0
- data/docs/ClustermgmtV40ConfigApplyClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigAssociateCategoriesToClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigAssociateCategoriesToClusterApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigAttributeItem.md +20 -0
- data/docs/ClustermgmtV40ConfigAuthorizedPublicKey.md +20 -0
- data/docs/ClustermgmtV40ConfigBackplaneNetworkParams.md +24 -0
- data/docs/ClustermgmtV40ConfigBlockItem.md +20 -0
- data/docs/ClustermgmtV40ConfigBmcInfo.md +22 -0
- data/docs/ClustermgmtV40ConfigBuildInfo.md +18 -0
- data/docs/ClustermgmtV40ConfigBuildReference.md +26 -0
- data/docs/ClustermgmtV40ConfigBundleInfo.md +18 -0
- data/docs/ClustermgmtV40ConfigBundleParam.md +20 -0
- data/docs/ClustermgmtV40ConfigCacheDeduplication.md +15 -0
- data/docs/ClustermgmtV40ConfigCategoryEntityReferences.md +18 -0
- data/docs/ClustermgmtV40ConfigCheckHypervisorRequirementsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCluster.md +44 -0
- data/docs/ClustermgmtV40ConfigClusterArchReference.md +15 -0
- data/docs/ClustermgmtV40ConfigClusterConfig.md +20 -0
- data/docs/ClustermgmtV40ConfigClusterConfigReference.md +54 -0
- data/docs/ClustermgmtV40ConfigClusterFaultToleranceRef.md +15 -0
- data/docs/ClustermgmtV40ConfigClusterFunctionRef.md +15 -0
- data/docs/ClustermgmtV40ConfigClusterNetwork.md +24 -0
- data/docs/ClustermgmtV40ConfigClusterNetworkReference.md +48 -0
- data/docs/ClustermgmtV40ConfigClusterProfile.md +56 -0
- data/docs/ClustermgmtV40ConfigClusterReference.md +20 -0
- data/docs/ClustermgmtV40ConfigClusterReferenceListSpec.md +18 -0
- data/docs/ClustermgmtV40ConfigComponentFaultTolerance.md +26 -0
- data/docs/ClustermgmtV40ConfigComponentType.md +15 -0
- data/docs/ClustermgmtV40ConfigComputeNodeItem.md +32 -0
- data/docs/ClustermgmtV40ConfigComputeNonMigratableVmsSpec.md +20 -0
- data/docs/ClustermgmtV40ConfigConfigParams.md +32 -0
- data/docs/ClustermgmtV40ConfigConfigType.md +15 -0
- data/docs/ClustermgmtV40ConfigControllerVmReference.md +28 -0
- data/docs/ClustermgmtV40ConfigCreateClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCreateClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCreateRsyslogServerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCreateSnmpTrapApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCreateSnmpUserApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCreateStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigCredentialStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigDataStore.md +38 -0
- data/docs/ClustermgmtV40ConfigDataStoreMount.md +32 -0
- data/docs/ClustermgmtV40ConfigDataStoreUnmount.md +26 -0
- data/docs/ClustermgmtV40ConfigDeleteClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteDiskApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteRsyslogServerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteSnmpTrapApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteSnmpUserApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDeleteStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDigitalCertificateMapReference.md +20 -0
- data/docs/ClustermgmtV40ConfigDisassociateCategoriesFromClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDisassociateClusterFromClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDiscoverUnconfiguredNodesApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigDisk.md +64 -0
- data/docs/ClustermgmtV40ConfigDiskAdditionSpec.md +20 -0
- data/docs/ClustermgmtV40ConfigDiskAdvanceConfig.md +48 -0
- data/docs/ClustermgmtV40ConfigDiskPartitionInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigDiskReference.md +26 -0
- data/docs/ClustermgmtV40ConfigDiskStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigDomainAwarenessLevel.md +15 -0
- data/docs/ClustermgmtV40ConfigDomainFaultTolerance.md +20 -0
- data/docs/ClustermgmtV40ConfigDomainType.md +15 -0
- data/docs/ClustermgmtV40ConfigDriveReplacementOption.md +15 -0
- data/docs/ClustermgmtV40ConfigEncryptionOptionInfo.md +15 -0
- data/docs/ClustermgmtV40ConfigEncryptionScopeInfo.md +15 -0
- data/docs/ClustermgmtV40ConfigEncryptionStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigErasureCodeStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigExpandClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigExpandClusterParams.md +24 -0
- data/docs/ClustermgmtV40ConfigFaultToleranceState.md +28 -0
- data/docs/ClustermgmtV40ConfigFetchNodeNetworkingDetailsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigFetchTaskApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigFetchTaskApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetBmcInfoResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetBmcInfoResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetClusterApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetClusterProfileApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetDiskApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetDiskApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetHostApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetHostApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetHostNicApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetHostNicApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetRackableUnitApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetRackableUnitApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetRsyslogServerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetRsyslogServerApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetSnmpConfigByClusterIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetSnmpConfigByClusterIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetSnmpTrapApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetSnmpTrapApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetSnmpUserApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetSnmpUserApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetStorageContainerApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetVcenterExtensionApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetVcenterExtensionApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGetVirtualNicApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigGetVirtualNicApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigGpuMode.md +15 -0
- data/docs/ClustermgmtV40ConfigGpuType.md +15 -0
- data/docs/ClustermgmtV40ConfigHost.md +90 -0
- data/docs/ClustermgmtV40ConfigHostGpu.md +32 -0
- data/docs/ClustermgmtV40ConfigHostNameParam.md +18 -0
- data/docs/ClustermgmtV40ConfigHostNic.md +62 -0
- data/docs/ClustermgmtV40ConfigHostTypeEnum.md +15 -0
- data/docs/ClustermgmtV40ConfigHttpProxyConfig.md +28 -0
- data/docs/ClustermgmtV40ConfigHttpProxyType.md +15 -0
- data/docs/ClustermgmtV40ConfigHttpProxyWhiteListConfig.md +20 -0
- data/docs/ClustermgmtV40ConfigHttpProxyWhiteListTargetType.md +15 -0
- data/docs/ClustermgmtV40ConfigHypervCredentials.md +20 -0
- data/docs/ClustermgmtV40ConfigHypervisorIsoMap.md +20 -0
- data/docs/ClustermgmtV40ConfigHypervisorReference.md +30 -0
- data/docs/ClustermgmtV40ConfigHypervisorState.md +15 -0
- data/docs/ClustermgmtV40ConfigHypervisorType.md +15 -0
- data/docs/ClustermgmtV40ConfigHypervisorUploadInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigHypervisorUploadNodeListItem.md +34 -0
- data/docs/ClustermgmtV40ConfigHypervisorUploadParam.md +18 -0
- data/docs/ClustermgmtV40ConfigIpmiReference.md +20 -0
- data/docs/ClustermgmtV40ConfigKeyManagementDeviceToCertStatusInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigKeyManagementServerType.md +15 -0
- data/docs/ClustermgmtV40ConfigListClusterProfilesApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListClusterProfilesApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListClustersApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListClustersApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListDataStoresByClusterIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListDataStoresByClusterIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListDisksApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListDisksApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListHostNicsByHostIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListHostNicsByHostIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListHostsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListHostsByClusterIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListHostsByClusterIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListPhysicalGpuProfilesApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListPhysicalGpuProfilesApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListRackableUnitsByClusterIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListRackableUnitsByClusterIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListRsyslogServersByClusterIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListRsyslogServersByClusterIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListStorageContainersApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListStorageContainersApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListVcenterExtensionsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListVcenterExtensionsApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListVirtualGpuProfilesApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListVirtualGpuProfilesApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigListVirtualNicsByHostIdApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigListVirtualNicsByHostIdApiResponseData.md +49 -0
- data/docs/ClustermgmtV40ConfigManagedCluster.md +24 -0
- data/docs/ClustermgmtV40ConfigManagementServerRef.md +26 -0
- data/docs/ClustermgmtV40ConfigManagementServerType.md +15 -0
- data/docs/ClustermgmtV40ConfigMountStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigMultiDomainFaultToleranceStatus.md +24 -0
- data/docs/ClustermgmtV40ConfigNameMacRef.md +20 -0
- data/docs/ClustermgmtV40ConfigNameNetworkRef.md +22 -0
- data/docs/ClustermgmtV40ConfigNetworkInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigNetworkSwitchInterface.md +48 -0
- data/docs/ClustermgmtV40ConfigNodeDetails.md +20 -0
- data/docs/ClustermgmtV40ConfigNodeDiscoveryParams.md +28 -0
- data/docs/ClustermgmtV40ConfigNodeInfo.md +46 -0
- data/docs/ClustermgmtV40ConfigNodeItem.md +48 -0
- data/docs/ClustermgmtV40ConfigNodeListItemReference.md +22 -0
- data/docs/ClustermgmtV40ConfigNodeListNetworkingDetails.md +46 -0
- data/docs/ClustermgmtV40ConfigNodeNetworkConfig.md +18 -0
- data/docs/ClustermgmtV40ConfigNodeNetworkingDetails.md +22 -0
- data/docs/ClustermgmtV40ConfigNodeParam.md +30 -0
- data/docs/ClustermgmtV40ConfigNodeReference.md +20 -0
- data/docs/ClustermgmtV40ConfigNodeRemovalExtraParam.md +22 -0
- data/docs/ClustermgmtV40ConfigNodeRemovalParams.md +24 -0
- data/docs/ClustermgmtV40ConfigNodeResourceConfig.md +24 -0
- data/docs/ClustermgmtV40ConfigNodeStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigNonCompatibleClusterReference.md +20 -0
- data/docs/ClustermgmtV40ConfigNonMigratableVmInfo.md +22 -0
- data/docs/ClustermgmtV40ConfigNonMigratableVmsResult.md +24 -0
- data/docs/ClustermgmtV40ConfigOnDiskDedup.md +15 -0
- data/docs/ClustermgmtV40ConfigOperationMode.md +15 -0
- data/docs/ClustermgmtV40ConfigPIIScrubbingLevel.md +15 -0
- data/docs/ClustermgmtV40ConfigPartitionType.md +15 -0
- data/docs/ClustermgmtV40ConfigPhysicalGpuConfig.md +36 -0
- data/docs/ClustermgmtV40ConfigPhysicalGpuProfile.md +26 -0
- data/docs/ClustermgmtV40ConfigPublicKey.md +20 -0
- data/docs/ClustermgmtV40ConfigPulseStatus.md +20 -0
- data/docs/ClustermgmtV40ConfigRackReference.md +20 -0
- data/docs/ClustermgmtV40ConfigRackableUnit.md +34 -0
- data/docs/ClustermgmtV40ConfigRackableUnitModel.md +15 -0
- data/docs/ClustermgmtV40ConfigRackableUnitNode.md +22 -0
- data/docs/ClustermgmtV40ConfigRedundancyStatusDetails.md +20 -0
- data/docs/ClustermgmtV40ConfigRegisterVcenterExtensionApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigRemoveNodeApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigRemoveSnmpTransportsApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigRsyslogModuleItem.md +22 -0
- data/docs/ClustermgmtV40ConfigRsyslogModuleLogSeverityLevel.md +15 -0
- data/docs/ClustermgmtV40ConfigRsyslogModuleName.md +15 -0
- data/docs/ClustermgmtV40ConfigRsyslogNetworkProtocol.md +15 -0
- data/docs/ClustermgmtV40ConfigRsyslogServer.md +32 -0
- data/docs/ClustermgmtV40ConfigSmtpNetwork.md +24 -0
- data/docs/ClustermgmtV40ConfigSmtpServerRef.md +22 -0
- data/docs/ClustermgmtV40ConfigSmtpType.md +15 -0
- data/docs/ClustermgmtV40ConfigSnmpAuthType.md +15 -0
- data/docs/ClustermgmtV40ConfigSnmpConfig.md +30 -0
- data/docs/ClustermgmtV40ConfigSnmpPrivType.md +15 -0
- data/docs/ClustermgmtV40ConfigSnmpProtocol.md +15 -0
- data/docs/ClustermgmtV40ConfigSnmpStatusParam.md +18 -0
- data/docs/ClustermgmtV40ConfigSnmpTransport.md +20 -0
- data/docs/ClustermgmtV40ConfigSnmpTrap.md +40 -0
- data/docs/ClustermgmtV40ConfigSnmpTrapVersion.md +15 -0
- data/docs/ClustermgmtV40ConfigSnmpUser.md +32 -0
- data/docs/ClustermgmtV40ConfigSoftwareMapReference.md +20 -0
- data/docs/ClustermgmtV40ConfigSoftwareTypeRef.md +15 -0
- data/docs/ClustermgmtV40ConfigStorageContainer.md +76 -0
- data/docs/ClustermgmtV40ConfigStorageSummary.md +18 -0
- data/docs/ClustermgmtV40ConfigStorageTier.md +15 -0
- data/docs/ClustermgmtV40ConfigStorageTierReference.md +15 -0
- data/docs/ClustermgmtV40ConfigTaskResponse.md +26 -0
- data/docs/ClustermgmtV40ConfigTaskResponseAllOfResponse.md +55 -0
- data/docs/ClustermgmtV40ConfigTaskResponseType.md +15 -0
- data/docs/ClustermgmtV40ConfigToleranceMessage.md +20 -0
- data/docs/ClustermgmtV40ConfigUnconfigureNodeDetails.md +18 -0
- data/docs/ClustermgmtV40ConfigUnconfiguredNodeAttributeMap.md +26 -0
- data/docs/ClustermgmtV40ConfigUnconfiguredNodeListItem.md +58 -0
- data/docs/ClustermgmtV40ConfigUnmountStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUnregisterVcenterExtensionApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateBmcInfoResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateClusterApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateClusterProfileApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateRsyslogServerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateSnmpStatusApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateSnmpTrapApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateSnmpUserApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpdateStorageContainerApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigUpgradeStatus.md +15 -0
- data/docs/ClustermgmtV40ConfigUplinkInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigUplinkNetworkItem.md +22 -0
- data/docs/ClustermgmtV40ConfigUplinkNode.md +22 -0
- data/docs/ClustermgmtV40ConfigUplinks.md +20 -0
- data/docs/ClustermgmtV40ConfigUplinksField.md +22 -0
- data/docs/ClustermgmtV40ConfigUploadInfoNodeItem.md +32 -0
- data/docs/ClustermgmtV40ConfigUserInfo.md +22 -0
- data/docs/ClustermgmtV40ConfigValidateBundleInfo.md +18 -0
- data/docs/ClustermgmtV40ConfigValidateNodeApiResponse.md +20 -0
- data/docs/ClustermgmtV40ConfigValidateNodeParam.md +18 -0
- data/docs/ClustermgmtV40ConfigValidateNodeParamSpec.md +49 -0
- data/docs/ClustermgmtV40ConfigVcenterCredentials.md +22 -0
- data/docs/ClustermgmtV40ConfigVcenterExtension.md +28 -0
- data/docs/ClustermgmtV40ConfigVcenterInfo.md +20 -0
- data/docs/ClustermgmtV40ConfigVirtualGpuConfig.md +46 -0
- data/docs/ClustermgmtV40ConfigVirtualGpuProfile.md +26 -0
- data/docs/ClustermgmtV40ConfigVirtualNic.md +46 -0
- data/docs/ClustermgmtV40ErrorAppMessage.md +28 -0
- data/docs/ClustermgmtV40ErrorErrorResponse.md +18 -0
- data/docs/ClustermgmtV40ErrorErrorResponseError.md +49 -0
- data/docs/ClustermgmtV40ErrorMessageSeverity.md +15 -0
- data/docs/ClustermgmtV40ErrorSchemaValidationError.md +26 -0
- data/docs/ClustermgmtV40ErrorSchemaValidationErrorMessage.md +22 -0
- data/docs/ClustermgmtV40OperationsEnterHostMaintenanceApiResponse.md +20 -0
- data/docs/ClustermgmtV40OperationsEnterHostMaintenanceSpec.md +24 -0
- data/docs/ClustermgmtV40OperationsExitHostMaintenanceApiResponse.md +20 -0
- data/docs/ClustermgmtV40OperationsHostMaintenanceCommonSpec.md +20 -0
- data/docs/ClustermgmtV40StatsClusterStats.md +116 -0
- data/docs/ClustermgmtV40StatsClusterStatsApiResponse.md +20 -0
- data/docs/ClustermgmtV40StatsClusterStatsApiResponseData.md +49 -0
- data/docs/ClustermgmtV40StatsDiskStats.md +88 -0
- data/docs/ClustermgmtV40StatsGetDiskStatsApiResponse.md +20 -0
- data/docs/ClustermgmtV40StatsGetDiskStatsApiResponseData.md +49 -0
- data/docs/ClustermgmtV40StatsGetStorageContainerStatsApiResponse.md +20 -0
- data/docs/ClustermgmtV40StatsGetStorageContainerStatsApiResponseData.md +49 -0
- data/docs/ClustermgmtV40StatsHostStats.md +114 -0
- data/docs/ClustermgmtV40StatsHostStatsApiResponse.md +20 -0
- data/docs/ClustermgmtV40StatsHostStatsApiResponseData.md +49 -0
- data/docs/ClustermgmtV40StatsStorageContainerStats.md +114 -0
- data/docs/ClustermgmtV40StatsTimeValuePair.md +20 -0
- data/docs/ClustersApi.md +3725 -0
- data/docs/CommonV10ConfigBasicAuth.md +20 -0
- data/docs/CommonV10ConfigFQDN.md +18 -0
- data/docs/CommonV10ConfigFlag.md +20 -0
- data/docs/CommonV10ConfigIPAddress.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/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/CommonV10StatsTimeIntValuePair.md +20 -0
- data/docs/CreateCluster202Response.md +20 -0
- data/docs/CreateCluster4XXResponse.md +20 -0
- data/docs/CreateClusterProfile202Response.md +20 -0
- data/docs/CreateClusterProfile4XXResponse.md +20 -0
- data/docs/CreateRsyslogServer202Response.md +20 -0
- data/docs/CreateRsyslogServer4XXResponse.md +20 -0
- data/docs/CreateSnmpTrap202Response.md +20 -0
- data/docs/CreateSnmpTrap4XXResponse.md +20 -0
- data/docs/CreateSnmpUser202Response.md +20 -0
- data/docs/CreateSnmpUser4XXResponse.md +20 -0
- data/docs/CreateStorageContainer202Response.md +20 -0
- data/docs/CreateStorageContainer4XXResponse.md +20 -0
- data/docs/DeleteClusterById202Response.md +20 -0
- data/docs/DeleteClusterById4XXResponse.md +20 -0
- data/docs/DeleteClusterProfileById202Response.md +20 -0
- data/docs/DeleteClusterProfileById4XXResponse.md +20 -0
- data/docs/DeleteDiskById202Response.md +20 -0
- data/docs/DeleteDiskById4XXResponse.md +20 -0
- data/docs/DeleteRsyslogServerById202Response.md +20 -0
- data/docs/DeleteRsyslogServerById4XXResponse.md +20 -0
- data/docs/DeleteSnmpTrapById202Response.md +20 -0
- data/docs/DeleteSnmpTrapById4XXResponse.md +20 -0
- data/docs/DeleteSnmpUserById202Response.md +20 -0
- data/docs/DeleteSnmpUserById4XXResponse.md +20 -0
- data/docs/DeleteStorageContainerById202Response.md +20 -0
- data/docs/DeleteStorageContainerById4XXResponse.md +20 -0
- data/docs/DisassociateCategoriesFromCluster202Response.md +20 -0
- data/docs/DisassociateCategoriesFromCluster4XXResponse.md +20 -0
- data/docs/DisassociateClusterFromClusterProfile202Response.md +20 -0
- data/docs/DisassociateClusterFromClusterProfile4XXResponse.md +20 -0
- data/docs/DiscoverUnconfiguredNodes202Response.md +20 -0
- data/docs/DiscoverUnconfiguredNodes4XXResponse.md +20 -0
- data/docs/DisksApi.md +411 -0
- data/docs/EnterHostMaintenance202Response.md +20 -0
- data/docs/EnterHostMaintenance4XXResponse.md +20 -0
- data/docs/ExitHostMaintenance202Response.md +20 -0
- data/docs/ExitHostMaintenance4XXResponse.md +20 -0
- data/docs/ExpandCluster202Response.md +20 -0
- data/docs/ExpandCluster4XXResponse.md +20 -0
- data/docs/FetchNodeNetworkingDetails202Response.md +20 -0
- data/docs/FetchNodeNetworkingDetails4XXResponse.md +20 -0
- data/docs/FetchTaskResponse200Response.md +20 -0
- data/docs/FetchTaskResponse4XXResponse.md +20 -0
- data/docs/GetBmcInfo200Response.md +20 -0
- data/docs/GetBmcInfo4XXResponse.md +20 -0
- data/docs/GetClusterById200Response.md +20 -0
- data/docs/GetClusterById4XXResponse.md +20 -0
- data/docs/GetClusterProfileById200Response.md +20 -0
- data/docs/GetClusterProfileById4XXResponse.md +20 -0
- data/docs/GetClusterStats200Response.md +20 -0
- data/docs/GetClusterStats4XXResponse.md +20 -0
- data/docs/GetDiskById200Response.md +20 -0
- data/docs/GetDiskById4XXResponse.md +20 -0
- data/docs/GetDiskStats200Response.md +20 -0
- data/docs/GetDiskStats4XXResponse.md +20 -0
- data/docs/GetHostById200Response.md +20 -0
- data/docs/GetHostById4XXResponse.md +20 -0
- data/docs/GetHostNicById200Response.md +20 -0
- data/docs/GetHostNicById4XXResponse.md +20 -0
- data/docs/GetHostStats200Response.md +20 -0
- data/docs/GetHostStats4XXResponse.md +20 -0
- data/docs/GetRackableUnitById200Response.md +20 -0
- data/docs/GetRackableUnitById4XXResponse.md +20 -0
- data/docs/GetRsyslogServerById200Response.md +20 -0
- data/docs/GetRsyslogServerById4XXResponse.md +20 -0
- data/docs/GetSnmpConfigByClusterId200Response.md +20 -0
- data/docs/GetSnmpConfigByClusterId4XXResponse.md +20 -0
- data/docs/GetSnmpTrapById200Response.md +20 -0
- data/docs/GetSnmpTrapById4XXResponse.md +20 -0
- data/docs/GetSnmpUserById200Response.md +20 -0
- data/docs/GetSnmpUserById4XXResponse.md +20 -0
- data/docs/GetStorageContainerById200Response.md +20 -0
- data/docs/GetStorageContainerById4XXResponse.md +20 -0
- data/docs/GetStorageContainerStats200Response.md +20 -0
- data/docs/GetStorageContainerStats4XXResponse.md +20 -0
- data/docs/GetVcenterExtensionById200Response.md +20 -0
- data/docs/GetVcenterExtensionById4XXResponse.md +20 -0
- data/docs/GetVirtualNicById200Response.md +20 -0
- data/docs/GetVirtualNicById4XXResponse.md +20 -0
- data/docs/ListClusterProfiles200Response.md +20 -0
- data/docs/ListClusterProfiles4XXResponse.md +20 -0
- data/docs/ListClusters200Response.md +20 -0
- data/docs/ListClusters4XXResponse.md +20 -0
- data/docs/ListDataStoresByClusterId200Response.md +20 -0
- data/docs/ListDataStoresByClusterId4XXResponse.md +20 -0
- data/docs/ListDisks200Response.md +20 -0
- data/docs/ListDisks4XXResponse.md +20 -0
- data/docs/ListHostNicsByHostId200Response.md +20 -0
- data/docs/ListHostNicsByHostId4XXResponse.md +20 -0
- data/docs/ListHosts200Response.md +20 -0
- data/docs/ListHosts4XXResponse.md +20 -0
- data/docs/ListHostsByClusterId200Response.md +20 -0
- data/docs/ListHostsByClusterId4XXResponse.md +20 -0
- data/docs/ListPcieDevices200Response.md +20 -0
- data/docs/ListPcieDevices4XXResponse.md +20 -0
- data/docs/ListPhysicalGpuProfiles200Response.md +20 -0
- data/docs/ListPhysicalGpuProfiles4XXResponse.md +20 -0
- data/docs/ListRackableUnitsByClusterId200Response.md +20 -0
- data/docs/ListRackableUnitsByClusterId4XXResponse.md +20 -0
- data/docs/ListRsyslogServersByClusterId200Response.md +20 -0
- data/docs/ListRsyslogServersByClusterId4XXResponse.md +20 -0
- data/docs/ListStorageContainers200Response.md +20 -0
- data/docs/ListStorageContainers4XXResponse.md +20 -0
- data/docs/ListVcenterExtensions200Response.md +20 -0
- data/docs/ListVcenterExtensions4XXResponse.md +20 -0
- data/docs/ListVirtualGpuProfiles200Response.md +20 -0
- data/docs/ListVirtualGpuProfiles4XXResponse.md +20 -0
- data/docs/ListVirtualNicsByHostId200Response.md +20 -0
- data/docs/ListVirtualNicsByHostId4XXResponse.md +20 -0
- data/docs/MountStorageContainer202Response.md +20 -0
- data/docs/MountStorageContainer4XXResponse.md +20 -0
- data/docs/PcieDevicesApi.md +91 -0
- data/docs/PrismV40ConfigTaskReference.md +18 -0
- data/docs/RegisterVcenterExtension202Response.md +20 -0
- data/docs/RegisterVcenterExtension4XXResponse.md +20 -0
- data/docs/RemoveNode202Response.md +20 -0
- data/docs/RemoveNode4XXResponse.md +20 -0
- data/docs/RemoveSnmpTransport202Response.md +20 -0
- data/docs/RemoveSnmpTransport4XXResponse.md +20 -0
- data/docs/StorageContainersApi.md +739 -0
- data/docs/UnmountStorageContainer202Response.md +20 -0
- data/docs/UnmountStorageContainer4XXResponse.md +20 -0
- data/docs/UnregisterVcenterExtension202Response.md +20 -0
- data/docs/UnregisterVcenterExtension4XXResponse.md +20 -0
- data/docs/UpdateBmcInfo202Response.md +20 -0
- data/docs/UpdateBmcInfo4XXResponse.md +20 -0
- data/docs/UpdateClusterById202Response.md +20 -0
- data/docs/UpdateClusterById4XXResponse.md +20 -0
- data/docs/UpdateClusterProfileById202Response.md +20 -0
- data/docs/UpdateClusterProfileById4XXResponse.md +20 -0
- data/docs/UpdateRsyslogServerById202Response.md +20 -0
- data/docs/UpdateRsyslogServerById4XXResponse.md +20 -0
- data/docs/UpdateSnmpStatus202Response.md +20 -0
- data/docs/UpdateSnmpStatus4XXResponse.md +20 -0
- data/docs/UpdateSnmpTrapById202Response.md +20 -0
- data/docs/UpdateSnmpTrapById4XXResponse.md +20 -0
- data/docs/UpdateSnmpUserById202Response.md +20 -0
- data/docs/UpdateSnmpUserById4XXResponse.md +20 -0
- data/docs/UpdateStorageContainerById202Response.md +20 -0
- data/docs/UpdateStorageContainerById4XXResponse.md +20 -0
- data/docs/ValidateNode202Response.md +20 -0
- data/docs/ValidateNode4XXResponse.md +20 -0
- data/docs/VcenterExtensionsApi.md +327 -0
- data/git_push.sh +57 -0
- data/lib/nutanix_clustermgmt/api/bmc_api.rb +205 -0
- data/lib/nutanix_clustermgmt/api/cluster_profiles_api.rb +595 -0
- data/lib/nutanix_clustermgmt/api/clusters_api.rb +3903 -0
- data/lib/nutanix_clustermgmt/api/disks_api.rb +416 -0
- data/lib/nutanix_clustermgmt/api/pcie_devices_api.rb +103 -0
- data/lib/nutanix_clustermgmt/api/storage_containers_api.rb +771 -0
- data/lib/nutanix_clustermgmt/api/vcenter_extensions_api.rb +343 -0
- data/lib/nutanix_clustermgmt/api_client.rb +394 -0
- data/lib/nutanix_clustermgmt/api_error.rb +58 -0
- data/lib/nutanix_clustermgmt/configuration.rb +315 -0
- data/lib/nutanix_clustermgmt/models/add_disk202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/add_disk4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/add_snmp_transport202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/add_snmp_transport4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/apply_cluster_profile202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/apply_cluster_profile4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device.rb +455 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_configuration.rb +276 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_state.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_acropolis_connection_state.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_disk_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_snmp_transports_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_address_type.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_apply_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_attribute_item.rb +226 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_authorized_public_key.rb +245 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_backplane_network_params.rb +244 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_block_item.rb +245 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bmc_info.rb +255 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_info.rb +216 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_reference.rb +256 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_info.rb +235 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_param.rb +269 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cache_deduplication.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_category_entity_references.rb +253 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster.rb +529 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_arch_reference.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config.rb +225 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config_reference.rb +592 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_fault_tolerance_ref.rb +44 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_function_ref.rb +47 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network.rb +326 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network_reference.rb +552 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_profile.rb +756 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference.rb +266 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference_list_spec.rb +252 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_fault_tolerance.rb +276 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_type.rb +48 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_node_item.rb +354 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_non_migratable_vms_spec.rb +262 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_params.rb +285 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_type.rb +47 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_controller_vm_reference.rb +293 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_rsyslog_server_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_trap_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_user_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_credential_status.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store.rb +522 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_mount.rb +436 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_unmount.rb +387 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_disk_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_rsyslog_server_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_trap_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_user_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_digital_certificate_map_reference.rb +226 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk.rb +815 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_addition_spec.rb +251 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_advance_config.rb +366 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_partition_info.rb +246 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_reference.rb +298 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_status.rb +44 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_awareness_level.rb +44 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_fault_tolerance.rb +277 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_type.rb +46 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_drive_replacement_option.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_option_info.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_scope_info.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_status.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_erasure_code_status.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_params.rb +251 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fault_tolerance_state.rb +284 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_node_networking_details_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_mode.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_type.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host.rb +861 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_gpu.rb +381 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_name_param.rb +242 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_nic.rb +683 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_type_enum.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_config.rb +340 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_type.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_config.rb +261 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_target_type.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hyperv_credentials.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_iso_map.rb +268 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_reference.rb +332 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_state.rb +50 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_type.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_info.rb +256 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_node_list_item.rb +338 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_param.rb +253 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_ipmi_reference.rb +244 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_device_to_cert_status_info.rb +245 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_server_type.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_managed_cluster.rb +304 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_ref.rb +276 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_type.rb +41 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_mount_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status.rb +351 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_mac_ref.rb +266 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_network_ref.rb +306 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_info.rb +286 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_switch_interface.rb +553 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_details.rb +263 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_discovery_params.rb +377 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_info.rb +444 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_item.rb +495 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_item_reference.rb +255 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_networking_details.rb +425 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_network_config.rb +215 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_networking_details.rb +295 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_param.rb +395 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_reference.rb +256 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_extra_param.rb +236 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_params.rb +282 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_resource_config.rb +267 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_status.rb +46 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_compatible_cluster_reference.rb +277 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vm_info.rb +276 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vms_result.rb +351 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_on_disk_dedup.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_operation_mode.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_partition_type.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_config.rb +354 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_profile.rb +361 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pii_scrubbing_level.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_public_key.rb +259 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pulse_status.rb +247 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rack_reference.rb +247 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit.rb +441 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_model.rb +56 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_node.rb +257 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_redundancy_status_details.rb +226 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_register_vcenter_extension_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_node_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_snmp_transports_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_item.rb +272 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_log_severity_level.rb +48 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_name.rb +60 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_network_protocol.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_server.rb +459 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_network.rb +271 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_server_ref.rb +291 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_type.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_auth_type.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_config.rb +442 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_priv_type.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_protocol.rb +44 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_status_param.rb +223 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_transport.rb +261 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap.rb +494 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap_version.rb +42 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_user.rb +464 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_map_reference.rb +247 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_type_ref.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_container.rb +781 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_summary.rb +216 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier_reference.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response.rb +351 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_all_of_response.rb +109 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_type.rb +45 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_tolerance_message.rb +256 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigure_node_details.rb +246 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_attribute_map.rb +256 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_list_item.rb +483 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unmount_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_bmc_info_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_profile_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_rsyslog_server_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_status_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_trap_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_user_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_storage_container_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upgrade_status.rb +49 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_info.rb +255 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_network_item.rb +284 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_node.rb +278 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks.rb +286 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks_field.rb +276 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upload_info_node_item.rb +368 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_user_info.rb +274 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_bundle_info.rb +237 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param.rb +222 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param_spec.rb +106 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_credentials.rb +271 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_extension.rb +384 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_info.rb +238 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_config.rb +463 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_profile.rb +361 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_nic.rb +583 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_app_message.rb +291 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response.rb +215 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response_error.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_message_severity.rb +43 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error.rb +258 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error_message.rb +236 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_spec.rb +275 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_exit_host_maintenance_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_host_maintenance_common_spec.rb +244 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats.rb +876 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_disk_stats.rb +1631 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats.rb +864 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response_data.rb +105 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_storage_container_stats.rb +2142 -0
- data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_time_value_pair.rb +226 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_basic_auth.rb +296 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_flag.rb +256 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_fqdn.rb +237 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address.rb +224 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address_or_fqdn.rb +233 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_ipv4_address.rb +284 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_ipv6_address.rb +284 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair.rb +253 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair_value.rb +111 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_map_of_string_wrapper.rb +218 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_message.rb +268 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_message_severity.rb +43 -0
- data/lib/nutanix_clustermgmt/models/common_v10_config_tenant_aware_model.rb +237 -0
- data/lib/nutanix_clustermgmt/models/common_v10_response_api_link.rb +226 -0
- data/lib/nutanix_clustermgmt/models/common_v10_response_api_response_metadata.rb +376 -0
- data/lib/nutanix_clustermgmt/models/common_v10_response_externalizable_abstract_model.rb +312 -0
- data/lib/nutanix_clustermgmt/models/common_v10_stats_down_sampling_operator.rb +46 -0
- data/lib/nutanix_clustermgmt/models/common_v10_stats_time_int_value_pair.rb +226 -0
- data/lib/nutanix_clustermgmt/models/create_cluster202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_cluster4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_cluster_profile202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_cluster_profile4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_rsyslog_server202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_rsyslog_server4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_snmp_trap202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_snmp_trap4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_snmp_user202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_snmp_user4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_storage_container202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/create_storage_container4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_cluster_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_cluster_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_disk_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/enter_host_maintenance202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/enter_host_maintenance4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/exit_host_maintenance202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/exit_host_maintenance4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/expand_cluster202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/expand_cluster4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/fetch_node_networking_details202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/fetch_node_networking_details4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/fetch_task_response200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/fetch_task_response4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_bmc_info200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_bmc_info4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_stats200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_cluster_stats4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_disk_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_disk_stats200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_disk_stats4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_nic_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_stats200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_host_stats4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_storage_container_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_storage_container_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_storage_container_stats200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_storage_container_stats4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id200_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_cluster_profiles200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_cluster_profiles4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_clusters200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_clusters4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id200_response.rb +254 -0
- data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_disks200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_disks4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_hosts200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_hosts4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_pcie_devices200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_pcie_devices4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id200_response.rb +254 -0
- data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id200_response.rb +254 -0
- data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_storage_containers200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_storage_containers4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_vcenter_extensions200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_vcenter_extensions4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id200_response.rb +226 -0
- data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/mount_storage_container202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/mount_storage_container4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/prism_v40_config_task_reference.rb +237 -0
- data/lib/nutanix_clustermgmt/models/register_vcenter_extension202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/register_vcenter_extension4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/remove_node202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/remove_node4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/remove_snmp_transport202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/remove_snmp_transport4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/unmount_storage_container202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/unmount_storage_container4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_bmc_info202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_bmc_info4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_cluster_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_cluster_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_status202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_status4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_storage_container_by_id202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/update_storage_container_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/validate_node202_response.rb +224 -0
- data/lib/nutanix_clustermgmt/models/validate_node4_xx_response.rb +224 -0
- data/lib/nutanix_clustermgmt/version.rb +15 -0
- data/lib/nutanix_clustermgmt.rb +496 -0
- data/nutanix_clustermgmt.gemspec +39 -0
- data/renovate.json +5 -0
- data/spec/api/bmc_api_spec.rb +64 -0
- data/spec/api/cluster_profiles_api_spec.rb +134 -0
- data/spec/api/clusters_api_spec.rb +686 -0
- data/spec/api/disks_api_spec.rb +105 -0
- data/spec/api/pcie_devices_api_spec.rb +50 -0
- data/spec/api/storage_containers_api_spec.rb +163 -0
- data/spec/api/vcenter_extensions_api_spec.rb +90 -0
- data/spec/models/add_disk202_response_spec.rb +42 -0
- data/spec/models/add_disk4_xx_response_spec.rb +42 -0
- data/spec/models/add_snmp_transport202_response_spec.rb +42 -0
- data/spec/models/add_snmp_transport4_xx_response_spec.rb +42 -0
- data/spec/models/apply_cluster_profile202_response_spec.rb +42 -0
- data/spec/models/apply_cluster_profile4_xx_response_spec.rb +42 -0
- data/spec/models/associate_categories_to_cluster202_response_spec.rb +42 -0
- data/spec/models/associate_categories_to_cluster4_xx_response_spec.rb +42 -0
- data/spec/models/check_hypervisor_requirements202_response_spec.rb +42 -0
- data/spec/models/check_hypervisor_requirements4_xx_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_configuration_spec.rb +72 -0
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_spec.rb +84 -0
- data/spec/models/clustermgmt_v40_ahv_config_pcie_device_state_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_acropolis_connection_state_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_add_disk_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_add_snmp_transports_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_address_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_apply_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_attribute_item_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_authorized_public_key_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_backplane_network_params_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_block_item_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_bmc_info_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_build_info_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_build_reference_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_bundle_info_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_bundle_param_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_cache_deduplication_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_category_entity_references_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_cluster_arch_reference_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_cluster_config_reference_spec.rb +144 -0
- data/spec/models/clustermgmt_v40_config_cluster_config_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_cluster_fault_tolerance_ref_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_cluster_function_ref_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_cluster_network_reference_spec.rb +126 -0
- data/spec/models/clustermgmt_v40_config_cluster_network_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_cluster_profile_spec.rb +150 -0
- data/spec/models/clustermgmt_v40_config_cluster_reference_list_spec_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_cluster_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_cluster_spec.rb +114 -0
- data/spec/models/clustermgmt_v40_config_component_fault_tolerance_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_component_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_compute_node_item_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_compute_non_migratable_vms_spec_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_config_params_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_config_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_controller_vm_reference_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_config_create_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_create_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_create_rsyslog_server_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_create_snmp_trap_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_create_snmp_user_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_create_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_credential_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_data_store_mount_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_data_store_spec.rb +96 -0
- data/spec/models/clustermgmt_v40_config_data_store_unmount_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_delete_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_disk_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_rsyslog_server_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_snmp_trap_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_snmp_user_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_delete_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_digital_certificate_map_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_disk_addition_spec_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_disk_advance_config_spec.rb +126 -0
- data/spec/models/clustermgmt_v40_config_disk_partition_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_disk_reference_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_disk_spec.rb +174 -0
- data/spec/models/clustermgmt_v40_config_disk_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_domain_awareness_level_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_domain_fault_tolerance_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_domain_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_drive_replacement_option_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_encryption_option_info_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_encryption_scope_info_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_encryption_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_erasure_code_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_expand_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_expand_cluster_params_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_fault_tolerance_state_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_config_fetch_node_networking_details_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_fetch_task_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_fetch_task_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_bmc_info_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_bmc_info_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_cluster_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_disk_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_disk_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_host_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_host_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_gpu_mode_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_gpu_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_host_gpu_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_host_name_param_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_host_nic_spec.rb +168 -0
- data/spec/models/clustermgmt_v40_config_host_spec.rb +252 -0
- data/spec/models/clustermgmt_v40_config_host_type_enum_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_http_proxy_config_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_config_http_proxy_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_http_proxy_white_list_config_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_http_proxy_white_list_target_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_hyperv_credentials_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_iso_map_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_reference_spec.rb +72 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_state_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_node_list_item_spec.rb +84 -0
- data/spec/models/clustermgmt_v40_config_hypervisor_upload_param_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_ipmi_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_key_management_device_to_cert_status_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_key_management_server_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_clusters_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_clusters_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_disks_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_disks_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_hosts_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_managed_cluster_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_management_server_ref_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_management_server_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_mount_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_name_mac_ref_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_name_network_ref_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_network_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_network_switch_interface_spec.rb +126 -0
- data/spec/models/clustermgmt_v40_config_node_details_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_node_discovery_params_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_config_node_info_spec.rb +120 -0
- data/spec/models/clustermgmt_v40_config_node_item_spec.rb +126 -0
- data/spec/models/clustermgmt_v40_config_node_list_item_reference_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_node_list_networking_details_spec.rb +120 -0
- data/spec/models/clustermgmt_v40_config_node_network_config_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_node_networking_details_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_node_param_spec.rb +72 -0
- data/spec/models/clustermgmt_v40_config_node_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_node_removal_extra_param_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_node_removal_params_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_node_resource_config_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_node_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_non_compatible_cluster_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_non_migratable_vm_info_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_non_migratable_vms_result_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_on_disk_dedup_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_operation_mode_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_partition_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_physical_gpu_config_spec.rb +90 -0
- data/spec/models/clustermgmt_v40_config_physical_gpu_profile_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_pii_scrubbing_level_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_public_key_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_pulse_status_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_rack_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_rackable_unit_model_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_rackable_unit_node_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_rackable_unit_spec.rb +84 -0
- data/spec/models/clustermgmt_v40_config_redundancy_status_details_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_register_vcenter_extension_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_remove_node_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_remove_snmp_transports_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_rsyslog_module_item_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_rsyslog_module_log_severity_level_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_rsyslog_module_name_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_rsyslog_network_protocol_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_rsyslog_server_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_smtp_network_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_config_smtp_server_ref_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_smtp_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_snmp_auth_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_snmp_config_spec.rb +72 -0
- data/spec/models/clustermgmt_v40_config_snmp_priv_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_snmp_protocol_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_snmp_status_param_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_snmp_transport_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_snmp_trap_spec.rb +102 -0
- data/spec/models/clustermgmt_v40_config_snmp_trap_version_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_snmp_user_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_software_map_reference_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_software_type_ref_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_storage_container_spec.rb +210 -0
- data/spec/models/clustermgmt_v40_config_storage_summary_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_storage_tier_reference_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_storage_tier_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_task_response_all_of_response_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_task_response_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_task_response_type_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_tolerance_message_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_unconfigure_node_details_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_unconfigured_node_attribute_map_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_unconfigured_node_list_item_spec.rb +156 -0
- data/spec/models/clustermgmt_v40_config_unmount_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_bmc_info_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_cluster_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_cluster_profile_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_rsyslog_server_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_snmp_status_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_snmp_trap_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_snmp_user_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_update_storage_container_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_upgrade_status_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_config_uplink_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_uplink_network_item_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_uplink_node_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_uplinks_field_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_uplinks_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_upload_info_node_item_spec.rb +78 -0
- data/spec/models/clustermgmt_v40_config_user_info_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_validate_bundle_info_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_validate_node_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_validate_node_param_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_config_validate_node_param_spec_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_config_vcenter_credentials_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_config_vcenter_extension_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_config_vcenter_info_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_config_virtual_gpu_config_spec.rb +120 -0
- data/spec/models/clustermgmt_v40_config_virtual_gpu_profile_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_config_virtual_nic_spec.rb +120 -0
- data/spec/models/clustermgmt_v40_error_app_message_spec.rb +66 -0
- data/spec/models/clustermgmt_v40_error_error_response_error_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_error_error_response_spec.rb +36 -0
- data/spec/models/clustermgmt_v40_error_message_severity_spec.rb +30 -0
- data/spec/models/clustermgmt_v40_error_schema_validation_error_message_spec.rb +48 -0
- data/spec/models/clustermgmt_v40_error_schema_validation_error_spec.rb +60 -0
- data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_spec_spec.rb +54 -0
- data/spec/models/clustermgmt_v40_operations_exit_host_maintenance_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_operations_host_maintenance_common_spec_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_stats_cluster_stats_spec.rb +330 -0
- data/spec/models/clustermgmt_v40_stats_disk_stats_spec.rb +246 -0
- data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_stats_host_stats_api_response_data_spec.rb +32 -0
- data/spec/models/clustermgmt_v40_stats_host_stats_api_response_spec.rb +42 -0
- data/spec/models/clustermgmt_v40_stats_host_stats_spec.rb +324 -0
- data/spec/models/clustermgmt_v40_stats_storage_container_stats_spec.rb +324 -0
- data/spec/models/clustermgmt_v40_stats_time_value_pair_spec.rb +42 -0
- data/spec/models/common_v10_config_basic_auth_spec.rb +42 -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_ip_address_spec.rb +42 -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_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/common_v10_stats_time_int_value_pair_spec.rb +42 -0
- data/spec/models/create_cluster202_response_spec.rb +42 -0
- data/spec/models/create_cluster4_xx_response_spec.rb +42 -0
- data/spec/models/create_cluster_profile202_response_spec.rb +42 -0
- data/spec/models/create_cluster_profile4_xx_response_spec.rb +42 -0
- data/spec/models/create_rsyslog_server202_response_spec.rb +42 -0
- data/spec/models/create_rsyslog_server4_xx_response_spec.rb +42 -0
- data/spec/models/create_snmp_trap202_response_spec.rb +42 -0
- data/spec/models/create_snmp_trap4_xx_response_spec.rb +42 -0
- data/spec/models/create_snmp_user202_response_spec.rb +42 -0
- data/spec/models/create_snmp_user4_xx_response_spec.rb +42 -0
- data/spec/models/create_storage_container202_response_spec.rb +42 -0
- data/spec/models/create_storage_container4_xx_response_spec.rb +42 -0
- data/spec/models/delete_cluster_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_cluster_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_cluster_profile_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_cluster_profile_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_disk_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_rsyslog_server_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_snmp_trap_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_snmp_trap_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_snmp_user_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_snmp_user_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_storage_container_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_storage_container_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/disassociate_categories_from_cluster202_response_spec.rb +42 -0
- data/spec/models/disassociate_categories_from_cluster4_xx_response_spec.rb +42 -0
- data/spec/models/disassociate_cluster_from_cluster_profile202_response_spec.rb +42 -0
- data/spec/models/disassociate_cluster_from_cluster_profile4_xx_response_spec.rb +42 -0
- data/spec/models/discover_unconfigured_nodes202_response_spec.rb +42 -0
- data/spec/models/discover_unconfigured_nodes4_xx_response_spec.rb +42 -0
- data/spec/models/enter_host_maintenance202_response_spec.rb +42 -0
- data/spec/models/enter_host_maintenance4_xx_response_spec.rb +42 -0
- data/spec/models/exit_host_maintenance202_response_spec.rb +42 -0
- data/spec/models/exit_host_maintenance4_xx_response_spec.rb +42 -0
- data/spec/models/expand_cluster202_response_spec.rb +42 -0
- data/spec/models/expand_cluster4_xx_response_spec.rb +42 -0
- data/spec/models/fetch_node_networking_details202_response_spec.rb +42 -0
- data/spec/models/fetch_node_networking_details4_xx_response_spec.rb +42 -0
- data/spec/models/fetch_task_response200_response_spec.rb +42 -0
- data/spec/models/fetch_task_response4_xx_response_spec.rb +42 -0
- data/spec/models/get_bmc_info200_response_spec.rb +42 -0
- data/spec/models/get_bmc_info4_xx_response_spec.rb +42 -0
- data/spec/models/get_cluster_by_id200_response_spec.rb +42 -0
- data/spec/models/get_cluster_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_cluster_profile_by_id200_response_spec.rb +42 -0
- data/spec/models/get_cluster_profile_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_cluster_stats200_response_spec.rb +42 -0
- data/spec/models/get_cluster_stats4_xx_response_spec.rb +42 -0
- data/spec/models/get_disk_by_id200_response_spec.rb +42 -0
- data/spec/models/get_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_disk_stats200_response_spec.rb +42 -0
- data/spec/models/get_disk_stats4_xx_response_spec.rb +42 -0
- data/spec/models/get_host_by_id200_response_spec.rb +42 -0
- data/spec/models/get_host_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_host_nic_by_id200_response_spec.rb +42 -0
- data/spec/models/get_host_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_host_stats200_response_spec.rb +42 -0
- data/spec/models/get_host_stats4_xx_response_spec.rb +42 -0
- data/spec/models/get_rackable_unit_by_id200_response_spec.rb +42 -0
- data/spec/models/get_rackable_unit_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_rsyslog_server_by_id200_response_spec.rb +42 -0
- data/spec/models/get_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_snmp_config_by_cluster_id200_response_spec.rb +42 -0
- data/spec/models/get_snmp_config_by_cluster_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_snmp_trap_by_id200_response_spec.rb +42 -0
- data/spec/models/get_snmp_trap_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_snmp_user_by_id200_response_spec.rb +42 -0
- data/spec/models/get_snmp_user_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_storage_container_by_id200_response_spec.rb +42 -0
- data/spec/models/get_storage_container_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_storage_container_stats200_response_spec.rb +42 -0
- data/spec/models/get_storage_container_stats4_xx_response_spec.rb +42 -0
- data/spec/models/get_vcenter_extension_by_id200_response_spec.rb +42 -0
- data/spec/models/get_vcenter_extension_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_virtual_nic_by_id200_response_spec.rb +42 -0
- data/spec/models/get_virtual_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_cluster_profiles200_response_spec.rb +42 -0
- data/spec/models/list_cluster_profiles4_xx_response_spec.rb +42 -0
- data/spec/models/list_clusters200_response_spec.rb +42 -0
- data/spec/models/list_clusters4_xx_response_spec.rb +42 -0
- data/spec/models/list_data_stores_by_cluster_id200_response_spec.rb +42 -0
- data/spec/models/list_data_stores_by_cluster_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_disks200_response_spec.rb +42 -0
- data/spec/models/list_disks4_xx_response_spec.rb +42 -0
- data/spec/models/list_host_nics_by_host_id200_response_spec.rb +42 -0
- data/spec/models/list_host_nics_by_host_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_hosts200_response_spec.rb +42 -0
- data/spec/models/list_hosts4_xx_response_spec.rb +42 -0
- data/spec/models/list_hosts_by_cluster_id200_response_spec.rb +42 -0
- data/spec/models/list_hosts_by_cluster_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_pcie_devices200_response_spec.rb +42 -0
- data/spec/models/list_pcie_devices4_xx_response_spec.rb +42 -0
- data/spec/models/list_physical_gpu_profiles200_response_spec.rb +42 -0
- data/spec/models/list_physical_gpu_profiles4_xx_response_spec.rb +42 -0
- data/spec/models/list_rackable_units_by_cluster_id200_response_spec.rb +42 -0
- data/spec/models/list_rackable_units_by_cluster_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_rsyslog_servers_by_cluster_id200_response_spec.rb +42 -0
- data/spec/models/list_rsyslog_servers_by_cluster_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_storage_containers200_response_spec.rb +42 -0
- data/spec/models/list_storage_containers4_xx_response_spec.rb +42 -0
- data/spec/models/list_vcenter_extensions200_response_spec.rb +42 -0
- data/spec/models/list_vcenter_extensions4_xx_response_spec.rb +42 -0
- data/spec/models/list_virtual_gpu_profiles200_response_spec.rb +42 -0
- data/spec/models/list_virtual_gpu_profiles4_xx_response_spec.rb +42 -0
- data/spec/models/list_virtual_nics_by_host_id200_response_spec.rb +42 -0
- data/spec/models/list_virtual_nics_by_host_id4_xx_response_spec.rb +42 -0
- data/spec/models/mount_storage_container202_response_spec.rb +42 -0
- data/spec/models/mount_storage_container4_xx_response_spec.rb +42 -0
- data/spec/models/prism_v40_config_task_reference_spec.rb +36 -0
- data/spec/models/register_vcenter_extension202_response_spec.rb +42 -0
- data/spec/models/register_vcenter_extension4_xx_response_spec.rb +42 -0
- data/spec/models/remove_node202_response_spec.rb +42 -0
- data/spec/models/remove_node4_xx_response_spec.rb +42 -0
- data/spec/models/remove_snmp_transport202_response_spec.rb +42 -0
- data/spec/models/remove_snmp_transport4_xx_response_spec.rb +42 -0
- data/spec/models/unmount_storage_container202_response_spec.rb +42 -0
- data/spec/models/unmount_storage_container4_xx_response_spec.rb +42 -0
- data/spec/models/unregister_vcenter_extension202_response_spec.rb +42 -0
- data/spec/models/unregister_vcenter_extension4_xx_response_spec.rb +42 -0
- data/spec/models/update_bmc_info202_response_spec.rb +42 -0
- data/spec/models/update_bmc_info4_xx_response_spec.rb +42 -0
- data/spec/models/update_cluster_by_id202_response_spec.rb +42 -0
- data/spec/models/update_cluster_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_cluster_profile_by_id202_response_spec.rb +42 -0
- data/spec/models/update_cluster_profile_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_rsyslog_server_by_id202_response_spec.rb +42 -0
- data/spec/models/update_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_snmp_status202_response_spec.rb +42 -0
- data/spec/models/update_snmp_status4_xx_response_spec.rb +42 -0
- data/spec/models/update_snmp_trap_by_id202_response_spec.rb +42 -0
- data/spec/models/update_snmp_trap_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_snmp_user_by_id202_response_spec.rb +42 -0
- data/spec/models/update_snmp_user_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_storage_container_by_id202_response_spec.rb +42 -0
- data/spec/models/update_storage_container_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/validate_node202_response_spec.rb +42 -0
- data/spec/models/validate_node4_xx_response_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger-clustermgmt-v4.0-all.yaml +25015 -0
- metadata +1923 -0
@@ -0,0 +1,394 @@
|
|
1
|
+
=begin
|
2
|
+
#Nutanix Cluster Management APIs
|
3
|
+
|
4
|
+
#Manage Hosts, Clusters and other Infrastructure.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 4.0.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'json'
|
15
|
+
require 'logger'
|
16
|
+
require 'tempfile'
|
17
|
+
require 'time'
|
18
|
+
require 'typhoeus'
|
19
|
+
|
20
|
+
|
21
|
+
module NutanixClustermgmt
|
22
|
+
class ApiClient
|
23
|
+
# The Configuration object holding settings to be used in the API client.
|
24
|
+
attr_accessor :config
|
25
|
+
|
26
|
+
# Defines the headers to be used in HTTP requests of all API calls by default.
|
27
|
+
#
|
28
|
+
# @return [Hash]
|
29
|
+
attr_accessor :default_headers
|
30
|
+
|
31
|
+
# Initializes the ApiClient
|
32
|
+
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
33
|
+
def initialize(config = Configuration.default)
|
34
|
+
@config = config
|
35
|
+
@user_agent = "OpenAPI-Generator/#{VERSION}/ruby"
|
36
|
+
@default_headers = {
|
37
|
+
'Content-Type' => 'application/json',
|
38
|
+
'User-Agent' => @user_agent
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.default
|
43
|
+
@@default ||= ApiClient.new
|
44
|
+
end
|
45
|
+
|
46
|
+
# Call an API with given options.
|
47
|
+
#
|
48
|
+
# @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
|
49
|
+
# the data deserialized from response body (may be a Tempfile or nil), response status code and response headers.
|
50
|
+
def call_api(http_method, path, opts = {})
|
51
|
+
request = build_request(http_method, path, opts)
|
52
|
+
tempfile = download_file(request) if opts[:return_type] == 'File'
|
53
|
+
response = request.run
|
54
|
+
|
55
|
+
if @config.debugging
|
56
|
+
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
57
|
+
end
|
58
|
+
|
59
|
+
unless response.success?
|
60
|
+
if response.timed_out?
|
61
|
+
fail ApiError.new('Connection timed out')
|
62
|
+
elsif response.code == 0
|
63
|
+
# Errors from libcurl will be made visible here
|
64
|
+
fail ApiError.new(:code => 0,
|
65
|
+
:message => response.return_message)
|
66
|
+
else
|
67
|
+
fail ApiError.new(:code => response.code,
|
68
|
+
:response_headers => response.headers,
|
69
|
+
:response_body => response.body),
|
70
|
+
response.status_message
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
if opts[:return_type] == 'File'
|
75
|
+
data = tempfile
|
76
|
+
elsif opts[:return_type]
|
77
|
+
data = deserialize(response, opts[:return_type])
|
78
|
+
else
|
79
|
+
data = nil
|
80
|
+
end
|
81
|
+
return data, response.code, response.headers
|
82
|
+
end
|
83
|
+
|
84
|
+
# Builds the HTTP request
|
85
|
+
#
|
86
|
+
# @param [String] http_method HTTP method/verb (e.g. POST)
|
87
|
+
# @param [String] path URL path (e.g. /account/new)
|
88
|
+
# @option opts [Hash] :header_params Header parameters
|
89
|
+
# @option opts [Hash] :query_params Query parameters
|
90
|
+
# @option opts [Hash] :form_params Query parameters
|
91
|
+
# @option opts [Object] :body HTTP body (JSON/XML)
|
92
|
+
# @return [Typhoeus::Request] A Typhoeus Request
|
93
|
+
def build_request(http_method, path, opts = {})
|
94
|
+
url = build_request_url(path, opts)
|
95
|
+
http_method = http_method.to_sym.downcase
|
96
|
+
|
97
|
+
header_params = @default_headers.merge(opts[:header_params] || {})
|
98
|
+
query_params = opts[:query_params] || {}
|
99
|
+
form_params = opts[:form_params] || {}
|
100
|
+
follow_location = opts[:follow_location] || true
|
101
|
+
|
102
|
+
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
103
|
+
|
104
|
+
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
105
|
+
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
106
|
+
|
107
|
+
req_opts = {
|
108
|
+
:method => http_method,
|
109
|
+
:headers => header_params,
|
110
|
+
:params => query_params,
|
111
|
+
:params_encoding => @config.params_encoding,
|
112
|
+
:timeout => @config.timeout,
|
113
|
+
:ssl_verifypeer => @config.verify_ssl,
|
114
|
+
:ssl_verifyhost => _verify_ssl_host,
|
115
|
+
:sslcert => @config.cert_file,
|
116
|
+
:sslkey => @config.key_file,
|
117
|
+
:verbose => @config.debugging,
|
118
|
+
:followlocation => follow_location
|
119
|
+
}
|
120
|
+
|
121
|
+
# set custom cert, if provided
|
122
|
+
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
123
|
+
|
124
|
+
if [:post, :patch, :put, :delete].include?(http_method)
|
125
|
+
req_body = build_request_body(header_params, form_params, opts[:body])
|
126
|
+
req_opts.update :body => req_body
|
127
|
+
if @config.debugging
|
128
|
+
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
Typhoeus::Request.new(url, req_opts)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Builds the HTTP request body
|
136
|
+
#
|
137
|
+
# @param [Hash] header_params Header parameters
|
138
|
+
# @param [Hash] form_params Query parameters
|
139
|
+
# @param [Object] body HTTP body (JSON/XML)
|
140
|
+
# @return [String] HTTP body data in the form of string
|
141
|
+
def build_request_body(header_params, form_params, body)
|
142
|
+
# http form
|
143
|
+
if header_params['Content-Type'] == 'application/x-www-form-urlencoded' ||
|
144
|
+
header_params['Content-Type'] == 'multipart/form-data'
|
145
|
+
data = {}
|
146
|
+
form_params.each do |key, value|
|
147
|
+
case value
|
148
|
+
when ::File, ::Array, nil
|
149
|
+
# let typhoeus handle File, Array and nil parameters
|
150
|
+
data[key] = value
|
151
|
+
else
|
152
|
+
data[key] = value.to_s
|
153
|
+
end
|
154
|
+
end
|
155
|
+
elsif body
|
156
|
+
data = body.is_a?(String) ? body : body.to_json
|
157
|
+
else
|
158
|
+
data = nil
|
159
|
+
end
|
160
|
+
data
|
161
|
+
end
|
162
|
+
|
163
|
+
# Save response body into a file in (the defined) temporary folder, using the filename
|
164
|
+
# from the "Content-Disposition" header if provided, otherwise a random filename.
|
165
|
+
# The response body is written to the file in chunks in order to handle files which
|
166
|
+
# size is larger than maximum Ruby String or even larger than the maximum memory a Ruby
|
167
|
+
# process can use.
|
168
|
+
#
|
169
|
+
# @see Configuration#temp_folder_path
|
170
|
+
#
|
171
|
+
# @return [Tempfile] the tempfile generated
|
172
|
+
def download_file(request)
|
173
|
+
tempfile = nil
|
174
|
+
encoding = nil
|
175
|
+
request.on_headers do |response|
|
176
|
+
content_disposition = response.headers['Content-Disposition']
|
177
|
+
if content_disposition && content_disposition =~ /filename=/i
|
178
|
+
filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
|
179
|
+
prefix = sanitize_filename(filename)
|
180
|
+
else
|
181
|
+
prefix = 'download-'
|
182
|
+
end
|
183
|
+
prefix = prefix + '-' unless prefix.end_with?('-')
|
184
|
+
encoding = response.body.encoding
|
185
|
+
tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
|
186
|
+
end
|
187
|
+
request.on_body do |chunk|
|
188
|
+
chunk.force_encoding(encoding)
|
189
|
+
tempfile.write(chunk)
|
190
|
+
end
|
191
|
+
# run the request to ensure the tempfile is created successfully before returning it
|
192
|
+
request.run
|
193
|
+
if tempfile
|
194
|
+
tempfile.close
|
195
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
196
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
197
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
198
|
+
"explicitly with `tempfile.delete`"
|
199
|
+
else
|
200
|
+
fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
|
201
|
+
end
|
202
|
+
|
203
|
+
tempfile
|
204
|
+
end
|
205
|
+
|
206
|
+
# Check if the given MIME is a JSON MIME.
|
207
|
+
# JSON MIME examples:
|
208
|
+
# application/json
|
209
|
+
# application/json; charset=UTF8
|
210
|
+
# APPLICATION/JSON
|
211
|
+
# */*
|
212
|
+
# @param [String] mime MIME
|
213
|
+
# @return [Boolean] True if the MIME is application/json
|
214
|
+
def json_mime?(mime)
|
215
|
+
(mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil?
|
216
|
+
end
|
217
|
+
|
218
|
+
# Deserialize the response to the given return type.
|
219
|
+
#
|
220
|
+
# @param [Response] response HTTP response
|
221
|
+
# @param [String] return_type some examples: "User", "Array<User>", "Hash<String, Integer>"
|
222
|
+
def deserialize(response, return_type)
|
223
|
+
body = response.body
|
224
|
+
return nil if body.nil? || body.empty?
|
225
|
+
|
226
|
+
# return response body directly for String return type
|
227
|
+
return body.to_s if return_type == 'String'
|
228
|
+
|
229
|
+
# ensuring a default content type
|
230
|
+
content_type = response.headers['Content-Type'] || 'application/json'
|
231
|
+
|
232
|
+
fail "Content-Type is not supported: #{content_type}" unless json_mime?(content_type)
|
233
|
+
|
234
|
+
begin
|
235
|
+
data = JSON.parse("[#{body}]", :symbolize_names => true)[0]
|
236
|
+
rescue JSON::ParserError => e
|
237
|
+
if %w(String Date Time).include?(return_type)
|
238
|
+
data = body
|
239
|
+
else
|
240
|
+
raise e
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
convert_to_type data, return_type
|
245
|
+
end
|
246
|
+
|
247
|
+
# Convert data to the given return type.
|
248
|
+
# @param [Object] data Data to be converted
|
249
|
+
# @param [String] return_type Return type
|
250
|
+
# @return [Mixed] Data in a particular type
|
251
|
+
def convert_to_type(data, return_type)
|
252
|
+
return nil if data.nil?
|
253
|
+
case return_type
|
254
|
+
when 'String'
|
255
|
+
data.to_s
|
256
|
+
when 'Integer'
|
257
|
+
data.to_i
|
258
|
+
when 'Float'
|
259
|
+
data.to_f
|
260
|
+
when 'Boolean'
|
261
|
+
data == true
|
262
|
+
when 'Time'
|
263
|
+
# parse date time (expecting ISO 8601 format)
|
264
|
+
Time.parse data
|
265
|
+
when 'Date'
|
266
|
+
# parse date time (expecting ISO 8601 format)
|
267
|
+
Date.parse data
|
268
|
+
when 'Object'
|
269
|
+
# generic object (usually a Hash), return directly
|
270
|
+
data
|
271
|
+
when /\AArray<(.+)>\z/
|
272
|
+
# e.g. Array<Pet>
|
273
|
+
sub_type = $1
|
274
|
+
data.map { |item| convert_to_type(item, sub_type) }
|
275
|
+
when /\AHash\<String, (.+)\>\z/
|
276
|
+
# e.g. Hash<String, Integer>
|
277
|
+
sub_type = $1
|
278
|
+
{}.tap do |hash|
|
279
|
+
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
280
|
+
end
|
281
|
+
else
|
282
|
+
# models (e.g. Pet) or oneOf
|
283
|
+
klass = NutanixClustermgmt.const_get(return_type)
|
284
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# Sanitize filename by removing path.
|
289
|
+
# e.g. ../../sun.gif becomes sun.gif
|
290
|
+
#
|
291
|
+
# @param [String] filename the filename to be sanitized
|
292
|
+
# @return [String] the sanitized filename
|
293
|
+
def sanitize_filename(filename)
|
294
|
+
filename.split(/[\/\\]/).last
|
295
|
+
end
|
296
|
+
|
297
|
+
def build_request_url(path, opts = {})
|
298
|
+
# Add leading and trailing slashes to path
|
299
|
+
path = "/#{path}".gsub(/\/+/, '/')
|
300
|
+
@config.base_url(opts[:operation]) + path
|
301
|
+
end
|
302
|
+
|
303
|
+
# Update header and query params based on authentication settings.
|
304
|
+
#
|
305
|
+
# @param [Hash] header_params Header parameters
|
306
|
+
# @param [Hash] query_params Query parameters
|
307
|
+
# @param [String] auth_names Authentication scheme name
|
308
|
+
def update_params_for_auth!(header_params, query_params, auth_names)
|
309
|
+
Array(auth_names).each do |auth_name|
|
310
|
+
auth_setting = @config.auth_settings[auth_name]
|
311
|
+
next unless auth_setting
|
312
|
+
case auth_setting[:in]
|
313
|
+
when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
|
314
|
+
when 'query' then query_params[auth_setting[:key]] = auth_setting[:value]
|
315
|
+
else fail ArgumentError, 'Authentication token must be in `query` or `header`'
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
# Sets user agent in HTTP header
|
321
|
+
#
|
322
|
+
# @param [String] user_agent User agent (e.g. openapi-generator/ruby/1.0.0)
|
323
|
+
def user_agent=(user_agent)
|
324
|
+
@user_agent = user_agent
|
325
|
+
@default_headers['User-Agent'] = @user_agent
|
326
|
+
end
|
327
|
+
|
328
|
+
# Return Accept header based on an array of accepts provided.
|
329
|
+
# @param [Array] accepts array for Accept
|
330
|
+
# @return [String] the Accept header (e.g. application/json)
|
331
|
+
def select_header_accept(accepts)
|
332
|
+
return nil if accepts.nil? || accepts.empty?
|
333
|
+
# use JSON when present, otherwise use all of the provided
|
334
|
+
json_accept = accepts.find { |s| json_mime?(s) }
|
335
|
+
json_accept || accepts.join(',')
|
336
|
+
end
|
337
|
+
|
338
|
+
# Return Content-Type header based on an array of content types provided.
|
339
|
+
# @param [Array] content_types array for Content-Type
|
340
|
+
# @return [String] the Content-Type header (e.g. application/json)
|
341
|
+
def select_header_content_type(content_types)
|
342
|
+
# return nil by default
|
343
|
+
return if content_types.nil? || content_types.empty?
|
344
|
+
# use JSON when present, otherwise use the first one
|
345
|
+
json_content_type = content_types.find { |s| json_mime?(s) }
|
346
|
+
json_content_type || content_types.first
|
347
|
+
end
|
348
|
+
|
349
|
+
# Convert object (array, hash, object, etc) to JSON string.
|
350
|
+
# @param [Object] model object to be converted into JSON string
|
351
|
+
# @return [String] JSON string representation of the object
|
352
|
+
def object_to_http_body(model)
|
353
|
+
return model if model.nil? || model.is_a?(String)
|
354
|
+
local_body = nil
|
355
|
+
if model.is_a?(Array)
|
356
|
+
local_body = model.map { |m| object_to_hash(m) }
|
357
|
+
else
|
358
|
+
local_body = object_to_hash(model)
|
359
|
+
end
|
360
|
+
local_body.to_json
|
361
|
+
end
|
362
|
+
|
363
|
+
# Convert object(non-array) to hash.
|
364
|
+
# @param [Object] obj object to be converted into JSON string
|
365
|
+
# @return [String] JSON string representation of the object
|
366
|
+
def object_to_hash(obj)
|
367
|
+
if obj.respond_to?(:to_hash)
|
368
|
+
obj.to_hash
|
369
|
+
else
|
370
|
+
obj
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# Build parameter value according to the given collection format.
|
375
|
+
# @param [String] collection_format one of :csv, :ssv, :tsv, :pipes and :multi
|
376
|
+
def build_collection_param(param, collection_format)
|
377
|
+
case collection_format
|
378
|
+
when :csv
|
379
|
+
param.join(',')
|
380
|
+
when :ssv
|
381
|
+
param.join(' ')
|
382
|
+
when :tsv
|
383
|
+
param.join("\t")
|
384
|
+
when :pipes
|
385
|
+
param.join('|')
|
386
|
+
when :multi
|
387
|
+
# return the array directly as typhoeus will handle it as expected
|
388
|
+
param
|
389
|
+
else
|
390
|
+
fail "unknown collection format: #{collection_format.inspect}"
|
391
|
+
end
|
392
|
+
end
|
393
|
+
end
|
394
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Nutanix Cluster Management APIs
|
3
|
+
|
4
|
+
#Manage Hosts, Clusters and other Infrastructure.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 4.0.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
module NutanixClustermgmt
|
14
|
+
class ApiError < StandardError
|
15
|
+
attr_reader :code, :response_headers, :response_body
|
16
|
+
|
17
|
+
# Usage examples:
|
18
|
+
# ApiError.new
|
19
|
+
# ApiError.new("message")
|
20
|
+
# ApiError.new(:code => 500, :response_headers => {}, :response_body => "")
|
21
|
+
# ApiError.new(:code => 404, :message => "Not Found")
|
22
|
+
def initialize(arg = nil)
|
23
|
+
if arg.is_a? Hash
|
24
|
+
if arg.key?(:message) || arg.key?('message')
|
25
|
+
super(arg[:message] || arg['message'])
|
26
|
+
else
|
27
|
+
super arg
|
28
|
+
end
|
29
|
+
|
30
|
+
arg.each do |k, v|
|
31
|
+
instance_variable_set "@#{k}", v
|
32
|
+
end
|
33
|
+
else
|
34
|
+
super arg
|
35
|
+
@message = arg
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# Override to_s to display a friendly error message
|
40
|
+
def to_s
|
41
|
+
message
|
42
|
+
end
|
43
|
+
|
44
|
+
def message
|
45
|
+
if @message.nil?
|
46
|
+
msg = "Error message: the server returns an error"
|
47
|
+
else
|
48
|
+
msg = @message
|
49
|
+
end
|
50
|
+
|
51
|
+
msg += "\nHTTP status code: #{code}" if code
|
52
|
+
msg += "\nResponse headers: #{response_headers}" if response_headers
|
53
|
+
msg += "\nResponse body: #{response_body}" if response_body
|
54
|
+
|
55
|
+
msg
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|