Class Action
An action that gets executed during initialization of the replicas.
Inheritance
System.Object
Action
Implements
Namespace: Google.Apis.Replicapool.v1beta1.Data
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class Action : object, IDirectResponseSchema
Properties
Commands
A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.
Declaration
public virtual IList<string> Commands { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
EnvVariables
A list of environment variables to use for the commands in this action.
Declaration
public virtual IList<EnvVariable> EnvVariables { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EnvVariable> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeoutMilliSeconds
If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).
Declaration
public virtual Nullable<int> TimeoutMilliSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |