From bce38fed7f658c6f4b977f88b295048e2a65abcd Mon Sep 17 00:00:00 2001 From: Itai Yankelevsky Date: Sun, 12 Jun 2022 10:24:05 +0300 Subject: [PATCH 1/2] Fix small logical mistake in automation rules examples --- .../automationRules/AutomationRules_CreateOrUpdate.json | 6 +++--- .../examples/automationRules/AutomationRules_Get.json | 2 +- .../examples/automationRules/AutomationRules_List.json | 2 +- .../automationRules/AutomationRules_CreateOrUpdate.json | 6 +++--- .../examples/automationRules/AutomationRules_Get.json | 2 +- .../examples/automationRules/AutomationRules_List.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json index 7be69ba0fa83..585230f650b8 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json @@ -16,7 +16,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", @@ -88,7 +88,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", @@ -159,7 +159,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_Get.json index c62a6acd6a6b..f4d9b7b740ab 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_Get.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_Get.json @@ -19,7 +19,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_List.json index 9d3fc8c9c30e..7686336efe70 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_List.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/examples/automationRules/AutomationRules_List.json @@ -20,7 +20,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json index f90218793ee1..20be98bb4277 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_CreateOrUpdate.json @@ -16,7 +16,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", @@ -88,7 +88,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", @@ -159,7 +159,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_Get.json index 508d9b89c05e..a8e6cdb6061c 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_Get.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_Get.json @@ -19,7 +19,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_List.json index 0d18de417169..1e0ae10ba64c 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_List.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/examples/automationRules/AutomationRules_List.json @@ -20,7 +20,7 @@ "triggeringLogic": { "isEnabled": true, "triggersOn": "Incidents", - "triggersWhen": "Created", + "triggersWhen": "Updated", "conditions": [ { "conditionType": "Property", From eee534f9ad998538c02dafcc3b1d649d3ac07ebe Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Mon, 20 Jun 2022 14:01:19 +0800 Subject: [PATCH 2/2] Update readme.md --- specification/securityinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/securityinsights/resource-manager/readme.md b/specification/securityinsights/resource-manager/readme.md index 513ffeeb67fa..385ac76cb4cb 100644 --- a/specification/securityinsights/resource-manager/readme.md +++ b/specification/securityinsights/resource-manager/readme.md @@ -293,7 +293,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-go - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-js