Class SchedulerDefinition
Definition of a Schedule.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class SchedulerDefinitionProperties
ActionGroups
Declaration
[JsonProperty(PropertyName = "actionGroups")]
public List<ActionGroup> ActionGroups { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ActionGroup> | 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. | 
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
[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"}} | 
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. | 
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
[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"} | 
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 SchedulerDefinition.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| SchedulerDefinition.LifecycleStateEnum? | The current state of the SchedulerDefinition. | 
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 PRODUCT ActionGroup Type. | 
ResourceRegion
Declaration
[JsonProperty(PropertyName = "resourceRegion")]
public string ResourceRegion { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Associated region | 
RunBooks
Declaration
[JsonProperty(PropertyName = "runBooks")]
public List<OperationRunbook> RunBooks { get; set; }Property Value
| Type | Description | 
|---|---|
| List<OperationRunbook> | Runbooks. | 
Schedule
Declaration
[JsonProperty(PropertyName = "schedule")]
public Schedule Schedule { get; set; }Property Value
| Type | Description | 
|---|---|
| Schedule | 
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
TimeOfNextRun
Declaration
[JsonProperty(PropertyName = "timeOfNextRun")]
public DateTime? TimeOfNextRun { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The scheduled date for the next run of 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. |