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.
Files changed (1387) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile +9 -0
  4. data/README.md +636 -0
  5. data/Rakefile +10 -0
  6. data/docs/AddDisk202Response.md +20 -0
  7. data/docs/AddDisk4XXResponse.md +20 -0
  8. data/docs/AddSnmpTransport202Response.md +20 -0
  9. data/docs/AddSnmpTransport4XXResponse.md +20 -0
  10. data/docs/ApplyClusterProfile202Response.md +20 -0
  11. data/docs/ApplyClusterProfile4XXResponse.md +20 -0
  12. data/docs/AssociateCategoriesToCluster202Response.md +20 -0
  13. data/docs/AssociateCategoriesToCluster4XXResponse.md +20 -0
  14. data/docs/BmcApi.md +169 -0
  15. data/docs/CheckHypervisorRequirements202Response.md +20 -0
  16. data/docs/CheckHypervisorRequirements4XXResponse.md +20 -0
  17. data/docs/ClusterProfilesApi.md +575 -0
  18. data/docs/ClustermgmtV40AhvConfigListPcieDevicesApiResponse.md +20 -0
  19. data/docs/ClustermgmtV40AhvConfigListPcieDevicesApiResponseData.md +49 -0
  20. data/docs/ClustermgmtV40AhvConfigPcieDevice.md +34 -0
  21. data/docs/ClustermgmtV40AhvConfigPcieDeviceConfiguration.md +30 -0
  22. data/docs/ClustermgmtV40AhvConfigPcieDeviceState.md +15 -0
  23. data/docs/ClustermgmtV40ConfigAcropolisConnectionState.md +15 -0
  24. data/docs/ClustermgmtV40ConfigAddDiskApiResponse.md +20 -0
  25. data/docs/ClustermgmtV40ConfigAddSnmpTransportsApiResponse.md +20 -0
  26. data/docs/ClustermgmtV40ConfigAddressType.md +15 -0
  27. data/docs/ClustermgmtV40ConfigApplyClusterProfileApiResponse.md +20 -0
  28. data/docs/ClustermgmtV40ConfigAssociateCategoriesToClusterApiResponse.md +20 -0
  29. data/docs/ClustermgmtV40ConfigAssociateCategoriesToClusterApiResponseData.md +49 -0
  30. data/docs/ClustermgmtV40ConfigAttributeItem.md +20 -0
  31. data/docs/ClustermgmtV40ConfigAuthorizedPublicKey.md +20 -0
  32. data/docs/ClustermgmtV40ConfigBackplaneNetworkParams.md +24 -0
  33. data/docs/ClustermgmtV40ConfigBlockItem.md +20 -0
  34. data/docs/ClustermgmtV40ConfigBmcInfo.md +22 -0
  35. data/docs/ClustermgmtV40ConfigBuildInfo.md +18 -0
  36. data/docs/ClustermgmtV40ConfigBuildReference.md +26 -0
  37. data/docs/ClustermgmtV40ConfigBundleInfo.md +18 -0
  38. data/docs/ClustermgmtV40ConfigBundleParam.md +20 -0
  39. data/docs/ClustermgmtV40ConfigCacheDeduplication.md +15 -0
  40. data/docs/ClustermgmtV40ConfigCategoryEntityReferences.md +18 -0
  41. data/docs/ClustermgmtV40ConfigCheckHypervisorRequirementsApiResponse.md +20 -0
  42. data/docs/ClustermgmtV40ConfigCluster.md +44 -0
  43. data/docs/ClustermgmtV40ConfigClusterArchReference.md +15 -0
  44. data/docs/ClustermgmtV40ConfigClusterConfig.md +20 -0
  45. data/docs/ClustermgmtV40ConfigClusterConfigReference.md +54 -0
  46. data/docs/ClustermgmtV40ConfigClusterFaultToleranceRef.md +15 -0
  47. data/docs/ClustermgmtV40ConfigClusterFunctionRef.md +15 -0
  48. data/docs/ClustermgmtV40ConfigClusterNetwork.md +24 -0
  49. data/docs/ClustermgmtV40ConfigClusterNetworkReference.md +48 -0
  50. data/docs/ClustermgmtV40ConfigClusterProfile.md +56 -0
  51. data/docs/ClustermgmtV40ConfigClusterReference.md +20 -0
  52. data/docs/ClustermgmtV40ConfigClusterReferenceListSpec.md +18 -0
  53. data/docs/ClustermgmtV40ConfigComponentFaultTolerance.md +26 -0
  54. data/docs/ClustermgmtV40ConfigComponentType.md +15 -0
  55. data/docs/ClustermgmtV40ConfigComputeNodeItem.md +32 -0
  56. data/docs/ClustermgmtV40ConfigComputeNonMigratableVmsSpec.md +20 -0
  57. data/docs/ClustermgmtV40ConfigConfigParams.md +32 -0
  58. data/docs/ClustermgmtV40ConfigConfigType.md +15 -0
  59. data/docs/ClustermgmtV40ConfigControllerVmReference.md +28 -0
  60. data/docs/ClustermgmtV40ConfigCreateClusterApiResponse.md +20 -0
  61. data/docs/ClustermgmtV40ConfigCreateClusterProfileApiResponse.md +20 -0
  62. data/docs/ClustermgmtV40ConfigCreateRsyslogServerApiResponse.md +20 -0
  63. data/docs/ClustermgmtV40ConfigCreateSnmpTrapApiResponse.md +20 -0
  64. data/docs/ClustermgmtV40ConfigCreateSnmpUserApiResponse.md +20 -0
  65. data/docs/ClustermgmtV40ConfigCreateStorageContainerApiResponse.md +20 -0
  66. data/docs/ClustermgmtV40ConfigCredentialStatus.md +15 -0
  67. data/docs/ClustermgmtV40ConfigDataStore.md +38 -0
  68. data/docs/ClustermgmtV40ConfigDataStoreMount.md +32 -0
  69. data/docs/ClustermgmtV40ConfigDataStoreUnmount.md +26 -0
  70. data/docs/ClustermgmtV40ConfigDeleteClusterApiResponse.md +20 -0
  71. data/docs/ClustermgmtV40ConfigDeleteClusterProfileApiResponse.md +20 -0
  72. data/docs/ClustermgmtV40ConfigDeleteDiskApiResponse.md +20 -0
  73. data/docs/ClustermgmtV40ConfigDeleteRsyslogServerApiResponse.md +20 -0
  74. data/docs/ClustermgmtV40ConfigDeleteSnmpTrapApiResponse.md +20 -0
  75. data/docs/ClustermgmtV40ConfigDeleteSnmpUserApiResponse.md +20 -0
  76. data/docs/ClustermgmtV40ConfigDeleteStorageContainerApiResponse.md +20 -0
  77. data/docs/ClustermgmtV40ConfigDigitalCertificateMapReference.md +20 -0
  78. data/docs/ClustermgmtV40ConfigDisassociateCategoriesFromClusterApiResponse.md +20 -0
  79. data/docs/ClustermgmtV40ConfigDisassociateClusterFromClusterProfileApiResponse.md +20 -0
  80. data/docs/ClustermgmtV40ConfigDiscoverUnconfiguredNodesApiResponse.md +20 -0
  81. data/docs/ClustermgmtV40ConfigDisk.md +64 -0
  82. data/docs/ClustermgmtV40ConfigDiskAdditionSpec.md +20 -0
  83. data/docs/ClustermgmtV40ConfigDiskAdvanceConfig.md +48 -0
  84. data/docs/ClustermgmtV40ConfigDiskPartitionInfo.md +20 -0
  85. data/docs/ClustermgmtV40ConfigDiskReference.md +26 -0
  86. data/docs/ClustermgmtV40ConfigDiskStatus.md +15 -0
  87. data/docs/ClustermgmtV40ConfigDomainAwarenessLevel.md +15 -0
  88. data/docs/ClustermgmtV40ConfigDomainFaultTolerance.md +20 -0
  89. data/docs/ClustermgmtV40ConfigDomainType.md +15 -0
  90. data/docs/ClustermgmtV40ConfigDriveReplacementOption.md +15 -0
  91. data/docs/ClustermgmtV40ConfigEncryptionOptionInfo.md +15 -0
  92. data/docs/ClustermgmtV40ConfigEncryptionScopeInfo.md +15 -0
  93. data/docs/ClustermgmtV40ConfigEncryptionStatus.md +15 -0
  94. data/docs/ClustermgmtV40ConfigErasureCodeStatus.md +15 -0
  95. data/docs/ClustermgmtV40ConfigExpandClusterApiResponse.md +20 -0
  96. data/docs/ClustermgmtV40ConfigExpandClusterParams.md +24 -0
  97. data/docs/ClustermgmtV40ConfigFaultToleranceState.md +28 -0
  98. data/docs/ClustermgmtV40ConfigFetchNodeNetworkingDetailsApiResponse.md +20 -0
  99. data/docs/ClustermgmtV40ConfigFetchTaskApiResponse.md +20 -0
  100. data/docs/ClustermgmtV40ConfigFetchTaskApiResponseData.md +49 -0
  101. data/docs/ClustermgmtV40ConfigGetBmcInfoResponse.md +20 -0
  102. data/docs/ClustermgmtV40ConfigGetBmcInfoResponseData.md +49 -0
  103. data/docs/ClustermgmtV40ConfigGetClusterApiResponse.md +20 -0
  104. data/docs/ClustermgmtV40ConfigGetClusterApiResponseData.md +49 -0
  105. data/docs/ClustermgmtV40ConfigGetClusterProfileApiResponse.md +20 -0
  106. data/docs/ClustermgmtV40ConfigGetClusterProfileApiResponseData.md +49 -0
  107. data/docs/ClustermgmtV40ConfigGetDiskApiResponse.md +20 -0
  108. data/docs/ClustermgmtV40ConfigGetDiskApiResponseData.md +49 -0
  109. data/docs/ClustermgmtV40ConfigGetHostApiResponse.md +20 -0
  110. data/docs/ClustermgmtV40ConfigGetHostApiResponseData.md +49 -0
  111. data/docs/ClustermgmtV40ConfigGetHostNicApiResponse.md +20 -0
  112. data/docs/ClustermgmtV40ConfigGetHostNicApiResponseData.md +49 -0
  113. data/docs/ClustermgmtV40ConfigGetRackableUnitApiResponse.md +20 -0
  114. data/docs/ClustermgmtV40ConfigGetRackableUnitApiResponseData.md +49 -0
  115. data/docs/ClustermgmtV40ConfigGetRsyslogServerApiResponse.md +20 -0
  116. data/docs/ClustermgmtV40ConfigGetRsyslogServerApiResponseData.md +49 -0
  117. data/docs/ClustermgmtV40ConfigGetSnmpConfigByClusterIdApiResponse.md +20 -0
  118. data/docs/ClustermgmtV40ConfigGetSnmpConfigByClusterIdApiResponseData.md +49 -0
  119. data/docs/ClustermgmtV40ConfigGetSnmpTrapApiResponse.md +20 -0
  120. data/docs/ClustermgmtV40ConfigGetSnmpTrapApiResponseData.md +49 -0
  121. data/docs/ClustermgmtV40ConfigGetSnmpUserApiResponse.md +20 -0
  122. data/docs/ClustermgmtV40ConfigGetSnmpUserApiResponseData.md +49 -0
  123. data/docs/ClustermgmtV40ConfigGetStorageContainerApiResponse.md +20 -0
  124. data/docs/ClustermgmtV40ConfigGetStorageContainerApiResponseData.md +49 -0
  125. data/docs/ClustermgmtV40ConfigGetVcenterExtensionApiResponse.md +20 -0
  126. data/docs/ClustermgmtV40ConfigGetVcenterExtensionApiResponseData.md +49 -0
  127. data/docs/ClustermgmtV40ConfigGetVirtualNicApiResponse.md +20 -0
  128. data/docs/ClustermgmtV40ConfigGetVirtualNicApiResponseData.md +49 -0
  129. data/docs/ClustermgmtV40ConfigGpuMode.md +15 -0
  130. data/docs/ClustermgmtV40ConfigGpuType.md +15 -0
  131. data/docs/ClustermgmtV40ConfigHost.md +90 -0
  132. data/docs/ClustermgmtV40ConfigHostGpu.md +32 -0
  133. data/docs/ClustermgmtV40ConfigHostNameParam.md +18 -0
  134. data/docs/ClustermgmtV40ConfigHostNic.md +62 -0
  135. data/docs/ClustermgmtV40ConfigHostTypeEnum.md +15 -0
  136. data/docs/ClustermgmtV40ConfigHttpProxyConfig.md +28 -0
  137. data/docs/ClustermgmtV40ConfigHttpProxyType.md +15 -0
  138. data/docs/ClustermgmtV40ConfigHttpProxyWhiteListConfig.md +20 -0
  139. data/docs/ClustermgmtV40ConfigHttpProxyWhiteListTargetType.md +15 -0
  140. data/docs/ClustermgmtV40ConfigHypervCredentials.md +20 -0
  141. data/docs/ClustermgmtV40ConfigHypervisorIsoMap.md +20 -0
  142. data/docs/ClustermgmtV40ConfigHypervisorReference.md +30 -0
  143. data/docs/ClustermgmtV40ConfigHypervisorState.md +15 -0
  144. data/docs/ClustermgmtV40ConfigHypervisorType.md +15 -0
  145. data/docs/ClustermgmtV40ConfigHypervisorUploadInfo.md +20 -0
  146. data/docs/ClustermgmtV40ConfigHypervisorUploadNodeListItem.md +34 -0
  147. data/docs/ClustermgmtV40ConfigHypervisorUploadParam.md +18 -0
  148. data/docs/ClustermgmtV40ConfigIpmiReference.md +20 -0
  149. data/docs/ClustermgmtV40ConfigKeyManagementDeviceToCertStatusInfo.md +20 -0
  150. data/docs/ClustermgmtV40ConfigKeyManagementServerType.md +15 -0
  151. data/docs/ClustermgmtV40ConfigListClusterProfilesApiResponse.md +20 -0
  152. data/docs/ClustermgmtV40ConfigListClusterProfilesApiResponseData.md +49 -0
  153. data/docs/ClustermgmtV40ConfigListClustersApiResponse.md +20 -0
  154. data/docs/ClustermgmtV40ConfigListClustersApiResponseData.md +49 -0
  155. data/docs/ClustermgmtV40ConfigListDataStoresByClusterIdApiResponse.md +20 -0
  156. data/docs/ClustermgmtV40ConfigListDataStoresByClusterIdApiResponseData.md +49 -0
  157. data/docs/ClustermgmtV40ConfigListDisksApiResponse.md +20 -0
  158. data/docs/ClustermgmtV40ConfigListDisksApiResponseData.md +49 -0
  159. data/docs/ClustermgmtV40ConfigListHostNicsByHostIdApiResponse.md +20 -0
  160. data/docs/ClustermgmtV40ConfigListHostNicsByHostIdApiResponseData.md +49 -0
  161. data/docs/ClustermgmtV40ConfigListHostsApiResponse.md +20 -0
  162. data/docs/ClustermgmtV40ConfigListHostsByClusterIdApiResponse.md +20 -0
  163. data/docs/ClustermgmtV40ConfigListHostsByClusterIdApiResponseData.md +49 -0
  164. data/docs/ClustermgmtV40ConfigListPhysicalGpuProfilesApiResponse.md +20 -0
  165. data/docs/ClustermgmtV40ConfigListPhysicalGpuProfilesApiResponseData.md +49 -0
  166. data/docs/ClustermgmtV40ConfigListRackableUnitsByClusterIdApiResponse.md +20 -0
  167. data/docs/ClustermgmtV40ConfigListRackableUnitsByClusterIdApiResponseData.md +49 -0
  168. data/docs/ClustermgmtV40ConfigListRsyslogServersByClusterIdApiResponse.md +20 -0
  169. data/docs/ClustermgmtV40ConfigListRsyslogServersByClusterIdApiResponseData.md +49 -0
  170. data/docs/ClustermgmtV40ConfigListStorageContainersApiResponse.md +20 -0
  171. data/docs/ClustermgmtV40ConfigListStorageContainersApiResponseData.md +49 -0
  172. data/docs/ClustermgmtV40ConfigListVcenterExtensionsApiResponse.md +20 -0
  173. data/docs/ClustermgmtV40ConfigListVcenterExtensionsApiResponseData.md +49 -0
  174. data/docs/ClustermgmtV40ConfigListVirtualGpuProfilesApiResponse.md +20 -0
  175. data/docs/ClustermgmtV40ConfigListVirtualGpuProfilesApiResponseData.md +49 -0
  176. data/docs/ClustermgmtV40ConfigListVirtualNicsByHostIdApiResponse.md +20 -0
  177. data/docs/ClustermgmtV40ConfigListVirtualNicsByHostIdApiResponseData.md +49 -0
  178. data/docs/ClustermgmtV40ConfigManagedCluster.md +24 -0
  179. data/docs/ClustermgmtV40ConfigManagementServerRef.md +26 -0
  180. data/docs/ClustermgmtV40ConfigManagementServerType.md +15 -0
  181. data/docs/ClustermgmtV40ConfigMountStorageContainerApiResponse.md +20 -0
  182. data/docs/ClustermgmtV40ConfigMultiDomainFaultToleranceStatus.md +24 -0
  183. data/docs/ClustermgmtV40ConfigNameMacRef.md +20 -0
  184. data/docs/ClustermgmtV40ConfigNameNetworkRef.md +22 -0
  185. data/docs/ClustermgmtV40ConfigNetworkInfo.md +20 -0
  186. data/docs/ClustermgmtV40ConfigNetworkSwitchInterface.md +48 -0
  187. data/docs/ClustermgmtV40ConfigNodeDetails.md +20 -0
  188. data/docs/ClustermgmtV40ConfigNodeDiscoveryParams.md +28 -0
  189. data/docs/ClustermgmtV40ConfigNodeInfo.md +46 -0
  190. data/docs/ClustermgmtV40ConfigNodeItem.md +48 -0
  191. data/docs/ClustermgmtV40ConfigNodeListItemReference.md +22 -0
  192. data/docs/ClustermgmtV40ConfigNodeListNetworkingDetails.md +46 -0
  193. data/docs/ClustermgmtV40ConfigNodeNetworkConfig.md +18 -0
  194. data/docs/ClustermgmtV40ConfigNodeNetworkingDetails.md +22 -0
  195. data/docs/ClustermgmtV40ConfigNodeParam.md +30 -0
  196. data/docs/ClustermgmtV40ConfigNodeReference.md +20 -0
  197. data/docs/ClustermgmtV40ConfigNodeRemovalExtraParam.md +22 -0
  198. data/docs/ClustermgmtV40ConfigNodeRemovalParams.md +24 -0
  199. data/docs/ClustermgmtV40ConfigNodeResourceConfig.md +24 -0
  200. data/docs/ClustermgmtV40ConfigNodeStatus.md +15 -0
  201. data/docs/ClustermgmtV40ConfigNonCompatibleClusterReference.md +20 -0
  202. data/docs/ClustermgmtV40ConfigNonMigratableVmInfo.md +22 -0
  203. data/docs/ClustermgmtV40ConfigNonMigratableVmsResult.md +24 -0
  204. data/docs/ClustermgmtV40ConfigOnDiskDedup.md +15 -0
  205. data/docs/ClustermgmtV40ConfigOperationMode.md +15 -0
  206. data/docs/ClustermgmtV40ConfigPIIScrubbingLevel.md +15 -0
  207. data/docs/ClustermgmtV40ConfigPartitionType.md +15 -0
  208. data/docs/ClustermgmtV40ConfigPhysicalGpuConfig.md +36 -0
  209. data/docs/ClustermgmtV40ConfigPhysicalGpuProfile.md +26 -0
  210. data/docs/ClustermgmtV40ConfigPublicKey.md +20 -0
  211. data/docs/ClustermgmtV40ConfigPulseStatus.md +20 -0
  212. data/docs/ClustermgmtV40ConfigRackReference.md +20 -0
  213. data/docs/ClustermgmtV40ConfigRackableUnit.md +34 -0
  214. data/docs/ClustermgmtV40ConfigRackableUnitModel.md +15 -0
  215. data/docs/ClustermgmtV40ConfigRackableUnitNode.md +22 -0
  216. data/docs/ClustermgmtV40ConfigRedundancyStatusDetails.md +20 -0
  217. data/docs/ClustermgmtV40ConfigRegisterVcenterExtensionApiResponse.md +20 -0
  218. data/docs/ClustermgmtV40ConfigRemoveNodeApiResponse.md +20 -0
  219. data/docs/ClustermgmtV40ConfigRemoveSnmpTransportsApiResponse.md +20 -0
  220. data/docs/ClustermgmtV40ConfigRsyslogModuleItem.md +22 -0
  221. data/docs/ClustermgmtV40ConfigRsyslogModuleLogSeverityLevel.md +15 -0
  222. data/docs/ClustermgmtV40ConfigRsyslogModuleName.md +15 -0
  223. data/docs/ClustermgmtV40ConfigRsyslogNetworkProtocol.md +15 -0
  224. data/docs/ClustermgmtV40ConfigRsyslogServer.md +32 -0
  225. data/docs/ClustermgmtV40ConfigSmtpNetwork.md +24 -0
  226. data/docs/ClustermgmtV40ConfigSmtpServerRef.md +22 -0
  227. data/docs/ClustermgmtV40ConfigSmtpType.md +15 -0
  228. data/docs/ClustermgmtV40ConfigSnmpAuthType.md +15 -0
  229. data/docs/ClustermgmtV40ConfigSnmpConfig.md +30 -0
  230. data/docs/ClustermgmtV40ConfigSnmpPrivType.md +15 -0
  231. data/docs/ClustermgmtV40ConfigSnmpProtocol.md +15 -0
  232. data/docs/ClustermgmtV40ConfigSnmpStatusParam.md +18 -0
  233. data/docs/ClustermgmtV40ConfigSnmpTransport.md +20 -0
  234. data/docs/ClustermgmtV40ConfigSnmpTrap.md +40 -0
  235. data/docs/ClustermgmtV40ConfigSnmpTrapVersion.md +15 -0
  236. data/docs/ClustermgmtV40ConfigSnmpUser.md +32 -0
  237. data/docs/ClustermgmtV40ConfigSoftwareMapReference.md +20 -0
  238. data/docs/ClustermgmtV40ConfigSoftwareTypeRef.md +15 -0
  239. data/docs/ClustermgmtV40ConfigStorageContainer.md +76 -0
  240. data/docs/ClustermgmtV40ConfigStorageSummary.md +18 -0
  241. data/docs/ClustermgmtV40ConfigStorageTier.md +15 -0
  242. data/docs/ClustermgmtV40ConfigStorageTierReference.md +15 -0
  243. data/docs/ClustermgmtV40ConfigTaskResponse.md +26 -0
  244. data/docs/ClustermgmtV40ConfigTaskResponseAllOfResponse.md +55 -0
  245. data/docs/ClustermgmtV40ConfigTaskResponseType.md +15 -0
  246. data/docs/ClustermgmtV40ConfigToleranceMessage.md +20 -0
  247. data/docs/ClustermgmtV40ConfigUnconfigureNodeDetails.md +18 -0
  248. data/docs/ClustermgmtV40ConfigUnconfiguredNodeAttributeMap.md +26 -0
  249. data/docs/ClustermgmtV40ConfigUnconfiguredNodeListItem.md +58 -0
  250. data/docs/ClustermgmtV40ConfigUnmountStorageContainerApiResponse.md +20 -0
  251. data/docs/ClustermgmtV40ConfigUnregisterVcenterExtensionApiResponse.md +20 -0
  252. data/docs/ClustermgmtV40ConfigUpdateBmcInfoResponse.md +20 -0
  253. data/docs/ClustermgmtV40ConfigUpdateClusterApiResponse.md +20 -0
  254. data/docs/ClustermgmtV40ConfigUpdateClusterProfileApiResponse.md +20 -0
  255. data/docs/ClustermgmtV40ConfigUpdateRsyslogServerApiResponse.md +20 -0
  256. data/docs/ClustermgmtV40ConfigUpdateSnmpStatusApiResponse.md +20 -0
  257. data/docs/ClustermgmtV40ConfigUpdateSnmpTrapApiResponse.md +20 -0
  258. data/docs/ClustermgmtV40ConfigUpdateSnmpUserApiResponse.md +20 -0
  259. data/docs/ClustermgmtV40ConfigUpdateStorageContainerApiResponse.md +20 -0
  260. data/docs/ClustermgmtV40ConfigUpgradeStatus.md +15 -0
  261. data/docs/ClustermgmtV40ConfigUplinkInfo.md +20 -0
  262. data/docs/ClustermgmtV40ConfigUplinkNetworkItem.md +22 -0
  263. data/docs/ClustermgmtV40ConfigUplinkNode.md +22 -0
  264. data/docs/ClustermgmtV40ConfigUplinks.md +20 -0
  265. data/docs/ClustermgmtV40ConfigUplinksField.md +22 -0
  266. data/docs/ClustermgmtV40ConfigUploadInfoNodeItem.md +32 -0
  267. data/docs/ClustermgmtV40ConfigUserInfo.md +22 -0
  268. data/docs/ClustermgmtV40ConfigValidateBundleInfo.md +18 -0
  269. data/docs/ClustermgmtV40ConfigValidateNodeApiResponse.md +20 -0
  270. data/docs/ClustermgmtV40ConfigValidateNodeParam.md +18 -0
  271. data/docs/ClustermgmtV40ConfigValidateNodeParamSpec.md +49 -0
  272. data/docs/ClustermgmtV40ConfigVcenterCredentials.md +22 -0
  273. data/docs/ClustermgmtV40ConfigVcenterExtension.md +28 -0
  274. data/docs/ClustermgmtV40ConfigVcenterInfo.md +20 -0
  275. data/docs/ClustermgmtV40ConfigVirtualGpuConfig.md +46 -0
  276. data/docs/ClustermgmtV40ConfigVirtualGpuProfile.md +26 -0
  277. data/docs/ClustermgmtV40ConfigVirtualNic.md +46 -0
  278. data/docs/ClustermgmtV40ErrorAppMessage.md +28 -0
  279. data/docs/ClustermgmtV40ErrorErrorResponse.md +18 -0
  280. data/docs/ClustermgmtV40ErrorErrorResponseError.md +49 -0
  281. data/docs/ClustermgmtV40ErrorMessageSeverity.md +15 -0
  282. data/docs/ClustermgmtV40ErrorSchemaValidationError.md +26 -0
  283. data/docs/ClustermgmtV40ErrorSchemaValidationErrorMessage.md +22 -0
  284. data/docs/ClustermgmtV40OperationsEnterHostMaintenanceApiResponse.md +20 -0
  285. data/docs/ClustermgmtV40OperationsEnterHostMaintenanceSpec.md +24 -0
  286. data/docs/ClustermgmtV40OperationsExitHostMaintenanceApiResponse.md +20 -0
  287. data/docs/ClustermgmtV40OperationsHostMaintenanceCommonSpec.md +20 -0
  288. data/docs/ClustermgmtV40StatsClusterStats.md +116 -0
  289. data/docs/ClustermgmtV40StatsClusterStatsApiResponse.md +20 -0
  290. data/docs/ClustermgmtV40StatsClusterStatsApiResponseData.md +49 -0
  291. data/docs/ClustermgmtV40StatsDiskStats.md +88 -0
  292. data/docs/ClustermgmtV40StatsGetDiskStatsApiResponse.md +20 -0
  293. data/docs/ClustermgmtV40StatsGetDiskStatsApiResponseData.md +49 -0
  294. data/docs/ClustermgmtV40StatsGetStorageContainerStatsApiResponse.md +20 -0
  295. data/docs/ClustermgmtV40StatsGetStorageContainerStatsApiResponseData.md +49 -0
  296. data/docs/ClustermgmtV40StatsHostStats.md +114 -0
  297. data/docs/ClustermgmtV40StatsHostStatsApiResponse.md +20 -0
  298. data/docs/ClustermgmtV40StatsHostStatsApiResponseData.md +49 -0
  299. data/docs/ClustermgmtV40StatsStorageContainerStats.md +114 -0
  300. data/docs/ClustermgmtV40StatsTimeValuePair.md +20 -0
  301. data/docs/ClustersApi.md +3725 -0
  302. data/docs/CommonV10ConfigBasicAuth.md +20 -0
  303. data/docs/CommonV10ConfigFQDN.md +18 -0
  304. data/docs/CommonV10ConfigFlag.md +20 -0
  305. data/docs/CommonV10ConfigIPAddress.md +20 -0
  306. data/docs/CommonV10ConfigIPAddressOrFQDN.md +22 -0
  307. data/docs/CommonV10ConfigIPv4Address.md +20 -0
  308. data/docs/CommonV10ConfigIPv6Address.md +20 -0
  309. data/docs/CommonV10ConfigKVPair.md +20 -0
  310. data/docs/CommonV10ConfigKVPairValue.md +59 -0
  311. data/docs/CommonV10ConfigMapOfStringWrapper.md +18 -0
  312. data/docs/CommonV10ConfigMessage.md +24 -0
  313. data/docs/CommonV10ConfigMessageSeverity.md +15 -0
  314. data/docs/CommonV10ConfigTenantAwareModel.md +18 -0
  315. data/docs/CommonV10ResponseApiLink.md +20 -0
  316. data/docs/CommonV10ResponseApiResponseMetadata.md +26 -0
  317. data/docs/CommonV10ResponseExternalizableAbstractModel.md +22 -0
  318. data/docs/CommonV10StatsDownSamplingOperator.md +15 -0
  319. data/docs/CommonV10StatsTimeIntValuePair.md +20 -0
  320. data/docs/CreateCluster202Response.md +20 -0
  321. data/docs/CreateCluster4XXResponse.md +20 -0
  322. data/docs/CreateClusterProfile202Response.md +20 -0
  323. data/docs/CreateClusterProfile4XXResponse.md +20 -0
  324. data/docs/CreateRsyslogServer202Response.md +20 -0
  325. data/docs/CreateRsyslogServer4XXResponse.md +20 -0
  326. data/docs/CreateSnmpTrap202Response.md +20 -0
  327. data/docs/CreateSnmpTrap4XXResponse.md +20 -0
  328. data/docs/CreateSnmpUser202Response.md +20 -0
  329. data/docs/CreateSnmpUser4XXResponse.md +20 -0
  330. data/docs/CreateStorageContainer202Response.md +20 -0
  331. data/docs/CreateStorageContainer4XXResponse.md +20 -0
  332. data/docs/DeleteClusterById202Response.md +20 -0
  333. data/docs/DeleteClusterById4XXResponse.md +20 -0
  334. data/docs/DeleteClusterProfileById202Response.md +20 -0
  335. data/docs/DeleteClusterProfileById4XXResponse.md +20 -0
  336. data/docs/DeleteDiskById202Response.md +20 -0
  337. data/docs/DeleteDiskById4XXResponse.md +20 -0
  338. data/docs/DeleteRsyslogServerById202Response.md +20 -0
  339. data/docs/DeleteRsyslogServerById4XXResponse.md +20 -0
  340. data/docs/DeleteSnmpTrapById202Response.md +20 -0
  341. data/docs/DeleteSnmpTrapById4XXResponse.md +20 -0
  342. data/docs/DeleteSnmpUserById202Response.md +20 -0
  343. data/docs/DeleteSnmpUserById4XXResponse.md +20 -0
  344. data/docs/DeleteStorageContainerById202Response.md +20 -0
  345. data/docs/DeleteStorageContainerById4XXResponse.md +20 -0
  346. data/docs/DisassociateCategoriesFromCluster202Response.md +20 -0
  347. data/docs/DisassociateCategoriesFromCluster4XXResponse.md +20 -0
  348. data/docs/DisassociateClusterFromClusterProfile202Response.md +20 -0
  349. data/docs/DisassociateClusterFromClusterProfile4XXResponse.md +20 -0
  350. data/docs/DiscoverUnconfiguredNodes202Response.md +20 -0
  351. data/docs/DiscoverUnconfiguredNodes4XXResponse.md +20 -0
  352. data/docs/DisksApi.md +411 -0
  353. data/docs/EnterHostMaintenance202Response.md +20 -0
  354. data/docs/EnterHostMaintenance4XXResponse.md +20 -0
  355. data/docs/ExitHostMaintenance202Response.md +20 -0
  356. data/docs/ExitHostMaintenance4XXResponse.md +20 -0
  357. data/docs/ExpandCluster202Response.md +20 -0
  358. data/docs/ExpandCluster4XXResponse.md +20 -0
  359. data/docs/FetchNodeNetworkingDetails202Response.md +20 -0
  360. data/docs/FetchNodeNetworkingDetails4XXResponse.md +20 -0
  361. data/docs/FetchTaskResponse200Response.md +20 -0
  362. data/docs/FetchTaskResponse4XXResponse.md +20 -0
  363. data/docs/GetBmcInfo200Response.md +20 -0
  364. data/docs/GetBmcInfo4XXResponse.md +20 -0
  365. data/docs/GetClusterById200Response.md +20 -0
  366. data/docs/GetClusterById4XXResponse.md +20 -0
  367. data/docs/GetClusterProfileById200Response.md +20 -0
  368. data/docs/GetClusterProfileById4XXResponse.md +20 -0
  369. data/docs/GetClusterStats200Response.md +20 -0
  370. data/docs/GetClusterStats4XXResponse.md +20 -0
  371. data/docs/GetDiskById200Response.md +20 -0
  372. data/docs/GetDiskById4XXResponse.md +20 -0
  373. data/docs/GetDiskStats200Response.md +20 -0
  374. data/docs/GetDiskStats4XXResponse.md +20 -0
  375. data/docs/GetHostById200Response.md +20 -0
  376. data/docs/GetHostById4XXResponse.md +20 -0
  377. data/docs/GetHostNicById200Response.md +20 -0
  378. data/docs/GetHostNicById4XXResponse.md +20 -0
  379. data/docs/GetHostStats200Response.md +20 -0
  380. data/docs/GetHostStats4XXResponse.md +20 -0
  381. data/docs/GetRackableUnitById200Response.md +20 -0
  382. data/docs/GetRackableUnitById4XXResponse.md +20 -0
  383. data/docs/GetRsyslogServerById200Response.md +20 -0
  384. data/docs/GetRsyslogServerById4XXResponse.md +20 -0
  385. data/docs/GetSnmpConfigByClusterId200Response.md +20 -0
  386. data/docs/GetSnmpConfigByClusterId4XXResponse.md +20 -0
  387. data/docs/GetSnmpTrapById200Response.md +20 -0
  388. data/docs/GetSnmpTrapById4XXResponse.md +20 -0
  389. data/docs/GetSnmpUserById200Response.md +20 -0
  390. data/docs/GetSnmpUserById4XXResponse.md +20 -0
  391. data/docs/GetStorageContainerById200Response.md +20 -0
  392. data/docs/GetStorageContainerById4XXResponse.md +20 -0
  393. data/docs/GetStorageContainerStats200Response.md +20 -0
  394. data/docs/GetStorageContainerStats4XXResponse.md +20 -0
  395. data/docs/GetVcenterExtensionById200Response.md +20 -0
  396. data/docs/GetVcenterExtensionById4XXResponse.md +20 -0
  397. data/docs/GetVirtualNicById200Response.md +20 -0
  398. data/docs/GetVirtualNicById4XXResponse.md +20 -0
  399. data/docs/ListClusterProfiles200Response.md +20 -0
  400. data/docs/ListClusterProfiles4XXResponse.md +20 -0
  401. data/docs/ListClusters200Response.md +20 -0
  402. data/docs/ListClusters4XXResponse.md +20 -0
  403. data/docs/ListDataStoresByClusterId200Response.md +20 -0
  404. data/docs/ListDataStoresByClusterId4XXResponse.md +20 -0
  405. data/docs/ListDisks200Response.md +20 -0
  406. data/docs/ListDisks4XXResponse.md +20 -0
  407. data/docs/ListHostNicsByHostId200Response.md +20 -0
  408. data/docs/ListHostNicsByHostId4XXResponse.md +20 -0
  409. data/docs/ListHosts200Response.md +20 -0
  410. data/docs/ListHosts4XXResponse.md +20 -0
  411. data/docs/ListHostsByClusterId200Response.md +20 -0
  412. data/docs/ListHostsByClusterId4XXResponse.md +20 -0
  413. data/docs/ListPcieDevices200Response.md +20 -0
  414. data/docs/ListPcieDevices4XXResponse.md +20 -0
  415. data/docs/ListPhysicalGpuProfiles200Response.md +20 -0
  416. data/docs/ListPhysicalGpuProfiles4XXResponse.md +20 -0
  417. data/docs/ListRackableUnitsByClusterId200Response.md +20 -0
  418. data/docs/ListRackableUnitsByClusterId4XXResponse.md +20 -0
  419. data/docs/ListRsyslogServersByClusterId200Response.md +20 -0
  420. data/docs/ListRsyslogServersByClusterId4XXResponse.md +20 -0
  421. data/docs/ListStorageContainers200Response.md +20 -0
  422. data/docs/ListStorageContainers4XXResponse.md +20 -0
  423. data/docs/ListVcenterExtensions200Response.md +20 -0
  424. data/docs/ListVcenterExtensions4XXResponse.md +20 -0
  425. data/docs/ListVirtualGpuProfiles200Response.md +20 -0
  426. data/docs/ListVirtualGpuProfiles4XXResponse.md +20 -0
  427. data/docs/ListVirtualNicsByHostId200Response.md +20 -0
  428. data/docs/ListVirtualNicsByHostId4XXResponse.md +20 -0
  429. data/docs/MountStorageContainer202Response.md +20 -0
  430. data/docs/MountStorageContainer4XXResponse.md +20 -0
  431. data/docs/PcieDevicesApi.md +91 -0
  432. data/docs/PrismV40ConfigTaskReference.md +18 -0
  433. data/docs/RegisterVcenterExtension202Response.md +20 -0
  434. data/docs/RegisterVcenterExtension4XXResponse.md +20 -0
  435. data/docs/RemoveNode202Response.md +20 -0
  436. data/docs/RemoveNode4XXResponse.md +20 -0
  437. data/docs/RemoveSnmpTransport202Response.md +20 -0
  438. data/docs/RemoveSnmpTransport4XXResponse.md +20 -0
  439. data/docs/StorageContainersApi.md +739 -0
  440. data/docs/UnmountStorageContainer202Response.md +20 -0
  441. data/docs/UnmountStorageContainer4XXResponse.md +20 -0
  442. data/docs/UnregisterVcenterExtension202Response.md +20 -0
  443. data/docs/UnregisterVcenterExtension4XXResponse.md +20 -0
  444. data/docs/UpdateBmcInfo202Response.md +20 -0
  445. data/docs/UpdateBmcInfo4XXResponse.md +20 -0
  446. data/docs/UpdateClusterById202Response.md +20 -0
  447. data/docs/UpdateClusterById4XXResponse.md +20 -0
  448. data/docs/UpdateClusterProfileById202Response.md +20 -0
  449. data/docs/UpdateClusterProfileById4XXResponse.md +20 -0
  450. data/docs/UpdateRsyslogServerById202Response.md +20 -0
  451. data/docs/UpdateRsyslogServerById4XXResponse.md +20 -0
  452. data/docs/UpdateSnmpStatus202Response.md +20 -0
  453. data/docs/UpdateSnmpStatus4XXResponse.md +20 -0
  454. data/docs/UpdateSnmpTrapById202Response.md +20 -0
  455. data/docs/UpdateSnmpTrapById4XXResponse.md +20 -0
  456. data/docs/UpdateSnmpUserById202Response.md +20 -0
  457. data/docs/UpdateSnmpUserById4XXResponse.md +20 -0
  458. data/docs/UpdateStorageContainerById202Response.md +20 -0
  459. data/docs/UpdateStorageContainerById4XXResponse.md +20 -0
  460. data/docs/ValidateNode202Response.md +20 -0
  461. data/docs/ValidateNode4XXResponse.md +20 -0
  462. data/docs/VcenterExtensionsApi.md +327 -0
  463. data/git_push.sh +57 -0
  464. data/lib/nutanix_clustermgmt/api/bmc_api.rb +205 -0
  465. data/lib/nutanix_clustermgmt/api/cluster_profiles_api.rb +595 -0
  466. data/lib/nutanix_clustermgmt/api/clusters_api.rb +3903 -0
  467. data/lib/nutanix_clustermgmt/api/disks_api.rb +416 -0
  468. data/lib/nutanix_clustermgmt/api/pcie_devices_api.rb +103 -0
  469. data/lib/nutanix_clustermgmt/api/storage_containers_api.rb +771 -0
  470. data/lib/nutanix_clustermgmt/api/vcenter_extensions_api.rb +343 -0
  471. data/lib/nutanix_clustermgmt/api_client.rb +394 -0
  472. data/lib/nutanix_clustermgmt/api_error.rb +58 -0
  473. data/lib/nutanix_clustermgmt/configuration.rb +315 -0
  474. data/lib/nutanix_clustermgmt/models/add_disk202_response.rb +224 -0
  475. data/lib/nutanix_clustermgmt/models/add_disk4_xx_response.rb +224 -0
  476. data/lib/nutanix_clustermgmt/models/add_snmp_transport202_response.rb +224 -0
  477. data/lib/nutanix_clustermgmt/models/add_snmp_transport4_xx_response.rb +224 -0
  478. data/lib/nutanix_clustermgmt/models/apply_cluster_profile202_response.rb +224 -0
  479. data/lib/nutanix_clustermgmt/models/apply_cluster_profile4_xx_response.rb +224 -0
  480. data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster202_response.rb +224 -0
  481. data/lib/nutanix_clustermgmt/models/associate_categories_to_cluster4_xx_response.rb +224 -0
  482. data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements202_response.rb +224 -0
  483. data/lib/nutanix_clustermgmt/models/check_hypervisor_requirements4_xx_response.rb +224 -0
  484. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response.rb +224 -0
  485. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data.rb +105 -0
  486. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device.rb +455 -0
  487. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_configuration.rb +276 -0
  488. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_ahv_config_pcie_device_state.rb +45 -0
  489. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_acropolis_connection_state.rb +42 -0
  490. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_disk_api_response.rb +224 -0
  491. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_add_snmp_transports_api_response.rb +224 -0
  492. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_address_type.rb +42 -0
  493. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_apply_cluster_profile_api_response.rb +224 -0
  494. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response.rb +224 -0
  495. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data.rb +105 -0
  496. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_attribute_item.rb +226 -0
  497. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_authorized_public_key.rb +245 -0
  498. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_backplane_network_params.rb +244 -0
  499. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_block_item.rb +245 -0
  500. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bmc_info.rb +255 -0
  501. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_info.rb +216 -0
  502. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_build_reference.rb +256 -0
  503. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_info.rb +235 -0
  504. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_bundle_param.rb +269 -0
  505. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cache_deduplication.rb +43 -0
  506. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_category_entity_references.rb +253 -0
  507. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response.rb +224 -0
  508. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster.rb +529 -0
  509. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_arch_reference.rb +42 -0
  510. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config.rb +225 -0
  511. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_config_reference.rb +592 -0
  512. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_fault_tolerance_ref.rb +44 -0
  513. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_function_ref.rb +47 -0
  514. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network.rb +326 -0
  515. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_network_reference.rb +552 -0
  516. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_profile.rb +756 -0
  517. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference.rb +266 -0
  518. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_cluster_reference_list_spec.rb +252 -0
  519. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_fault_tolerance.rb +276 -0
  520. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_component_type.rb +48 -0
  521. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_node_item.rb +354 -0
  522. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_compute_non_migratable_vms_spec.rb +262 -0
  523. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_params.rb +285 -0
  524. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_config_type.rb +47 -0
  525. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_controller_vm_reference.rb +293 -0
  526. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_api_response.rb +224 -0
  527. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_cluster_profile_api_response.rb +224 -0
  528. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_rsyslog_server_api_response.rb +224 -0
  529. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_trap_api_response.rb +224 -0
  530. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_snmp_user_api_response.rb +224 -0
  531. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_create_storage_container_api_response.rb +224 -0
  532. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_credential_status.rb +43 -0
  533. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store.rb +522 -0
  534. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_mount.rb +436 -0
  535. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_data_store_unmount.rb +387 -0
  536. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_api_response.rb +224 -0
  537. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_cluster_profile_api_response.rb +224 -0
  538. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_disk_api_response.rb +224 -0
  539. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_rsyslog_server_api_response.rb +224 -0
  540. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_trap_api_response.rb +224 -0
  541. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_snmp_user_api_response.rb +224 -0
  542. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_delete_storage_container_api_response.rb +224 -0
  543. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_digital_certificate_map_reference.rb +226 -0
  544. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response.rb +224 -0
  545. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response.rb +224 -0
  546. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response.rb +224 -0
  547. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk.rb +815 -0
  548. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_addition_spec.rb +251 -0
  549. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_advance_config.rb +366 -0
  550. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_partition_info.rb +246 -0
  551. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_reference.rb +298 -0
  552. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_disk_status.rb +44 -0
  553. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_awareness_level.rb +44 -0
  554. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_fault_tolerance.rb +277 -0
  555. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_domain_type.rb +46 -0
  556. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_drive_replacement_option.rb +42 -0
  557. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_option_info.rb +43 -0
  558. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_scope_info.rb +42 -0
  559. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_encryption_status.rb +42 -0
  560. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_erasure_code_status.rb +43 -0
  561. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_api_response.rb +224 -0
  562. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_expand_cluster_params.rb +251 -0
  563. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fault_tolerance_state.rb +284 -0
  564. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_node_networking_details_api_response.rb +224 -0
  565. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response.rb +224 -0
  566. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_fetch_task_api_response_data.rb +105 -0
  567. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response.rb +224 -0
  568. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_bmc_info_response_data.rb +105 -0
  569. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response.rb +224 -0
  570. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_api_response_data.rb +105 -0
  571. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response.rb +224 -0
  572. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_cluster_profile_api_response_data.rb +105 -0
  573. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response.rb +224 -0
  574. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_disk_api_response_data.rb +105 -0
  575. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response.rb +224 -0
  576. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_api_response_data.rb +105 -0
  577. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response.rb +224 -0
  578. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_host_nic_api_response_data.rb +105 -0
  579. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response.rb +224 -0
  580. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rackable_unit_api_response_data.rb +105 -0
  581. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response.rb +224 -0
  582. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data.rb +105 -0
  583. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response.rb +224 -0
  584. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data.rb +105 -0
  585. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response.rb +224 -0
  586. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_trap_api_response_data.rb +105 -0
  587. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response.rb +224 -0
  588. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_snmp_user_api_response_data.rb +105 -0
  589. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response.rb +224 -0
  590. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_storage_container_api_response_data.rb +105 -0
  591. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response.rb +224 -0
  592. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data.rb +105 -0
  593. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response.rb +224 -0
  594. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_get_virtual_nic_api_response_data.rb +105 -0
  595. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_mode.rb +43 -0
  596. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_gpu_type.rb +43 -0
  597. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host.rb +861 -0
  598. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_gpu.rb +381 -0
  599. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_name_param.rb +242 -0
  600. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_nic.rb +683 -0
  601. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_host_type_enum.rb +43 -0
  602. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_config.rb +340 -0
  603. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_type.rb +43 -0
  604. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_config.rb +261 -0
  605. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_http_proxy_white_list_target_type.rb +45 -0
  606. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hyperv_credentials.rb +224 -0
  607. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_iso_map.rb +268 -0
  608. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_reference.rb +332 -0
  609. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_state.rb +50 -0
  610. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_type.rb +45 -0
  611. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_info.rb +256 -0
  612. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_node_list_item.rb +338 -0
  613. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_hypervisor_upload_param.rb +253 -0
  614. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_ipmi_reference.rb +244 -0
  615. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_device_to_cert_status_info.rb +245 -0
  616. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_key_management_server_type.rb +43 -0
  617. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response.rb +224 -0
  618. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data.rb +105 -0
  619. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response.rb +224 -0
  620. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_clusters_api_response_data.rb +105 -0
  621. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response.rb +224 -0
  622. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data.rb +105 -0
  623. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response.rb +224 -0
  624. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_disks_api_response_data.rb +105 -0
  625. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response.rb +224 -0
  626. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data.rb +105 -0
  627. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_api_response.rb +224 -0
  628. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response.rb +224 -0
  629. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data.rb +105 -0
  630. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response.rb +224 -0
  631. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data.rb +105 -0
  632. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response.rb +224 -0
  633. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data.rb +105 -0
  634. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response.rb +224 -0
  635. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data.rb +105 -0
  636. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response.rb +224 -0
  637. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_storage_containers_api_response_data.rb +105 -0
  638. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response.rb +224 -0
  639. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data.rb +105 -0
  640. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response.rb +224 -0
  641. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data.rb +105 -0
  642. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response.rb +224 -0
  643. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data.rb +105 -0
  644. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_managed_cluster.rb +304 -0
  645. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_ref.rb +276 -0
  646. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_management_server_type.rb +41 -0
  647. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_mount_storage_container_api_response.rb +224 -0
  648. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status.rb +351 -0
  649. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_mac_ref.rb +266 -0
  650. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_name_network_ref.rb +306 -0
  651. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_info.rb +286 -0
  652. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_network_switch_interface.rb +553 -0
  653. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_details.rb +263 -0
  654. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_discovery_params.rb +377 -0
  655. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_info.rb +444 -0
  656. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_item.rb +495 -0
  657. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_item_reference.rb +255 -0
  658. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_list_networking_details.rb +425 -0
  659. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_network_config.rb +215 -0
  660. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_networking_details.rb +295 -0
  661. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_param.rb +395 -0
  662. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_reference.rb +256 -0
  663. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_extra_param.rb +236 -0
  664. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_removal_params.rb +282 -0
  665. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_resource_config.rb +267 -0
  666. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_node_status.rb +46 -0
  667. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_compatible_cluster_reference.rb +277 -0
  668. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vm_info.rb +276 -0
  669. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_non_migratable_vms_result.rb +351 -0
  670. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_on_disk_dedup.rb +43 -0
  671. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_operation_mode.rb +45 -0
  672. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_partition_type.rb +42 -0
  673. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_config.rb +354 -0
  674. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_physical_gpu_profile.rb +361 -0
  675. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pii_scrubbing_level.rb +42 -0
  676. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_public_key.rb +259 -0
  677. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_pulse_status.rb +247 -0
  678. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rack_reference.rb +247 -0
  679. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit.rb +441 -0
  680. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_model.rb +56 -0
  681. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rackable_unit_node.rb +257 -0
  682. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_redundancy_status_details.rb +226 -0
  683. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_register_vcenter_extension_api_response.rb +224 -0
  684. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_node_api_response.rb +224 -0
  685. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_remove_snmp_transports_api_response.rb +224 -0
  686. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_item.rb +272 -0
  687. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_log_severity_level.rb +48 -0
  688. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_module_name.rb +60 -0
  689. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_network_protocol.rb +43 -0
  690. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_rsyslog_server.rb +459 -0
  691. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_network.rb +271 -0
  692. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_server_ref.rb +291 -0
  693. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_smtp_type.rb +43 -0
  694. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_auth_type.rb +42 -0
  695. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_config.rb +442 -0
  696. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_priv_type.rb +42 -0
  697. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_protocol.rb +44 -0
  698. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_status_param.rb +223 -0
  699. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_transport.rb +261 -0
  700. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap.rb +494 -0
  701. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_trap_version.rb +42 -0
  702. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_snmp_user.rb +464 -0
  703. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_map_reference.rb +247 -0
  704. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_software_type_ref.rb +43 -0
  705. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_container.rb +781 -0
  706. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_summary.rb +216 -0
  707. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier.rb +45 -0
  708. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_storage_tier_reference.rb +43 -0
  709. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response.rb +351 -0
  710. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_all_of_response.rb +109 -0
  711. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_task_response_type.rb +45 -0
  712. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_tolerance_message.rb +256 -0
  713. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigure_node_details.rb +246 -0
  714. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_attribute_map.rb +256 -0
  715. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unconfigured_node_list_item.rb +483 -0
  716. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unmount_storage_container_api_response.rb +224 -0
  717. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response.rb +224 -0
  718. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_bmc_info_response.rb +224 -0
  719. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_api_response.rb +224 -0
  720. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_cluster_profile_api_response.rb +224 -0
  721. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_rsyslog_server_api_response.rb +224 -0
  722. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_status_api_response.rb +224 -0
  723. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_trap_api_response.rb +224 -0
  724. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_snmp_user_api_response.rb +224 -0
  725. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_update_storage_container_api_response.rb +224 -0
  726. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upgrade_status.rb +49 -0
  727. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_info.rb +255 -0
  728. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_network_item.rb +284 -0
  729. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplink_node.rb +278 -0
  730. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks.rb +286 -0
  731. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_uplinks_field.rb +276 -0
  732. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_upload_info_node_item.rb +368 -0
  733. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_user_info.rb +274 -0
  734. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_bundle_info.rb +237 -0
  735. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_api_response.rb +224 -0
  736. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param.rb +222 -0
  737. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_validate_node_param_spec.rb +106 -0
  738. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_credentials.rb +271 -0
  739. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_extension.rb +384 -0
  740. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_vcenter_info.rb +238 -0
  741. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_config.rb +463 -0
  742. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_gpu_profile.rb +361 -0
  743. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_config_virtual_nic.rb +583 -0
  744. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_app_message.rb +291 -0
  745. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response.rb +215 -0
  746. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_error_response_error.rb +105 -0
  747. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_message_severity.rb +43 -0
  748. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error.rb +258 -0
  749. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_error_schema_validation_error_message.rb +236 -0
  750. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_api_response.rb +224 -0
  751. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_enter_host_maintenance_spec.rb +275 -0
  752. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_exit_host_maintenance_api_response.rb +224 -0
  753. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_operations_host_maintenance_common_spec.rb +244 -0
  754. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats.rb +876 -0
  755. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response.rb +224 -0
  756. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_cluster_stats_api_response_data.rb +105 -0
  757. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_disk_stats.rb +1631 -0
  758. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response.rb +224 -0
  759. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_disk_stats_api_response_data.rb +105 -0
  760. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response.rb +224 -0
  761. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data.rb +105 -0
  762. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats.rb +864 -0
  763. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response.rb +224 -0
  764. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_host_stats_api_response_data.rb +105 -0
  765. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_storage_container_stats.rb +2142 -0
  766. data/lib/nutanix_clustermgmt/models/clustermgmt_v40_stats_time_value_pair.rb +226 -0
  767. data/lib/nutanix_clustermgmt/models/common_v10_config_basic_auth.rb +296 -0
  768. data/lib/nutanix_clustermgmt/models/common_v10_config_flag.rb +256 -0
  769. data/lib/nutanix_clustermgmt/models/common_v10_config_fqdn.rb +237 -0
  770. data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address.rb +224 -0
  771. data/lib/nutanix_clustermgmt/models/common_v10_config_ip_address_or_fqdn.rb +233 -0
  772. data/lib/nutanix_clustermgmt/models/common_v10_config_ipv4_address.rb +284 -0
  773. data/lib/nutanix_clustermgmt/models/common_v10_config_ipv6_address.rb +284 -0
  774. data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair.rb +253 -0
  775. data/lib/nutanix_clustermgmt/models/common_v10_config_kv_pair_value.rb +111 -0
  776. data/lib/nutanix_clustermgmt/models/common_v10_config_map_of_string_wrapper.rb +218 -0
  777. data/lib/nutanix_clustermgmt/models/common_v10_config_message.rb +268 -0
  778. data/lib/nutanix_clustermgmt/models/common_v10_config_message_severity.rb +43 -0
  779. data/lib/nutanix_clustermgmt/models/common_v10_config_tenant_aware_model.rb +237 -0
  780. data/lib/nutanix_clustermgmt/models/common_v10_response_api_link.rb +226 -0
  781. data/lib/nutanix_clustermgmt/models/common_v10_response_api_response_metadata.rb +376 -0
  782. data/lib/nutanix_clustermgmt/models/common_v10_response_externalizable_abstract_model.rb +312 -0
  783. data/lib/nutanix_clustermgmt/models/common_v10_stats_down_sampling_operator.rb +46 -0
  784. data/lib/nutanix_clustermgmt/models/common_v10_stats_time_int_value_pair.rb +226 -0
  785. data/lib/nutanix_clustermgmt/models/create_cluster202_response.rb +224 -0
  786. data/lib/nutanix_clustermgmt/models/create_cluster4_xx_response.rb +224 -0
  787. data/lib/nutanix_clustermgmt/models/create_cluster_profile202_response.rb +224 -0
  788. data/lib/nutanix_clustermgmt/models/create_cluster_profile4_xx_response.rb +224 -0
  789. data/lib/nutanix_clustermgmt/models/create_rsyslog_server202_response.rb +224 -0
  790. data/lib/nutanix_clustermgmt/models/create_rsyslog_server4_xx_response.rb +224 -0
  791. data/lib/nutanix_clustermgmt/models/create_snmp_trap202_response.rb +224 -0
  792. data/lib/nutanix_clustermgmt/models/create_snmp_trap4_xx_response.rb +224 -0
  793. data/lib/nutanix_clustermgmt/models/create_snmp_user202_response.rb +224 -0
  794. data/lib/nutanix_clustermgmt/models/create_snmp_user4_xx_response.rb +224 -0
  795. data/lib/nutanix_clustermgmt/models/create_storage_container202_response.rb +224 -0
  796. data/lib/nutanix_clustermgmt/models/create_storage_container4_xx_response.rb +224 -0
  797. data/lib/nutanix_clustermgmt/models/delete_cluster_by_id202_response.rb +224 -0
  798. data/lib/nutanix_clustermgmt/models/delete_cluster_by_id4_xx_response.rb +224 -0
  799. data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id202_response.rb +224 -0
  800. data/lib/nutanix_clustermgmt/models/delete_cluster_profile_by_id4_xx_response.rb +224 -0
  801. data/lib/nutanix_clustermgmt/models/delete_disk_by_id202_response.rb +224 -0
  802. data/lib/nutanix_clustermgmt/models/delete_disk_by_id4_xx_response.rb +224 -0
  803. data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id202_response.rb +224 -0
  804. data/lib/nutanix_clustermgmt/models/delete_rsyslog_server_by_id4_xx_response.rb +224 -0
  805. data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id202_response.rb +224 -0
  806. data/lib/nutanix_clustermgmt/models/delete_snmp_trap_by_id4_xx_response.rb +224 -0
  807. data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id202_response.rb +224 -0
  808. data/lib/nutanix_clustermgmt/models/delete_snmp_user_by_id4_xx_response.rb +224 -0
  809. data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id202_response.rb +224 -0
  810. data/lib/nutanix_clustermgmt/models/delete_storage_container_by_id4_xx_response.rb +224 -0
  811. data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster202_response.rb +224 -0
  812. data/lib/nutanix_clustermgmt/models/disassociate_categories_from_cluster4_xx_response.rb +224 -0
  813. data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile202_response.rb +224 -0
  814. data/lib/nutanix_clustermgmt/models/disassociate_cluster_from_cluster_profile4_xx_response.rb +224 -0
  815. data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes202_response.rb +224 -0
  816. data/lib/nutanix_clustermgmt/models/discover_unconfigured_nodes4_xx_response.rb +224 -0
  817. data/lib/nutanix_clustermgmt/models/enter_host_maintenance202_response.rb +224 -0
  818. data/lib/nutanix_clustermgmt/models/enter_host_maintenance4_xx_response.rb +224 -0
  819. data/lib/nutanix_clustermgmt/models/exit_host_maintenance202_response.rb +224 -0
  820. data/lib/nutanix_clustermgmt/models/exit_host_maintenance4_xx_response.rb +224 -0
  821. data/lib/nutanix_clustermgmt/models/expand_cluster202_response.rb +224 -0
  822. data/lib/nutanix_clustermgmt/models/expand_cluster4_xx_response.rb +224 -0
  823. data/lib/nutanix_clustermgmt/models/fetch_node_networking_details202_response.rb +224 -0
  824. data/lib/nutanix_clustermgmt/models/fetch_node_networking_details4_xx_response.rb +224 -0
  825. data/lib/nutanix_clustermgmt/models/fetch_task_response200_response.rb +224 -0
  826. data/lib/nutanix_clustermgmt/models/fetch_task_response4_xx_response.rb +224 -0
  827. data/lib/nutanix_clustermgmt/models/get_bmc_info200_response.rb +224 -0
  828. data/lib/nutanix_clustermgmt/models/get_bmc_info4_xx_response.rb +224 -0
  829. data/lib/nutanix_clustermgmt/models/get_cluster_by_id200_response.rb +224 -0
  830. data/lib/nutanix_clustermgmt/models/get_cluster_by_id4_xx_response.rb +224 -0
  831. data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id200_response.rb +224 -0
  832. data/lib/nutanix_clustermgmt/models/get_cluster_profile_by_id4_xx_response.rb +224 -0
  833. data/lib/nutanix_clustermgmt/models/get_cluster_stats200_response.rb +224 -0
  834. data/lib/nutanix_clustermgmt/models/get_cluster_stats4_xx_response.rb +224 -0
  835. data/lib/nutanix_clustermgmt/models/get_disk_by_id200_response.rb +224 -0
  836. data/lib/nutanix_clustermgmt/models/get_disk_by_id4_xx_response.rb +224 -0
  837. data/lib/nutanix_clustermgmt/models/get_disk_stats200_response.rb +224 -0
  838. data/lib/nutanix_clustermgmt/models/get_disk_stats4_xx_response.rb +224 -0
  839. data/lib/nutanix_clustermgmt/models/get_host_by_id200_response.rb +224 -0
  840. data/lib/nutanix_clustermgmt/models/get_host_by_id4_xx_response.rb +224 -0
  841. data/lib/nutanix_clustermgmt/models/get_host_nic_by_id200_response.rb +224 -0
  842. data/lib/nutanix_clustermgmt/models/get_host_nic_by_id4_xx_response.rb +224 -0
  843. data/lib/nutanix_clustermgmt/models/get_host_stats200_response.rb +224 -0
  844. data/lib/nutanix_clustermgmt/models/get_host_stats4_xx_response.rb +224 -0
  845. data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id200_response.rb +224 -0
  846. data/lib/nutanix_clustermgmt/models/get_rackable_unit_by_id4_xx_response.rb +224 -0
  847. data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id200_response.rb +224 -0
  848. data/lib/nutanix_clustermgmt/models/get_rsyslog_server_by_id4_xx_response.rb +224 -0
  849. data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id200_response.rb +224 -0
  850. data/lib/nutanix_clustermgmt/models/get_snmp_config_by_cluster_id4_xx_response.rb +224 -0
  851. data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id200_response.rb +224 -0
  852. data/lib/nutanix_clustermgmt/models/get_snmp_trap_by_id4_xx_response.rb +224 -0
  853. data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id200_response.rb +224 -0
  854. data/lib/nutanix_clustermgmt/models/get_snmp_user_by_id4_xx_response.rb +224 -0
  855. data/lib/nutanix_clustermgmt/models/get_storage_container_by_id200_response.rb +224 -0
  856. data/lib/nutanix_clustermgmt/models/get_storage_container_by_id4_xx_response.rb +224 -0
  857. data/lib/nutanix_clustermgmt/models/get_storage_container_stats200_response.rb +224 -0
  858. data/lib/nutanix_clustermgmt/models/get_storage_container_stats4_xx_response.rb +224 -0
  859. data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id200_response.rb +224 -0
  860. data/lib/nutanix_clustermgmt/models/get_vcenter_extension_by_id4_xx_response.rb +224 -0
  861. data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id200_response.rb +224 -0
  862. data/lib/nutanix_clustermgmt/models/get_virtual_nic_by_id4_xx_response.rb +224 -0
  863. data/lib/nutanix_clustermgmt/models/list_cluster_profiles200_response.rb +226 -0
  864. data/lib/nutanix_clustermgmt/models/list_cluster_profiles4_xx_response.rb +224 -0
  865. data/lib/nutanix_clustermgmt/models/list_clusters200_response.rb +226 -0
  866. data/lib/nutanix_clustermgmt/models/list_clusters4_xx_response.rb +224 -0
  867. data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id200_response.rb +254 -0
  868. data/lib/nutanix_clustermgmt/models/list_data_stores_by_cluster_id4_xx_response.rb +224 -0
  869. data/lib/nutanix_clustermgmt/models/list_disks200_response.rb +226 -0
  870. data/lib/nutanix_clustermgmt/models/list_disks4_xx_response.rb +224 -0
  871. data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id200_response.rb +226 -0
  872. data/lib/nutanix_clustermgmt/models/list_host_nics_by_host_id4_xx_response.rb +224 -0
  873. data/lib/nutanix_clustermgmt/models/list_hosts200_response.rb +226 -0
  874. data/lib/nutanix_clustermgmt/models/list_hosts4_xx_response.rb +224 -0
  875. data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id200_response.rb +226 -0
  876. data/lib/nutanix_clustermgmt/models/list_hosts_by_cluster_id4_xx_response.rb +224 -0
  877. data/lib/nutanix_clustermgmt/models/list_pcie_devices200_response.rb +226 -0
  878. data/lib/nutanix_clustermgmt/models/list_pcie_devices4_xx_response.rb +224 -0
  879. data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles200_response.rb +226 -0
  880. data/lib/nutanix_clustermgmt/models/list_physical_gpu_profiles4_xx_response.rb +224 -0
  881. data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id200_response.rb +254 -0
  882. data/lib/nutanix_clustermgmt/models/list_rackable_units_by_cluster_id4_xx_response.rb +224 -0
  883. data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id200_response.rb +254 -0
  884. data/lib/nutanix_clustermgmt/models/list_rsyslog_servers_by_cluster_id4_xx_response.rb +224 -0
  885. data/lib/nutanix_clustermgmt/models/list_storage_containers200_response.rb +226 -0
  886. data/lib/nutanix_clustermgmt/models/list_storage_containers4_xx_response.rb +224 -0
  887. data/lib/nutanix_clustermgmt/models/list_vcenter_extensions200_response.rb +226 -0
  888. data/lib/nutanix_clustermgmt/models/list_vcenter_extensions4_xx_response.rb +224 -0
  889. data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles200_response.rb +226 -0
  890. data/lib/nutanix_clustermgmt/models/list_virtual_gpu_profiles4_xx_response.rb +224 -0
  891. data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id200_response.rb +226 -0
  892. data/lib/nutanix_clustermgmt/models/list_virtual_nics_by_host_id4_xx_response.rb +224 -0
  893. data/lib/nutanix_clustermgmt/models/mount_storage_container202_response.rb +224 -0
  894. data/lib/nutanix_clustermgmt/models/mount_storage_container4_xx_response.rb +224 -0
  895. data/lib/nutanix_clustermgmt/models/prism_v40_config_task_reference.rb +237 -0
  896. data/lib/nutanix_clustermgmt/models/register_vcenter_extension202_response.rb +224 -0
  897. data/lib/nutanix_clustermgmt/models/register_vcenter_extension4_xx_response.rb +224 -0
  898. data/lib/nutanix_clustermgmt/models/remove_node202_response.rb +224 -0
  899. data/lib/nutanix_clustermgmt/models/remove_node4_xx_response.rb +224 -0
  900. data/lib/nutanix_clustermgmt/models/remove_snmp_transport202_response.rb +224 -0
  901. data/lib/nutanix_clustermgmt/models/remove_snmp_transport4_xx_response.rb +224 -0
  902. data/lib/nutanix_clustermgmt/models/unmount_storage_container202_response.rb +224 -0
  903. data/lib/nutanix_clustermgmt/models/unmount_storage_container4_xx_response.rb +224 -0
  904. data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension202_response.rb +224 -0
  905. data/lib/nutanix_clustermgmt/models/unregister_vcenter_extension4_xx_response.rb +224 -0
  906. data/lib/nutanix_clustermgmt/models/update_bmc_info202_response.rb +224 -0
  907. data/lib/nutanix_clustermgmt/models/update_bmc_info4_xx_response.rb +224 -0
  908. data/lib/nutanix_clustermgmt/models/update_cluster_by_id202_response.rb +224 -0
  909. data/lib/nutanix_clustermgmt/models/update_cluster_by_id4_xx_response.rb +224 -0
  910. data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id202_response.rb +224 -0
  911. data/lib/nutanix_clustermgmt/models/update_cluster_profile_by_id4_xx_response.rb +224 -0
  912. data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id202_response.rb +224 -0
  913. data/lib/nutanix_clustermgmt/models/update_rsyslog_server_by_id4_xx_response.rb +224 -0
  914. data/lib/nutanix_clustermgmt/models/update_snmp_status202_response.rb +224 -0
  915. data/lib/nutanix_clustermgmt/models/update_snmp_status4_xx_response.rb +224 -0
  916. data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id202_response.rb +224 -0
  917. data/lib/nutanix_clustermgmt/models/update_snmp_trap_by_id4_xx_response.rb +224 -0
  918. data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id202_response.rb +224 -0
  919. data/lib/nutanix_clustermgmt/models/update_snmp_user_by_id4_xx_response.rb +224 -0
  920. data/lib/nutanix_clustermgmt/models/update_storage_container_by_id202_response.rb +224 -0
  921. data/lib/nutanix_clustermgmt/models/update_storage_container_by_id4_xx_response.rb +224 -0
  922. data/lib/nutanix_clustermgmt/models/validate_node202_response.rb +224 -0
  923. data/lib/nutanix_clustermgmt/models/validate_node4_xx_response.rb +224 -0
  924. data/lib/nutanix_clustermgmt/version.rb +15 -0
  925. data/lib/nutanix_clustermgmt.rb +496 -0
  926. data/nutanix_clustermgmt.gemspec +39 -0
  927. data/renovate.json +5 -0
  928. data/spec/api/bmc_api_spec.rb +64 -0
  929. data/spec/api/cluster_profiles_api_spec.rb +134 -0
  930. data/spec/api/clusters_api_spec.rb +686 -0
  931. data/spec/api/disks_api_spec.rb +105 -0
  932. data/spec/api/pcie_devices_api_spec.rb +50 -0
  933. data/spec/api/storage_containers_api_spec.rb +163 -0
  934. data/spec/api/vcenter_extensions_api_spec.rb +90 -0
  935. data/spec/models/add_disk202_response_spec.rb +42 -0
  936. data/spec/models/add_disk4_xx_response_spec.rb +42 -0
  937. data/spec/models/add_snmp_transport202_response_spec.rb +42 -0
  938. data/spec/models/add_snmp_transport4_xx_response_spec.rb +42 -0
  939. data/spec/models/apply_cluster_profile202_response_spec.rb +42 -0
  940. data/spec/models/apply_cluster_profile4_xx_response_spec.rb +42 -0
  941. data/spec/models/associate_categories_to_cluster202_response_spec.rb +42 -0
  942. data/spec/models/associate_categories_to_cluster4_xx_response_spec.rb +42 -0
  943. data/spec/models/check_hypervisor_requirements202_response_spec.rb +42 -0
  944. data/spec/models/check_hypervisor_requirements4_xx_response_spec.rb +42 -0
  945. data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +32 -0
  946. data/spec/models/clustermgmt_v40_ahv_config_list_pcie_devices_api_response_spec.rb +42 -0
  947. data/spec/models/clustermgmt_v40_ahv_config_pcie_device_configuration_spec.rb +72 -0
  948. data/spec/models/clustermgmt_v40_ahv_config_pcie_device_spec.rb +84 -0
  949. data/spec/models/clustermgmt_v40_ahv_config_pcie_device_state_spec.rb +30 -0
  950. data/spec/models/clustermgmt_v40_config_acropolis_connection_state_spec.rb +30 -0
  951. data/spec/models/clustermgmt_v40_config_add_disk_api_response_spec.rb +42 -0
  952. data/spec/models/clustermgmt_v40_config_add_snmp_transports_api_response_spec.rb +42 -0
  953. data/spec/models/clustermgmt_v40_config_address_type_spec.rb +30 -0
  954. data/spec/models/clustermgmt_v40_config_apply_cluster_profile_api_response_spec.rb +42 -0
  955. data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_data_spec.rb +32 -0
  956. data/spec/models/clustermgmt_v40_config_associate_categories_to_cluster_api_response_spec.rb +42 -0
  957. data/spec/models/clustermgmt_v40_config_attribute_item_spec.rb +42 -0
  958. data/spec/models/clustermgmt_v40_config_authorized_public_key_spec.rb +42 -0
  959. data/spec/models/clustermgmt_v40_config_backplane_network_params_spec.rb +54 -0
  960. data/spec/models/clustermgmt_v40_config_block_item_spec.rb +42 -0
  961. data/spec/models/clustermgmt_v40_config_bmc_info_spec.rb +48 -0
  962. data/spec/models/clustermgmt_v40_config_build_info_spec.rb +36 -0
  963. data/spec/models/clustermgmt_v40_config_build_reference_spec.rb +60 -0
  964. data/spec/models/clustermgmt_v40_config_bundle_info_spec.rb +36 -0
  965. data/spec/models/clustermgmt_v40_config_bundle_param_spec.rb +42 -0
  966. data/spec/models/clustermgmt_v40_config_cache_deduplication_spec.rb +30 -0
  967. data/spec/models/clustermgmt_v40_config_category_entity_references_spec.rb +36 -0
  968. data/spec/models/clustermgmt_v40_config_check_hypervisor_requirements_api_response_spec.rb +42 -0
  969. data/spec/models/clustermgmt_v40_config_cluster_arch_reference_spec.rb +30 -0
  970. data/spec/models/clustermgmt_v40_config_cluster_config_reference_spec.rb +144 -0
  971. data/spec/models/clustermgmt_v40_config_cluster_config_spec.rb +42 -0
  972. data/spec/models/clustermgmt_v40_config_cluster_fault_tolerance_ref_spec.rb +30 -0
  973. data/spec/models/clustermgmt_v40_config_cluster_function_ref_spec.rb +30 -0
  974. data/spec/models/clustermgmt_v40_config_cluster_network_reference_spec.rb +126 -0
  975. data/spec/models/clustermgmt_v40_config_cluster_network_spec.rb +54 -0
  976. data/spec/models/clustermgmt_v40_config_cluster_profile_spec.rb +150 -0
  977. data/spec/models/clustermgmt_v40_config_cluster_reference_list_spec_spec.rb +36 -0
  978. data/spec/models/clustermgmt_v40_config_cluster_reference_spec.rb +42 -0
  979. data/spec/models/clustermgmt_v40_config_cluster_spec.rb +114 -0
  980. data/spec/models/clustermgmt_v40_config_component_fault_tolerance_spec.rb +60 -0
  981. data/spec/models/clustermgmt_v40_config_component_type_spec.rb +30 -0
  982. data/spec/models/clustermgmt_v40_config_compute_node_item_spec.rb +78 -0
  983. data/spec/models/clustermgmt_v40_config_compute_non_migratable_vms_spec_spec.rb +42 -0
  984. data/spec/models/clustermgmt_v40_config_config_params_spec.rb +78 -0
  985. data/spec/models/clustermgmt_v40_config_config_type_spec.rb +30 -0
  986. data/spec/models/clustermgmt_v40_config_controller_vm_reference_spec.rb +66 -0
  987. data/spec/models/clustermgmt_v40_config_create_cluster_api_response_spec.rb +42 -0
  988. data/spec/models/clustermgmt_v40_config_create_cluster_profile_api_response_spec.rb +42 -0
  989. data/spec/models/clustermgmt_v40_config_create_rsyslog_server_api_response_spec.rb +42 -0
  990. data/spec/models/clustermgmt_v40_config_create_snmp_trap_api_response_spec.rb +42 -0
  991. data/spec/models/clustermgmt_v40_config_create_snmp_user_api_response_spec.rb +42 -0
  992. data/spec/models/clustermgmt_v40_config_create_storage_container_api_response_spec.rb +42 -0
  993. data/spec/models/clustermgmt_v40_config_credential_status_spec.rb +30 -0
  994. data/spec/models/clustermgmt_v40_config_data_store_mount_spec.rb +78 -0
  995. data/spec/models/clustermgmt_v40_config_data_store_spec.rb +96 -0
  996. data/spec/models/clustermgmt_v40_config_data_store_unmount_spec.rb +60 -0
  997. data/spec/models/clustermgmt_v40_config_delete_cluster_api_response_spec.rb +42 -0
  998. data/spec/models/clustermgmt_v40_config_delete_cluster_profile_api_response_spec.rb +42 -0
  999. data/spec/models/clustermgmt_v40_config_delete_disk_api_response_spec.rb +42 -0
  1000. data/spec/models/clustermgmt_v40_config_delete_rsyslog_server_api_response_spec.rb +42 -0
  1001. data/spec/models/clustermgmt_v40_config_delete_snmp_trap_api_response_spec.rb +42 -0
  1002. data/spec/models/clustermgmt_v40_config_delete_snmp_user_api_response_spec.rb +42 -0
  1003. data/spec/models/clustermgmt_v40_config_delete_storage_container_api_response_spec.rb +42 -0
  1004. data/spec/models/clustermgmt_v40_config_digital_certificate_map_reference_spec.rb +42 -0
  1005. data/spec/models/clustermgmt_v40_config_disassociate_categories_from_cluster_api_response_spec.rb +42 -0
  1006. data/spec/models/clustermgmt_v40_config_disassociate_cluster_from_cluster_profile_api_response_spec.rb +42 -0
  1007. data/spec/models/clustermgmt_v40_config_discover_unconfigured_nodes_api_response_spec.rb +42 -0
  1008. data/spec/models/clustermgmt_v40_config_disk_addition_spec_spec.rb +42 -0
  1009. data/spec/models/clustermgmt_v40_config_disk_advance_config_spec.rb +126 -0
  1010. data/spec/models/clustermgmt_v40_config_disk_partition_info_spec.rb +42 -0
  1011. data/spec/models/clustermgmt_v40_config_disk_reference_spec.rb +60 -0
  1012. data/spec/models/clustermgmt_v40_config_disk_spec.rb +174 -0
  1013. data/spec/models/clustermgmt_v40_config_disk_status_spec.rb +30 -0
  1014. data/spec/models/clustermgmt_v40_config_domain_awareness_level_spec.rb +30 -0
  1015. data/spec/models/clustermgmt_v40_config_domain_fault_tolerance_spec.rb +42 -0
  1016. data/spec/models/clustermgmt_v40_config_domain_type_spec.rb +30 -0
  1017. data/spec/models/clustermgmt_v40_config_drive_replacement_option_spec.rb +30 -0
  1018. data/spec/models/clustermgmt_v40_config_encryption_option_info_spec.rb +30 -0
  1019. data/spec/models/clustermgmt_v40_config_encryption_scope_info_spec.rb +30 -0
  1020. data/spec/models/clustermgmt_v40_config_encryption_status_spec.rb +30 -0
  1021. data/spec/models/clustermgmt_v40_config_erasure_code_status_spec.rb +30 -0
  1022. data/spec/models/clustermgmt_v40_config_expand_cluster_api_response_spec.rb +42 -0
  1023. data/spec/models/clustermgmt_v40_config_expand_cluster_params_spec.rb +54 -0
  1024. data/spec/models/clustermgmt_v40_config_fault_tolerance_state_spec.rb +66 -0
  1025. data/spec/models/clustermgmt_v40_config_fetch_node_networking_details_api_response_spec.rb +42 -0
  1026. data/spec/models/clustermgmt_v40_config_fetch_task_api_response_data_spec.rb +32 -0
  1027. data/spec/models/clustermgmt_v40_config_fetch_task_api_response_spec.rb +42 -0
  1028. data/spec/models/clustermgmt_v40_config_get_bmc_info_response_data_spec.rb +32 -0
  1029. data/spec/models/clustermgmt_v40_config_get_bmc_info_response_spec.rb +42 -0
  1030. data/spec/models/clustermgmt_v40_config_get_cluster_api_response_data_spec.rb +32 -0
  1031. data/spec/models/clustermgmt_v40_config_get_cluster_api_response_spec.rb +42 -0
  1032. data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_data_spec.rb +32 -0
  1033. data/spec/models/clustermgmt_v40_config_get_cluster_profile_api_response_spec.rb +42 -0
  1034. data/spec/models/clustermgmt_v40_config_get_disk_api_response_data_spec.rb +32 -0
  1035. data/spec/models/clustermgmt_v40_config_get_disk_api_response_spec.rb +42 -0
  1036. data/spec/models/clustermgmt_v40_config_get_host_api_response_data_spec.rb +32 -0
  1037. data/spec/models/clustermgmt_v40_config_get_host_api_response_spec.rb +42 -0
  1038. data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_data_spec.rb +32 -0
  1039. data/spec/models/clustermgmt_v40_config_get_host_nic_api_response_spec.rb +42 -0
  1040. data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_data_spec.rb +32 -0
  1041. data/spec/models/clustermgmt_v40_config_get_rackable_unit_api_response_spec.rb +42 -0
  1042. data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_data_spec.rb +32 -0
  1043. data/spec/models/clustermgmt_v40_config_get_rsyslog_server_api_response_spec.rb +42 -0
  1044. data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_data_spec.rb +32 -0
  1045. data/spec/models/clustermgmt_v40_config_get_snmp_config_by_cluster_id_api_response_spec.rb +42 -0
  1046. data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_data_spec.rb +32 -0
  1047. data/spec/models/clustermgmt_v40_config_get_snmp_trap_api_response_spec.rb +42 -0
  1048. data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_data_spec.rb +32 -0
  1049. data/spec/models/clustermgmt_v40_config_get_snmp_user_api_response_spec.rb +42 -0
  1050. data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_data_spec.rb +32 -0
  1051. data/spec/models/clustermgmt_v40_config_get_storage_container_api_response_spec.rb +42 -0
  1052. data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_data_spec.rb +32 -0
  1053. data/spec/models/clustermgmt_v40_config_get_vcenter_extension_api_response_spec.rb +42 -0
  1054. data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_data_spec.rb +32 -0
  1055. data/spec/models/clustermgmt_v40_config_get_virtual_nic_api_response_spec.rb +42 -0
  1056. data/spec/models/clustermgmt_v40_config_gpu_mode_spec.rb +30 -0
  1057. data/spec/models/clustermgmt_v40_config_gpu_type_spec.rb +30 -0
  1058. data/spec/models/clustermgmt_v40_config_host_gpu_spec.rb +78 -0
  1059. data/spec/models/clustermgmt_v40_config_host_name_param_spec.rb +36 -0
  1060. data/spec/models/clustermgmt_v40_config_host_nic_spec.rb +168 -0
  1061. data/spec/models/clustermgmt_v40_config_host_spec.rb +252 -0
  1062. data/spec/models/clustermgmt_v40_config_host_type_enum_spec.rb +30 -0
  1063. data/spec/models/clustermgmt_v40_config_http_proxy_config_spec.rb +66 -0
  1064. data/spec/models/clustermgmt_v40_config_http_proxy_type_spec.rb +30 -0
  1065. data/spec/models/clustermgmt_v40_config_http_proxy_white_list_config_spec.rb +42 -0
  1066. data/spec/models/clustermgmt_v40_config_http_proxy_white_list_target_type_spec.rb +30 -0
  1067. data/spec/models/clustermgmt_v40_config_hyperv_credentials_spec.rb +42 -0
  1068. data/spec/models/clustermgmt_v40_config_hypervisor_iso_map_spec.rb +42 -0
  1069. data/spec/models/clustermgmt_v40_config_hypervisor_reference_spec.rb +72 -0
  1070. data/spec/models/clustermgmt_v40_config_hypervisor_state_spec.rb +30 -0
  1071. data/spec/models/clustermgmt_v40_config_hypervisor_type_spec.rb +30 -0
  1072. data/spec/models/clustermgmt_v40_config_hypervisor_upload_info_spec.rb +42 -0
  1073. data/spec/models/clustermgmt_v40_config_hypervisor_upload_node_list_item_spec.rb +84 -0
  1074. data/spec/models/clustermgmt_v40_config_hypervisor_upload_param_spec.rb +36 -0
  1075. data/spec/models/clustermgmt_v40_config_ipmi_reference_spec.rb +42 -0
  1076. data/spec/models/clustermgmt_v40_config_key_management_device_to_cert_status_info_spec.rb +42 -0
  1077. data/spec/models/clustermgmt_v40_config_key_management_server_type_spec.rb +30 -0
  1078. data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_data_spec.rb +32 -0
  1079. data/spec/models/clustermgmt_v40_config_list_cluster_profiles_api_response_spec.rb +42 -0
  1080. data/spec/models/clustermgmt_v40_config_list_clusters_api_response_data_spec.rb +32 -0
  1081. data/spec/models/clustermgmt_v40_config_list_clusters_api_response_spec.rb +42 -0
  1082. data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_data_spec.rb +32 -0
  1083. data/spec/models/clustermgmt_v40_config_list_data_stores_by_cluster_id_api_response_spec.rb +42 -0
  1084. data/spec/models/clustermgmt_v40_config_list_disks_api_response_data_spec.rb +32 -0
  1085. data/spec/models/clustermgmt_v40_config_list_disks_api_response_spec.rb +42 -0
  1086. data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_data_spec.rb +32 -0
  1087. data/spec/models/clustermgmt_v40_config_list_host_nics_by_host_id_api_response_spec.rb +42 -0
  1088. data/spec/models/clustermgmt_v40_config_list_hosts_api_response_spec.rb +42 -0
  1089. data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_data_spec.rb +32 -0
  1090. data/spec/models/clustermgmt_v40_config_list_hosts_by_cluster_id_api_response_spec.rb +42 -0
  1091. data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_data_spec.rb +32 -0
  1092. data/spec/models/clustermgmt_v40_config_list_physical_gpu_profiles_api_response_spec.rb +42 -0
  1093. data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_data_spec.rb +32 -0
  1094. data/spec/models/clustermgmt_v40_config_list_rackable_units_by_cluster_id_api_response_spec.rb +42 -0
  1095. data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_data_spec.rb +32 -0
  1096. data/spec/models/clustermgmt_v40_config_list_rsyslog_servers_by_cluster_id_api_response_spec.rb +42 -0
  1097. data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_data_spec.rb +32 -0
  1098. data/spec/models/clustermgmt_v40_config_list_storage_containers_api_response_spec.rb +42 -0
  1099. data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_data_spec.rb +32 -0
  1100. data/spec/models/clustermgmt_v40_config_list_vcenter_extensions_api_response_spec.rb +42 -0
  1101. data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_data_spec.rb +32 -0
  1102. data/spec/models/clustermgmt_v40_config_list_virtual_gpu_profiles_api_response_spec.rb +42 -0
  1103. data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_data_spec.rb +32 -0
  1104. data/spec/models/clustermgmt_v40_config_list_virtual_nics_by_host_id_api_response_spec.rb +42 -0
  1105. data/spec/models/clustermgmt_v40_config_managed_cluster_spec.rb +54 -0
  1106. data/spec/models/clustermgmt_v40_config_management_server_ref_spec.rb +60 -0
  1107. data/spec/models/clustermgmt_v40_config_management_server_type_spec.rb +30 -0
  1108. data/spec/models/clustermgmt_v40_config_mount_storage_container_api_response_spec.rb +42 -0
  1109. data/spec/models/clustermgmt_v40_config_multi_domain_fault_tolerance_status_spec.rb +54 -0
  1110. data/spec/models/clustermgmt_v40_config_name_mac_ref_spec.rb +42 -0
  1111. data/spec/models/clustermgmt_v40_config_name_network_ref_spec.rb +48 -0
  1112. data/spec/models/clustermgmt_v40_config_network_info_spec.rb +42 -0
  1113. data/spec/models/clustermgmt_v40_config_network_switch_interface_spec.rb +126 -0
  1114. data/spec/models/clustermgmt_v40_config_node_details_spec.rb +42 -0
  1115. data/spec/models/clustermgmt_v40_config_node_discovery_params_spec.rb +66 -0
  1116. data/spec/models/clustermgmt_v40_config_node_info_spec.rb +120 -0
  1117. data/spec/models/clustermgmt_v40_config_node_item_spec.rb +126 -0
  1118. data/spec/models/clustermgmt_v40_config_node_list_item_reference_spec.rb +48 -0
  1119. data/spec/models/clustermgmt_v40_config_node_list_networking_details_spec.rb +120 -0
  1120. data/spec/models/clustermgmt_v40_config_node_network_config_spec.rb +36 -0
  1121. data/spec/models/clustermgmt_v40_config_node_networking_details_spec.rb +48 -0
  1122. data/spec/models/clustermgmt_v40_config_node_param_spec.rb +72 -0
  1123. data/spec/models/clustermgmt_v40_config_node_reference_spec.rb +42 -0
  1124. data/spec/models/clustermgmt_v40_config_node_removal_extra_param_spec.rb +48 -0
  1125. data/spec/models/clustermgmt_v40_config_node_removal_params_spec.rb +54 -0
  1126. data/spec/models/clustermgmt_v40_config_node_resource_config_spec.rb +54 -0
  1127. data/spec/models/clustermgmt_v40_config_node_status_spec.rb +30 -0
  1128. data/spec/models/clustermgmt_v40_config_non_compatible_cluster_reference_spec.rb +42 -0
  1129. data/spec/models/clustermgmt_v40_config_non_migratable_vm_info_spec.rb +48 -0
  1130. data/spec/models/clustermgmt_v40_config_non_migratable_vms_result_spec.rb +54 -0
  1131. data/spec/models/clustermgmt_v40_config_on_disk_dedup_spec.rb +30 -0
  1132. data/spec/models/clustermgmt_v40_config_operation_mode_spec.rb +30 -0
  1133. data/spec/models/clustermgmt_v40_config_partition_type_spec.rb +30 -0
  1134. data/spec/models/clustermgmt_v40_config_physical_gpu_config_spec.rb +90 -0
  1135. data/spec/models/clustermgmt_v40_config_physical_gpu_profile_spec.rb +60 -0
  1136. data/spec/models/clustermgmt_v40_config_pii_scrubbing_level_spec.rb +30 -0
  1137. data/spec/models/clustermgmt_v40_config_public_key_spec.rb +42 -0
  1138. data/spec/models/clustermgmt_v40_config_pulse_status_spec.rb +42 -0
  1139. data/spec/models/clustermgmt_v40_config_rack_reference_spec.rb +42 -0
  1140. data/spec/models/clustermgmt_v40_config_rackable_unit_model_spec.rb +30 -0
  1141. data/spec/models/clustermgmt_v40_config_rackable_unit_node_spec.rb +48 -0
  1142. data/spec/models/clustermgmt_v40_config_rackable_unit_spec.rb +84 -0
  1143. data/spec/models/clustermgmt_v40_config_redundancy_status_details_spec.rb +42 -0
  1144. data/spec/models/clustermgmt_v40_config_register_vcenter_extension_api_response_spec.rb +42 -0
  1145. data/spec/models/clustermgmt_v40_config_remove_node_api_response_spec.rb +42 -0
  1146. data/spec/models/clustermgmt_v40_config_remove_snmp_transports_api_response_spec.rb +42 -0
  1147. data/spec/models/clustermgmt_v40_config_rsyslog_module_item_spec.rb +48 -0
  1148. data/spec/models/clustermgmt_v40_config_rsyslog_module_log_severity_level_spec.rb +30 -0
  1149. data/spec/models/clustermgmt_v40_config_rsyslog_module_name_spec.rb +30 -0
  1150. data/spec/models/clustermgmt_v40_config_rsyslog_network_protocol_spec.rb +30 -0
  1151. data/spec/models/clustermgmt_v40_config_rsyslog_server_spec.rb +78 -0
  1152. data/spec/models/clustermgmt_v40_config_smtp_network_spec.rb +54 -0
  1153. data/spec/models/clustermgmt_v40_config_smtp_server_ref_spec.rb +48 -0
  1154. data/spec/models/clustermgmt_v40_config_smtp_type_spec.rb +30 -0
  1155. data/spec/models/clustermgmt_v40_config_snmp_auth_type_spec.rb +30 -0
  1156. data/spec/models/clustermgmt_v40_config_snmp_config_spec.rb +72 -0
  1157. data/spec/models/clustermgmt_v40_config_snmp_priv_type_spec.rb +30 -0
  1158. data/spec/models/clustermgmt_v40_config_snmp_protocol_spec.rb +30 -0
  1159. data/spec/models/clustermgmt_v40_config_snmp_status_param_spec.rb +36 -0
  1160. data/spec/models/clustermgmt_v40_config_snmp_transport_spec.rb +42 -0
  1161. data/spec/models/clustermgmt_v40_config_snmp_trap_spec.rb +102 -0
  1162. data/spec/models/clustermgmt_v40_config_snmp_trap_version_spec.rb +30 -0
  1163. data/spec/models/clustermgmt_v40_config_snmp_user_spec.rb +78 -0
  1164. data/spec/models/clustermgmt_v40_config_software_map_reference_spec.rb +42 -0
  1165. data/spec/models/clustermgmt_v40_config_software_type_ref_spec.rb +30 -0
  1166. data/spec/models/clustermgmt_v40_config_storage_container_spec.rb +210 -0
  1167. data/spec/models/clustermgmt_v40_config_storage_summary_spec.rb +36 -0
  1168. data/spec/models/clustermgmt_v40_config_storage_tier_reference_spec.rb +30 -0
  1169. data/spec/models/clustermgmt_v40_config_storage_tier_spec.rb +30 -0
  1170. data/spec/models/clustermgmt_v40_config_task_response_all_of_response_spec.rb +32 -0
  1171. data/spec/models/clustermgmt_v40_config_task_response_spec.rb +60 -0
  1172. data/spec/models/clustermgmt_v40_config_task_response_type_spec.rb +30 -0
  1173. data/spec/models/clustermgmt_v40_config_tolerance_message_spec.rb +42 -0
  1174. data/spec/models/clustermgmt_v40_config_unconfigure_node_details_spec.rb +36 -0
  1175. data/spec/models/clustermgmt_v40_config_unconfigured_node_attribute_map_spec.rb +60 -0
  1176. data/spec/models/clustermgmt_v40_config_unconfigured_node_list_item_spec.rb +156 -0
  1177. data/spec/models/clustermgmt_v40_config_unmount_storage_container_api_response_spec.rb +42 -0
  1178. data/spec/models/clustermgmt_v40_config_unregister_vcenter_extension_api_response_spec.rb +42 -0
  1179. data/spec/models/clustermgmt_v40_config_update_bmc_info_response_spec.rb +42 -0
  1180. data/spec/models/clustermgmt_v40_config_update_cluster_api_response_spec.rb +42 -0
  1181. data/spec/models/clustermgmt_v40_config_update_cluster_profile_api_response_spec.rb +42 -0
  1182. data/spec/models/clustermgmt_v40_config_update_rsyslog_server_api_response_spec.rb +42 -0
  1183. data/spec/models/clustermgmt_v40_config_update_snmp_status_api_response_spec.rb +42 -0
  1184. data/spec/models/clustermgmt_v40_config_update_snmp_trap_api_response_spec.rb +42 -0
  1185. data/spec/models/clustermgmt_v40_config_update_snmp_user_api_response_spec.rb +42 -0
  1186. data/spec/models/clustermgmt_v40_config_update_storage_container_api_response_spec.rb +42 -0
  1187. data/spec/models/clustermgmt_v40_config_upgrade_status_spec.rb +30 -0
  1188. data/spec/models/clustermgmt_v40_config_uplink_info_spec.rb +42 -0
  1189. data/spec/models/clustermgmt_v40_config_uplink_network_item_spec.rb +48 -0
  1190. data/spec/models/clustermgmt_v40_config_uplink_node_spec.rb +48 -0
  1191. data/spec/models/clustermgmt_v40_config_uplinks_field_spec.rb +48 -0
  1192. data/spec/models/clustermgmt_v40_config_uplinks_spec.rb +42 -0
  1193. data/spec/models/clustermgmt_v40_config_upload_info_node_item_spec.rb +78 -0
  1194. data/spec/models/clustermgmt_v40_config_user_info_spec.rb +48 -0
  1195. data/spec/models/clustermgmt_v40_config_validate_bundle_info_spec.rb +36 -0
  1196. data/spec/models/clustermgmt_v40_config_validate_node_api_response_spec.rb +42 -0
  1197. data/spec/models/clustermgmt_v40_config_validate_node_param_spec.rb +36 -0
  1198. data/spec/models/clustermgmt_v40_config_validate_node_param_spec_spec.rb +32 -0
  1199. data/spec/models/clustermgmt_v40_config_vcenter_credentials_spec.rb +48 -0
  1200. data/spec/models/clustermgmt_v40_config_vcenter_extension_spec.rb +66 -0
  1201. data/spec/models/clustermgmt_v40_config_vcenter_info_spec.rb +42 -0
  1202. data/spec/models/clustermgmt_v40_config_virtual_gpu_config_spec.rb +120 -0
  1203. data/spec/models/clustermgmt_v40_config_virtual_gpu_profile_spec.rb +60 -0
  1204. data/spec/models/clustermgmt_v40_config_virtual_nic_spec.rb +120 -0
  1205. data/spec/models/clustermgmt_v40_error_app_message_spec.rb +66 -0
  1206. data/spec/models/clustermgmt_v40_error_error_response_error_spec.rb +32 -0
  1207. data/spec/models/clustermgmt_v40_error_error_response_spec.rb +36 -0
  1208. data/spec/models/clustermgmt_v40_error_message_severity_spec.rb +30 -0
  1209. data/spec/models/clustermgmt_v40_error_schema_validation_error_message_spec.rb +48 -0
  1210. data/spec/models/clustermgmt_v40_error_schema_validation_error_spec.rb +60 -0
  1211. data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_api_response_spec.rb +42 -0
  1212. data/spec/models/clustermgmt_v40_operations_enter_host_maintenance_spec_spec.rb +54 -0
  1213. data/spec/models/clustermgmt_v40_operations_exit_host_maintenance_api_response_spec.rb +42 -0
  1214. data/spec/models/clustermgmt_v40_operations_host_maintenance_common_spec_spec.rb +42 -0
  1215. data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_data_spec.rb +32 -0
  1216. data/spec/models/clustermgmt_v40_stats_cluster_stats_api_response_spec.rb +42 -0
  1217. data/spec/models/clustermgmt_v40_stats_cluster_stats_spec.rb +330 -0
  1218. data/spec/models/clustermgmt_v40_stats_disk_stats_spec.rb +246 -0
  1219. data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_data_spec.rb +32 -0
  1220. data/spec/models/clustermgmt_v40_stats_get_disk_stats_api_response_spec.rb +42 -0
  1221. data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_data_spec.rb +32 -0
  1222. data/spec/models/clustermgmt_v40_stats_get_storage_container_stats_api_response_spec.rb +42 -0
  1223. data/spec/models/clustermgmt_v40_stats_host_stats_api_response_data_spec.rb +32 -0
  1224. data/spec/models/clustermgmt_v40_stats_host_stats_api_response_spec.rb +42 -0
  1225. data/spec/models/clustermgmt_v40_stats_host_stats_spec.rb +324 -0
  1226. data/spec/models/clustermgmt_v40_stats_storage_container_stats_spec.rb +324 -0
  1227. data/spec/models/clustermgmt_v40_stats_time_value_pair_spec.rb +42 -0
  1228. data/spec/models/common_v10_config_basic_auth_spec.rb +42 -0
  1229. data/spec/models/common_v10_config_flag_spec.rb +42 -0
  1230. data/spec/models/common_v10_config_fqdn_spec.rb +36 -0
  1231. data/spec/models/common_v10_config_ip_address_or_fqdn_spec.rb +48 -0
  1232. data/spec/models/common_v10_config_ip_address_spec.rb +42 -0
  1233. data/spec/models/common_v10_config_ipv4_address_spec.rb +42 -0
  1234. data/spec/models/common_v10_config_ipv6_address_spec.rb +42 -0
  1235. data/spec/models/common_v10_config_kv_pair_spec.rb +42 -0
  1236. data/spec/models/common_v10_config_kv_pair_value_spec.rb +32 -0
  1237. data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +36 -0
  1238. data/spec/models/common_v10_config_message_severity_spec.rb +30 -0
  1239. data/spec/models/common_v10_config_message_spec.rb +54 -0
  1240. data/spec/models/common_v10_config_tenant_aware_model_spec.rb +36 -0
  1241. data/spec/models/common_v10_response_api_link_spec.rb +42 -0
  1242. data/spec/models/common_v10_response_api_response_metadata_spec.rb +60 -0
  1243. data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +48 -0
  1244. data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +30 -0
  1245. data/spec/models/common_v10_stats_time_int_value_pair_spec.rb +42 -0
  1246. data/spec/models/create_cluster202_response_spec.rb +42 -0
  1247. data/spec/models/create_cluster4_xx_response_spec.rb +42 -0
  1248. data/spec/models/create_cluster_profile202_response_spec.rb +42 -0
  1249. data/spec/models/create_cluster_profile4_xx_response_spec.rb +42 -0
  1250. data/spec/models/create_rsyslog_server202_response_spec.rb +42 -0
  1251. data/spec/models/create_rsyslog_server4_xx_response_spec.rb +42 -0
  1252. data/spec/models/create_snmp_trap202_response_spec.rb +42 -0
  1253. data/spec/models/create_snmp_trap4_xx_response_spec.rb +42 -0
  1254. data/spec/models/create_snmp_user202_response_spec.rb +42 -0
  1255. data/spec/models/create_snmp_user4_xx_response_spec.rb +42 -0
  1256. data/spec/models/create_storage_container202_response_spec.rb +42 -0
  1257. data/spec/models/create_storage_container4_xx_response_spec.rb +42 -0
  1258. data/spec/models/delete_cluster_by_id202_response_spec.rb +42 -0
  1259. data/spec/models/delete_cluster_by_id4_xx_response_spec.rb +42 -0
  1260. data/spec/models/delete_cluster_profile_by_id202_response_spec.rb +42 -0
  1261. data/spec/models/delete_cluster_profile_by_id4_xx_response_spec.rb +42 -0
  1262. data/spec/models/delete_disk_by_id202_response_spec.rb +42 -0
  1263. data/spec/models/delete_disk_by_id4_xx_response_spec.rb +42 -0
  1264. data/spec/models/delete_rsyslog_server_by_id202_response_spec.rb +42 -0
  1265. data/spec/models/delete_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
  1266. data/spec/models/delete_snmp_trap_by_id202_response_spec.rb +42 -0
  1267. data/spec/models/delete_snmp_trap_by_id4_xx_response_spec.rb +42 -0
  1268. data/spec/models/delete_snmp_user_by_id202_response_spec.rb +42 -0
  1269. data/spec/models/delete_snmp_user_by_id4_xx_response_spec.rb +42 -0
  1270. data/spec/models/delete_storage_container_by_id202_response_spec.rb +42 -0
  1271. data/spec/models/delete_storage_container_by_id4_xx_response_spec.rb +42 -0
  1272. data/spec/models/disassociate_categories_from_cluster202_response_spec.rb +42 -0
  1273. data/spec/models/disassociate_categories_from_cluster4_xx_response_spec.rb +42 -0
  1274. data/spec/models/disassociate_cluster_from_cluster_profile202_response_spec.rb +42 -0
  1275. data/spec/models/disassociate_cluster_from_cluster_profile4_xx_response_spec.rb +42 -0
  1276. data/spec/models/discover_unconfigured_nodes202_response_spec.rb +42 -0
  1277. data/spec/models/discover_unconfigured_nodes4_xx_response_spec.rb +42 -0
  1278. data/spec/models/enter_host_maintenance202_response_spec.rb +42 -0
  1279. data/spec/models/enter_host_maintenance4_xx_response_spec.rb +42 -0
  1280. data/spec/models/exit_host_maintenance202_response_spec.rb +42 -0
  1281. data/spec/models/exit_host_maintenance4_xx_response_spec.rb +42 -0
  1282. data/spec/models/expand_cluster202_response_spec.rb +42 -0
  1283. data/spec/models/expand_cluster4_xx_response_spec.rb +42 -0
  1284. data/spec/models/fetch_node_networking_details202_response_spec.rb +42 -0
  1285. data/spec/models/fetch_node_networking_details4_xx_response_spec.rb +42 -0
  1286. data/spec/models/fetch_task_response200_response_spec.rb +42 -0
  1287. data/spec/models/fetch_task_response4_xx_response_spec.rb +42 -0
  1288. data/spec/models/get_bmc_info200_response_spec.rb +42 -0
  1289. data/spec/models/get_bmc_info4_xx_response_spec.rb +42 -0
  1290. data/spec/models/get_cluster_by_id200_response_spec.rb +42 -0
  1291. data/spec/models/get_cluster_by_id4_xx_response_spec.rb +42 -0
  1292. data/spec/models/get_cluster_profile_by_id200_response_spec.rb +42 -0
  1293. data/spec/models/get_cluster_profile_by_id4_xx_response_spec.rb +42 -0
  1294. data/spec/models/get_cluster_stats200_response_spec.rb +42 -0
  1295. data/spec/models/get_cluster_stats4_xx_response_spec.rb +42 -0
  1296. data/spec/models/get_disk_by_id200_response_spec.rb +42 -0
  1297. data/spec/models/get_disk_by_id4_xx_response_spec.rb +42 -0
  1298. data/spec/models/get_disk_stats200_response_spec.rb +42 -0
  1299. data/spec/models/get_disk_stats4_xx_response_spec.rb +42 -0
  1300. data/spec/models/get_host_by_id200_response_spec.rb +42 -0
  1301. data/spec/models/get_host_by_id4_xx_response_spec.rb +42 -0
  1302. data/spec/models/get_host_nic_by_id200_response_spec.rb +42 -0
  1303. data/spec/models/get_host_nic_by_id4_xx_response_spec.rb +42 -0
  1304. data/spec/models/get_host_stats200_response_spec.rb +42 -0
  1305. data/spec/models/get_host_stats4_xx_response_spec.rb +42 -0
  1306. data/spec/models/get_rackable_unit_by_id200_response_spec.rb +42 -0
  1307. data/spec/models/get_rackable_unit_by_id4_xx_response_spec.rb +42 -0
  1308. data/spec/models/get_rsyslog_server_by_id200_response_spec.rb +42 -0
  1309. data/spec/models/get_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
  1310. data/spec/models/get_snmp_config_by_cluster_id200_response_spec.rb +42 -0
  1311. data/spec/models/get_snmp_config_by_cluster_id4_xx_response_spec.rb +42 -0
  1312. data/spec/models/get_snmp_trap_by_id200_response_spec.rb +42 -0
  1313. data/spec/models/get_snmp_trap_by_id4_xx_response_spec.rb +42 -0
  1314. data/spec/models/get_snmp_user_by_id200_response_spec.rb +42 -0
  1315. data/spec/models/get_snmp_user_by_id4_xx_response_spec.rb +42 -0
  1316. data/spec/models/get_storage_container_by_id200_response_spec.rb +42 -0
  1317. data/spec/models/get_storage_container_by_id4_xx_response_spec.rb +42 -0
  1318. data/spec/models/get_storage_container_stats200_response_spec.rb +42 -0
  1319. data/spec/models/get_storage_container_stats4_xx_response_spec.rb +42 -0
  1320. data/spec/models/get_vcenter_extension_by_id200_response_spec.rb +42 -0
  1321. data/spec/models/get_vcenter_extension_by_id4_xx_response_spec.rb +42 -0
  1322. data/spec/models/get_virtual_nic_by_id200_response_spec.rb +42 -0
  1323. data/spec/models/get_virtual_nic_by_id4_xx_response_spec.rb +42 -0
  1324. data/spec/models/list_cluster_profiles200_response_spec.rb +42 -0
  1325. data/spec/models/list_cluster_profiles4_xx_response_spec.rb +42 -0
  1326. data/spec/models/list_clusters200_response_spec.rb +42 -0
  1327. data/spec/models/list_clusters4_xx_response_spec.rb +42 -0
  1328. data/spec/models/list_data_stores_by_cluster_id200_response_spec.rb +42 -0
  1329. data/spec/models/list_data_stores_by_cluster_id4_xx_response_spec.rb +42 -0
  1330. data/spec/models/list_disks200_response_spec.rb +42 -0
  1331. data/spec/models/list_disks4_xx_response_spec.rb +42 -0
  1332. data/spec/models/list_host_nics_by_host_id200_response_spec.rb +42 -0
  1333. data/spec/models/list_host_nics_by_host_id4_xx_response_spec.rb +42 -0
  1334. data/spec/models/list_hosts200_response_spec.rb +42 -0
  1335. data/spec/models/list_hosts4_xx_response_spec.rb +42 -0
  1336. data/spec/models/list_hosts_by_cluster_id200_response_spec.rb +42 -0
  1337. data/spec/models/list_hosts_by_cluster_id4_xx_response_spec.rb +42 -0
  1338. data/spec/models/list_pcie_devices200_response_spec.rb +42 -0
  1339. data/spec/models/list_pcie_devices4_xx_response_spec.rb +42 -0
  1340. data/spec/models/list_physical_gpu_profiles200_response_spec.rb +42 -0
  1341. data/spec/models/list_physical_gpu_profiles4_xx_response_spec.rb +42 -0
  1342. data/spec/models/list_rackable_units_by_cluster_id200_response_spec.rb +42 -0
  1343. data/spec/models/list_rackable_units_by_cluster_id4_xx_response_spec.rb +42 -0
  1344. data/spec/models/list_rsyslog_servers_by_cluster_id200_response_spec.rb +42 -0
  1345. data/spec/models/list_rsyslog_servers_by_cluster_id4_xx_response_spec.rb +42 -0
  1346. data/spec/models/list_storage_containers200_response_spec.rb +42 -0
  1347. data/spec/models/list_storage_containers4_xx_response_spec.rb +42 -0
  1348. data/spec/models/list_vcenter_extensions200_response_spec.rb +42 -0
  1349. data/spec/models/list_vcenter_extensions4_xx_response_spec.rb +42 -0
  1350. data/spec/models/list_virtual_gpu_profiles200_response_spec.rb +42 -0
  1351. data/spec/models/list_virtual_gpu_profiles4_xx_response_spec.rb +42 -0
  1352. data/spec/models/list_virtual_nics_by_host_id200_response_spec.rb +42 -0
  1353. data/spec/models/list_virtual_nics_by_host_id4_xx_response_spec.rb +42 -0
  1354. data/spec/models/mount_storage_container202_response_spec.rb +42 -0
  1355. data/spec/models/mount_storage_container4_xx_response_spec.rb +42 -0
  1356. data/spec/models/prism_v40_config_task_reference_spec.rb +36 -0
  1357. data/spec/models/register_vcenter_extension202_response_spec.rb +42 -0
  1358. data/spec/models/register_vcenter_extension4_xx_response_spec.rb +42 -0
  1359. data/spec/models/remove_node202_response_spec.rb +42 -0
  1360. data/spec/models/remove_node4_xx_response_spec.rb +42 -0
  1361. data/spec/models/remove_snmp_transport202_response_spec.rb +42 -0
  1362. data/spec/models/remove_snmp_transport4_xx_response_spec.rb +42 -0
  1363. data/spec/models/unmount_storage_container202_response_spec.rb +42 -0
  1364. data/spec/models/unmount_storage_container4_xx_response_spec.rb +42 -0
  1365. data/spec/models/unregister_vcenter_extension202_response_spec.rb +42 -0
  1366. data/spec/models/unregister_vcenter_extension4_xx_response_spec.rb +42 -0
  1367. data/spec/models/update_bmc_info202_response_spec.rb +42 -0
  1368. data/spec/models/update_bmc_info4_xx_response_spec.rb +42 -0
  1369. data/spec/models/update_cluster_by_id202_response_spec.rb +42 -0
  1370. data/spec/models/update_cluster_by_id4_xx_response_spec.rb +42 -0
  1371. data/spec/models/update_cluster_profile_by_id202_response_spec.rb +42 -0
  1372. data/spec/models/update_cluster_profile_by_id4_xx_response_spec.rb +42 -0
  1373. data/spec/models/update_rsyslog_server_by_id202_response_spec.rb +42 -0
  1374. data/spec/models/update_rsyslog_server_by_id4_xx_response_spec.rb +42 -0
  1375. data/spec/models/update_snmp_status202_response_spec.rb +42 -0
  1376. data/spec/models/update_snmp_status4_xx_response_spec.rb +42 -0
  1377. data/spec/models/update_snmp_trap_by_id202_response_spec.rb +42 -0
  1378. data/spec/models/update_snmp_trap_by_id4_xx_response_spec.rb +42 -0
  1379. data/spec/models/update_snmp_user_by_id202_response_spec.rb +42 -0
  1380. data/spec/models/update_snmp_user_by_id4_xx_response_spec.rb +42 -0
  1381. data/spec/models/update_storage_container_by_id202_response_spec.rb +42 -0
  1382. data/spec/models/update_storage_container_by_id4_xx_response_spec.rb +42 -0
  1383. data/spec/models/validate_node202_response_spec.rb +42 -0
  1384. data/spec/models/validate_node4_xx_response_spec.rb +42 -0
  1385. data/spec/spec_helper.rb +111 -0
  1386. data/swagger-clustermgmt-v4.0-all.yaml +25015 -0
  1387. metadata +1923 -0
