Package com.morpheusdata.core
Interface MorpheusServices
public interface MorpheusServices
-
Method Summary
Modifier and TypeMethodDescriptionReturns the MorpheusSynchronousAccountCredentialServiceReturns the MorpheusSynchronousAccountCredentialTypeServiceReturns the MorpheusSynchronousAccountIntegrationServiceReturns the MorpheusSynchronousAccountInventoryServiceReturns the MorpheusSynchronousAccountPriceServiceReturns the MorpheusSynchronousAccountPriceSetServicereturn theMorpheusSynchronousAccountResourceTypeService
which allows access toAccountResourceType
data operations such as create/update/query operationsgetAdmin()
Returns theMorpheusSynchronousAdminService
which allows access toMorpheusSynchronousDataService
related services for administrative objects (i.e.getApp()
Returns the App ServiceReturns the Backup Context for sync, executing and restoring backups Typically this would be called by aBackupProvider
.Returns the Backup Job Context for sync, executing and restoring backup jobs Typically this would be called by aBackupProvider
.Returns the MorpheusSynchronousBackupProviderServiceReturns the Backup Repository Context for sync of backup repositories.return theMorpheusSynchronousAccountCertificateService
which allows access toAccountCertificate
data operations such as create/update/query operationsgetCloud()
Returns the Compute Context used for performing updates or queries on compute related assets within MorpheusReturns theMorpheusSynchronousCodeRepositoryService
which contains all code repository servicesReturns the Compute Server context used for syncing machines within Morpheus.Returns the ComputeSite Context used for performing updates or queries on compute related assets within MorpheusReturns the ComputeTypeSet contextDeprecated.Returns the Costing service and all related subservices for dealing with costing data.Returns the Cypher ServiceReturns the MorpheusSynchronousDashboardServiceReturns theMorpheusSynchronousAccountDiscoveryService
which allows access to create guidance recommendationsReturns theMorpheusExecuteScheduleService
which allows access to execute schedule data operationsReturns theMorpheusSynchronousExecuteScheduleTypeService
which allows access to execute schedule typesReturns theMorpheusSynchronousFileCopyService
which allows access to file copy servicesReturns theMorpheusSynchronousHypervisorService
which allows access to hypervisor servicesReturns the Instance Servicereturn theMorpheusSynchronousInstanceTypeLayoutService
which allows access toInstanceTypeLayout
data operations such as create/update/query operationsReturns the Integration context used for performing common operations on various integration types Morpheus has to offer.Returns the MorpheusSynchronousKeyPairServiceReturns theMorpheusSynchronousLibraryService
which contains all library servicesReturns the MorpheusSynchronousLoadBalancerPartitionServiceReturns the localization services.Returns the Tag ServiceReturns the NetworkContext used for performing updates or queries on network related assets within Morpheus.Returns the NetworkSubnetContext used for performing updates or queries on network subnet related assets within Morpheus.Returns theMorpheusSynchronousOperationService
which allows access to operation related servicesReturns the MorpheusSynchronousOperationDataService providing a means to access integration specific custom data that may have been synced in.Returns the Operation Notification ServiceReturns the Os Type ServiceReturns the Permission ServiceReturns the Policy Service for Governance related Policy information.Returns the Price Plan context used for syncing Cloud images within Morpheus.Returns the MorpheusSynchronousPricePlanPriceSetServiceReturns the Provision Service used for performing provisioning related updates to objects.Returns the MorpheusSynchronousReferenceDataServiceReturns the Resource Permission Servicereturn theMorpheusSynchronousResourceSpecService
which allows access toResourceSpec
data operations such as create/update/query operationsReturns the SecurityGroup ServicegetSeed()
Returns theMorpheusSeedService
which allows access to seed data operationsReturns the Service Plan context used for syncing Cloud images within Morpheus.Returns the MorpheusSynchronousServicePlanPriceSetServiceReturns the Setting ServiceReturns the Snapshot serviceReturns the StorageBucket ServiceReturns the StorageController ServiceReturns the StorageServer ServiceReturns the StorageVolume ServicegetTask()
Returns the Task context used for automation tasks on assets within Morpheus.Returns the VirtualImage context used for syncing Cloud images within Morpheus.Returns the Web Request Service.Returns the Wiki Page ServiceReturns the workload context used for syncing workloads within Morpheus.return theMorpheusSynchronousAccountCertificateService
which allows access toAccountCertificate
data operations such as create/update/query operationsReturns the WorkloadType context
-
Method Details
-
getCloud
MorpheusSynchronousCloudService getCloud()Returns the Compute Context used for performing updates or queries on compute related assets within Morpheus- Returns:
- An Instance of the Cloud Service to be used typically by
CloudProvider
implementations.
-
getComputeSite
MorpheusSynchronousComputeSiteService getComputeSite()Returns the ComputeSite Context used for performing updates or queries on compute related assets within Morpheus- Returns:
- An Instance of the ComputeSite Service to be used typically by
CloudProvider
implementations.
-
getProvision
MorpheusSynchronousProvisionService getProvision()Returns the Provision Service used for performing provisioning related updates to objects.- Returns:
- An Instance of the Provision Service to be used typically by a
ProvisionProvider
-
getNetwork
MorpheusSynchronousNetworkService getNetwork()Returns the NetworkContext used for performing updates or queries on network related assets within Morpheus. Typically this would be called by aDNSProvider
orIPAMProvider
.- Returns:
- An Instance of the Network Context to be used for calls by various network providers
-
getNetworkSubnet
MorpheusSynchronousNetworkSubnetService getNetworkSubnet()Returns the NetworkSubnetContext used for performing updates or queries on network subnet related assets within Morpheus.- Returns:
- An Instance of the NetworkSubnet Context to be used for calls by various network providers
-
getTask
MorpheusSynchronousTaskService getTask()Returns the Task context used for automation tasks on assets within Morpheus. Typically this would be called by aTaskProvider
.- Returns:
- An Instance of the Task Context to be used for calls by various task providers
-
getVirtualImage
MorpheusSynchronousVirtualImageService getVirtualImage()Returns the VirtualImage context used for syncing Cloud images within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the Virtual Image Context to be used for calls by various providers
-
getServicePlan
MorpheusSynchronousServicePlanService getServicePlan()Returns the Service Plan context used for syncing Cloud images within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the Service Plan Context to be used for calls by various providers
-
getPricePlan
MorpheusSynchronousPricePlanService getPricePlan()Returns the Price Plan context used for syncing Cloud images within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the Price Plan Context to be used for calls by various providers
-
getComputeServer
MorpheusSynchronousComputeServerService getComputeServer()Returns the Compute Server context used for syncing machines within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the Compute Server Context to be used for calls by various providers
-
getWorkload
MorpheusSynchronousWorkloadService getWorkload()Returns the workload context used for syncing workloads within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the workload Context to be used for calls by various providers
-
getComputeTypeSet
MorpheusSynchronousComputeTypeSetService getComputeTypeSet()Returns the ComputeTypeSet context- Returns:
-
getContainerType
Deprecated.Returns the ContainerType context- Returns:
-
getWorkloadType
MorpheusSynchronousWorkloadTypeService getWorkloadType()Returns the WorkloadType context- Returns:
- an instance of the Workload Type context
-
getOsType
MorpheusSynchronousOsTypeService getOsType()Returns the Os Type Service- Returns:
- an instance of the Os Type Service
-
getCypher
MorpheusSynchronousCypherService getCypher()Returns the Cypher Service- Returns:
- an instance of the Cypher Service
-
getPolicy
MorpheusSynchronousPolicyService getPolicy()Returns the Policy Service for Governance related Policy information.- Returns:
- an instance of the Policy Service
-
getCosting
MorpheusSynchronousCostingService getCosting()Returns the Costing service and all related subservices for dealing with costing data.- Returns:
- an instance of the Costing Service
-
getOperationNotification
MorpheusSynchronousOperationNotificationService getOperationNotification()Returns the Operation Notification Service- Returns:
- An instance of the Operation Notification Service
-
getMetadataTag
MorpheusSynchronousMetadataTagService getMetadataTag()Returns the Tag Service- Returns:
- An instance of the Tag Service
-
getSetting
MorpheusSynchronousSettingService getSetting()Returns the Setting Service- Returns:
- An instance of the Setting Service
-
getWikiPage
MorpheusSynchronousWikiPageService getWikiPage()Returns the Wiki Page Service- Returns:
- An instance of the Wiki Page Service
-
getStorageVolume
MorpheusSynchronousStorageVolumeService getStorageVolume()Returns the StorageVolume Service- Returns:
- An instance of the StorageVolume Service
-
getStorageController
MorpheusSynchronousStorageControllerService getStorageController()Returns the StorageController Service- Returns:
- An instance of the StorageController Service
-
getStorageServer
MorpheusSynchronousStorageServerService getStorageServer()Returns the StorageServer Service- Returns:
- An instance of the StorageServer Service
-
getStorageBucket
MorpheusSynchronousStorageBucketService getStorageBucket()Returns the StorageBucket Service- Returns:
- An instance of the StorageBucket Service
-
getInstance
MorpheusSynchronousInstanceService getInstance()Returns the Instance Service- Returns:
- An instance of the Instance Service
-
getApp
MorpheusSynchronousAppService getApp()Returns the App Service- Returns:
- An instance of the App Service
-
getSnapshot
MorpheusSynchronousSnapshotService getSnapshot()Returns the Snapshot service- Returns:
- An instance of the Snapshot Service
-
getBackup
MorpheusSynchronousBackupService getBackup()Returns the Backup Context for sync, executing and restoring backups Typically this would be called by aBackupProvider
.- Returns:
- an instance of the Backup Context
-
getBackupJob
MorpheusSynchronousBackupJobService getBackupJob()Returns the Backup Job Context for sync, executing and restoring backup jobs Typically this would be called by aBackupProvider
.- Returns:
- an instance of the Backup Job Context
-
getBackupRepository
MorpheusSynchronousBackupRepositoryService getBackupRepository()Returns the Backup Repository Context for sync of backup repositories. Typically this would be called by aBackupProvider
.- Returns:
- an instance of the Backup Repository Context
-
getPermission
MorpheusSynchronousPermissionService getPermission()Returns the Permission Service- Returns:
- An instance of the MorpheusSynchronousPermissionService
-
getResourcePermission
MorpheusSynchronousResourcePermissionService getResourcePermission()Returns the Resource Permission Service- Returns:
- An instance of the MorpheusSynchronousPermissionService
-
getAccountCredentialType
MorpheusSynchronousAccountCredentialTypeService getAccountCredentialType()Returns the MorpheusSynchronousAccountCredentialTypeService- Returns:
- An instance of the MorpheusSynchronousAccountCredentialTypeService
-
getAccountCredential
MorpheusSynchronousAccountCredentialService getAccountCredential()Returns the MorpheusSynchronousAccountCredentialService- Returns:
- An instance of the MorpheusSynchronousAccountCredentialService
-
getKeyPair
MorpheusSynchronousKeyPairService getKeyPair()Returns the MorpheusSynchronousKeyPairService- Returns:
- An instance of the MorpheusSynchronousKeyPairService
-
getSecurityGroup
MorpheusSynchronousSecurityGroupService getSecurityGroup()Returns the SecurityGroup Service- Returns:
- An instance of the SecurityGroup Service
-
getDashboard
MorpheusSynchronousDashboardService getDashboard()Returns the MorpheusSynchronousDashboardService- Returns:
- An instance of the MorpheusSynchronousDashboardService
-
getLoadBalancer
MorpheusSynchronousLoadBalancerPartitionService getLoadBalancer()Returns the MorpheusSynchronousLoadBalancerPartitionService- Returns:
- An instance of the MorpheusSynchronousLoadBalancerPartitionService
-
getReferenceData
MorpheusSynchronousReferenceDataService getReferenceData()Returns the MorpheusSynchronousReferenceDataService- Returns:
- an instance of the MorpheusSynchronousReferenceDataService
-
getOperationData
MorpheusSynchronousOperationDataService getOperationData()Returns the MorpheusSynchronousOperationDataService providing a means to access integration specific custom data that may have been synced in.- Returns:
- an instance of the MorpheusSynchronousOperationDataService
-
getBackupProvider
MorpheusSynchronousBackupProviderService getBackupProvider()Returns the MorpheusSynchronousBackupProviderService- Returns:
- an instance of the MorpheusSynchronousBackupProviderService
-
getAccountPriceSet
MorpheusSynchronousAccountPriceSetService getAccountPriceSet()Returns the MorpheusSynchronousAccountPriceSetService- Returns:
- an instance of the MorpheusSynchronousAccountPriceSetService
-
getAccountPrice
MorpheusSynchronousAccountPriceService getAccountPrice()Returns the MorpheusSynchronousAccountPriceService- Returns:
- an instance of the MorpheusSynchronousAccountPriceService
-
getServicePlanPriceSet
MorpheusSynchronousServicePlanPriceSetService getServicePlanPriceSet()Returns the MorpheusSynchronousServicePlanPriceSetService- Returns:
- an instance of the MorpheusSynchronousServicePlanPriceSetService
-
getPricePlanPriceSet
MorpheusSynchronousPricePlanPriceSetService getPricePlanPriceSet()Returns the MorpheusSynchronousPricePlanPriceSetService- Returns:
- an instance of the MorpheusSynchronousPricePlanPriceSetService
-
getAccountIntegration
MorpheusSynchronousAccountIntegrationService getAccountIntegration()Returns the MorpheusSynchronousAccountIntegrationService- Returns:
- an instance of the MorpheusSynchronousAccountIntegrationService
-
getAccountInventory
MorpheusSynchronousAccountInventoryService getAccountInventory()Returns the MorpheusSynchronousAccountInventoryService- Returns:
- an instance of the MorpheusSynchronousAccountInventoryService
-
getAdmin
MorpheusSynchronousAdminService getAdmin()Returns theMorpheusSynchronousAdminService
which allows access toMorpheusSynchronousDataService
related services for administrative objects (i.e. Users,Accounts,etc) in a synchronous manner.- Returns:
- an instance of MorpheusSynchronousAdminService
-
getCertificate
MorpheusSynchronousAccountCertificateService getCertificate()return theMorpheusSynchronousAccountCertificateService
which allows access toAccountCertificate
data operations such as create/update/query operations- Returns:
- an instance
MorpheusSynchronousAccountCertificateService
-
getWorkloadState
MorpheusSynchronousWorkloadStateService getWorkloadState()return theMorpheusSynchronousAccountCertificateService
which allows access toAccountCertificate
data operations such as create/update/query operations- Returns:
- an instance
MorpheusSynchronousAccountCertificateService
-
getAccountResourceType
MorpheusSynchronousAccountResourceTypeService getAccountResourceType()return theMorpheusSynchronousAccountResourceTypeService
which allows access toAccountResourceType
data operations such as create/update/query operations- Returns:
- an instance
MorpheusSynchronousAccountResourceTypeService
-
getResourceSpec
MorpheusSynchronousResourceSpecService getResourceSpec()return theMorpheusSynchronousResourceSpecService
which allows access toResourceSpec
data operations such as create/update/query operations- Returns:
- an instance
MorpheusSynchronousResourceSpecService
-
getInstanceTypeLayout
MorpheusSynchronousInstanceTypeLayoutService getInstanceTypeLayout()return theMorpheusSynchronousInstanceTypeLayoutService
which allows access toInstanceTypeLayout
data operations such as create/update/query operations- Returns:
- an instance
MorpheusSynchronousInstanceTypeLayoutService
-
getLibrary
MorpheusSynchronousLibraryService getLibrary()Returns theMorpheusSynchronousLibraryService
which contains all library services- Returns:
- an instance of the MorpheusSynchronousLibraryServices
-
getCodeRepository
MorpheusSynchronousCodeRepositoryService getCodeRepository()Returns theMorpheusSynchronousCodeRepositoryService
which contains all code repository services- Returns:
- an instance of the MorpheusSynchronousCodeRepositoryService
-
getIntegration
MorpheusSynchronousIntegrationService getIntegration()Returns the Integration context used for performing common operations on various integration types Morpheus has to offer.- Returns:
- An instance of the Integration Context to bused for calls by various integration types
-
getWebRequest
MorpheusWebRequestService getWebRequest()Returns the Web Request Service. This is used by UI Providers to grab common request attributes- Returns:
- an instance of the web request service
-
getLocalization
MorpheusLocalizationService getLocalization()Returns the localization services. Used by other services to fetch localized strings from localization codes.- Returns:
- an instance of the localization service
-
getSeed
MorpheusSynchronousSeedService getSeed()Returns theMorpheusSeedService
which allows access to seed data operations- Returns:
- an instance of
MorpheusSeedService
-
getDiscovery
MorpheusSynchronousAccountDiscoveryService getDiscovery()Returns theMorpheusSynchronousAccountDiscoveryService
which allows access to create guidance recommendations- Returns:
- an instance of
MorpheusSynchronousAccountDiscoveryService
-
getExecuteScheduleType
MorpheusSynchronousExecuteScheduleTypeService getExecuteScheduleType()Returns theMorpheusSynchronousExecuteScheduleTypeService
which allows access to execute schedule types -
getExecuteSchedule
MorpheusSynchronousExecuteScheduleService getExecuteSchedule()Returns theMorpheusExecuteScheduleService
which allows access to execute schedule data operations- Returns:
- an instance of
MorpheusExecuteScheduleService
-
getOperation
MorpheusSynchronousOperationService getOperation()Returns theMorpheusSynchronousOperationService
which allows access to operation related services- Returns:
- an instance of
MorpheusSynchronousOperationService
-
getFileCopy
MorpheusSynchronousFileCopyService getFileCopy()Returns theMorpheusSynchronousFileCopyService
which allows access to file copy services- Returns:
- an instance of
MorpheusSynchronousFileCopyService
-
getHypervisorService
MorpheusSynchronousHypervisorService getHypervisorService()Returns theMorpheusSynchronousHypervisorService
which allows access to hypervisor services- Returns:
- an instance of
MorpheusSynchronousHypervisorService
-