diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelManagementGroupScope.json index 99ee16bb23b9..fde3b7a36268 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelManagementGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/myRemediation", "name": "myRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceGroupScope.json index 31b16f225582..c4ce8efde9f7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/myRemediation", "name": "myRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceScope.json index dae58b006ab0..755fb927700b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceScope.json @@ -18,11 +18,26 @@ "totalDeployments": 1, "successfulDeployments": 1, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/myRemediation", "name": "myRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelSubscriptionScope.json index eb16c4899e64..c87e2366b5b3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelSubscriptionScope.json @@ -18,11 +18,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/myRemediation", "name": "myRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateManagementGroupScope.json index 7b27ddf0949c..2001381c865a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateManagementGroupScope.json @@ -24,7 +24,9 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/providers/microsoft.management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", @@ -44,11 +46,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/providers/microsoft.management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceGroupScope.json index b63e10ab6ed4..419f55c6a49e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceGroupScope.json @@ -24,11 +24,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2020-06-15T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-06-15T18:52:27Z" + } } }, "201": { @@ -44,11 +54,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json index 565bee0f903c..ad1f73159899 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json @@ -23,11 +23,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } }, "201": { @@ -43,11 +53,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope.json index f37cf0a01007..0eb85ddc0fa8 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope.json @@ -23,11 +23,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } }, "201": { @@ -43,11 +53,21 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope_AllProperties.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope_AllProperties.json index ea37220983da..ef46fdba18b1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope_AllProperties.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateSubscriptionScope_AllProperties.json @@ -13,6 +13,11 @@ "eastus", "westus" ] + }, + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } } } @@ -32,11 +37,26 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } }, "201": { @@ -53,11 +73,26 @@ "totalDeployments": 2, "successfulDeployments": 0, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-12T20:58:58.7531298Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-12T20:58:58.7531298Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteManagementGroupScope.json index c4c104c4070c..2a70eb1c2927 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteManagementGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } }, "204": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceGroupScope.json index 2e31b107ce1b..905cd9e43d40 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } }, "204": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json index 3f6b44aec637..8cbbc24d3dfd 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json @@ -18,11 +18,26 @@ "totalDeployments": 1, "successfulDeployments": 1, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } }, "204": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteSubscriptionScope.json index 7949149623d5..842356850ec6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteSubscriptionScope.json @@ -18,11 +18,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } }, "204": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetManagementGroupScope.json index 28f888458304..a2f3d9d10e00 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetManagementGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceGroupScope.json index 703c27081e2b..02cbf141ddfb 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceGroupScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json index ee59be58fab3..8b269c38fe16 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json @@ -18,11 +18,26 @@ "totalDeployments": 1, "successfulDeployments": 1, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetSubscriptionScope.json index f168e6c60d7b..4b998348ac85 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetSubscriptionScope.json @@ -18,11 +18,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/storageRemediation", "name": "storageRemediation", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope.json index c889943f8a9a..73e5ea6356a3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope.json @@ -20,11 +20,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } }, { "properties": { @@ -37,11 +52,21 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "957378d3-a143-421e-8b0e-3048dff01932" }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", "name": "0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope_WithQuery.json index 4b6ced391c26..7d54d4f6e88f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListManagementGroupScope_WithQuery.json @@ -22,11 +22,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/providers/Microsoft.Management/managementGroups/financeMg/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope.json index caa566870610..8301fd4d6abf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope.json @@ -20,11 +20,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } }, { "properties": { @@ -37,11 +52,21 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "957378d3-a143-421e-8b0e-3048dff01932" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", "name": "0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope_WithQuery.json index a3e36f6c73c6..1b2a6c7148c6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceGroupScope_WithQuery.json @@ -22,11 +22,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } }, { "properties": { @@ -39,11 +54,21 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "957378d3-a143-421e-8b0e-3048dff01932" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", "name": "0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope.json index 6357f25a31fa..bb098168e2bd 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope.json @@ -19,11 +19,26 @@ "totalDeployments": 1, "successfulDeployments": 1, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope_WithQuery.json index 666fa2d75a9f..42a12453acf0 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope_WithQuery.json @@ -21,11 +21,26 @@ "totalDeployments": 1, "successfulDeployments": 1, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:51:09.075918Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:52:10.0011706Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope.json index 249841432874..25d2ca77ff4c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope.json @@ -19,11 +19,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } }, { "properties": { @@ -36,11 +51,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "957378d3-a143-421e-8b0e-3048dff01932", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup2/providers/microsoft.policyinsights/remediations/0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", "name": "0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope_WithQuery.json index 0d2586b56b6f..46f2b07f67ca 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListSubscriptionScope_WithQuery.json @@ -22,11 +22,26 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 + }, + "statusMessage": "Remediation extended status", + "correlationId": "a14e1d60-dae9-4771-b4be-a556d69e77a6", + "resourceCount": 42, + "parallelDeployments": 6, + "failureThreshold": { + "percentage": 0.1 } }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/remediations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e", "name": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } }, { "properties": { @@ -40,11 +55,21 @@ "totalDeployments": 2, "successfulDeployments": 2, "failedDeployments": 0 - } + }, + "statusMessage": "Remediation extended status", + "correlationId": "957378d3-a143-421e-8b0e-3048dff01932" }, "id": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/rg2/providers/microsoft.policyinsights/remediations/0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", "name": "0866f0cc-6cb3-422c-9fb6-a4e3e2266da8", - "type": "Microsoft.PolicyInsights/remediations" + "type": "Microsoft.PolicyInsights/remediations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "createdByType": "User", + "createdAt": "2018-09-13T21:49:16.4638131Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef6", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-09-13T21:50:18.4647478Z" + } } ] } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json index 05676dc28559..77edbba85dee 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json @@ -1150,6 +1150,12 @@ "type": "string", "description": "The name of the remediation.", "readOnly": true + }, + "systemData": { + "readOnly": true, + "type": "object", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData" } }, "description": "The remediation definition.", @@ -1212,6 +1218,37 @@ "$ref": "#/definitions/RemediationDeploymentSummary", "description": "The deployment status summary for all deployments created by the remediation.", "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "The remediation status message. Provides additional details regarding the state of the remediation.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "The remediation correlation Id. Can be used to find events related to the remediation in the activity log.", + "readOnly": true + }, + "resourceCount": { + "type": "integer", + "format": "int32", + "description": "Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used." + }, + "parallelDeployments": { + "type": "integer", + "format": "int32", + "description": "Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used." + }, + "failureThreshold": { + "type": "object", + "properties": { + "percentage": { + "type": "number", + "format": "float", + "description": "A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold." + } + }, + "description": "The remediation failure threshold settings" } }, "description": "The remediation properties." diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 81ebfb1af07b..1254fd2c5ff6 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -143,7 +143,13 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10' input-file: - - Microsoft.PolicyInsights/stable/2021-10-01/remediations.json +- Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json +- Microsoft.PolicyInsights/stable/2021-10-01/remediations.json +- Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json +- Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json +- Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json +- Microsoft.PolicyInsights/stable/2020-07-01/checkPolicyRestrictions.json +- Microsoft.PolicyInsights/stable/2021-01-01/attestations.json ``` ### Tag: package-2021-01