diff --git a/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json b/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json index fc24e95f96..589858c9fe 100644 --- a/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json +++ b/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json @@ -616,6 +616,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2020-03-01/Microsoft.ServiceFabric.json b/schemas/2020-03-01/Microsoft.ServiceFabric.json index c7aa92c77f..b5daf8c6f5 100644 --- a/schemas/2020-03-01/Microsoft.ServiceFabric.json +++ b/schemas/2020-03-01/Microsoft.ServiceFabric.json @@ -616,6 +616,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json b/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json index 6f919b23bd..84e775784d 100644 --- a/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json +++ b/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json @@ -671,6 +671,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2021-06-01/Microsoft.ServiceFabric.json b/schemas/2021-06-01/Microsoft.ServiceFabric.json index 9f7ffd9b3a..d7f892d16a 100644 --- a/schemas/2021-06-01/Microsoft.ServiceFabric.json +++ b/schemas/2021-06-01/Microsoft.ServiceFabric.json @@ -671,6 +671,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ {