Class ConnectionOperator.ConnectionUpdater
java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.ConnectionOperator.ConnectionUpdater
- Enclosing class:
ConnectionOperator
Fluent updater for an existing connection. Typed setters record RFC 6902 replace
operations (the API accepts a JSON Patch array at
PATCH /connections/{uuid}); use
patch(PatchOperation) for any path not covered by a typed setter (e.g.
notifications, A-side migration). Call save() to apply, optionally after
dryRun() to only validate the update.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondryRun()Marks this update as a dry run:save()sends the same JSON Patch toPATCH /fabric/v4/connections/{uuid}with thedryRun=truequery parameter — per the Fabric v4 spec, an "option to verify that API calls will succeed".patch(PatchOperation operation) save()termLength(Integer termLength) Replaces the order term length (/order/termLength), e.g. to upgrade an on-demand connection to a term-based connection (Fabric release R2025.5).Edits the VLAN tag of an EVPL connection side (Fabric release "EVPL VLAN edit"): replaces/{aSide|zSide}/accessPoint/linkProtocol/vlanTag.Edits the QinQ VLAN tags of a connection side: replaces.../linkProtocol/vlanSTagand.../linkProtocol/vlanCTag.
-
Constructor Details
-
ConnectionUpdater
-
-
Method Details
-
name
-
bandwidth
-
termLength
Replaces the order term length (/order/termLength), e.g. to upgrade an on-demand connection to a term-based connection (Fabric release R2025.5).- Parameters:
termLength- the new term length in months (for example 12, 24 or 36)- Returns:
- this updater
-
vlanTag
Edits the VLAN tag of an EVPL connection side (Fabric release "EVPL VLAN edit"): replaces/{aSide|zSide}/accessPoint/linkProtocol/vlanTag.Provenance: the release notes announce the feature, but spec 4.34.0 publishes no example for it; the path follows the connection's own
linkProtocolshape and is unverified live (no net-new connection may be created for testing). Run it withdryRun()first.- Parameters:
side- the side whose VLAN changesvlanTag- the new DOT1Q VLAN tag (2-4092)- Returns:
- this updater
-
vlanTags
Edits the QinQ VLAN tags of a connection side: replaces.../linkProtocol/vlanSTagand.../linkProtocol/vlanCTag. Same provenance and dry-run advice asvlanTag(Side, int).- Parameters:
side- the side whose VLANs changevlanSTag- the new outer (service) tagvlanCTag- the new inner (customer) tag- Returns:
- this updater
-
patch
-
dryRun
Marks this update as a dry run:save()sends the same JSON Patch toPATCH /fabric/v4/connections/{uuid}with thedryRun=truequery parameter — per the Fabric v4 spec, an "option to verify that API calls will succeed". Nothing is persisted: the API responds200(the real update responds202) with a simulation of the post-update connection, whichsave()returns.- Returns:
- this updater
-
save
-