ContainerProbeSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ContainerProbeSettings

Implements

public final class ContainerProbeSettings
implements JsonSerializable<ContainerProbeSettings>

Container liveness and readiness probe settings.

Constructor Summary

Constructor Description
ContainerProbeSettings()

Creates an instance of ContainerProbeSettings class.

Method Summary

Modifier and Type Method and Description
Boolean disableProbe()

Get the disableProbe property: Indicates whether disable the liveness and readiness probe.

static ContainerProbeSettings fromJson(JsonReader jsonReader)

Reads an instance of ContainerProbeSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerProbeSettings withDisableProbe(Boolean disableProbe)

Set the disableProbe property: Indicates whether disable the liveness and readiness probe.

Methods inherited from java.lang.Object

Constructor Details

ContainerProbeSettings

public ContainerProbeSettings()

Creates an instance of ContainerProbeSettings class.

Method Details

disableProbe

public Boolean disableProbe()

Get the disableProbe property: Indicates whether disable the liveness and readiness probe.

Returns:

the disableProbe value.

fromJson

public static ContainerProbeSettings fromJson(JsonReader jsonReader)

Reads an instance of ContainerProbeSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContainerProbeSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ContainerProbeSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisableProbe

public ContainerProbeSettings withDisableProbe(Boolean disableProbe)

Set the disableProbe property: Indicates whether disable the liveness and readiness probe.

Parameters:

disableProbe - the disableProbe value to set.

Returns:

the ContainerProbeSettings object itself.

Applies to