Skip to content

Commit

Permalink
introduce a composite tag for monitor (#19944)
Browse files Browse the repository at this point in the history
* introduce a composite tag for monitor

* add a preview tag

* change it to be newer
  • Loading branch information
ArcturusZhang authored Jul 28, 2022
1 parent 95b1e03 commit 3d2904e
Showing 1 changed file with 8 additions and 101 deletions.
109 changes: 8 additions & 101 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,57 +35,26 @@ title: MonitorManagementClient
``` yaml
description: Monitor Management Client
openapi-type: arm
tag: package-2022-10
tag: package-composite-v1

directive:
- suppress: Example Validations
reason: There are open issues (bugs) in the validator affecting some of the examples and since there is no way to selectively disable the validation for a particular example or paths, all of the example validation is being turned off.
```
### Tag: package-2022-10
### Tag: package-composite-v1
These settings apply only when `--tag=package-2022-10` is specified on the command line
These settings apply only when `--tag=package-composite-v1` is specified on the command line.

``` yaml $(tag) == 'package-2022-10'
``` yaml $(tag) == 'package-composite-v1'
input-file:
- Microsoft.Insights/stable/2022-10-01/autoscale_API.json
- Microsoft.Insights/stable/2015-04-01/operations_API.json
- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
- Microsoft.Insights/stable/2018-01-01/metrics_API.json
- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json
- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json
```

### Tag: package-2022-06

These settings apply only when `--tag=package-2022-06` is specified on the command line

``` yaml $(tag) == 'package-2022-06'
input-file:
- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
- Microsoft.Insights/stable/2015-04-01/operations_API.json
- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json
- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
Expand All @@ -97,7 +66,7 @@ input-file:
- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json
- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json
- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json
Expand All @@ -113,37 +82,6 @@ input-file:
- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json
```

### Tag: package-2022-04

These settings apply only when `--tag=package-2022-04` is specified on the command line

``` yaml $(tag) == 'package-2022-04'
input-file:
- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
- Microsoft.Insights/stable/2015-04-01/operations_API.json
- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
- Microsoft.Insights/stable/2022-04-01/actionGroups_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
- Microsoft.Insights/stable/2018-01-01/metrics_API.json
- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json
- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json
```

### Tag: package-2022-04-01-only

These settings apply only when `--tag=package-2022-04-01-only` is specified on the command line
Expand Down Expand Up @@ -229,37 +167,6 @@ input-file:
- Microsoft.Insights/stable/2021-08-01/scheduledQueryRule_API.json
```

### Tag: package-2022-02

These settings apply only when `--tag=package-2022-02` is specified on the command line

``` yaml $(tag) == 'package-2022-02'
input-file:
- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
- Microsoft.Insights/stable/2015-04-01/operations_API.json
- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
- Microsoft.Insights/stable/2021-09-01/actionGroups_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
- Microsoft.Insights/stable/2018-01-01/metrics_API.json
- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json
- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json
```

### Tag: package-2022-02-01-preview-only

These settings apply only when `--tag=package-2022-02-01-preview-only` is specified on the command line.
Expand Down Expand Up @@ -1105,7 +1012,7 @@ directive:

This section is a temporary solution to resolve the failure in those pipeline that is still using modeler v1.

``` yaml ($(go) && !$(track2) && ($(tag) == 'package-2021-07' || $(tag) == 'package-2021-09' || $(tag) == 'package-2022-02' || $(tag) == 'package-2022-04' || $(tag) == 'package-2022-06' || $(tag) == 'package-2022-10')) || $(csharp) || $(validation)
``` yaml ($(go) && !$(track2) && ($(tag) == 'package-2021-07' || $(tag) == 'package-2021-09') || $(csharp) || $(validation)
directive:
- from: activityLogAlerts_API.json
where: $.definitions
Expand Down

0 comments on commit 3d2904e

Please sign in to comment.