Service
Create a Service.
Create a Service with the specified payload.
post/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services
Path parameters
subscriptionIdstring uuid required
The Azure Subscription ID.
resourceGroupstring required
The Name of the resource group in which the workspace is located.
workspacestring required
The name of the workspace.
Request body
Example request
{
"computeType": "AKS",
"deploymentType": "HttpRealtimeEndpoint",
"environmentImageRequest": {
"environment": {
"name": "mydevenvironment",
"version": "1",
"docker": {
"baseImage": "ubuntu:latest",
"baseDockerfile": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"",
"shmSize": "1g"
},
"inferencingStackVersion": "latest"
}
}
}Response
The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task.