forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Swagger Doc for Settings API (Azure#13241)
- Loading branch information
Showing
6 changed files
with
319 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1123,6 +1123,7 @@ mypath | |
mypicture | ||
mypictures | ||
myregistry | ||
myscope | ||
myshopify | ||
mysite | ||
mysquare | ||
|
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
19 changes: 19 additions & 0 deletions
19
...agement/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/Setting.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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01", | ||
"settingName": "myscope" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.CostManagement/settings/myscope", | ||
"name": "myscope", | ||
"kind": "user", | ||
"type": "Microsoft.CostManagement/settings", | ||
"properties": { | ||
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...e-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SettingsCreateOrUpdate.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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01", | ||
"settingName": "myscope", | ||
"parameters": { | ||
"properties": { | ||
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.CostManagement/settings/myscope", | ||
"name": "myscope", | ||
"kind": "user", | ||
"type": "Microsoft.CostManagement/settings", | ||
"properties": { | ||
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
.../resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SettingsDelete.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,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01", | ||
"settingName": "TestSettings" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...nt/resource-manager/Microsoft.CostManagement/stable/2019-11-01/examples/SettingsList.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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.CostManagement/settings/myscope", | ||
"name": "myscope", | ||
"kind": "user", | ||
"type": "Microsoft.CostManagement/settings", | ||
"properties": { | ||
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |