This page was last edited on May 16, 2017, at 08:21.
Comments or questions about this documentation? Contact us for support!
POST
/grs/v1/tenant/{tenantId}/package/{packageId}/deploy
{
"target": "GRE_Cluster",
"snapshotName":"Snap 01",
"comments":"Deploy to QA servers",
"deployScheduledDateTime": 34243432432
}
{
"target": "GRE_Cluster", "deploymentId" : 34234,
"snapshotName":"Snap 01",
"comments":"Deploy to QA servers",
"deployScheduleDateTime": 34243432432
}
{
"message": "Validation Failed",
"errors": [
{
"code" : "1000",
"field" : "name",
"message": "snapshot name is not found"
}
{
"code" : "1001",
"field" : "deployScheduleDateTime",
"message": "scheduled date/time is in the past."
}
]
}
{
"message": "Package Validation Failed",
"errors": [
{
"message": "Validation error 1"
},
{
"message": "Validation error 2"
}
]
}
User must have PACKAGE_DEPLOY and SNAPSHOT_VIEW permissions.