Execution
Start a run from a snapshot on a remote compute target.
Starts an experiment run on the remote compute target using the provided definition.json file to define the run. The code for the run is retrieved using the snapshotId in definition.json.
post/execution/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/snapshotrun
Path parameters
subscriptionIdstring uuid required
The Azure Subscription ID.
resourceGroupNamestring required
The Name of the resource group in which the workspace is located.
workspaceNamestring required
The name of the workspace.
experimentNamestring required
The experiment name.
Query parameters
runIdstring
A run id. If not supplied a run id will be created automatically.
Request body
Example request
{
"configuration": {
"script": "findsquare.py",
"framework": "Python",
"communicator": "None",
"target": "amlcompute",
"jobName": "FindSquaresJob",
"environment": {
"name": "mydevenvironment",
"version": "1",
"docker": {
"baseImage": "ubuntu:latest",
"baseDockerfile": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\""
},
"inferencingStackVersion": "latest"
}
},
"parentRunId": "myexperiment_155000000001_0",
"runType": "experiment"
}Response
A snapshot run was successfully started.
Example response
{
"runId": "myexperiment_155000000001_0"
}