You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If there are post APIs for some kinds of actions in the RP, you may need to
46
-
# uncomment following line to support viaIdentity for these post APIs
47
-
# identity-correction-for-post: true
48
-
49
-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
50
-
use-extension:
51
-
"@autorest/powershell": "3.x"
52
42
53
43
directive:
54
-
- where:
55
-
verb: Get
56
-
subject: ActivityLogAlert
57
-
set:
58
-
breaking-change:
59
-
deprecated-output-properties:
60
-
- ActionGroup
61
-
- ConditionAllOf
62
-
- Scope
63
-
new-output-properties:
64
-
- ActionGroup
65
-
- ConditionAllOf
66
-
- Scope
67
-
change-description: The types of the properties ActionGroup, ConditionAllOf and Scope will be changed from single object or fixed array to 'List'.
68
-
deprecated-by-version: 7.0.0
69
-
deprecated-by-azversion: 15.0.0
70
-
change-effective-date: 2025/11/03
71
-
- where:
72
-
verb: New|Update
73
-
subject: ActivityLogAlert
74
-
set:
75
-
breaking-change:
76
-
deprecated-output-properties:
77
-
- ActionGroup
78
-
- ConditionAllOf
79
-
- Scope
80
-
- AnyOf
81
-
new-output-properties:
82
-
- ActionGroup
83
-
- ConditionAllOf
84
-
- Scope
85
-
- AnyOf
86
-
change-description: The types of the properties ActionGroup, ConditionAllOf, Scope and AnyOf will be changed from single object or fixed array to 'List'.
87
-
deprecated-by-version: 7.0.0
88
-
deprecated-by-azversion: 15.0.0
89
-
change-effective-date: 2025/11/03
90
-
- where:
91
-
parameter-name: Action|Condition|Scope
92
-
set:
93
-
breaking-change:
94
-
old-parameter-type: Array
95
-
new-parameter-type: List
96
-
deprecated-by-version: 7.0.0
97
-
deprecated-by-azversion: 15.0.0
98
-
change-effective-date: 2025/11/03
99
-
100
44
# Following is two common directive which are normally required in all the RPs
101
45
# 1. Remove the unexpanded parameter set
102
46
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
@@ -37,18 +42,18 @@ ACTIONGROUP <IActionGroup[]>: The list of the Action Groups.
37
42
[(Any) <String>]: This indicates any property can be added to this object.
38
43
39
44
CONDITIONALLOF <IAlertRuleAnyOfOrLeafCondition[]>: The list of Activity Log Alert rule conditions.
40
-
[ContainsAny <String[]>]: The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
45
+
[ContainsAny <List<String>>]: The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
41
46
[Equal <String>]: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
42
47
[Field <String>]: The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
43
-
[AnyOf <IAlertRuleLeafCondition[]>]: An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.
44
-
[ContainsAny <String[]>]: The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
48
+
[AnyOf <List<IAlertRuleLeafCondition>>]: An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.
49
+
[ContainsAny <List<String>>]: The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
45
50
[Equal <String>]: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
46
51
[Field <String>]: The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
Copy file name to clipboardExpand all lines: src/Monitor/ActivityLogAlert.Autorest/custom/autogen-model-cmdlets/New-AzActivityLogAlertActionGroupObject.ps1
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,25 +21,26 @@ Create an in-memory object for ActionGroup.
0 commit comments