forked from techmike2kx/mddashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmddashboards.json
119 lines (119 loc) · 4.68 KB
/
mddashboards.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"dashboardName": {
"type": "string",
"defaultValue": "Site Overview for subscription",
"metadata": {
"description": "This is the dashboard title for the dashboard you'd like to create"
}
},
"dashboardresourceName": {
"type": "string",
"defaultValue": "mddashboard",
"metadata": {
"description": "This is the name of the dashboard you want to create"
}
},
"mdpartcontent": {
"type": "string",
"defaultValue": "your markdown goes here. New to MD? Read the syntax here: http://daringfireball.net/projects/markdown/syntax ",
"metadata": {
"description": "This is the markdown content you want to populate"
}
},
"mdparttitle": {
"type": "string",
"defaultValue": "Site Overview",
"metadata": {
"description": "your markdown part title"
}
},
"mdpartsubtitle": {
"type": "string",
"defaultValue": "Web Apps, Kudu Consoles and App Service Editors",
"metadata": {
"description": "your markdown part subtitle"
}
},
},
"variables": {},
"resources": [
{
"name": "[parameters('dashboardresourceName')]",
"type": "Microsoft.Portal/dashboards",
"location": "westeurope",
"apiVersion": "2015-08-01-preview",
"tags": {
"hidden-title": "[parameters('dashboardName')]"
},
"properties": {
"lenses": {
"0": {
"order": 0,
"parts": {
"0": {
"position": {
"x": 2,
"y": 0,
"rowSpan": 8,
"colSpan": 8
},
"metadata": {
"inputs": [],
"type": "Extension/HubsExtension/PartType/MarkdownPart",
"settings": {
"content": {
"settings": {
"content": "[parameters('mdpartcontent')]",
"title": "[parameters('mdparttitle')]",
"subtitle": "[parameters('mdpartsubtitle')]"
}
}
}
}
},
"1": {
"position": {
"x": 0,
"y": 0,
"rowSpan": 2,
"colSpan": 2
},
"metadata": {
"inputs": [],
"type": "Extension/HubsExtension/PartType/ClockPart",
"settings": {
"content": {
"settings": {
"location": "Samoa",
"timeFormat": "HH:mm",
"version": 1
}
}
}
}
}
<"XXX":{}>
}
}
},
"metadata": {
"model": {
"timeRange": {
"value": {
"relative": {
"duration": 1,
"timeUnit": 3
}
},
"type": "MsPortalFx.Composition.Configuration.ValueTypes.TimeRange"
}
}
}
}
}
],
"outputs": {}
}