Permalink
Fetching contributors…
Cannot retrieve contributors at this time
312 lines (312 sloc) 8.41 KB
{
"id": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.Web.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Web",
"description": "Microsoft Web Resource Types",
"resourceDefinitions": {
"connections": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/connections"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-06-01"
]
},
"name": {
"type": "string",
"description": "Gets the resource name."
},
"location": {
"type": "string",
"description": "The resource location."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The resource tags."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The connection properties."
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "The connection resource."
},
"connectionGateways": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/connectionGateways"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-06-01"
]
},
"name": {
"type": "string",
"description": "Gets the resource name."
},
"location": {
"type": "string",
"description": "The resource location."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The resource tags."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ConnectionGatewayProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The connection gateway properties."
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "The connection gateway resource."
},
"customApis": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/customApis"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-06-01"
]
},
"name": {
"type": "string",
"description": "Gets the resource name."
},
"location": {
"type": "string",
"description": "The resource location."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The resource tags."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CustomApiProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The custom API properties."
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "The custom API resource."
}
},
"definitions": {
"ResourceReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The fully-qualified resource identifier."
}
}
},
"ConnectionProperties": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "The display name."
},
"customParameterValues": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The custom parameter values."
},
"parameterValues": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The parameter values."
},
"api": {
"oneOf": [
{
"$ref": "#/definitions/ResourceReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The reference to API resource."
}
}
},
"CustomApiProperties": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "The display name."
},
"description": {
"type": "string",
"description": "The description."
},
"brandColor": {
"type": "string",
"description": "The brand color."
},
"iconUri": {
"type": "string",
"description": "The icon URI."
},
"backendService": {
"oneOf": [
{
"$ref": "#/definitions/BackendServiceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The backend service."
},
"connectionParameters": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The connection parameters."
},
"swagger": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The swagger schema. See Swagger specification: http://swagger.io/specification/"
}
}
},
"BackendServiceProperties": {
"type": "object",
"properties": {
"serviceUrl": {
"type": "string",
"description": "The service endpoint URL."
}
}
},
"ConnectionGatewayProperties": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The description."
},
"connectionGatewayInstallation": {
"oneOf": [
{
"$ref": "#/definitions/ResourceReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The reference to connection gateway installation resource."
}
}
}
}
}