Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.MachineLearning to add v…
Browse files Browse the repository at this point in the history
…ersion 2017-01-01 (Azure#5241)

* AddSuppress

* AddNewDefinitionForPatchWebService

* RevertWebServiceDefinition

* Formatting

* fix validation 'Model validation check' failures

* revert last commit
  • Loading branch information
xinzouMicrosoft-zz authored and anuchandy committed Mar 20, 2019
1 parent 86b3031 commit a36c4d6
Showing 1 changed file with 49 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"description": "The payload to use to patch the web service.",
"required": true,
"schema": {
"$ref": "#/definitions/WebService"
"$ref": "#/definitions/PatchedWebService"
}
},
{
Expand Down Expand Up @@ -443,6 +443,39 @@
}
}
},
"PatchedResource": {
"description": "Azure resource.",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "Specifies the resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Specifies the name of the resource.",
"type": "string",
"readOnly": true
},
"location": {
"description": "Specifies the location of the resource.",
"type": "string",
"readOnly": true
},
"type": {
"description": "Specifies the type of the resource.",
"type": "string",
"readOnly": true
},
"tags": {
"description": "Contains resource tags defined as key/value pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"WebService": {
"type": "object",
"description": "Instance of an Azure ML web service resource.",
Expand All @@ -460,6 +493,21 @@
"required": [
"properties"
]
},
"PatchedWebService": {
"type": "object",
"description": "Instance of an Patched Azure ML web service resource.",
"allOf": [
{
"$ref": "#/definitions/PatchedResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/WebServiceProperties",
"description": "Contains the property payload that describes the web service."
}
}
},
"WebServiceProperties": {
"type": "object",
Expand Down

0 comments on commit a36c4d6

Please sign in to comment.