Class UpdateRunObjectStoreScriptUserDefinedStepDetails
The details for updating a Run Object Store Script step.
Inheritance
Inherited Members
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.dll
Syntax
public class UpdateRunObjectStoreScriptUserDefinedStepDetails : UpdateDrPlanUserDefinedStepDetails
Properties
ObjectStorageScriptLocation
Declaration
[Required(ErrorMessage = "ObjectStorageScriptLocation is required.")]
[JsonProperty(PropertyName = "objectStorageScriptLocation")]
public UpdateObjectStorageScriptLocationDetails ObjectStorageScriptLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateObjectStorageScriptLocationDetails |
Remarks
Required
RunAsUser
Declaration
[JsonProperty(PropertyName = "runAsUser")]
public string RunAsUser { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The user ID on the instance that will be used to execute the script specified in 'scriptCommand'. Example: opc |
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
[JsonProperty(PropertyName = "scriptCommand")]
public string ScriptCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The entire path and arguments for the script that is stored in object store, or inside a compressed archive in object store. Example: /usr/bin/python3.7 scripts/start_server.py --port 8080 --env "production" --max-connections 200 --log-level "INFO" |