Skip to content

Commit

Permalink
update bicep types to 505b813ce50368156e3da1b86f07977b5a913be9
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Nov 3, 2023
1 parent 9fb2437 commit ffb807d
Show file tree
Hide file tree
Showing 156 changed files with 157 additions and 44 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## v1.10.0 (unreleased)
## v1.10.0
FEATURES:
- Support auto-completion with verified examples.

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

## v1.9.0
FEATURES:
- **New Data Source**: azapi_resource_list
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +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":"2023-07-12-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":"Alert property bag"}}}},{"2":{"Name":"AlertProperties","Properties":{"essentials":{"Type":12,"Flags":0,"Description":"This object contains consistent fields across different monitor services."},"context":{"Type":0,"Flags":2,"Description":"Information specific to the monitor service that gives more contextual details about the alert."},"egressConfig":{"Type":0,"Flags":2,"Description":"Config which would be used for displaying the data in portal."}}}},{"2":{"Name":"Essentials","Properties":{"severity":{"Type":18,"Flags":2,"Description":"Severity of alert Sev0 being highest and Sev4 being lowest."},"signalType":{"Type":22,"Flags":2,"Description":"The type of signal the alert is based on, which could be metrics, logs or activity logs."},"alertState":{"Type":26,"Flags":2,"Description":"Alert object state, which can be modified by the user."},"monitorCondition":{"Type":29,"Flags":2,"Description":"Condition of the rule at the monitor service. It represents whether the underlying conditions have crossed the defined alert rule thresholds."},"targetResource":{"Type":4,"Flags":0,"Description":"Target ARM resource, on which alert got created."},"targetResourceName":{"Type":4,"Flags":0,"Description":"Name of the target ARM resource name, on which alert got created."},"targetResourceGroup":{"Type":4,"Flags":0,"Description":"Resource group of target ARM resource, on which alert got created."},"targetResourceType":{"Type":4,"Flags":0,"Description":"Resource type of target ARM resource, on which alert got created."},"monitorService":{"Type":45,"Flags":2,"Description":"Monitor service on which the rule(monitor) is set."},"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 for each alert instance. This could be used to track the issue at the monitor service, in case of Nagios, Zabbix, SCOM etc."},"smartGroupId":{"Type":4,"Flags":2,"Description":"Unique Id of the smart group"},"smartGroupingReason":{"Type":4,"Flags":2,"Description":"Verbose reason describing the reason why this alert instance is added to a smart group"},"startDateTime":{"Type":4,"Flags":2,"Description":"Creation time(ISO-8601 format) of alert instance."},"lastModifiedDateTime":{"Type":4,"Flags":2,"Description":"Last modification time(ISO-8601 format) of alert instance."},"monitorConditionResolvedDateTime":{"Type":4,"Flags":2,"Description":"Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met."},"lastModifiedUserName":{"Type":4,"Flags":2,"Description":"User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user."},"actionStatus":{"Type":46,"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":[13,14,15,16,17,4]}},{"6":{"Value":"Metric"}},{"6":{"Value":"Log"}},{"6":{"Value":"Unknown"}},{"5":{"Elements":[19,20,21,4]}},{"6":{"Value":"New"}},{"6":{"Value":"Acknowledged"}},{"6":{"Value":"Closed"}},{"5":{"Elements":[23,24,25,4]}},{"6":{"Value":"Fired"}},{"6":{"Value":"Resolved"}},{"5":{"Elements":[27,28,4]}},{"6":{"Value":"Application Insights"}},{"6":{"Value":"ActivityLog Administrative"}},{"6":{"Value":"ActivityLog Security"}},{"6":{"Value":"ActivityLog Recommendation"}},{"6":{"Value":"ActivityLog Policy"}},{"6":{"Value":"ActivityLog Autoscale"}},{"6":{"Value":"Log Analytics"}},{"6":{"Value":"Nagios"}},{"6":{"Value":"Platform"}},{"6":{"Value":"SCOM"}},{"6":{"Value":"ServiceHealth"}},{"6":{"Value":"SmartDetector"}},{"6":{"Value":"VM Insights"}},{"6":{"Value":"Zabbix"}},{"6":{"Value":"Resource Health"}},{"5":{"Elements":[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,4]}},{"2":{"Name":"ActionStatus","Properties":{"isSuppressed":{"Type":2,"Flags":0,"Description":"Value indicating whether alert is suppressed."}}}},{"4":{"Name":"Microsoft.AlertsManagement/alerts@2023-07-12-preview","ScopeType":0,"Body":10,"Flags":1}},{"6":{"Value":"default"}},{"6":{"Value":"Microsoft.AlertsManagement/alerts/enrichments"}},{"6":{"Value":"2023-07-12-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/alerts/enrichments","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":48,"Flags":9,"Description":"The resource name"},"type":{"Type":49,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":50,"Flags":10,"Description":"The resource api version"},"properties":{"Type":52,"Flags":2,"Description":"Properties of the alert enrichment item."},"systemData":{"Type":64,"Flags":2,"Description":"Azure Resource Manager metadata containing createdBy and modifiedBy information."}}}},{"2":{"Name":"AlertEnrichmentProperties","Properties":{"alertId":{"Type":4,"Flags":2,"Description":"Unique Id (GUID) of the alert for which the enrichments are being retrieved."},"enrichments":{"Type":63,"Flags":0,"Description":"Enrichment details"}}}},{"7":{"Name":"AlertEnrichmentItem","Discriminator":"type","BaseProperties":{"title":{"Type":4,"Flags":1,"Description":"The enrichment title."},"description":{"Type":4,"Flags":1,"Description":"The enrichment description."},"status":{"Type":56,"Flags":1,"Description":"The status of the evaluation of the enrichment."},"errorMessage":{"Type":4,"Flags":0,"Description":"The error message. Will be present only if the status is 'Failed'."}},"Elements":{"PrometheusInstantQuery":57,"PrometheusRangeQuery":60}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"5":{"Elements":[54,55,4]}},{"2":{"Name":"PrometheusInstantQuery","Properties":{"time":{"Type":4,"Flags":1,"Description":"The date and the time of the evaluation."},"linkToApi":{"Type":4,"Flags":1,"Description":"Link to Prometheus query API (Url format)."},"datasources":{"Type":58,"Flags":1,"Description":"An array of the azure monitor workspace resource ids."},"grafanaExplorePath":{"Type":4,"Flags":1,"Description":"Partial link to the Grafana explore API."},"query":{"Type":4,"Flags":1,"Description":"The Prometheus expression query."},"type":{"Type":59,"Flags":1,"Description":"The enrichment type."}}}},{"3":{"ItemType":4}},{"6":{"Value":"PrometheusInstantQuery"}},{"2":{"Name":"PrometheusRangeQuery","Properties":{"start":{"Type":4,"Flags":1,"Description":"The start evaluation date and time in ISO8601 format."},"end":{"Type":4,"Flags":1,"Description":"The end evaluation date and time in ISO8601 format."},"step":{"Type":4,"Flags":1,"Description":"Query resolution step width in ISO8601 format."},"linkToApi":{"Type":4,"Flags":1,"Description":"Link to Prometheus query API (Url format)."},"datasources":{"Type":61,"Flags":1,"Description":"An array of the azure monitor workspace resource ids."},"grafanaExplorePath":{"Type":4,"Flags":1,"Description":"Partial link to the Grafana explore API."},"query":{"Type":4,"Flags":1,"Description":"The Prometheus expression query."},"type":{"Type":62,"Flags":1,"Description":"The enrichment type."}}}},{"3":{"ItemType":4}},{"6":{"Value":"PrometheusRangeQuery"}},{"3":{"ItemType":53}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":69,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":74,"Flags":0,"Description":"The type of identity that last modified the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[65,66,67,68,4]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[70,71,72,73,4]}},{"4":{"Name":"Microsoft.AlertsManagement/alerts/enrichments@2023-07-12-preview","ScopeType":0,"Body":51,"Flags":1}}]

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +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.Insights/workbooks"}},{"6":{"Value":"2023-06-01"}},{"2":{"Name":"Microsoft.Insights/workbooks","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":0,"Description":"Metadata describing a workbook for an Azure resource."},"systemData":{"Type":13,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."},"identity":{"Type":24,"Flags":0,"Description":"Identity used for BYOS"},"kind":{"Type":33,"Flags":0,"Description":"The kind of workbook. Only valid value is shared."},"etag":{"Type":4,"Flags":0,"Description":"Resource etag"},"tags":{"Type":34,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"}}}},{"2":{"Name":"WorkbookProperties","Properties":{"displayName":{"Type":4,"Flags":1,"Description":"The user-defined name (display name) of the workbook."},"serializedData":{"Type":4,"Flags":1,"Description":"Configuration of this particular workbook. Configuration data is a string containing valid JSON"},"version":{"Type":4,"Flags":0,"Description":"Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData"},"timeModified":{"Type":4,"Flags":2,"Description":"Date and time in UTC of the last modification that was made to this workbook definition."},"category":{"Type":4,"Flags":1,"Description":"Workbook category, as defined by the user at creation time."},"tags":{"Type":12,"Flags":0,"Description":"Being deprecated, please use the other tags field"},"userId":{"Type":4,"Flags":2,"Description":"Unique user id of the specific user that owns this workbook."},"sourceId":{"Type":4,"Flags":0,"Description":"ResourceId for a source resource."},"storageUri":{"Type":4,"Flags":0,"Description":"The resourceId to the storage account when bring your own storage is used"},"description":{"Type":4,"Flags":0,"Description":"The description of the workbook."},"revision":{"Type":4,"Flags":2,"Description":"The unique revision id for this workbook definition"}}}},{"3":{"ItemType":4}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":18,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":23,"Flags":0,"Description":"The type of identity that last modified the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[14,15,16,17,4]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[19,20,21,22,4]}},{"2":{"Name":"WorkbookResourceIdentity","Properties":{"principalId":{"Type":4,"Flags":2,"Description":"The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity."},"tenantId":{"Type":4,"Flags":2,"Description":"The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity."},"type":{"Type":29,"Flags":1,"Description":"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."},"userAssignedIdentities":{"Type":31,"Flags":0,"Description":"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}}}},{"6":{"Value":"None"}},{"6":{"Value":"SystemAssigned"}},{"6":{"Value":"UserAssigned"}},{"6":{"Value":"SystemAssigned,UserAssigned"}},{"5":{"Elements":[25,26,27,28,4]}},{"2":{"Name":"UserAssignedIdentity","Properties":{"principalId":{"Type":4,"Flags":2,"Description":"The principal ID of the assigned identity."},"clientId":{"Type":4,"Flags":2,"Description":"The client ID of the assigned identity."}}}},{"2":{"Name":"UserAssignedIdentities","Properties":{},"AdditionalProperties":30}},{"6":{"Value":"shared"}},{"5":{"Elements":[32,4]}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Microsoft.Insights/workbooks@2023-06-01","ScopeType":8,"Body":10,"Flags":0}},{"6":{"Value":"Microsoft.Insights/workbooks/revisions"}},{"6":{"Value":"2023-06-01"}},{"2":{"Name":"Microsoft.Insights/workbooks/revisions","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":36,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":37,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":2,"Description":"Metadata describing a workbook for an Azure resource."},"systemData":{"Type":13,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."},"identity":{"Type":24,"Flags":2,"Description":"Identity used for BYOS"},"kind":{"Type":40,"Flags":2,"Description":"The kind of workbook. Only valid value is shared."},"etag":{"Type":4,"Flags":2,"Description":"Resource etag"},"tags":{"Type":41,"Flags":2,"Description":"Resource tags."},"location":{"Type":4,"Flags":2,"Description":"The geo-location where the resource lives"}}}},{"6":{"Value":"shared"}},{"5":{"Elements":[39,4]}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Microsoft.Insights/workbooks/revisions@2023-06-01","ScopeType":8,"Body":38,"Flags":1}}]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit ffb807d

Please sign in to comment.