Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.DelegatedNetwork to add …
Browse files Browse the repository at this point in the history
…version preview/2023-05-18 (Azure#24148)

* Adding new preview version for DNC API to expose optional "purpose" parameter when creating a controller (Azure#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

* adding operations list test for new preview version

* updating scenarios based on autorest generate-api-scenario static
  • Loading branch information
thomasricci authored and harryli0108 committed Jul 28, 2023
1 parent 615c758 commit 2ba24ad
Show file tree
Hide file tree
Showing 29 changed files with 2,364 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 2ba24ad

Please sign in to comment.