Skip to content

Commit fd935d4

Browse files
author
SDKAuto
committed
CodeGen from PR 15246 in Azure/azure-rest-api-specs
Monitor privatelinkscopes accessmodesettings - api version 2021-07 preview (#15246) * new api-version clone * use common types * Update privateLinkScopes_API.json * Update privateLinkScopes_API.json * add new access mode settings * Update privateLinkScopes_API.json * access mode * access mode * PEs common type * Update privateLinkScopes_API.json * make access mode settings required * Update privateLinkScopes_API.json * add required property to example
1 parent 6a51b29 commit fd935d4

File tree

3 files changed

+497
-2
lines changed

3 files changed

+497
-2
lines changed

schemas/2021-02-01-preview/Microsoft.Insights.json

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,41 @@
8080
}
8181
},
8282
"definitions": {
83+
"Actions": {
84+
"type": "object",
85+
"properties": {
86+
"actionGroups": {
87+
"oneOf": [
88+
{
89+
"type": "array",
90+
"items": {
91+
"type": "string"
92+
}
93+
},
94+
{
95+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
96+
}
97+
],
98+
"description": "Action Group resource Ids to invoke when the alert fires."
99+
},
100+
"customProperties": {
101+
"oneOf": [
102+
{
103+
"type": "object",
104+
"additionalProperties": {
105+
"type": "string"
106+
},
107+
"properties": {}
108+
},
109+
{
110+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
111+
}
112+
],
113+
"description": "The properties of an alert payload."
114+
}
115+
},
116+
"description": "Actions to invoke when the alert fires."
117+
},
83118
"Condition": {
84119
"type": "object",
85120
"properties": {
@@ -272,8 +307,14 @@
272307
"type": "object",
273308
"properties": {
274309
"actions": {
275-
"type": "object",
276-
"properties": {},
310+
"oneOf": [
311+
{
312+
"$ref": "#/definitions/Actions"
313+
},
314+
{
315+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
316+
}
317+
],
277318
"description": "Actions to invoke when the alert fires."
278319
},
279320
"autoMitigate": {

0 commit comments

Comments
 (0)