Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Insights to add version preview/2020-05-01-preview #10891

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"LessThanOrEqual"
],
"x-ms-enum": {
"name": "Operator",
"name": "conditionOperator",
"modelAsString": true
},
"description": "The criteria operator."
Expand All @@ -526,11 +526,15 @@
"description": "The minimum number of violations required within the selected lookback time window required to raise an alert.",
"properties": {
"numberOfEvaluationPeriods": {
"type": "number",
"type": "integer",
"format": "int64",
"default": 1,
"description": "The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1"
},
"minFailingPeriodsToAlert": {
"type": "number",
"type": "integer",
"format": "int64",
"default": 1,
"description": "The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1"
}
}
Expand Down Expand Up @@ -558,7 +562,7 @@
"Exclude"
],
"x-ms-enum": {
"name": "operator",
"name": "dimensionOperator",
"modelAsString": true
}
},
Expand Down
15 changes: 15 additions & 0 deletions specification/monitor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Generate all API versions currently shipped for this package

```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2020-05-preview
- tag: package-2020-01-01-preview-only
- tag: package-2019-10-17-preview-only
- tag: package-2019-06-01-only
Expand All @@ -54,6 +55,7 @@ batch:
```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-2020-05-preview
- tag: package-2020-01-01-preview-only
- tag: package-2019-10-17-preview-only
- tag: package-2019-06-01-only
Expand Down Expand Up @@ -82,6 +84,19 @@ clear-output-folder: false
perform-load: false
```

### Tag: package-2020-05-preview and python

These settings apply only when `--tag=package-2020-05-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-2020-05-preview'
namespace: $(python-base-namespace).v2020_05_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview
python:
namespace: $(python-base-namespace).v2020_05_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview
```

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

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