|
1010 | 1010 | } |
1011 | 1011 | }, |
1012 | 1012 | "ApplicationResource": { |
| 1013 | + "type": "object", |
1013 | 1014 | "description": "The application resource.", |
1014 | 1015 | "properties": { |
1015 | 1016 | "identity": { |
|
1029 | 1030 | ] |
1030 | 1031 | }, |
1031 | 1032 | "ApplicationResourceList": { |
| 1033 | + "type": "object", |
1032 | 1034 | "description": "The list of application resources.", |
1033 | 1035 | "properties": { |
1034 | 1036 | "value": { |
|
1045 | 1047 | } |
1046 | 1048 | }, |
1047 | 1049 | "ApplicationResourceProperties": { |
| 1050 | + "type": "object", |
1048 | 1051 | "description": "The application resource properties.", |
1049 | 1052 | "allOf": [ |
1050 | 1053 | { |
|
1064 | 1067 | } |
1065 | 1068 | }, |
1066 | 1069 | "ApplicationResourceUpdate": { |
| 1070 | + "type": "object", |
1067 | 1071 | "description": "The application resource for patch operations.", |
1068 | 1072 | "properties": { |
1069 | 1073 | "properties": { |
|
1079 | 1083 | ] |
1080 | 1084 | }, |
1081 | 1085 | "ApplicationResourceUpdateProperties": { |
| 1086 | + "type": "object", |
1082 | 1087 | "description": "The application resource properties for patch operations.", |
1083 | 1088 | "properties": { |
1084 | 1089 | "typeVersion": { |
|
1135 | 1140 | } |
1136 | 1141 | }, |
1137 | 1142 | "ApplicationTypeResource": { |
| 1143 | + "type": "object", |
1138 | 1144 | "description": "The application type name resource", |
1139 | 1145 | "properties": { |
1140 | 1146 | "properties": { |
|
1150 | 1156 | ] |
1151 | 1157 | }, |
1152 | 1158 | "ApplicationTypeResourceList": { |
| 1159 | + "type": "object", |
1153 | 1160 | "description": "The list of application type names.", |
1154 | 1161 | "properties": { |
1155 | 1162 | "value": { |
|
1166 | 1173 | } |
1167 | 1174 | }, |
1168 | 1175 | "ApplicationTypeResourceProperties": { |
| 1176 | + "type": "object", |
1169 | 1177 | "description": "The application type name properties", |
1170 | 1178 | "properties": { |
1171 | 1179 | "provisioningState": { |
|
1180 | 1188 | "description": "The version of the application type as defined in the application manifest." |
1181 | 1189 | }, |
1182 | 1190 | "ApplicationTypeVersionResource": { |
| 1191 | + "type": "object", |
1183 | 1192 | "description": "An application type version resource for the specified application type name resource.", |
1184 | 1193 | "properties": { |
1185 | 1194 | "properties": { |
|
1195 | 1204 | ] |
1196 | 1205 | }, |
1197 | 1206 | "ApplicationTypeVersionResourceList": { |
| 1207 | + "type": "object", |
1198 | 1208 | "description": "The list of application type version resources for the specified application type name resource.", |
1199 | 1209 | "properties": { |
1200 | 1210 | "value": { |
|
1211 | 1221 | } |
1212 | 1222 | }, |
1213 | 1223 | "ApplicationTypeVersionResourceProperties": { |
| 1224 | + "type": "object", |
1214 | 1225 | "description": "The properties of the application type version resource.", |
1215 | 1226 | "required": [ |
1216 | 1227 | "appPackageUrl" |
|
1233 | 1244 | } |
1234 | 1245 | }, |
1235 | 1246 | "ApplicationUpgradePolicy": { |
| 1247 | + "type": "object", |
1236 | 1248 | "description": "Describes the policy for a monitored application upgrade.", |
1237 | 1249 | "properties": { |
1238 | 1250 | "upgradeReplicaSetCheckTimeout": { |
|
1254 | 1266 | "upgradeMode": { |
1255 | 1267 | "$ref": "#/definitions/RollingUpgradeMode", |
1256 | 1268 | "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." |
| 1269 | + }, |
| 1270 | + "recreateApplication": { |
| 1271 | + "type": "boolean", |
| 1272 | + "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." |
1257 | 1273 | } |
1258 | 1274 | } |
1259 | 1275 | }, |
1260 | 1276 | "ApplicationUserAssignedIdentity": { |
| 1277 | + "type": "object", |
1261 | 1278 | "required": [ |
1262 | 1279 | "name", |
1263 | 1280 | "principalId" |
|
1284 | 1301 | }, |
1285 | 1302 | "maxPercentUnhealthyDeployedApplications": { |
1286 | 1303 | "type": "integer", |
| 1304 | + "format": "int32", |
1287 | 1305 | "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", |
1288 | 1306 | "default": 0 |
1289 | 1307 | }, |
|
1298 | 1316 | } |
1299 | 1317 | }, |
1300 | 1318 | "ArmRollingUpgradeMonitoringPolicy": { |
| 1319 | + "type": "object", |
1301 | 1320 | "description": "The policy used for monitoring the application upgrade", |
1302 | 1321 | "properties": { |
1303 | 1322 | "failureAction": { |
|
1350 | 1369 | "properties": { |
1351 | 1370 | "maxPercentUnhealthyServices": { |
1352 | 1371 | "type": "integer", |
| 1372 | + "format": "int32", |
1353 | 1373 | "description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n", |
1354 | 1374 | "default": 0, |
1355 | 1375 | "minimum": 0, |
1356 | 1376 | "maximum": 100 |
1357 | 1377 | }, |
1358 | 1378 | "maxPercentUnhealthyPartitionsPerService": { |
1359 | 1379 | "type": "integer", |
| 1380 | + "format": "int32", |
1360 | 1381 | "description": "The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.\n", |
1361 | 1382 | "default": 0, |
1362 | 1383 | "minimum": 0, |
1363 | 1384 | "maximum": 100 |
1364 | 1385 | }, |
1365 | 1386 | "maxPercentUnhealthyReplicasPerPartition": { |
1366 | 1387 | "type": "integer", |
| 1388 | + "format": "int32", |
1367 | 1389 | "description": "The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.\n", |
1368 | 1390 | "default": 0, |
1369 | 1391 | "minimum": 0, |
|
1379 | 1401 | } |
1380 | 1402 | }, |
1381 | 1403 | "AvailableOperationDisplay": { |
| 1404 | + "type": "object", |
1382 | 1405 | "properties": { |
1383 | 1406 | "provider": { |
1384 | 1407 | "type": "string", |
|
1427 | 1450 | "default": "0" |
1428 | 1451 | }, |
1429 | 1452 | "ManagedIdentity": { |
| 1453 | + "type": "object", |
1430 | 1454 | "description": "Describes the managed identities for an Azure resource.", |
1431 | 1455 | "properties": { |
1432 | 1456 | "principalId": { |
|
1514 | 1538 | } |
1515 | 1539 | }, |
1516 | 1540 | "NamedPartitionSchemeDescription": { |
| 1541 | + "type": "object", |
1517 | 1542 | "description": "Describes the named partition scheme of the service.", |
1518 | 1543 | "allOf": [ |
1519 | 1544 | { |
|
1532 | 1557 | "properties": { |
1533 | 1558 | "count": { |
1534 | 1559 | "type": "integer", |
| 1560 | + "format": "int32", |
1535 | 1561 | "description": "The number of partitions." |
1536 | 1562 | }, |
1537 | 1563 | "names": { |
|
1544 | 1570 | } |
1545 | 1571 | }, |
1546 | 1572 | "OperationListResult": { |
| 1573 | + "type": "object", |
1547 | 1574 | "properties": { |
1548 | 1575 | "value": { |
1549 | 1576 | "type": "array", |
|
1561 | 1588 | "description": "Describes the result of the request to list Service Fabric resource provider operations." |
1562 | 1589 | }, |
1563 | 1590 | "OperationResult": { |
| 1591 | + "type": "object", |
1564 | 1592 | "properties": { |
1565 | 1593 | "name": { |
1566 | 1594 | "type": "string", |
|
1628 | 1656 | } |
1629 | 1657 | }, |
1630 | 1658 | "ProxyResource": { |
| 1659 | + "type": "object", |
1631 | 1660 | "properties": { |
1632 | 1661 | "id": { |
1633 | 1662 | "type": "string", |
|
1799 | 1828 | }, |
1800 | 1829 | "primaryDefaultLoad": { |
1801 | 1830 | "type": "integer", |
| 1831 | + "format": "int32", |
1802 | 1832 | "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." |
1803 | 1833 | }, |
1804 | 1834 | "secondaryDefaultLoad": { |
1805 | 1835 | "type": "integer", |
| 1836 | + "format": "int32", |
1806 | 1837 | "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." |
1807 | 1838 | }, |
1808 | 1839 | "defaultLoad": { |
1809 | 1840 | "type": "integer", |
| 1841 | + "format": "int32", |
1810 | 1842 | "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." |
1811 | 1843 | } |
1812 | 1844 | } |
|
1918 | 1950 | } |
1919 | 1951 | }, |
1920 | 1952 | "ServiceResource": { |
| 1953 | + "type": "object", |
1921 | 1954 | "description": "The service resource.", |
1922 | 1955 | "properties": { |
1923 | 1956 | "properties": { |
|
1933 | 1966 | ] |
1934 | 1967 | }, |
1935 | 1968 | "ServiceResourceList": { |
| 1969 | + "type": "object", |
1936 | 1970 | "description": "The list of service resources.", |
1937 | 1971 | "properties": { |
1938 | 1972 | "value": { |
|
1949 | 1983 | } |
1950 | 1984 | }, |
1951 | 1985 | "ServiceResourceProperties": { |
| 1986 | + "type": "object", |
1952 | 1987 | "description": "The service resource properties.", |
1953 | 1988 | "allOf": [ |
1954 | 1989 | { |
|
2006 | 2041 | } |
2007 | 2042 | }, |
2008 | 2043 | "ServiceResourcePropertiesBase": { |
| 2044 | + "type": "object", |
2009 | 2045 | "description": "The common service resource properties.", |
2010 | 2046 | "properties": { |
2011 | 2047 | "placementConstraints": { |
|
2031 | 2067 | } |
2032 | 2068 | }, |
2033 | 2069 | "ServiceResourceUpdate": { |
| 2070 | + "type": "object", |
2034 | 2071 | "description": "The service resource for patch operations.", |
2035 | 2072 | "properties": { |
2036 | 2073 | "properties": { |
|
2046 | 2083 | ] |
2047 | 2084 | }, |
2048 | 2085 | "ServiceResourceUpdateProperties": { |
| 2086 | + "type": "object", |
2049 | 2087 | "description": "The service resource properties for patch operations.", |
2050 | 2088 | "allOf": [ |
2051 | 2089 | { |
|
2064 | 2102 | } |
2065 | 2103 | }, |
2066 | 2104 | "SingletonPartitionSchemeDescription": { |
| 2105 | + "type": "object", |
2067 | 2106 | "description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.", |
2068 | 2107 | "allOf": [ |
2069 | 2108 | { |
|
2077 | 2116 | "x-ms-discriminator-value": "Singleton" |
2078 | 2117 | }, |
2079 | 2118 | "StatefulServiceProperties": { |
| 2119 | + "type": "object", |
2080 | 2120 | "description": "The properties of a stateful service resource.", |
2081 | 2121 | "allOf": [ |
2082 | 2122 | { |
|
2091 | 2131 | }, |
2092 | 2132 | "targetReplicaSetSize": { |
2093 | 2133 | "type": "integer", |
| 2134 | + "format": "int32", |
2094 | 2135 | "minimum": 1, |
2095 | 2136 | "description": "The target replica set size as a number." |
2096 | 2137 | }, |
2097 | 2138 | "minReplicaSetSize": { |
2098 | 2139 | "type": "integer", |
| 2140 | + "format": "int32", |
2099 | 2141 | "minimum": 1, |
2100 | 2142 | "description": "The minimum replica set size as a number." |
2101 | 2143 | }, |
|
2117 | 2159 | } |
2118 | 2160 | }, |
2119 | 2161 | "StatefulServiceUpdateProperties": { |
| 2162 | + "type": "object", |
2120 | 2163 | "description": "The properties of a stateful service resource for patch operations.", |
2121 | 2164 | "allOf": [ |
2122 | 2165 | { |
|
2127 | 2170 | "properties": { |
2128 | 2171 | "targetReplicaSetSize": { |
2129 | 2172 | "type": "integer", |
| 2173 | + "format": "int32", |
2130 | 2174 | "minimum": 1, |
2131 | 2175 | "description": "The target replica set size as a number." |
2132 | 2176 | }, |
2133 | 2177 | "minReplicaSetSize": { |
2134 | 2178 | "type": "integer", |
| 2179 | + "format": "int32", |
2135 | 2180 | "minimum": 1, |
2136 | 2181 | "description": "The minimum replica set size as a number." |
2137 | 2182 | }, |
|
2153 | 2198 | } |
2154 | 2199 | }, |
2155 | 2200 | "StatelessServiceProperties": { |
| 2201 | + "type": "object", |
2156 | 2202 | "description": "The properties of a stateless service resource.", |
2157 | 2203 | "allOf": [ |
2158 | 2204 | { |
|
2163 | 2209 | "properties": { |
2164 | 2210 | "instanceCount": { |
2165 | 2211 | "type": "integer", |
| 2212 | + "format": "int32", |
2166 | 2213 | "minimum": -1, |
2167 | 2214 | "description": "The instance count." |
2168 | 2215 | }, |
|
2173 | 2220 | } |
2174 | 2221 | }, |
2175 | 2222 | "StatelessServiceUpdateProperties": { |
| 2223 | + "type": "object", |
2176 | 2224 | "description": "The properties of a stateless service resource for patch operations.", |
2177 | 2225 | "allOf": [ |
2178 | 2226 | { |
|
2183 | 2231 | "properties": { |
2184 | 2232 | "instanceCount": { |
2185 | 2233 | "type": "integer", |
| 2234 | + "format": "int32", |
2186 | 2235 | "minimum": -1, |
2187 | 2236 | "description": "The instance count." |
2188 | 2237 | }, |
|
2193 | 2242 | } |
2194 | 2243 | }, |
2195 | 2244 | "UserAssignedIdentity": { |
| 2245 | + "type": "object", |
2196 | 2246 | "properties": { |
2197 | 2247 | "principalId": { |
2198 | 2248 | "type": "string", |
|
2214 | 2264 | } |
2215 | 2265 | }, |
2216 | 2266 | "UniformInt64RangePartitionSchemeDescription": { |
| 2267 | + "type": "object", |
2217 | 2268 | "description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.", |
2218 | 2269 | "allOf": [ |
2219 | 2270 | { |
|
2233 | 2284 | "properties": { |
2234 | 2285 | "count": { |
2235 | 2286 | "type": "integer", |
| 2287 | + "format": "int32", |
2236 | 2288 | "description": "The number of partitions." |
2237 | 2289 | }, |
2238 | 2290 | "lowKey": { |
|
2256 | 2308 | "default": "P10675199DT02H48M05.4775807S" |
2257 | 2309 | }, |
2258 | 2310 | "ErrorModel": { |
| 2311 | + "type": "object", |
2259 | 2312 | "properties": { |
2260 | 2313 | "error": { |
2261 | 2314 | "$ref": "#/definitions/ErrorModelError", |
|
2265 | 2318 | "description": "The structure of the error." |
2266 | 2319 | }, |
2267 | 2320 | "ErrorModelError": { |
| 2321 | + "type": "object", |
2268 | 2322 | "properties": { |
2269 | 2323 | "code": { |
2270 | 2324 | "type": "string", |
|
0 commit comments