Class ScheduleSummary
Schedule summary for the list schedule.
Inherited Members
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class ScheduleSummary
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. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the schedule. |
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. See Resource Tags. 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 schedule OCID. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public Schedule.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Schedule.LifecycleStateEnum? | The schedule summary lifecycle state. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The unique name of the user-created schedule. |
Remarks
Required
ScheduleRecurrences
Declaration
[Required(ErrorMessage = "ScheduleRecurrences is required.")]
[JsonProperty(PropertyName = "scheduleRecurrences")]
public string ScheduleRecurrences { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeNextRun
Declaration
[JsonProperty(PropertyName = "timeNextRun")]
public DateTime? TimeNextRun { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the next job execution. |
TimeScheduled
Declaration
[Required(ErrorMessage = "TimeScheduled is required.")]
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the first time job execution. |
Remarks
Required