public Task SetInstanceStateAsync(InstanceStates state, CancellationToken cancellationToken) => stateManager.SetStateAsync(StateNames.InstanceState, state, cancellationToken);
public InstanceState Get(InstanceStates state) => _states[state];