The customApis resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Web/customApis resource, add the following JSON to your template.
{
"type": "Microsoft.Web/customApis",
"apiVersion": "2016-06-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"etag": "string",
"properties": {
"apiDefinitions": {
"modifiedSwaggerUrl": "string",
"originalSwaggerUrl": "string"
},
"apiType": "string",
"backendService": {
"serviceUrl": "string"
},
"brandColor": "string",
"capabilities": [ "string" ],
"connectionParameters": {},
"description": "string",
"displayName": "string",
"iconUri": "string",
"runtimeUrls": [ "string" ],
"swagger": {},
"wsdlDefinition": {
"content": "string",
"importMethod": "string",
"service": {
"endpointQualifiedNames": [ "string" ],
"qualifiedName": "string"
},
"url": "string",
"content": "string",
"importMethod": "string",
"service": {
"endpointQualifiedNames": [ "string" ],
"qualifiedName": "string"
},
"url": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Web/customApis' |
apiVersion | The resource api version | '2016-06-01' |
name | The resource name | string (required) |
location | Resource location | string |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
etag | Resource ETag | string |
properties | Custom API properties | CustomApiPropertiesDefinition |
Name | Description | Value |
---|---|---|
apiDefinitions | API Definitions | ApiResourceDefinitions |
apiType | The API type | 'NotSpecified' 'Rest' 'Soap' |
backendService | The API backend service | ApiResourceBackendService |
brandColor | Brand color | string |
capabilities | The custom API capabilities | string[] |
connectionParameters | Connection parameters | object |
description | The custom API description | string |
displayName | The display name | string |
iconUri | The icon URI | string |
runtimeUrls | Runtime URLs | string[] |
swagger | The JSON representation of the swagger | |
wsdlDefinition | The WSDL definition | WsdlDefinition |
Name | Description | Value |
---|---|---|
modifiedSwaggerUrl | The modified swagger URL | string |
originalSwaggerUrl | The original swagger URL | string |
Name | Description | Value |
---|---|---|
serviceUrl | The service URL | string |
Name | Description | Value |
---|---|---|
content | The WSDL content | string |
importMethod | The WSDL import method | 'NotSpecified' 'SoapPassThrough' 'SoapToRest' |
service | The service with name and endpoint names | WsdlService |
url | The WSDL URL | string |
content | The WSDL content | string |
importMethod | The WSDL import method | 'NotSpecified' 'SoapPassThrough' 'SoapToRest' |
service | The service with name and endpoint names | WsdlService |
url | The WSDL URL | string |
Name | Description | Value |
---|---|---|
endpointQualifiedNames | List of the endpoints' qualified names | string[] |
qualifiedName | The service's qualified name | string (required) |