Skip to content

Commit

Permalink
Adding new preview version for DNC API to expose optional "purpose" p…
Browse files Browse the repository at this point in the history
…arameter when creating a controller (#24097)

* creating new preview version "2013-05-18-preview" for DNC API

* updating api version in files

* adding purpose flag

* updating readme files

* moving "purpose" to custom props section

* setting default for back compat

* fix tests

* adding location header to DELETE APIs

* Removing 202 for deletes since not used in our RP

* removing long running op flag from DELETE apis

* rollback 202 changes for DELETE APIs and adding the LRO Location header
  • Loading branch information
thomasricci authored May 24, 2023
1 parent 60409c8 commit 729c99d
Show file tree
Hide file tree
Showing 27 changed files with 2,349 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-18-preview",
"title": "DNC",
"description": "DNC web api provides way to create, get and delete dnc controller"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"controllerDetails": {
"description": "controller details",
"type": "object",
"properties": {
"id": {
"description": "controller arm resource id",
"type": "string"
}
}
}
}
}
Loading

0 comments on commit 729c99d

Please sign in to comment.