Class ScheduledJobOperation
Defines an operation that is performed by a scheduled job.
Inheritance
ScheduledJobOperation
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ScheduledJobOperation
Properties
InstallSnapDetails
Declaration
[JsonProperty(PropertyName = "installSnapDetails")]
public InstallSnapDetails InstallSnapDetails { get; set; }
Property Value
ManageModuleStreamsDetails
Declaration
[JsonProperty(PropertyName = "manageModuleStreamsDetails")]
public ManageModuleStreamsInScheduledJobDetails ManageModuleStreamsDetails { get; set; }
Property Value
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.
|
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.
|
RemoveSnapDetails
Declaration
[JsonProperty(PropertyName = "removeSnapDetails")]
public RemoveSnapDetails RemoveSnapDetails { get; set; }
Property Value
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
SwitchSnapChannelDetails
Declaration
[JsonProperty(PropertyName = "switchSnapChannelDetails")]
public SwitchSnapChannelDetails SwitchSnapChannelDetails { get; set; }
Property Value
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'.
|