Migration Get Migration Actions

Migration Get Migration Actions

Get migration actions from migration entity records filtered by enterpriseId,edgeId,gatewayId ,enterpriseObjectId or type(EDGE_REBALANCE, ENTERPRISE_REBALANCE OR DATACENTER_SWITCH_GATEWAY)

Privileges required:

READ GATEWAY_MIGRATION

Request
URI
POST
https://{api_host}/portal/rest/migration/getMigrationActions
COPY
Request Body

Show optional properties

{
    "gatewayId": 0
}
{
    "enterpriseId": 0,
    "edgeId": 0,
    "gatewayId": 0,
    "enterpriseObjectId": 0,
    "type": "string"
}
integer
enterpriseId
Optional

enterpriseId

integer
edgeId
Optional

edgeId

integer
gatewayId
Required

gatewayId

integer
enterpriseObjectId
Optional

enterpriseObjectId

string
type
Optional

type

Possible values are : EDGE_REBALANCE, ENTERPRISE_REBALANCE, DATACENTER_SWITCH_GATEWAY,
Responses
200

Request was successfully processed

Returns get_migration_actions_result of type(s) application/json
{
    "id": 0,
    "modified": "string",
    "created": "string",
    "gatewayId": 0,
    "enterpriseObjectId": 0,
    "enterpriseId": 0,
    "edgeId": 0,
    "status": "string",
    "statusHistory": "string",
    "gatewayName": "string",
    "gatewayIpAddress": "string",
    "gatewayState": "string"
}
integer
id
Optional

id

string As date-time As date-time
modified
Optional

modified

string As date-time As date-time
created
Optional

created

integer
gatewayId
Optional

gatewayId

integer
enterpriseObjectId
Optional

enterpriseObjectId

integer
enterpriseId
Optional

enterpriseId

integer
edgeId
Optional

edgeId

string
status
Optional

status

string
statusHistory
Optional

statusHistory

string
gatewayName
Optional

gatewayName

string
gatewayIpAddress
Optional

gatewayIpAddress

string
gatewayState
Optional

gatewayState

Possible values are : NEVER_ACTIVATED, DEGRADED, QUIESCED, DISABLED, OUT_OF_SERVICE, CONNECTED, OFFLINE,

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"gatewayId:"integer"}' https://{api_host}/portal/rest/migration/getMigrationActions