Class EnvironmentActionRequest
java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.EnvironmentActionRequest
Request body of the Fabric v4
EnvironmentActionRequest schema, sent to
POST /fabric/v4/serviceProfiles/{serviceProfileId}/environments/{environmentId}/actions.
The schema requires both type and keyDetails.
Beta: the operation (serviceProfileEnvironmentAction) carries the catalog's
Beta marker (catalog fetched 2026-09-21).
Serialized form of the catalog's ValidateActivationKey example:
{"type": "VALIDATE_ACTIVATION_KEY", "keyDetails": {"value": "key_here"}}
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentActionRequest(EnvironmentActionType type, ActivationKeyDetails keyDetails) -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentActionRequestvalidateActivationKey(ActivationKeyDetails keyDetails) Builds aVALIDATE_ACTIVATION_KEYrequest.
-
Constructor Details
-
EnvironmentActionRequest
- Parameters:
type- the action type; must not benullorEnvironmentActionType.UNKNOWNkeyDetails- the activation key details; must not benull- Throws:
NullPointerException- if either argument isnullIllegalArgumentException- iftypeisUNKNOWN
-
-
Method Details
-
validateActivationKey
Builds aVALIDATE_ACTIVATION_KEYrequest.- Parameters:
keyDetails- the activation key details; must not benull- Returns:
- the request body
-