Skip to content

Commit

Permalink
Add new EventGrid event type for Azure Machine Learning Services (#7608)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-so authored and mmyyrroonn committed Oct 25, 2019
1 parent dca4e0c commit 1ceb5dc
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure Machine Learning Services events published to Azure Event Grid",
"description": "Describes the schema of the Azure Machine Learning Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"MachineLearningServicesModelRegisteredEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelRegistered event.",
"type": "object",
"properties": {
"modelName": {
"description": "The name of the model that was registered.",
"type": "string"
},
"modelVersion": {
"description": "The version of the model that was registered.",
"type": "integer"
},
"modelTags": {
"description": "The tags of the model that was registered.",
"type": "object"
},
"modelProperties": {
"description": "The properties of the model that was registered.",
"type": "object"
}
}
},
"MachineLearningServicesModelDeployedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelDeployed event.",
"type": "object",
"properties": {
"serviceName": {
"description": "The name of the deployed service.",
"type": "string"
},
"serviceComputeType": {
"description": "The compute type (e.g. ACI, AKS) of the deployed service.",
"type": "string"
},
"modelIds": {
"description": "A common separated list of model IDs. The IDs of the models deployed in the service.",
"type": "string"
},
"serviceTags": {
"description": "The tags of the deployed service.",
"type": "object"
},
"serviceProperties": {
"description": "The properties of the deployed service.",
"type": "object"
}
}
},
"MachineLearningServicesRunCompletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunCompleted event.",
"type": "object",
"properties": {
"experimentId": {
"description": "The ID of the experiment that the run belongs to.",
"type": "string"
},
"experimentName": {
"description": "The name of the experiment that the run belongs to.",
"type": "string"
},
"runId": {
"description": "The ID of the Run that was completed.",
"type": "string"
},
"runType": {
"description": "The Run Type of the completed Run.",
"type": "string"
},
"runTags": {
"description": "The tags of the completed Run.",
"type": "object"
},
"runProperties": {
"description": "The properties of the completed Run.",
"type": "object"
}
}
},
"MachineLearningServicesDatasetDriftDetectedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.DatasetDriftDetected event.",
"type": "object",
"properties": {
"dataDriftId": {
"description": "The ID of the data drift monitor that triggered the event.",
"type": "string"
},
"dataDriftName": {
"description": "The name of the data drift monitor that triggered the event.",
"type": "string"
},
"runId": {
"description": "The ID of the Run that detected data drift.",
"type": "string"
},
"baseDatasetId": {
"description": "The ID of the base Dataset used to detect drift.",
"type": "string"
},
"targetDatasetId": {
"description": "The ID of the target Dataset used to detect drift.",
"type": "string"
},
"driftCoefficient": {
"description": "The coefficient result that triggered the event.",
"type": "number",
"format": "double"
},
"startTime": {
"description": "The start time of the target dataset time series that resulted in drift detection.",
"type": "string",
"format": "date-time"
},
"endTime": {
"description": "The end time of the target dataset time series that resulted in drift detection.",
"type": "string",
"format": "date-time"
}
}
}
}
}
1 change: 1 addition & 0 deletions specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ input-file:
- Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
- Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
- Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
```

---
Expand Down

0 comments on commit 1ceb5dc

Please sign in to comment.