Share via


Restriction.FromJsonString(String) Method

Definition

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

public static Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IRestriction FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IRestriction
Public Shared Function FromJsonString (jsonText As String) As IRestriction

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the Restriction model class.

Applies to