Share via


ContainerProbe Class

Definition

The container probe, for liveness or readiness.

public class ContainerProbe : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerProbe>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerProbe>
public class ContainerProbe
type ContainerProbe = class
    interface IJsonModel<ContainerProbe>
    interface IPersistableModel<ContainerProbe>
type ContainerProbe = class
Public Class ContainerProbe
Implements IJsonModel(Of ContainerProbe), IPersistableModel(Of ContainerProbe)
Public Class ContainerProbe
Inheritance
ContainerProbe
Implements

Constructors

ContainerProbe()

Initializes a new instance of ContainerProbe.

Properties

ExecCommand

The commands to execute within the container.

FailureThreshold

The failure threshold.

HttpGet

The Http Get settings to probe.

InitialDelayInSeconds

The initial delay seconds.

PeriodInSeconds

The period seconds.

SuccessThreshold

The success threshold.

TimeoutInSeconds

The timeout seconds.

Explicit Interface Implementations

IJsonModel<ContainerProbe>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerProbe>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerProbe>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerProbe>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerProbe>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to