-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserviceEndpoints.json
More file actions
41 lines (41 loc) · 1.07 KB
/
serviceEndpoints.json
File metadata and controls
41 lines (41 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "2017.09.01.0",
"parameters": {
"Locations": {
"type": "array",
"defaultValue": [ ],
"metadata": {
"description": "A list of locations."
}
},
"Service": {
"type": "string",
"allowedValues": [
"Microsoft.Storage",
"Microsoft.Sql"
],
"metadata": {
"description": "The type of the endpoint service."
}
}
},
"variables": {
"comment": {
"documentation": "https://docs.microsoft.com/en-us/rest/api/virtualnetwork/virtualnetworks/createorupdate#definitions_serviceendpointpropertiesformat"
},
"locArray": "[if(empty(parameters('Locations')),json('null'),parameters('Locations'))]",
"serviceEndpoint": {
"service": "[parameters('Service')]",
"locations": "[variables('locArray')]"
}
},
"resources": [
],
"outputs": {
"serviceEndpoint": {
"type": "object",
"value": "[variables('serviceEndpoint')]"
}
}
}