Share via


CacheRule.FromJsonString(String) Method

Definition

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

public static Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICacheRule FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICacheRule
Public Shared Function FromJsonString (jsonText As String) As ICacheRule

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the CacheRule model class.

Applies to