@@ -8,7 +8,7 @@ schema: 2.0.0
88# Update-AzPortalDashboard
99
1010## SYNOPSIS
11- Updates an existing Dashboard.
11+ update an existing Dashboard.
1212
1313## SYNTAX
1414
@@ -25,8 +25,20 @@ Update-AzPortalDashboard -InputObject <IPortalIdentity> [-Lens <IDashboardLens[]
2525 [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
2626```
2727
28+ ### UpdateViaJsonFilePath
29+ ```
30+ Update-AzPortalDashboard -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
31+ [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
32+ ```
33+
34+ ### UpdateViaJsonString
35+ ```
36+ Update-AzPortalDashboard -Name <String> -ResourceGroupName <String> -JsonString <String>
37+ [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
38+ ```
39+
2840## DESCRIPTION
29- Updates an existing Dashboard.
41+ update an existing Dashboard.
3042
3143## EXAMPLES
3244
@@ -78,7 +90,6 @@ Accept wildcard characters: False
7890
7991### -InputObject
8092Identity Parameter
81- To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8293
8394` ` ` yaml
8495Type : Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.IPortalIdentity
@@ -92,13 +103,42 @@ Accept pipeline input: True (ByValue)
92103Accept wildcard characters : False
93104` ` `
94105
106+ ### -JsonFilePath
107+ Path of Json file supplied to the Update operation
108+
109+ ` ` ` yaml
110+ Type : System.String
111+ Parameter Sets : UpdateViaJsonFilePath
112+ Aliases :
113+
114+ Required : True
115+ Position : Named
116+ Default value : None
117+ Accept pipeline input : False
118+ Accept wildcard characters : False
119+ ` ` `
120+
121+ ### -JsonString
122+ Json string supplied to the Update operation
123+
124+ ` ` ` yaml
125+ Type : System.String
126+ Parameter Sets : UpdateViaJsonString
127+ Aliases :
128+
129+ Required : True
130+ Position : Named
131+ Default value : None
132+ Accept pipeline input : False
133+ Accept wildcard characters : False
134+ ` ` `
135+
95136### -Lens
96137The dashboard lenses.
97- To construct, see NOTES section for LENS properties and create a hash table.
98138
99139` ` ` yaml
100- Type : Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api20221201Preview. IDashboardLens[]
101- Parameter Sets : (All)
140+ Type : Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.IDashboardLens[]
141+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
102142Aliases :
103143
104144Required : False
@@ -113,7 +153,7 @@ The dashboard metadata.
113153
114154` ` ` yaml
115155Type : System.Collections.Hashtable
116- Parameter Sets : (All)
156+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
117157Aliases :
118158
119159Required : False
@@ -128,7 +168,7 @@ The name of the dashboard.
128168
129169` ` ` yaml
130170Type : System.String
131- Parameter Sets : UpdateExpanded
171+ Parameter Sets : UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
132172Aliases : DashboardName
133173
134174Required : True
@@ -144,7 +184,7 @@ The name is case insensitive.
144184
145185` ` ` yaml
146186Type : System.String
147- Parameter Sets : UpdateExpanded
187+ Parameter Sets : UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
148188Aliases :
149189
150190Required : True
@@ -160,7 +200,7 @@ The value must be an UUID.
160200
161201` ` ` yaml
162202Type : System.String
163- Parameter Sets : UpdateExpanded
203+ Parameter Sets : UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
164204Aliases :
165205
166206Required : False
@@ -175,7 +215,7 @@ Resource tags
175215
176216` ` ` yaml
177217Type : System.Collections.Hashtable
178- Parameter Sets : (All)
218+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
179219Aliases :
180220
181221Required : False
@@ -225,7 +265,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
225265
226266## OUTPUTS
227267
228- ### Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api20221201Preview. IDashboard
268+ ### Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.IDashboard
229269
230270## NOTES
231271
0 commit comments