Partager via


ContainerProbe Class

Definition

The container probe, for liveness or readiness

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProbeTypeConverter))]
public class ContainerProbe : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerProbe
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerProbeTypeConverter))>]
type ContainerProbe = class
    interface IContainerProbe
    interface IJsonSerializable
Public Class ContainerProbe
Implements IContainerProbe
Inheritance
ContainerProbe
Attributes
Implements

Constructors

ContainerProbe()

Creates an new ContainerProbe instance.

Properties

ExecCommand

The commands to execute within the container.

FailureThreshold

The failure threshold.

HttpGetHttpHeader

The HTTP headers.

HttpGetPath

The path to probe.

HttpGetPort

The port number to probe.

HttpGetScheme

The scheme.

InitialDelaySecond

The initial delay seconds.

PeriodSecond

The period seconds.

SuccessThreshold

The success threshold.

TimeoutSecond

The timeout seconds.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerProbe.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerProbe.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerProbe.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerProbe into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to