Skip to content

Commit

Permalink
update bicep types to b8626aecc5f47b70086580956adfcd1e267a49e6 (#276)
Browse files Browse the repository at this point in the history
* update bicep types to b8626aecc5f47b70086580956adfcd1e267a49e6

* fix failed testcases
  • Loading branch information
ms-henglu authored Apr 4, 2023
1 parent 684d035 commit f3cef84
Show file tree
Hide file tree
Showing 221 changed files with 224 additions and 162 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
## v1.5.0
FEATURES:

ENHANCEMENTS:
- Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/b8626aecc5f47b70086580956adfcd1e267a49e6

BUG FIXES:

## v1.4.0
FEATURES:
- `azapi`: Support `default_name`, `default_naming_prefix` and `defualt_naming_suffix` features.
- Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/a915acab5788d890aed774ec818535b44311d16d

ENHANCEMENTS:
- Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/a915acab5788d890aed774ec818535b44311d16d

BUG FIXES:
- Fix a bug that when apply failed there still are some attributes stored in the state.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Microsoft.AlertsManagement/alerts"}},{"6":{"Value":"2018-05-05-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/alerts","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":2,"Description":"An alert created in alert management service."}}}},{"2":{"Name":"AlertProperties","Properties":{"severity":{"Type":17,"Flags":2,"Description":"Severity of alert Sev1 being highest and Sev3 being lowest."},"signalType":{"Type":21,"Flags":2,"Description":"Log based alert or metric based alert"},"alertState":{"Type":25,"Flags":2,"Description":"Alert object state"},"monitorCondition":{"Type":28,"Flags":2,"Description":"Condition of the rule at the monitor service"},"targetResource":{"Type":4,"Flags":0,"Description":"Target ARM resource, on which alert got created."},"targetResourceName":{"Type":4,"Flags":0,"Description":"Target ARM resource name, on which alert got created."},"targetResourceGroup":{"Type":4,"Flags":0,"Description":"Resource group of target ARM resource."},"targetResourceType":{"Type":4,"Flags":0,"Description":"Resource type of target ARM resource"},"monitorService":{"Type":43,"Flags":2,"Description":"Monitor service which is the source of the alert object."},"alertRule":{"Type":4,"Flags":2,"Description":"Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule."},"sourceCreatedId":{"Type":4,"Flags":2,"Description":"Unique Id created by monitor service"},"smartGroupId":{"Type":4,"Flags":2,"Description":"Unique Id of the smart group"},"smartGroupingReason":{"Type":4,"Flags":2,"Description":"Reason for addition to a smart group"},"startDateTime":{"Type":4,"Flags":2,"Description":"Creation time(ISO-8601 format)."},"lastModifiedDateTime":{"Type":4,"Flags":2,"Description":"Last modification time(ISO-8601 format)."},"lastModifiedUserName":{"Type":4,"Flags":2,"Description":"User who last modified the alert."},"payload":{"Type":0,"Flags":2,"Description":"More details which are contextual to the monitor service."},"actionStatus":{"Type":44,"Flags":0,"Description":"Action status"},"description":{"Type":4,"Flags":0,"Description":"Alert description."}}}},{"6":{"Value":"Sev0"}},{"6":{"Value":"Sev1"}},{"6":{"Value":"Sev2"}},{"6":{"Value":"Sev3"}},{"6":{"Value":"Sev4"}},{"5":{"Elements":[12,13,14,15,16,4]}},{"6":{"Value":"Metric"}},{"6":{"Value":"Log"}},{"6":{"Value":"Unknown"}},{"5":{"Elements":[18,19,20,4]}},{"6":{"Value":"New"}},{"6":{"Value":"Acknowledged"}},{"6":{"Value":"Closed"}},{"5":{"Elements":[22,23,24,4]}},{"6":{"Value":"Fired"}},{"6":{"Value":"Resolved"}},{"5":{"Elements":[26,27,4]}},{"6":{"Value":"Platform"}},{"6":{"Value":"Application Insights"}},{"6":{"Value":"Log Analytics"}},{"6":{"Value":"Zabbix"}},{"6":{"Value":"SCOM"}},{"6":{"Value":"Nagios"}},{"6":{"Value":"Infrastructure Insights"}},{"6":{"Value":"ActivityLog Administrative"}},{"6":{"Value":"ActivityLog Security"}},{"6":{"Value":"ActivityLog Recommendation"}},{"6":{"Value":"ActivityLog Policy"}},{"6":{"Value":"ActivityLog Autoscale"}},{"6":{"Value":"ServiceHealth"}},{"6":{"Value":"SmartDetector"}},{"5":{"Elements":[29,30,31,32,33,34,35,36,37,38,39,40,41,42,4]}},{"2":{"Name":"ActionStatus","Properties":{"isSuppressed":{"Type":2,"Flags":0,"Description":"Value indicating whether alert is suppressed."}}}},{"4":{"Name":"Microsoft.AlertsManagement/alerts@2018-05-05-preview","ScopeType":4,"Body":10,"Flags":1}},{"6":{"Value":"Microsoft.AlertsManagement/smartGroups"}},{"6":{"Value":"2018-05-05-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/smartGroups","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":46,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":47,"Flags":10,"Description":"The resource api version"},"properties":{"Type":49,"Flags":2,"Description":"Properties of smart group."}}}},{"2":{"Name":"SmartGroupProperties","Properties":{"alertsCount":{"Type":3,"Flags":0,"Description":"Total number of alerts in smart group"},"smartGroupState":{"Type":53,"Flags":2,"Description":"Smart group state"},"severity":{"Type":59,"Flags":2,"Description":"Severity of smart group is the highest(Sev0 >... > Sev4) severity of all the alerts in the group."},"startDateTime":{"Type":4,"Flags":2,"Description":"Creation time of smart group. Date-Time in ISO-8601 format."},"lastModifiedDateTime":{"Type":4,"Flags":2,"Description":"Last updated time of smart group. Date-Time in ISO-8601 format."},"lastModifiedUserName":{"Type":4,"Flags":2,"Description":"Last modified by user name."},"resources":{"Type":61,"Flags":0,"Description":"Summary of target resources in the smart group"},"resourceTypes":{"Type":62,"Flags":0,"Description":"Summary of target resource types in the smart group"},"resourceGroups":{"Type":63,"Flags":0,"Description":"Summary of target resource groups in the smart group"},"monitorServices":{"Type":64,"Flags":0,"Description":"Summary of monitorServices in the smart group"},"monitorConditions":{"Type":65,"Flags":0,"Description":"Summary of monitorConditions in the smart group"},"alertStates":{"Type":66,"Flags":0,"Description":"Summary of alertStates in the smart group"},"alertSeverities":{"Type":67,"Flags":0,"Description":"Summary of alertSeverities in the smart group"},"nextLink":{"Type":4,"Flags":0,"Description":"The URI to fetch the next page of alerts. Call ListNext() with this URI to fetch the next page alerts."}}}},{"6":{"Value":"New"}},{"6":{"Value":"Acknowledged"}},{"6":{"Value":"Closed"}},{"5":{"Elements":[50,51,52,4]}},{"6":{"Value":"Sev0"}},{"6":{"Value":"Sev1"}},{"6":{"Value":"Sev2"}},{"6":{"Value":"Sev3"}},{"6":{"Value":"Sev4"}},{"5":{"Elements":[54,55,56,57,58,4]}},{"2":{"Name":"SmartGroupAggregatedProperty","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the type."},"count":{"Type":3,"Flags":0,"Description":"Total number of items of type."}}}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"4":{"Name":"Microsoft.AlertsManagement/smartGroups@2018-05-05-preview","ScopeType":4,"Body":48,"Flags":1}},{"2":{"Name":"Alert","Properties":{"properties":{"Type":11,"Flags":0,"Description":"An alert created in alert management service."},"id":{"Type":4,"Flags":2,"Description":"Azure resource Id"},"type":{"Type":4,"Flags":2,"Description":"Azure resource type"},"name":{"Type":4,"Flags":2,"Description":"Azure resource name"}}}},{"8":{"Name":"changestate","ResourceType":"Microsoft.AlertsManagement/alerts","ApiVersion":"2018-05-05-preview","Output":69}},{"2":{"Name":"SmartGroup","Properties":{"properties":{"Type":49,"Flags":0,"Description":"Properties of smart group."},"id":{"Type":4,"Flags":2,"Description":"Azure resource Id"},"type":{"Type":4,"Flags":2,"Description":"Azure resource type"},"name":{"Type":4,"Flags":2,"Description":"Azure resource name"}}}},{"8":{"Name":"changeState","ResourceType":"Microsoft.AlertsManagement/smartGroups","ApiVersion":"2018-05-05-preview","Output":71}}]
[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Microsoft.AlertsManagement/alerts"}},{"6":{"Value":"2018-05-05-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/alerts","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":2,"Description":"An alert created in alert management service."}}}},{"2":{"Name":"AlertProperties","Properties":{"severity":{"Type":17,"Flags":2,"Description":"Severity of alert Sev1 being highest and Sev3 being lowest."},"signalType":{"Type":21,"Flags":2,"Description":"Log based alert or metric based alert"},"alertState":{"Type":25,"Flags":2,"Description":"Alert object state"},"monitorCondition":{"Type":28,"Flags":2,"Description":"Condition of the rule at the monitor service"},"targetResource":{"Type":4,"Flags":0,"Description":"Target ARM resource, on which alert got created."},"targetResourceName":{"Type":4,"Flags":0,"Description":"Target ARM resource name, on which alert got created."},"targetResourceGroup":{"Type":4,"Flags":0,"Description":"Resource group of target ARM resource."},"targetResourceType":{"Type":4,"Flags":0,"Description":"Resource type of target ARM resource"},"monitorService":{"Type":43,"Flags":2,"Description":"Monitor service which is the source of the alert object."},"alertRule":{"Type":4,"Flags":2,"Description":"Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule."},"sourceCreatedId":{"Type":4,"Flags":2,"Description":"Unique Id created by monitor service"},"smartGroupId":{"Type":4,"Flags":2,"Description":"Unique Id of the smart group"},"smartGroupingReason":{"Type":4,"Flags":2,"Description":"Reason for addition to a smart group"},"startDateTime":{"Type":4,"Flags":2,"Description":"Creation time(ISO-8601 format)."},"lastModifiedDateTime":{"Type":4,"Flags":2,"Description":"Last modification time(ISO-8601 format)."},"lastModifiedUserName":{"Type":4,"Flags":2,"Description":"User who last modified the alert."},"payload":{"Type":0,"Flags":2,"Description":"More details which are contextual to the monitor service."},"actionStatus":{"Type":44,"Flags":0,"Description":"Action status"},"description":{"Type":4,"Flags":0,"Description":"Alert description."}}}},{"6":{"Value":"Sev0"}},{"6":{"Value":"Sev1"}},{"6":{"Value":"Sev2"}},{"6":{"Value":"Sev3"}},{"6":{"Value":"Sev4"}},{"5":{"Elements":[12,13,14,15,16,4]}},{"6":{"Value":"Metric"}},{"6":{"Value":"Log"}},{"6":{"Value":"Unknown"}},{"5":{"Elements":[18,19,20,4]}},{"6":{"Value":"New"}},{"6":{"Value":"Acknowledged"}},{"6":{"Value":"Closed"}},{"5":{"Elements":[22,23,24,4]}},{"6":{"Value":"Fired"}},{"6":{"Value":"Resolved"}},{"5":{"Elements":[26,27,4]}},{"6":{"Value":"Platform"}},{"6":{"Value":"Application Insights"}},{"6":{"Value":"Log Analytics"}},{"6":{"Value":"Zabbix"}},{"6":{"Value":"SCOM"}},{"6":{"Value":"Nagios"}},{"6":{"Value":"Infrastructure Insights"}},{"6":{"Value":"ActivityLog Administrative"}},{"6":{"Value":"ActivityLog Security"}},{"6":{"Value":"ActivityLog Recommendation"}},{"6":{"Value":"ActivityLog Policy"}},{"6":{"Value":"ActivityLog Autoscale"}},{"6":{"Value":"ServiceHealth"}},{"6":{"Value":"SmartDetector"}},{"5":{"Elements":[29,30,31,32,33,34,35,36,37,38,39,40,41,42,4]}},{"2":{"Name":"ActionStatus","Properties":{"isSuppressed":{"Type":2,"Flags":0,"Description":"Value indicating whether alert is suppressed."}}}},{"4":{"Name":"Microsoft.AlertsManagement/alerts@2018-05-05-preview","ScopeType":4,"Body":10,"Flags":1}},{"6":{"Value":"Microsoft.AlertsManagement/smartGroups"}},{"6":{"Value":"2018-05-05-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/smartGroups","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":46,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":47,"Flags":10,"Description":"The resource api version"},"properties":{"Type":49,"Flags":2,"Description":"Properties of smart group."}}}},{"2":{"Name":"SmartGroupProperties","Properties":{"alertsCount":{"Type":3,"Flags":0,"Description":"Total number of alerts in smart group"},"smartGroupState":{"Type":53,"Flags":2,"Description":"Smart group state"},"severity":{"Type":59,"Flags":2,"Description":"Severity of smart group is the highest(Sev0 >... > Sev4) severity of all the alerts in the group."},"startDateTime":{"Type":4,"Flags":2,"Description":"Creation time of smart group. Date-Time in ISO-8601 format."},"lastModifiedDateTime":{"Type":4,"Flags":2,"Description":"Last updated time of smart group. Date-Time in ISO-8601 format."},"lastModifiedUserName":{"Type":4,"Flags":2,"Description":"Last modified by user name."},"resources":{"Type":61,"Flags":0,"Description":"Summary of target resources in the smart group"},"resourceTypes":{"Type":62,"Flags":0,"Description":"Summary of target resource types in the smart group"},"resourceGroups":{"Type":63,"Flags":0,"Description":"Summary of target resource groups in the smart group"},"monitorServices":{"Type":64,"Flags":0,"Description":"Summary of monitorServices in the smart group"},"monitorConditions":{"Type":65,"Flags":0,"Description":"Summary of monitorConditions in the smart group"},"alertStates":{"Type":66,"Flags":0,"Description":"Summary of alertStates in the smart group"},"alertSeverities":{"Type":67,"Flags":0,"Description":"Summary of alertSeverities in the smart group"},"nextLink":{"Type":4,"Flags":0,"Description":"The URI to fetch the next page of alerts. Call ListNext() with this URI to fetch the next page alerts."}}}},{"6":{"Value":"New"}},{"6":{"Value":"Acknowledged"}},{"6":{"Value":"Closed"}},{"5":{"Elements":[50,51,52,4]}},{"6":{"Value":"Sev0"}},{"6":{"Value":"Sev1"}},{"6":{"Value":"Sev2"}},{"6":{"Value":"Sev3"}},{"6":{"Value":"Sev4"}},{"5":{"Elements":[54,55,56,57,58,4]}},{"2":{"Name":"SmartGroupAggregatedProperty","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the type."},"count":{"Type":3,"Flags":0,"Description":"Total number of items of type."}}}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"3":{"ItemType":60}},{"4":{"Name":"Microsoft.AlertsManagement/smartGroups@2018-05-05-preview","ScopeType":4,"Body":48,"Flags":1}}]
Loading

0 comments on commit f3cef84

Please sign in to comment.