Share via


ContainerPort.FromJsonString(String) Method

Definition

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

public static Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerPort FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerPort
Public Shared Function FromJsonString (jsonText As String) As IContainerPort

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the ContainerPort model class.

Applies to