From e4f3cd906859e2b1a201d91ac5965044a9992b30 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 22 Jul 2021 04:56:57 +0000 Subject: [PATCH] CodeGen from PR 15128 in Azure/azure-rest-api-specs Service Fabric - Add missing property recreateApplication to ApplicationUpgradePolicy (#15128) * add missing property recreateApplication * add recreateApplication to all missing api versions * fix issue with cluster difinition AvoidAnonymousTypes * ClusterVersions add default response * add integer format * more integer formats * add type object * more type object * more type object * more type object * more type object 3 Co-authored-by: Alfredo Santamaria Gomez --- .../2019-11-01-preview/Microsoft.ServiceFabric.json | 11 +++++++++++ schemas/2020-03-01/Microsoft.ServiceFabric.json | 11 +++++++++++ .../2020-12-01-preview/Microsoft.ServiceFabric.json | 11 +++++++++++ schemas/2021-06-01/Microsoft.ServiceFabric.json | 11 +++++++++++ 4 files changed, 44 insertions(+) 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": [ {