vsphere-automation-appliance 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (755) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +20 -0
  3. data/lib/vsphere-automation-appliance/version.rb +1 -1
  4. metadata +8 -1129
  5. data/Gemfile +0 -14
  6. data/Gemfile.lock +0 -86
  7. data/README.md +0 -511
  8. data/Rakefile +0 -18
  9. data/docs/AccessConsolecliApi.md +0 -105
  10. data/docs/AccessDcuiApi.md +0 -105
  11. data/docs/AccessShellApi.md +0 -105
  12. data/docs/AccessSshApi.md +0 -105
  13. data/docs/ApplianceAccessConsolecliResult.md +0 -8
  14. data/docs/ApplianceAccessConsolecliSet.md +0 -8
  15. data/docs/ApplianceAccessDcuiResult.md +0 -8
  16. data/docs/ApplianceAccessDcuiSet.md +0 -8
  17. data/docs/ApplianceAccessShellResult.md +0 -8
  18. data/docs/ApplianceAccessShellSet.md +0 -8
  19. data/docs/ApplianceAccessShellShellConfig.md +0 -9
  20. data/docs/ApplianceAccessSshResult.md +0 -8
  21. data/docs/ApplianceAccessSshSet.md +0 -8
  22. data/docs/ApplianceHealthApplmgmtResult.md +0 -8
  23. data/docs/ApplianceHealthDatabasestorageHealthLevel.md +0 -7
  24. data/docs/ApplianceHealthDatabasestorageResult.md +0 -8
  25. data/docs/ApplianceHealthLoadHealthLevel.md +0 -7
  26. data/docs/ApplianceHealthLoadResult.md +0 -8
  27. data/docs/ApplianceHealthMemHealthLevel.md +0 -7
  28. data/docs/ApplianceHealthMemResult.md +0 -8
  29. data/docs/ApplianceHealthMessagesResult.md +0 -8
  30. data/docs/ApplianceHealthSoftwarepackagesHealthLevel.md +0 -7
  31. data/docs/ApplianceHealthSoftwarepackagesResult.md +0 -8
  32. data/docs/ApplianceHealthStorageHealthLevel.md +0 -7
  33. data/docs/ApplianceHealthStorageResult.md +0 -8
  34. data/docs/ApplianceHealthSwapHealthLevel.md +0 -7
  35. data/docs/ApplianceHealthSwapResult.md +0 -8
  36. data/docs/ApplianceHealthSystemHealthLevel.md +0 -7
  37. data/docs/ApplianceHealthSystemLastcheckResult.md +0 -8
  38. data/docs/ApplianceHealthSystemResult.md +0 -8
  39. data/docs/ApplianceLocalAccountsConfig.md +0 -20
  40. data/docs/ApplianceLocalAccountsCreate.md +0 -8
  41. data/docs/ApplianceLocalAccountsInfo.md +0 -18
  42. data/docs/ApplianceLocalAccountsListResult.md +0 -8
  43. data/docs/ApplianceLocalAccountsPolicyInfo.md +0 -10
  44. data/docs/ApplianceLocalAccountsPolicyResult.md +0 -8
  45. data/docs/ApplianceLocalAccountsPolicySet.md +0 -8
  46. data/docs/ApplianceLocalAccountsResult.md +0 -8
  47. data/docs/ApplianceLocalAccountsSet.md +0 -8
  48. data/docs/ApplianceLocalAccountsUpdate.md +0 -8
  49. data/docs/ApplianceLocalAccountsUpdateConfig.md +0 -20
  50. data/docs/ApplianceLoggingForwardingConfig.md +0 -10
  51. data/docs/ApplianceLoggingForwardingConnectionStatus.md +0 -10
  52. data/docs/ApplianceLoggingForwardingConnectionStatusState.md +0 -7
  53. data/docs/ApplianceLoggingForwardingProtocol.md +0 -7
  54. data/docs/ApplianceLoggingForwardingResult.md +0 -8
  55. data/docs/ApplianceLoggingForwardingSet.md +0 -8
  56. data/docs/ApplianceLoggingForwardingTest.md +0 -8
  57. data/docs/ApplianceLoggingForwardingTestResult.md +0 -8
  58. data/docs/ApplianceMonitoringFunctionType.md +0 -7
  59. data/docs/ApplianceMonitoringIntervalType.md +0 -7
  60. data/docs/ApplianceMonitoringListResult.md +0 -8
  61. data/docs/ApplianceMonitoringMonitoredItem.md +0 -13
  62. data/docs/ApplianceMonitoringMonitoredItemData.md +0 -13
  63. data/docs/ApplianceMonitoringMonitoredItemDataRequest.md +0 -12
  64. data/docs/ApplianceMonitoringQueryResult.md +0 -8
  65. data/docs/ApplianceMonitoringResult.md +0 -8
  66. data/docs/ApplianceNetworkingDNSInfo.md +0 -10
  67. data/docs/ApplianceNetworkingDNSInfoDNSMode.md +0 -7
  68. data/docs/ApplianceNetworkingDnsDomainsAdd.md +0 -8
  69. data/docs/ApplianceNetworkingDnsDomainsListResult.md +0 -8
  70. data/docs/ApplianceNetworkingDnsDomainsSet.md +0 -8
  71. data/docs/ApplianceNetworkingDnsHostnameMessage.md +0 -9
  72. data/docs/ApplianceNetworkingDnsHostnameMessageStatus.md +0 -7
  73. data/docs/ApplianceNetworkingDnsHostnameResult.md +0 -8
  74. data/docs/ApplianceNetworkingDnsHostnameSet.md +0 -8
  75. data/docs/ApplianceNetworkingDnsHostnameTest.md +0 -8
  76. data/docs/ApplianceNetworkingDnsHostnameTestResult.md +0 -8
  77. data/docs/ApplianceNetworkingDnsHostnameTestStatus.md +0 -7
  78. data/docs/ApplianceNetworkingDnsHostnameTestStatusInfo.md +0 -9
  79. data/docs/ApplianceNetworkingDnsServersAdd.md +0 -8
  80. data/docs/ApplianceNetworkingDnsServersDNSServerConfig.md +0 -9
  81. data/docs/ApplianceNetworkingDnsServersDNSServerMode.md +0 -7
  82. data/docs/ApplianceNetworkingDnsServersMessage.md +0 -9
  83. data/docs/ApplianceNetworkingDnsServersMessageStatus.md +0 -7
  84. data/docs/ApplianceNetworkingDnsServersResult.md +0 -8
  85. data/docs/ApplianceNetworkingDnsServersSet.md +0 -8
  86. data/docs/ApplianceNetworkingDnsServersTest.md +0 -8
  87. data/docs/ApplianceNetworkingDnsServersTestResult.md +0 -8
  88. data/docs/ApplianceNetworkingDnsServersTestStatus.md +0 -7
  89. data/docs/ApplianceNetworkingDnsServersTestStatusInfo.md +0 -9
  90. data/docs/ApplianceNetworkingFirewallInboundPolicy.md +0 -7
  91. data/docs/ApplianceNetworkingFirewallInboundResult.md +0 -8
  92. data/docs/ApplianceNetworkingFirewallInboundRule.md +0 -11
  93. data/docs/ApplianceNetworkingFirewallInboundSet.md +0 -8
  94. data/docs/ApplianceNetworkingInfo.md +0 -9
  95. data/docs/ApplianceNetworkingInfoInterfaces.md +0 -9
  96. data/docs/ApplianceNetworkingInterfacesInterfaceInfo.md +0 -12
  97. data/docs/ApplianceNetworkingInterfacesInterfaceStatus.md +0 -7
  98. data/docs/ApplianceNetworkingInterfacesIpv4Config.md +0 -11
  99. data/docs/ApplianceNetworkingInterfacesIpv4Info.md +0 -12
  100. data/docs/ApplianceNetworkingInterfacesIpv4Mode.md +0 -7
  101. data/docs/ApplianceNetworkingInterfacesIpv4Result.md +0 -8
  102. data/docs/ApplianceNetworkingInterfacesIpv4Set.md +0 -8
  103. data/docs/ApplianceNetworkingInterfacesIpv6Address.md +0 -9
  104. data/docs/ApplianceNetworkingInterfacesIpv6AddressInfo.md +0 -11
  105. data/docs/ApplianceNetworkingInterfacesIpv6Config.md +0 -11
  106. data/docs/ApplianceNetworkingInterfacesIpv6Info.md +0 -12
  107. data/docs/ApplianceNetworkingInterfacesIpv6Origin.md +0 -7
  108. data/docs/ApplianceNetworkingInterfacesIpv6Result.md +0 -8
  109. data/docs/ApplianceNetworkingInterfacesIpv6Set.md +0 -8
  110. data/docs/ApplianceNetworkingInterfacesIpv6Status.md +0 -7
  111. data/docs/ApplianceNetworkingInterfacesListResult.md +0 -8
  112. data/docs/ApplianceNetworkingInterfacesResult.md +0 -8
  113. data/docs/ApplianceNetworkingNoProxyResult.md +0 -8
  114. data/docs/ApplianceNetworkingNoProxySet.md +0 -8
  115. data/docs/ApplianceNetworkingProxyConfig.md +0 -12
  116. data/docs/ApplianceNetworkingProxyListResult.md +0 -8
  117. data/docs/ApplianceNetworkingProxyListResultValue.md +0 -9
  118. data/docs/ApplianceNetworkingProxyProtocol.md +0 -7
  119. data/docs/ApplianceNetworkingProxyResult.md +0 -8
  120. data/docs/ApplianceNetworkingProxyServerStatus.md +0 -7
  121. data/docs/ApplianceNetworkingProxySet.md +0 -8
  122. data/docs/ApplianceNetworkingProxyTest.md +0 -9
  123. data/docs/ApplianceNetworkingProxyTestResult.md +0 -9
  124. data/docs/ApplianceNetworkingResult.md +0 -8
  125. data/docs/ApplianceNetworkingUpdate.md +0 -8
  126. data/docs/ApplianceNetworkingUpdateSpec.md +0 -8
  127. data/docs/ApplianceNotification.md +0 -11
  128. data/docs/ApplianceNotifications.md +0 -10
  129. data/docs/ApplianceNtpLocalizableMessage.md +0 -10
  130. data/docs/ApplianceNtpResult.md +0 -8
  131. data/docs/ApplianceNtpServerStatus.md +0 -7
  132. data/docs/ApplianceNtpSet.md +0 -8
  133. data/docs/ApplianceNtpTest.md +0 -8
  134. data/docs/ApplianceNtpTestResult.md +0 -8
  135. data/docs/ApplianceNtpTestRunStatus.md +0 -10
  136. data/docs/ApplianceRecoveryBackupBackupRequest.md +0 -14
  137. data/docs/ApplianceRecoveryBackupJobBackupJobStatus.md +0 -13
  138. data/docs/ApplianceRecoveryBackupJobBackupRequest.md +0 -14
  139. data/docs/ApplianceRecoveryBackupJobBackupRestoreProcessState.md +0 -7
  140. data/docs/ApplianceRecoveryBackupJobCancelResult.md +0 -8
  141. data/docs/ApplianceRecoveryBackupJobCreate.md +0 -8
  142. data/docs/ApplianceRecoveryBackupJobCreateResult.md +0 -8
  143. data/docs/ApplianceRecoveryBackupJobDetailsBuildInfo.md +0 -10
  144. data/docs/ApplianceRecoveryBackupJobDetailsFilterSpec.md +0 -8
  145. data/docs/ApplianceRecoveryBackupJobDetailsInfo.md +0 -26
  146. data/docs/ApplianceRecoveryBackupJobDetailsListResult.md +0 -8
  147. data/docs/ApplianceRecoveryBackupJobDetailsListResultValue.md +0 -9
  148. data/docs/ApplianceRecoveryBackupJobDetailsType.md +0 -7
  149. data/docs/ApplianceRecoveryBackupJobListResult.md +0 -8
  150. data/docs/ApplianceRecoveryBackupJobLocalizableMessage.md +0 -10
  151. data/docs/ApplianceRecoveryBackupJobLocationType.md +0 -7
  152. data/docs/ApplianceRecoveryBackupJobResult.md +0 -8
  153. data/docs/ApplianceRecoveryBackupJobReturnResult.md +0 -9
  154. data/docs/ApplianceRecoveryBackupJobReturnStatus.md +0 -7
  155. data/docs/ApplianceRecoveryBackupLocalizableMessage.md +0 -10
  156. data/docs/ApplianceRecoveryBackupLocationSpec.md +0 -10
  157. data/docs/ApplianceRecoveryBackupLocationType.md +0 -7
  158. data/docs/ApplianceRecoveryBackupPartsListResult.md +0 -8
  159. data/docs/ApplianceRecoveryBackupPartsLocalizableMessage.md +0 -10
  160. data/docs/ApplianceRecoveryBackupPartsPart.md +0 -12
  161. data/docs/ApplianceRecoveryBackupPartsResult.md +0 -8
  162. data/docs/ApplianceRecoveryBackupReturnResult.md +0 -9
  163. data/docs/ApplianceRecoveryBackupReturnStatus.md +0 -7
  164. data/docs/ApplianceRecoveryBackupSchedulesCreate.md +0 -8
  165. data/docs/ApplianceRecoveryBackupSchedulesCreateSpec.md +0 -15
  166. data/docs/ApplianceRecoveryBackupSchedulesDayOfWeek.md +0 -7
  167. data/docs/ApplianceRecoveryBackupSchedulesInfo.md +0 -13
  168. data/docs/ApplianceRecoveryBackupSchedulesListResult.md +0 -8
  169. data/docs/ApplianceRecoveryBackupSchedulesListResultValue.md +0 -9
  170. data/docs/ApplianceRecoveryBackupSchedulesRecurrenceInfo.md +0 -10
  171. data/docs/ApplianceRecoveryBackupSchedulesResult.md +0 -8
  172. data/docs/ApplianceRecoveryBackupSchedulesRetentionInfo.md +0 -8
  173. data/docs/ApplianceRecoveryBackupSchedulesRun.md +0 -8
  174. data/docs/ApplianceRecoveryBackupSchedulesRunResult.md +0 -8
  175. data/docs/ApplianceRecoveryBackupSchedulesUpdate.md +0 -8
  176. data/docs/ApplianceRecoveryBackupSchedulesUpdateSpec.md +0 -15
  177. data/docs/ApplianceRecoveryBackupSystemNameArchiveFilterSpec.md +0 -11
  178. data/docs/ApplianceRecoveryBackupSystemNameArchiveInfo.md +0 -13
  179. data/docs/ApplianceRecoveryBackupSystemNameArchiveListResult.md +0 -8
  180. data/docs/ApplianceRecoveryBackupSystemNameArchiveResult.md +0 -8
  181. data/docs/ApplianceRecoveryBackupSystemNameArchiveSummary.md +0 -11
  182. data/docs/ApplianceRecoveryBackupSystemNameListResult.md +0 -8
  183. data/docs/ApplianceRecoveryBackupValidate.md +0 -8
  184. data/docs/ApplianceRecoveryBackupValidateResult.md +0 -8
  185. data/docs/ApplianceRecoveryInfo.md +0 -8
  186. data/docs/ApplianceRecoveryReconciliationJobCreate.md +0 -8
  187. data/docs/ApplianceRecoveryReconciliationJobCreateResult.md +0 -8
  188. data/docs/ApplianceRecoveryReconciliationJobCreateSpec.md +0 -10
  189. data/docs/ApplianceRecoveryReconciliationJobInfo.md +0 -19
  190. data/docs/ApplianceRecoveryReconciliationJobResult.md +0 -8
  191. data/docs/ApplianceRecoveryReconciliationJobStatus.md +0 -7
  192. data/docs/ApplianceRecoveryRestoreJobBackupRestoreProcessState.md +0 -7
  193. data/docs/ApplianceRecoveryRestoreJobCancelResult.md +0 -8
  194. data/docs/ApplianceRecoveryRestoreJobCreate.md +0 -8
  195. data/docs/ApplianceRecoveryRestoreJobCreateResult.md +0 -8
  196. data/docs/ApplianceRecoveryRestoreJobLocalizableMessage.md +0 -10
  197. data/docs/ApplianceRecoveryRestoreJobLocationType.md +0 -7
  198. data/docs/ApplianceRecoveryRestoreJobRestoreJobStatus.md +0 -10
  199. data/docs/ApplianceRecoveryRestoreJobRestoreRequest.md +0 -15
  200. data/docs/ApplianceRecoveryRestoreJobResult.md +0 -8
  201. data/docs/ApplianceRecoveryRestoreJobReturnResult.md +0 -9
  202. data/docs/ApplianceRecoveryRestoreJobReturnStatus.md +0 -7
  203. data/docs/ApplianceRecoveryRestoreLocalizableMessage.md +0 -10
  204. data/docs/ApplianceRecoveryRestoreLocationType.md +0 -7
  205. data/docs/ApplianceRecoveryRestoreMetadata.md +0 -15
  206. data/docs/ApplianceRecoveryRestoreRestoreRequest.md +0 -14
  207. data/docs/ApplianceRecoveryRestoreValidate.md +0 -8
  208. data/docs/ApplianceRecoveryRestoreValidateResult.md +0 -8
  209. data/docs/ApplianceRecoveryResult.md +0 -8
  210. data/docs/ApplianceServicesInfo.md +0 -9
  211. data/docs/ApplianceServicesListResult.md +0 -8
  212. data/docs/ApplianceServicesListResultValue.md +0 -9
  213. data/docs/ApplianceServicesResult.md +0 -8
  214. data/docs/ApplianceServicesState.md +0 -7
  215. data/docs/ApplianceShutdownPoweroff.md +0 -9
  216. data/docs/ApplianceShutdownReboot.md +0 -9
  217. data/docs/ApplianceShutdownResult.md +0 -8
  218. data/docs/ApplianceShutdownShutdownConfig.md +0 -10
  219. data/docs/ApplianceSubtaskInfo.md +0 -20
  220. data/docs/ApplianceSystemStorageListResult.md +0 -8
  221. data/docs/ApplianceSystemStorageResizeExResult.md +0 -8
  222. data/docs/ApplianceSystemStorageResizeExResultValue.md +0 -9
  223. data/docs/ApplianceSystemStorageStorageChange.md +0 -9
  224. data/docs/ApplianceSystemStorageStorageMapping.md +0 -10
  225. data/docs/ApplianceSystemTimeResult.md +0 -8
  226. data/docs/ApplianceSystemTimeSystemTimeStruct.md +0 -11
  227. data/docs/ApplianceSystemTimeTimezoneResult.md +0 -8
  228. data/docs/ApplianceSystemTimeTimezoneSet.md +0 -8
  229. data/docs/ApplianceSystemUptimeResult.md +0 -8
  230. data/docs/ApplianceSystemVersionResult.md +0 -8
  231. data/docs/ApplianceSystemVersionVersionStruct.md +0 -14
  232. data/docs/ApplianceTaskInfo.md +0 -21
  233. data/docs/ApplianceTaskInfoSubtasks.md +0 -9
  234. data/docs/ApplianceTechpreviewMonitoringSnmpHash.md +0 -8
  235. data/docs/ApplianceTechpreviewMonitoringSnmpHashResult.md +0 -8
  236. data/docs/ApplianceTechpreviewMonitoringSnmpLimitsResult.md +0 -8
  237. data/docs/ApplianceTechpreviewMonitoringSnmpResult.md +0 -8
  238. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPAuthProto.md +0 -7
  239. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPConfig.md +0 -20
  240. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPConfigReadOnly.md +0 -22
  241. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPHashConfig.md +0 -10
  242. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPHashResults.md +0 -9
  243. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPLimits.md +0 -13
  244. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPPrivProto.md +0 -7
  245. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPRemoteUser.md +0 -14
  246. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPSecLevel.md +0 -7
  247. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPStats.md +0 -34
  248. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPTestResults.md +0 -9
  249. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPUser.md +0 -11
  250. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv1TrapTarget.md +0 -10
  251. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication.md +0 -7
  252. data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv3Target.md +0 -12
  253. data/docs/ApplianceTechpreviewMonitoringSnmpSet.md +0 -8
  254. data/docs/ApplianceTechpreviewMonitoringSnmpStatsResult.md +0 -8
  255. data/docs/ApplianceTechpreviewMonitoringSnmpTestResult.md +0 -8
  256. data/docs/ApplianceTechpreviewServicesStatusGet.md +0 -9
  257. data/docs/ApplianceTechpreviewServicesStatusResult.md +0 -8
  258. data/docs/ApplianceTechpreviewServicesStatusServiceStatus.md +0 -7
  259. data/docs/ApplianceTimesyncResult.md +0 -8
  260. data/docs/ApplianceTimesyncSet.md +0 -8
  261. data/docs/ApplianceTimesyncTimeSyncMode.md +0 -7
  262. data/docs/ApplianceUpdateCommonInfoCategory.md +0 -7
  263. data/docs/ApplianceUpdateCommonInfoPriority.md +0 -7
  264. data/docs/ApplianceUpdateCommonInfoSeverity.md +0 -7
  265. data/docs/ApplianceUpdateInfo.md +0 -11
  266. data/docs/ApplianceUpdatePendingInfo.md +0 -18
  267. data/docs/ApplianceUpdatePendingInstall.md +0 -8
  268. data/docs/ApplianceUpdatePendingInstallUserData.md +0 -9
  269. data/docs/ApplianceUpdatePendingListResult.md +0 -8
  270. data/docs/ApplianceUpdatePendingPrecheckResult.md +0 -13
  271. data/docs/ApplianceUpdatePendingQuestion.md +0 -14
  272. data/docs/ApplianceUpdatePendingQuestionInputType.md +0 -7
  273. data/docs/ApplianceUpdatePendingResult.md +0 -8
  274. data/docs/ApplianceUpdatePendingSourceType.md +0 -7
  275. data/docs/ApplianceUpdatePendingStageAndInstall.md +0 -8
  276. data/docs/ApplianceUpdatePendingValidate.md +0 -8
  277. data/docs/ApplianceUpdatePendingValidateResult.md +0 -8
  278. data/docs/ApplianceUpdatePolicyConfig.md +0 -12
  279. data/docs/ApplianceUpdatePolicyDayOfWeek.md +0 -7
  280. data/docs/ApplianceUpdatePolicyInfo.md +0 -14
  281. data/docs/ApplianceUpdatePolicyResult.md +0 -8
  282. data/docs/ApplianceUpdatePolicySet.md +0 -8
  283. data/docs/ApplianceUpdatePolicyTime.md +0 -10
  284. data/docs/ApplianceUpdateResult.md +0 -8
  285. data/docs/ApplianceUpdateServiceInfo.md +0 -9
  286. data/docs/ApplianceUpdateStagedInfo.md +0 -16
  287. data/docs/ApplianceUpdateStagedResult.md +0 -8
  288. data/docs/ApplianceUpdateState.md +0 -7
  289. data/docs/ApplianceUpdateSummary.md +0 -15
  290. data/docs/ApplianceVmonServiceHealth.md +0 -7
  291. data/docs/ApplianceVmonServiceInfo.md +0 -13
  292. data/docs/ApplianceVmonServiceListDetailsResult.md +0 -8
  293. data/docs/ApplianceVmonServiceListDetailsResultValue.md +0 -9
  294. data/docs/ApplianceVmonServiceResult.md +0 -8
  295. data/docs/ApplianceVmonServiceStartupType.md +0 -7
  296. data/docs/ApplianceVmonServiceState.md +0 -7
  297. data/docs/ApplianceVmonServiceUpdate.md +0 -8
  298. data/docs/ApplianceVmonServiceUpdateSpec.md +0 -8
  299. data/docs/CisTaskProgress.md +0 -10
  300. data/docs/CisTaskStatus.md +0 -7
  301. data/docs/HealthApi.md +0 -59
  302. data/docs/HealthApplmgmtApi.md +0 -55
  303. data/docs/HealthDatabasestorageApi.md +0 -55
  304. data/docs/HealthLoadApi.md +0 -55
  305. data/docs/HealthMemApi.md +0 -55
  306. data/docs/HealthSoftwarepackagesApi.md +0 -55
  307. data/docs/HealthStorageApi.md +0 -55
  308. data/docs/HealthSwapApi.md +0 -55
  309. data/docs/HealthSystemApi.md +0 -102
  310. data/docs/LocalAccountsApi.md +0 -312
  311. data/docs/LocalAccountsPolicyApi.md +0 -105
  312. data/docs/LoggingForwardingApi.md +0 -158
  313. data/docs/MonitoringApi.md +0 -165
  314. data/docs/NetworkingApi.md +0 -151
  315. data/docs/NetworkingDnsDomainsApi.md +0 -155
  316. data/docs/NetworkingDnsHostnameApi.md +0 -156
  317. data/docs/NetworkingDnsServersApi.md +0 -206
  318. data/docs/NetworkingFirewallInboundApi.md +0 -105
  319. data/docs/NetworkingInterfacesApi.md +0 -106
  320. data/docs/NetworkingInterfacesIpv4Api.md +0 -111
  321. data/docs/NetworkingInterfacesIpv6Api.md +0 -111
  322. data/docs/NetworkingNoProxyApi.md +0 -105
  323. data/docs/NetworkingProxyApi.md +0 -261
  324. data/docs/NtpApi.md +0 -156
  325. data/docs/RecoveryApi.md +0 -55
  326. data/docs/RecoveryBackupApi.md +0 -59
  327. data/docs/RecoveryBackupJobApi.md +0 -208
  328. data/docs/RecoveryBackupJobDetailsApi.md +0 -61
  329. data/docs/RecoveryBackupPartsApi.md +0 -106
  330. data/docs/RecoveryBackupSchedulesApi.md +0 -315
  331. data/docs/RecoveryBackupSystemNameApi.md +0 -65
  332. data/docs/RecoveryBackupSystemNameArchiveApi.md +0 -136
  333. data/docs/RecoveryReconciliationJobApi.md +0 -106
  334. data/docs/RecoveryRestoreApi.md +0 -59
  335. data/docs/RecoveryRestoreJobApi.md +0 -153
  336. data/docs/ServicesApi.md +0 -256
  337. data/docs/ShutdownApi.md +0 -201
  338. data/docs/SystemStorageApi.md +0 -148
  339. data/docs/SystemTimeApi.md +0 -55
  340. data/docs/SystemTimeTimezoneApi.md +0 -105
  341. data/docs/SystemUptimeApi.md +0 -55
  342. data/docs/SystemVersionApi.md +0 -55
  343. data/docs/TechpreviewMonitoringSnmpApi.md +0 -435
  344. data/docs/TechpreviewServicesStatusApi.md +0 -59
  345. data/docs/TimesyncApi.md +0 -105
  346. data/docs/UpdateApi.md +0 -101
  347. data/docs/UpdatePendingApi.md +0 -372
  348. data/docs/UpdatePolicyApi.md +0 -105
  349. data/docs/UpdateStagedApi.md +0 -101
  350. data/docs/VapiStdDynamicID.md +0 -9
  351. data/docs/VapiStdErrorsAlreadyExists.md +0 -9
  352. data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
  353. data/docs/VapiStdErrorsAlreadyInDesiredState.md +0 -9
  354. data/docs/VapiStdErrorsAlreadyInDesiredStateError.md +0 -9
  355. data/docs/VapiStdErrorsError.md +0 -9
  356. data/docs/VapiStdErrorsErrorError.md +0 -9
  357. data/docs/VapiStdErrorsFeatureInUse.md +0 -9
  358. data/docs/VapiStdErrorsFeatureInUseError.md +0 -9
  359. data/docs/VapiStdErrorsInvalidArgument.md +0 -9
  360. data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
  361. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
  362. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
  363. data/docs/VapiStdErrorsNotFound.md +0 -9
  364. data/docs/VapiStdErrorsNotFoundError.md +0 -9
  365. data/docs/VapiStdErrorsResourceBusy.md +0 -9
  366. data/docs/VapiStdErrorsResourceBusyError.md +0 -9
  367. data/docs/VapiStdErrorsTimedOut.md +0 -9
  368. data/docs/VapiStdErrorsTimedOutError.md +0 -9
  369. data/docs/VapiStdErrorsUnableToAllocateResource.md +0 -9
  370. data/docs/VapiStdErrorsUnableToAllocateResourceError.md +0 -9
  371. data/docs/VapiStdErrorsUnauthenticated.md +0 -9
  372. data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
  373. data/docs/VapiStdErrorsUnauthorized.md +0 -9
  374. data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
  375. data/docs/VapiStdLocalizableMessage.md +0 -10
  376. data/docs/VmonServiceApi.md +0 -308
  377. data/git_push.sh +0 -55
  378. data/lib/vsphere-automation-appliance/api_client.rb +0 -260
  379. data/lib/vsphere-automation-appliance/api_error.rb +0 -34
  380. data/lib/vsphere-automation-appliance/configuration.rb +0 -212
  381. data/pkg/vsphere-automation-appliance-0.4.2.gem +0 -0
  382. data/pkg/vsphere-automation-appliance-0.4.3.gem +0 -0
  383. data/pkg/vsphere-automation-appliance-0.4.4.gem +0 -0
  384. data/spec/api/access_consolecli_api_spec.rb +0 -52
  385. data/spec/api/access_dcui_api_spec.rb +0 -52
  386. data/spec/api/access_shell_api_spec.rb +0 -52
  387. data/spec/api/access_ssh_api_spec.rb +0 -52
  388. data/spec/api/health_api_spec.rb +0 -42
  389. data/spec/api/health_applmgmt_api_spec.rb +0 -41
  390. data/spec/api/health_databasestorage_api_spec.rb +0 -41
  391. data/spec/api/health_load_api_spec.rb +0 -41
  392. data/spec/api/health_mem_api_spec.rb +0 -41
  393. data/spec/api/health_softwarepackages_api_spec.rb +0 -41
  394. data/spec/api/health_storage_api_spec.rb +0 -41
  395. data/spec/api/health_swap_api_spec.rb +0 -41
  396. data/spec/api/health_system_api_spec.rb +0 -51
  397. data/spec/api/local_accounts_api_spec.rb +0 -99
  398. data/spec/api/local_accounts_policy_api_spec.rb +0 -52
  399. data/spec/api/logging_forwarding_api_spec.rb +0 -63
  400. data/spec/api/monitoring_api_spec.rb +0 -67
  401. data/spec/api/networking_api_spec.rb +0 -62
  402. data/spec/api/networking_dns_domains_api_spec.rb +0 -63
  403. data/spec/api/networking_dns_hostname_api_spec.rb +0 -63
  404. data/spec/api/networking_dns_servers_api_spec.rb +0 -74
  405. data/spec/api/networking_firewall_inbound_api_spec.rb +0 -52
  406. data/spec/api/networking_interfaces_api_spec.rb +0 -52
  407. data/spec/api/networking_interfaces_ipv4_api_spec.rb +0 -54
  408. data/spec/api/networking_interfaces_ipv6_api_spec.rb +0 -54
  409. data/spec/api/networking_no_proxy_api_spec.rb +0 -52
  410. data/spec/api/networking_proxy_api_spec.rb +0 -87
  411. data/spec/api/ntp_api_spec.rb +0 -63
  412. data/spec/api/recovery_api_spec.rb +0 -41
  413. data/spec/api/recovery_backup_api_spec.rb +0 -42
  414. data/spec/api/recovery_backup_job_api_spec.rb +0 -74
  415. data/spec/api/recovery_backup_job_details_api_spec.rb +0 -42
  416. data/spec/api/recovery_backup_parts_api_spec.rb +0 -52
  417. data/spec/api/recovery_backup_schedules_api_spec.rb +0 -99
  418. data/spec/api/recovery_backup_system_name_api_spec.rb +0 -44
  419. data/spec/api/recovery_backup_system_name_archive_api_spec.rb +0 -64
  420. data/spec/api/recovery_reconciliation_job_api_spec.rb +0 -52
  421. data/spec/api/recovery_restore_api_spec.rb +0 -42
  422. data/spec/api/recovery_restore_job_api_spec.rb +0 -62
  423. data/spec/api/services_api_spec.rb +0 -85
  424. data/spec/api/shutdown_api_spec.rb +0 -73
  425. data/spec/api/system_storage_api_spec.rb +0 -61
  426. data/spec/api/system_time_api_spec.rb +0 -41
  427. data/spec/api/system_time_timezone_api_spec.rb +0 -52
  428. data/spec/api/system_uptime_api_spec.rb +0 -41
  429. data/spec/api/system_version_api_spec.rb +0 -41
  430. data/spec/api/techpreview_monitoring_snmp_api_spec.rb +0 -123
  431. data/spec/api/techpreview_services_status_api_spec.rb +0 -42
  432. data/spec/api/timesync_api_spec.rb +0 -52
  433. data/spec/api/update_api_spec.rb +0 -51
  434. data/spec/api/update_pending_api_spec.rb +0 -112
  435. data/spec/api/update_policy_api_spec.rb +0 -52
  436. data/spec/api/update_staged_api_spec.rb +0 -51
  437. data/spec/api/vmon_service_api_spec.rb +0 -97
  438. data/spec/api_client_spec.rb +0 -248
  439. data/spec/configuration_spec.rb +0 -38
  440. data/spec/models/appliance_access_consolecli_result_spec.rb +0 -37
  441. data/spec/models/appliance_access_consolecli_set_spec.rb +0 -37
  442. data/spec/models/appliance_access_dcui_result_spec.rb +0 -37
  443. data/spec/models/appliance_access_dcui_set_spec.rb +0 -37
  444. data/spec/models/appliance_access_shell_result_spec.rb +0 -37
  445. data/spec/models/appliance_access_shell_set_spec.rb +0 -37
  446. data/spec/models/appliance_access_shell_shell_config_spec.rb +0 -43
  447. data/spec/models/appliance_access_ssh_result_spec.rb +0 -37
  448. data/spec/models/appliance_access_ssh_set_spec.rb +0 -37
  449. data/spec/models/appliance_health_applmgmt_result_spec.rb +0 -37
  450. data/spec/models/appliance_health_databasestorage_health_level_spec.rb +0 -31
  451. data/spec/models/appliance_health_databasestorage_result_spec.rb +0 -37
  452. data/spec/models/appliance_health_load_health_level_spec.rb +0 -31
  453. data/spec/models/appliance_health_load_result_spec.rb +0 -37
  454. data/spec/models/appliance_health_mem_health_level_spec.rb +0 -31
  455. data/spec/models/appliance_health_mem_result_spec.rb +0 -37
  456. data/spec/models/appliance_health_messages_result_spec.rb +0 -37
  457. data/spec/models/appliance_health_softwarepackages_health_level_spec.rb +0 -31
  458. data/spec/models/appliance_health_softwarepackages_result_spec.rb +0 -37
  459. data/spec/models/appliance_health_storage_health_level_spec.rb +0 -31
  460. data/spec/models/appliance_health_storage_result_spec.rb +0 -37
  461. data/spec/models/appliance_health_swap_health_level_spec.rb +0 -31
  462. data/spec/models/appliance_health_swap_result_spec.rb +0 -37
  463. data/spec/models/appliance_health_system_health_level_spec.rb +0 -31
  464. data/spec/models/appliance_health_system_lastcheck_result_spec.rb +0 -37
  465. data/spec/models/appliance_health_system_result_spec.rb +0 -37
  466. data/spec/models/appliance_local_accounts_config_spec.rb +0 -109
  467. data/spec/models/appliance_local_accounts_create_spec.rb +0 -37
  468. data/spec/models/appliance_local_accounts_info_spec.rb +0 -97
  469. data/spec/models/appliance_local_accounts_list_result_spec.rb +0 -37
  470. data/spec/models/appliance_local_accounts_policy_info_spec.rb +0 -49
  471. data/spec/models/appliance_local_accounts_policy_result_spec.rb +0 -37
  472. data/spec/models/appliance_local_accounts_policy_set_spec.rb +0 -37
  473. data/spec/models/appliance_local_accounts_result_spec.rb +0 -37
  474. data/spec/models/appliance_local_accounts_set_spec.rb +0 -37
  475. data/spec/models/appliance_local_accounts_update_config_spec.rb +0 -109
  476. data/spec/models/appliance_local_accounts_update_spec.rb +0 -37
  477. data/spec/models/appliance_logging_forwarding_config_spec.rb +0 -49
  478. data/spec/models/appliance_logging_forwarding_connection_status_spec.rb +0 -49
  479. data/spec/models/appliance_logging_forwarding_connection_status_state_spec.rb +0 -31
  480. data/spec/models/appliance_logging_forwarding_protocol_spec.rb +0 -31
  481. data/spec/models/appliance_logging_forwarding_result_spec.rb +0 -37
  482. data/spec/models/appliance_logging_forwarding_set_spec.rb +0 -37
  483. data/spec/models/appliance_logging_forwarding_test_result_spec.rb +0 -37
  484. data/spec/models/appliance_logging_forwarding_test_spec.rb +0 -37
  485. data/spec/models/appliance_monitoring_function_type_spec.rb +0 -31
  486. data/spec/models/appliance_monitoring_interval_type_spec.rb +0 -31
  487. data/spec/models/appliance_monitoring_list_result_spec.rb +0 -37
  488. data/spec/models/appliance_monitoring_monitored_item_data_request_spec.rb +0 -61
  489. data/spec/models/appliance_monitoring_monitored_item_data_spec.rb +0 -67
  490. data/spec/models/appliance_monitoring_monitored_item_spec.rb +0 -67
  491. data/spec/models/appliance_monitoring_query_result_spec.rb +0 -37
  492. data/spec/models/appliance_monitoring_result_spec.rb +0 -37
  493. data/spec/models/appliance_networking_dns_domains_add_spec.rb +0 -37
  494. data/spec/models/appliance_networking_dns_domains_list_result_spec.rb +0 -37
  495. data/spec/models/appliance_networking_dns_domains_set_spec.rb +0 -37
  496. data/spec/models/appliance_networking_dns_hostname_message_spec.rb +0 -43
  497. data/spec/models/appliance_networking_dns_hostname_message_status_spec.rb +0 -31
  498. data/spec/models/appliance_networking_dns_hostname_result_spec.rb +0 -37
  499. data/spec/models/appliance_networking_dns_hostname_set_spec.rb +0 -37
  500. data/spec/models/appliance_networking_dns_hostname_test_result_spec.rb +0 -37
  501. data/spec/models/appliance_networking_dns_hostname_test_spec.rb +0 -37
  502. data/spec/models/appliance_networking_dns_hostname_test_status_info_spec.rb +0 -43
  503. data/spec/models/appliance_networking_dns_hostname_test_status_spec.rb +0 -31
  504. data/spec/models/appliance_networking_dns_info_dns_mode_spec.rb +0 -31
  505. data/spec/models/appliance_networking_dns_info_spec.rb +0 -49
  506. data/spec/models/appliance_networking_dns_servers_add_spec.rb +0 -37
  507. data/spec/models/appliance_networking_dns_servers_dns_server_config_spec.rb +0 -43
  508. data/spec/models/appliance_networking_dns_servers_dns_server_mode_spec.rb +0 -31
  509. data/spec/models/appliance_networking_dns_servers_message_spec.rb +0 -43
  510. data/spec/models/appliance_networking_dns_servers_message_status_spec.rb +0 -31
  511. data/spec/models/appliance_networking_dns_servers_result_spec.rb +0 -37
  512. data/spec/models/appliance_networking_dns_servers_set_spec.rb +0 -37
  513. data/spec/models/appliance_networking_dns_servers_test_result_spec.rb +0 -37
  514. data/spec/models/appliance_networking_dns_servers_test_spec.rb +0 -37
  515. data/spec/models/appliance_networking_dns_servers_test_status_info_spec.rb +0 -43
  516. data/spec/models/appliance_networking_dns_servers_test_status_spec.rb +0 -31
  517. data/spec/models/appliance_networking_firewall_inbound_policy_spec.rb +0 -31
  518. data/spec/models/appliance_networking_firewall_inbound_result_spec.rb +0 -37
  519. data/spec/models/appliance_networking_firewall_inbound_rule_spec.rb +0 -55
  520. data/spec/models/appliance_networking_firewall_inbound_set_spec.rb +0 -37
  521. data/spec/models/appliance_networking_info_interfaces_spec.rb +0 -43
  522. data/spec/models/appliance_networking_info_spec.rb +0 -43
  523. data/spec/models/appliance_networking_interfaces_interface_info_spec.rb +0 -61
  524. data/spec/models/appliance_networking_interfaces_interface_status_spec.rb +0 -31
  525. data/spec/models/appliance_networking_interfaces_ipv4_config_spec.rb +0 -55
  526. data/spec/models/appliance_networking_interfaces_ipv4_info_spec.rb +0 -61
  527. data/spec/models/appliance_networking_interfaces_ipv4_mode_spec.rb +0 -31
  528. data/spec/models/appliance_networking_interfaces_ipv4_result_spec.rb +0 -37
  529. data/spec/models/appliance_networking_interfaces_ipv4_set_spec.rb +0 -37
  530. data/spec/models/appliance_networking_interfaces_ipv6_address_info_spec.rb +0 -55
  531. data/spec/models/appliance_networking_interfaces_ipv6_address_spec.rb +0 -43
  532. data/spec/models/appliance_networking_interfaces_ipv6_config_spec.rb +0 -55
  533. data/spec/models/appliance_networking_interfaces_ipv6_info_spec.rb +0 -61
  534. data/spec/models/appliance_networking_interfaces_ipv6_origin_spec.rb +0 -31
  535. data/spec/models/appliance_networking_interfaces_ipv6_result_spec.rb +0 -37
  536. data/spec/models/appliance_networking_interfaces_ipv6_set_spec.rb +0 -37
  537. data/spec/models/appliance_networking_interfaces_ipv6_status_spec.rb +0 -31
  538. data/spec/models/appliance_networking_interfaces_list_result_spec.rb +0 -37
  539. data/spec/models/appliance_networking_interfaces_result_spec.rb +0 -37
  540. data/spec/models/appliance_networking_no_proxy_result_spec.rb +0 -37
  541. data/spec/models/appliance_networking_no_proxy_set_spec.rb +0 -37
  542. data/spec/models/appliance_networking_proxy_config_spec.rb +0 -61
  543. data/spec/models/appliance_networking_proxy_list_result_spec.rb +0 -37
  544. data/spec/models/appliance_networking_proxy_list_result_value_spec.rb +0 -43
  545. data/spec/models/appliance_networking_proxy_protocol_spec.rb +0 -31
  546. data/spec/models/appliance_networking_proxy_result_spec.rb +0 -37
  547. data/spec/models/appliance_networking_proxy_server_status_spec.rb +0 -31
  548. data/spec/models/appliance_networking_proxy_set_spec.rb +0 -37
  549. data/spec/models/appliance_networking_proxy_test_result_spec.rb +0 -43
  550. data/spec/models/appliance_networking_proxy_test_spec.rb +0 -43
  551. data/spec/models/appliance_networking_result_spec.rb +0 -37
  552. data/spec/models/appliance_networking_update_spec.rb +0 -37
  553. data/spec/models/appliance_networking_update_spec_spec.rb +0 -37
  554. data/spec/models/appliance_notification_spec.rb +0 -55
  555. data/spec/models/appliance_notifications_spec.rb +0 -49
  556. data/spec/models/appliance_ntp_localizable_message_spec.rb +0 -49
  557. data/spec/models/appliance_ntp_result_spec.rb +0 -37
  558. data/spec/models/appliance_ntp_server_status_spec.rb +0 -31
  559. data/spec/models/appliance_ntp_set_spec.rb +0 -37
  560. data/spec/models/appliance_ntp_test_result_spec.rb +0 -37
  561. data/spec/models/appliance_ntp_test_run_status_spec.rb +0 -49
  562. data/spec/models/appliance_ntp_test_spec.rb +0 -37
  563. data/spec/models/appliance_recovery_backup_backup_request_spec.rb +0 -73
  564. data/spec/models/appliance_recovery_backup_job_backup_job_status_spec.rb +0 -67
  565. data/spec/models/appliance_recovery_backup_job_backup_request_spec.rb +0 -73
  566. data/spec/models/appliance_recovery_backup_job_backup_restore_process_state_spec.rb +0 -31
  567. data/spec/models/appliance_recovery_backup_job_cancel_result_spec.rb +0 -37
  568. data/spec/models/appliance_recovery_backup_job_create_result_spec.rb +0 -37
  569. data/spec/models/appliance_recovery_backup_job_create_spec.rb +0 -37
  570. data/spec/models/appliance_recovery_backup_job_details_build_info_spec.rb +0 -49
  571. data/spec/models/appliance_recovery_backup_job_details_filter_spec_spec.rb +0 -37
  572. data/spec/models/appliance_recovery_backup_job_details_info_spec.rb +0 -145
  573. data/spec/models/appliance_recovery_backup_job_details_list_result_spec.rb +0 -37
  574. data/spec/models/appliance_recovery_backup_job_details_list_result_value_spec.rb +0 -43
  575. data/spec/models/appliance_recovery_backup_job_details_type_spec.rb +0 -31
  576. data/spec/models/appliance_recovery_backup_job_list_result_spec.rb +0 -37
  577. data/spec/models/appliance_recovery_backup_job_localizable_message_spec.rb +0 -49
  578. data/spec/models/appliance_recovery_backup_job_location_type_spec.rb +0 -31
  579. data/spec/models/appliance_recovery_backup_job_result_spec.rb +0 -37
  580. data/spec/models/appliance_recovery_backup_job_return_result_spec.rb +0 -43
  581. data/spec/models/appliance_recovery_backup_job_return_status_spec.rb +0 -31
  582. data/spec/models/appliance_recovery_backup_localizable_message_spec.rb +0 -49
  583. data/spec/models/appliance_recovery_backup_location_spec_spec.rb +0 -49
  584. data/spec/models/appliance_recovery_backup_location_type_spec.rb +0 -31
  585. data/spec/models/appliance_recovery_backup_parts_list_result_spec.rb +0 -37
  586. data/spec/models/appliance_recovery_backup_parts_localizable_message_spec.rb +0 -49
  587. data/spec/models/appliance_recovery_backup_parts_part_spec.rb +0 -61
  588. data/spec/models/appliance_recovery_backup_parts_result_spec.rb +0 -37
  589. data/spec/models/appliance_recovery_backup_return_result_spec.rb +0 -43
  590. data/spec/models/appliance_recovery_backup_return_status_spec.rb +0 -31
  591. data/spec/models/appliance_recovery_backup_schedules_create_spec.rb +0 -37
  592. data/spec/models/appliance_recovery_backup_schedules_create_spec_spec.rb +0 -79
  593. data/spec/models/appliance_recovery_backup_schedules_day_of_week_spec.rb +0 -31
  594. data/spec/models/appliance_recovery_backup_schedules_info_spec.rb +0 -67
  595. data/spec/models/appliance_recovery_backup_schedules_list_result_spec.rb +0 -37
  596. data/spec/models/appliance_recovery_backup_schedules_list_result_value_spec.rb +0 -43
  597. data/spec/models/appliance_recovery_backup_schedules_recurrence_info_spec.rb +0 -49
  598. data/spec/models/appliance_recovery_backup_schedules_result_spec.rb +0 -37
  599. data/spec/models/appliance_recovery_backup_schedules_retention_info_spec.rb +0 -37
  600. data/spec/models/appliance_recovery_backup_schedules_run_result_spec.rb +0 -37
  601. data/spec/models/appliance_recovery_backup_schedules_run_spec.rb +0 -37
  602. data/spec/models/appliance_recovery_backup_schedules_update_spec.rb +0 -37
  603. data/spec/models/appliance_recovery_backup_schedules_update_spec_spec.rb +0 -79
  604. data/spec/models/appliance_recovery_backup_system_name_archive_filter_spec_spec.rb +0 -55
  605. data/spec/models/appliance_recovery_backup_system_name_archive_info_spec.rb +0 -67
  606. data/spec/models/appliance_recovery_backup_system_name_archive_list_result_spec.rb +0 -37
  607. data/spec/models/appliance_recovery_backup_system_name_archive_result_spec.rb +0 -37
  608. data/spec/models/appliance_recovery_backup_system_name_archive_summary_spec.rb +0 -55
  609. data/spec/models/appliance_recovery_backup_system_name_list_result_spec.rb +0 -37
  610. data/spec/models/appliance_recovery_backup_validate_result_spec.rb +0 -37
  611. data/spec/models/appliance_recovery_backup_validate_spec.rb +0 -37
  612. data/spec/models/appliance_recovery_info_spec.rb +0 -37
  613. data/spec/models/appliance_recovery_reconciliation_job_create_result_spec.rb +0 -37
  614. data/spec/models/appliance_recovery_reconciliation_job_create_spec.rb +0 -37
  615. data/spec/models/appliance_recovery_reconciliation_job_create_spec_spec.rb +0 -49
  616. data/spec/models/appliance_recovery_reconciliation_job_info_spec.rb +0 -103
  617. data/spec/models/appliance_recovery_reconciliation_job_result_spec.rb +0 -37
  618. data/spec/models/appliance_recovery_reconciliation_job_status_spec.rb +0 -31
  619. data/spec/models/appliance_recovery_restore_job_backup_restore_process_state_spec.rb +0 -31
  620. data/spec/models/appliance_recovery_restore_job_cancel_result_spec.rb +0 -37
  621. data/spec/models/appliance_recovery_restore_job_create_result_spec.rb +0 -37
  622. data/spec/models/appliance_recovery_restore_job_create_spec.rb +0 -37
  623. data/spec/models/appliance_recovery_restore_job_localizable_message_spec.rb +0 -49
  624. data/spec/models/appliance_recovery_restore_job_location_type_spec.rb +0 -31
  625. data/spec/models/appliance_recovery_restore_job_restore_job_status_spec.rb +0 -49
  626. data/spec/models/appliance_recovery_restore_job_restore_request_spec.rb +0 -79
  627. data/spec/models/appliance_recovery_restore_job_result_spec.rb +0 -37
  628. data/spec/models/appliance_recovery_restore_job_return_result_spec.rb +0 -43
  629. data/spec/models/appliance_recovery_restore_job_return_status_spec.rb +0 -31
  630. data/spec/models/appliance_recovery_restore_localizable_message_spec.rb +0 -49
  631. data/spec/models/appliance_recovery_restore_location_type_spec.rb +0 -31
  632. data/spec/models/appliance_recovery_restore_metadata_spec.rb +0 -79
  633. data/spec/models/appliance_recovery_restore_restore_request_spec.rb +0 -73
  634. data/spec/models/appliance_recovery_restore_validate_result_spec.rb +0 -37
  635. data/spec/models/appliance_recovery_restore_validate_spec.rb +0 -37
  636. data/spec/models/appliance_recovery_result_spec.rb +0 -37
  637. data/spec/models/appliance_services_info_spec.rb +0 -43
  638. data/spec/models/appliance_services_list_result_spec.rb +0 -37
  639. data/spec/models/appliance_services_list_result_value_spec.rb +0 -43
  640. data/spec/models/appliance_services_result_spec.rb +0 -37
  641. data/spec/models/appliance_services_state_spec.rb +0 -31
  642. data/spec/models/appliance_shutdown_poweroff_spec.rb +0 -43
  643. data/spec/models/appliance_shutdown_reboot_spec.rb +0 -43
  644. data/spec/models/appliance_shutdown_result_spec.rb +0 -37
  645. data/spec/models/appliance_shutdown_shutdown_config_spec.rb +0 -49
  646. data/spec/models/appliance_subtask_info_spec.rb +0 -109
  647. data/spec/models/appliance_system_storage_list_result_spec.rb +0 -37
  648. data/spec/models/appliance_system_storage_resize_ex_result_spec.rb +0 -37
  649. data/spec/models/appliance_system_storage_resize_ex_result_value_spec.rb +0 -43
  650. data/spec/models/appliance_system_storage_storage_change_spec.rb +0 -43
  651. data/spec/models/appliance_system_storage_storage_mapping_spec.rb +0 -49
  652. data/spec/models/appliance_system_time_result_spec.rb +0 -37
  653. data/spec/models/appliance_system_time_system_time_struct_spec.rb +0 -55
  654. data/spec/models/appliance_system_time_timezone_result_spec.rb +0 -37
  655. data/spec/models/appliance_system_time_timezone_set_spec.rb +0 -37
  656. data/spec/models/appliance_system_uptime_result_spec.rb +0 -37
  657. data/spec/models/appliance_system_version_result_spec.rb +0 -37
  658. data/spec/models/appliance_system_version_version_struct_spec.rb +0 -73
  659. data/spec/models/appliance_task_info_spec.rb +0 -115
  660. data/spec/models/appliance_task_info_subtasks_spec.rb +0 -43
  661. data/spec/models/appliance_techpreview_monitoring_snmp_hash_result_spec.rb +0 -37
  662. data/spec/models/appliance_techpreview_monitoring_snmp_hash_spec.rb +0 -37
  663. data/spec/models/appliance_techpreview_monitoring_snmp_limits_result_spec.rb +0 -37
  664. data/spec/models/appliance_techpreview_monitoring_snmp_result_spec.rb +0 -37
  665. data/spec/models/appliance_techpreview_monitoring_snmp_set_spec.rb +0 -37
  666. data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv1_trap_target_spec.rb +0 -49
  667. data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv3_notfication_spec.rb +0 -31
  668. data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv3_target_spec.rb +0 -61
  669. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_auth_proto_spec.rb +0 -31
  670. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_config_read_only_spec.rb +0 -121
  671. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_config_spec.rb +0 -109
  672. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_hash_config_spec.rb +0 -49
  673. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_hash_results_spec.rb +0 -43
  674. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_limits_spec.rb +0 -67
  675. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_priv_proto_spec.rb +0 -31
  676. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_remote_user_spec.rb +0 -73
  677. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_sec_level_spec.rb +0 -31
  678. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_stats_spec.rb +0 -193
  679. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_test_results_spec.rb +0 -43
  680. data/spec/models/appliance_techpreview_monitoring_snmp_snmp_user_spec.rb +0 -55
  681. data/spec/models/appliance_techpreview_monitoring_snmp_stats_result_spec.rb +0 -37
  682. data/spec/models/appliance_techpreview_monitoring_snmp_test_result_spec.rb +0 -37
  683. data/spec/models/appliance_techpreview_services_status_get_spec.rb +0 -43
  684. data/spec/models/appliance_techpreview_services_status_result_spec.rb +0 -37
  685. data/spec/models/appliance_techpreview_services_status_service_status_spec.rb +0 -31
  686. data/spec/models/appliance_timesync_result_spec.rb +0 -37
  687. data/spec/models/appliance_timesync_set_spec.rb +0 -37
  688. data/spec/models/appliance_timesync_time_sync_mode_spec.rb +0 -31
  689. data/spec/models/appliance_update_common_info_category_spec.rb +0 -31
  690. data/spec/models/appliance_update_common_info_priority_spec.rb +0 -31
  691. data/spec/models/appliance_update_common_info_severity_spec.rb +0 -31
  692. data/spec/models/appliance_update_info_spec.rb +0 -55
  693. data/spec/models/appliance_update_pending_info_spec.rb +0 -97
  694. data/spec/models/appliance_update_pending_install_spec.rb +0 -37
  695. data/spec/models/appliance_update_pending_install_user_data_spec.rb +0 -43
  696. data/spec/models/appliance_update_pending_list_result_spec.rb +0 -37
  697. data/spec/models/appliance_update_pending_precheck_result_spec.rb +0 -67
  698. data/spec/models/appliance_update_pending_question_input_type_spec.rb +0 -31
  699. data/spec/models/appliance_update_pending_question_spec.rb +0 -73
  700. data/spec/models/appliance_update_pending_result_spec.rb +0 -37
  701. data/spec/models/appliance_update_pending_source_type_spec.rb +0 -31
  702. data/spec/models/appliance_update_pending_stage_and_install_spec.rb +0 -37
  703. data/spec/models/appliance_update_pending_validate_result_spec.rb +0 -37
  704. data/spec/models/appliance_update_pending_validate_spec.rb +0 -37
  705. data/spec/models/appliance_update_policy_config_spec.rb +0 -61
  706. data/spec/models/appliance_update_policy_day_of_week_spec.rb +0 -31
  707. data/spec/models/appliance_update_policy_info_spec.rb +0 -73
  708. data/spec/models/appliance_update_policy_result_spec.rb +0 -37
  709. data/spec/models/appliance_update_policy_set_spec.rb +0 -37
  710. data/spec/models/appliance_update_policy_time_spec.rb +0 -49
  711. data/spec/models/appliance_update_result_spec.rb +0 -37
  712. data/spec/models/appliance_update_service_info_spec.rb +0 -43
  713. data/spec/models/appliance_update_staged_info_spec.rb +0 -85
  714. data/spec/models/appliance_update_staged_result_spec.rb +0 -37
  715. data/spec/models/appliance_update_state_spec.rb +0 -31
  716. data/spec/models/appliance_update_summary_spec.rb +0 -79
  717. data/spec/models/appliance_vmon_service_health_spec.rb +0 -31
  718. data/spec/models/appliance_vmon_service_info_spec.rb +0 -67
  719. data/spec/models/appliance_vmon_service_list_details_result_spec.rb +0 -37
  720. data/spec/models/appliance_vmon_service_list_details_result_value_spec.rb +0 -43
  721. data/spec/models/appliance_vmon_service_result_spec.rb +0 -37
  722. data/spec/models/appliance_vmon_service_startup_type_spec.rb +0 -31
  723. data/spec/models/appliance_vmon_service_state_spec.rb +0 -31
  724. data/spec/models/appliance_vmon_service_update_spec.rb +0 -37
  725. data/spec/models/appliance_vmon_service_update_spec_spec.rb +0 -37
  726. data/spec/models/cis_task_progress_spec.rb +0 -49
  727. data/spec/models/cis_task_status_spec.rb +0 -31
  728. data/spec/models/vapi_std_dynamic_id_spec.rb +0 -43
  729. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
  730. data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
  731. data/spec/models/vapi_std_errors_already_in_desired_state_error_spec.rb +0 -43
  732. data/spec/models/vapi_std_errors_already_in_desired_state_spec.rb +0 -43
  733. data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
  734. data/spec/models/vapi_std_errors_error_spec.rb +0 -43
  735. data/spec/models/vapi_std_errors_feature_in_use_error_spec.rb +0 -43
  736. data/spec/models/vapi_std_errors_feature_in_use_spec.rb +0 -43
  737. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
  738. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
  739. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
  740. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
  741. data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
  742. data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
  743. data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
  744. data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
  745. data/spec/models/vapi_std_errors_timed_out_error_spec.rb +0 -43
  746. data/spec/models/vapi_std_errors_timed_out_spec.rb +0 -43
  747. data/spec/models/vapi_std_errors_unable_to_allocate_resource_error_spec.rb +0 -43
  748. data/spec/models/vapi_std_errors_unable_to_allocate_resource_spec.rb +0 -43
  749. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
  750. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
  751. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
  752. data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
  753. data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
  754. data/spec/spec_helper.rb +0 -110
  755. data/vsphere-automation-appliance.gemspec +0 -40
