-
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.
[python]track2 config for some services (#15007)
* consumption * delete track1 config
- Loading branch information
Showing
8 changed files
with
84 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## 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) && $(track2) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
namespace: azure.mgmt.advisor | ||
package-name: azure-mgmt-advisor | ||
package-version: 9.0.0b1 | ||
clear-output-folder: true | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'update' && $(track2) | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor/azure/mgmt/advisor | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'create' && $(track2) | ||
basic-setup-py: true | ||
output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor | ||
``` |
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,48 @@ | ||
## Python | ||
|
||
These settings apply only when `--track2` is specified on the command line. | ||
|
||
``` yaml $(track2) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
package-name: azure-mgmt-commerce | ||
package-version: 1.0.0b1 | ||
no-namespace-folders: true | ||
``` | ||
### Python multi-api | ||
Generate all API versions currently shipped for this package | ||
```yaml $(multiapi) | ||
clear-output-folder: true | ||
batch: | ||
- tag: package-2015-06-preview | ||
- multiapiscript: true | ||
``` | ||
``` yaml $(multiapiscript) | ||
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/ | ||
clear-output-folder: false | ||
perform-load: false | ||
``` | ||
### Tag: package-2015-06-preview and python | ||
These settings apply only when `--tag=package-2015-06-preview --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>`. | ||
|
||
``` yaml $(tag) == 'package-2015-06-preview' | ||
namespace: azure.mgmt.commerce.v2015_06_01_preview | ||
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/v2015_06_01_preview | ||
``` | ||
|
||
``` yaml $(python) && $(track2) | ||
modelerfour: | ||
lenient-model-deduplication: true | ||
directive: | ||
- from: swagger-document | ||
where: $.definitions.OfferTermInfo.properties.Name | ||
transform: > | ||
$['x-ms-enum']['name'] = 'OfferTermInfoEnum'; | ||
``` |
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
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