Skip to content

Commit

Permalink
add applicationinsights track2 config (#12001)
Browse files Browse the repository at this point in the history
* add applicationinsights track2 config

* fix
  • Loading branch information
00Kai0 authored Jan 28, 2021
1 parent b8daa04 commit d95daf6
Showing 1 changed file with 76 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## python
These settings apply only when `--python` is specified on the command line.

```yaml $(python)
```yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
Expand All @@ -13,9 +13,30 @@ python:
clear-output-folder: true
no-namespace-folders: true
```
```yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-applicationinsights
clear-output-folder: true
no-namespace-folders: true
modelerfour:
lenient-model-deduplication: true
```
### Python multi-api
``` yaml $(python) && $(multiapi)
``` yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-2015-05
- tag: package-2017-10
- tag: package-2018-05-01-preview
- tag: package-2018-06-17-preview
- tag: package-2019-10-17-preview
- tag: package-2020-02-02-preview
- tag: package-2020-03-01-preview
- tag: package-preview-2020-06-only
```
``` yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2015-05
- tag: package-2017-10
Expand All @@ -25,77 +46,123 @@ batch:
- tag: package-2020-02-02-preview
- tag: package-2020-03-01-preview
- tag: package-preview-2020-06-only
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/
clear-output-folder: false
perform-load: false
```
### 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)
``` yaml $(tag) == 'package-2015-05' && $(python) && !$(track2)
python:
namespace: azure.mgmt.applicationinsights.v2015_05_01
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01
```
``` yaml $(tag) == 'package-2015-05' && $(python) && $(track2)
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)
``` yaml $(tag) == 'package-2017-10' && $(python) && !$(track2)
python:
namespace: azure.mgmt.applicationinsights.v2017_10_01
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
```
``` yaml $(tag) == 'package-2017-10' && $(python) && $(track2)
namespace: azure.mgmt.applicationinsights.v2017_10_01
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
```

### 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)
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && !$(track2)
python:
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview
```
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && $(track2)
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)
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && !$(track2)
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
```
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && $(track2)
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)
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && !$(track2)
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
```
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && $(track2)
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-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)
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && !$(track2)
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
```
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && $(track2)
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)
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && !$(track2)
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
```
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && $(track2)
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview
```

### Tag: package-preview-2020-06-only and python

These settings apply only when `--tag=package-preview-2020-06-only --python` is specified on the command line.

``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && !$(track2)
python:
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02-preview
```
``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && $(track2)
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview
```

0 comments on commit d95daf6

Please sign in to comment.