-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix readme for application insights in python (#8979)
* fix readme * fix * fix * reveert
- Loading branch information
1 parent
12d0222
commit 548d909
Showing
2 changed files
with
101 additions
and
11 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
106 changes: 95 additions & 11 deletions
106
specification/applicationinsights/resource-manager/readme.python.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 |
---|---|---|
@@ -1,27 +1,111 @@ | ||
## Python | ||
|
||
## 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) | ||
```yaml $(python) | ||
python-mode: create | ||
python: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 2 | ||
namespace: azure.mgmt.applicationinsights | ||
package-name: azure-mgmt-applicationinsights | ||
package-version: 0.2.0 | ||
clear-output-folder: true | ||
no-namespace-folders: true | ||
``` | ||
### Python multi-api | ||
``` yaml $(python) && $(multiapi) | ||
batch: | ||
- tag: package-2015-05 | ||
- tag: package-2017-10 | ||
- tag: package-2018-05-01-preview | ||
- tag: package-2018-06-17-preview | ||
- tag: package-2019-09-01-preview | ||
- tag: package-2019-10-17-preview | ||
- tag: package-2020-02-02-preview | ||
- tag: package-2020-03-01-preview | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'update' | ||
### Tag: package-2015-05 and python | ||
These settings apply only when `--tag=package-2015-05 --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2015-05' && $(python) | ||
python: | ||
no-namespace-folders: true | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights | ||
namespace: azure.mgmt.applicationinsights.v2015_05_01 | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01 | ||
``` | ||
|
||
### Tag: package-2017-10 and python | ||
|
||
These settings apply only when `--tag=package-2017-10 --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2017-10' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2017_10_01 | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01 | ||
``` | ||
``` yaml $(python) && $(python-mode) == 'create' | ||
|
||
### Tag: package-2018-06-17-preview and python | ||
|
||
These settings apply only when `--tag=package-2018-06-17-preview --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) | ||
python: | ||
basic-setup-py: true | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights | ||
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview | ||
``` | ||
|
||
### Tag: package-2019-10-17-preview and python | ||
|
||
These settings apply only when `--tag=package-2019-10-17-preview --python` is specified on the command line. | ||
|
||
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2019_10_17_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview | ||
``` | ||
|
||
### Tag: package-2018-05-01-preview and python | ||
|
||
These settings apply only when `--tag=package-2018-05-01-preview --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2018_05_01_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview | ||
``` | ||
|
||
### Tag: package-2019-09-01-preview and python | ||
|
||
These settings apply only when `--tag=package-2019-09-01-preview --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2019-09-01-preview' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2019_09_01_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_09_01_preview | ||
``` | ||
|
||
### Tag: package-2020-02-02-preview and python | ||
|
||
These settings apply only when `--tag=package-2020-02-02-preview --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2020_02_02_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview | ||
``` | ||
|
||
### Tag: package-2020-03-01-preview and python | ||
|
||
These settings apply only when `--tag=package-2020-03-01-preview --python` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) | ||
python: | ||
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview | ||
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview | ||
``` | ||
|
||
|
||
|