Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenny So committed Aug 12, 2020
1 parent 73f6055 commit ef4bc95
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,51 +89,6 @@
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codeJobs/testCodeJob",
"name": "testCodeJob",
"type": "Microsoft.MachineLearningServices/workspaces/codeJobs",
"properties": {
"status": "NotStarted",
"codeConfiguration": {
"codeArtifactId": "some code artifact",
"startupCommand": "train.py --arg myArgument"
},
"environmentConfiguration": {
"environmentId": "some environment"
},
"dataBindings": {
"data binding 1": {
"sourceDataReference": "some data reference 1",
"localReference": "./",
"mode": "Mount"
},
"data binding 2": {
"sourceDataReference": "some data reference 2",
"localReference": "./",
"mode": "Mount"
}
},
"id": "testCodeJob",
"experimentName": "some experiment",
"properties": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"tags": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"computeBinding": {
"computeId": "some compute",
"nodeCount": 2
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
}
}
],
"continuationToken": "skipToken2",
"nextLink": "nextlink"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,29 @@
},
"responses": {
"200": {
"body": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/link-1",
"name": "link-1",
"type": "linkedWorkspaces",
"properties": {
"linkedWorkspaceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1",
"userAssignedIdentityResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/link-1",
"name": "link-1",
"type": "linkedWorkspaces",
"properties": {
"linkedWorkspaceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1",
"userAssignedIdentityResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/link-2",
"name": "link-2",
"type": "linkedWorkspaces",
"properties": {
"linkedWorkspaceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-2/providers/Microsoft.Synapse/workspaces/linkedWorkspace-2",
"userAssignedIdentityResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2"
}
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/link-2",
"name": "link-2",
"type": "linkedWorkspaces",
"properties": {
"linkedWorkspaceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-2/providers/Microsoft.Synapse/workspaces/linkedWorkspace-2",
"userAssignedIdentityResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2"
}
}
]
],
"nextLink": "nextLink"
}
}
}
}
}

0 comments on commit ef4bc95

Please sign in to comment.