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.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-appliance/version.rb +1 -1
- metadata +8 -1129
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -86
- data/README.md +0 -511
- data/Rakefile +0 -18
- data/docs/AccessConsolecliApi.md +0 -105
- data/docs/AccessDcuiApi.md +0 -105
- data/docs/AccessShellApi.md +0 -105
- data/docs/AccessSshApi.md +0 -105
- data/docs/ApplianceAccessConsolecliResult.md +0 -8
- data/docs/ApplianceAccessConsolecliSet.md +0 -8
- data/docs/ApplianceAccessDcuiResult.md +0 -8
- data/docs/ApplianceAccessDcuiSet.md +0 -8
- data/docs/ApplianceAccessShellResult.md +0 -8
- data/docs/ApplianceAccessShellSet.md +0 -8
- data/docs/ApplianceAccessShellShellConfig.md +0 -9
- data/docs/ApplianceAccessSshResult.md +0 -8
- data/docs/ApplianceAccessSshSet.md +0 -8
- data/docs/ApplianceHealthApplmgmtResult.md +0 -8
- data/docs/ApplianceHealthDatabasestorageHealthLevel.md +0 -7
- data/docs/ApplianceHealthDatabasestorageResult.md +0 -8
- data/docs/ApplianceHealthLoadHealthLevel.md +0 -7
- data/docs/ApplianceHealthLoadResult.md +0 -8
- data/docs/ApplianceHealthMemHealthLevel.md +0 -7
- data/docs/ApplianceHealthMemResult.md +0 -8
- data/docs/ApplianceHealthMessagesResult.md +0 -8
- data/docs/ApplianceHealthSoftwarepackagesHealthLevel.md +0 -7
- data/docs/ApplianceHealthSoftwarepackagesResult.md +0 -8
- data/docs/ApplianceHealthStorageHealthLevel.md +0 -7
- data/docs/ApplianceHealthStorageResult.md +0 -8
- data/docs/ApplianceHealthSwapHealthLevel.md +0 -7
- data/docs/ApplianceHealthSwapResult.md +0 -8
- data/docs/ApplianceHealthSystemHealthLevel.md +0 -7
- data/docs/ApplianceHealthSystemLastcheckResult.md +0 -8
- data/docs/ApplianceHealthSystemResult.md +0 -8
- data/docs/ApplianceLocalAccountsConfig.md +0 -20
- data/docs/ApplianceLocalAccountsCreate.md +0 -8
- data/docs/ApplianceLocalAccountsInfo.md +0 -18
- data/docs/ApplianceLocalAccountsListResult.md +0 -8
- data/docs/ApplianceLocalAccountsPolicyInfo.md +0 -10
- data/docs/ApplianceLocalAccountsPolicyResult.md +0 -8
- data/docs/ApplianceLocalAccountsPolicySet.md +0 -8
- data/docs/ApplianceLocalAccountsResult.md +0 -8
- data/docs/ApplianceLocalAccountsSet.md +0 -8
- data/docs/ApplianceLocalAccountsUpdate.md +0 -8
- data/docs/ApplianceLocalAccountsUpdateConfig.md +0 -20
- data/docs/ApplianceLoggingForwardingConfig.md +0 -10
- data/docs/ApplianceLoggingForwardingConnectionStatus.md +0 -10
- data/docs/ApplianceLoggingForwardingConnectionStatusState.md +0 -7
- data/docs/ApplianceLoggingForwardingProtocol.md +0 -7
- data/docs/ApplianceLoggingForwardingResult.md +0 -8
- data/docs/ApplianceLoggingForwardingSet.md +0 -8
- data/docs/ApplianceLoggingForwardingTest.md +0 -8
- data/docs/ApplianceLoggingForwardingTestResult.md +0 -8
- data/docs/ApplianceMonitoringFunctionType.md +0 -7
- data/docs/ApplianceMonitoringIntervalType.md +0 -7
- data/docs/ApplianceMonitoringListResult.md +0 -8
- data/docs/ApplianceMonitoringMonitoredItem.md +0 -13
- data/docs/ApplianceMonitoringMonitoredItemData.md +0 -13
- data/docs/ApplianceMonitoringMonitoredItemDataRequest.md +0 -12
- data/docs/ApplianceMonitoringQueryResult.md +0 -8
- data/docs/ApplianceMonitoringResult.md +0 -8
- data/docs/ApplianceNetworkingDNSInfo.md +0 -10
- data/docs/ApplianceNetworkingDNSInfoDNSMode.md +0 -7
- data/docs/ApplianceNetworkingDnsDomainsAdd.md +0 -8
- data/docs/ApplianceNetworkingDnsDomainsListResult.md +0 -8
- data/docs/ApplianceNetworkingDnsDomainsSet.md +0 -8
- data/docs/ApplianceNetworkingDnsHostnameMessage.md +0 -9
- data/docs/ApplianceNetworkingDnsHostnameMessageStatus.md +0 -7
- data/docs/ApplianceNetworkingDnsHostnameResult.md +0 -8
- data/docs/ApplianceNetworkingDnsHostnameSet.md +0 -8
- data/docs/ApplianceNetworkingDnsHostnameTest.md +0 -8
- data/docs/ApplianceNetworkingDnsHostnameTestResult.md +0 -8
- data/docs/ApplianceNetworkingDnsHostnameTestStatus.md +0 -7
- data/docs/ApplianceNetworkingDnsHostnameTestStatusInfo.md +0 -9
- data/docs/ApplianceNetworkingDnsServersAdd.md +0 -8
- data/docs/ApplianceNetworkingDnsServersDNSServerConfig.md +0 -9
- data/docs/ApplianceNetworkingDnsServersDNSServerMode.md +0 -7
- data/docs/ApplianceNetworkingDnsServersMessage.md +0 -9
- data/docs/ApplianceNetworkingDnsServersMessageStatus.md +0 -7
- data/docs/ApplianceNetworkingDnsServersResult.md +0 -8
- data/docs/ApplianceNetworkingDnsServersSet.md +0 -8
- data/docs/ApplianceNetworkingDnsServersTest.md +0 -8
- data/docs/ApplianceNetworkingDnsServersTestResult.md +0 -8
- data/docs/ApplianceNetworkingDnsServersTestStatus.md +0 -7
- data/docs/ApplianceNetworkingDnsServersTestStatusInfo.md +0 -9
- data/docs/ApplianceNetworkingFirewallInboundPolicy.md +0 -7
- data/docs/ApplianceNetworkingFirewallInboundResult.md +0 -8
- data/docs/ApplianceNetworkingFirewallInboundRule.md +0 -11
- data/docs/ApplianceNetworkingFirewallInboundSet.md +0 -8
- data/docs/ApplianceNetworkingInfo.md +0 -9
- data/docs/ApplianceNetworkingInfoInterfaces.md +0 -9
- data/docs/ApplianceNetworkingInterfacesInterfaceInfo.md +0 -12
- data/docs/ApplianceNetworkingInterfacesInterfaceStatus.md +0 -7
- data/docs/ApplianceNetworkingInterfacesIpv4Config.md +0 -11
- data/docs/ApplianceNetworkingInterfacesIpv4Info.md +0 -12
- data/docs/ApplianceNetworkingInterfacesIpv4Mode.md +0 -7
- data/docs/ApplianceNetworkingInterfacesIpv4Result.md +0 -8
- data/docs/ApplianceNetworkingInterfacesIpv4Set.md +0 -8
- data/docs/ApplianceNetworkingInterfacesIpv6Address.md +0 -9
- data/docs/ApplianceNetworkingInterfacesIpv6AddressInfo.md +0 -11
- data/docs/ApplianceNetworkingInterfacesIpv6Config.md +0 -11
- data/docs/ApplianceNetworkingInterfacesIpv6Info.md +0 -12
- data/docs/ApplianceNetworkingInterfacesIpv6Origin.md +0 -7
- data/docs/ApplianceNetworkingInterfacesIpv6Result.md +0 -8
- data/docs/ApplianceNetworkingInterfacesIpv6Set.md +0 -8
- data/docs/ApplianceNetworkingInterfacesIpv6Status.md +0 -7
- data/docs/ApplianceNetworkingInterfacesListResult.md +0 -8
- data/docs/ApplianceNetworkingInterfacesResult.md +0 -8
- data/docs/ApplianceNetworkingNoProxyResult.md +0 -8
- data/docs/ApplianceNetworkingNoProxySet.md +0 -8
- data/docs/ApplianceNetworkingProxyConfig.md +0 -12
- data/docs/ApplianceNetworkingProxyListResult.md +0 -8
- data/docs/ApplianceNetworkingProxyListResultValue.md +0 -9
- data/docs/ApplianceNetworkingProxyProtocol.md +0 -7
- data/docs/ApplianceNetworkingProxyResult.md +0 -8
- data/docs/ApplianceNetworkingProxyServerStatus.md +0 -7
- data/docs/ApplianceNetworkingProxySet.md +0 -8
- data/docs/ApplianceNetworkingProxyTest.md +0 -9
- data/docs/ApplianceNetworkingProxyTestResult.md +0 -9
- data/docs/ApplianceNetworkingResult.md +0 -8
- data/docs/ApplianceNetworkingUpdate.md +0 -8
- data/docs/ApplianceNetworkingUpdateSpec.md +0 -8
- data/docs/ApplianceNotification.md +0 -11
- data/docs/ApplianceNotifications.md +0 -10
- data/docs/ApplianceNtpLocalizableMessage.md +0 -10
- data/docs/ApplianceNtpResult.md +0 -8
- data/docs/ApplianceNtpServerStatus.md +0 -7
- data/docs/ApplianceNtpSet.md +0 -8
- data/docs/ApplianceNtpTest.md +0 -8
- data/docs/ApplianceNtpTestResult.md +0 -8
- data/docs/ApplianceNtpTestRunStatus.md +0 -10
- data/docs/ApplianceRecoveryBackupBackupRequest.md +0 -14
- data/docs/ApplianceRecoveryBackupJobBackupJobStatus.md +0 -13
- data/docs/ApplianceRecoveryBackupJobBackupRequest.md +0 -14
- data/docs/ApplianceRecoveryBackupJobBackupRestoreProcessState.md +0 -7
- data/docs/ApplianceRecoveryBackupJobCancelResult.md +0 -8
- data/docs/ApplianceRecoveryBackupJobCreate.md +0 -8
- data/docs/ApplianceRecoveryBackupJobCreateResult.md +0 -8
- data/docs/ApplianceRecoveryBackupJobDetailsBuildInfo.md +0 -10
- data/docs/ApplianceRecoveryBackupJobDetailsFilterSpec.md +0 -8
- data/docs/ApplianceRecoveryBackupJobDetailsInfo.md +0 -26
- data/docs/ApplianceRecoveryBackupJobDetailsListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupJobDetailsListResultValue.md +0 -9
- data/docs/ApplianceRecoveryBackupJobDetailsType.md +0 -7
- data/docs/ApplianceRecoveryBackupJobListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupJobLocalizableMessage.md +0 -10
- data/docs/ApplianceRecoveryBackupJobLocationType.md +0 -7
- data/docs/ApplianceRecoveryBackupJobResult.md +0 -8
- data/docs/ApplianceRecoveryBackupJobReturnResult.md +0 -9
- data/docs/ApplianceRecoveryBackupJobReturnStatus.md +0 -7
- data/docs/ApplianceRecoveryBackupLocalizableMessage.md +0 -10
- data/docs/ApplianceRecoveryBackupLocationSpec.md +0 -10
- data/docs/ApplianceRecoveryBackupLocationType.md +0 -7
- data/docs/ApplianceRecoveryBackupPartsListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupPartsLocalizableMessage.md +0 -10
- data/docs/ApplianceRecoveryBackupPartsPart.md +0 -12
- data/docs/ApplianceRecoveryBackupPartsResult.md +0 -8
- data/docs/ApplianceRecoveryBackupReturnResult.md +0 -9
- data/docs/ApplianceRecoveryBackupReturnStatus.md +0 -7
- data/docs/ApplianceRecoveryBackupSchedulesCreate.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesCreateSpec.md +0 -15
- data/docs/ApplianceRecoveryBackupSchedulesDayOfWeek.md +0 -7
- data/docs/ApplianceRecoveryBackupSchedulesInfo.md +0 -13
- data/docs/ApplianceRecoveryBackupSchedulesListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesListResultValue.md +0 -9
- data/docs/ApplianceRecoveryBackupSchedulesRecurrenceInfo.md +0 -10
- data/docs/ApplianceRecoveryBackupSchedulesResult.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesRetentionInfo.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesRun.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesRunResult.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesUpdate.md +0 -8
- data/docs/ApplianceRecoveryBackupSchedulesUpdateSpec.md +0 -15
- data/docs/ApplianceRecoveryBackupSystemNameArchiveFilterSpec.md +0 -11
- data/docs/ApplianceRecoveryBackupSystemNameArchiveInfo.md +0 -13
- data/docs/ApplianceRecoveryBackupSystemNameArchiveListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupSystemNameArchiveResult.md +0 -8
- data/docs/ApplianceRecoveryBackupSystemNameArchiveSummary.md +0 -11
- data/docs/ApplianceRecoveryBackupSystemNameListResult.md +0 -8
- data/docs/ApplianceRecoveryBackupValidate.md +0 -8
- data/docs/ApplianceRecoveryBackupValidateResult.md +0 -8
- data/docs/ApplianceRecoveryInfo.md +0 -8
- data/docs/ApplianceRecoveryReconciliationJobCreate.md +0 -8
- data/docs/ApplianceRecoveryReconciliationJobCreateResult.md +0 -8
- data/docs/ApplianceRecoveryReconciliationJobCreateSpec.md +0 -10
- data/docs/ApplianceRecoveryReconciliationJobInfo.md +0 -19
- data/docs/ApplianceRecoveryReconciliationJobResult.md +0 -8
- data/docs/ApplianceRecoveryReconciliationJobStatus.md +0 -7
- data/docs/ApplianceRecoveryRestoreJobBackupRestoreProcessState.md +0 -7
- data/docs/ApplianceRecoveryRestoreJobCancelResult.md +0 -8
- data/docs/ApplianceRecoveryRestoreJobCreate.md +0 -8
- data/docs/ApplianceRecoveryRestoreJobCreateResult.md +0 -8
- data/docs/ApplianceRecoveryRestoreJobLocalizableMessage.md +0 -10
- data/docs/ApplianceRecoveryRestoreJobLocationType.md +0 -7
- data/docs/ApplianceRecoveryRestoreJobRestoreJobStatus.md +0 -10
- data/docs/ApplianceRecoveryRestoreJobRestoreRequest.md +0 -15
- data/docs/ApplianceRecoveryRestoreJobResult.md +0 -8
- data/docs/ApplianceRecoveryRestoreJobReturnResult.md +0 -9
- data/docs/ApplianceRecoveryRestoreJobReturnStatus.md +0 -7
- data/docs/ApplianceRecoveryRestoreLocalizableMessage.md +0 -10
- data/docs/ApplianceRecoveryRestoreLocationType.md +0 -7
- data/docs/ApplianceRecoveryRestoreMetadata.md +0 -15
- data/docs/ApplianceRecoveryRestoreRestoreRequest.md +0 -14
- data/docs/ApplianceRecoveryRestoreValidate.md +0 -8
- data/docs/ApplianceRecoveryRestoreValidateResult.md +0 -8
- data/docs/ApplianceRecoveryResult.md +0 -8
- data/docs/ApplianceServicesInfo.md +0 -9
- data/docs/ApplianceServicesListResult.md +0 -8
- data/docs/ApplianceServicesListResultValue.md +0 -9
- data/docs/ApplianceServicesResult.md +0 -8
- data/docs/ApplianceServicesState.md +0 -7
- data/docs/ApplianceShutdownPoweroff.md +0 -9
- data/docs/ApplianceShutdownReboot.md +0 -9
- data/docs/ApplianceShutdownResult.md +0 -8
- data/docs/ApplianceShutdownShutdownConfig.md +0 -10
- data/docs/ApplianceSubtaskInfo.md +0 -20
- data/docs/ApplianceSystemStorageListResult.md +0 -8
- data/docs/ApplianceSystemStorageResizeExResult.md +0 -8
- data/docs/ApplianceSystemStorageResizeExResultValue.md +0 -9
- data/docs/ApplianceSystemStorageStorageChange.md +0 -9
- data/docs/ApplianceSystemStorageStorageMapping.md +0 -10
- data/docs/ApplianceSystemTimeResult.md +0 -8
- data/docs/ApplianceSystemTimeSystemTimeStruct.md +0 -11
- data/docs/ApplianceSystemTimeTimezoneResult.md +0 -8
- data/docs/ApplianceSystemTimeTimezoneSet.md +0 -8
- data/docs/ApplianceSystemUptimeResult.md +0 -8
- data/docs/ApplianceSystemVersionResult.md +0 -8
- data/docs/ApplianceSystemVersionVersionStruct.md +0 -14
- data/docs/ApplianceTaskInfo.md +0 -21
- data/docs/ApplianceTaskInfoSubtasks.md +0 -9
- data/docs/ApplianceTechpreviewMonitoringSnmpHash.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpHashResult.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpLimitsResult.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpResult.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPAuthProto.md +0 -7
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPConfig.md +0 -20
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPConfigReadOnly.md +0 -22
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPHashConfig.md +0 -10
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPHashResults.md +0 -9
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPLimits.md +0 -13
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPPrivProto.md +0 -7
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPRemoteUser.md +0 -14
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPSecLevel.md +0 -7
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPStats.md +0 -34
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPTestResults.md +0 -9
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPUser.md +0 -11
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv1TrapTarget.md +0 -10
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication.md +0 -7
- data/docs/ApplianceTechpreviewMonitoringSnmpSNMPv3Target.md +0 -12
- data/docs/ApplianceTechpreviewMonitoringSnmpSet.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpStatsResult.md +0 -8
- data/docs/ApplianceTechpreviewMonitoringSnmpTestResult.md +0 -8
- data/docs/ApplianceTechpreviewServicesStatusGet.md +0 -9
- data/docs/ApplianceTechpreviewServicesStatusResult.md +0 -8
- data/docs/ApplianceTechpreviewServicesStatusServiceStatus.md +0 -7
- data/docs/ApplianceTimesyncResult.md +0 -8
- data/docs/ApplianceTimesyncSet.md +0 -8
- data/docs/ApplianceTimesyncTimeSyncMode.md +0 -7
- data/docs/ApplianceUpdateCommonInfoCategory.md +0 -7
- data/docs/ApplianceUpdateCommonInfoPriority.md +0 -7
- data/docs/ApplianceUpdateCommonInfoSeverity.md +0 -7
- data/docs/ApplianceUpdateInfo.md +0 -11
- data/docs/ApplianceUpdatePendingInfo.md +0 -18
- data/docs/ApplianceUpdatePendingInstall.md +0 -8
- data/docs/ApplianceUpdatePendingInstallUserData.md +0 -9
- data/docs/ApplianceUpdatePendingListResult.md +0 -8
- data/docs/ApplianceUpdatePendingPrecheckResult.md +0 -13
- data/docs/ApplianceUpdatePendingQuestion.md +0 -14
- data/docs/ApplianceUpdatePendingQuestionInputType.md +0 -7
- data/docs/ApplianceUpdatePendingResult.md +0 -8
- data/docs/ApplianceUpdatePendingSourceType.md +0 -7
- data/docs/ApplianceUpdatePendingStageAndInstall.md +0 -8
- data/docs/ApplianceUpdatePendingValidate.md +0 -8
- data/docs/ApplianceUpdatePendingValidateResult.md +0 -8
- data/docs/ApplianceUpdatePolicyConfig.md +0 -12
- data/docs/ApplianceUpdatePolicyDayOfWeek.md +0 -7
- data/docs/ApplianceUpdatePolicyInfo.md +0 -14
- data/docs/ApplianceUpdatePolicyResult.md +0 -8
- data/docs/ApplianceUpdatePolicySet.md +0 -8
- data/docs/ApplianceUpdatePolicyTime.md +0 -10
- data/docs/ApplianceUpdateResult.md +0 -8
- data/docs/ApplianceUpdateServiceInfo.md +0 -9
- data/docs/ApplianceUpdateStagedInfo.md +0 -16
- data/docs/ApplianceUpdateStagedResult.md +0 -8
- data/docs/ApplianceUpdateState.md +0 -7
- data/docs/ApplianceUpdateSummary.md +0 -15
- data/docs/ApplianceVmonServiceHealth.md +0 -7
- data/docs/ApplianceVmonServiceInfo.md +0 -13
- data/docs/ApplianceVmonServiceListDetailsResult.md +0 -8
- data/docs/ApplianceVmonServiceListDetailsResultValue.md +0 -9
- data/docs/ApplianceVmonServiceResult.md +0 -8
- data/docs/ApplianceVmonServiceStartupType.md +0 -7
- data/docs/ApplianceVmonServiceState.md +0 -7
- data/docs/ApplianceVmonServiceUpdate.md +0 -8
- data/docs/ApplianceVmonServiceUpdateSpec.md +0 -8
- data/docs/CisTaskProgress.md +0 -10
- data/docs/CisTaskStatus.md +0 -7
- data/docs/HealthApi.md +0 -59
- data/docs/HealthApplmgmtApi.md +0 -55
- data/docs/HealthDatabasestorageApi.md +0 -55
- data/docs/HealthLoadApi.md +0 -55
- data/docs/HealthMemApi.md +0 -55
- data/docs/HealthSoftwarepackagesApi.md +0 -55
- data/docs/HealthStorageApi.md +0 -55
- data/docs/HealthSwapApi.md +0 -55
- data/docs/HealthSystemApi.md +0 -102
- data/docs/LocalAccountsApi.md +0 -312
- data/docs/LocalAccountsPolicyApi.md +0 -105
- data/docs/LoggingForwardingApi.md +0 -158
- data/docs/MonitoringApi.md +0 -165
- data/docs/NetworkingApi.md +0 -151
- data/docs/NetworkingDnsDomainsApi.md +0 -155
- data/docs/NetworkingDnsHostnameApi.md +0 -156
- data/docs/NetworkingDnsServersApi.md +0 -206
- data/docs/NetworkingFirewallInboundApi.md +0 -105
- data/docs/NetworkingInterfacesApi.md +0 -106
- data/docs/NetworkingInterfacesIpv4Api.md +0 -111
- data/docs/NetworkingInterfacesIpv6Api.md +0 -111
- data/docs/NetworkingNoProxyApi.md +0 -105
- data/docs/NetworkingProxyApi.md +0 -261
- data/docs/NtpApi.md +0 -156
- data/docs/RecoveryApi.md +0 -55
- data/docs/RecoveryBackupApi.md +0 -59
- data/docs/RecoveryBackupJobApi.md +0 -208
- data/docs/RecoveryBackupJobDetailsApi.md +0 -61
- data/docs/RecoveryBackupPartsApi.md +0 -106
- data/docs/RecoveryBackupSchedulesApi.md +0 -315
- data/docs/RecoveryBackupSystemNameApi.md +0 -65
- data/docs/RecoveryBackupSystemNameArchiveApi.md +0 -136
- data/docs/RecoveryReconciliationJobApi.md +0 -106
- data/docs/RecoveryRestoreApi.md +0 -59
- data/docs/RecoveryRestoreJobApi.md +0 -153
- data/docs/ServicesApi.md +0 -256
- data/docs/ShutdownApi.md +0 -201
- data/docs/SystemStorageApi.md +0 -148
- data/docs/SystemTimeApi.md +0 -55
- data/docs/SystemTimeTimezoneApi.md +0 -105
- data/docs/SystemUptimeApi.md +0 -55
- data/docs/SystemVersionApi.md +0 -55
- data/docs/TechpreviewMonitoringSnmpApi.md +0 -435
- data/docs/TechpreviewServicesStatusApi.md +0 -59
- data/docs/TimesyncApi.md +0 -105
- data/docs/UpdateApi.md +0 -101
- data/docs/UpdatePendingApi.md +0 -372
- data/docs/UpdatePolicyApi.md +0 -105
- data/docs/UpdateStagedApi.md +0 -101
- data/docs/VapiStdDynamicID.md +0 -9
- data/docs/VapiStdErrorsAlreadyExists.md +0 -9
- data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
- data/docs/VapiStdErrorsAlreadyInDesiredState.md +0 -9
- data/docs/VapiStdErrorsAlreadyInDesiredStateError.md +0 -9
- data/docs/VapiStdErrorsError.md +0 -9
- data/docs/VapiStdErrorsErrorError.md +0 -9
- data/docs/VapiStdErrorsFeatureInUse.md +0 -9
- data/docs/VapiStdErrorsFeatureInUseError.md +0 -9
- data/docs/VapiStdErrorsInvalidArgument.md +0 -9
- data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
- data/docs/VapiStdErrorsNotFound.md +0 -9
- data/docs/VapiStdErrorsNotFoundError.md +0 -9
- data/docs/VapiStdErrorsResourceBusy.md +0 -9
- data/docs/VapiStdErrorsResourceBusyError.md +0 -9
- data/docs/VapiStdErrorsTimedOut.md +0 -9
- data/docs/VapiStdErrorsTimedOutError.md +0 -9
- data/docs/VapiStdErrorsUnableToAllocateResource.md +0 -9
- data/docs/VapiStdErrorsUnableToAllocateResourceError.md +0 -9
- data/docs/VapiStdErrorsUnauthenticated.md +0 -9
- data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
- data/docs/VapiStdErrorsUnauthorized.md +0 -9
- data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/docs/VmonServiceApi.md +0 -308
- data/git_push.sh +0 -55
- data/lib/vsphere-automation-appliance/api_client.rb +0 -260
- data/lib/vsphere-automation-appliance/api_error.rb +0 -34
- data/lib/vsphere-automation-appliance/configuration.rb +0 -212
- data/pkg/vsphere-automation-appliance-0.4.2.gem +0 -0
- data/pkg/vsphere-automation-appliance-0.4.3.gem +0 -0
- data/pkg/vsphere-automation-appliance-0.4.4.gem +0 -0
- data/spec/api/access_consolecli_api_spec.rb +0 -52
- data/spec/api/access_dcui_api_spec.rb +0 -52
- data/spec/api/access_shell_api_spec.rb +0 -52
- data/spec/api/access_ssh_api_spec.rb +0 -52
- data/spec/api/health_api_spec.rb +0 -42
- data/spec/api/health_applmgmt_api_spec.rb +0 -41
- data/spec/api/health_databasestorage_api_spec.rb +0 -41
- data/spec/api/health_load_api_spec.rb +0 -41
- data/spec/api/health_mem_api_spec.rb +0 -41
- data/spec/api/health_softwarepackages_api_spec.rb +0 -41
- data/spec/api/health_storage_api_spec.rb +0 -41
- data/spec/api/health_swap_api_spec.rb +0 -41
- data/spec/api/health_system_api_spec.rb +0 -51
- data/spec/api/local_accounts_api_spec.rb +0 -99
- data/spec/api/local_accounts_policy_api_spec.rb +0 -52
- data/spec/api/logging_forwarding_api_spec.rb +0 -63
- data/spec/api/monitoring_api_spec.rb +0 -67
- data/spec/api/networking_api_spec.rb +0 -62
- data/spec/api/networking_dns_domains_api_spec.rb +0 -63
- data/spec/api/networking_dns_hostname_api_spec.rb +0 -63
- data/spec/api/networking_dns_servers_api_spec.rb +0 -74
- data/spec/api/networking_firewall_inbound_api_spec.rb +0 -52
- data/spec/api/networking_interfaces_api_spec.rb +0 -52
- data/spec/api/networking_interfaces_ipv4_api_spec.rb +0 -54
- data/spec/api/networking_interfaces_ipv6_api_spec.rb +0 -54
- data/spec/api/networking_no_proxy_api_spec.rb +0 -52
- data/spec/api/networking_proxy_api_spec.rb +0 -87
- data/spec/api/ntp_api_spec.rb +0 -63
- data/spec/api/recovery_api_spec.rb +0 -41
- data/spec/api/recovery_backup_api_spec.rb +0 -42
- data/spec/api/recovery_backup_job_api_spec.rb +0 -74
- data/spec/api/recovery_backup_job_details_api_spec.rb +0 -42
- data/spec/api/recovery_backup_parts_api_spec.rb +0 -52
- data/spec/api/recovery_backup_schedules_api_spec.rb +0 -99
- data/spec/api/recovery_backup_system_name_api_spec.rb +0 -44
- data/spec/api/recovery_backup_system_name_archive_api_spec.rb +0 -64
- data/spec/api/recovery_reconciliation_job_api_spec.rb +0 -52
- data/spec/api/recovery_restore_api_spec.rb +0 -42
- data/spec/api/recovery_restore_job_api_spec.rb +0 -62
- data/spec/api/services_api_spec.rb +0 -85
- data/spec/api/shutdown_api_spec.rb +0 -73
- data/spec/api/system_storage_api_spec.rb +0 -61
- data/spec/api/system_time_api_spec.rb +0 -41
- data/spec/api/system_time_timezone_api_spec.rb +0 -52
- data/spec/api/system_uptime_api_spec.rb +0 -41
- data/spec/api/system_version_api_spec.rb +0 -41
- data/spec/api/techpreview_monitoring_snmp_api_spec.rb +0 -123
- data/spec/api/techpreview_services_status_api_spec.rb +0 -42
- data/spec/api/timesync_api_spec.rb +0 -52
- data/spec/api/update_api_spec.rb +0 -51
- data/spec/api/update_pending_api_spec.rb +0 -112
- data/spec/api/update_policy_api_spec.rb +0 -52
- data/spec/api/update_staged_api_spec.rb +0 -51
- data/spec/api/vmon_service_api_spec.rb +0 -97
- data/spec/api_client_spec.rb +0 -248
- data/spec/configuration_spec.rb +0 -38
- data/spec/models/appliance_access_consolecli_result_spec.rb +0 -37
- data/spec/models/appliance_access_consolecli_set_spec.rb +0 -37
- data/spec/models/appliance_access_dcui_result_spec.rb +0 -37
- data/spec/models/appliance_access_dcui_set_spec.rb +0 -37
- data/spec/models/appliance_access_shell_result_spec.rb +0 -37
- data/spec/models/appliance_access_shell_set_spec.rb +0 -37
- data/spec/models/appliance_access_shell_shell_config_spec.rb +0 -43
- data/spec/models/appliance_access_ssh_result_spec.rb +0 -37
- data/spec/models/appliance_access_ssh_set_spec.rb +0 -37
- data/spec/models/appliance_health_applmgmt_result_spec.rb +0 -37
- data/spec/models/appliance_health_databasestorage_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_databasestorage_result_spec.rb +0 -37
- data/spec/models/appliance_health_load_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_load_result_spec.rb +0 -37
- data/spec/models/appliance_health_mem_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_mem_result_spec.rb +0 -37
- data/spec/models/appliance_health_messages_result_spec.rb +0 -37
- data/spec/models/appliance_health_softwarepackages_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_softwarepackages_result_spec.rb +0 -37
- data/spec/models/appliance_health_storage_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_storage_result_spec.rb +0 -37
- data/spec/models/appliance_health_swap_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_swap_result_spec.rb +0 -37
- data/spec/models/appliance_health_system_health_level_spec.rb +0 -31
- data/spec/models/appliance_health_system_lastcheck_result_spec.rb +0 -37
- data/spec/models/appliance_health_system_result_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_config_spec.rb +0 -109
- data/spec/models/appliance_local_accounts_create_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_info_spec.rb +0 -97
- data/spec/models/appliance_local_accounts_list_result_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_policy_info_spec.rb +0 -49
- data/spec/models/appliance_local_accounts_policy_result_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_policy_set_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_result_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_set_spec.rb +0 -37
- data/spec/models/appliance_local_accounts_update_config_spec.rb +0 -109
- data/spec/models/appliance_local_accounts_update_spec.rb +0 -37
- data/spec/models/appliance_logging_forwarding_config_spec.rb +0 -49
- data/spec/models/appliance_logging_forwarding_connection_status_spec.rb +0 -49
- data/spec/models/appliance_logging_forwarding_connection_status_state_spec.rb +0 -31
- data/spec/models/appliance_logging_forwarding_protocol_spec.rb +0 -31
- data/spec/models/appliance_logging_forwarding_result_spec.rb +0 -37
- data/spec/models/appliance_logging_forwarding_set_spec.rb +0 -37
- data/spec/models/appliance_logging_forwarding_test_result_spec.rb +0 -37
- data/spec/models/appliance_logging_forwarding_test_spec.rb +0 -37
- data/spec/models/appliance_monitoring_function_type_spec.rb +0 -31
- data/spec/models/appliance_monitoring_interval_type_spec.rb +0 -31
- data/spec/models/appliance_monitoring_list_result_spec.rb +0 -37
- data/spec/models/appliance_monitoring_monitored_item_data_request_spec.rb +0 -61
- data/spec/models/appliance_monitoring_monitored_item_data_spec.rb +0 -67
- data/spec/models/appliance_monitoring_monitored_item_spec.rb +0 -67
- data/spec/models/appliance_monitoring_query_result_spec.rb +0 -37
- data/spec/models/appliance_monitoring_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_domains_add_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_domains_list_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_domains_set_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_hostname_message_spec.rb +0 -43
- data/spec/models/appliance_networking_dns_hostname_message_status_spec.rb +0 -31
- data/spec/models/appliance_networking_dns_hostname_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_hostname_set_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_hostname_test_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_hostname_test_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_hostname_test_status_info_spec.rb +0 -43
- data/spec/models/appliance_networking_dns_hostname_test_status_spec.rb +0 -31
- data/spec/models/appliance_networking_dns_info_dns_mode_spec.rb +0 -31
- data/spec/models/appliance_networking_dns_info_spec.rb +0 -49
- data/spec/models/appliance_networking_dns_servers_add_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_servers_dns_server_config_spec.rb +0 -43
- data/spec/models/appliance_networking_dns_servers_dns_server_mode_spec.rb +0 -31
- data/spec/models/appliance_networking_dns_servers_message_spec.rb +0 -43
- data/spec/models/appliance_networking_dns_servers_message_status_spec.rb +0 -31
- data/spec/models/appliance_networking_dns_servers_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_servers_set_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_servers_test_result_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_servers_test_spec.rb +0 -37
- data/spec/models/appliance_networking_dns_servers_test_status_info_spec.rb +0 -43
- data/spec/models/appliance_networking_dns_servers_test_status_spec.rb +0 -31
- data/spec/models/appliance_networking_firewall_inbound_policy_spec.rb +0 -31
- data/spec/models/appliance_networking_firewall_inbound_result_spec.rb +0 -37
- data/spec/models/appliance_networking_firewall_inbound_rule_spec.rb +0 -55
- data/spec/models/appliance_networking_firewall_inbound_set_spec.rb +0 -37
- data/spec/models/appliance_networking_info_interfaces_spec.rb +0 -43
- data/spec/models/appliance_networking_info_spec.rb +0 -43
- data/spec/models/appliance_networking_interfaces_interface_info_spec.rb +0 -61
- data/spec/models/appliance_networking_interfaces_interface_status_spec.rb +0 -31
- data/spec/models/appliance_networking_interfaces_ipv4_config_spec.rb +0 -55
- data/spec/models/appliance_networking_interfaces_ipv4_info_spec.rb +0 -61
- data/spec/models/appliance_networking_interfaces_ipv4_mode_spec.rb +0 -31
- data/spec/models/appliance_networking_interfaces_ipv4_result_spec.rb +0 -37
- data/spec/models/appliance_networking_interfaces_ipv4_set_spec.rb +0 -37
- data/spec/models/appliance_networking_interfaces_ipv6_address_info_spec.rb +0 -55
- data/spec/models/appliance_networking_interfaces_ipv6_address_spec.rb +0 -43
- data/spec/models/appliance_networking_interfaces_ipv6_config_spec.rb +0 -55
- data/spec/models/appliance_networking_interfaces_ipv6_info_spec.rb +0 -61
- data/spec/models/appliance_networking_interfaces_ipv6_origin_spec.rb +0 -31
- data/spec/models/appliance_networking_interfaces_ipv6_result_spec.rb +0 -37
- data/spec/models/appliance_networking_interfaces_ipv6_set_spec.rb +0 -37
- data/spec/models/appliance_networking_interfaces_ipv6_status_spec.rb +0 -31
- data/spec/models/appliance_networking_interfaces_list_result_spec.rb +0 -37
- data/spec/models/appliance_networking_interfaces_result_spec.rb +0 -37
- data/spec/models/appliance_networking_no_proxy_result_spec.rb +0 -37
- data/spec/models/appliance_networking_no_proxy_set_spec.rb +0 -37
- data/spec/models/appliance_networking_proxy_config_spec.rb +0 -61
- data/spec/models/appliance_networking_proxy_list_result_spec.rb +0 -37
- data/spec/models/appliance_networking_proxy_list_result_value_spec.rb +0 -43
- data/spec/models/appliance_networking_proxy_protocol_spec.rb +0 -31
- data/spec/models/appliance_networking_proxy_result_spec.rb +0 -37
- data/spec/models/appliance_networking_proxy_server_status_spec.rb +0 -31
- data/spec/models/appliance_networking_proxy_set_spec.rb +0 -37
- data/spec/models/appliance_networking_proxy_test_result_spec.rb +0 -43
- data/spec/models/appliance_networking_proxy_test_spec.rb +0 -43
- data/spec/models/appliance_networking_result_spec.rb +0 -37
- data/spec/models/appliance_networking_update_spec.rb +0 -37
- data/spec/models/appliance_networking_update_spec_spec.rb +0 -37
- data/spec/models/appliance_notification_spec.rb +0 -55
- data/spec/models/appliance_notifications_spec.rb +0 -49
- data/spec/models/appliance_ntp_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_ntp_result_spec.rb +0 -37
- data/spec/models/appliance_ntp_server_status_spec.rb +0 -31
- data/spec/models/appliance_ntp_set_spec.rb +0 -37
- data/spec/models/appliance_ntp_test_result_spec.rb +0 -37
- data/spec/models/appliance_ntp_test_run_status_spec.rb +0 -49
- data/spec/models/appliance_ntp_test_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_backup_request_spec.rb +0 -73
- data/spec/models/appliance_recovery_backup_job_backup_job_status_spec.rb +0 -67
- data/spec/models/appliance_recovery_backup_job_backup_request_spec.rb +0 -73
- data/spec/models/appliance_recovery_backup_job_backup_restore_process_state_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_job_cancel_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_create_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_create_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_details_build_info_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_job_details_filter_spec_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_details_info_spec.rb +0 -145
- data/spec/models/appliance_recovery_backup_job_details_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_details_list_result_value_spec.rb +0 -43
- data/spec/models/appliance_recovery_backup_job_details_type_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_job_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_job_location_type_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_job_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_job_return_result_spec.rb +0 -43
- data/spec/models/appliance_recovery_backup_job_return_status_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_location_spec_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_location_type_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_parts_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_parts_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_parts_part_spec.rb +0 -61
- data/spec/models/appliance_recovery_backup_parts_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_return_result_spec.rb +0 -43
- data/spec/models/appliance_recovery_backup_return_status_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_schedules_create_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_create_spec_spec.rb +0 -79
- data/spec/models/appliance_recovery_backup_schedules_day_of_week_spec.rb +0 -31
- data/spec/models/appliance_recovery_backup_schedules_info_spec.rb +0 -67
- data/spec/models/appliance_recovery_backup_schedules_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_list_result_value_spec.rb +0 -43
- data/spec/models/appliance_recovery_backup_schedules_recurrence_info_spec.rb +0 -49
- data/spec/models/appliance_recovery_backup_schedules_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_retention_info_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_run_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_run_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_update_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_schedules_update_spec_spec.rb +0 -79
- data/spec/models/appliance_recovery_backup_system_name_archive_filter_spec_spec.rb +0 -55
- data/spec/models/appliance_recovery_backup_system_name_archive_info_spec.rb +0 -67
- data/spec/models/appliance_recovery_backup_system_name_archive_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_system_name_archive_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_system_name_archive_summary_spec.rb +0 -55
- data/spec/models/appliance_recovery_backup_system_name_list_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_validate_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_backup_validate_spec.rb +0 -37
- data/spec/models/appliance_recovery_info_spec.rb +0 -37
- data/spec/models/appliance_recovery_reconciliation_job_create_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_reconciliation_job_create_spec.rb +0 -37
- data/spec/models/appliance_recovery_reconciliation_job_create_spec_spec.rb +0 -49
- data/spec/models/appliance_recovery_reconciliation_job_info_spec.rb +0 -103
- data/spec/models/appliance_recovery_reconciliation_job_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_reconciliation_job_status_spec.rb +0 -31
- data/spec/models/appliance_recovery_restore_job_backup_restore_process_state_spec.rb +0 -31
- data/spec/models/appliance_recovery_restore_job_cancel_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_restore_job_create_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_restore_job_create_spec.rb +0 -37
- data/spec/models/appliance_recovery_restore_job_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_recovery_restore_job_location_type_spec.rb +0 -31
- data/spec/models/appliance_recovery_restore_job_restore_job_status_spec.rb +0 -49
- data/spec/models/appliance_recovery_restore_job_restore_request_spec.rb +0 -79
- data/spec/models/appliance_recovery_restore_job_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_restore_job_return_result_spec.rb +0 -43
- data/spec/models/appliance_recovery_restore_job_return_status_spec.rb +0 -31
- data/spec/models/appliance_recovery_restore_localizable_message_spec.rb +0 -49
- data/spec/models/appliance_recovery_restore_location_type_spec.rb +0 -31
- data/spec/models/appliance_recovery_restore_metadata_spec.rb +0 -79
- data/spec/models/appliance_recovery_restore_restore_request_spec.rb +0 -73
- data/spec/models/appliance_recovery_restore_validate_result_spec.rb +0 -37
- data/spec/models/appliance_recovery_restore_validate_spec.rb +0 -37
- data/spec/models/appliance_recovery_result_spec.rb +0 -37
- data/spec/models/appliance_services_info_spec.rb +0 -43
- data/spec/models/appliance_services_list_result_spec.rb +0 -37
- data/spec/models/appliance_services_list_result_value_spec.rb +0 -43
- data/spec/models/appliance_services_result_spec.rb +0 -37
- data/spec/models/appliance_services_state_spec.rb +0 -31
- data/spec/models/appliance_shutdown_poweroff_spec.rb +0 -43
- data/spec/models/appliance_shutdown_reboot_spec.rb +0 -43
- data/spec/models/appliance_shutdown_result_spec.rb +0 -37
- data/spec/models/appliance_shutdown_shutdown_config_spec.rb +0 -49
- data/spec/models/appliance_subtask_info_spec.rb +0 -109
- data/spec/models/appliance_system_storage_list_result_spec.rb +0 -37
- data/spec/models/appliance_system_storage_resize_ex_result_spec.rb +0 -37
- data/spec/models/appliance_system_storage_resize_ex_result_value_spec.rb +0 -43
- data/spec/models/appliance_system_storage_storage_change_spec.rb +0 -43
- data/spec/models/appliance_system_storage_storage_mapping_spec.rb +0 -49
- data/spec/models/appliance_system_time_result_spec.rb +0 -37
- data/spec/models/appliance_system_time_system_time_struct_spec.rb +0 -55
- data/spec/models/appliance_system_time_timezone_result_spec.rb +0 -37
- data/spec/models/appliance_system_time_timezone_set_spec.rb +0 -37
- data/spec/models/appliance_system_uptime_result_spec.rb +0 -37
- data/spec/models/appliance_system_version_result_spec.rb +0 -37
- data/spec/models/appliance_system_version_version_struct_spec.rb +0 -73
- data/spec/models/appliance_task_info_spec.rb +0 -115
- data/spec/models/appliance_task_info_subtasks_spec.rb +0 -43
- data/spec/models/appliance_techpreview_monitoring_snmp_hash_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_hash_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_limits_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_set_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv1_trap_target_spec.rb +0 -49
- data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv3_notfication_spec.rb +0 -31
- data/spec/models/appliance_techpreview_monitoring_snmp_snm_pv3_target_spec.rb +0 -61
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_auth_proto_spec.rb +0 -31
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_config_read_only_spec.rb +0 -121
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_config_spec.rb +0 -109
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_hash_config_spec.rb +0 -49
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_hash_results_spec.rb +0 -43
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_limits_spec.rb +0 -67
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_priv_proto_spec.rb +0 -31
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_remote_user_spec.rb +0 -73
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_sec_level_spec.rb +0 -31
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_stats_spec.rb +0 -193
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_test_results_spec.rb +0 -43
- data/spec/models/appliance_techpreview_monitoring_snmp_snmp_user_spec.rb +0 -55
- data/spec/models/appliance_techpreview_monitoring_snmp_stats_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_monitoring_snmp_test_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_services_status_get_spec.rb +0 -43
- data/spec/models/appliance_techpreview_services_status_result_spec.rb +0 -37
- data/spec/models/appliance_techpreview_services_status_service_status_spec.rb +0 -31
- data/spec/models/appliance_timesync_result_spec.rb +0 -37
- data/spec/models/appliance_timesync_set_spec.rb +0 -37
- data/spec/models/appliance_timesync_time_sync_mode_spec.rb +0 -31
- data/spec/models/appliance_update_common_info_category_spec.rb +0 -31
- data/spec/models/appliance_update_common_info_priority_spec.rb +0 -31
- data/spec/models/appliance_update_common_info_severity_spec.rb +0 -31
- data/spec/models/appliance_update_info_spec.rb +0 -55
- data/spec/models/appliance_update_pending_info_spec.rb +0 -97
- data/spec/models/appliance_update_pending_install_spec.rb +0 -37
- data/spec/models/appliance_update_pending_install_user_data_spec.rb +0 -43
- data/spec/models/appliance_update_pending_list_result_spec.rb +0 -37
- data/spec/models/appliance_update_pending_precheck_result_spec.rb +0 -67
- data/spec/models/appliance_update_pending_question_input_type_spec.rb +0 -31
- data/spec/models/appliance_update_pending_question_spec.rb +0 -73
- data/spec/models/appliance_update_pending_result_spec.rb +0 -37
- data/spec/models/appliance_update_pending_source_type_spec.rb +0 -31
- data/spec/models/appliance_update_pending_stage_and_install_spec.rb +0 -37
- data/spec/models/appliance_update_pending_validate_result_spec.rb +0 -37
- data/spec/models/appliance_update_pending_validate_spec.rb +0 -37
- data/spec/models/appliance_update_policy_config_spec.rb +0 -61
- data/spec/models/appliance_update_policy_day_of_week_spec.rb +0 -31
- data/spec/models/appliance_update_policy_info_spec.rb +0 -73
- data/spec/models/appliance_update_policy_result_spec.rb +0 -37
- data/spec/models/appliance_update_policy_set_spec.rb +0 -37
- data/spec/models/appliance_update_policy_time_spec.rb +0 -49
- data/spec/models/appliance_update_result_spec.rb +0 -37
- data/spec/models/appliance_update_service_info_spec.rb +0 -43
- data/spec/models/appliance_update_staged_info_spec.rb +0 -85
- data/spec/models/appliance_update_staged_result_spec.rb +0 -37
- data/spec/models/appliance_update_state_spec.rb +0 -31
- data/spec/models/appliance_update_summary_spec.rb +0 -79
- data/spec/models/appliance_vmon_service_health_spec.rb +0 -31
- data/spec/models/appliance_vmon_service_info_spec.rb +0 -67
- data/spec/models/appliance_vmon_service_list_details_result_spec.rb +0 -37
- data/spec/models/appliance_vmon_service_list_details_result_value_spec.rb +0 -43
- data/spec/models/appliance_vmon_service_result_spec.rb +0 -37
- data/spec/models/appliance_vmon_service_startup_type_spec.rb +0 -31
- data/spec/models/appliance_vmon_service_state_spec.rb +0 -31
- data/spec/models/appliance_vmon_service_update_spec.rb +0 -37
- data/spec/models/appliance_vmon_service_update_spec_spec.rb +0 -37
- data/spec/models/cis_task_progress_spec.rb +0 -49
- data/spec/models/cis_task_status_spec.rb +0 -31
- data/spec/models/vapi_std_dynamic_id_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_in_desired_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_in_desired_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_feature_in_use_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_feature_in_use_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_busy_spec.rb +0 -43
- data/spec/models/vapi_std_errors_timed_out_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_timed_out_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unable_to_allocate_resource_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unable_to_allocate_resource_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
- data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
- data/spec/spec_helper.rb +0 -110
- 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
|
data/spec/api_client_spec.rb
DELETED
@@ -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
|
data/spec/configuration_spec.rb
DELETED
@@ -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
|