Show / Hide Table of Contents

Class UpdateScheduledJobDetails

Provides the information used to update a scheduled job.

Inheritance
object
UpdateScheduledJobDetails
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 UpdateScheduledJobDetails

Properties

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

User-specified description for the scheduled job. Avoid entering confidential information.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

User-friendly name for the scheduled job. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Operations

Declaration
[JsonProperty(PropertyName = "operations")]
public List<ScheduledJobOperation> Operations { get; set; }
Property Value
Type Description
List<ScheduledJobOperation>

The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

  • UPDATE_PACKAGES
  • UPDATE_ALL
  • UPDATE_SECURITY
  • UPDATE_BUGFIX
  • UPDATE_ENHANCEMENT
  • UPDATE_OTHER
  • UPDATE_KSPLICE_USERSPACE
  • UPDATE_KSPLICE_KERNEL

RecurringRule

Declaration
[JsonProperty(PropertyName = "recurringRule")]
public string RecurringRule { get; set; }
Property Value
Type Description
string

The frequency schedule for a recurring scheduled job.

RetryIntervals

Declaration
[JsonProperty(PropertyName = "retryIntervals")]
public List<int> RetryIntervals { get; set; }
Property Value
Type Description
List<int>

The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.

ScheduleType

Declaration
[JsonProperty(PropertyName = "scheduleType")]
[JsonConverter(typeof(StringEnumConverter))]
public ScheduleTypes? ScheduleType { get; set; }
Property Value
Type Description
ScheduleTypes?

The type of scheduling frequency for the job.

TimeNextExecution

Declaration
[JsonProperty(PropertyName = "timeNextExecution")]
public DateTime? TimeNextExecution { get; set; }
Property Value
Type Description
DateTime?

The time of the next execution of this scheduled job (in RFC 3339 format).

In this article
Back to top