Skip to content

Commit

Permalink
Merge pull request #1 from zhaomuzhi/user/muzhao/workspaceConnection
Browse files Browse the repository at this point in the history
add new workspace connection contract
  • Loading branch information
debuggerXi authored Feb 12, 2022
2 parents f1aba2e + 59d14f1 commit 5e7b235
Show file tree
Hide file tree
Showing 4 changed files with 295 additions and 153 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"api-version": "2022-01-01-preview",
"parameters": {
"properties": {
"category": "ACR",
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT",
"value": "secrets"
"credentials": {
"pat": "secret"
}
}
}
},
Expand All @@ -21,10 +23,9 @@
"name": "connection-1",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ACR",
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT",
"value": "secrets"
"authType": "PAT"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"name": "connection-1",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ACR",
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT",
"value": "secrets"
"authType": "None"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,30 @@
"workspaceName": "workspace-1",
"api-version": "2022-01-01-preview",
"target": "www.facebook.com",
"category": "ACR"
"category": "ContainerRegistry"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1",
"name": "connection-1",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ACR",
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT",
"value": "secrets"
"authType": "None"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-2",
"name": "connection-2",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ACR",
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT",
"value": "secrets"
"authType": "PAT"
}
}
]
Expand Down
Loading

0 comments on commit 5e7b235

Please sign in to comment.