Skip to content

Commit 3080959

Browse files
authored
Add xms-ids for machinelearning, machinelearningcompute, machinelearningexperimentation and machinelearningservices (#17734)
* add xmsids for machinelearning rps * update inner properties * address code review comments
1 parent eecc79c commit 3080959

File tree

7 files changed

+169
-32
lines changed

7 files changed

+169
-32
lines changed

specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@
449449
"type": "array",
450450
"items": {
451451
"$ref": "#/definitions/CatalogSku"
452-
}
452+
},
453+
"x-ms-identifiers": []
453454
}
454455
}
455456
},
@@ -491,6 +492,9 @@
491492
"items": {
492493
"$ref": "#/definitions/SkuCapability"
493494
},
495+
"x-ms-identifiers": [
496+
"name"
497+
],
494498
"description": "The capability information for the specified SKU."
495499
},
496500
"costs": {
@@ -499,6 +503,7 @@
499503
"items": {
500504
"$ref": "#/definitions/SkuCost"
501505
},
506+
"x-ms-identifiers": [],
502507
"description": "The cost information for the specified SKU."
503508
},
504509
"restrictions": {
@@ -507,6 +512,7 @@
507512
"items": {
508513
"$ref": "#/definitions/SkuRestrictions"
509514
},
515+
"x-ms-identifiers": [],
510516
"description": "Restrictions which would prevent a SKU from being used. This is empty if there are no restrictions."
511517
}
512518
}
@@ -912,7 +918,8 @@
912918
"description": "The set of results for this page.",
913919
"items": {
914920
"$ref": "#/definitions/PlanUsageHistory"
915-
}
921+
},
922+
"x-ms-identifiers": []
916923
}
917924
}
918925
},
@@ -985,7 +992,10 @@
985992
"type": "array",
986993
"items": {
987994
"$ref": "#/definitions/OperationEntity"
988-
}
995+
},
996+
"x-ms-identifiers": [
997+
"name"
998+
]
989999
}
9901000
}
9911001
},

specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,9 @@
625625
"items": {
626626
"$ref": "#/definitions/Operation"
627627
},
628+
"x-ms-identifiers": [
629+
"name"
630+
],
628631
"description": "List of AML Studio operations supported by the AML Studio resource provider."
629632
}
630633
}

specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/webservices.json

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@
872872
"description": "If the data type is categorical, this provides the list of accepted categories.",
873873
"items": {
874874
"type": "object"
875-
}
875+
},
876+
"x-ms-identifiers": []
876877
},
877878
"x-ms-isnullable": {
878879
"type": "boolean",
@@ -900,8 +901,10 @@
900901
"type": "array",
901902
"items": {
902903
"type": "object"
903-
}
904-
}
904+
},
905+
"x-ms-identifiers": []
906+
},
907+
"x-ms-identifiers": []
905908
}
906909
},
907910
"globalParameters": {
@@ -967,7 +970,10 @@
967970
"description": "If the asset is a custom module, this holds the module's parameters.",
968971
"items": {
969972
"$ref": "#/definitions/ModuleAssetParameter"
970-
}
973+
},
974+
"x-ms-identifiers": [
975+
"name"
976+
]
971977
}
972978
},
973979
"required": [
@@ -1027,7 +1033,10 @@
10271033
"description": "The definition of the parameter.",
10281034
"items": {
10291035
"$ref": "#/definitions/ModuleAssetParameter"
1030-
}
1036+
},
1037+
"x-ms-identifiers": [
1038+
"name"
1039+
]
10311040
}
10321041
}
10331042
},
@@ -1083,7 +1092,13 @@
10831092
"description": "The list of edges making up the graph.",
10841093
"items": {
10851094
"$ref": "#/definitions/GraphEdge"
1086-
}
1095+
},
1096+
"x-ms-identifiers": [
1097+
"sourceNodeId",
1098+
"sourcePortId",
1099+
"targetNodeId",
1100+
"targetPortId"
1101+
]
10871102
},
10881103
"graphParameters": {
10891104
"type": "object",
@@ -1176,7 +1191,11 @@
11761191
"description": "Association links for this parameter to nodes in the graph.",
11771192
"items": {
11781193
"$ref": "#/definitions/GraphParameterLink"
1179-
}
1194+
},
1195+
"x-ms-identifiers": [
1196+
"nodeId",
1197+
"parameterKey"
1198+
]
11801199
}
11811200
},
11821201
"required": [
@@ -1294,7 +1313,10 @@
12941313
"readOnly": true,
12951314
"items": {
12961315
"$ref": "#/definitions/AsyncOperationErrorInfo"
1297-
}
1316+
},
1317+
"x-ms-identifiers": [
1318+
"code"
1319+
]
12981320
}
12991321
}
13001322
},
@@ -1308,7 +1330,10 @@
13081330
"type": "array",
13091331
"items": {
13101332
"$ref": "#/definitions/OperationEntity"
1311-
}
1333+
},
1334+
"x-ms-identifiers": [
1335+
"name"
1336+
]
13121337
}
13131338
}
13141339
},

specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/machineLearningCompute.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,9 @@
602602
"items": {
603603
"$ref": "#/definitions/ErrorResponseWrapper"
604604
},
605+
"x-ms-identifiers": [
606+
"/error/code"
607+
],
605608
"readOnly": true
606609
},
607610
"clusterType": {
@@ -701,7 +704,10 @@
701704
"description": "The system services deployed to the cluster",
702705
"items": {
703706
"$ref": "#/definitions/SystemService"
704-
}
707+
},
708+
"x-ms-identifiers": [
709+
"publicIpAddress"
710+
]
705711
},
706712
"masterCount": {
707713
"type": "integer",
@@ -1176,7 +1182,10 @@
11761182
"description": "An array of error detail objects.",
11771183
"items": {
11781184
"$ref": "#/definitions/ErrorDetail"
1179-
}
1185+
},
1186+
"x-ms-identifiers": [
1187+
"code"
1188+
]
11801189
}
11811190
},
11821191
"required": [
@@ -1211,7 +1220,10 @@
12111220
"description": "An array of available operations.",
12121221
"items": {
12131222
"$ref": "#/definitions/ResourceOperation"
1214-
}
1223+
},
1224+
"x-ms-identifiers": [
1225+
"name"
1226+
]
12151227
}
12161228
}
12171229
},

specification/machinelearningexperimentation/resource-manager/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/machineLearningExperimentation.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,9 @@
12801280
"items": {
12811281
"$ref": "#/definitions/Operation"
12821282
},
1283+
"x-ms-identifiers": [
1284+
"name"
1285+
],
12831286
"description": "List of AML team account operations supported by the AML team account resource provider."
12841287
}
12851288
}

0 commit comments

Comments
 (0)