Class SchedulingWindow
Details of a Scheduling Window.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class SchedulingWindow
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
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. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name for the Scheduling Window. The name does not need to be unique. |
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.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduling Window. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Additional information about the current lifecycle state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SchedulingWindow.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SchedulingWindow.LifecycleStateEnum? | The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED. |
Remarks
Required
SchedulingPolicyId
Declaration
[Required(ErrorMessage = "SchedulingPolicyId is required.")]
[JsonProperty(PropertyName = "schedulingPolicyId")]
public string SchedulingPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduling Policy. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Scheduling Window was created. |
TimeNextSchedulingWindowStarts
Declaration
[JsonProperty(PropertyName = "timeNextSchedulingWindowStarts")]
public DateTime? TimeNextSchedulingWindowStarts { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the next upcoming window associated within the schedulingWindow is planned to start. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The last date and time that the Scheduling Window was updated. |
WindowPreference
Declaration
[Required(ErrorMessage = "WindowPreference is required.")]
[JsonProperty(PropertyName = "windowPreference")]
public WindowPreferenceDetail WindowPreference { get; set; }
Property Value
Type | Description |
---|---|
WindowPreferenceDetail |
Remarks
Required