Show / Hide Table of Contents

Class ScheduledJobOperation

Defines an operation that is performed by a scheduled job.

Inheritance
object
ScheduledJobOperation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ScheduledJobOperation

Properties

ManageModuleStreamsDetails

Declaration
[JsonProperty(PropertyName = "manageModuleStreamsDetails")]
public ManageModuleStreamsInScheduledJobDetails ManageModuleStreamsDetails { get; set; }
Property Value
Type Description
ManageModuleStreamsInScheduledJobDetails

OperationType

Declaration
[Required(ErrorMessage = "OperationType is required.")]
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OperationTypes? OperationType { get; set; }
Property Value
Type Description
OperationTypes?

The type of operation this scheduled job performs.

Remarks

Required

PackageNames

Declaration
[JsonProperty(PropertyName = "packageNames")]
public List<string> PackageNames { get; set; }
Property Value
Type Description
List<string>

The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.

RebootTimeoutInMins

Declaration
[JsonProperty(PropertyName = "rebootTimeoutInMins")]
public int? RebootTimeoutInMins { get; set; }
Property Value
Type Description
int?

The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.

SoftwareSourceIds

Declaration
[JsonProperty(PropertyName = "softwareSourceIds")]
public List<string> SoftwareSourceIds { get; set; }
Property Value
Type Description
List<string>

The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.

SwitchModuleStreamsDetails

Declaration
[JsonProperty(PropertyName = "switchModuleStreamsDetails")]
public ModuleStreamDetails SwitchModuleStreamsDetails { get; set; }
Property Value
Type Description
ModuleStreamDetails

WindowsUpdateNames

Declaration
[JsonProperty(PropertyName = "windowsUpdateNames")]
public List<string> WindowsUpdateNames { get; set; }
Property Value
Type Description
List<string>

Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.

In this article
Back to top