Skip to content

Commit

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

* fix failed test cases
  • Loading branch information
ms-henglu authored Jul 27, 2023
1 parent 1669b5c commit c8faa62
Show file tree
Hide file tree
Showing 67 changed files with 69 additions and 35 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## v1.8.0 (unreleased)
## v1.8.0
FEATURES:

ENHANCEMENTS:
- `azapi_resource_action`: Support provider action.
- Update bicep types to https://ms-henglu/bicep-types-az/commit/c616eb1ad4980f63c0d6b436a63701e175a62224

BUG FIXES:
- Fix a bug that resource id for type `Microsoft.Resources/providers` is not parsed correctly.
Expand Down

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/actionRules"}},{"6":{"Value":"2023-05-01-preview"}},{"2":{"Name":"Microsoft.AlertsManagement/actionRules","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":"Alert processing rule properties."},"systemData":{"Type":66,"Flags":2,"Description":"Alert processing rule system data."},"location":{"Type":4,"Flags":1,"Description":"Resource location"},"tags":{"Type":77,"Flags":0,"Description":"Resource tags"}}}},{"2":{"Name":"AlertProcessingRuleProperties","Properties":{"scopes":{"Type":12,"Flags":1,"Description":"Scopes on which alert processing rule will apply."},"conditions":{"Type":32,"Flags":0,"Description":"Conditions on which alerts will be filtered."},"schedule":{"Type":33,"Flags":0,"Description":"Scheduling for alert processing rule."},"actions":{"Type":65,"Flags":1,"Description":"Actions to be applied."},"description":{"Type":4,"Flags":0,"Description":"Description of alert processing rule."},"enabled":{"Type":2,"Flags":0,"Description":"Indicates if the given alert processing rule is enabled or disabled."}}}},{"3":{"ItemType":4}},{"2":{"Name":"Condition","Properties":{"field":{"Type":25,"Flags":0,"Description":"Field for a given condition."},"operator":{"Type":30,"Flags":0,"Description":"Operator for a given condition."},"values":{"Type":31,"Flags":0,"Description":"List of values to match for a given condition."}}}},{"6":{"Value":"Severity"}},{"6":{"Value":"MonitorService"}},{"6":{"Value":"MonitorCondition"}},{"6":{"Value":"SignalType"}},{"6":{"Value":"TargetResourceType"}},{"6":{"Value":"TargetResource"}},{"6":{"Value":"TargetResourceGroup"}},{"6":{"Value":"AlertRuleId"}},{"6":{"Value":"AlertRuleName"}},{"6":{"Value":"Description"}},{"6":{"Value":"AlertContext"}},{"5":{"Elements":[14,15,16,17,18,19,20,21,22,23,24,4]}},{"6":{"Value":"Equals"}},{"6":{"Value":"NotEquals"}},{"6":{"Value":"Contains"}},{"6":{"Value":"DoesNotContain"}},{"5":{"Elements":[26,27,28,29,4]}},{"3":{"ItemType":4}},{"3":{"ItemType":13}},{"2":{"Name":"Schedule","Properties":{"effectiveFrom":{"Type":4,"Flags":0,"Description":"Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix."},"effectiveUntil":{"Type":4,"Flags":0,"Description":"Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix."},"timeZone":{"Type":4,"Flags":0,"Description":"Scheduling time zone."},"recurrences":{"Type":51,"Flags":0,"Description":"List of recurrences."}}}},{"7":{"Name":"Recurrence","Discriminator":"recurrenceType","BaseProperties":{"startTime":{"Type":4,"Flags":0,"Description":"Start time for recurrence."},"endTime":{"Type":4,"Flags":0,"Description":"End time for recurrence."}},"Elements":{"Daily":35,"Monthly":37,"Weekly":40}}},{"2":{"Name":"DailyRecurrence","Properties":{"recurrenceType":{"Type":36,"Flags":1,"Description":"Specifies when the recurrence should be applied."}}}},{"6":{"Value":"Daily"}},{"2":{"Name":"MonthlyRecurrence","Properties":{"daysOfMonth":{"Type":38,"Flags":1,"Description":"Specifies the values for monthly recurrence pattern."},"recurrenceType":{"Type":39,"Flags":1,"Description":"Specifies when the recurrence should be applied."}}}},{"3":{"ItemType":3}},{"6":{"Value":"Monthly"}},{"2":{"Name":"WeeklyRecurrence","Properties":{"daysOfWeek":{"Type":49,"Flags":1,"Description":"Specifies the values for weekly recurrence pattern."},"recurrenceType":{"Type":50,"Flags":1,"Description":"Specifies when the recurrence should be applied."}}}},{"6":{"Value":"Sunday"}},{"6":{"Value":"Monday"}},{"6":{"Value":"Tuesday"}},{"6":{"Value":"Wednesday"}},{"6":{"Value":"Thursday"}},{"6":{"Value":"Friday"}},{"6":{"Value":"Saturday"}},{"5":{"Elements":[41,42,43,44,45,46,47,4]}},{"3":{"ItemType":48}},{"6":{"Value":"Weekly"}},{"3":{"ItemType":34}},{"7":{"Name":"Action","Discriminator":"actionType","BaseProperties":{},"Elements":{"AddActionGroups":53,"CorrelateAlerts":56,"RemoveAllActionGroups":63}}},{"2":{"Name":"AddActionGroups","Properties":{"actionGroupIds":{"Type":54,"Flags":1,"Description":"List of action group Ids to add to alert processing rule."},"actionType":{"Type":55,"Flags":1,"Description":"Action that should be applied."}}}},{"3":{"ItemType":4}},{"6":{"Value":"AddActionGroups"}},{"2":{"Name":"CorrelateAlerts","Properties":{"correlateBy":{"Type":58,"Flags":1,"Description":"The list of conditions for the alerts correlations."},"correlationInterval":{"Type":4,"Flags":1,"Description":"The required duration (in ISO8601 format) for the alerts correlation."},"priority":{"Type":3,"Flags":1,"Description":"The priority of this correlation."},"notificationsForCorrelatedAlerts":{"Type":61,"Flags":0,"Description":"Indicates how to handle child alerts notifications."},"actionType":{"Type":62,"Flags":1,"Description":"Action that should be applied."}}}},{"2":{"Name":"CorrelateBy","Properties":{"field":{"Type":4,"Flags":0,"Description":"The JPath of the property that the alerts should be correlated by."}}}},{"3":{"ItemType":57}},{"6":{"Value":"NotifyAlways"}},{"6":{"Value":"SuppressAlways"}},{"5":{"Elements":[59,60,4]}},{"6":{"Value":"CorrelateAlerts"}},{"2":{"Name":"RemoveAllActionGroups","Properties":{"actionType":{"Type":64,"Flags":1,"Description":"Action that should be applied."}}}},{"6":{"Value":"RemoveAllActionGroups"}},{"3":{"ItemType":52}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":71,"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":76,"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":[67,68,69,70,4]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[72,73,74,75,4]}},{"2":{"Name":"ManagedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Microsoft.AlertsManagement/actionRules@2023-05-01-preview","ScopeType":8,"Body":10,"Flags":0}}]

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.

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.Authorization/roleDefinitions"}},{"6":{"Value":"2022-05-01-preview"}},{"2":{"Name":"Microsoft.Authorization/roleDefinitions","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":"Role definition properties."}}}},{"2":{"Name":"RoleDefinitionProperties","Properties":{"roleName":{"Type":4,"Flags":0,"Description":"The role name."},"description":{"Type":4,"Flags":0,"Description":"The role definition description."},"type":{"Type":4,"Flags":0,"Description":"The role type."},"permissions":{"Type":17,"Flags":0,"Description":"Role definition permissions."},"assignableScopes":{"Type":18,"Flags":0,"Description":"Role definition assignable scopes."},"createdOn":{"Type":4,"Flags":2,"Description":"Time it was created"},"updatedOn":{"Type":4,"Flags":2,"Description":"Time it was updated"},"createdBy":{"Type":4,"Flags":2,"Description":"Id of the user who created the assignment"},"updatedBy":{"Type":4,"Flags":2,"Description":"Id of the user who updated the assignment"}}}},{"2":{"Name":"Permission","Properties":{"actions":{"Type":13,"Flags":0,"Description":"Allowed actions."},"notActions":{"Type":14,"Flags":0,"Description":"Denied actions."},"dataActions":{"Type":15,"Flags":0,"Description":"Allowed Data actions."},"notDataActions":{"Type":16,"Flags":0,"Description":"Denied Data actions."},"condition":{"Type":4,"Flags":2,"Description":"The conditions on the role definition. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'"},"conditionVersion":{"Type":4,"Flags":2,"Description":"Version of the condition. Currently the only accepted value is '2.0'"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":12}},{"3":{"ItemType":4}},{"4":{"Name":"Microsoft.Authorization/roleDefinitions@2022-05-01-preview","ScopeType":0,"Body":10,"Flags":0}}]

Large diffs are not rendered by default.

Loading

0 comments on commit c8faa62

Please sign in to comment.