AppInstanceExecAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |