Show / Hide Table of Contents

Class UpdateRunObjectStoreScriptUserDefinedStepDetails

The details for updating a Run Object Store Script step.

Inheritance
object
UpdateDrPlanUserDefinedStepDetails
UpdateRunObjectStoreScriptUserDefinedStepDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

For moving instances: runOnInstanceId must be the OCID of the instance in the region where the instance is currently present.

For non-moving instances: runOnInstanceId must be the OCID of the non-moving instance.

Example: ocid1.instance.oc1..uniqueID

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"

In this article
Back to top