blob: 532011aeff388af83317a5e12385986b882efd87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.monitor;
import com.yahoo.component.Version;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.Capacity;
import com.yahoo.config.provision.ClusterSpec;
import java.util.Optional;
/**
* API of infrastructure application that is accessible via DuperModelInfraApi.
*
* @author hakonhall
*/
public interface InfraApplicationApi {
ApplicationId getApplicationId();
Capacity getCapacity();
ClusterSpec getClusterSpecWithVersion(Version version);
}
|