Skip to content

Commit

Permalink
new devhub changes
Browse files Browse the repository at this point in the history
removed x-ms-client-flatten
added new routes for ADO OAuth
added azurePipelineProfile obj
  • Loading branch information
bosesuneha committed Jul 30, 2024
1 parent 614d4ee commit 33a1614
Show file tree
Hide file tree
Showing 6 changed files with 419 additions and 12 deletions.
7 changes: 7 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,13 @@
"words": [
"systemversionname"
]
},
{
"filename": "**/specification/developerhub/resource-manager/Microsoft.DevHub/preview/**/workflow.json",
"words": [
"adooauth",
"ADOO"
]
}
],
"enableFiletypes": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01",
"code": "3584d83530557fdd1f46af8289938c8ef79f9dc5",
"state": "12345678-3456-7890-5678-012345678901"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevHub/locations/eastus2euap/adooauth/default",
"type": "Microsoft.DevHub/locations/adooauth",
"name": "default",
"properties": {
"username": "user"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01",
"parameters": {
"redirectUrl": "https://ms.portal.azure.com/aks"
}
},
"responses": {
"200": {
"body": {
"authURL": "https://login.microsoftonline.com/common/oauth2/authorize?client_id=11111111&response_type=code&state=1234567-9123-4567-8912-234567890123&scope=offline_access%20openid%20vso.profile&redirect_uri=https://management.azure.com/subscriptions/subscriptionId1/providers/Microsoft.DevHub/locations/eastus2euap/adooauth",
"token": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevHub/locations/eastus2euap/adooauth/default",
"type": "Microsoft.DevHub/locations/adooauth",
"name": "default",
"properties": {
"username": "user"
}
}
]
}
}
}
}
Loading

0 comments on commit 33a1614

Please sign in to comment.