Class SchedulingPolicySummary
Details of a Scheduling Policy.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class SchedulingPolicySummary
Properties
Cadence
Declaration
[Required(ErrorMessage = "Cadence is required.")]
[JsonProperty(PropertyName = "cadence")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SchedulingPolicySummary.CadenceEnum? Cadence { get; set; }
Property Value
Type | Description |
---|---|
SchedulingPolicySummary.CadenceEnum? | The cadence period. |
Remarks
Required
CadenceStartMonth
Declaration
[JsonProperty(PropertyName = "cadenceStartMonth")]
public Month CadenceStartMonth { get; set; }
Property Value
Type | Description |
---|---|
Month | Start of the month to be followed during the cadence period. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
Remarks
Required
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
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name for the Scheduling Policy. The name does not need to be unique. |
Remarks
Required
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 Policy. |
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 SchedulingPolicySummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SchedulingPolicySummary.LifecycleStateEnum? | The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Scheduling Policy was created. |
TimeNextWindowStarts
Declaration
[JsonProperty(PropertyName = "timeNextWindowStarts")]
public DateTime? TimeNextWindowStarts { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the next scheduling window associated with the schedulingPolicy 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 Policy was updated. |