Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codeJobs/{id}": {
"put": {
"tags": [
"CodeJob"
"CodeJobs"
],
"description": "Creates and executes a CodeJob.",
"operationId": "CodeJob_CreateOrUpdate",
"operationId": "CodeJobs_CreateOrUpdate",
"x-ms-examples": {
"Create or update CodeJob": {
"$ref": "./examples/createOrUpdateCodeJob.json"
Expand Down Expand Up @@ -102,10 +102,10 @@
},
"get": {
"tags": [
"CodeJob"
"CodeJobs"
],
"description": "Gets a CodeJob by name/id.",
"operationId": "CodeJob_Get",
"operationId": "CodeJobs_Get",
"x-ms-examples": {
"Get CodeJob": {
"$ref": "./examples/getCodeJob.json"
Expand Down Expand Up @@ -152,10 +152,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codeJobs": {
"get": {
"tags": [
"CodeJob"
"CodeJobs"
],
"description": "Lists CodeJobs in the workspace.",
"operationId": "CodeJob_List",
"operationId": "CodeJobs_List",
"x-ms-examples": {
"List CodeJobs": {
"$ref": "./examples/listCodeJobs.json"
Expand Down Expand Up @@ -362,7 +362,7 @@
}
}
},
"CodeJob": {
"CodeJobProperties": {
"description": "Code Job definition",
"type": "object",
"properties": {
Expand Down Expand Up @@ -436,7 +436,7 @@
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/CodeJob"
"$ref": "#/definitions/CodeJobProperties"
}
}
},
Expand Down Expand Up @@ -498,25 +498,15 @@
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "The resource URL of the entity (not URL encoded).",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the resource entity.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The resource provider and type.",
"type": "string",
"readOnly": true
},
"properties": {
"$ref": "#/definitions/CodeJob"
"$ref": "#/definitions/CodeJobProperties"
}
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
]
},
"CodeJobResourceArmDtoPaginatedResult": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,9 @@
"tags": [
"LinkedWorkspaces"
],
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"ListLinkedWorkspaces": {
"$ref": "./examples/listLinkedWorkspaces.json"
Expand All @@ -1263,11 +1266,7 @@
"200": {
"description": "Successfully retrieved the linked workspaces.",
"schema": {
"type": "array",
"description": "array of linked workspaces.",
"items": {
"$ref": "#/definitions/LinkedWorkspace"
}
"$ref": "#/definitions/PaginatedLinkedWorkspaceList"
}
},
"default": {
Expand Down Expand Up @@ -1904,7 +1903,7 @@
"description": "An object that represents a machine learning workspace.",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/MachineLearningResource"
}
],
"properties": {
Expand Down Expand Up @@ -2597,7 +2596,7 @@
}
}
},
"Resource": {
"MachineLearningResource": {
"description": "Azure Resource Manager resource envelope.",
"x-ms-azure-resource": true,
"properties": {
Expand Down Expand Up @@ -2725,7 +2724,7 @@
"description": "Machine Learning compute object wrapped into ARM resource envelope.",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/MachineLearningResource"
},
{
"type": "object",
Expand Down Expand Up @@ -3785,7 +3784,7 @@
},
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/MachineLearningResource"
}
],
"description": "The Private Endpoint Connection resource."
Expand Down Expand Up @@ -3889,7 +3888,7 @@
},
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/MachineLearningResource"
}
],
"description": "A private link resource"
Expand Down Expand Up @@ -4051,12 +4050,33 @@
}
}
},
"PaginatedLinkedWorkspaceList": {
"type": "object",
"description": "Paginated list of Machine Learning Linked Workspace objects wrapped in ARM resource envelope.",
"required": [
"nextLink"
],
"properties": {
"value": {
"readOnly": true,
"type": "array",
"description": "An array of Machine Learning Linked Workspace objects wrapped in ARM resource envelope.",
"items": {
"$ref": "#/definitions/LinkedWorkspace"
}
},
"nextLink": {
"type": "string",
"description": "A continuation link (absolute URI) to the next page of results in the list."
}
}
},
"ServiceResource": {
"type": "object",
"description": "Machine Learning service object wrapped into ARM resource envelope.",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/MachineLearningResource"
},
{
"type": "object",
Expand Down