Share via


Port.FromJson(JsonNode) Method

Definition

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort.

public static Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort FromJson (Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Json.JsonNode node);
static member FromJson : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Json.JsonNode -> Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort
Public Shared Function FromJson (node As JsonNode) As IPort

Parameters

node
JsonNode

a JsonNode to deserialize from.

Returns

an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IPort.

Applies to