@@ -1,51 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # appliance - The vCenter Server Appliance is a preconfigured Linux-based virtual machine optimized for running vCenter Server and associated services.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Appliance::UpdateStagedApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'UpdateStagedApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Appliance::UpdateStagedApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of UpdateStagedApi' do
26
- it 'should create an instance of UpdateStagedApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Appliance::UpdateStagedApi)
28
- end
29
- end
30
-
31
- # unit tests for delete
32
- # Deletes the staged update
33
- # @param [Hash] opts the optional parameters
34
- # @return [nil]
35
- describe 'delete test' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- # unit tests for get
42
- # Gets the current status of the staged update
43
- # @param [Hash] opts the optional parameters
44
- # @return [ApplianceUpdateStagedResult]
45
- describe 'get test' do
46
- it 'should work' do
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
- end
@@ -1,97 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # appliance - The vCenter Server Appliance is a preconfigured Linux-based virtual machine optimized for running vCenter Server and associated services.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
-
12
- # Unit tests for VSphereAutomation::Appliance::VmonServiceApi
13
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
14
- # Please update as you see appropriate
15
- describe 'VmonServiceApi' do
16
- before do
17
- # run before each test
18
- @instance = VSphereAutomation::Appliance::VmonServiceApi.new
19
- end
20
-
21
- after do
22
- # run after each test
23
- end
24
-
25
- describe 'test an instance of VmonServiceApi' do
26
- it 'should create an instance of VmonServiceApi' do
27
- expect(@instance).to be_instance_of(VSphereAutomation::Appliance::VmonServiceApi)
28
- end
29
- end
30
-
31
- # unit tests for get
32
- # Returns the state of a service.
33
- # @param service identifier of the service whose state is being queried. The parameter must be an identifier for the resource type: appliance.vmon.Service.
34
- # @param [Hash] opts the optional parameters
35
- # @return [ApplianceVmonServiceResult]
36
- describe 'get test' do
37
- it 'should work' do
38
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
- end
40
- end
41
-
42
- # unit tests for list_details
43
- # Lists details of services managed by vMon.
44
- # @param [Hash] opts the optional parameters
45
- # @return [ApplianceVmonServiceListDetailsResult]
46
- describe 'list_details test' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- # unit tests for restart
53
- # Restarts a service
54
- # @param service identifier of the service to restart The parameter must be an identifier for the resource type: appliance.vmon.Service.
55
- # @param [Hash] opts the optional parameters
56
- # @return [nil]
57
- describe 'restart test' do
58
- it 'should work' do
59
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
- end
61
- end
62
-
63
- # unit tests for start
64
- # Starts a service
65
- # @param service identifier of the service to start The parameter must be an identifier for the resource type: appliance.vmon.Service.
66
- # @param [Hash] opts the optional parameters
67
- # @return [nil]
68
- describe 'start test' do
69
- it 'should work' do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
- end
72
- end
73
-
74
- # unit tests for stop
75
- # Stops a service
76
- # @param service identifier of the service to stop The parameter must be an identifier for the resource type: appliance.vmon.Service.
77
- # @param [Hash] opts the optional parameters
78
- # @return [nil]
79
- describe 'stop test' do
80
- it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
- end
83
- end
84
-
85
- # unit tests for update
86
- # Updates the properties of a service.
87
- # @param service identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: appliance.vmon.Service.
88
- # @param request_body
89
- # @param [Hash] opts the optional parameters
90
- # @return [nil]
91
- describe 'update test' do
92
- it 'should work' do
93
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
- end
95
- end
96
-
97
- end
@@ -1,248 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe VSphereAutomation::ApiClient do
4
- describe '.default' do
5
- it 'returns the same instance every time' do
6
- first_instance = VSphereAutomation::ApiClient.default
7
- second_instance = VSphereAutomation::ApiClient.default
8
- third_instance = VSphereAutomation::ApiClient.default
9
- expect(first_instance).to be(second_instance)
10
- expect(first_instance).to be(third_instance)
11
- end
12
- end
13
-
14
- describe '#build_collection_param' do
15
- context 'when called with format :multi' do
16
- it 'returns the collection' do
17
- params = { foo: 'bar', baz: 'quux' }
18
- expect(subject.build_collection_param(params, :multi)).to eq(params)
19
- end
20
- end
21
- end
22
-
23
- describe '#call_api' do
24
- let(:host) { 'example.com' }
25
- let(:config) do
26
- VSphereAutomation::Configuration.new.tap do |c|
27
- c.scheme = 'https'
28
- c.host = host
29
- end
30
- end
31
- let(:url) { 'https://example.com/rest/test' }
32
- subject { VSphereAutomation::ApiClient.new(config) }
33
-
34
- it 'adds headers to request' do
35
- headers = { 'foo' => 'bar' }
36
- stub_request(:get, url).with(headers: headers)
37
-
38
- subject.call_api(:GET, '/test', header_params: headers)
39
-
40
- expect(a_request(:get, url).with(headers: headers)).to have_been_made
41
- end
42
-
43
- it 'adds query parameters to request' do
44
- query_params = { 'foo' => 'bar' }
45
- stub_request(:get, url).with(query: query_params)
46
-
47
- subject.call_api(:GET, '/test', query_params: query_params)
48
-
49
- expect(a_request(:get, url).with(query: query_params)).to have_been_made
50
- end
51
-
52
- it 'keeps query parameters from the path to request' do
53
- # The specs have some paths that contain query parameters already. This
54
- # test is to make sure they don't get overwritten.
55
- key = '~foo'
56
- value = 'bar'
57
- query_params = { key => value }
58
- stub_request(:post, url).with(query: query_params)
59
-
60
- subject.call_api(:POST, "/test?#{key}=#{value}")
61
-
62
- expect(a_request(:post, url).with(query: query_params)).to have_been_made
63
- end
64
-
65
- it 'adds form parameters to the request body' do
66
- form_params = { 'foo' => 'bar' }
67
- body = form_params.to_a.map { |e| e.join('=') }.join('&')
68
- stub_request(:get, url).with(body: body)
69
-
70
- subject.call_api(:GET, '/test', form_params: form_params)
71
-
72
- expect(a_request(:get, url).with(body: body)).to have_been_made
73
- end
74
-
75
- it 'uses basic auth information from configuration' do
76
- auth_name = 'basic_auth'
77
- auth_header = { config.auth_settings[auth_name][:key] =>
78
- config.auth_settings[auth_name][:value] }
79
- stub_request(:get, url).with(headers: auth_header)
80
-
81
- subject.call_api(:GET, '/test', auth_names: [auth_name])
82
-
83
- expect(a_request(:get, url)
84
- .with(headers: auth_header)).to have_been_made
85
- end
86
-
87
- it 'use API key information from configuration' do
88
- auth_name = 'api_key'
89
- config.api_key[config.auth_settings[auth_name][:key]] = 'foo'
90
- auth_header = { config.auth_settings[auth_name][:key] =>
91
- config.auth_settings[auth_name][:value] }
92
- stub_request(:get, url).with(headers: auth_header)
93
-
94
- subject.call_api(:GET, '/test', auth_names: [auth_name])
95
-
96
- expect(a_request(:get, url)
97
- .with(headers: auth_header)).to have_been_made
98
- end
99
-
100
- it 'updates api_key from responses with set-cookie header' do
101
- key = config.auth_settings['api_key'][:key]
102
- value = 'foo'
103
- cookie = "#{key}=#{value};Path=/rest;Secure;HttpOnly"
104
- set_cookie_header = { 'set-cookie' => cookie }
105
- stub_request(:get, url + '1').to_return(headers: set_cookie_header)
106
- stub_request(:get, url + '2')
107
-
108
- subject.call_api(:GET, '/test1')
109
- subject.call_api(:GET, '/test2', auth_names: ['api_key'])
110
-
111
- expect(a_request(:get, url + '1')).to have_been_made
112
- expect(a_request(:get, url + '2')).to have_been_made
113
- expect(subject.config.api_key[key]).to eq(value)
114
- end
115
-
116
- it 'updates api_key from responses with api_key header' do
117
- key = config.auth_settings['api_key'][:key]
118
- value = 'foo'
119
- auth_header = { key => value }
120
-
121
- stub_request(:get, url + '1').to_return(headers: auth_header)
122
- stub_request(:get, url + '2').with(headers: auth_header)
123
-
124
- subject.call_api(:GET, '/test1')
125
- subject.call_api(:GET, '/test2', auth_names: ['api_key'])
126
-
127
- expect(a_request(:get, url + '1')).to have_been_made
128
- expect(a_request(:get, url + '2')
129
- .with(headers: auth_header)).to have_been_made
130
- end
131
-
132
- it 'adds the body to requests when available' do
133
- body = { foo: 'bar' }.to_json
134
- stub_request(:post, url).with(body: body)
135
-
136
- subject.call_api(:POST, '/test', body: body)
137
-
138
- expect(a_request(:post, url).with(body: body)).to have_been_made
139
- end
140
-
141
- it 'sets the Content-Type on requests when available' do
142
- content_type = { 'Content-Type' => 'application/json' }
143
- body = { foo: 'bar' }.to_json
144
-
145
- stub_request(:post, url).with(body: body, headers: content_type)
146
-
147
- subject.call_api(:POST, '/test', body: body, header_params: content_type)
148
-
149
- expect(a_request(:post, url)
150
- .with(body: body, headers: content_type)).to have_been_made
151
- end
152
- end
153
-
154
- describe '#object_to_http_body' do
155
- context 'when given nil' do
156
- it 'returns the object as is' do
157
- expect(subject.object_to_http_body(nil)).to be_nil
158
- end
159
- end
160
-
161
- context 'when given a string' do
162
- it 'returns the object as is' do
163
- expect(subject.object_to_http_body('asdf')).to eq('asdf')
164
- end
165
- end
166
-
167
- context 'when given an object that responds to `to_hash`' do
168
- it 'returns that object as JSON' do
169
- obj = OpenStruct.new(foo: 'bar', baz: 'quux')
170
- obj.to_hash = obj.to_h
171
- json = obj.to_hash.to_json
172
-
173
- expect(subject.object_to_http_body(obj)).to eq(json)
174
- end
175
- end
176
-
177
- context 'when given an array' do
178
- it 'returns a JSON array of objects' do
179
- obj = OpenStruct.new(foo: 'bar', baz: 'quux')
180
- obj.to_hash = obj.to_h
181
- json = obj.to_hash.to_json
182
-
183
- expect(subject.object_to_http_body([obj])).to eq([json])
184
- end
185
- end
186
- end
187
-
188
- describe '#select_header_accept' do
189
- context 'when given anything other than an array' do
190
- it 'returns application/json as a default' do
191
- expect(subject.select_header_accept(nil)).to eq('application/json')
192
- expect(subject.select_header_accept('')).to eq('application/json')
193
- expect(subject.select_header_accept(1)).to eq('application/json')
194
- end
195
- end
196
-
197
- context 'when given a list of types' do
198
- context 'that includes a JSON type' do
199
- it 'returns the first type containing JSON' do
200
- xml = 'application/xml'
201
- json = 'application/json'
202
-
203
- expect(subject.select_header_accept([xml, json])).to eq(json)
204
- end
205
- end
206
-
207
- context 'that does not include a JSON type' do
208
- it 'returns the all of the types' do
209
- xml = 'application/xml'
210
- html = 'text/html'
211
- result = [xml, html].join(', ')
212
-
213
- expect(subject.select_header_accept([xml, html])).to eq(result)
214
- end
215
- end
216
- end
217
- end
218
-
219
- describe '#select_header_content_type' do
220
- context 'when given anything other than an array' do
221
- it 'returns application/json as a default' do
222
- expect(subject.select_header_content_type(nil)).to eq('application/json')
223
- expect(subject.select_header_content_type('')).to eq('application/json')
224
- expect(subject.select_header_content_type(1)).to eq('application/json')
225
- end
226
- end
227
-
228
- context 'when given a list of types' do
229
- context 'that includes a JSON type' do
230
- it 'returns the first type containing JSON' do
231
- xml = 'application/xml'
232
- json = 'application/json'
233
-
234
- expect(subject.select_header_content_type([xml, json])).to eq(json)
235
- end
236
- end
237
-
238
- context 'that does not include a JSON type' do
239
- it 'returns the first type' do
240
- xml = 'application/xml'
241
- html = 'text/html'
242
-
243
- expect(subject.select_header_content_type([xml, html])).to eq(xml)
244
- end
245
- end
246
- end
247
- end
248
- end
@@ -1,38 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # appliance - The vCenter Server Appliance is a preconfigured Linux-based virtual machine optimized for running vCenter Server and associated services.
7
-
8
-
9
- require 'spec_helper'
10
-
11
- describe VSphereAutomation::Configuration do
12
- let(:config) { VSphereAutomation::Configuration.default }
13
-
14
- before(:each) do
15
- # uncomment below to setup host and base_path
16
- # require 'URI'
17
- # uri = URI.parse("https://<vcenter>/rest")
18
- # VSphereAutomation.configure do |c|
19
- # c.host = uri.host
20
- # c.base_path = uri.path
21
- # end
22
- end
23
-
24
- describe '#base_url' do
25
- it 'should have the default value' do
26
- # uncomment below to test default value of the base path
27
- # expect(config.base_url).to eq("https://<vcenter>/rest")
28
- end
29
-
30
- it 'should remove trailing slashes' do
31
- [nil, '', '/', '//'].each do |base_path|
32
- config.base_path = base_path
33
- # uncomment below to test trailing slashes
34
- # expect(config.base_url).to eq("https://<vcenter>/rest")
35
- end
36
- end
37
- end
38
- end
@@ -1,37 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # appliance - The vCenter Server Appliance is a preconfigured Linux-based virtual machine optimized for running vCenter Server and associated services.
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::Appliance::ApplianceAccessConsolecliResult
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'ApplianceAccessConsolecliResult' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::Appliance::ApplianceAccessConsolecliResult.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of ApplianceAccessConsolecliResult' do
27
- it 'should create an instance of ApplianceAccessConsolecliResult' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::Appliance::ApplianceAccessConsolecliResult)
29
- end
30
- end
31
- describe 'test attribute "value"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- end