-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new routes for ADO OAuth added azurePipelineProfile obj
- Loading branch information
1 parent
614d4ee
commit 7f620e0
Showing
6 changed files
with
413 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...esource-manager/Microsoft.DevHub/preview/2024-08-01-preview/examples/ADOOAuthDefault.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...b/resource-manager/Microsoft.DevHub/preview/2024-08-01-preview/examples/ADOOAuthInfo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...b/resource-manager/Microsoft.DevHub/preview/2024-08-01-preview/examples/ADOOAuthList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.