Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Fabric - Add missing property recreateApplication to ApplicationUpgradePolicy #15128

Merged
merged 11 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@
}
},
"ApplicationResource": {
"type": "object",
"description": "The application resource.",
"properties": {
"identity": {
Expand All @@ -1029,6 +1030,7 @@
]
},
"ApplicationResourceList": {
"type": "object",
"description": "The list of application resources.",
"properties": {
"value": {
Expand All @@ -1045,6 +1047,7 @@
}
},
"ApplicationResourceProperties": {
"type": "object",
"description": "The application resource properties.",
"allOf": [
{
Expand All @@ -1064,6 +1067,7 @@
}
},
"ApplicationResourceUpdate": {
"type": "object",
"description": "The application resource for patch operations.",
"properties": {
"properties": {
Expand All @@ -1079,6 +1083,7 @@
]
},
"ApplicationResourceUpdateProperties": {
"type": "object",
"description": "The application resource properties for patch operations.",
"properties": {
"typeVersion": {
Expand Down Expand Up @@ -1135,6 +1140,7 @@
}
},
"ApplicationTypeResource": {
"type": "object",
"description": "The application type name resource",
"properties": {
"properties": {
Expand All @@ -1150,6 +1156,7 @@
]
},
"ApplicationTypeResourceList": {
"type": "object",
"description": "The list of application type names.",
"properties": {
"value": {
Expand All @@ -1166,6 +1173,7 @@
}
},
"ApplicationTypeResourceProperties": {
"type": "object",
"description": "The application type name properties",
"properties": {
"provisioningState": {
Expand All @@ -1180,6 +1188,7 @@
"description": "The version of the application type as defined in the application manifest."
},
"ApplicationTypeVersionResource": {
"type": "object",
"description": "An application type version resource for the specified application type name resource.",
"properties": {
"properties": {
Expand All @@ -1195,6 +1204,7 @@
]
},
"ApplicationTypeVersionResourceList": {
"type": "object",
"description": "The list of application type version resources for the specified application type name resource.",
"properties": {
"value": {
Expand All @@ -1211,6 +1221,7 @@
}
},
"ApplicationTypeVersionResourceProperties": {
"type": "object",
"description": "The properties of the application type version resource.",
"required": [
"appPackageUrl"
Expand All @@ -1233,6 +1244,7 @@
}
},
"ApplicationUpgradePolicy": {
"type": "object",
"description": "Describes the policy for a monitored application upgrade.",
"properties": {
"upgradeReplicaSetCheckTimeout": {
Expand All @@ -1254,10 +1266,15 @@
"upgradeMode": {
"$ref": "#/definitions/RollingUpgradeMode",
"description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored."
},
"recreateApplication": {
"type": "boolean",
"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."
}
}
},
"ApplicationUserAssignedIdentity": {
"type": "object",
"required": [
"name",
"principalId"
Expand All @@ -1284,6 +1301,7 @@
},
"maxPercentUnhealthyDeployedApplications": {
"type": "integer",
"format": "int32",
"description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n",
"default": 0
},
Expand All @@ -1298,6 +1316,7 @@
}
},
"ArmRollingUpgradeMonitoringPolicy": {
"type": "object",
"description": "The policy used for monitoring the application upgrade",
"properties": {
"failureAction": {
Expand Down Expand Up @@ -1350,20 +1369,23 @@
"properties": {
"maxPercentUnhealthyServices": {
"type": "integer",
"format": "int32",
"description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n",
"default": 0,
"minimum": 0,
"maximum": 100
},
"maxPercentUnhealthyPartitionsPerService": {
"type": "integer",
"format": "int32",
"description": "The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.\n",
"default": 0,
"minimum": 0,
"maximum": 100
},
"maxPercentUnhealthyReplicasPerPartition": {
"type": "integer",
"format": "int32",
"description": "The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.\n",
"default": 0,
"minimum": 0,
Expand All @@ -1379,6 +1401,7 @@
}
},
"AvailableOperationDisplay": {
"type": "object",
"properties": {
"provider": {
"type": "string",
Expand Down Expand Up @@ -1427,6 +1450,7 @@
"default": "0"
},
"ManagedIdentity": {
"type": "object",
"description": "Describes the managed identities for an Azure resource.",
"properties": {
"principalId": {
Expand Down Expand Up @@ -1514,6 +1538,7 @@
}
},
"NamedPartitionSchemeDescription": {
"type": "object",
"description": "Describes the named partition scheme of the service.",
"allOf": [
{
Expand All @@ -1532,6 +1557,7 @@
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "The number of partitions."
},
"names": {
Expand All @@ -1544,6 +1570,7 @@
}
},
"OperationListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
Expand All @@ -1561,6 +1588,7 @@
"description": "Describes the result of the request to list Service Fabric resource provider operations."
},
"OperationResult": {
"type": "object",
"properties": {
"name": {
"type": "string",
Expand Down Expand Up @@ -1628,6 +1656,7 @@
}
},
"ProxyResource": {
"type": "object",
"properties": {
"id": {
"type": "string",
Expand Down Expand Up @@ -1799,14 +1828,17 @@
},
"primaryDefaultLoad": {
"type": "integer",
"format": "int32",
"description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica."
},
"secondaryDefaultLoad": {
"type": "integer",
"format": "int32",
"description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica."
},
"defaultLoad": {
"type": "integer",
"format": "int32",
"description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric."
}
}
Expand Down Expand Up @@ -1918,6 +1950,7 @@
}
},
"ServiceResource": {
"type": "object",
"description": "The service resource.",
"properties": {
"properties": {
Expand All @@ -1933,6 +1966,7 @@
]
},
"ServiceResourceList": {
"type": "object",
"description": "The list of service resources.",
"properties": {
"value": {
Expand All @@ -1949,6 +1983,7 @@
}
},
"ServiceResourceProperties": {
"type": "object",
"description": "The service resource properties.",
"allOf": [
{
Expand Down Expand Up @@ -2006,6 +2041,7 @@
}
},
"ServiceResourcePropertiesBase": {
"type": "object",
"description": "The common service resource properties.",
"properties": {
"placementConstraints": {
Expand All @@ -2031,6 +2067,7 @@
}
},
"ServiceResourceUpdate": {
"type": "object",
"description": "The service resource for patch operations.",
"properties": {
"properties": {
Expand All @@ -2046,6 +2083,7 @@
]
},
"ServiceResourceUpdateProperties": {
"type": "object",
"description": "The service resource properties for patch operations.",
"allOf": [
{
Expand All @@ -2064,6 +2102,7 @@
}
},
"SingletonPartitionSchemeDescription": {
"type": "object",
"description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.",
"allOf": [
{
Expand All @@ -2077,6 +2116,7 @@
"x-ms-discriminator-value": "Singleton"
},
"StatefulServiceProperties": {
"type": "object",
"description": "The properties of a stateful service resource.",
"allOf": [
{
Expand All @@ -2091,11 +2131,13 @@
},
"targetReplicaSetSize": {
"type": "integer",
"format": "int32",
"minimum": 1,
"description": "The target replica set size as a number."
},
"minReplicaSetSize": {
"type": "integer",
"format": "int32",
"minimum": 1,
"description": "The minimum replica set size as a number."
},
Expand All @@ -2117,6 +2159,7 @@
}
},
"StatefulServiceUpdateProperties": {
"type": "object",
"description": "The properties of a stateful service resource for patch operations.",
"allOf": [
{
Expand All @@ -2127,11 +2170,13 @@
"properties": {
"targetReplicaSetSize": {
"type": "integer",
"format": "int32",
"minimum": 1,
"description": "The target replica set size as a number."
},
"minReplicaSetSize": {
"type": "integer",
"format": "int32",
"minimum": 1,
"description": "The minimum replica set size as a number."
},
Expand All @@ -2153,6 +2198,7 @@
}
},
"StatelessServiceProperties": {
"type": "object",
"description": "The properties of a stateless service resource.",
"allOf": [
{
Expand All @@ -2163,6 +2209,7 @@
"properties": {
"instanceCount": {
"type": "integer",
"format": "int32",
"minimum": -1,
"description": "The instance count."
},
Expand All @@ -2173,6 +2220,7 @@
}
},
"StatelessServiceUpdateProperties": {
"type": "object",
"description": "The properties of a stateless service resource for patch operations.",
"allOf": [
{
Expand All @@ -2183,6 +2231,7 @@
"properties": {
"instanceCount": {
"type": "integer",
"format": "int32",
"minimum": -1,
"description": "The instance count."
},
Expand All @@ -2193,6 +2242,7 @@
}
},
"UserAssignedIdentity": {
"type": "object",
"properties": {
"principalId": {
"type": "string",
Expand All @@ -2214,6 +2264,7 @@
}
},
"UniformInt64RangePartitionSchemeDescription": {
"type": "object",
"description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.",
"allOf": [
{
Expand All @@ -2233,6 +2284,7 @@
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "The number of partitions."
},
"lowKey": {
Expand All @@ -2256,6 +2308,7 @@
"default": "P10675199DT02H48M05.4775807S"
},
"ErrorModel": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/ErrorModelError",
Expand All @@ -2265,6 +2318,7 @@
"description": "The structure of the error."
},
"ErrorModelError": {
"type": "object",
"properties": {
"code": {
"type": "string",
Expand Down
Loading