@@ -0,0 +1,3725 @@
1
+ # NutanixClustermgmt::ClustersApi
2
+
3
+ All URIs are relative to *https://:9440/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_snmp_transport**](ClustersApi.md#add_snmp_transport) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/$actions/add-transports | Add SNMP transport ports and protocol details |
8
+ | [**associate_categories_to_cluster**](ClustersApi.md#associate_categories_to_cluster) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/associate-categories | Associate categories to the cluster |
9
+ | [**check_hypervisor_requirements**](ClustersApi.md#check_hypervisor_requirements) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/check-hypervisor-requirements | Get hypervisor ISO upload information |
10
+ | [**create_cluster**](ClustersApi.md#create_cluster) | **POST** /clustermgmt/v4.0/config/clusters | Create a cluster |
11
+ | [**create_rsyslog_server**](ClustersApi.md#create_rsyslog_server) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rsyslog-servers | Add RSYSLOG server configuration |
12
+ | [**create_snmp_trap**](ClustersApi.md#create_snmp_trap) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/traps | Add SNMP trap |
13
+ | [**create_snmp_user**](ClustersApi.md#create_snmp_user) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/users | Add SNMP user |
14
+ | [**delete_cluster_by_id**](ClustersApi.md#delete_cluster_by_id) | **DELETE** /clustermgmt/v4.0/config/clusters/{extId} | Delete a cluster |
15
+ | [**delete_rsyslog_server_by_id**](ClustersApi.md#delete_rsyslog_server_by_id) | **DELETE** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rsyslog-servers/{extId} | Delete RSYSLOG server configuration |
16
+ | [**delete_snmp_trap_by_id**](ClustersApi.md#delete_snmp_trap_by_id) | **DELETE** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/traps/{extId} | Delete SNMP trap |
17
+ | [**delete_snmp_user_by_id**](ClustersApi.md#delete_snmp_user_by_id) | **DELETE** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/users/{extId} | Delete SNMP user |
18
+ | [**disassociate_categories_from_cluster**](ClustersApi.md#disassociate_categories_from_cluster) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/disassociate-categories | Disassociate categories from the cluster |
19
+ | [**discover_unconfigured_nodes**](ClustersApi.md#discover_unconfigured_nodes) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/discover-unconfigured-nodes | Discover unconfigured nodes |
20
+ | [**enter_host_maintenance**](ClustersApi.md#enter_host_maintenance) | **POST** /clustermgmt/v4.0/operations/clusters/{clusterExtId}/hosts/{extId}/$actions/enter-host-maintenance | Enter host into maintenance mode |
21
+ | [**exit_host_maintenance**](ClustersApi.md#exit_host_maintenance) | **POST** /clustermgmt/v4.0/operations/clusters/{clusterExtId}/hosts/{extId}/$actions/exit-host-maintenance | Exit host from maintenance mode |
22
+ | [**expand_cluster**](ClustersApi.md#expand_cluster) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/expand-cluster | Add node on a cluster |
23
+ | [**fetch_node_networking_details**](ClustersApi.md#fetch_node_networking_details) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/fetch-node-networking-details | Get network information of unconfigured nodes |
24
+ | [**fetch_task_response**](ClustersApi.md#fetch_task_response) | **GET** /clustermgmt/v4.0/config/task-response/{extId} | Get task response based on the type of request |
25
+ | [**get_cluster_by_id**](ClustersApi.md#get_cluster_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{extId} | Get details of a cluster |
26
+ | [**get_cluster_stats**](ClustersApi.md#get_cluster_stats) | **GET** /clustermgmt/v4.0/stats/clusters/{extId} | Get cluster statistics |
27
+ | [**get_host_by_id**](ClustersApi.md#get_host_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{extId} | Get the details of host associated with the cluster |
28
+ | [**get_host_nic_by_id**](ClustersApi.md#get_host_nic_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{hostExtId}/host-nics/{extId} | Get host NIC |
29
+ | [**get_host_stats**](ClustersApi.md#get_host_stats) | **GET** /clustermgmt/v4.0/stats/clusters/{clusterExtId}/hosts/{extId} | Get host statistics |
30
+ | [**get_rackable_unit_by_id**](ClustersApi.md#get_rackable_unit_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rackable-units/{extId} | Get the rackable unit details |
31
+ | [**get_rsyslog_server_by_id**](ClustersApi.md#get_rsyslog_server_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rsyslog-servers/{extId} | Get RSYSLOG server configuration |
32
+ | [**get_snmp_config_by_cluster_id**](ClustersApi.md#get_snmp_config_by_cluster_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp | Get SNMP config details of a cluster |
33
+ | [**get_snmp_trap_by_id**](ClustersApi.md#get_snmp_trap_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/traps/{extId} | Get SNMP trap configuration details |
34
+ | [**get_snmp_user_by_id**](ClustersApi.md#get_snmp_user_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/users/{extId} | Get SNMP user information |
35
+ | [**get_virtual_nic_by_id**](ClustersApi.md#get_virtual_nic_by_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{hostExtId}/virtual-nics/{extId} | Get virtual NIC |
36
+ | [**list_clusters**](ClustersApi.md#list_clusters) | **GET** /clustermgmt/v4.0/config/clusters | Get the list of clusters |
37
+ | [**list_host_nics_by_host_id**](ClustersApi.md#list_host_nics_by_host_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{hostExtId}/host-nics | Get the list of host NICs |
38
+ | [**list_hosts**](ClustersApi.md#list_hosts) | **GET** /clustermgmt/v4.0/config/hosts | Get the list of all host entities |
39
+ | [**list_hosts_by_cluster_id**](ClustersApi.md#list_hosts_by_cluster_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts | Get the list of hosts associated with a cluster |
40
+ | [**list_physical_gpu_profiles**](ClustersApi.md#list_physical_gpu_profiles) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/physical-gpu-profiles | List Physical GPU profiles. |
41
+ | [**list_rackable_units_by_cluster_id**](ClustersApi.md#list_rackable_units_by_cluster_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rackable-units | Get the list of rackable units |
42
+ | [**list_rsyslog_servers_by_cluster_id**](ClustersApi.md#list_rsyslog_servers_by_cluster_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rsyslog-servers | Get the list of RSYSLOG server configurations |
43
+ | [**list_virtual_gpu_profiles**](ClustersApi.md#list_virtual_gpu_profiles) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/virtual-gpu-profiles | List Virtual GPU profiles. |
44
+ | [**list_virtual_nics_by_host_id**](ClustersApi.md#list_virtual_nics_by_host_id) | **GET** /clustermgmt/v4.0/config/clusters/{clusterExtId}/hosts/{hostExtId}/virtual-nics | Get the list of virtual NICs |
45
+ | [**remove_node**](ClustersApi.md#remove_node) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/remove-node | Remove nodes from the cluster |
46
+ | [**remove_snmp_transport**](ClustersApi.md#remove_snmp_transport) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/$actions/remove-transports | Remove SNMP transport ports and protocol details |
47
+ | [**update_cluster_by_id**](ClustersApi.md#update_cluster_by_id) | **PUT** /clustermgmt/v4.0/config/clusters/{extId} | Update cluster |
48
+ | [**update_rsyslog_server_by_id**](ClustersApi.md#update_rsyslog_server_by_id) | **PUT** /clustermgmt/v4.0/config/clusters/{clusterExtId}/rsyslog-servers/{extId} | Update RSYSLOG server configuration |
49
+ | [**update_snmp_status**](ClustersApi.md#update_snmp_status) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/$actions/update-status | Update SNMP status |
50
+ | [**update_snmp_trap_by_id**](ClustersApi.md#update_snmp_trap_by_id) | **PUT** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/traps/{extId} | Update SNMP trap |
51
+ | [**update_snmp_user_by_id**](ClustersApi.md#update_snmp_user_by_id) | **PUT** /clustermgmt/v4.0/config/clusters/{clusterExtId}/snmp/users/{extId} | Update SNMP user |
52
+ | [**validate_node**](ClustersApi.md#validate_node) | **POST** /clustermgmt/v4.0/config/clusters/{clusterExtId}/$actions/validate-node | Validates hypervisor bundle and node uplinks |
53
+
54
+
55
+ ## add_snmp_transport
56
+
57
+ > <AddSnmpTransport202Response> add_snmp_transport(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
58
+
59
+ Add SNMP transport ports and protocol details
60
+
61
+ Adds transport ports and protocol details to the SNMP configuration associated with the cluster identified by {clusterExtId}.
62
+
63
+ ### Examples
64
+
65
+ ```ruby
66
+ require 'time'
67
+ require 'nutanix_clustermgmt'
68
+ # setup authorization
69
+ NutanixClustermgmt.configure do |config|
70
+ # Configure API key authorization: apiKeyAuthScheme
71
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
72
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
73
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
74
+
75
+ # Configure HTTP basic authorization: basicAuthScheme
76
+ config.username = 'YOUR USERNAME'
77
+ config.password = 'YOUR PASSWORD'
78
+ end
79
+
80
+ api_instance = NutanixClustermgmt::ClustersApi.new
81
+ cluster_ext_id = '468d421d-b2c6-496d-8140-6bd21a2bf26a' # String | Cluster UUID.
82
+ clustermgmt_v40_config_snmp_transport = NutanixClustermgmt::ClustermgmtV40ConfigSnmpTransport.new({protocol: NutanixClustermgmt::ClustermgmtV40ConfigSnmpProtocol::UDP, port: 10}) # ClustermgmtV40ConfigSnmpTransport | SNMP transports to add.
83
+
84
+ begin
85
+ # Add SNMP transport ports and protocol details
86
+ result = api_instance.add_snmp_transport(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
87
+ p result
88
+ rescue NutanixClustermgmt::ApiError => e
89
+ puts "Error when calling ClustersApi->add_snmp_transport: #{e}"
90
+ end
91
+ ```
92
+
93
+ #### Using the add_snmp_transport_with_http_info variant
94
+
95
+ This returns an Array which contains the response data, status code and headers.
96
+
97
+ > <Array(<AddSnmpTransport202Response>, Integer, Hash)> add_snmp_transport_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
98
+
99
+ ```ruby
100
+ begin
101
+ # Add SNMP transport ports and protocol details
102
+ data, status_code, headers = api_instance.add_snmp_transport_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
103
+ p status_code # => 2xx
104
+ p headers # => { ... }
105
+ p data # => <AddSnmpTransport202Response>
106
+ rescue NutanixClustermgmt::ApiError => e
107
+ puts "Error when calling ClustersApi->add_snmp_transport_with_http_info: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+ | Name | Type | Description | Notes |
114
+ | ---- | ---- | ----------- | ----- |
115
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
116
+ | **clustermgmt_v40_config_snmp_transport** | [**ClustermgmtV40ConfigSnmpTransport**](ClustermgmtV40ConfigSnmpTransport.md) | SNMP transports to add. | |
117
+
118
+ ### Return type
119
+
120
+ [**AddSnmpTransport202Response**](AddSnmpTransport202Response.md)
121
+
122
+ ### Authorization
123
+
124
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: application/json
129
+ - **Accept**: application/json
130
+
131
+
132
+ ## associate_categories_to_cluster
133
+
134
+ > <AssociateCategoriesToCluster202Response> associate_categories_to_cluster(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
135
+
136
+ Associate categories to the cluster
137
+
138
+ Attach categories to the cluster identified by {clusterExtId}.
139
+
140
+ ### Examples
141
+
142
+ ```ruby
143
+ require 'time'
144
+ require 'nutanix_clustermgmt'
145
+ # setup authorization
146
+ NutanixClustermgmt.configure do |config|
147
+ # Configure API key authorization: apiKeyAuthScheme
148
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
149
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
150
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
151
+
152
+ # Configure HTTP basic authorization: basicAuthScheme
153
+ config.username = 'YOUR USERNAME'
154
+ config.password = 'YOUR PASSWORD'
155
+ end
156
+
157
+ api_instance = NutanixClustermgmt::ClustersApi.new
158
+ cluster_ext_id = '689abe2c-b97c-43f0-9964-747571caa6dc' # String | Cluster UUID.
159
+ clustermgmt_v40_config_category_entity_references = NutanixClustermgmt::ClustermgmtV40ConfigCategoryEntityReferences.new({categories: ['93f55775-cbcc-4d30-8b74-3a7e6e746752']}) # ClustermgmtV40ConfigCategoryEntityReferences | The specifications required for updating categories to the entity.
160
+
161
+ begin
162
+ # Associate categories to the cluster
163
+ result = api_instance.associate_categories_to_cluster(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
164
+ p result
165
+ rescue NutanixClustermgmt::ApiError => e
166
+ puts "Error when calling ClustersApi->associate_categories_to_cluster: #{e}"
167
+ end
168
+ ```
169
+
170
+ #### Using the associate_categories_to_cluster_with_http_info variant
171
+
172
+ This returns an Array which contains the response data, status code and headers.
173
+
174
+ > <Array(<AssociateCategoriesToCluster202Response>, Integer, Hash)> associate_categories_to_cluster_with_http_info(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
175
+
176
+ ```ruby
177
+ begin
178
+ # Associate categories to the cluster
179
+ data, status_code, headers = api_instance.associate_categories_to_cluster_with_http_info(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
180
+ p status_code # => 2xx
181
+ p headers # => { ... }
182
+ p data # => <AssociateCategoriesToCluster202Response>
183
+ rescue NutanixClustermgmt::ApiError => e
184
+ puts "Error when calling ClustersApi->associate_categories_to_cluster_with_http_info: #{e}"
185
+ end
186
+ ```
187
+
188
+ ### Parameters
189
+
190
+ | Name | Type | Description | Notes |
191
+ | ---- | ---- | ----------- | ----- |
192
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
193
+ | **clustermgmt_v40_config_category_entity_references** | [**ClustermgmtV40ConfigCategoryEntityReferences**](ClustermgmtV40ConfigCategoryEntityReferences.md) | The specifications required for updating categories to the entity. | |
194
+
195
+ ### Return type
196
+
197
+ [**AssociateCategoriesToCluster202Response**](AssociateCategoriesToCluster202Response.md)
198
+
199
+ ### Authorization
200
+
201
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
202
+
203
+ ### HTTP request headers
204
+
205
+ - **Content-Type**: application/json
206
+ - **Accept**: application/json
207
+
208
+
209
+ ## check_hypervisor_requirements
210
+
211
+ > <CheckHypervisorRequirements202Response> check_hypervisor_requirements(cluster_ext_id, clustermgmt_v40_config_hypervisor_upload_param)
212
+
213
+ Get hypervisor ISO upload information
214
+
215
+ Provides information on whether hypervisor ISO upload is required or not. This API is not supported for XEN hypervisor type.
216
+
217
+ ### Examples
218
+
219
+ ```ruby
220
+ require 'time'
221
+ require 'nutanix_clustermgmt'
222
+ # setup authorization
223
+ NutanixClustermgmt.configure do |config|
224
+ # Configure API key authorization: apiKeyAuthScheme
225
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
226
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
227
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
228
+
229
+ # Configure HTTP basic authorization: basicAuthScheme
230
+ config.username = 'YOUR USERNAME'
231
+ config.password = 'YOUR PASSWORD'
232
+ end
233
+
234
+ api_instance = NutanixClustermgmt::ClustersApi.new
235
+ cluster_ext_id = '178f99c3-dc1e-4ed3-b82e-615b498e2c8b' # String | Cluster UUID.
236
+ clustermgmt_v40_config_hypervisor_upload_param = NutanixClustermgmt::ClustermgmtV40ConfigHypervisorUploadParam.new({node_list: [NutanixClustermgmt::ClustermgmtV40ConfigHypervisorUploadNodeListItem.new]}) # ClustermgmtV40ConfigHypervisorUploadParam | Parameters to get information on whether hypervisor ISO upload is required or not.
237
+
238
+ begin
239
+ # Get hypervisor ISO upload information
240
+ result = api_instance.check_hypervisor_requirements(cluster_ext_id, clustermgmt_v40_config_hypervisor_upload_param)
241
+ p result
242
+ rescue NutanixClustermgmt::ApiError => e
243
+ puts "Error when calling ClustersApi->check_hypervisor_requirements: #{e}"
244
+ end
245
+ ```
246
+
247
+ #### Using the check_hypervisor_requirements_with_http_info variant
248
+
249
+ This returns an Array which contains the response data, status code and headers.
250
+
251
+ > <Array(<CheckHypervisorRequirements202Response>, Integer, Hash)> check_hypervisor_requirements_with_http_info(cluster_ext_id, clustermgmt_v40_config_hypervisor_upload_param)
252
+
253
+ ```ruby
254
+ begin
255
+ # Get hypervisor ISO upload information
256
+ data, status_code, headers = api_instance.check_hypervisor_requirements_with_http_info(cluster_ext_id, clustermgmt_v40_config_hypervisor_upload_param)
257
+ p status_code # => 2xx
258
+ p headers # => { ... }
259
+ p data # => <CheckHypervisorRequirements202Response>
260
+ rescue NutanixClustermgmt::ApiError => e
261
+ puts "Error when calling ClustersApi->check_hypervisor_requirements_with_http_info: #{e}"
262
+ end
263
+ ```
264
+
265
+ ### Parameters
266
+
267
+ | Name | Type | Description | Notes |
268
+ | ---- | ---- | ----------- | ----- |
269
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
270
+ | **clustermgmt_v40_config_hypervisor_upload_param** | [**ClustermgmtV40ConfigHypervisorUploadParam**](ClustermgmtV40ConfigHypervisorUploadParam.md) | Parameters to get information on whether hypervisor ISO upload is required or not. | |
271
+
272
+ ### Return type
273
+
274
+ [**CheckHypervisorRequirements202Response**](CheckHypervisorRequirements202Response.md)
275
+
276
+ ### Authorization
277
+
278
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
279
+
280
+ ### HTTP request headers
281
+
282
+ - **Content-Type**: application/json
283
+ - **Accept**: application/json
284
+
285
+
286
+ ## create_cluster
287
+
288
+ > <CreateCluster202Response> create_cluster(ntnx_request_id, clustermgmt_v40_config_cluster, opts)
289
+
290
+ Create a cluster
291
+
292
+ Cluster create operation.
293
+
294
+ ### Examples
295
+
296
+ ```ruby
297
+ require 'time'
298
+ require 'nutanix_clustermgmt'
299
+ # setup authorization
300
+ NutanixClustermgmt.configure do |config|
301
+ # Configure API key authorization: apiKeyAuthScheme
302
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
303
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
304
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
305
+
306
+ # Configure HTTP basic authorization: basicAuthScheme
307
+ config.username = 'YOUR USERNAME'
308
+ config.password = 'YOUR PASSWORD'
309
+ end
310
+
311
+ api_instance = NutanixClustermgmt::ClustersApi.new
312
+ ntnx_request_id = '97115f3f-291f-4ea4-8d18-316aded1a005' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
313
+ clustermgmt_v40_config_cluster = NutanixClustermgmt::ClustermgmtV40ConfigCluster.new # ClustermgmtV40ConfigCluster | The required parameters for cluster create workflow.
314
+ opts = {
315
+ dryrun: false # Boolean | A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true.
316
+ }
317
+
318
+ begin
319
+ # Create a cluster
320
+ result = api_instance.create_cluster(ntnx_request_id, clustermgmt_v40_config_cluster, opts)
321
+ p result
322
+ rescue NutanixClustermgmt::ApiError => e
323
+ puts "Error when calling ClustersApi->create_cluster: #{e}"
324
+ end
325
+ ```
326
+
327
+ #### Using the create_cluster_with_http_info variant
328
+
329
+ This returns an Array which contains the response data, status code and headers.
330
+
331
+ > <Array(<CreateCluster202Response>, Integer, Hash)> create_cluster_with_http_info(ntnx_request_id, clustermgmt_v40_config_cluster, opts)
332
+
333
+ ```ruby
334
+ begin
335
+ # Create a cluster
336
+ data, status_code, headers = api_instance.create_cluster_with_http_info(ntnx_request_id, clustermgmt_v40_config_cluster, opts)
337
+ p status_code # => 2xx
338
+ p headers # => { ... }
339
+ p data # => <CreateCluster202Response>
340
+ rescue NutanixClustermgmt::ApiError => e
341
+ puts "Error when calling ClustersApi->create_cluster_with_http_info: #{e}"
342
+ end
343
+ ```
344
+
345
+ ### Parameters
346
+
347
+ | Name | Type | Description | Notes |
348
+ | ---- | ---- | ----------- | ----- |
349
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
350
+ | **clustermgmt_v40_config_cluster** | [**ClustermgmtV40ConfigCluster**](ClustermgmtV40ConfigCluster.md) | The required parameters for cluster create workflow. | |
351
+ | **dryrun** | **Boolean** | A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. | [optional] |
352
+
353
+ ### Return type
354
+
355
+ [**CreateCluster202Response**](CreateCluster202Response.md)
356
+
357
+ ### Authorization
358
+
359
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
360
+
361
+ ### HTTP request headers
362
+
363
+ - **Content-Type**: application/json
364
+ - **Accept**: application/json
365
+
366
+
367
+ ## create_rsyslog_server
368
+
369
+ > <CreateRsyslogServer202Response> create_rsyslog_server(cluster_ext_id, clustermgmt_v40_config_rsyslog_server)
370
+
371
+ Add RSYSLOG server configuration
372
+
373
+ Adds RSYSLOG server configuration to the cluster identified by {clusterExtId}.
374
+
375
+ ### Examples
376
+
377
+ ```ruby
378
+ require 'time'
379
+ require 'nutanix_clustermgmt'
380
+ # setup authorization
381
+ NutanixClustermgmt.configure do |config|
382
+ # Configure API key authorization: apiKeyAuthScheme
383
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
384
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
385
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
386
+
387
+ # Configure HTTP basic authorization: basicAuthScheme
388
+ config.username = 'YOUR USERNAME'
389
+ config.password = 'YOUR PASSWORD'
390
+ end
391
+
392
+ api_instance = NutanixClustermgmt::ClustersApi.new
393
+ cluster_ext_id = 'bac84870-a0eb-4ea8-a753-81b5a40b1032' # String | Cluster UUID.
394
+ clustermgmt_v40_config_rsyslog_server = NutanixClustermgmt::ClustermgmtV40ConfigRsyslogServer.new({server_name: 'testServer1', ip_address: NutanixClustermgmt::CommonV10ConfigIPAddress.new, port: 36, network_protocol: NutanixClustermgmt::ClustermgmtV40ConfigRsyslogNetworkProtocol::UDP}) # ClustermgmtV40ConfigRsyslogServer | RSYSLOG server to add.
395
+
396
+ begin
397
+ # Add RSYSLOG server configuration
398
+ result = api_instance.create_rsyslog_server(cluster_ext_id, clustermgmt_v40_config_rsyslog_server)
399
+ p result
400
+ rescue NutanixClustermgmt::ApiError => e
401
+ puts "Error when calling ClustersApi->create_rsyslog_server: #{e}"
402
+ end
403
+ ```
404
+
405
+ #### Using the create_rsyslog_server_with_http_info variant
406
+
407
+ This returns an Array which contains the response data, status code and headers.
408
+
409
+ > <Array(<CreateRsyslogServer202Response>, Integer, Hash)> create_rsyslog_server_with_http_info(cluster_ext_id, clustermgmt_v40_config_rsyslog_server)
410
+
411
+ ```ruby
412
+ begin
413
+ # Add RSYSLOG server configuration
414
+ data, status_code, headers = api_instance.create_rsyslog_server_with_http_info(cluster_ext_id, clustermgmt_v40_config_rsyslog_server)
415
+ p status_code # => 2xx
416
+ p headers # => { ... }
417
+ p data # => <CreateRsyslogServer202Response>
418
+ rescue NutanixClustermgmt::ApiError => e
419
+ puts "Error when calling ClustersApi->create_rsyslog_server_with_http_info: #{e}"
420
+ end
421
+ ```
422
+
423
+ ### Parameters
424
+
425
+ | Name | Type | Description | Notes |
426
+ | ---- | ---- | ----------- | ----- |
427
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
428
+ | **clustermgmt_v40_config_rsyslog_server** | [**ClustermgmtV40ConfigRsyslogServer**](ClustermgmtV40ConfigRsyslogServer.md) | RSYSLOG server to add. | |
429
+
430
+ ### Return type
431
+
432
+ [**CreateRsyslogServer202Response**](CreateRsyslogServer202Response.md)
433
+
434
+ ### Authorization
435
+
436
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
437
+
438
+ ### HTTP request headers
439
+
440
+ - **Content-Type**: application/json
441
+ - **Accept**: application/json
442
+
443
+
444
+ ## create_snmp_trap
445
+
446
+ > <CreateSnmpTrap202Response> create_snmp_trap(cluster_ext_id, clustermgmt_v40_config_snmp_trap)
447
+
448
+ Add SNMP trap
449
+
450
+ Add SNMP trap configuration associated with the cluster identified by {clusterExtId}.
451
+
452
+ ### Examples
453
+
454
+ ```ruby
455
+ require 'time'
456
+ require 'nutanix_clustermgmt'
457
+ # setup authorization
458
+ NutanixClustermgmt.configure do |config|
459
+ # Configure API key authorization: apiKeyAuthScheme
460
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
461
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
462
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
463
+
464
+ # Configure HTTP basic authorization: basicAuthScheme
465
+ config.username = 'YOUR USERNAME'
466
+ config.password = 'YOUR PASSWORD'
467
+ end
468
+
469
+ api_instance = NutanixClustermgmt::ClustersApi.new
470
+ cluster_ext_id = '35f07f45-1c55-42bb-bd76-9d549e8f3f0a' # String | Cluster UUID.
471
+ clustermgmt_v40_config_snmp_trap = NutanixClustermgmt::ClustermgmtV40ConfigSnmpTrap.new({address: NutanixClustermgmt::CommonV10ConfigIPAddress.new, version: NutanixClustermgmt::ClustermgmtV40ConfigSnmpTrapVersion::V2}) # ClustermgmtV40ConfigSnmpTrap | SNMP trap to add.
472
+
473
+ begin
474
+ # Add SNMP trap
475
+ result = api_instance.create_snmp_trap(cluster_ext_id, clustermgmt_v40_config_snmp_trap)
476
+ p result
477
+ rescue NutanixClustermgmt::ApiError => e
478
+ puts "Error when calling ClustersApi->create_snmp_trap: #{e}"
479
+ end
480
+ ```
481
+
482
+ #### Using the create_snmp_trap_with_http_info variant
483
+
484
+ This returns an Array which contains the response data, status code and headers.
485
+
486
+ > <Array(<CreateSnmpTrap202Response>, Integer, Hash)> create_snmp_trap_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_trap)
487
+
488
+ ```ruby
489
+ begin
490
+ # Add SNMP trap
491
+ data, status_code, headers = api_instance.create_snmp_trap_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_trap)
492
+ p status_code # => 2xx
493
+ p headers # => { ... }
494
+ p data # => <CreateSnmpTrap202Response>
495
+ rescue NutanixClustermgmt::ApiError => e
496
+ puts "Error when calling ClustersApi->create_snmp_trap_with_http_info: #{e}"
497
+ end
498
+ ```
499
+
500
+ ### Parameters
501
+
502
+ | Name | Type | Description | Notes |
503
+ | ---- | ---- | ----------- | ----- |
504
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
505
+ | **clustermgmt_v40_config_snmp_trap** | [**ClustermgmtV40ConfigSnmpTrap**](ClustermgmtV40ConfigSnmpTrap.md) | SNMP trap to add. | |
506
+
507
+ ### Return type
508
+
509
+ [**CreateSnmpTrap202Response**](CreateSnmpTrap202Response.md)
510
+
511
+ ### Authorization
512
+
513
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
514
+
515
+ ### HTTP request headers
516
+
517
+ - **Content-Type**: application/json
518
+ - **Accept**: application/json
519
+
520
+
521
+ ## create_snmp_user
522
+
523
+ > <CreateSnmpUser202Response> create_snmp_user(cluster_ext_id, clustermgmt_v40_config_snmp_user)
524
+
525
+ Add SNMP user
526
+
527
+ Adds SNMP user configuration to the cluster identified by {clusterExtId}.
528
+
529
+ ### Examples
530
+
531
+ ```ruby
532
+ require 'time'
533
+ require 'nutanix_clustermgmt'
534
+ # setup authorization
535
+ NutanixClustermgmt.configure do |config|
536
+ # Configure API key authorization: apiKeyAuthScheme
537
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
538
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
539
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
540
+
541
+ # Configure HTTP basic authorization: basicAuthScheme
542
+ config.username = 'YOUR USERNAME'
543
+ config.password = 'YOUR PASSWORD'
544
+ end
545
+
546
+ api_instance = NutanixClustermgmt::ClustersApi.new
547
+ cluster_ext_id = '5637136b-ffd9-4bc3-a79b-81424470115a' # String | Cluster UUID.
548
+ clustermgmt_v40_config_snmp_user = NutanixClustermgmt::ClustermgmtV40ConfigSnmpUser.new({username: 'Test UserName', auth_type: NutanixClustermgmt::ClustermgmtV40ConfigSnmpAuthType::MD5, auth_key: 'Test_SNMP_user_authentication_key.'}) # ClustermgmtV40ConfigSnmpUser | SNMP user to add.
549
+
550
+ begin
551
+ # Add SNMP user
552
+ result = api_instance.create_snmp_user(cluster_ext_id, clustermgmt_v40_config_snmp_user)
553
+ p result
554
+ rescue NutanixClustermgmt::ApiError => e
555
+ puts "Error when calling ClustersApi->create_snmp_user: #{e}"
556
+ end
557
+ ```
558
+
559
+ #### Using the create_snmp_user_with_http_info variant
560
+
561
+ This returns an Array which contains the response data, status code and headers.
562
+
563
+ > <Array(<CreateSnmpUser202Response>, Integer, Hash)> create_snmp_user_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_user)
564
+
565
+ ```ruby
566
+ begin
567
+ # Add SNMP user
568
+ data, status_code, headers = api_instance.create_snmp_user_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_user)
569
+ p status_code # => 2xx
570
+ p headers # => { ... }
571
+ p data # => <CreateSnmpUser202Response>
572
+ rescue NutanixClustermgmt::ApiError => e
573
+ puts "Error when calling ClustersApi->create_snmp_user_with_http_info: #{e}"
574
+ end
575
+ ```
576
+
577
+ ### Parameters
578
+
579
+ | Name | Type | Description | Notes |
580
+ | ---- | ---- | ----------- | ----- |
581
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
582
+ | **clustermgmt_v40_config_snmp_user** | [**ClustermgmtV40ConfigSnmpUser**](ClustermgmtV40ConfigSnmpUser.md) | SNMP user to add. | |
583
+
584
+ ### Return type
585
+
586
+ [**CreateSnmpUser202Response**](CreateSnmpUser202Response.md)
587
+
588
+ ### Authorization
589
+
590
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
591
+
592
+ ### HTTP request headers
593
+
594
+ - **Content-Type**: application/json
595
+ - **Accept**: application/json
596
+
597
+
598
+ ## delete_cluster_by_id
599
+
600
+ > <DeleteClusterById202Response> delete_cluster_by_id(ext_id, ntnx_request_id, opts)
601
+
602
+ Delete a cluster
603
+
604
+ Deletes the cluster identified by {extId}.
605
+
606
+ ### Examples
607
+
608
+ ```ruby
609
+ require 'time'
610
+ require 'nutanix_clustermgmt'
611
+ # setup authorization
612
+ NutanixClustermgmt.configure do |config|
613
+ # Configure API key authorization: apiKeyAuthScheme
614
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
615
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
616
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
617
+
618
+ # Configure HTTP basic authorization: basicAuthScheme
619
+ config.username = 'YOUR USERNAME'
620
+ config.password = 'YOUR PASSWORD'
621
+ end
622
+
623
+ api_instance = NutanixClustermgmt::ClustersApi.new
624
+ ext_id = '5058238a-6223-4df0-ace0-b27d92d36fdd' # String | Cluster UUID.
625
+ ntnx_request_id = '1185e73b-53a5-456a-b654-02277ed156dd' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
626
+ opts = {
627
+ dryrun: false # Boolean | A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true.
628
+ }
629
+
630
+ begin
631
+ # Delete a cluster
632
+ result = api_instance.delete_cluster_by_id(ext_id, ntnx_request_id, opts)
633
+ p result
634
+ rescue NutanixClustermgmt::ApiError => e
635
+ puts "Error when calling ClustersApi->delete_cluster_by_id: #{e}"
636
+ end
637
+ ```
638
+
639
+ #### Using the delete_cluster_by_id_with_http_info variant
640
+
641
+ This returns an Array which contains the response data, status code and headers.
642
+
643
+ > <Array(<DeleteClusterById202Response>, Integer, Hash)> delete_cluster_by_id_with_http_info(ext_id, ntnx_request_id, opts)
644
+
645
+ ```ruby
646
+ begin
647
+ # Delete a cluster
648
+ data, status_code, headers = api_instance.delete_cluster_by_id_with_http_info(ext_id, ntnx_request_id, opts)
649
+ p status_code # => 2xx
650
+ p headers # => { ... }
651
+ p data # => <DeleteClusterById202Response>
652
+ rescue NutanixClustermgmt::ApiError => e
653
+ puts "Error when calling ClustersApi->delete_cluster_by_id_with_http_info: #{e}"
654
+ end
655
+ ```
656
+
657
+ ### Parameters
658
+
659
+ | Name | Type | Description | Notes |
660
+ | ---- | ---- | ----------- | ----- |
661
+ | **ext_id** | **String** | Cluster UUID. | |
662
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
663
+ | **dryrun** | **Boolean** | A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. | [optional] |
664
+
665
+ ### Return type
666
+
667
+ [**DeleteClusterById202Response**](DeleteClusterById202Response.md)
668
+
669
+ ### Authorization
670
+
671
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
672
+
673
+ ### HTTP request headers
674
+
675
+ - **Content-Type**: Not defined
676
+ - **Accept**: application/json
677
+
678
+
679
+ ## delete_rsyslog_server_by_id
680
+
681
+ > <DeleteRsyslogServerById202Response> delete_rsyslog_server_by_id(cluster_ext_id, ext_id)
682
+
683
+ Delete RSYSLOG server configuration
684
+
685
+ Deletes RSYSLOG server configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
686
+
687
+ ### Examples
688
+
689
+ ```ruby
690
+ require 'time'
691
+ require 'nutanix_clustermgmt'
692
+ # setup authorization
693
+ NutanixClustermgmt.configure do |config|
694
+ # Configure API key authorization: apiKeyAuthScheme
695
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
696
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
697
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
698
+
699
+ # Configure HTTP basic authorization: basicAuthScheme
700
+ config.username = 'YOUR USERNAME'
701
+ config.password = 'YOUR PASSWORD'
702
+ end
703
+
704
+ api_instance = NutanixClustermgmt::ClustersApi.new
705
+ cluster_ext_id = 'cab9d667-7e5e-48a1-8349-93b77f24d044' # String | Cluster UUID.
706
+ ext_id = 'be1ae4ac-2778-4bd0-bb29-25ea7b111e49' # String | RSYSLOG server UUID.
707
+
708
+ begin
709
+ # Delete RSYSLOG server configuration
710
+ result = api_instance.delete_rsyslog_server_by_id(cluster_ext_id, ext_id)
711
+ p result
712
+ rescue NutanixClustermgmt::ApiError => e
713
+ puts "Error when calling ClustersApi->delete_rsyslog_server_by_id: #{e}"
714
+ end
715
+ ```
716
+
717
+ #### Using the delete_rsyslog_server_by_id_with_http_info variant
718
+
719
+ This returns an Array which contains the response data, status code and headers.
720
+
721
+ > <Array(<DeleteRsyslogServerById202Response>, Integer, Hash)> delete_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id)
722
+
723
+ ```ruby
724
+ begin
725
+ # Delete RSYSLOG server configuration
726
+ data, status_code, headers = api_instance.delete_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id)
727
+ p status_code # => 2xx
728
+ p headers # => { ... }
729
+ p data # => <DeleteRsyslogServerById202Response>
730
+ rescue NutanixClustermgmt::ApiError => e
731
+ puts "Error when calling ClustersApi->delete_rsyslog_server_by_id_with_http_info: #{e}"
732
+ end
733
+ ```
734
+
735
+ ### Parameters
736
+
737
+ | Name | Type | Description | Notes |
738
+ | ---- | ---- | ----------- | ----- |
739
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
740
+ | **ext_id** | **String** | RSYSLOG server UUID. | |
741
+
742
+ ### Return type
743
+
744
+ [**DeleteRsyslogServerById202Response**](DeleteRsyslogServerById202Response.md)
745
+
746
+ ### Authorization
747
+
748
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
749
+
750
+ ### HTTP request headers
751
+
752
+ - **Content-Type**: Not defined
753
+ - **Accept**: application/json
754
+
755
+
756
+ ## delete_snmp_trap_by_id
757
+
758
+ > <DeleteSnmpTrapById202Response> delete_snmp_trap_by_id(cluster_ext_id, ext_id)
759
+
760
+ Delete SNMP trap
761
+
762
+ Deletes SNMP trap configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
763
+
764
+ ### Examples
765
+
766
+ ```ruby
767
+ require 'time'
768
+ require 'nutanix_clustermgmt'
769
+ # setup authorization
770
+ NutanixClustermgmt.configure do |config|
771
+ # Configure API key authorization: apiKeyAuthScheme
772
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
773
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
774
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
775
+
776
+ # Configure HTTP basic authorization: basicAuthScheme
777
+ config.username = 'YOUR USERNAME'
778
+ config.password = 'YOUR PASSWORD'
779
+ end
780
+
781
+ api_instance = NutanixClustermgmt::ClustersApi.new
782
+ cluster_ext_id = '7663dfff-2784-4932-96a4-9570dc7fefb7' # String | Cluster UUID.
783
+ ext_id = 'b6c81993-9ee1-4070-9708-f31926417eab' # String | SNMP trap UUID.
784
+
785
+ begin
786
+ # Delete SNMP trap
787
+ result = api_instance.delete_snmp_trap_by_id(cluster_ext_id, ext_id)
788
+ p result
789
+ rescue NutanixClustermgmt::ApiError => e
790
+ puts "Error when calling ClustersApi->delete_snmp_trap_by_id: #{e}"
791
+ end
792
+ ```
793
+
794
+ #### Using the delete_snmp_trap_by_id_with_http_info variant
795
+
796
+ This returns an Array which contains the response data, status code and headers.
797
+
798
+ > <Array(<DeleteSnmpTrapById202Response>, Integer, Hash)> delete_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id)
799
+
800
+ ```ruby
801
+ begin
802
+ # Delete SNMP trap
803
+ data, status_code, headers = api_instance.delete_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id)
804
+ p status_code # => 2xx
805
+ p headers # => { ... }
806
+ p data # => <DeleteSnmpTrapById202Response>
807
+ rescue NutanixClustermgmt::ApiError => e
808
+ puts "Error when calling ClustersApi->delete_snmp_trap_by_id_with_http_info: #{e}"
809
+ end
810
+ ```
811
+
812
+ ### Parameters
813
+
814
+ | Name | Type | Description | Notes |
815
+ | ---- | ---- | ----------- | ----- |
816
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
817
+ | **ext_id** | **String** | SNMP trap UUID. | |
818
+
819
+ ### Return type
820
+
821
+ [**DeleteSnmpTrapById202Response**](DeleteSnmpTrapById202Response.md)
822
+
823
+ ### Authorization
824
+
825
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
826
+
827
+ ### HTTP request headers
828
+
829
+ - **Content-Type**: Not defined
830
+ - **Accept**: application/json
831
+
832
+
833
+ ## delete_snmp_user_by_id
834
+
835
+ > <DeleteSnmpUserById202Response> delete_snmp_user_by_id(cluster_ext_id, ext_id)
836
+
837
+ Delete SNMP user
838
+
839
+ Deletes SNMP user configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
840
+
841
+ ### Examples
842
+
843
+ ```ruby
844
+ require 'time'
845
+ require 'nutanix_clustermgmt'
846
+ # setup authorization
847
+ NutanixClustermgmt.configure do |config|
848
+ # Configure API key authorization: apiKeyAuthScheme
849
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
850
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
851
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
852
+
853
+ # Configure HTTP basic authorization: basicAuthScheme
854
+ config.username = 'YOUR USERNAME'
855
+ config.password = 'YOUR PASSWORD'
856
+ end
857
+
858
+ api_instance = NutanixClustermgmt::ClustersApi.new
859
+ cluster_ext_id = '0e50dd9f-fcb0-4d42-b008-4a3c44a03650' # String | Cluster UUID.
860
+ ext_id = 'e66e72b3-3649-48c5-bfab-7cf9b82cf36a' # String | SNMP user UUID.
861
+
862
+ begin
863
+ # Delete SNMP user
864
+ result = api_instance.delete_snmp_user_by_id(cluster_ext_id, ext_id)
865
+ p result
866
+ rescue NutanixClustermgmt::ApiError => e
867
+ puts "Error when calling ClustersApi->delete_snmp_user_by_id: #{e}"
868
+ end
869
+ ```
870
+
871
+ #### Using the delete_snmp_user_by_id_with_http_info variant
872
+
873
+ This returns an Array which contains the response data, status code and headers.
874
+
875
+ > <Array(<DeleteSnmpUserById202Response>, Integer, Hash)> delete_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id)
876
+
877
+ ```ruby
878
+ begin
879
+ # Delete SNMP user
880
+ data, status_code, headers = api_instance.delete_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id)
881
+ p status_code # => 2xx
882
+ p headers # => { ... }
883
+ p data # => <DeleteSnmpUserById202Response>
884
+ rescue NutanixClustermgmt::ApiError => e
885
+ puts "Error when calling ClustersApi->delete_snmp_user_by_id_with_http_info: #{e}"
886
+ end
887
+ ```
888
+
889
+ ### Parameters
890
+
891
+ | Name | Type | Description | Notes |
892
+ | ---- | ---- | ----------- | ----- |
893
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
894
+ | **ext_id** | **String** | SNMP user UUID. | |
895
+
896
+ ### Return type
897
+
898
+ [**DeleteSnmpUserById202Response**](DeleteSnmpUserById202Response.md)
899
+
900
+ ### Authorization
901
+
902
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
903
+
904
+ ### HTTP request headers
905
+
906
+ - **Content-Type**: Not defined
907
+ - **Accept**: application/json
908
+
909
+
910
+ ## disassociate_categories_from_cluster
911
+
912
+ > <DisassociateCategoriesFromCluster202Response> disassociate_categories_from_cluster(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
913
+
914
+ Disassociate categories from the cluster
915
+
916
+ Detach categories from the cluster identified by {clusterExtId}.
917
+
918
+ ### Examples
919
+
920
+ ```ruby
921
+ require 'time'
922
+ require 'nutanix_clustermgmt'
923
+ # setup authorization
924
+ NutanixClustermgmt.configure do |config|
925
+ # Configure API key authorization: apiKeyAuthScheme
926
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
927
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
928
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
929
+
930
+ # Configure HTTP basic authorization: basicAuthScheme
931
+ config.username = 'YOUR USERNAME'
932
+ config.password = 'YOUR PASSWORD'
933
+ end
934
+
935
+ api_instance = NutanixClustermgmt::ClustersApi.new
936
+ cluster_ext_id = '6a82edee-808e-4be2-b713-6d2213c045bb' # String | Cluster UUID.
937
+ clustermgmt_v40_config_category_entity_references = NutanixClustermgmt::ClustermgmtV40ConfigCategoryEntityReferences.new({categories: ['93f55775-cbcc-4d30-8b74-3a7e6e746752']}) # ClustermgmtV40ConfigCategoryEntityReferences | The specifications required for updating categories to the entity.
938
+
939
+ begin
940
+ # Disassociate categories from the cluster
941
+ result = api_instance.disassociate_categories_from_cluster(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
942
+ p result
943
+ rescue NutanixClustermgmt::ApiError => e
944
+ puts "Error when calling ClustersApi->disassociate_categories_from_cluster: #{e}"
945
+ end
946
+ ```
947
+
948
+ #### Using the disassociate_categories_from_cluster_with_http_info variant
949
+
950
+ This returns an Array which contains the response data, status code and headers.
951
+
952
+ > <Array(<DisassociateCategoriesFromCluster202Response>, Integer, Hash)> disassociate_categories_from_cluster_with_http_info(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
953
+
954
+ ```ruby
955
+ begin
956
+ # Disassociate categories from the cluster
957
+ data, status_code, headers = api_instance.disassociate_categories_from_cluster_with_http_info(cluster_ext_id, clustermgmt_v40_config_category_entity_references)
958
+ p status_code # => 2xx
959
+ p headers # => { ... }
960
+ p data # => <DisassociateCategoriesFromCluster202Response>
961
+ rescue NutanixClustermgmt::ApiError => e
962
+ puts "Error when calling ClustersApi->disassociate_categories_from_cluster_with_http_info: #{e}"
963
+ end
964
+ ```
965
+
966
+ ### Parameters
967
+
968
+ | Name | Type | Description | Notes |
969
+ | ---- | ---- | ----------- | ----- |
970
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
971
+ | **clustermgmt_v40_config_category_entity_references** | [**ClustermgmtV40ConfigCategoryEntityReferences**](ClustermgmtV40ConfigCategoryEntityReferences.md) | The specifications required for updating categories to the entity. | |
972
+
973
+ ### Return type
974
+
975
+ [**DisassociateCategoriesFromCluster202Response**](DisassociateCategoriesFromCluster202Response.md)
976
+
977
+ ### Authorization
978
+
979
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
980
+
981
+ ### HTTP request headers
982
+
983
+ - **Content-Type**: application/json
984
+ - **Accept**: application/json
985
+
986
+
987
+ ## discover_unconfigured_nodes
988
+
989
+ > <DiscoverUnconfiguredNodes202Response> discover_unconfigured_nodes(cluster_ext_id, clustermgmt_v40_config_node_discovery_params)
990
+
991
+ Discover unconfigured nodes
992
+
993
+ Get the unconfigured node details such as node UUID, node position, node IP, foundation version and more.
994
+
995
+ ### Examples
996
+
997
+ ```ruby
998
+ require 'time'
999
+ require 'nutanix_clustermgmt'
1000
+ # setup authorization
1001
+ NutanixClustermgmt.configure do |config|
1002
+ # Configure API key authorization: apiKeyAuthScheme
1003
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1004
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1005
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1006
+
1007
+ # Configure HTTP basic authorization: basicAuthScheme
1008
+ config.username = 'YOUR USERNAME'
1009
+ config.password = 'YOUR PASSWORD'
1010
+ end
1011
+
1012
+ api_instance = NutanixClustermgmt::ClustersApi.new
1013
+ cluster_ext_id = 'b5e5b85d-4d5c-46ff-a02c-f6b5af603038' # String | Cluster UUID.
1014
+ clustermgmt_v40_config_node_discovery_params = NutanixClustermgmt::ClustermgmtV40ConfigNodeDiscoveryParams.new # ClustermgmtV40ConfigNodeDiscoveryParams | Discover unconfigured node details.
1015
+
1016
+ begin
1017
+ # Discover unconfigured nodes
1018
+ result = api_instance.discover_unconfigured_nodes(cluster_ext_id, clustermgmt_v40_config_node_discovery_params)
1019
+ p result
1020
+ rescue NutanixClustermgmt::ApiError => e
1021
+ puts "Error when calling ClustersApi->discover_unconfigured_nodes: #{e}"
1022
+ end
1023
+ ```
1024
+
1025
+ #### Using the discover_unconfigured_nodes_with_http_info variant
1026
+
1027
+ This returns an Array which contains the response data, status code and headers.
1028
+
1029
+ > <Array(<DiscoverUnconfiguredNodes202Response>, Integer, Hash)> discover_unconfigured_nodes_with_http_info(cluster_ext_id, clustermgmt_v40_config_node_discovery_params)
1030
+
1031
+ ```ruby
1032
+ begin
1033
+ # Discover unconfigured nodes
1034
+ data, status_code, headers = api_instance.discover_unconfigured_nodes_with_http_info(cluster_ext_id, clustermgmt_v40_config_node_discovery_params)
1035
+ p status_code # => 2xx
1036
+ p headers # => { ... }
1037
+ p data # => <DiscoverUnconfiguredNodes202Response>
1038
+ rescue NutanixClustermgmt::ApiError => e
1039
+ puts "Error when calling ClustersApi->discover_unconfigured_nodes_with_http_info: #{e}"
1040
+ end
1041
+ ```
1042
+
1043
+ ### Parameters
1044
+
1045
+ | Name | Type | Description | Notes |
1046
+ | ---- | ---- | ----------- | ----- |
1047
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1048
+ | **clustermgmt_v40_config_node_discovery_params** | [**ClustermgmtV40ConfigNodeDiscoveryParams**](ClustermgmtV40ConfigNodeDiscoveryParams.md) | Discover unconfigured node details. | |
1049
+
1050
+ ### Return type
1051
+
1052
+ [**DiscoverUnconfiguredNodes202Response**](DiscoverUnconfiguredNodes202Response.md)
1053
+
1054
+ ### Authorization
1055
+
1056
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1057
+
1058
+ ### HTTP request headers
1059
+
1060
+ - **Content-Type**: application/json
1061
+ - **Accept**: application/json
1062
+
1063
+
1064
+ ## enter_host_maintenance
1065
+
1066
+ > <EnterHostMaintenance202Response> enter_host_maintenance(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_enter_host_maintenance_spec)
1067
+
1068
+ Enter host into maintenance mode
1069
+
1070
+ Enter host identified by {extId} into maintenance mode belonging to the cluster identified by {clusterExtId}.
1071
+
1072
+ ### Examples
1073
+
1074
+ ```ruby
1075
+ require 'time'
1076
+ require 'nutanix_clustermgmt'
1077
+ # setup authorization
1078
+ NutanixClustermgmt.configure do |config|
1079
+ # Configure API key authorization: apiKeyAuthScheme
1080
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1081
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1082
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1083
+
1084
+ # Configure HTTP basic authorization: basicAuthScheme
1085
+ config.username = 'YOUR USERNAME'
1086
+ config.password = 'YOUR PASSWORD'
1087
+ end
1088
+
1089
+ api_instance = NutanixClustermgmt::ClustersApi.new
1090
+ cluster_ext_id = 'c4fe2c54-7652-44dc-92e0-9aadae5a37a3' # String | Cluster UUID.
1091
+ ext_id = '78820fa6-3756-41e7-b722-d33699cd5705' # String | Host UUID.
1092
+ ntnx_request_id = '2ec80683-5844-4d33-808b-e133714d679b' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
1093
+ clustermgmt_v40_operations_enter_host_maintenance_spec = NutanixClustermgmt::ClustermgmtV40OperationsEnterHostMaintenanceSpec.new # ClustermgmtV40OperationsEnterHostMaintenanceSpec | Property of the host to be put into maintenance mode.
1094
+
1095
+ begin
1096
+ # Enter host into maintenance mode
1097
+ result = api_instance.enter_host_maintenance(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_enter_host_maintenance_spec)
1098
+ p result
1099
+ rescue NutanixClustermgmt::ApiError => e
1100
+ puts "Error when calling ClustersApi->enter_host_maintenance: #{e}"
1101
+ end
1102
+ ```
1103
+
1104
+ #### Using the enter_host_maintenance_with_http_info variant
1105
+
1106
+ This returns an Array which contains the response data, status code and headers.
1107
+
1108
+ > <Array(<EnterHostMaintenance202Response>, Integer, Hash)> enter_host_maintenance_with_http_info(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_enter_host_maintenance_spec)
1109
+
1110
+ ```ruby
1111
+ begin
1112
+ # Enter host into maintenance mode
1113
+ data, status_code, headers = api_instance.enter_host_maintenance_with_http_info(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_enter_host_maintenance_spec)
1114
+ p status_code # => 2xx
1115
+ p headers # => { ... }
1116
+ p data # => <EnterHostMaintenance202Response>
1117
+ rescue NutanixClustermgmt::ApiError => e
1118
+ puts "Error when calling ClustersApi->enter_host_maintenance_with_http_info: #{e}"
1119
+ end
1120
+ ```
1121
+
1122
+ ### Parameters
1123
+
1124
+ | Name | Type | Description | Notes |
1125
+ | ---- | ---- | ----------- | ----- |
1126
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1127
+ | **ext_id** | **String** | Host UUID. | |
1128
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
1129
+ | **clustermgmt_v40_operations_enter_host_maintenance_spec** | [**ClustermgmtV40OperationsEnterHostMaintenanceSpec**](ClustermgmtV40OperationsEnterHostMaintenanceSpec.md) | Property of the host to be put into maintenance mode. | |
1130
+
1131
+ ### Return type
1132
+
1133
+ [**EnterHostMaintenance202Response**](EnterHostMaintenance202Response.md)
1134
+
1135
+ ### Authorization
1136
+
1137
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1138
+
1139
+ ### HTTP request headers
1140
+
1141
+ - **Content-Type**: application/json
1142
+ - **Accept**: application/json
1143
+
1144
+
1145
+ ## exit_host_maintenance
1146
+
1147
+ > <ExitHostMaintenance202Response> exit_host_maintenance(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_host_maintenance_common_spec)
1148
+
1149
+ Exit host from maintenance mode
1150
+
1151
+ Exit host identified by {extId} from maintenance mode belonging to the cluster identified by {clusterExtId}.
1152
+
1153
+ ### Examples
1154
+
1155
+ ```ruby
1156
+ require 'time'
1157
+ require 'nutanix_clustermgmt'
1158
+ # setup authorization
1159
+ NutanixClustermgmt.configure do |config|
1160
+ # Configure API key authorization: apiKeyAuthScheme
1161
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1162
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1163
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1164
+
1165
+ # Configure HTTP basic authorization: basicAuthScheme
1166
+ config.username = 'YOUR USERNAME'
1167
+ config.password = 'YOUR PASSWORD'
1168
+ end
1169
+
1170
+ api_instance = NutanixClustermgmt::ClustersApi.new
1171
+ cluster_ext_id = '14e8abdc-1add-43fe-859d-ae666f049493' # String | Cluster UUID.
1172
+ ext_id = '2bcc7eeb-a488-4a49-9b85-2dc8b93e7f5c' # String | Host UUID.
1173
+ ntnx_request_id = '4c85d3e3-08fa-4222-badb-46cf3d43908e' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
1174
+ clustermgmt_v40_operations_host_maintenance_common_spec = NutanixClustermgmt::ClustermgmtV40OperationsHostMaintenanceCommonSpec.new # ClustermgmtV40OperationsHostMaintenanceCommonSpec | Property of the host to be exited from maintenance mode.
1175
+
1176
+ begin
1177
+ # Exit host from maintenance mode
1178
+ result = api_instance.exit_host_maintenance(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_host_maintenance_common_spec)
1179
+ p result
1180
+ rescue NutanixClustermgmt::ApiError => e
1181
+ puts "Error when calling ClustersApi->exit_host_maintenance: #{e}"
1182
+ end
1183
+ ```
1184
+
1185
+ #### Using the exit_host_maintenance_with_http_info variant
1186
+
1187
+ This returns an Array which contains the response data, status code and headers.
1188
+
1189
+ > <Array(<ExitHostMaintenance202Response>, Integer, Hash)> exit_host_maintenance_with_http_info(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_host_maintenance_common_spec)
1190
+
1191
+ ```ruby
1192
+ begin
1193
+ # Exit host from maintenance mode
1194
+ data, status_code, headers = api_instance.exit_host_maintenance_with_http_info(cluster_ext_id, ext_id, ntnx_request_id, clustermgmt_v40_operations_host_maintenance_common_spec)
1195
+ p status_code # => 2xx
1196
+ p headers # => { ... }
1197
+ p data # => <ExitHostMaintenance202Response>
1198
+ rescue NutanixClustermgmt::ApiError => e
1199
+ puts "Error when calling ClustersApi->exit_host_maintenance_with_http_info: #{e}"
1200
+ end
1201
+ ```
1202
+
1203
+ ### Parameters
1204
+
1205
+ | Name | Type | Description | Notes |
1206
+ | ---- | ---- | ----------- | ----- |
1207
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1208
+ | **ext_id** | **String** | Host UUID. | |
1209
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
1210
+ | **clustermgmt_v40_operations_host_maintenance_common_spec** | [**ClustermgmtV40OperationsHostMaintenanceCommonSpec**](ClustermgmtV40OperationsHostMaintenanceCommonSpec.md) | Property of the host to be exited from maintenance mode. | |
1211
+
1212
+ ### Return type
1213
+
1214
+ [**ExitHostMaintenance202Response**](ExitHostMaintenance202Response.md)
1215
+
1216
+ ### Authorization
1217
+
1218
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1219
+
1220
+ ### HTTP request headers
1221
+
1222
+ - **Content-Type**: application/json
1223
+ - **Accept**: application/json
1224
+
1225
+
1226
+ ## expand_cluster
1227
+
1228
+ > <ExpandCluster202Response> expand_cluster(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_expand_cluster_params)
1229
+
1230
+ Add node on a cluster
1231
+
1232
+ Add node on a cluster. This API is not supported for XEN hypervisor type.
1233
+
1234
+ ### Examples
1235
+
1236
+ ```ruby
1237
+ require 'time'
1238
+ require 'nutanix_clustermgmt'
1239
+ # setup authorization
1240
+ NutanixClustermgmt.configure do |config|
1241
+ # Configure API key authorization: apiKeyAuthScheme
1242
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1243
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1244
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1245
+
1246
+ # Configure HTTP basic authorization: basicAuthScheme
1247
+ config.username = 'YOUR USERNAME'
1248
+ config.password = 'YOUR PASSWORD'
1249
+ end
1250
+
1251
+ api_instance = NutanixClustermgmt::ClustersApi.new
1252
+ cluster_ext_id = '8ffb9b8b-a242-4d44-9052-d03a0e58b44d' # String | Cluster UUID.
1253
+ ntnx_request_id = 'f7b3d025-8e89-4940-870d-c2752371136a' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
1254
+ clustermgmt_v40_config_expand_cluster_params = NutanixClustermgmt::ClustermgmtV40ConfigExpandClusterParams.new({node_params: NutanixClustermgmt::ClustermgmtV40ConfigNodeParam.new}) # ClustermgmtV40ConfigExpandClusterParams | Property of the node to be added.
1255
+
1256
+ begin
1257
+ # Add node on a cluster
1258
+ result = api_instance.expand_cluster(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_expand_cluster_params)
1259
+ p result
1260
+ rescue NutanixClustermgmt::ApiError => e
1261
+ puts "Error when calling ClustersApi->expand_cluster: #{e}"
1262
+ end
1263
+ ```
1264
+
1265
+ #### Using the expand_cluster_with_http_info variant
1266
+
1267
+ This returns an Array which contains the response data, status code and headers.
1268
+
1269
+ > <Array(<ExpandCluster202Response>, Integer, Hash)> expand_cluster_with_http_info(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_expand_cluster_params)
1270
+
1271
+ ```ruby
1272
+ begin
1273
+ # Add node on a cluster
1274
+ data, status_code, headers = api_instance.expand_cluster_with_http_info(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_expand_cluster_params)
1275
+ p status_code # => 2xx
1276
+ p headers # => { ... }
1277
+ p data # => <ExpandCluster202Response>
1278
+ rescue NutanixClustermgmt::ApiError => e
1279
+ puts "Error when calling ClustersApi->expand_cluster_with_http_info: #{e}"
1280
+ end
1281
+ ```
1282
+
1283
+ ### Parameters
1284
+
1285
+ | Name | Type | Description | Notes |
1286
+ | ---- | ---- | ----------- | ----- |
1287
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1288
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
1289
+ | **clustermgmt_v40_config_expand_cluster_params** | [**ClustermgmtV40ConfigExpandClusterParams**](ClustermgmtV40ConfigExpandClusterParams.md) | Property of the node to be added. | |
1290
+
1291
+ ### Return type
1292
+
1293
+ [**ExpandCluster202Response**](ExpandCluster202Response.md)
1294
+
1295
+ ### Authorization
1296
+
1297
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1298
+
1299
+ ### HTTP request headers
1300
+
1301
+ - **Content-Type**: application/json
1302
+ - **Accept**: application/json
1303
+
1304
+
1305
+ ## fetch_node_networking_details
1306
+
1307
+ > <FetchNodeNetworkingDetails202Response> fetch_node_networking_details(cluster_ext_id, clustermgmt_v40_config_node_details)
1308
+
1309
+ Get network information of unconfigured nodes
1310
+
1311
+ Get a dictionary of cluster networks and available uplinks on the given nodes. This API is not supported for XEN hypervisor type.
1312
+
1313
+ ### Examples
1314
+
1315
+ ```ruby
1316
+ require 'time'
1317
+ require 'nutanix_clustermgmt'
1318
+ # setup authorization
1319
+ NutanixClustermgmt.configure do |config|
1320
+ # Configure API key authorization: apiKeyAuthScheme
1321
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1322
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1323
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1324
+
1325
+ # Configure HTTP basic authorization: basicAuthScheme
1326
+ config.username = 'YOUR USERNAME'
1327
+ config.password = 'YOUR PASSWORD'
1328
+ end
1329
+
1330
+ api_instance = NutanixClustermgmt::ClustersApi.new
1331
+ cluster_ext_id = '2b37de6c-251b-4f35-90e4-812e62101c1b' # String | Cluster UUID.
1332
+ clustermgmt_v40_config_node_details = NutanixClustermgmt::ClustermgmtV40ConfigNodeDetails.new({node_list: [NutanixClustermgmt::ClustermgmtV40ConfigNodeListNetworkingDetails.new]}) # ClustermgmtV40ConfigNodeDetails | Node specific details required to fetch node networking information.
1333
+
1334
+ begin
1335
+ # Get network information of unconfigured nodes
1336
+ result = api_instance.fetch_node_networking_details(cluster_ext_id, clustermgmt_v40_config_node_details)
1337
+ p result
1338
+ rescue NutanixClustermgmt::ApiError => e
1339
+ puts "Error when calling ClustersApi->fetch_node_networking_details: #{e}"
1340
+ end
1341
+ ```
1342
+
1343
+ #### Using the fetch_node_networking_details_with_http_info variant
1344
+
1345
+ This returns an Array which contains the response data, status code and headers.
1346
+
1347
+ > <Array(<FetchNodeNetworkingDetails202Response>, Integer, Hash)> fetch_node_networking_details_with_http_info(cluster_ext_id, clustermgmt_v40_config_node_details)
1348
+
1349
+ ```ruby
1350
+ begin
1351
+ # Get network information of unconfigured nodes
1352
+ data, status_code, headers = api_instance.fetch_node_networking_details_with_http_info(cluster_ext_id, clustermgmt_v40_config_node_details)
1353
+ p status_code # => 2xx
1354
+ p headers # => { ... }
1355
+ p data # => <FetchNodeNetworkingDetails202Response>
1356
+ rescue NutanixClustermgmt::ApiError => e
1357
+ puts "Error when calling ClustersApi->fetch_node_networking_details_with_http_info: #{e}"
1358
+ end
1359
+ ```
1360
+
1361
+ ### Parameters
1362
+
1363
+ | Name | Type | Description | Notes |
1364
+ | ---- | ---- | ----------- | ----- |
1365
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1366
+ | **clustermgmt_v40_config_node_details** | [**ClustermgmtV40ConfigNodeDetails**](ClustermgmtV40ConfigNodeDetails.md) | Node specific details required to fetch node networking information. | |
1367
+
1368
+ ### Return type
1369
+
1370
+ [**FetchNodeNetworkingDetails202Response**](FetchNodeNetworkingDetails202Response.md)
1371
+
1372
+ ### Authorization
1373
+
1374
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1375
+
1376
+ ### HTTP request headers
1377
+
1378
+ - **Content-Type**: application/json
1379
+ - **Accept**: application/json
1380
+
1381
+
1382
+ ## fetch_task_response
1383
+
1384
+ > <FetchTaskResponse200Response> fetch_task_response(ext_id, task_response_type)
1385
+
1386
+ Get task response based on the type of request
1387
+
1388
+ Get task response based on the type of request.
1389
+
1390
+ ### Examples
1391
+
1392
+ ```ruby
1393
+ require 'time'
1394
+ require 'nutanix_clustermgmt'
1395
+ # setup authorization
1396
+ NutanixClustermgmt.configure do |config|
1397
+ # Configure API key authorization: apiKeyAuthScheme
1398
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1399
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1400
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1401
+
1402
+ # Configure HTTP basic authorization: basicAuthScheme
1403
+ config.username = 'YOUR USERNAME'
1404
+ config.password = 'YOUR PASSWORD'
1405
+ end
1406
+
1407
+ api_instance = NutanixClustermgmt::ClustersApi.new
1408
+ ext_id = '98981bbf-451e-4266-a85f-c2121b755193' # String | The external identifier of the task.
1409
+ task_response_type = NutanixClustermgmt::ClustermgmtV40ConfigTaskResponseType::UNCONFIGURED_NODES # ClustermgmtV40ConfigTaskResponseType |
1410
+
1411
+ begin
1412
+ # Get task response based on the type of request
1413
+ result = api_instance.fetch_task_response(ext_id, task_response_type)
1414
+ p result
1415
+ rescue NutanixClustermgmt::ApiError => e
1416
+ puts "Error when calling ClustersApi->fetch_task_response: #{e}"
1417
+ end
1418
+ ```
1419
+
1420
+ #### Using the fetch_task_response_with_http_info variant
1421
+
1422
+ This returns an Array which contains the response data, status code and headers.
1423
+
1424
+ > <Array(<FetchTaskResponse200Response>, Integer, Hash)> fetch_task_response_with_http_info(ext_id, task_response_type)
1425
+
1426
+ ```ruby
1427
+ begin
1428
+ # Get task response based on the type of request
1429
+ data, status_code, headers = api_instance.fetch_task_response_with_http_info(ext_id, task_response_type)
1430
+ p status_code # => 2xx
1431
+ p headers # => { ... }
1432
+ p data # => <FetchTaskResponse200Response>
1433
+ rescue NutanixClustermgmt::ApiError => e
1434
+ puts "Error when calling ClustersApi->fetch_task_response_with_http_info: #{e}"
1435
+ end
1436
+ ```
1437
+
1438
+ ### Parameters
1439
+
1440
+ | Name | Type | Description | Notes |
1441
+ | ---- | ---- | ----------- | ----- |
1442
+ | **ext_id** | **String** | The external identifier of the task. | |
1443
+ | **task_response_type** | [**ClustermgmtV40ConfigTaskResponseType**](.md) | | |
1444
+
1445
+ ### Return type
1446
+
1447
+ [**FetchTaskResponse200Response**](FetchTaskResponse200Response.md)
1448
+
1449
+ ### Authorization
1450
+
1451
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1452
+
1453
+ ### HTTP request headers
1454
+
1455
+ - **Content-Type**: Not defined
1456
+ - **Accept**: application/json
1457
+
1458
+
1459
+ ## get_cluster_by_id
1460
+
1461
+ > <GetClusterById200Response> get_cluster_by_id(ext_id, opts)
1462
+
1463
+ Get details of a cluster
1464
+
1465
+ Fetches the cluster entity details identified by {extId}.
1466
+
1467
+ ### Examples
1468
+
1469
+ ```ruby
1470
+ require 'time'
1471
+ require 'nutanix_clustermgmt'
1472
+ # setup authorization
1473
+ NutanixClustermgmt.configure do |config|
1474
+ # Configure API key authorization: apiKeyAuthScheme
1475
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1476
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1477
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1478
+
1479
+ # Configure HTTP basic authorization: basicAuthScheme
1480
+ config.username = 'YOUR USERNAME'
1481
+ config.password = 'YOUR PASSWORD'
1482
+ end
1483
+
1484
+ api_instance = NutanixClustermgmt::ClustersApi.new
1485
+ ext_id = '678373f4-c346-45bb-b3c6-fce7bec87b2a' # String | Cluster UUID.
1486
+ opts = {
1487
+ expand: 'expand_example' # String | A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - clusterProfile - storageSummary
1488
+ }
1489
+
1490
+ begin
1491
+ # Get details of a cluster
1492
+ result = api_instance.get_cluster_by_id(ext_id, opts)
1493
+ p result
1494
+ rescue NutanixClustermgmt::ApiError => e
1495
+ puts "Error when calling ClustersApi->get_cluster_by_id: #{e}"
1496
+ end
1497
+ ```
1498
+
1499
+ #### Using the get_cluster_by_id_with_http_info variant
1500
+
1501
+ This returns an Array which contains the response data, status code and headers.
1502
+
1503
+ > <Array(<GetClusterById200Response>, Integer, Hash)> get_cluster_by_id_with_http_info(ext_id, opts)
1504
+
1505
+ ```ruby
1506
+ begin
1507
+ # Get details of a cluster
1508
+ data, status_code, headers = api_instance.get_cluster_by_id_with_http_info(ext_id, opts)
1509
+ p status_code # => 2xx
1510
+ p headers # => { ... }
1511
+ p data # => <GetClusterById200Response>
1512
+ rescue NutanixClustermgmt::ApiError => e
1513
+ puts "Error when calling ClustersApi->get_cluster_by_id_with_http_info: #{e}"
1514
+ end
1515
+ ```
1516
+
1517
+ ### Parameters
1518
+
1519
+ | Name | Type | Description | Notes |
1520
+ | ---- | ---- | ----------- | ----- |
1521
+ | **ext_id** | **String** | Cluster UUID. | |
1522
+ | **expand** | **String** | A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - clusterProfile - storageSummary | [optional] |
1523
+
1524
+ ### Return type
1525
+
1526
+ [**GetClusterById200Response**](GetClusterById200Response.md)
1527
+
1528
+ ### Authorization
1529
+
1530
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1531
+
1532
+ ### HTTP request headers
1533
+
1534
+ - **Content-Type**: Not defined
1535
+ - **Accept**: application/json
1536
+
1537
+
1538
+ ## get_cluster_stats
1539
+
1540
+ > <GetClusterStats200Response> get_cluster_stats(ext_id, start_time, end_time, opts)
1541
+
1542
+ Get cluster statistics
1543
+
1544
+ Get the statistics data of the cluster identified by {clusterExtId}.
1545
+
1546
+ ### Examples
1547
+
1548
+ ```ruby
1549
+ require 'time'
1550
+ require 'nutanix_clustermgmt'
1551
+ # setup authorization
1552
+ NutanixClustermgmt.configure do |config|
1553
+ # Configure API key authorization: apiKeyAuthScheme
1554
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1555
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1556
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1557
+
1558
+ # Configure HTTP basic authorization: basicAuthScheme
1559
+ config.username = 'YOUR USERNAME'
1560
+ config.password = 'YOUR PASSWORD'
1561
+ end
1562
+
1563
+ api_instance = NutanixClustermgmt::ClustersApi.new
1564
+ ext_id = 'f724e758-b2db-4af8-a4e3-81e0b3103f30' # String | Cluster UUID.
1565
+ start_time = Time.parse('2009-09-23T14:30-07:00') # Time | The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
1566
+ end_time = Time.parse('2009-09-23T14:30-07:00') # Time | The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
1567
+ opts = {
1568
+ sampling_interval: 41, # Integer | The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
1569
+ stat_type: NutanixClustermgmt::CommonV10StatsDownSamplingOperator::SUM, # CommonV10StatsDownSamplingOperator |
1570
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - aggregateHypervisorMemoryUsagePpm - aggregateHypervisorMemoryUsagePpmLowerBuf - aggregateHypervisorMemoryUsagePpmUpperBuf - controllerAvgIoLatencyUsecs - controllerAvgIoLatencyUsecsLowerBuf - controllerAvgIoLatencyUsecsUpperBuf - controllerAvgReadIoLatencyUsecs - controllerAvgReadIoLatencyUsecsLowerBuf - controllerAvgReadIoLatencyUsecsUpperBuf - controllerAvgWriteIoLatencyUsecs - controllerAvgWriteIoLatencyUsecsLowerBuf - controllerAvgWriteIoLatencyUsecsUpperBuf - controllerNumIops - controllerNumIopsLowerBuf - controllerNumIopsUpperBuf - controllerNumReadIops - controllerNumReadIopsLowerBuf - controllerNumReadIopsUpperBuf - controllerNumWriteIops - controllerNumWriteIopsLowerBuf - controllerNumWriteIopsUpperBuf - controllerReadIoBandwidthKbps - controllerReadIoBandwidthKbpsLowerBuf - controllerReadIoBandwidthKbpsUpperBuf - controllerWriteIoBandwidthKbps - controllerWriteIoBandwidthKbpsLowerBuf - controllerWriteIoBandwidthKbpsUpperBuf - cpuCapacityHz - cpuUsageHz - freePhysicalStorageBytes - healthCheckScore - hypervisorCpuUsagePpm - hypervisorCpuUsagePpmLowerBuf - hypervisorCpuUsagePpmUpperBuf - ioBandwidthKbps - ioBandwidthKbpsLowerBuf - ioBandwidthKbpsUpperBuf - logicalStorageUsageBytes - memoryCapacityBytes - overallMemoryUsageBytes - overallSavingsBytes - overallSavingsRatio - powerConsumptionInstantWatt - recycleBinUsageBytes - snapshotCapacityBytes - storageCapacityBytes - storageUsageBytes
1571
+ }
1572
+
1573
+ begin
1574
+ # Get cluster statistics
1575
+ result = api_instance.get_cluster_stats(ext_id, start_time, end_time, opts)
1576
+ p result
1577
+ rescue NutanixClustermgmt::ApiError => e
1578
+ puts "Error when calling ClustersApi->get_cluster_stats: #{e}"
1579
+ end
1580
+ ```
1581
+
1582
+ #### Using the get_cluster_stats_with_http_info variant
1583
+
1584
+ This returns an Array which contains the response data, status code and headers.
1585
+
1586
+ > <Array(<GetClusterStats200Response>, Integer, Hash)> get_cluster_stats_with_http_info(ext_id, start_time, end_time, opts)
1587
+
1588
+ ```ruby
1589
+ begin
1590
+ # Get cluster statistics
1591
+ data, status_code, headers = api_instance.get_cluster_stats_with_http_info(ext_id, start_time, end_time, opts)
1592
+ p status_code # => 2xx
1593
+ p headers # => { ... }
1594
+ p data # => <GetClusterStats200Response>
1595
+ rescue NutanixClustermgmt::ApiError => e
1596
+ puts "Error when calling ClustersApi->get_cluster_stats_with_http_info: #{e}"
1597
+ end
1598
+ ```
1599
+
1600
+ ### Parameters
1601
+
1602
+ | Name | Type | Description | Notes |
1603
+ | ---- | ---- | ----------- | ----- |
1604
+ | **ext_id** | **String** | Cluster UUID. | |
1605
+ | **start_time** | **Time** | The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html | |
1606
+ | **end_time** | **Time** | The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html | |
1607
+ | **sampling_interval** | **Integer** | The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30. | [optional] |
1608
+ | **stat_type** | [**CommonV10StatsDownSamplingOperator**](.md) | | [optional] |
1609
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - aggregateHypervisorMemoryUsagePpm - aggregateHypervisorMemoryUsagePpmLowerBuf - aggregateHypervisorMemoryUsagePpmUpperBuf - controllerAvgIoLatencyUsecs - controllerAvgIoLatencyUsecsLowerBuf - controllerAvgIoLatencyUsecsUpperBuf - controllerAvgReadIoLatencyUsecs - controllerAvgReadIoLatencyUsecsLowerBuf - controllerAvgReadIoLatencyUsecsUpperBuf - controllerAvgWriteIoLatencyUsecs - controllerAvgWriteIoLatencyUsecsLowerBuf - controllerAvgWriteIoLatencyUsecsUpperBuf - controllerNumIops - controllerNumIopsLowerBuf - controllerNumIopsUpperBuf - controllerNumReadIops - controllerNumReadIopsLowerBuf - controllerNumReadIopsUpperBuf - controllerNumWriteIops - controllerNumWriteIopsLowerBuf - controllerNumWriteIopsUpperBuf - controllerReadIoBandwidthKbps - controllerReadIoBandwidthKbpsLowerBuf - controllerReadIoBandwidthKbpsUpperBuf - controllerWriteIoBandwidthKbps - controllerWriteIoBandwidthKbpsLowerBuf - controllerWriteIoBandwidthKbpsUpperBuf - cpuCapacityHz - cpuUsageHz - freePhysicalStorageBytes - healthCheckScore - hypervisorCpuUsagePpm - hypervisorCpuUsagePpmLowerBuf - hypervisorCpuUsagePpmUpperBuf - ioBandwidthKbps - ioBandwidthKbpsLowerBuf - ioBandwidthKbpsUpperBuf - logicalStorageUsageBytes - memoryCapacityBytes - overallMemoryUsageBytes - overallSavingsBytes - overallSavingsRatio - powerConsumptionInstantWatt - recycleBinUsageBytes - snapshotCapacityBytes - storageCapacityBytes - storageUsageBytes | [optional] |
1610
+
1611
+ ### Return type
1612
+
1613
+ [**GetClusterStats200Response**](GetClusterStats200Response.md)
1614
+
1615
+ ### Authorization
1616
+
1617
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1618
+
1619
+ ### HTTP request headers
1620
+
1621
+ - **Content-Type**: Not defined
1622
+ - **Accept**: application/json
1623
+
1624
+
1625
+ ## get_host_by_id
1626
+
1627
+ > <GetHostById200Response> get_host_by_id(cluster_ext_id, ext_id)
1628
+
1629
+ Get the details of host associated with the cluster
1630
+
1631
+ Fetches the details of the host identified by {extId} associated with the cluster identified by {clusterExtId}.
1632
+
1633
+ ### Examples
1634
+
1635
+ ```ruby
1636
+ require 'time'
1637
+ require 'nutanix_clustermgmt'
1638
+ # setup authorization
1639
+ NutanixClustermgmt.configure do |config|
1640
+ # Configure API key authorization: apiKeyAuthScheme
1641
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1642
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1643
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1644
+
1645
+ # Configure HTTP basic authorization: basicAuthScheme
1646
+ config.username = 'YOUR USERNAME'
1647
+ config.password = 'YOUR PASSWORD'
1648
+ end
1649
+
1650
+ api_instance = NutanixClustermgmt::ClustersApi.new
1651
+ cluster_ext_id = '7748a0d0-6fbe-45f3-a69a-541aae7aafb4' # String | Cluster UUID.
1652
+ ext_id = '2d170602-d2e7-47fe-ac4e-af4b8a7b0a65' # String | Host UUID.
1653
+
1654
+ begin
1655
+ # Get the details of host associated with the cluster
1656
+ result = api_instance.get_host_by_id(cluster_ext_id, ext_id)
1657
+ p result
1658
+ rescue NutanixClustermgmt::ApiError => e
1659
+ puts "Error when calling ClustersApi->get_host_by_id: #{e}"
1660
+ end
1661
+ ```
1662
+
1663
+ #### Using the get_host_by_id_with_http_info variant
1664
+
1665
+ This returns an Array which contains the response data, status code and headers.
1666
+
1667
+ > <Array(<GetHostById200Response>, Integer, Hash)> get_host_by_id_with_http_info(cluster_ext_id, ext_id)
1668
+
1669
+ ```ruby
1670
+ begin
1671
+ # Get the details of host associated with the cluster
1672
+ data, status_code, headers = api_instance.get_host_by_id_with_http_info(cluster_ext_id, ext_id)
1673
+ p status_code # => 2xx
1674
+ p headers # => { ... }
1675
+ p data # => <GetHostById200Response>
1676
+ rescue NutanixClustermgmt::ApiError => e
1677
+ puts "Error when calling ClustersApi->get_host_by_id_with_http_info: #{e}"
1678
+ end
1679
+ ```
1680
+
1681
+ ### Parameters
1682
+
1683
+ | Name | Type | Description | Notes |
1684
+ | ---- | ---- | ----------- | ----- |
1685
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1686
+ | **ext_id** | **String** | Host UUID. | |
1687
+
1688
+ ### Return type
1689
+
1690
+ [**GetHostById200Response**](GetHostById200Response.md)
1691
+
1692
+ ### Authorization
1693
+
1694
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1695
+
1696
+ ### HTTP request headers
1697
+
1698
+ - **Content-Type**: Not defined
1699
+ - **Accept**: application/json
1700
+
1701
+
1702
+ ## get_host_nic_by_id
1703
+
1704
+ > <GetHostNicById200Response> get_host_nic_by_id(cluster_ext_id, host_ext_id, ext_id)
1705
+
1706
+ Get host NIC
1707
+
1708
+ Get the host NIC entity of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
1709
+
1710
+ ### Examples
1711
+
1712
+ ```ruby
1713
+ require 'time'
1714
+ require 'nutanix_clustermgmt'
1715
+ # setup authorization
1716
+ NutanixClustermgmt.configure do |config|
1717
+ # Configure API key authorization: apiKeyAuthScheme
1718
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1719
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1720
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1721
+
1722
+ # Configure HTTP basic authorization: basicAuthScheme
1723
+ config.username = 'YOUR USERNAME'
1724
+ config.password = 'YOUR PASSWORD'
1725
+ end
1726
+
1727
+ api_instance = NutanixClustermgmt::ClustersApi.new
1728
+ cluster_ext_id = 'ef0d30bb-1cc6-4323-b1ad-c97512583b69' # String | Cluster UUID.
1729
+ host_ext_id = '6fd7f110-a288-4fc8-af14-9b9daa1430a7' # String | Host UUID.
1730
+ ext_id = '89179bbd-ac9a-4ee2-8983-9a112e5a648d' # String | Host NIC UUID.
1731
+
1732
+ begin
1733
+ # Get host NIC
1734
+ result = api_instance.get_host_nic_by_id(cluster_ext_id, host_ext_id, ext_id)
1735
+ p result
1736
+ rescue NutanixClustermgmt::ApiError => e
1737
+ puts "Error when calling ClustersApi->get_host_nic_by_id: #{e}"
1738
+ end
1739
+ ```
1740
+
1741
+ #### Using the get_host_nic_by_id_with_http_info variant
1742
+
1743
+ This returns an Array which contains the response data, status code and headers.
1744
+
1745
+ > <Array(<GetHostNicById200Response>, Integer, Hash)> get_host_nic_by_id_with_http_info(cluster_ext_id, host_ext_id, ext_id)
1746
+
1747
+ ```ruby
1748
+ begin
1749
+ # Get host NIC
1750
+ data, status_code, headers = api_instance.get_host_nic_by_id_with_http_info(cluster_ext_id, host_ext_id, ext_id)
1751
+ p status_code # => 2xx
1752
+ p headers # => { ... }
1753
+ p data # => <GetHostNicById200Response>
1754
+ rescue NutanixClustermgmt::ApiError => e
1755
+ puts "Error when calling ClustersApi->get_host_nic_by_id_with_http_info: #{e}"
1756
+ end
1757
+ ```
1758
+
1759
+ ### Parameters
1760
+
1761
+ | Name | Type | Description | Notes |
1762
+ | ---- | ---- | ----------- | ----- |
1763
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1764
+ | **host_ext_id** | **String** | Host UUID. | |
1765
+ | **ext_id** | **String** | Host NIC UUID. | |
1766
+
1767
+ ### Return type
1768
+
1769
+ [**GetHostNicById200Response**](GetHostNicById200Response.md)
1770
+
1771
+ ### Authorization
1772
+
1773
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1774
+
1775
+ ### HTTP request headers
1776
+
1777
+ - **Content-Type**: Not defined
1778
+ - **Accept**: application/json
1779
+
1780
+
1781
+ ## get_host_stats
1782
+
1783
+ > <GetHostStats200Response> get_host_stats(cluster_ext_id, ext_id, start_time, end_time, opts)
1784
+
1785
+ Get host statistics
1786
+
1787
+ Get the statistics data of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
1788
+
1789
+ ### Examples
1790
+
1791
+ ```ruby
1792
+ require 'time'
1793
+ require 'nutanix_clustermgmt'
1794
+ # setup authorization
1795
+ NutanixClustermgmt.configure do |config|
1796
+ # Configure API key authorization: apiKeyAuthScheme
1797
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1798
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1799
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1800
+
1801
+ # Configure HTTP basic authorization: basicAuthScheme
1802
+ config.username = 'YOUR USERNAME'
1803
+ config.password = 'YOUR PASSWORD'
1804
+ end
1805
+
1806
+ api_instance = NutanixClustermgmt::ClustersApi.new
1807
+ cluster_ext_id = '655d31b1-53e6-4ec6-b577-a4e31397e977' # String | Cluster UUID.
1808
+ ext_id = '643a3ec7-8377-4574-88df-85741b78682a' # String | Host UUID.
1809
+ start_time = Time.parse('2009-09-23T14:30-07:00') # Time | The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
1810
+ end_time = Time.parse('2009-09-23T14:30-07:00') # Time | The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
1811
+ opts = {
1812
+ sampling_interval: 85, # Integer | The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
1813
+ stat_type: NutanixClustermgmt::CommonV10StatsDownSamplingOperator::SUM, # CommonV10StatsDownSamplingOperator |
1814
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - aggregateHypervisorMemoryUsagePpm - aggregateHypervisorMemoryUsagePpmLowerBuf - aggregateHypervisorMemoryUsagePpmUpperBuf - controllerAvgIoLatencyUsecs - controllerAvgIoLatencyUsecsLowerBuf - controllerAvgIoLatencyUsecsUpperBuf - controllerAvgReadIoLatencyUsecs - controllerAvgReadIoLatencyUsecsLowerBuf - controllerAvgReadIoLatencyUsecsUpperBuf - controllerAvgWriteIoLatencyUsecs - controllerAvgWriteIoLatencyUsecsLowerBuf - controllerAvgWriteIoLatencyUsecsUpperBuf - controllerNumIops - controllerNumIopsLowerBuf - controllerNumIopsUpperBuf - controllerNumReadIops - controllerNumReadIopsLowerBuf - controllerNumReadIopsUpperBuf - controllerNumWriteIops - controllerNumWriteIopsLowerBuf - controllerNumWriteIopsUpperBuf - controllerReadIoBandwidthKbps - controllerReadIoBandwidthKbpsLowerBuf - controllerReadIoBandwidthKbpsUpperBuf - controllerWriteIoBandwidthKbps - controllerWriteIoBandwidthKbpsLowerBuf - controllerWriteIoBandwidthKbpsUpperBuf - cpuCapacityHz - cpuUsageHz - freePhysicalStorageBytes - healthCheckScore - hypervisorCpuUsagePpm - hypervisorCpuUsagePpmLowerBuf - hypervisorCpuUsagePpmUpperBuf - ioBandwidthKbps - ioBandwidthKbpsLowerBuf - ioBandwidthKbpsUpperBuf - logicalStorageUsageBytes - memoryCapacityBytes - overallMemoryUsageBytes - overallMemoryUsagePpm - overallMemoryUsagePpmLowerBuf - overallMemoryUsagePpmUpperBuf - powerConsumptionInstantWatt - storageCapacityBytes - storageUsageBytes
1815
+ }
1816
+
1817
+ begin
1818
+ # Get host statistics
1819
+ result = api_instance.get_host_stats(cluster_ext_id, ext_id, start_time, end_time, opts)
1820
+ p result
1821
+ rescue NutanixClustermgmt::ApiError => e
1822
+ puts "Error when calling ClustersApi->get_host_stats: #{e}"
1823
+ end
1824
+ ```
1825
+
1826
+ #### Using the get_host_stats_with_http_info variant
1827
+
1828
+ This returns an Array which contains the response data, status code and headers.
1829
+
1830
+ > <Array(<GetHostStats200Response>, Integer, Hash)> get_host_stats_with_http_info(cluster_ext_id, ext_id, start_time, end_time, opts)
1831
+
1832
+ ```ruby
1833
+ begin
1834
+ # Get host statistics
1835
+ data, status_code, headers = api_instance.get_host_stats_with_http_info(cluster_ext_id, ext_id, start_time, end_time, opts)
1836
+ p status_code # => 2xx
1837
+ p headers # => { ... }
1838
+ p data # => <GetHostStats200Response>
1839
+ rescue NutanixClustermgmt::ApiError => e
1840
+ puts "Error when calling ClustersApi->get_host_stats_with_http_info: #{e}"
1841
+ end
1842
+ ```
1843
+
1844
+ ### Parameters
1845
+
1846
+ | Name | Type | Description | Notes |
1847
+ | ---- | ---- | ----------- | ----- |
1848
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1849
+ | **ext_id** | **String** | Host UUID. | |
1850
+ | **start_time** | **Time** | The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html | |
1851
+ | **end_time** | **Time** | The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html | |
1852
+ | **sampling_interval** | **Integer** | The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30. | [optional] |
1853
+ | **stat_type** | [**CommonV10StatsDownSamplingOperator**](.md) | | [optional] |
1854
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - aggregateHypervisorMemoryUsagePpm - aggregateHypervisorMemoryUsagePpmLowerBuf - aggregateHypervisorMemoryUsagePpmUpperBuf - controllerAvgIoLatencyUsecs - controllerAvgIoLatencyUsecsLowerBuf - controllerAvgIoLatencyUsecsUpperBuf - controllerAvgReadIoLatencyUsecs - controllerAvgReadIoLatencyUsecsLowerBuf - controllerAvgReadIoLatencyUsecsUpperBuf - controllerAvgWriteIoLatencyUsecs - controllerAvgWriteIoLatencyUsecsLowerBuf - controllerAvgWriteIoLatencyUsecsUpperBuf - controllerNumIops - controllerNumIopsLowerBuf - controllerNumIopsUpperBuf - controllerNumReadIops - controllerNumReadIopsLowerBuf - controllerNumReadIopsUpperBuf - controllerNumWriteIops - controllerNumWriteIopsLowerBuf - controllerNumWriteIopsUpperBuf - controllerReadIoBandwidthKbps - controllerReadIoBandwidthKbpsLowerBuf - controllerReadIoBandwidthKbpsUpperBuf - controllerWriteIoBandwidthKbps - controllerWriteIoBandwidthKbpsLowerBuf - controllerWriteIoBandwidthKbpsUpperBuf - cpuCapacityHz - cpuUsageHz - freePhysicalStorageBytes - healthCheckScore - hypervisorCpuUsagePpm - hypervisorCpuUsagePpmLowerBuf - hypervisorCpuUsagePpmUpperBuf - ioBandwidthKbps - ioBandwidthKbpsLowerBuf - ioBandwidthKbpsUpperBuf - logicalStorageUsageBytes - memoryCapacityBytes - overallMemoryUsageBytes - overallMemoryUsagePpm - overallMemoryUsagePpmLowerBuf - overallMemoryUsagePpmUpperBuf - powerConsumptionInstantWatt - storageCapacityBytes - storageUsageBytes | [optional] |
1855
+
1856
+ ### Return type
1857
+
1858
+ [**GetHostStats200Response**](GetHostStats200Response.md)
1859
+
1860
+ ### Authorization
1861
+
1862
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1863
+
1864
+ ### HTTP request headers
1865
+
1866
+ - **Content-Type**: Not defined
1867
+ - **Accept**: application/json
1868
+
1869
+
1870
+ ## get_rackable_unit_by_id
1871
+
1872
+ > <GetRackableUnitById200Response> get_rackable_unit_by_id(cluster_ext_id, ext_id)
1873
+
1874
+ Get the rackable unit details
1875
+
1876
+ Fetches the rackable unit entity details identified by {extId} of the cluster identified by {clusterExtId}.
1877
+
1878
+ ### Examples
1879
+
1880
+ ```ruby
1881
+ require 'time'
1882
+ require 'nutanix_clustermgmt'
1883
+ # setup authorization
1884
+ NutanixClustermgmt.configure do |config|
1885
+ # Configure API key authorization: apiKeyAuthScheme
1886
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1887
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1888
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1889
+
1890
+ # Configure HTTP basic authorization: basicAuthScheme
1891
+ config.username = 'YOUR USERNAME'
1892
+ config.password = 'YOUR PASSWORD'
1893
+ end
1894
+
1895
+ api_instance = NutanixClustermgmt::ClustersApi.new
1896
+ cluster_ext_id = '41ade2ef-7400-41c0-830a-4c1f6e065b74' # String | Cluster UUID.
1897
+ ext_id = 'c1b7d355-1a9f-4631-9d4b-cdf2adba841e' # String | Rackable unit UUID.
1898
+
1899
+ begin
1900
+ # Get the rackable unit details
1901
+ result = api_instance.get_rackable_unit_by_id(cluster_ext_id, ext_id)
1902
+ p result
1903
+ rescue NutanixClustermgmt::ApiError => e
1904
+ puts "Error when calling ClustersApi->get_rackable_unit_by_id: #{e}"
1905
+ end
1906
+ ```
1907
+
1908
+ #### Using the get_rackable_unit_by_id_with_http_info variant
1909
+
1910
+ This returns an Array which contains the response data, status code and headers.
1911
+
1912
+ > <Array(<GetRackableUnitById200Response>, Integer, Hash)> get_rackable_unit_by_id_with_http_info(cluster_ext_id, ext_id)
1913
+
1914
+ ```ruby
1915
+ begin
1916
+ # Get the rackable unit details
1917
+ data, status_code, headers = api_instance.get_rackable_unit_by_id_with_http_info(cluster_ext_id, ext_id)
1918
+ p status_code # => 2xx
1919
+ p headers # => { ... }
1920
+ p data # => <GetRackableUnitById200Response>
1921
+ rescue NutanixClustermgmt::ApiError => e
1922
+ puts "Error when calling ClustersApi->get_rackable_unit_by_id_with_http_info: #{e}"
1923
+ end
1924
+ ```
1925
+
1926
+ ### Parameters
1927
+
1928
+ | Name | Type | Description | Notes |
1929
+ | ---- | ---- | ----------- | ----- |
1930
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
1931
+ | **ext_id** | **String** | Rackable unit UUID. | |
1932
+
1933
+ ### Return type
1934
+
1935
+ [**GetRackableUnitById200Response**](GetRackableUnitById200Response.md)
1936
+
1937
+ ### Authorization
1938
+
1939
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
1940
+
1941
+ ### HTTP request headers
1942
+
1943
+ - **Content-Type**: Not defined
1944
+ - **Accept**: application/json
1945
+
1946
+
1947
+ ## get_rsyslog_server_by_id
1948
+
1949
+ > <GetRsyslogServerById200Response> get_rsyslog_server_by_id(cluster_ext_id, ext_id)
1950
+
1951
+ Get RSYSLOG server configuration
1952
+
1953
+ Fetches the RSYSLOG server configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
1954
+
1955
+ ### Examples
1956
+
1957
+ ```ruby
1958
+ require 'time'
1959
+ require 'nutanix_clustermgmt'
1960
+ # setup authorization
1961
+ NutanixClustermgmt.configure do |config|
1962
+ # Configure API key authorization: apiKeyAuthScheme
1963
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
1964
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1965
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
1966
+
1967
+ # Configure HTTP basic authorization: basicAuthScheme
1968
+ config.username = 'YOUR USERNAME'
1969
+ config.password = 'YOUR PASSWORD'
1970
+ end
1971
+
1972
+ api_instance = NutanixClustermgmt::ClustersApi.new
1973
+ cluster_ext_id = 'daf742e0-a688-4559-83d4-d31274d21475' # String | Cluster UUID.
1974
+ ext_id = '84f12841-5b49-45b0-8314-77de5c122f9e' # String | RSYSLOG server UUID.
1975
+
1976
+ begin
1977
+ # Get RSYSLOG server configuration
1978
+ result = api_instance.get_rsyslog_server_by_id(cluster_ext_id, ext_id)
1979
+ p result
1980
+ rescue NutanixClustermgmt::ApiError => e
1981
+ puts "Error when calling ClustersApi->get_rsyslog_server_by_id: #{e}"
1982
+ end
1983
+ ```
1984
+
1985
+ #### Using the get_rsyslog_server_by_id_with_http_info variant
1986
+
1987
+ This returns an Array which contains the response data, status code and headers.
1988
+
1989
+ > <Array(<GetRsyslogServerById200Response>, Integer, Hash)> get_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id)
1990
+
1991
+ ```ruby
1992
+ begin
1993
+ # Get RSYSLOG server configuration
1994
+ data, status_code, headers = api_instance.get_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id)
1995
+ p status_code # => 2xx
1996
+ p headers # => { ... }
1997
+ p data # => <GetRsyslogServerById200Response>
1998
+ rescue NutanixClustermgmt::ApiError => e
1999
+ puts "Error when calling ClustersApi->get_rsyslog_server_by_id_with_http_info: #{e}"
2000
+ end
2001
+ ```
2002
+
2003
+ ### Parameters
2004
+
2005
+ | Name | Type | Description | Notes |
2006
+ | ---- | ---- | ----------- | ----- |
2007
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2008
+ | **ext_id** | **String** | RSYSLOG server UUID. | |
2009
+
2010
+ ### Return type
2011
+
2012
+ [**GetRsyslogServerById200Response**](GetRsyslogServerById200Response.md)
2013
+
2014
+ ### Authorization
2015
+
2016
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2017
+
2018
+ ### HTTP request headers
2019
+
2020
+ - **Content-Type**: Not defined
2021
+ - **Accept**: application/json
2022
+
2023
+
2024
+ ## get_snmp_config_by_cluster_id
2025
+
2026
+ > <GetSnmpConfigByClusterId200Response> get_snmp_config_by_cluster_id(cluster_ext_id)
2027
+
2028
+ Get SNMP config details of a cluster
2029
+
2030
+ Fetches SNMP config details of the cluster identified by {clusterExtId}.
2031
+
2032
+ ### Examples
2033
+
2034
+ ```ruby
2035
+ require 'time'
2036
+ require 'nutanix_clustermgmt'
2037
+ # setup authorization
2038
+ NutanixClustermgmt.configure do |config|
2039
+ # Configure API key authorization: apiKeyAuthScheme
2040
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2041
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2042
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2043
+
2044
+ # Configure HTTP basic authorization: basicAuthScheme
2045
+ config.username = 'YOUR USERNAME'
2046
+ config.password = 'YOUR PASSWORD'
2047
+ end
2048
+
2049
+ api_instance = NutanixClustermgmt::ClustersApi.new
2050
+ cluster_ext_id = 'cfb6452a-4a1c-4537-88af-a8b5f177f208' # String | Cluster UUID.
2051
+
2052
+ begin
2053
+ # Get SNMP config details of a cluster
2054
+ result = api_instance.get_snmp_config_by_cluster_id(cluster_ext_id)
2055
+ p result
2056
+ rescue NutanixClustermgmt::ApiError => e
2057
+ puts "Error when calling ClustersApi->get_snmp_config_by_cluster_id: #{e}"
2058
+ end
2059
+ ```
2060
+
2061
+ #### Using the get_snmp_config_by_cluster_id_with_http_info variant
2062
+
2063
+ This returns an Array which contains the response data, status code and headers.
2064
+
2065
+ > <Array(<GetSnmpConfigByClusterId200Response>, Integer, Hash)> get_snmp_config_by_cluster_id_with_http_info(cluster_ext_id)
2066
+
2067
+ ```ruby
2068
+ begin
2069
+ # Get SNMP config details of a cluster
2070
+ data, status_code, headers = api_instance.get_snmp_config_by_cluster_id_with_http_info(cluster_ext_id)
2071
+ p status_code # => 2xx
2072
+ p headers # => { ... }
2073
+ p data # => <GetSnmpConfigByClusterId200Response>
2074
+ rescue NutanixClustermgmt::ApiError => e
2075
+ puts "Error when calling ClustersApi->get_snmp_config_by_cluster_id_with_http_info: #{e}"
2076
+ end
2077
+ ```
2078
+
2079
+ ### Parameters
2080
+
2081
+ | Name | Type | Description | Notes |
2082
+ | ---- | ---- | ----------- | ----- |
2083
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2084
+
2085
+ ### Return type
2086
+
2087
+ [**GetSnmpConfigByClusterId200Response**](GetSnmpConfigByClusterId200Response.md)
2088
+
2089
+ ### Authorization
2090
+
2091
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2092
+
2093
+ ### HTTP request headers
2094
+
2095
+ - **Content-Type**: Not defined
2096
+ - **Accept**: application/json
2097
+
2098
+
2099
+ ## get_snmp_trap_by_id
2100
+
2101
+ > <GetSnmpTrapById200Response> get_snmp_trap_by_id(cluster_ext_id, ext_id)
2102
+
2103
+ Get SNMP trap configuration details
2104
+
2105
+ Fetches SNMP trap configuration details identified by {extId} associated with the cluster identified by {clusterExtId}.
2106
+
2107
+ ### Examples
2108
+
2109
+ ```ruby
2110
+ require 'time'
2111
+ require 'nutanix_clustermgmt'
2112
+ # setup authorization
2113
+ NutanixClustermgmt.configure do |config|
2114
+ # Configure API key authorization: apiKeyAuthScheme
2115
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2116
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2117
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2118
+
2119
+ # Configure HTTP basic authorization: basicAuthScheme
2120
+ config.username = 'YOUR USERNAME'
2121
+ config.password = 'YOUR PASSWORD'
2122
+ end
2123
+
2124
+ api_instance = NutanixClustermgmt::ClustersApi.new
2125
+ cluster_ext_id = 'ce7461ff-3709-4b03-a6dd-507e4e1d4838' # String | Cluster UUID.
2126
+ ext_id = 'd7572ca2-da2c-4fc0-8019-d35b3d41d482' # String | SNMP trap UUID.
2127
+
2128
+ begin
2129
+ # Get SNMP trap configuration details
2130
+ result = api_instance.get_snmp_trap_by_id(cluster_ext_id, ext_id)
2131
+ p result
2132
+ rescue NutanixClustermgmt::ApiError => e
2133
+ puts "Error when calling ClustersApi->get_snmp_trap_by_id: #{e}"
2134
+ end
2135
+ ```
2136
+
2137
+ #### Using the get_snmp_trap_by_id_with_http_info variant
2138
+
2139
+ This returns an Array which contains the response data, status code and headers.
2140
+
2141
+ > <Array(<GetSnmpTrapById200Response>, Integer, Hash)> get_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id)
2142
+
2143
+ ```ruby
2144
+ begin
2145
+ # Get SNMP trap configuration details
2146
+ data, status_code, headers = api_instance.get_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id)
2147
+ p status_code # => 2xx
2148
+ p headers # => { ... }
2149
+ p data # => <GetSnmpTrapById200Response>
2150
+ rescue NutanixClustermgmt::ApiError => e
2151
+ puts "Error when calling ClustersApi->get_snmp_trap_by_id_with_http_info: #{e}"
2152
+ end
2153
+ ```
2154
+
2155
+ ### Parameters
2156
+
2157
+ | Name | Type | Description | Notes |
2158
+ | ---- | ---- | ----------- | ----- |
2159
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2160
+ | **ext_id** | **String** | SNMP trap UUID. | |
2161
+
2162
+ ### Return type
2163
+
2164
+ [**GetSnmpTrapById200Response**](GetSnmpTrapById200Response.md)
2165
+
2166
+ ### Authorization
2167
+
2168
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2169
+
2170
+ ### HTTP request headers
2171
+
2172
+ - **Content-Type**: Not defined
2173
+ - **Accept**: application/json
2174
+
2175
+
2176
+ ## get_snmp_user_by_id
2177
+
2178
+ > <GetSnmpUserById200Response> get_snmp_user_by_id(cluster_ext_id, ext_id)
2179
+
2180
+ Get SNMP user information
2181
+
2182
+ Fetches SNMP user configuration details identified by {extId} associated with the cluster identified by {clusterExtId}.
2183
+
2184
+ ### Examples
2185
+
2186
+ ```ruby
2187
+ require 'time'
2188
+ require 'nutanix_clustermgmt'
2189
+ # setup authorization
2190
+ NutanixClustermgmt.configure do |config|
2191
+ # Configure API key authorization: apiKeyAuthScheme
2192
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2193
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2194
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2195
+
2196
+ # Configure HTTP basic authorization: basicAuthScheme
2197
+ config.username = 'YOUR USERNAME'
2198
+ config.password = 'YOUR PASSWORD'
2199
+ end
2200
+
2201
+ api_instance = NutanixClustermgmt::ClustersApi.new
2202
+ cluster_ext_id = 'a84b2518-420b-42a9-82cc-71de36e53824' # String | Cluster UUID.
2203
+ ext_id = 'dec8a406-f1ec-4ead-9257-1fc113b6c5d7' # String | SNMP user UUID.
2204
+
2205
+ begin
2206
+ # Get SNMP user information
2207
+ result = api_instance.get_snmp_user_by_id(cluster_ext_id, ext_id)
2208
+ p result
2209
+ rescue NutanixClustermgmt::ApiError => e
2210
+ puts "Error when calling ClustersApi->get_snmp_user_by_id: #{e}"
2211
+ end
2212
+ ```
2213
+
2214
+ #### Using the get_snmp_user_by_id_with_http_info variant
2215
+
2216
+ This returns an Array which contains the response data, status code and headers.
2217
+
2218
+ > <Array(<GetSnmpUserById200Response>, Integer, Hash)> get_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id)
2219
+
2220
+ ```ruby
2221
+ begin
2222
+ # Get SNMP user information
2223
+ data, status_code, headers = api_instance.get_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id)
2224
+ p status_code # => 2xx
2225
+ p headers # => { ... }
2226
+ p data # => <GetSnmpUserById200Response>
2227
+ rescue NutanixClustermgmt::ApiError => e
2228
+ puts "Error when calling ClustersApi->get_snmp_user_by_id_with_http_info: #{e}"
2229
+ end
2230
+ ```
2231
+
2232
+ ### Parameters
2233
+
2234
+ | Name | Type | Description | Notes |
2235
+ | ---- | ---- | ----------- | ----- |
2236
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2237
+ | **ext_id** | **String** | SNMP user UUID. | |
2238
+
2239
+ ### Return type
2240
+
2241
+ [**GetSnmpUserById200Response**](GetSnmpUserById200Response.md)
2242
+
2243
+ ### Authorization
2244
+
2245
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2246
+
2247
+ ### HTTP request headers
2248
+
2249
+ - **Content-Type**: Not defined
2250
+ - **Accept**: application/json
2251
+
2252
+
2253
+ ## get_virtual_nic_by_id
2254
+
2255
+ > <GetVirtualNicById200Response> get_virtual_nic_by_id(cluster_ext_id, host_ext_id, ext_id)
2256
+
2257
+ Get virtual NIC
2258
+
2259
+ Get the virtual NIC entity of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
2260
+
2261
+ ### Examples
2262
+
2263
+ ```ruby
2264
+ require 'time'
2265
+ require 'nutanix_clustermgmt'
2266
+ # setup authorization
2267
+ NutanixClustermgmt.configure do |config|
2268
+ # Configure API key authorization: apiKeyAuthScheme
2269
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2270
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2271
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2272
+
2273
+ # Configure HTTP basic authorization: basicAuthScheme
2274
+ config.username = 'YOUR USERNAME'
2275
+ config.password = 'YOUR PASSWORD'
2276
+ end
2277
+
2278
+ api_instance = NutanixClustermgmt::ClustersApi.new
2279
+ cluster_ext_id = 'c13ddce3-32c6-4931-858c-961afa8afc50' # String | Cluster UUID.
2280
+ host_ext_id = 'b5579ee6-d06c-452d-818d-645d321fc690' # String | Host UUID.
2281
+ ext_id = 'bed32ec0-73ec-4e39-b6c3-24243574438c' # String | Virtual NIC UUID.
2282
+
2283
+ begin
2284
+ # Get virtual NIC
2285
+ result = api_instance.get_virtual_nic_by_id(cluster_ext_id, host_ext_id, ext_id)
2286
+ p result
2287
+ rescue NutanixClustermgmt::ApiError => e
2288
+ puts "Error when calling ClustersApi->get_virtual_nic_by_id: #{e}"
2289
+ end
2290
+ ```
2291
+
2292
+ #### Using the get_virtual_nic_by_id_with_http_info variant
2293
+
2294
+ This returns an Array which contains the response data, status code and headers.
2295
+
2296
+ > <Array(<GetVirtualNicById200Response>, Integer, Hash)> get_virtual_nic_by_id_with_http_info(cluster_ext_id, host_ext_id, ext_id)
2297
+
2298
+ ```ruby
2299
+ begin
2300
+ # Get virtual NIC
2301
+ data, status_code, headers = api_instance.get_virtual_nic_by_id_with_http_info(cluster_ext_id, host_ext_id, ext_id)
2302
+ p status_code # => 2xx
2303
+ p headers # => { ... }
2304
+ p data # => <GetVirtualNicById200Response>
2305
+ rescue NutanixClustermgmt::ApiError => e
2306
+ puts "Error when calling ClustersApi->get_virtual_nic_by_id_with_http_info: #{e}"
2307
+ end
2308
+ ```
2309
+
2310
+ ### Parameters
2311
+
2312
+ | Name | Type | Description | Notes |
2313
+ | ---- | ---- | ----------- | ----- |
2314
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2315
+ | **host_ext_id** | **String** | Host UUID. | |
2316
+ | **ext_id** | **String** | Virtual NIC UUID. | |
2317
+
2318
+ ### Return type
2319
+
2320
+ [**GetVirtualNicById200Response**](GetVirtualNicById200Response.md)
2321
+
2322
+ ### Authorization
2323
+
2324
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2325
+
2326
+ ### HTTP request headers
2327
+
2328
+ - **Content-Type**: Not defined
2329
+ - **Accept**: application/json
2330
+
2331
+
2332
+ ## list_clusters
2333
+
2334
+ > <ListClusters200Response> list_clusters(opts)
2335
+
2336
+ Get the list of clusters
2337
+
2338
+ Lists all cluster entities registered to Prism Central.
2339
+
2340
+ ### Examples
2341
+
2342
+ ```ruby
2343
+ require 'time'
2344
+ require 'nutanix_clustermgmt'
2345
+ # setup authorization
2346
+ NutanixClustermgmt.configure do |config|
2347
+ # Configure API key authorization: apiKeyAuthScheme
2348
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2349
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2350
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2351
+
2352
+ # Configure HTTP basic authorization: basicAuthScheme
2353
+ config.username = 'YOUR USERNAME'
2354
+ config.password = 'YOUR PASSWORD'
2355
+ end
2356
+
2357
+ api_instance = NutanixClustermgmt::ClustersApi.new
2358
+ opts = {
2359
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2360
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2361
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - backupEligibilityScore - clusterProfileExtId - config/buildInfo/version - config/clusterFunction - config/encryptionInTransitStatus - config/encryptionOption - config/encryptionScope - config/hypervisorTypes - config/isAvailable - extId - name - network/keyManagementServerType - upgradeStatus
2362
+ orderby: 'orderby_example', # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - backupEligibilityScore - config/buildInfo/version - config/isAvailable - extId - inefficientVmCount - name - network/keyManagementServerType - nodes/numberOfNodes - upgradeStatus - vmCount
2363
+ apply: 'apply_example', # String | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example '$apply=groupby((templateName))' would get all templates grouped by templateName. The groupby can be applied on the following fields: - config/buildInfo/version - nodes/numberOfNodes
2364
+ expand: 'expand_example', # String | A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - clusterProfile - storageSummary
2365
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - backupEligibilityScore - inefficientVmCount - name - upgradeStatus - vmCount
2366
+ }
2367
+
2368
+ begin
2369
+ # Get the list of clusters
2370
+ result = api_instance.list_clusters(opts)
2371
+ p result
2372
+ rescue NutanixClustermgmt::ApiError => e
2373
+ puts "Error when calling ClustersApi->list_clusters: #{e}"
2374
+ end
2375
+ ```
2376
+
2377
+ #### Using the list_clusters_with_http_info variant
2378
+
2379
+ This returns an Array which contains the response data, status code and headers.
2380
+
2381
+ > <Array(<ListClusters200Response>, Integer, Hash)> list_clusters_with_http_info(opts)
2382
+
2383
+ ```ruby
2384
+ begin
2385
+ # Get the list of clusters
2386
+ data, status_code, headers = api_instance.list_clusters_with_http_info(opts)
2387
+ p status_code # => 2xx
2388
+ p headers # => { ... }
2389
+ p data # => <ListClusters200Response>
2390
+ rescue NutanixClustermgmt::ApiError => e
2391
+ puts "Error when calling ClustersApi->list_clusters_with_http_info: #{e}"
2392
+ end
2393
+ ```
2394
+
2395
+ ### Parameters
2396
+
2397
+ | Name | Type | Description | Notes |
2398
+ | ---- | ---- | ----------- | ----- |
2399
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2400
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2401
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - backupEligibilityScore - clusterProfileExtId - config/buildInfo/version - config/clusterFunction - config/encryptionInTransitStatus - config/encryptionOption - config/encryptionScope - config/hypervisorTypes - config/isAvailable - extId - name - network/keyManagementServerType - upgradeStatus | [optional] |
2402
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - backupEligibilityScore - config/buildInfo/version - config/isAvailable - extId - inefficientVmCount - name - network/keyManagementServerType - nodes/numberOfNodes - upgradeStatus - vmCount | [optional] |
2403
+ | **apply** | **String** | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example &#39;$apply&#x3D;groupby((templateName))&#39; would get all templates grouped by templateName. The groupby can be applied on the following fields: - config/buildInfo/version - nodes/numberOfNodes | [optional] |
2404
+ | **expand** | **String** | A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. - clusterProfile - storageSummary | [optional] |
2405
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - backupEligibilityScore - inefficientVmCount - name - upgradeStatus - vmCount | [optional] |
2406
+
2407
+ ### Return type
2408
+
2409
+ [**ListClusters200Response**](ListClusters200Response.md)
2410
+
2411
+ ### Authorization
2412
+
2413
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2414
+
2415
+ ### HTTP request headers
2416
+
2417
+ - **Content-Type**: Not defined
2418
+ - **Accept**: application/json
2419
+
2420
+
2421
+ ## list_host_nics_by_host_id
2422
+
2423
+ > <ListHostNicsByHostId200Response> list_host_nics_by_host_id(cluster_ext_id, host_ext_id, opts)
2424
+
2425
+ Get the list of host NICs
2426
+
2427
+ Lists all host NICs for the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
2428
+
2429
+ ### Examples
2430
+
2431
+ ```ruby
2432
+ require 'time'
2433
+ require 'nutanix_clustermgmt'
2434
+ # setup authorization
2435
+ NutanixClustermgmt.configure do |config|
2436
+ # Configure API key authorization: apiKeyAuthScheme
2437
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2438
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2439
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2440
+
2441
+ # Configure HTTP basic authorization: basicAuthScheme
2442
+ config.username = 'YOUR USERNAME'
2443
+ config.password = 'YOUR PASSWORD'
2444
+ end
2445
+
2446
+ api_instance = NutanixClustermgmt::ClustersApi.new
2447
+ cluster_ext_id = 'd3428887-5d53-45cb-96e8-0cc684a2cf89' # String | Cluster UUID.
2448
+ host_ext_id = 'b455f6ec-5bf6-4386-a5c7-e94f181ecb2f' # String | Host UUID.
2449
+ opts = {
2450
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2451
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2452
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - discoveryProtocol - extId - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - rxRingSizeInBytes - switchDeviceId - switchMacAddress - switchPortId - switchVlanId - txRingSizeInBytes
2453
+ orderby: 'orderby_example', # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - extId - name
2454
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - discoveryProtocol - hostDescription - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - rxRingSizeInBytes - switchDeviceId - switchMacAddress - switchManagementIp - switchPortId - switchVlanId - txRingSizeInBytes
2455
+ }
2456
+
2457
+ begin
2458
+ # Get the list of host NICs
2459
+ result = api_instance.list_host_nics_by_host_id(cluster_ext_id, host_ext_id, opts)
2460
+ p result
2461
+ rescue NutanixClustermgmt::ApiError => e
2462
+ puts "Error when calling ClustersApi->list_host_nics_by_host_id: #{e}"
2463
+ end
2464
+ ```
2465
+
2466
+ #### Using the list_host_nics_by_host_id_with_http_info variant
2467
+
2468
+ This returns an Array which contains the response data, status code and headers.
2469
+
2470
+ > <Array(<ListHostNicsByHostId200Response>, Integer, Hash)> list_host_nics_by_host_id_with_http_info(cluster_ext_id, host_ext_id, opts)
2471
+
2472
+ ```ruby
2473
+ begin
2474
+ # Get the list of host NICs
2475
+ data, status_code, headers = api_instance.list_host_nics_by_host_id_with_http_info(cluster_ext_id, host_ext_id, opts)
2476
+ p status_code # => 2xx
2477
+ p headers # => { ... }
2478
+ p data # => <ListHostNicsByHostId200Response>
2479
+ rescue NutanixClustermgmt::ApiError => e
2480
+ puts "Error when calling ClustersApi->list_host_nics_by_host_id_with_http_info: #{e}"
2481
+ end
2482
+ ```
2483
+
2484
+ ### Parameters
2485
+
2486
+ | Name | Type | Description | Notes |
2487
+ | ---- | ---- | ----------- | ----- |
2488
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2489
+ | **host_ext_id** | **String** | Host UUID. | |
2490
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2491
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2492
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - discoveryProtocol - extId - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - rxRingSizeInBytes - switchDeviceId - switchMacAddress - switchPortId - switchVlanId - txRingSizeInBytes | [optional] |
2493
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - extId - name | [optional] |
2494
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - discoveryProtocol - hostDescription - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - rxRingSizeInBytes - switchDeviceId - switchMacAddress - switchManagementIp - switchPortId - switchVlanId - txRingSizeInBytes | [optional] |
2495
+
2496
+ ### Return type
2497
+
2498
+ [**ListHostNicsByHostId200Response**](ListHostNicsByHostId200Response.md)
2499
+
2500
+ ### Authorization
2501
+
2502
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2503
+
2504
+ ### HTTP request headers
2505
+
2506
+ - **Content-Type**: Not defined
2507
+ - **Accept**: application/json
2508
+
2509
+
2510
+ ## list_hosts
2511
+
2512
+ > <ListHosts200Response> list_hosts(opts)
2513
+
2514
+ Get the list of all host entities
2515
+
2516
+ Lists all host entities across clusters registered to Prism Central.
2517
+
2518
+ ### Examples
2519
+
2520
+ ```ruby
2521
+ require 'time'
2522
+ require 'nutanix_clustermgmt'
2523
+ # setup authorization
2524
+ NutanixClustermgmt.configure do |config|
2525
+ # Configure API key authorization: apiKeyAuthScheme
2526
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2527
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2528
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2529
+
2530
+ # Configure HTTP basic authorization: basicAuthScheme
2531
+ config.username = 'YOUR USERNAME'
2532
+ config.password = 'YOUR PASSWORD'
2533
+ end
2534
+
2535
+ api_instance = NutanixClustermgmt::ClustersApi.new
2536
+ opts = {
2537
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2538
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2539
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - bootTimeUsecs - cluster/name - cluster/uuid - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - extId - gpuDriverVersion - gpuList - hostName - hypervisor/type - memorySizeBytes - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads
2540
+ orderby: 'orderby_example', # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - cluster/name - extId - hostName - hostType - hypervisor/type - memorySizeBytes
2541
+ apply: 'apply_example', # String | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example '$apply=groupby((templateName))' would get all templates grouped by templateName. The groupby can be applied on the following fields: - cluster/name - hypervisor/type
2542
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - blockModel - blockSerial - bootTimeUsecs - cluster - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - failoverClusterFqdn - failoverClusterNodeStatus - gpuDriverVersion - gpuList - hostName - hostType - isRebootPending - maintenanceState - memorySizeBytes - nodeStatus - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads
2543
+ }
2544
+
2545
+ begin
2546
+ # Get the list of all host entities
2547
+ result = api_instance.list_hosts(opts)
2548
+ p result
2549
+ rescue NutanixClustermgmt::ApiError => e
2550
+ puts "Error when calling ClustersApi->list_hosts: #{e}"
2551
+ end
2552
+ ```
2553
+
2554
+ #### Using the list_hosts_with_http_info variant
2555
+
2556
+ This returns an Array which contains the response data, status code and headers.
2557
+
2558
+ > <Array(<ListHosts200Response>, Integer, Hash)> list_hosts_with_http_info(opts)
2559
+
2560
+ ```ruby
2561
+ begin
2562
+ # Get the list of all host entities
2563
+ data, status_code, headers = api_instance.list_hosts_with_http_info(opts)
2564
+ p status_code # => 2xx
2565
+ p headers # => { ... }
2566
+ p data # => <ListHosts200Response>
2567
+ rescue NutanixClustermgmt::ApiError => e
2568
+ puts "Error when calling ClustersApi->list_hosts_with_http_info: #{e}"
2569
+ end
2570
+ ```
2571
+
2572
+ ### Parameters
2573
+
2574
+ | Name | Type | Description | Notes |
2575
+ | ---- | ---- | ----------- | ----- |
2576
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2577
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2578
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - bootTimeUsecs - cluster/name - cluster/uuid - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - extId - gpuDriverVersion - gpuList - hostName - hypervisor/type - memorySizeBytes - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads | [optional] |
2579
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - cluster/name - extId - hostName - hostType - hypervisor/type - memorySizeBytes | [optional] |
2580
+ | **apply** | **String** | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example &#39;$apply&#x3D;groupby((templateName))&#39; would get all templates grouped by templateName. The groupby can be applied on the following fields: - cluster/name - hypervisor/type | [optional] |
2581
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - blockModel - blockSerial - bootTimeUsecs - cluster - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - failoverClusterFqdn - failoverClusterNodeStatus - gpuDriverVersion - gpuList - hostName - hostType - isRebootPending - maintenanceState - memorySizeBytes - nodeStatus - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads | [optional] |
2582
+
2583
+ ### Return type
2584
+
2585
+ [**ListHosts200Response**](ListHosts200Response.md)
2586
+
2587
+ ### Authorization
2588
+
2589
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2590
+
2591
+ ### HTTP request headers
2592
+
2593
+ - **Content-Type**: Not defined
2594
+ - **Accept**: application/json
2595
+
2596
+
2597
+ ## list_hosts_by_cluster_id
2598
+
2599
+ > <ListHostsByClusterId200Response> list_hosts_by_cluster_id(cluster_ext_id, opts)
2600
+
2601
+ Get the list of hosts associated with a cluster
2602
+
2603
+ Lists all the hosts associated with the cluster identified by {clusterExtId}.
2604
+
2605
+ ### Examples
2606
+
2607
+ ```ruby
2608
+ require 'time'
2609
+ require 'nutanix_clustermgmt'
2610
+ # setup authorization
2611
+ NutanixClustermgmt.configure do |config|
2612
+ # Configure API key authorization: apiKeyAuthScheme
2613
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2614
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2615
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2616
+
2617
+ # Configure HTTP basic authorization: basicAuthScheme
2618
+ config.username = 'YOUR USERNAME'
2619
+ config.password = 'YOUR PASSWORD'
2620
+ end
2621
+
2622
+ api_instance = NutanixClustermgmt::ClustersApi.new
2623
+ cluster_ext_id = 'aeaa6dca-4399-4027-b2f2-da94917aca32' # String | Cluster UUID.
2624
+ opts = {
2625
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2626
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2627
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - bootTimeUsecs - cluster/name - cluster/uuid - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - extId - gpuDriverVersion - gpuList - hostName - hypervisor/type - memorySizeBytes - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads
2628
+ orderby: 'orderby_example', # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - cluster/name - extId - hostName - hostType - hypervisor/type - memorySizeBytes
2629
+ apply: 'apply_example', # String | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example '$apply=groupby((templateName))' would get all templates grouped by templateName. The groupby can be applied on the following fields: - cluster/name - hypervisor/type
2630
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - blockModel - blockSerial - bootTimeUsecs - cluster - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - failoverClusterFqdn - failoverClusterNodeStatus - gpuDriverVersion - gpuList - hostName - hostType - isRebootPending - maintenanceState - memorySizeBytes - nodeStatus - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads
2631
+ }
2632
+
2633
+ begin
2634
+ # Get the list of hosts associated with a cluster
2635
+ result = api_instance.list_hosts_by_cluster_id(cluster_ext_id, opts)
2636
+ p result
2637
+ rescue NutanixClustermgmt::ApiError => e
2638
+ puts "Error when calling ClustersApi->list_hosts_by_cluster_id: #{e}"
2639
+ end
2640
+ ```
2641
+
2642
+ #### Using the list_hosts_by_cluster_id_with_http_info variant
2643
+
2644
+ This returns an Array which contains the response data, status code and headers.
2645
+
2646
+ > <Array(<ListHostsByClusterId200Response>, Integer, Hash)> list_hosts_by_cluster_id_with_http_info(cluster_ext_id, opts)
2647
+
2648
+ ```ruby
2649
+ begin
2650
+ # Get the list of hosts associated with a cluster
2651
+ data, status_code, headers = api_instance.list_hosts_by_cluster_id_with_http_info(cluster_ext_id, opts)
2652
+ p status_code # => 2xx
2653
+ p headers # => { ... }
2654
+ p data # => <ListHostsByClusterId200Response>
2655
+ rescue NutanixClustermgmt::ApiError => e
2656
+ puts "Error when calling ClustersApi->list_hosts_by_cluster_id_with_http_info: #{e}"
2657
+ end
2658
+ ```
2659
+
2660
+ ### Parameters
2661
+
2662
+ | Name | Type | Description | Notes |
2663
+ | ---- | ---- | ----------- | ----- |
2664
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2665
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2666
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2667
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - bootTimeUsecs - cluster/name - cluster/uuid - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - extId - gpuDriverVersion - gpuList - hostName - hypervisor/type - memorySizeBytes - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads | [optional] |
2668
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - cluster/name - extId - hostName - hostType - hypervisor/type - memorySizeBytes | [optional] |
2669
+ | **apply** | **String** | A URL query parameter that allows clients to specify a sequence of transformations to the entity set, such as groupby, filter, aggregate etc. As of now only support for groupby exists.For example &#39;$apply&#x3D;groupby((templateName))&#39; would get all templates grouped by templateName. The groupby can be applied on the following fields: - cluster/name - hypervisor/type | [optional] |
2670
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - blockModel - blockSerial - bootTimeUsecs - cluster - cpuCapacityHz - cpuFrequencyHz - cpuModel - defaultVhdContainerUuid - defaultVhdLocation - defaultVmContainerUuid - defaultVmLocation - failoverClusterFqdn - failoverClusterNodeStatus - gpuDriverVersion - gpuList - hostName - hostType - isRebootPending - maintenanceState - memorySizeBytes - nodeStatus - numberOfCpuCores - numberOfCpuSockets - numberOfCpuThreads | [optional] |
2671
+
2672
+ ### Return type
2673
+
2674
+ [**ListHostsByClusterId200Response**](ListHostsByClusterId200Response.md)
2675
+
2676
+ ### Authorization
2677
+
2678
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2679
+
2680
+ ### HTTP request headers
2681
+
2682
+ - **Content-Type**: Not defined
2683
+ - **Accept**: application/json
2684
+
2685
+
2686
+ ## list_physical_gpu_profiles
2687
+
2688
+ > <ListPhysicalGpuProfiles200Response> list_physical_gpu_profiles(cluster_ext_id, opts)
2689
+
2690
+ List Physical GPU profiles.
2691
+
2692
+ List Physical GPU profiles.
2693
+
2694
+ ### Examples
2695
+
2696
+ ```ruby
2697
+ require 'time'
2698
+ require 'nutanix_clustermgmt'
2699
+ # setup authorization
2700
+ NutanixClustermgmt.configure do |config|
2701
+ # Configure API key authorization: apiKeyAuthScheme
2702
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2703
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2704
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2705
+
2706
+ # Configure HTTP basic authorization: basicAuthScheme
2707
+ config.username = 'YOUR USERNAME'
2708
+ config.password = 'YOUR PASSWORD'
2709
+ end
2710
+
2711
+ api_instance = NutanixClustermgmt::ClustersApi.new
2712
+ cluster_ext_id = '4b0e3efc-dace-4249-b662-60799462603f' # String | Cluster UUID.
2713
+ opts = {
2714
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2715
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2716
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - physicalGpuConfig/deviceId - physicalGpuConfig/deviceName - physicalGpuConfig/frameBufferSizeBytes - physicalGpuConfig/isInUse - physicalGpuConfig/type - physicalGpuConfig/vendorName
2717
+ orderby: 'orderby_example' # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - physicalGpuConfig/deviceId - physicalGpuConfig/frameBufferSizeBytes
2718
+ }
2719
+
2720
+ begin
2721
+ # List Physical GPU profiles.
2722
+ result = api_instance.list_physical_gpu_profiles(cluster_ext_id, opts)
2723
+ p result
2724
+ rescue NutanixClustermgmt::ApiError => e
2725
+ puts "Error when calling ClustersApi->list_physical_gpu_profiles: #{e}"
2726
+ end
2727
+ ```
2728
+
2729
+ #### Using the list_physical_gpu_profiles_with_http_info variant
2730
+
2731
+ This returns an Array which contains the response data, status code and headers.
2732
+
2733
+ > <Array(<ListPhysicalGpuProfiles200Response>, Integer, Hash)> list_physical_gpu_profiles_with_http_info(cluster_ext_id, opts)
2734
+
2735
+ ```ruby
2736
+ begin
2737
+ # List Physical GPU profiles.
2738
+ data, status_code, headers = api_instance.list_physical_gpu_profiles_with_http_info(cluster_ext_id, opts)
2739
+ p status_code # => 2xx
2740
+ p headers # => { ... }
2741
+ p data # => <ListPhysicalGpuProfiles200Response>
2742
+ rescue NutanixClustermgmt::ApiError => e
2743
+ puts "Error when calling ClustersApi->list_physical_gpu_profiles_with_http_info: #{e}"
2744
+ end
2745
+ ```
2746
+
2747
+ ### Parameters
2748
+
2749
+ | Name | Type | Description | Notes |
2750
+ | ---- | ---- | ----------- | ----- |
2751
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2752
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2753
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2754
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - physicalGpuConfig/deviceId - physicalGpuConfig/deviceName - physicalGpuConfig/frameBufferSizeBytes - physicalGpuConfig/isInUse - physicalGpuConfig/type - physicalGpuConfig/vendorName | [optional] |
2755
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - physicalGpuConfig/deviceId - physicalGpuConfig/frameBufferSizeBytes | [optional] |
2756
+
2757
+ ### Return type
2758
+
2759
+ [**ListPhysicalGpuProfiles200Response**](ListPhysicalGpuProfiles200Response.md)
2760
+
2761
+ ### Authorization
2762
+
2763
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2764
+
2765
+ ### HTTP request headers
2766
+
2767
+ - **Content-Type**: Not defined
2768
+ - **Accept**: application/json
2769
+
2770
+
2771
+ ## list_rackable_units_by_cluster_id
2772
+
2773
+ > <ListRackableUnitsByClusterId200Response> list_rackable_units_by_cluster_id(cluster_ext_id)
2774
+
2775
+ Get the list of rackable units
2776
+
2777
+ Lists the rackable units of the cluster identified by {clusterExtId}.
2778
+
2779
+ ### Examples
2780
+
2781
+ ```ruby
2782
+ require 'time'
2783
+ require 'nutanix_clustermgmt'
2784
+ # setup authorization
2785
+ NutanixClustermgmt.configure do |config|
2786
+ # Configure API key authorization: apiKeyAuthScheme
2787
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2788
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2789
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2790
+
2791
+ # Configure HTTP basic authorization: basicAuthScheme
2792
+ config.username = 'YOUR USERNAME'
2793
+ config.password = 'YOUR PASSWORD'
2794
+ end
2795
+
2796
+ api_instance = NutanixClustermgmt::ClustersApi.new
2797
+ cluster_ext_id = '066d1d0c-08dc-49af-b8b5-0e00b8416a0b' # String | Cluster UUID.
2798
+
2799
+ begin
2800
+ # Get the list of rackable units
2801
+ result = api_instance.list_rackable_units_by_cluster_id(cluster_ext_id)
2802
+ p result
2803
+ rescue NutanixClustermgmt::ApiError => e
2804
+ puts "Error when calling ClustersApi->list_rackable_units_by_cluster_id: #{e}"
2805
+ end
2806
+ ```
2807
+
2808
+ #### Using the list_rackable_units_by_cluster_id_with_http_info variant
2809
+
2810
+ This returns an Array which contains the response data, status code and headers.
2811
+
2812
+ > <Array(<ListRackableUnitsByClusterId200Response>, Integer, Hash)> list_rackable_units_by_cluster_id_with_http_info(cluster_ext_id)
2813
+
2814
+ ```ruby
2815
+ begin
2816
+ # Get the list of rackable units
2817
+ data, status_code, headers = api_instance.list_rackable_units_by_cluster_id_with_http_info(cluster_ext_id)
2818
+ p status_code # => 2xx
2819
+ p headers # => { ... }
2820
+ p data # => <ListRackableUnitsByClusterId200Response>
2821
+ rescue NutanixClustermgmt::ApiError => e
2822
+ puts "Error when calling ClustersApi->list_rackable_units_by_cluster_id_with_http_info: #{e}"
2823
+ end
2824
+ ```
2825
+
2826
+ ### Parameters
2827
+
2828
+ | Name | Type | Description | Notes |
2829
+ | ---- | ---- | ----------- | ----- |
2830
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2831
+
2832
+ ### Return type
2833
+
2834
+ [**ListRackableUnitsByClusterId200Response**](ListRackableUnitsByClusterId200Response.md)
2835
+
2836
+ ### Authorization
2837
+
2838
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2839
+
2840
+ ### HTTP request headers
2841
+
2842
+ - **Content-Type**: Not defined
2843
+ - **Accept**: application/json
2844
+
2845
+
2846
+ ## list_rsyslog_servers_by_cluster_id
2847
+
2848
+ > <ListRsyslogServersByClusterId200Response> list_rsyslog_servers_by_cluster_id(cluster_ext_id)
2849
+
2850
+ Get the list of RSYSLOG server configurations
2851
+
2852
+ Lists the RSYSLOG server configurations associated with the cluster identified by {clusterExtId}.
2853
+
2854
+ ### Examples
2855
+
2856
+ ```ruby
2857
+ require 'time'
2858
+ require 'nutanix_clustermgmt'
2859
+ # setup authorization
2860
+ NutanixClustermgmt.configure do |config|
2861
+ # Configure API key authorization: apiKeyAuthScheme
2862
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2863
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2864
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2865
+
2866
+ # Configure HTTP basic authorization: basicAuthScheme
2867
+ config.username = 'YOUR USERNAME'
2868
+ config.password = 'YOUR PASSWORD'
2869
+ end
2870
+
2871
+ api_instance = NutanixClustermgmt::ClustersApi.new
2872
+ cluster_ext_id = '4cf0f6f9-46fe-4cbb-a331-e4b8c98928e9' # String | Cluster UUID.
2873
+
2874
+ begin
2875
+ # Get the list of RSYSLOG server configurations
2876
+ result = api_instance.list_rsyslog_servers_by_cluster_id(cluster_ext_id)
2877
+ p result
2878
+ rescue NutanixClustermgmt::ApiError => e
2879
+ puts "Error when calling ClustersApi->list_rsyslog_servers_by_cluster_id: #{e}"
2880
+ end
2881
+ ```
2882
+
2883
+ #### Using the list_rsyslog_servers_by_cluster_id_with_http_info variant
2884
+
2885
+ This returns an Array which contains the response data, status code and headers.
2886
+
2887
+ > <Array(<ListRsyslogServersByClusterId200Response>, Integer, Hash)> list_rsyslog_servers_by_cluster_id_with_http_info(cluster_ext_id)
2888
+
2889
+ ```ruby
2890
+ begin
2891
+ # Get the list of RSYSLOG server configurations
2892
+ data, status_code, headers = api_instance.list_rsyslog_servers_by_cluster_id_with_http_info(cluster_ext_id)
2893
+ p status_code # => 2xx
2894
+ p headers # => { ... }
2895
+ p data # => <ListRsyslogServersByClusterId200Response>
2896
+ rescue NutanixClustermgmt::ApiError => e
2897
+ puts "Error when calling ClustersApi->list_rsyslog_servers_by_cluster_id_with_http_info: #{e}"
2898
+ end
2899
+ ```
2900
+
2901
+ ### Parameters
2902
+
2903
+ | Name | Type | Description | Notes |
2904
+ | ---- | ---- | ----------- | ----- |
2905
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2906
+
2907
+ ### Return type
2908
+
2909
+ [**ListRsyslogServersByClusterId200Response**](ListRsyslogServersByClusterId200Response.md)
2910
+
2911
+ ### Authorization
2912
+
2913
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2914
+
2915
+ ### HTTP request headers
2916
+
2917
+ - **Content-Type**: Not defined
2918
+ - **Accept**: application/json
2919
+
2920
+
2921
+ ## list_virtual_gpu_profiles
2922
+
2923
+ > <ListVirtualGpuProfiles200Response> list_virtual_gpu_profiles(cluster_ext_id, opts)
2924
+
2925
+ List Virtual GPU profiles.
2926
+
2927
+ List Virtual GPU profiles.
2928
+
2929
+ ### Examples
2930
+
2931
+ ```ruby
2932
+ require 'time'
2933
+ require 'nutanix_clustermgmt'
2934
+ # setup authorization
2935
+ NutanixClustermgmt.configure do |config|
2936
+ # Configure API key authorization: apiKeyAuthScheme
2937
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
2938
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2939
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
2940
+
2941
+ # Configure HTTP basic authorization: basicAuthScheme
2942
+ config.username = 'YOUR USERNAME'
2943
+ config.password = 'YOUR PASSWORD'
2944
+ end
2945
+
2946
+ api_instance = NutanixClustermgmt::ClustersApi.new
2947
+ cluster_ext_id = '300376a4-3017-4378-b9f9-dda8edc1f768' # String | Cluster UUID.
2948
+ opts = {
2949
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
2950
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
2951
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - virtualGpuConfig/deviceId - virtualGpuConfig/deviceName - virtualGpuConfig/frameBufferSizeBytes - virtualGpuConfig/isInUse - virtualGpuConfig/maxInstancesPerVm - virtualGpuConfig/type - virtualGpuConfig/vendorName
2952
+ orderby: 'orderby_example' # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - virtualGpuConfig/deviceId - virtualGpuConfig/frameBufferSizeBytes
2953
+ }
2954
+
2955
+ begin
2956
+ # List Virtual GPU profiles.
2957
+ result = api_instance.list_virtual_gpu_profiles(cluster_ext_id, opts)
2958
+ p result
2959
+ rescue NutanixClustermgmt::ApiError => e
2960
+ puts "Error when calling ClustersApi->list_virtual_gpu_profiles: #{e}"
2961
+ end
2962
+ ```
2963
+
2964
+ #### Using the list_virtual_gpu_profiles_with_http_info variant
2965
+
2966
+ This returns an Array which contains the response data, status code and headers.
2967
+
2968
+ > <Array(<ListVirtualGpuProfiles200Response>, Integer, Hash)> list_virtual_gpu_profiles_with_http_info(cluster_ext_id, opts)
2969
+
2970
+ ```ruby
2971
+ begin
2972
+ # List Virtual GPU profiles.
2973
+ data, status_code, headers = api_instance.list_virtual_gpu_profiles_with_http_info(cluster_ext_id, opts)
2974
+ p status_code # => 2xx
2975
+ p headers # => { ... }
2976
+ p data # => <ListVirtualGpuProfiles200Response>
2977
+ rescue NutanixClustermgmt::ApiError => e
2978
+ puts "Error when calling ClustersApi->list_virtual_gpu_profiles_with_http_info: #{e}"
2979
+ end
2980
+ ```
2981
+
2982
+ ### Parameters
2983
+
2984
+ | Name | Type | Description | Notes |
2985
+ | ---- | ---- | ----------- | ----- |
2986
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
2987
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
2988
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
2989
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - virtualGpuConfig/deviceId - virtualGpuConfig/deviceName - virtualGpuConfig/frameBufferSizeBytes - virtualGpuConfig/isInUse - virtualGpuConfig/maxInstancesPerVm - virtualGpuConfig/type - virtualGpuConfig/vendorName | [optional] |
2990
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - virtualGpuConfig/deviceId - virtualGpuConfig/frameBufferSizeBytes | [optional] |
2991
+
2992
+ ### Return type
2993
+
2994
+ [**ListVirtualGpuProfiles200Response**](ListVirtualGpuProfiles200Response.md)
2995
+
2996
+ ### Authorization
2997
+
2998
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
2999
+
3000
+ ### HTTP request headers
3001
+
3002
+ - **Content-Type**: Not defined
3003
+ - **Accept**: application/json
3004
+
3005
+
3006
+ ## list_virtual_nics_by_host_id
3007
+
3008
+ > <ListVirtualNicsByHostId200Response> list_virtual_nics_by_host_id(cluster_ext_id, host_ext_id, opts)
3009
+
3010
+ Get the list of virtual NICs
3011
+
3012
+ Lists all virtual NICs for the host identified by {extId} belonging to the cluster identified by {clusterExtId}.
3013
+
3014
+ ### Examples
3015
+
3016
+ ```ruby
3017
+ require 'time'
3018
+ require 'nutanix_clustermgmt'
3019
+ # setup authorization
3020
+ NutanixClustermgmt.configure do |config|
3021
+ # Configure API key authorization: apiKeyAuthScheme
3022
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3023
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3024
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3025
+
3026
+ # Configure HTTP basic authorization: basicAuthScheme
3027
+ config.username = 'YOUR USERNAME'
3028
+ config.password = 'YOUR PASSWORD'
3029
+ end
3030
+
3031
+ api_instance = NutanixClustermgmt::ClustersApi.new
3032
+ cluster_ext_id = 'f964c33f-6972-4480-a55f-53a1035e4c9a' # String | Cluster UUID.
3033
+ host_ext_id = 'faa8dfcd-5284-4dc8-9051-7a38c44486f3' # String | Host UUID.
3034
+ opts = {
3035
+ page: 56, # Integer | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
3036
+ limit: 56, # Integer | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
3037
+ filter: 'filter_example', # String | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - extId - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - vlanId
3038
+ orderby: 'orderby_example', # String | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - extId - name
3039
+ select: 'select_example' # String | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - hostDescription - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - vlanId
3040
+ }
3041
+
3042
+ begin
3043
+ # Get the list of virtual NICs
3044
+ result = api_instance.list_virtual_nics_by_host_id(cluster_ext_id, host_ext_id, opts)
3045
+ p result
3046
+ rescue NutanixClustermgmt::ApiError => e
3047
+ puts "Error when calling ClustersApi->list_virtual_nics_by_host_id: #{e}"
3048
+ end
3049
+ ```
3050
+
3051
+ #### Using the list_virtual_nics_by_host_id_with_http_info variant
3052
+
3053
+ This returns an Array which contains the response data, status code and headers.
3054
+
3055
+ > <Array(<ListVirtualNicsByHostId200Response>, Integer, Hash)> list_virtual_nics_by_host_id_with_http_info(cluster_ext_id, host_ext_id, opts)
3056
+
3057
+ ```ruby
3058
+ begin
3059
+ # Get the list of virtual NICs
3060
+ data, status_code, headers = api_instance.list_virtual_nics_by_host_id_with_http_info(cluster_ext_id, host_ext_id, opts)
3061
+ p status_code # => 2xx
3062
+ p headers # => { ... }
3063
+ p data # => <ListVirtualNicsByHostId200Response>
3064
+ rescue NutanixClustermgmt::ApiError => e
3065
+ puts "Error when calling ClustersApi->list_virtual_nics_by_host_id_with_http_info: #{e}"
3066
+ end
3067
+ ```
3068
+
3069
+ ### Parameters
3070
+
3071
+ | Name | Type | Description | Notes |
3072
+ | ---- | ---- | ----------- | ----- |
3073
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3074
+ | **host_ext_id** | **String** | Host UUID. | |
3075
+ | **page** | **Integer** | A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. | [optional][default to 0] |
3076
+ | **limit** | **Integer** | A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. | [optional][default to 50] |
3077
+ | **filter** | **String** | A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter &#39;$filter&#x3D;name eq &#39;karbon-ntnx-1.0&#39; would filter the result on cluster name &#39;karbon-ntnx1.0&#39;, filter &#39;$filter&#x3D;startswith(name, &#39;C&#39;)&#39; would filter on cluster name starting with &#39;C&#39;. The filter can be applied to the following fields: - extId - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - vlanId | [optional] |
3078
+ | **orderby** | **String** | A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, &#39;$orderby&#x3D;templateName desc&#39; would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - extId - name | [optional] |
3079
+ | **select** | **String** | A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - hostDescription - interfaceStatus - isDhcpEnabled - linkSpeedInKbps - macAddress - mtuInBytes - name - nodeUuid - vlanId | [optional] |
3080
+
3081
+ ### Return type
3082
+
3083
+ [**ListVirtualNicsByHostId200Response**](ListVirtualNicsByHostId200Response.md)
3084
+
3085
+ ### Authorization
3086
+
3087
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3088
+
3089
+ ### HTTP request headers
3090
+
3091
+ - **Content-Type**: Not defined
3092
+ - **Accept**: application/json
3093
+
3094
+
3095
+ ## remove_node
3096
+
3097
+ > <RemoveNode202Response> remove_node(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_node_removal_params)
3098
+
3099
+ Remove nodes from the cluster
3100
+
3101
+ Removes nodes from cluster identified by {extId}.
3102
+
3103
+ ### Examples
3104
+
3105
+ ```ruby
3106
+ require 'time'
3107
+ require 'nutanix_clustermgmt'
3108
+ # setup authorization
3109
+ NutanixClustermgmt.configure do |config|
3110
+ # Configure API key authorization: apiKeyAuthScheme
3111
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3112
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3113
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3114
+
3115
+ # Configure HTTP basic authorization: basicAuthScheme
3116
+ config.username = 'YOUR USERNAME'
3117
+ config.password = 'YOUR PASSWORD'
3118
+ end
3119
+
3120
+ api_instance = NutanixClustermgmt::ClustersApi.new
3121
+ cluster_ext_id = '54f963ae-834d-4ea0-9151-393d770bd825' # String | Cluster UUID.
3122
+ ntnx_request_id = 'c058eaeb-5b41-4b26-acbd-f456be1ac97d' # String | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
3123
+ clustermgmt_v40_config_node_removal_params = NutanixClustermgmt::ClustermgmtV40ConfigNodeRemovalParams.new({node_uuids: ['83a0a839-09e1-4db0-b688-2903dc2741ea']}) # ClustermgmtV40ConfigNodeRemovalParams | Parameters to remove nodes from cluster.
3124
+
3125
+ begin
3126
+ # Remove nodes from the cluster
3127
+ result = api_instance.remove_node(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_node_removal_params)
3128
+ p result
3129
+ rescue NutanixClustermgmt::ApiError => e
3130
+ puts "Error when calling ClustersApi->remove_node: #{e}"
3131
+ end
3132
+ ```
3133
+
3134
+ #### Using the remove_node_with_http_info variant
3135
+
3136
+ This returns an Array which contains the response data, status code and headers.
3137
+
3138
+ > <Array(<RemoveNode202Response>, Integer, Hash)> remove_node_with_http_info(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_node_removal_params)
3139
+
3140
+ ```ruby
3141
+ begin
3142
+ # Remove nodes from the cluster
3143
+ data, status_code, headers = api_instance.remove_node_with_http_info(cluster_ext_id, ntnx_request_id, clustermgmt_v40_config_node_removal_params)
3144
+ p status_code # => 2xx
3145
+ p headers # => { ... }
3146
+ p data # => <RemoveNode202Response>
3147
+ rescue NutanixClustermgmt::ApiError => e
3148
+ puts "Error when calling ClustersApi->remove_node_with_http_info: #{e}"
3149
+ end
3150
+ ```
3151
+
3152
+ ### Parameters
3153
+
3154
+ | Name | Type | Description | Notes |
3155
+ | ---- | ---- | ----------- | ----- |
3156
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3157
+ | **ntnx_request_id** | **String** | A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request. | |
3158
+ | **clustermgmt_v40_config_node_removal_params** | [**ClustermgmtV40ConfigNodeRemovalParams**](ClustermgmtV40ConfigNodeRemovalParams.md) | Parameters to remove nodes from cluster. | |
3159
+
3160
+ ### Return type
3161
+
3162
+ [**RemoveNode202Response**](RemoveNode202Response.md)
3163
+
3164
+ ### Authorization
3165
+
3166
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3167
+
3168
+ ### HTTP request headers
3169
+
3170
+ - **Content-Type**: application/json
3171
+ - **Accept**: application/json
3172
+
3173
+
3174
+ ## remove_snmp_transport
3175
+
3176
+ > <RemoveSnmpTransport202Response> remove_snmp_transport(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
3177
+
3178
+ Remove SNMP transport ports and protocol details
3179
+
3180
+ Removes transport ports and protocol detail from the SNMP configuration associated with the cluster identified by {clusterExtId}.
3181
+
3182
+ ### Examples
3183
+
3184
+ ```ruby
3185
+ require 'time'
3186
+ require 'nutanix_clustermgmt'
3187
+ # setup authorization
3188
+ NutanixClustermgmt.configure do |config|
3189
+ # Configure API key authorization: apiKeyAuthScheme
3190
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3191
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3192
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3193
+
3194
+ # Configure HTTP basic authorization: basicAuthScheme
3195
+ config.username = 'YOUR USERNAME'
3196
+ config.password = 'YOUR PASSWORD'
3197
+ end
3198
+
3199
+ api_instance = NutanixClustermgmt::ClustersApi.new
3200
+ cluster_ext_id = 'd91df016-21a3-454e-adff-12128ffc2277' # String | Cluster UUID.
3201
+ clustermgmt_v40_config_snmp_transport = NutanixClustermgmt::ClustermgmtV40ConfigSnmpTransport.new({protocol: NutanixClustermgmt::ClustermgmtV40ConfigSnmpProtocol::UDP, port: 10}) # ClustermgmtV40ConfigSnmpTransport | SNMP transports to remove.
3202
+
3203
+ begin
3204
+ # Remove SNMP transport ports and protocol details
3205
+ result = api_instance.remove_snmp_transport(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
3206
+ p result
3207
+ rescue NutanixClustermgmt::ApiError => e
3208
+ puts "Error when calling ClustersApi->remove_snmp_transport: #{e}"
3209
+ end
3210
+ ```
3211
+
3212
+ #### Using the remove_snmp_transport_with_http_info variant
3213
+
3214
+ This returns an Array which contains the response data, status code and headers.
3215
+
3216
+ > <Array(<RemoveSnmpTransport202Response>, Integer, Hash)> remove_snmp_transport_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
3217
+
3218
+ ```ruby
3219
+ begin
3220
+ # Remove SNMP transport ports and protocol details
3221
+ data, status_code, headers = api_instance.remove_snmp_transport_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_transport)
3222
+ p status_code # => 2xx
3223
+ p headers # => { ... }
3224
+ p data # => <RemoveSnmpTransport202Response>
3225
+ rescue NutanixClustermgmt::ApiError => e
3226
+ puts "Error when calling ClustersApi->remove_snmp_transport_with_http_info: #{e}"
3227
+ end
3228
+ ```
3229
+
3230
+ ### Parameters
3231
+
3232
+ | Name | Type | Description | Notes |
3233
+ | ---- | ---- | ----------- | ----- |
3234
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3235
+ | **clustermgmt_v40_config_snmp_transport** | [**ClustermgmtV40ConfigSnmpTransport**](ClustermgmtV40ConfigSnmpTransport.md) | SNMP transports to remove. | |
3236
+
3237
+ ### Return type
3238
+
3239
+ [**RemoveSnmpTransport202Response**](RemoveSnmpTransport202Response.md)
3240
+
3241
+ ### Authorization
3242
+
3243
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3244
+
3245
+ ### HTTP request headers
3246
+
3247
+ - **Content-Type**: application/json
3248
+ - **Accept**: application/json
3249
+
3250
+
3251
+ ## update_cluster_by_id
3252
+
3253
+ > <UpdateClusterById202Response> update_cluster_by_id(ext_id, if_match, clustermgmt_v40_config_cluster)
3254
+
3255
+ Update cluster
3256
+
3257
+ Update cluster operation.
3258
+
3259
+ ### Examples
3260
+
3261
+ ```ruby
3262
+ require 'time'
3263
+ require 'nutanix_clustermgmt'
3264
+ # setup authorization
3265
+ NutanixClustermgmt.configure do |config|
3266
+ # Configure API key authorization: apiKeyAuthScheme
3267
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3268
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3269
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3270
+
3271
+ # Configure HTTP basic authorization: basicAuthScheme
3272
+ config.username = 'YOUR USERNAME'
3273
+ config.password = 'YOUR PASSWORD'
3274
+ end
3275
+
3276
+ api_instance = NutanixClustermgmt::ClustersApi.new
3277
+ ext_id = 'a1419a38-333a-4c2c-8309-8b93d7dbc10f' # String | Cluster UUID.
3278
+ if_match = 'if_match_example' # String | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
3279
+ clustermgmt_v40_config_cluster = NutanixClustermgmt::ClustermgmtV40ConfigCluster.new # ClustermgmtV40ConfigCluster | Cluster resource to update.
3280
+
3281
+ begin
3282
+ # Update cluster
3283
+ result = api_instance.update_cluster_by_id(ext_id, if_match, clustermgmt_v40_config_cluster)
3284
+ p result
3285
+ rescue NutanixClustermgmt::ApiError => e
3286
+ puts "Error when calling ClustersApi->update_cluster_by_id: #{e}"
3287
+ end
3288
+ ```
3289
+
3290
+ #### Using the update_cluster_by_id_with_http_info variant
3291
+
3292
+ This returns an Array which contains the response data, status code and headers.
3293
+
3294
+ > <Array(<UpdateClusterById202Response>, Integer, Hash)> update_cluster_by_id_with_http_info(ext_id, if_match, clustermgmt_v40_config_cluster)
3295
+
3296
+ ```ruby
3297
+ begin
3298
+ # Update cluster
3299
+ data, status_code, headers = api_instance.update_cluster_by_id_with_http_info(ext_id, if_match, clustermgmt_v40_config_cluster)
3300
+ p status_code # => 2xx
3301
+ p headers # => { ... }
3302
+ p data # => <UpdateClusterById202Response>
3303
+ rescue NutanixClustermgmt::ApiError => e
3304
+ puts "Error when calling ClustersApi->update_cluster_by_id_with_http_info: #{e}"
3305
+ end
3306
+ ```
3307
+
3308
+ ### Parameters
3309
+
3310
+ | Name | Type | Description | Notes |
3311
+ | ---- | ---- | ----------- | ----- |
3312
+ | **ext_id** | **String** | Cluster UUID. | |
3313
+ | **if_match** | **String** | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned. | |
3314
+ | **clustermgmt_v40_config_cluster** | [**ClustermgmtV40ConfigCluster**](ClustermgmtV40ConfigCluster.md) | Cluster resource to update. | |
3315
+
3316
+ ### Return type
3317
+
3318
+ [**UpdateClusterById202Response**](UpdateClusterById202Response.md)
3319
+
3320
+ ### Authorization
3321
+
3322
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3323
+
3324
+ ### HTTP request headers
3325
+
3326
+ - **Content-Type**: application/json
3327
+ - **Accept**: application/json
3328
+
3329
+
3330
+ ## update_rsyslog_server_by_id
3331
+
3332
+ > <UpdateRsyslogServerById202Response> update_rsyslog_server_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_rsyslog_server)
3333
+
3334
+ Update RSYSLOG server configuration
3335
+
3336
+ Update RSYSLOG server configuration except RSYSLOG server name as it is a primary key of the entity.
3337
+
3338
+ ### Examples
3339
+
3340
+ ```ruby
3341
+ require 'time'
3342
+ require 'nutanix_clustermgmt'
3343
+ # setup authorization
3344
+ NutanixClustermgmt.configure do |config|
3345
+ # Configure API key authorization: apiKeyAuthScheme
3346
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3347
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3348
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3349
+
3350
+ # Configure HTTP basic authorization: basicAuthScheme
3351
+ config.username = 'YOUR USERNAME'
3352
+ config.password = 'YOUR PASSWORD'
3353
+ end
3354
+
3355
+ api_instance = NutanixClustermgmt::ClustersApi.new
3356
+ cluster_ext_id = '3b4868c4-da97-4e2c-8dfd-cd5459984ca1' # String | Cluster UUID.
3357
+ ext_id = 'd540ab6d-1850-43f4-80e3-c13a86cc0149' # String | RSYSLOG server UUID.
3358
+ if_match = 'if_match_example' # String | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
3359
+ clustermgmt_v40_config_rsyslog_server = NutanixClustermgmt::ClustermgmtV40ConfigRsyslogServer.new({server_name: 'testServer1', ip_address: NutanixClustermgmt::CommonV10ConfigIPAddress.new, port: 36, network_protocol: NutanixClustermgmt::ClustermgmtV40ConfigRsyslogNetworkProtocol::UDP}) # ClustermgmtV40ConfigRsyslogServer | RSYSLOG server to update.
3360
+
3361
+ begin
3362
+ # Update RSYSLOG server configuration
3363
+ result = api_instance.update_rsyslog_server_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_rsyslog_server)
3364
+ p result
3365
+ rescue NutanixClustermgmt::ApiError => e
3366
+ puts "Error when calling ClustersApi->update_rsyslog_server_by_id: #{e}"
3367
+ end
3368
+ ```
3369
+
3370
+ #### Using the update_rsyslog_server_by_id_with_http_info variant
3371
+
3372
+ This returns an Array which contains the response data, status code and headers.
3373
+
3374
+ > <Array(<UpdateRsyslogServerById202Response>, Integer, Hash)> update_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_rsyslog_server)
3375
+
3376
+ ```ruby
3377
+ begin
3378
+ # Update RSYSLOG server configuration
3379
+ data, status_code, headers = api_instance.update_rsyslog_server_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_rsyslog_server)
3380
+ p status_code # => 2xx
3381
+ p headers # => { ... }
3382
+ p data # => <UpdateRsyslogServerById202Response>
3383
+ rescue NutanixClustermgmt::ApiError => e
3384
+ puts "Error when calling ClustersApi->update_rsyslog_server_by_id_with_http_info: #{e}"
3385
+ end
3386
+ ```
3387
+
3388
+ ### Parameters
3389
+
3390
+ | Name | Type | Description | Notes |
3391
+ | ---- | ---- | ----------- | ----- |
3392
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3393
+ | **ext_id** | **String** | RSYSLOG server UUID. | |
3394
+ | **if_match** | **String** | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned. | |
3395
+ | **clustermgmt_v40_config_rsyslog_server** | [**ClustermgmtV40ConfigRsyslogServer**](ClustermgmtV40ConfigRsyslogServer.md) | RSYSLOG server to update. | |
3396
+
3397
+ ### Return type
3398
+
3399
+ [**UpdateRsyslogServerById202Response**](UpdateRsyslogServerById202Response.md)
3400
+
3401
+ ### Authorization
3402
+
3403
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3404
+
3405
+ ### HTTP request headers
3406
+
3407
+ - **Content-Type**: application/json
3408
+ - **Accept**: application/json
3409
+
3410
+
3411
+ ## update_snmp_status
3412
+
3413
+ > <UpdateSnmpStatus202Response> update_snmp_status(cluster_ext_id, clustermgmt_v40_config_snmp_status_param)
3414
+
3415
+ Update SNMP status
3416
+
3417
+ Updates the status of SNMP configuration associated with the cluster identified by {clusterExtId}.
3418
+
3419
+ ### Examples
3420
+
3421
+ ```ruby
3422
+ require 'time'
3423
+ require 'nutanix_clustermgmt'
3424
+ # setup authorization
3425
+ NutanixClustermgmt.configure do |config|
3426
+ # Configure API key authorization: apiKeyAuthScheme
3427
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3428
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3429
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3430
+
3431
+ # Configure HTTP basic authorization: basicAuthScheme
3432
+ config.username = 'YOUR USERNAME'
3433
+ config.password = 'YOUR PASSWORD'
3434
+ end
3435
+
3436
+ api_instance = NutanixClustermgmt::ClustersApi.new
3437
+ cluster_ext_id = '8373620d-2e53-4bc0-bb86-3ae0fd292905' # String | Cluster UUID.
3438
+ clustermgmt_v40_config_snmp_status_param = NutanixClustermgmt::ClustermgmtV40ConfigSnmpStatusParam.new({is_enabled: false}) # ClustermgmtV40ConfigSnmpStatusParam | SNMP status.
3439
+
3440
+ begin
3441
+ # Update SNMP status
3442
+ result = api_instance.update_snmp_status(cluster_ext_id, clustermgmt_v40_config_snmp_status_param)
3443
+ p result
3444
+ rescue NutanixClustermgmt::ApiError => e
3445
+ puts "Error when calling ClustersApi->update_snmp_status: #{e}"
3446
+ end
3447
+ ```
3448
+
3449
+ #### Using the update_snmp_status_with_http_info variant
3450
+
3451
+ This returns an Array which contains the response data, status code and headers.
3452
+
3453
+ > <Array(<UpdateSnmpStatus202Response>, Integer, Hash)> update_snmp_status_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_status_param)
3454
+
3455
+ ```ruby
3456
+ begin
3457
+ # Update SNMP status
3458
+ data, status_code, headers = api_instance.update_snmp_status_with_http_info(cluster_ext_id, clustermgmt_v40_config_snmp_status_param)
3459
+ p status_code # => 2xx
3460
+ p headers # => { ... }
3461
+ p data # => <UpdateSnmpStatus202Response>
3462
+ rescue NutanixClustermgmt::ApiError => e
3463
+ puts "Error when calling ClustersApi->update_snmp_status_with_http_info: #{e}"
3464
+ end
3465
+ ```
3466
+
3467
+ ### Parameters
3468
+
3469
+ | Name | Type | Description | Notes |
3470
+ | ---- | ---- | ----------- | ----- |
3471
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3472
+ | **clustermgmt_v40_config_snmp_status_param** | [**ClustermgmtV40ConfigSnmpStatusParam**](ClustermgmtV40ConfigSnmpStatusParam.md) | SNMP status. | |
3473
+
3474
+ ### Return type
3475
+
3476
+ [**UpdateSnmpStatus202Response**](UpdateSnmpStatus202Response.md)
3477
+
3478
+ ### Authorization
3479
+
3480
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3481
+
3482
+ ### HTTP request headers
3483
+
3484
+ - **Content-Type**: application/json
3485
+ - **Accept**: application/json
3486
+
3487
+
3488
+ ## update_snmp_trap_by_id
3489
+
3490
+ > <UpdateSnmpTrapById202Response> update_snmp_trap_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_trap)
3491
+
3492
+ Update SNMP trap
3493
+
3494
+ Update SNMP trap configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
3495
+
3496
+ ### Examples
3497
+
3498
+ ```ruby
3499
+ require 'time'
3500
+ require 'nutanix_clustermgmt'
3501
+ # setup authorization
3502
+ NutanixClustermgmt.configure do |config|
3503
+ # Configure API key authorization: apiKeyAuthScheme
3504
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3505
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3506
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3507
+
3508
+ # Configure HTTP basic authorization: basicAuthScheme
3509
+ config.username = 'YOUR USERNAME'
3510
+ config.password = 'YOUR PASSWORD'
3511
+ end
3512
+
3513
+ api_instance = NutanixClustermgmt::ClustersApi.new
3514
+ cluster_ext_id = '2443f2f9-71ed-4760-9831-9cd0ca31f214' # String | Cluster UUID.
3515
+ ext_id = '0b3b92b8-f697-44d3-b296-16a0907879b3' # String | SNMP trap UUID.
3516
+ if_match = 'if_match_example' # String | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
3517
+ clustermgmt_v40_config_snmp_trap = NutanixClustermgmt::ClustermgmtV40ConfigSnmpTrap.new({address: NutanixClustermgmt::CommonV10ConfigIPAddress.new, version: NutanixClustermgmt::ClustermgmtV40ConfigSnmpTrapVersion::V2}) # ClustermgmtV40ConfigSnmpTrap | SNMP trap to update.
3518
+
3519
+ begin
3520
+ # Update SNMP trap
3521
+ result = api_instance.update_snmp_trap_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_trap)
3522
+ p result
3523
+ rescue NutanixClustermgmt::ApiError => e
3524
+ puts "Error when calling ClustersApi->update_snmp_trap_by_id: #{e}"
3525
+ end
3526
+ ```
3527
+
3528
+ #### Using the update_snmp_trap_by_id_with_http_info variant
3529
+
3530
+ This returns an Array which contains the response data, status code and headers.
3531
+
3532
+ > <Array(<UpdateSnmpTrapById202Response>, Integer, Hash)> update_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_trap)
3533
+
3534
+ ```ruby
3535
+ begin
3536
+ # Update SNMP trap
3537
+ data, status_code, headers = api_instance.update_snmp_trap_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_trap)
3538
+ p status_code # => 2xx
3539
+ p headers # => { ... }
3540
+ p data # => <UpdateSnmpTrapById202Response>
3541
+ rescue NutanixClustermgmt::ApiError => e
3542
+ puts "Error when calling ClustersApi->update_snmp_trap_by_id_with_http_info: #{e}"
3543
+ end
3544
+ ```
3545
+
3546
+ ### Parameters
3547
+
3548
+ | Name | Type | Description | Notes |
3549
+ | ---- | ---- | ----------- | ----- |
3550
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3551
+ | **ext_id** | **String** | SNMP trap UUID. | |
3552
+ | **if_match** | **String** | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned. | |
3553
+ | **clustermgmt_v40_config_snmp_trap** | [**ClustermgmtV40ConfigSnmpTrap**](ClustermgmtV40ConfigSnmpTrap.md) | SNMP trap to update. | |
3554
+
3555
+ ### Return type
3556
+
3557
+ [**UpdateSnmpTrapById202Response**](UpdateSnmpTrapById202Response.md)
3558
+
3559
+ ### Authorization
3560
+
3561
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3562
+
3563
+ ### HTTP request headers
3564
+
3565
+ - **Content-Type**: application/json
3566
+ - **Accept**: application/json
3567
+
3568
+
3569
+ ## update_snmp_user_by_id
3570
+
3571
+ > <UpdateSnmpUserById202Response> update_snmp_user_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_user)
3572
+
3573
+ Update SNMP user
3574
+
3575
+ Updates SNMP user configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
3576
+
3577
+ ### Examples
3578
+
3579
+ ```ruby
3580
+ require 'time'
3581
+ require 'nutanix_clustermgmt'
3582
+ # setup authorization
3583
+ NutanixClustermgmt.configure do |config|
3584
+ # Configure API key authorization: apiKeyAuthScheme
3585
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3586
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3587
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3588
+
3589
+ # Configure HTTP basic authorization: basicAuthScheme
3590
+ config.username = 'YOUR USERNAME'
3591
+ config.password = 'YOUR PASSWORD'
3592
+ end
3593
+
3594
+ api_instance = NutanixClustermgmt::ClustersApi.new
3595
+ cluster_ext_id = '958b2dd0-ffed-40c6-8c8d-f6ffe17375c4' # String | Cluster UUID.
3596
+ ext_id = 'cc4612bc-2ef2-4376-904b-43a3c23a6af4' # String | SNMP user UUID.
3597
+ if_match = 'if_match_example' # String | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
3598
+ clustermgmt_v40_config_snmp_user = NutanixClustermgmt::ClustermgmtV40ConfigSnmpUser.new({username: 'Test UserName', auth_type: NutanixClustermgmt::ClustermgmtV40ConfigSnmpAuthType::MD5, auth_key: 'Test_SNMP_user_authentication_key.'}) # ClustermgmtV40ConfigSnmpUser | SNMP user to update.
3599
+
3600
+ begin
3601
+ # Update SNMP user
3602
+ result = api_instance.update_snmp_user_by_id(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_user)
3603
+ p result
3604
+ rescue NutanixClustermgmt::ApiError => e
3605
+ puts "Error when calling ClustersApi->update_snmp_user_by_id: #{e}"
3606
+ end
3607
+ ```
3608
+
3609
+ #### Using the update_snmp_user_by_id_with_http_info variant
3610
+
3611
+ This returns an Array which contains the response data, status code and headers.
3612
+
3613
+ > <Array(<UpdateSnmpUserById202Response>, Integer, Hash)> update_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_user)
3614
+
3615
+ ```ruby
3616
+ begin
3617
+ # Update SNMP user
3618
+ data, status_code, headers = api_instance.update_snmp_user_by_id_with_http_info(cluster_ext_id, ext_id, if_match, clustermgmt_v40_config_snmp_user)
3619
+ p status_code # => 2xx
3620
+ p headers # => { ... }
3621
+ p data # => <UpdateSnmpUserById202Response>
3622
+ rescue NutanixClustermgmt::ApiError => e
3623
+ puts "Error when calling ClustersApi->update_snmp_user_by_id_with_http_info: #{e}"
3624
+ end
3625
+ ```
3626
+
3627
+ ### Parameters
3628
+
3629
+ | Name | Type | Description | Notes |
3630
+ | ---- | ---- | ----------- | ----- |
3631
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3632
+ | **ext_id** | **String** | SNMP user UUID. | |
3633
+ | **if_match** | **String** | The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned. | |
3634
+ | **clustermgmt_v40_config_snmp_user** | [**ClustermgmtV40ConfigSnmpUser**](ClustermgmtV40ConfigSnmpUser.md) | SNMP user to update. | |
3635
+
3636
+ ### Return type
3637
+
3638
+ [**UpdateSnmpUserById202Response**](UpdateSnmpUserById202Response.md)
3639
+
3640
+ ### Authorization
3641
+
3642
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3643
+
3644
+ ### HTTP request headers
3645
+
3646
+ - **Content-Type**: application/json
3647
+ - **Accept**: application/json
3648
+
3649
+
3650
+ ## validate_node
3651
+
3652
+ > <ValidateNode202Response> validate_node(cluster_ext_id, clustermgmt_v40_config_validate_node_param)
3653
+
3654
+ Validates hypervisor bundle and node uplinks
3655
+
3656
+ Validates hypervisor bundle and node uplinks of the node. This API is not supported for XEN hypervisor type.
3657
+
3658
+ ### Examples
3659
+
3660
+ ```ruby
3661
+ require 'time'
3662
+ require 'nutanix_clustermgmt'
3663
+ # setup authorization
3664
+ NutanixClustermgmt.configure do |config|
3665
+ # Configure API key authorization: apiKeyAuthScheme
3666
+ config.api_key['X-ntnx-api-key'] = 'YOUR API KEY'
3667
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3668
+ # config.api_key_prefix['X-ntnx-api-key'] = 'Bearer'
3669
+
3670
+ # Configure HTTP basic authorization: basicAuthScheme
3671
+ config.username = 'YOUR USERNAME'
3672
+ config.password = 'YOUR PASSWORD'
3673
+ end
3674
+
3675
+ api_instance = NutanixClustermgmt::ClustersApi.new
3676
+ cluster_ext_id = 'd32cec99-4daf-45da-8b1d-c7b12bfcbdac' # String | Cluster UUID.
3677
+ clustermgmt_v40_config_validate_node_param = NutanixClustermgmt::ClustermgmtV40ConfigValidateNodeParam.new({spec: nil}) # ClustermgmtV40ConfigValidateNodeParam | Request body for node validation. It can be OneOf between hypervisor bundle and node uplinks.
3678
+
3679
+ begin
3680
+ # Validates hypervisor bundle and node uplinks
3681
+ result = api_instance.validate_node(cluster_ext_id, clustermgmt_v40_config_validate_node_param)
3682
+ p result
3683
+ rescue NutanixClustermgmt::ApiError => e
3684
+ puts "Error when calling ClustersApi->validate_node: #{e}"
3685
+ end
3686
+ ```
3687
+
3688
+ #### Using the validate_node_with_http_info variant
3689
+
3690
+ This returns an Array which contains the response data, status code and headers.
3691
+
3692
+ > <Array(<ValidateNode202Response>, Integer, Hash)> validate_node_with_http_info(cluster_ext_id, clustermgmt_v40_config_validate_node_param)
3693
+
3694
+ ```ruby
3695
+ begin
3696
+ # Validates hypervisor bundle and node uplinks
3697
+ data, status_code, headers = api_instance.validate_node_with_http_info(cluster_ext_id, clustermgmt_v40_config_validate_node_param)
3698
+ p status_code # => 2xx
3699
+ p headers # => { ... }
3700
+ p data # => <ValidateNode202Response>
3701
+ rescue NutanixClustermgmt::ApiError => e
3702
+ puts "Error when calling ClustersApi->validate_node_with_http_info: #{e}"
3703
+ end
3704
+ ```
3705
+
3706
+ ### Parameters
3707
+
3708
+ | Name | Type | Description | Notes |
3709
+ | ---- | ---- | ----------- | ----- |
3710
+ | **cluster_ext_id** | **String** | Cluster UUID. | |
3711
+ | **clustermgmt_v40_config_validate_node_param** | [**ClustermgmtV40ConfigValidateNodeParam**](ClustermgmtV40ConfigValidateNodeParam.md) | Request body for node validation. It can be OneOf between hypervisor bundle and node uplinks. | |
3712
+
3713
+ ### Return type
3714
+
3715
+ [**ValidateNode202Response**](ValidateNode202Response.md)
3716
+
3717
+ ### Authorization
3718
+
3719
+ [apiKeyAuthScheme](../README.md#apiKeyAuthScheme), [basicAuthScheme](../README.md#basicAuthScheme)
3720
+
3721
+ ### HTTP request headers
3722
+
3723
+ - **Content-Type**: application/json
3724
+ - **Accept**: application/json
3725
+