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>
type ContainerProbe = class
    interface IJsonModel<ContainerProbe>
    interface IPersistableModel<ContainerProbe>
Public Class ContainerProbe
Implements IJsonModel(Of ContainerProbe), IPersistableModel(Of 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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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