Class SchedulerJob
A SchedulerJob resource.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class SchedulerJobProperties
ActionGroups
Declaration
[JsonProperty(PropertyName = "actionGroups")]
public List<ActionGroupDetails> ActionGroups { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ActionGroupDetails> | Action Groups associated with the Schedule. | 
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Compartment OCID | 
Remarks
Required
CountOfAffectedActionGroups
Declaration
[JsonProperty(PropertyName = "countOfAffectedActionGroups")]
public int? CountOfAffectedActionGroups { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Count of Action Groups affected by the Schedule. An action group is a group of entities grouped for a lifecycle activity. Example - A Fleet will be considered an Action Group for any lifecycle activity. | 
CountOfAffectedResources
Declaration
[JsonProperty(PropertyName = "countOfAffectedResources")]
public int? CountOfAffectedResources { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Count of resources affected by the schedule. | 
CountOfAffectedTargets
Declaration
[JsonProperty(PropertyName = "countOfAffectedTargets")]
public int? CountOfAffectedTargets { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Count of targets affected by the schedule. | 
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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. Example: {"foo-namespace": {"bar-key": "value"}} | 
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable.
Avoid entering confidential information.
 | 
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} | 
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the resource. | 
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. | 
LifecycleOperations
Declaration
[JsonProperty(PropertyName = "lifecycleOperations")]
public List<string> LifecycleOperations { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | All LifeCycle Operations that are part of the schedule. | 
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SchedulerJob.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| SchedulerJob.LifecycleStateEnum? | The current state of the SchedulerJob. | 
Remarks
Required
Products
Declaration
[JsonProperty(PropertyName = "products")]
public List<string> Products { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | All products that are part of the schedule for a PRODUCT action group type. | 
SchedulerDefinition
Declaration
[JsonProperty(PropertyName = "schedulerDefinition")]
public AssociatedSchedulerDefinition SchedulerDefinition { get; set; }Property Value
| Type | Description | 
|---|---|
| AssociatedSchedulerDefinition | 
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} | 
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The time this resource was created. An RFC3339 formatted datetime string. | 
Remarks
Required
TimeEnded
Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | Actual end date and time for the Job. | 
TimeScheduled
Declaration
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The scheduled date and time for the Job. | 
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | Actual start date and time for the Job. | 
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The time this resource was last updated. An RFC3339 formatted datetime string. |