@@ -31,6 +31,18 @@ New-AzAutoscaleSetting -Name <String> -ResourceGroupName <String> -Location <Str
3131 [-WhatIf] [<CommonParameters>]
3232```
3333
34+ ### CreateViaJsonFilePath
35+ ```
36+ New-AzAutoscaleSetting -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
37+ [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
38+ ```
39+
40+ ### CreateViaJsonString
41+ ```
42+ New-AzAutoscaleSetting -Name <String> -ResourceGroupName <String> -JsonString <String>
43+ [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
44+ ```
45+
3446## DESCRIPTION
3547Create an autoscale setting.
3648
@@ -73,7 +85,7 @@ The default value is 'false'.
7385
7486` ` ` yaml
7587Type : System.Management.Automation.SwitchParameter
76- Parameter Sets : (All)
88+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
7789Aliases :
7890
7991Required : False
@@ -98,12 +110,42 @@ Accept pipeline input: True (ByValue)
98110Accept wildcard characters : False
99111` ` `
100112
113+ ### -JsonFilePath
114+ Path of Json file supplied to the Create operation
115+
116+ ` ` ` yaml
117+ Type : System.String
118+ Parameter Sets : CreateViaJsonFilePath
119+ Aliases :
120+
121+ Required : True
122+ Position : Named
123+ Default value : None
124+ Accept pipeline input : False
125+ Accept wildcard characters : False
126+ ` ` `
127+
128+ ### -JsonString
129+ Json string supplied to the Create operation
130+
131+ ` ` ` yaml
132+ Type : System.String
133+ Parameter Sets : CreateViaJsonString
134+ Aliases :
135+
136+ Required : True
137+ Position : Named
138+ Default value : None
139+ Accept pipeline input : False
140+ Accept wildcard characters : False
141+ ` ` `
142+
101143### -Location
102144Resource location
103145
104146` ` ` yaml
105147Type : System.String
106- Parameter Sets : (All)
148+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
107149Aliases :
108150
109151Required : True
@@ -118,7 +160,7 @@ The autoscale setting name.
118160
119161` ` ` yaml
120162Type : System.String
121- Parameter Sets : CreateExpanded
163+ Parameter Sets : CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
122164Aliases : AutoscaleSettingName
123165
124166Required : True
@@ -133,7 +175,7 @@ the collection of notifications.
133175
134176` ` ` yaml
135177Type : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.IAutoscaleNotification[]
136- Parameter Sets : (All)
178+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
137179Aliases :
138180
139181Required : False
@@ -149,7 +191,7 @@ It must be between 1 minute and 60 minutes in ISO 8601 format.
149191
150192` ` ` yaml
151193Type : System.TimeSpan
152- Parameter Sets : (All)
194+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
153195Aliases :
154196
155197Required : False
@@ -164,7 +206,7 @@ the predictive autoscale mode
164206
165207` ` ` yaml
166208Type : System.String
167- Parameter Sets : (All)
209+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
168210Aliases :
169211
170212Required : False
@@ -180,7 +222,7 @@ A maximum of 20 profiles can be specified.
180222
181223` ` ` yaml
182224Type : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.IAutoscaleProfile[]
183- Parameter Sets : (All)
225+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
184226Aliases :
185227
186228Required : True
@@ -195,7 +237,7 @@ the name of the autoscale setting.
195237
196238` ` ` yaml
197239Type : System.String
198- Parameter Sets : (All)
240+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
199241Aliases :
200242
201243Required : False
@@ -211,7 +253,7 @@ The name is case insensitive.
211253
212254` ` ` yaml
213255Type : System.String
214- Parameter Sets : CreateExpanded
256+ Parameter Sets : CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
215257Aliases :
216258
217259Required : True
@@ -226,7 +268,7 @@ The ID of the target subscription.
226268
227269` ` ` yaml
228270Type : System.String
229- Parameter Sets : CreateExpanded
271+ Parameter Sets : CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
230272Aliases :
231273
232274Required : False
@@ -244,7 +286,7 @@ Each tag must have a key no greater in length than 128 characters and a value no
244286
245287` ` ` yaml
246288Type : System.Collections.Hashtable
247- Parameter Sets : (All)
289+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
248290Aliases :
249291
250292Required : False
@@ -259,7 +301,7 @@ the location of the resource that the autoscale setting should be added to.
259301
260302` ` ` yaml
261303Type : System.String
262- Parameter Sets : (All)
304+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
263305Aliases :
264306
265307Required : False
@@ -274,7 +316,7 @@ the resource identifier of the resource that the autoscale setting should be add
274316
275317` ` ` yaml
276318Type : System.String
277- Parameter Sets : (All)
319+ Parameter Sets : CreateExpanded, CreateViaIdentityExpanded
278320Aliases :
279321
280322Required : False
0 commit comments