Class Schedule
Schedule Information.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class Schedule
Properties
Duration
Declaration
[JsonProperty(PropertyName = "duration")]
public string Duration { get; set; }
Property Value
Type | Description |
---|---|
string | Duration if schedule type is Custom |
ExecutionStartdate
Declaration
[Required(ErrorMessage = "ExecutionStartdate is required.")]
[JsonProperty(PropertyName = "executionStartdate")]
public DateTime? ExecutionStartdate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Start Date for the schedule. An RFC3339 formatted datetime string |
Remarks
Required
MaintenanceWindowId
Declaration
[JsonProperty(PropertyName = "maintenanceWindowId")]
public string MaintenanceWindowId { get; set; }
Property Value
Type | Description |
---|---|
string | Provide MaintenanceWindowId if Schedule Type is Maintenance Window |
Recurrences
Declaration
[JsonProperty(PropertyName = "recurrences")]
public string Recurrences { get; set; }
Property Value
Type | Description |
---|---|
string | Recurrence rule specification if Schedule Type is Custom and Recurring |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Schedule.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
Schedule.TypeEnum? | Schedule Type |
Remarks
Required