forked from rjmax/ArmExamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resourceIdSample.json
46 lines (45 loc) · 1.61 KB
/
resourceIdSample.json
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
42
43
44
45
46
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": { },
"resources": [ ],
"outputs": {
"example1": {
"value": "[resourceid('Namespace/Type1', 'name1')]",
"type": "string"
},
"example2": {
"value": "[resourceid('Namespace/Type1/Type2', 'name1', 'name2')]",
"type": "string"
},
"example3": {
"value": "[resourceid('Namespace/Type1/Type2/Type3', 'name1', 'name2', 'name3')]",
"type": "string"
},
"example4": {
"value": "[resourceid('myrg', 'Namespace/Type1', 'name1')]",
"type": "string"
},
"example5": {
"value": "[resourceid('myrg', 'Namespace/Type1/Type2', 'name1', 'name2')]",
"type": "string"
},
"example6": {
"value": "[resourceid('myrg', 'Namespace/Type1/Type2/Type3', 'name1', 'name2', 'name3')]",
"type": "string"
},
"example7": {
"value": "[resourceid('52d762fd-88a8-46b1-b5ea-31d956aed087', 'myrg', 'Namespace/Type1', 'name1')]",
"type": "string"
},
"example8": {
"value": "[resourceid('52d762fd-88a8-46b1-b5ea-31d956aed087', 'myrg', 'Namespace/Type1/Type2', 'name1', 'name2')]",
"type": "string"
},
"example9": {
"value": "[resourceid('52d762fd-88a8-46b1-b5ea-31d956aed087', 'myrg', 'Namespace/Type1/Type2/Type3', 'name1', 'name2', 'name3')]",
"type" : "string"
}
}
}