Edge Set Bastion State
Advance the edge bastion state machine for the specified edge (by id
).
Privileges required:
UPDATE
EDGE
Request
URI
POST
https://{api_host}/portal/rest/edge/setEdgeBastionState
COPY
Request Body
Show optional properties
{
"edgeId": 0,
"enterpriseId": 0,
"bastionState": "string"
}
{
"edgeId": 0,
"enterpriseId": 0,
"bastionState": "string",
"upgradeOnly": false,
"upgradeDetails": {
"version": "string",
"buildNumber": "string",
"updateType": "string"
}
}
integer
edgeId
Required
edgeId
integer
enterpriseId
Required
enterpriseId
string
bastionState
Required
bastionState
Possible values are :
STAGE_REQUESTED,
UNSTAGE_REQUESTED,
PROMOTION_REQUESTED,
PROMOTION_PHASE_1_REQUESTED,
STAGED,
boolean
upgradeOnly
Optional
upgradeOnly
object
upgradeDetails
Optional
upgradeDetails
Responses
200
Request was successfully processed
Returns
edge_set_edge_bastion_state_result
of type(s)
application/json
This response body class contains all of the following:
Inlineedge_set_edge_bastion_state_result0
{
"rows": 1
}
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"edgeId:"integer","enterpriseId:"integer","bastionState:"string"}' https://{api_host}/portal/rest/edge/setEdgeBastionState
Edge Operations
POST
Edge Edge Cancel Reactivation
POST
Edge Edge Provision
POST
Edge Edge Request Reactivation
POST
Edge Get Client Visibility Mode
POST
Edge Get Edge
POST
Edge Get Edge Configuration Modules
POST
Edge Get Edge Configuration Stack
POST
Edge Get Edge Sdwan Peers
POST
Edge Get Secure Device Secrets Option
POST
Edge Set Bastion State
POST
Edge Set Secure Device Secrets Option
POST
Edge Sync Ofc Routes
POST
Edge Update Analytics Settings For Edges
POST
Edge Update Edge Admin Password
POST
Edge Update Edge Attributes
POST
Edge Update Edge Credentials By Configuration
POST
Link Update Link Attributes
POST
Edge Get Edge Csr
POST
Edge Get Edge Pending Csrs
POST
Edge Insert Edge Certificate