Compartilhar via


ContainerAppProbeTcpSocket Class

Definition

TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbeTcpSocketTypeConverter))]
public class ContainerAppProbeTcpSocket : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeTcpSocket
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbeTcpSocketTypeConverter))>]
type ContainerAppProbeTcpSocket = class
    interface IContainerAppProbeTcpSocket
    interface IJsonSerializable
Public Class ContainerAppProbeTcpSocket
Implements IContainerAppProbeTcpSocket
Inheritance
ContainerAppProbeTcpSocket
Attributes
Implements

Constructors

ContainerAppProbeTcpSocket()

Creates an new ContainerAppProbeTcpSocket instance.

Properties

Host

Optional: Host name to connect to, defaults to the pod IP.

Port

Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerAppProbeTcpSocket.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerAppProbeTcpSocket.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeTcpSocket.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerAppProbeTcpSocket into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to