Class UpdateRunLocalScriptUserDefinedStepDetails
The details for updating a Run Local Script step.
Inherited Members
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.dll
Syntax
public class UpdateRunLocalScriptUserDefinedStepDetails : UpdateDrPlanUserDefinedStepDetails
Properties
RunAsUser
Declaration
[JsonProperty(PropertyName = "runAsUser")]
public string RunAsUser { get; set; }
Property Value
Type | Description |
---|---|
string | The userid on the instance to be used for executing the script or command.
|
RunOnInstanceId
Declaration
[Required(ErrorMessage = "RunOnInstanceId is required.")]
[JsonProperty(PropertyName = "runOnInstanceId")]
public string RunOnInstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the instance on which this script or command should be executed. |
Remarks
Required
ScriptCommand
Declaration
[Required(ErrorMessage = "ScriptCommand is required.")]
[JsonProperty(PropertyName = "scriptCommand")]
public string ScriptCommand { get; set; }
Property Value
Type | Description |
---|---|
string | The script name and arguments.
|
Remarks
Required