Show / Hide Table of Contents

Class MaintenanceExecution

Details of a maintenance executions.

Inheritance
object
MaintenanceExecution
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DataccService.Models
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class MaintenanceExecution

Properties

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment.

CustomActionTimeoutInMins

Declaration
[JsonProperty(PropertyName = "customActionTimeoutInMins")]
public int? CustomActionTimeoutInMins { get; set; }
Property Value
Type Description
int?

Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.

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. Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Description of the maintenance run execution.

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 maintenance run execution.

Remarks

Required

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. This tag option exists for cross-compatibility only. 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 OCID of the maintenance run execution.

Remarks

Required

InfrastructureId

Declaration
[JsonProperty(PropertyName = "infrastructureId")]
public string InfrastructureId { get; set; }
Property Value
Type Description
string

The OCID of the Database Infrastructure on which the maintenance run execution occurred.

IsCustomActionTimeoutEnabled

Declaration
[JsonProperty(PropertyName = "isCustomActionTimeoutEnabled")]
public bool? IsCustomActionTimeoutEnabled { get; set; }
Property Value
Type Description
bool?

At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.

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 MaintenanceRunLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
MaintenanceRunLifecycleState?

The state of the maintenance run execution.

Remarks

Required

MaintenanceRunId

Declaration
[JsonProperty(PropertyName = "maintenanceRunId")]
public string MaintenanceRunId { get; set; }
Property Value
Type Description
string

The OCID of the maintenance run to which this maintenance execution belongs.

MaintenanceSubtype

Declaration
[JsonProperty(PropertyName = "maintenanceSubtype")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceSubtypeEnum? MaintenanceSubtype { get; set; }
Property Value
Type Description
MaintenanceSubtypeEnum?

Maintenance run execution sub-type.

MaintenanceType

Declaration
[JsonProperty(PropertyName = "maintenanceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceTypeEnum? MaintenanceType { get; set; }
Property Value
Type Description
MaintenanceTypeEnum?

Maintenance type.

PatchingMode

Declaration
[JsonProperty(PropertyName = "patchingMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PatchingModeEnum? PatchingMode { get; set; }
Property Value
Type Description
PatchingModeEnum?

The patching mode for the maintenance run that is being executed.

SourceVersion

Declaration
[JsonProperty(PropertyName = "sourceVersion")]
public string SourceVersion { get; set; }
Property Value
Type Description
string

The source software version for the Oracle infrastructure.

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. Example: { "orcl-cloud": { "free-tier-retained": "true" } }

TargetResourceType

Declaration
[JsonProperty(PropertyName = "targetResourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TargetResourceTypeEnum? TargetResourceType { get; set; }
Property Value
Type Description
TargetResourceTypeEnum?

The type of the target resource on which the maintenance run execution occurred.

TargetVersion

Declaration
[JsonProperty(PropertyName = "targetVersion")]
public string TargetVersion { get; set; }
Property Value
Type Description
string

The target software version for the Database Infrastructure patching operation.

TimeEnded

Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type Description
DateTime?

The date and time the maintenance run was completed.

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The date and time the maintenance run execution started.

TotalTimeTakenInMins

Declaration
[JsonProperty(PropertyName = "totalTimeTakenInMins")]
public int? TotalTimeTakenInMins { get; set; }
Property Value
Type Description
int?

The total time taken by this execution in minutes.

WorkflowId

Declaration
[JsonProperty(PropertyName = "workflowId")]
public string WorkflowId { get; set; }
Property Value
Type Description
string

The OCID of the work request executed by this execution.

In this article
Back to top