Class ExecutionInputs
java.lang.Object
com.eqixiac.equinix.design.optimizer.wizard.model.ExecutionInputs
The customer-supplied, per-connection authorization a
DeploymentPlan.execute(ExecutionInputs)
run needs to provision cloud provider connections: the cloud-specific authentication key, the DOT1Q
VLAN tag, and (for Azure ExpressRoute) the peering type. A brand-new customer, who owns nothing at
plan time, gathers these from each cloud console and supplies them here - the wizard never fabricates
them, and enumerates exactly what to collect via ConnectionInputRequirement.
Every map is keyed by the planned connection's name - the same name that appears on the
plan, in ConnectionInputRequirement (getConnectionName()), and in the plan's Terraform export.
A value supplied here fills in the field the plan deliberately left null; a field the plan already
carries (a lens-3b plan built with keys) wins and needs no entry here.
ExecutionInputs inputs = ExecutionInputs.builder()
.authenticationKey("FCR-DC-to-aws", "123456789012")
.vlanTag("FCR-DC-to-aws", 1001)
.authenticationKey("FCR-DC-to-azure", "b2c3d4e5-....-guid")
.peeringType("FCR-DC-to-azure", PeeringType.PRIVATE)
.vlanTag("FCR-DC-to-azure", 1002)
.build();
DeploymentOutcome outcome = plan.execute(inputs);
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationKeyFor(String connectionName) The authentication key supplied for the named connection.static ExecutionInputsnone()An empty set of inputs - for a backbone-only plan, or a plan whose provider connections already carry their own authorization keys.peeringTypeFor(String connectionName) The peering type supplied for the named connection.vlanTagFor(String connectionName) The VLAN tag supplied for the named connection.
-
Constructor Details
-
ExecutionInputs
public ExecutionInputs()
-
-
Method Details
-
none
An empty set of inputs - for a backbone-only plan, or a plan whose provider connections already carry their own authorization keys.DeploymentPlan.execute()uses this by default.- Returns:
- empty execution inputs
-
authenticationKeyFor
-
vlanTagFor
-
peeringTypeFor
The peering type supplied for the named connection.- Parameters:
connectionName- the planned connection name- Returns:
- the peering type, or
nullif none was supplied
-