Share via


AppInstanceExecAction Class

Definition

ExecAction describes a "run in container" action.

public class AppInstanceExecAction : Azure.ResourceManager.AppPlatform.Models.AppInstanceProbeAction, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppInstanceExecAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppInstanceExecAction>
public class AppInstanceExecAction : Azure.ResourceManager.AppPlatform.Models.AppInstanceProbeAction
type AppInstanceExecAction = class
    inherit AppInstanceProbeAction
    interface IJsonModel<AppInstanceExecAction>
    interface IPersistableModel<AppInstanceExecAction>
type AppInstanceExecAction = class
    inherit AppInstanceProbeAction
Public Class AppInstanceExecAction
Inherits AppInstanceProbeAction
Implements IJsonModel(Of AppInstanceExecAction), IPersistableModel(Of AppInstanceExecAction)
Public Class AppInstanceExecAction
Inherits AppInstanceProbeAction
Inheritance
AppInstanceExecAction
Implements

Constructors

AppInstanceExecAction()

Initializes a new instance of AppInstanceExecAction.

Properties

Command

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

Explicit Interface Implementations

IJsonModel<AppInstanceExecAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppInstanceExecAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<AppInstanceProbeAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from AppInstanceProbeAction)
IJsonModel<AppInstanceProbeAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AppInstanceProbeAction)
IPersistableModel<AppInstanceExecAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppInstanceExecAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppInstanceExecAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<AppInstanceProbeAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AppInstanceProbeAction)
IPersistableModel<AppInstanceProbeAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from AppInstanceProbeAction)
IPersistableModel<AppInstanceProbeAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AppInstanceProbeAction)

Applies to