Skip to content

Commit

Permalink
[App Service] Update swagger spec for ANT80 (#5111)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Nicholas King authored and sergey-shandar committed Feb 13, 2019
1 parent e209e79 commit 27361a7
Show file tree
Hide file tree
Showing 14 changed files with 1,803 additions and 443 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1528,10 +1528,6 @@
"type": "string",
"readOnly": true
},
"adminSiteName": {
"description": "App Service plan administration site.",
"type": "string"
},
"hostingEnvironmentProfile": {
"$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile",
"description": "Specification for the App Service Environment to use for the App Service plan.",
Expand Down Expand Up @@ -1761,4 +1757,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@
"type": "string",
"readOnly": true
},
"adminSiteName": {
"description": "App Service plan administration site.",
"type": "string"
},
"hostingEnvironmentProfile": {
"$ref": "#/definitions/HostingEnvironmentProfile",
"description": "Specification for the App Service Environment to use for the App Service plan.",
Expand Down Expand Up @@ -991,6 +987,21 @@
}
}
},
"GeoDistribution": {
"description": "A global distribution definition.",
"type": "object",
"properties": {
"location": {
"description": "Location.",
"type": "string"
},
"numberOfWorkers": {
"format": "int32",
"description": "NumberOfWorkers.",
"type": "integer"
}
}
},
"HandlerMapping": {
"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.",
"type": "object",
Expand Down Expand Up @@ -1205,9 +1216,6 @@
},
"IpSecurityRestriction": {
"description": "IP security restriction on an app.",
"required": [
"ipAddress"
],
"type": "object",
"properties": {
"ipAddress": {
Expand All @@ -1218,6 +1226,20 @@
"description": "Subnet mask for the range of IP addresses the restriction is valid for.",
"type": "string"
},
"vnetSubnetResourceId": {
"description": "Virtual network resource id",
"type": "string"
},
"vnetTrafficTag": {
"format": "int32",
"description": "(internal) Vnet traffic tag",
"type": "integer"
},
"subnetTrafficTag": {
"format": "int32",
"description": "(internal) Subnet traffic tag",
"type": "integer"
},
"action": {
"description": "Allow or Deny access for this IP range.",
"type": "string"
Expand Down Expand Up @@ -2066,6 +2088,10 @@
"description": "<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.",
"type": "boolean"
},
"clientCertExclusionPaths": {
"description": "client certificate authentication comma-separated exclusion paths",
"type": "string"
},
"hostNamesDisabled": {
"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.",
"type": "boolean"
Expand Down Expand Up @@ -2132,6 +2158,35 @@
"httpsOnly": {
"description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests",
"type": "boolean"
},
"redundancyMode": {
"description": "Site redundancy mode",
"enum": [
"None",
"Manual",
"Failover",
"ActiveActive",
"GeoRedundant"
],
"type": "string",
"x-ms-enum": {
"name": "RedundancyMode",
"modelAsString": false
}
},
"inProgressOperationId": {
"format": "uuid",
"description": "Specifies an operation id if this site has a pending operation.",
"type": "string",
"readOnly": true,
"example": "00000000-0000-0000-0000-000000000000"
},
"geoDistributions": {
"description": "GeoDistributions for this site",
"type": "array",
"items": {
"$ref": "#/definitions/GeoDistribution"
}
}
},
"x-ms-client-flatten": true
Expand Down Expand Up @@ -3073,4 +3128,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@
"isDefault": {
"description": "<code>true</code> if this is the default minor version; otherwise, <code>false</code>.",
"type": "boolean"
},
"isRemoteDebuggingEnabled": {
"description": "<code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.",
"type": "boolean"
}
}
}
Expand Down Expand Up @@ -278,4 +282,4 @@
]
}
]
}
}
Loading

0 comments on commit 27361a7

Please sign in to comment.