Class EstateAnalyzer
java.lang.Object
com.eqixiac.equinix.design.estate.EstateAnalyzer
Analyses what a customer already runs on Equinix and produces a priced, evidence-backed
improvement report. Read-only: it reads inventory, metrics and prices and recommends; it never
changes a resource.
EstateReport report = EstateAnalyzer.builder(fabric)
.scope(EstateScope.projects("626329c0-..."))
.window(Duration.ofDays(30)) // also reads utilisation
.analyze();
System.out.println(report.toMarkdown());
// Offline, reproducible: analyse a stored snapshot.
EstateReport again = EstateAnalyzer.fromSnapshot(EstateInventory.fromJson(json)).analyze();
Defaults: the rules of DefaultRules.all(), EstateThresholds.defaults(), and
RateCard.standardChain(fabric) (live Equinix prices, then the bundled reference card) for a
live run or ReferenceRateCard.standard() for an offline run. A live run must be scoped;
see EstateScope.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfigures and runs an analysis. -
Method Summary
Modifier and TypeMethodDescriptionstatic EstateAnalyzer.BuilderStarts a live analysis.static EstateAnalyzer.BuilderfromSnapshot(EstateInventory inventory) Starts an offline analysis of a stored snapshot.
-
Method Details
-
builder
Starts a live analysis.- Parameters:
fabric- the Fabric client- Returns:
- a builder
-
fromSnapshot
Starts an offline analysis of a stored snapshot. No API is called unless a rate card that calls one is supplied.- Parameters:
inventory- the snapshot- Returns:
- a builder
-