Search in sources :

Example 1 with ResourceInstanceState

use of com.peterphi.servicemanager.service.rest.resource.type.ResourceInstanceState in project stdlib by petergeneric.

the class AzureInstanceActionDaemon method updateState.

// Check in with Azure on the instance state
private void updateState(final ResourceInstanceEntity instance) {
    ResourceInstanceState actual = azure.determineState(instance);
    instance.setState(actual);
}
Also used : ResourceInstanceState(com.peterphi.servicemanager.service.rest.resource.type.ResourceInstanceState)

Aggregations

ResourceInstanceState (com.peterphi.servicemanager.service.rest.resource.type.ResourceInstanceState)1