ProbeAction Class

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

Implements

public class ProbeAction
implements JsonSerializable<ProbeAction>

The action of the probe.

Constructor Summary

Constructor Description
ProbeAction()

Creates an instance of ProbeAction class.

Method Summary

Modifier and Type Method and Description
static ProbeAction fromJson(JsonReader jsonReader)

Reads an instance of ProbeAction from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ProbeActionType type()

Get the type property: The type of the action to take to perform the health check.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ProbeAction

public ProbeAction()

Creates an instance of ProbeAction class.

Method Details

fromJson

public static ProbeAction fromJson(JsonReader jsonReader)

Reads an instance of ProbeAction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProbeAction 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 ProbeAction.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ProbeActionType type()

Get the type property: The type of the action to take to perform the health check.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to