Class ScheduledActivity
Details of scheduled activity.
Inherited Members
Namespace: Oci.FusionappsService.Models
Assembly: OCI.DotNetSDK.Fusionapps.dll
Syntax
public class ScheduledActivity
Properties
Actions
Declaration
[JsonProperty(PropertyName = "actions")]
public List<Action> Actions { get; set; }
Property Value
Type | Description |
---|---|
List<Action> | List of actions |
DelayInHours
Declaration
[JsonProperty(PropertyName = "delayInHours")]
public int? DelayInHours { get; set; }
Property Value
Type | Description |
---|---|
int? | Cumulative delay hours |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | scheduled activity display name, can be renamed. |
Remarks
Required
FusionEnvironmentId
Declaration
[Required(ErrorMessage = "FusionEnvironmentId is required.")]
[JsonProperty(PropertyName = "fusionEnvironmentId")]
public string FusionEnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string | FAaaS Environment Identifier. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier that is immutable on creation. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledActivity.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
ScheduledActivity.LifecycleDetailsEnum? | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledActivity.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ScheduledActivity.LifecycleStateEnum? | The current state of the scheduledActivity. |
Remarks
Required
RunCycle
Declaration
[Required(ErrorMessage = "RunCycle is required.")]
[JsonProperty(PropertyName = "runCycle")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledActivity.RunCycleEnum? RunCycle { get; set; }
Property Value
Type | Description |
---|---|
ScheduledActivity.RunCycleEnum? | run cadence. |
Remarks
Required
ScheduledActivityAssociationId
Declaration
[Required(ErrorMessage = "ScheduledActivityAssociationId is required.")]
[JsonProperty(PropertyName = "scheduledActivityAssociationId")]
public string ScheduledActivityAssociationId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier that associates a scheduled activity with others in one complete maintenance. For example, with ZDT, a complete upgrade maintenance includes 5 scheduled activities - PREPARE, EXECUTE, POST, PRE_MAINTENANCE, and POST_MAINTENANCE. All of them share the same unique identifier - scheduledActivityAssociationId. |
Remarks
Required
ScheduledActivityPhase
Declaration
[Required(ErrorMessage = "ScheduledActivityPhase is required.")]
[JsonProperty(PropertyName = "scheduledActivityPhase")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledActivity.ScheduledActivityPhaseEnum? ScheduledActivityPhase { get; set; }
Property Value
Type | Description |
---|---|
ScheduledActivity.ScheduledActivityPhaseEnum? | A property describing the phase of the scheduled activity. |
Remarks
Required
ServiceAvailability
Declaration
[Required(ErrorMessage = "ServiceAvailability is required.")]
[JsonProperty(PropertyName = "serviceAvailability")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledActivity.ServiceAvailabilityEnum? ServiceAvailability { get; set; }
Property Value
Type | Description |
---|---|
ScheduledActivity.ServiceAvailabilityEnum? | Service availability / impact during scheduled activity execution up down |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the scheduled activity record was created. An RFC3339 formatted datetime string. |
TimeExpectedFinish
Declaration
[Required(ErrorMessage = "TimeExpectedFinish is required.")]
[JsonProperty(PropertyName = "timeExpectedFinish")]
public DateTime? TimeExpectedFinish { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string. |
Remarks
Required
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string. |
TimeScheduledStart
Declaration
[Required(ErrorMessage = "TimeScheduledStart is required.")]
[JsonProperty(PropertyName = "timeScheduledStart")]
public DateTime? TimeScheduledStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the scheduled activity record was updated. An RFC3339 formatted datetime string. |