-
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.
Blueprints API update for excludedPrincipals and whoIsBlueprint (#5470)
* Make swagger changes to support whoIsBlueprint and excludedPrincipals scenarios * Update typo and descriptions * Incorporate feedback * fix autorest warning * Update parameters block for the URL params * Fix names of referenced json files * Update package name * update readme files * Update description * Update specification/blueprint/resource-manager/readme.typescript.md Co-Authored-By: filizt <filizkurban@gmail.com> * Update specification/blueprint/resource-manager/readme.typescript.md Co-Authored-By: filizt <filizkurban@gmail.com> * Update description with for each enum value * Fix description one more time * Update more descriptions * Update descriptions to match with ScopeParameter type
- Loading branch information
1 parent
7d66941
commit a8b96bf
Showing
7 changed files
with
122 additions
and
37 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
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
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
14 changes: 14 additions & 0 deletions
14
...anager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-01-preview", | ||
"scope": "subscriptions/{subscriptionId}", | ||
"assignmentName": "assignSimpleBlueprint" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"objectId" : "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
} | ||
} |
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
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,28 @@ | ||
## Python | ||
|
||
These settings apply only when `--python` is specified on the command line. | ||
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`. | ||
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. | ||
|
||
``` yaml $(python) | ||
python-mode: create | ||
python: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 2 | ||
namespace: azure.mgmt.blueprint | ||
package-name: azure-mgmt-blueprint | ||
title: BlueprintManagementClient | ||
description: The Blueprint Client. | ||
clear-output-folder: true | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'update' | ||
python: | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/azure-mgmt-blueprint/azure/mgmt/blueprint | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'create' | ||
python: | ||
basic-setup-py: true | ||
output-folder: $(python-sdks-folder)/azure-mgmt-blueprint | ||
``` |
12 changes: 12 additions & 0 deletions
12
specification/blueprint/resource-manager/readme.typescript.md
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,12 @@ | ||
## TypeScript | ||
|
||
These settings apply only when `--typescript` is specified on the command line. | ||
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`. | ||
|
||
``` yaml $(typescript) | ||
typescript: | ||
azure-arm: true | ||
package-name: "@azure/arm-blueprint" | ||
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-blueprint" | ||
generate-metadata: true | ||
``` |