Share via


AppInstanceProbeAction Class

Definition

The action of the probe. Please note AppInstanceProbeAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AppInstanceExecAction, AppInstanceHttpGetAction and AppInstanceTcpSocketAction.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.AppPlatform.Models.UnknownProbeAction))]
public abstract class AppInstanceProbeAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppInstanceProbeAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppInstanceProbeAction>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.AppPlatform.Models.UnknownProbeAction))>]
type AppInstanceProbeAction = class
    interface IJsonModel<AppInstanceProbeAction>
    interface IPersistableModel<AppInstanceProbeAction>
Public MustInherit Class AppInstanceProbeAction
Implements IJsonModel(Of AppInstanceProbeAction), IPersistableModel(Of AppInstanceProbeAction)
Inheritance
System.Object
AppInstanceProbeAction
Derived
Attributes
System.ClientModel.Primitives.PersistableModelProxyAttribute
Implements
System.ClientModel.Primitives.IJsonModel<AppInstanceProbeAction> System.ClientModel.Primitives.IPersistableModel<AppInstanceProbeAction> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

AppInstanceProbeAction()

Initializes a new instance of AppInstanceProbeAction.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppInstanceProbeAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppInstanceProbeAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<AppInstanceProbeAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<AppInstanceProbeAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppInstanceProbeAction>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to