Partager via


ScaleRule.FromJsonString(String) Method

Definition

Creates a new instance of ScaleRule, deserializing the content from a json string.

public static Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleRule FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleRule
Public Shared Function FromJsonString (jsonText As String) As IScaleRule

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the ScaleRule model class.

Applies to