RetentionPolicy.FromJsonString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of RetentionPolicy, deserializing the content from a json string.
public static Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRetentionPolicy FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRetentionPolicy
Public Shared Function FromJsonString (jsonText As String) As IRetentionPolicy
Parameters
- jsonText
- String
a string containing a JSON serialized instance of this model.
Returns
an instance of the RetentionPolicy model class.