1
+ {
2
+ "$schema" : " https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#" ,
3
+ "contentVersion" : " 1.0.0.0" ,
4
+ "parameters" : {
5
+ "resourceGroupName" : {
6
+ "type" : " string" ,
7
+ "defaultValue" : " apigenerator_group" ,
8
+ "metadata" : {
9
+ "_parameterType" : " resourceGroup" ,
10
+ "description" : " Der Name der Ressourcengruppe für die Ressource. Es wird empfohlen, Ressourcen für eine bessere Nachverfolgung in derselben Ressourcengruppe zu platzieren."
11
+ }
12
+ },
13
+ "resourceGroupLocation" : {
14
+ "type" : " string" ,
15
+ "defaultValue" : " westeurope" ,
16
+ "metadata" : {
17
+ "_parameterType" : " location" ,
18
+ "description" : " Der Standort der Ressourcengruppe. Ressourcengruppen können andere Standorte als Ressourcen aufweisen."
19
+ }
20
+ },
21
+ "resourceLocation" : {
22
+ "type" : " string" ,
23
+ "defaultValue" : " [parameters('resourceGroupLocation')]" ,
24
+ "metadata" : {
25
+ "_parameterType" : " location" ,
26
+ "description" : " Der Standort der Ressource. Verwenden Sie standardmäßig den Standort der Ressourcengruppe, sofern der Ressourcenanbieter dort unterstützt wird."
27
+ }
28
+ }
29
+ },
30
+ "resources" : [
31
+ {
32
+ "type" : " Microsoft.Resources/resourceGroups" ,
33
+ "name" : " [parameters('resourceGroupName')]" ,
34
+ "location" : " [parameters('resourceGroupLocation')]" ,
35
+ "apiVersion" : " 2019-10-01"
36
+ },
37
+ {
38
+ "type" : " Microsoft.Resources/deployments" ,
39
+ "name" : " [concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('ApiGeneratorSampleApI', subscription().subscriptionId)))]" ,
40
+ "resourceGroup" : " [parameters('resourceGroupName')]" ,
41
+ "apiVersion" : " 2019-10-01" ,
42
+ "dependsOn" : [
43
+ " [parameters('resourceGroupName')]"
44
+ ],
45
+ "properties" : {
46
+ "mode" : " Incremental" ,
47
+ "template" : {
48
+ "$schema" : " https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#" ,
49
+ "contentVersion" : " 1.0.0.0" ,
50
+ "resources" : [
51
+ {
52
+ "name" : " ApiGeneratorSampleApIapi" ,
53
+ "type" : " Microsoft.ApiManagement/service" ,
54
+ "location" : " [parameters('resourceLocation')]" ,
55
+ "properties" : {
56
+ "publisherEmail" :
" [email protected] " ,
57
+ "publisherName" : " Tim Cadenbach" ,
58
+ "notificationSenderEmail" :
" [email protected] " ,
59
+ "hostnameConfigurations" : [
60
+ {
61
+ "type" : " Proxy" ,
62
+ "hostName" : " apigeneratorsampleapiapi.azure-api.net" ,
63
+ "encodedCertificate" : null ,
64
+ "keyVaultId" : null ,
65
+ "certificatePassword" : null ,
66
+ "negotiateClientCertificate" : false ,
67
+ "certificate" : null ,
68
+ "defaultSslBinding" : true
69
+ }
70
+ ],
71
+ "publicIPAddresses" : null ,
72
+ "privateIPAddresses" : null ,
73
+ "additionalLocations" : null ,
74
+ "virtualNetworkConfiguration" : null ,
75
+ "customProperties" : {
76
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10" : " False" ,
77
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11" : " False" ,
78
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10" : " False" ,
79
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11" : " False" ,
80
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30" : " False" ,
81
+ "Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2" : " False"
82
+ },
83
+ "virtualNetworkType" : " None" ,
84
+ "certificates" : null ,
85
+ "apiVersionConstraint" : {
86
+ "minApiVersion" : null
87
+ }
88
+ },
89
+ "sku" : {
90
+ "name" : " Consumption" ,
91
+ "capacity" : 0
92
+ },
93
+ "apiVersion" : " 2019-12-01"
94
+ },
95
+ {
96
+ "type" : " Microsoft.ApiManagement/service/apis" ,
97
+ "name" : " ApiGeneratorSampleApIapi/ApiGeneratorSampleApI" ,
98
+ "properties" : {
99
+ "displayName" : " ApiGeneratorSampleApI" ,
100
+ "apiRevision" : " 1" ,
101
+ "description" : null ,
102
+ "subscriptionRequired" : true ,
103
+ "serviceUrl" : null ,
104
+ "path" : " generated" ,
105
+ "protocols" : [
106
+ " https"
107
+ ],
108
+ "authenticationSettings" : {
109
+ "oAuth2" : null ,
110
+ "openid" : null
111
+ },
112
+ "subscriptionKeyParameterNames" : {
113
+ "header" : " Ocp-Apim-Subscription-Key" ,
114
+ "query" : " subscription-key"
115
+ },
116
+ "isCurrent" : true
117
+ },
118
+ "apiVersion" : " 2019-12-01" ,
119
+ "dependsOn" : [
120
+ " ApiGeneratorSampleApIapi"
121
+ ]
122
+ }
123
+ ]
124
+ }
125
+ }
126
+ }
127
+ ],
128
+ "metadata" : {
129
+ "_dependencyType" : " apis.azure"
130
+ }
131
+ }
0 commit comments