Skip to content

Commit 27361a7

Browse files
Nicholas Kingsergey-shandar
authored andcommitted
[App Service] Update swagger spec for ANT80 (#5111)
* Update swagger spec for ANT80 * Fix some spelling errors that were reverted by previous commit * Move certificate examples to new API version folder * Add the 2018-02-01 certificates files back
1 parent e209e79 commit 27361a7

File tree

14 files changed

+1803
-443
lines changed

14 files changed

+1803
-443
lines changed

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,10 +1528,6 @@
15281528
"type": "string",
15291529
"readOnly": true
15301530
},
1531-
"adminSiteName": {
1532-
"description": "App Service plan administration site.",
1533-
"type": "string"
1534-
},
15351531
"hostingEnvironmentProfile": {
15361532
"$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile",
15371533
"description": "Specification for the App Service Environment to use for the App Service plan.",
@@ -1761,4 +1757,4 @@
17611757
]
17621758
}
17631759
]
1764-
}
1760+
}

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json

Lines changed: 63 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,6 @@
300300
"type": "string",
301301
"readOnly": true
302302
},
303-
"adminSiteName": {
304-
"description": "App Service plan administration site.",
305-
"type": "string"
306-
},
307303
"hostingEnvironmentProfile": {
308304
"$ref": "#/definitions/HostingEnvironmentProfile",
309305
"description": "Specification for the App Service Environment to use for the App Service plan.",
@@ -991,6 +987,21 @@
991987
}
992988
}
993989
},
990+
"GeoDistribution": {
991+
"description": "A global distribution definition.",
992+
"type": "object",
993+
"properties": {
994+
"location": {
995+
"description": "Location.",
996+
"type": "string"
997+
},
998+
"numberOfWorkers": {
999+
"format": "int32",
1000+
"description": "NumberOfWorkers.",
1001+
"type": "integer"
1002+
}
1003+
}
1004+
},
9941005
"HandlerMapping": {
9951006
"description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.",
9961007
"type": "object",
@@ -1205,9 +1216,6 @@
12051216
},
12061217
"IpSecurityRestriction": {
12071218
"description": "IP security restriction on an app.",
1208-
"required": [
1209-
"ipAddress"
1210-
],
12111219
"type": "object",
12121220
"properties": {
12131221
"ipAddress": {
@@ -1218,6 +1226,20 @@
12181226
"description": "Subnet mask for the range of IP addresses the restriction is valid for.",
12191227
"type": "string"
12201228
},
1229+
"vnetSubnetResourceId": {
1230+
"description": "Virtual network resource id",
1231+
"type": "string"
1232+
},
1233+
"vnetTrafficTag": {
1234+
"format": "int32",
1235+
"description": "(internal) Vnet traffic tag",
1236+
"type": "integer"
1237+
},
1238+
"subnetTrafficTag": {
1239+
"format": "int32",
1240+
"description": "(internal) Subnet traffic tag",
1241+
"type": "integer"
1242+
},
12211243
"action": {
12221244
"description": "Allow or Deny access for this IP range.",
12231245
"type": "string"
@@ -2066,6 +2088,10 @@
20662088
"description": "<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.",
20672089
"type": "boolean"
20682090
},
2091+
"clientCertExclusionPaths": {
2092+
"description": "client certificate authentication comma-separated exclusion paths",
2093+
"type": "string"
2094+
},
20692095
"hostNamesDisabled": {
20702096
"description": "<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.\n If <code>true</code>, the app is only accessible via API management process.",
20712097
"type": "boolean"
@@ -2132,6 +2158,35 @@
21322158
"httpsOnly": {
21332159
"description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests",
21342160
"type": "boolean"
2161+
},
2162+
"redundancyMode": {
2163+
"description": "Site redundancy mode",
2164+
"enum": [
2165+
"None",
2166+
"Manual",
2167+
"Failover",
2168+
"ActiveActive",
2169+
"GeoRedundant"
2170+
],
2171+
"type": "string",
2172+
"x-ms-enum": {
2173+
"name": "RedundancyMode",
2174+
"modelAsString": false
2175+
}
2176+
},
2177+
"inProgressOperationId": {
2178+
"format": "uuid",
2179+
"description": "Specifies an operation id if this site has a pending operation.",
2180+
"type": "string",
2181+
"readOnly": true,
2182+
"example": "00000000-0000-0000-0000-000000000000"
2183+
},
2184+
"geoDistributions": {
2185+
"description": "GeoDistributions for this site",
2186+
"type": "array",
2187+
"items": {
2188+
"$ref": "#/definitions/GeoDistribution"
2189+
}
21352190
}
21362191
},
21372192
"x-ms-client-flatten": true
@@ -3073,4 +3128,4 @@
30733128
]
30743129
}
30753130
]
3076-
}
3131+
}

specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Provider.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@
240240
"isDefault": {
241241
"description": "<code>true</code> if this is the default minor version; otherwise, <code>false</code>.",
242242
"type": "boolean"
243+
},
244+
"isRemoteDebuggingEnabled": {
245+
"description": "<code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.",
246+
"type": "boolean"
243247
}
244248
}
245249
}
@@ -278,4 +282,4 @@
278282
]
279283
}
280284
]
281-
}
285+
}

0 commit comments

Comments
 (0)