Class MaintenanceRun
Details of a maintenance run.
Inherited Members
Namespace: Oci.DataccService.Models
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class MaintenanceRun
Properties
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
CurrentPatchingComponent
Declaration
[JsonProperty(PropertyName = "currentPatchingComponent")]
public string CurrentPatchingComponent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the current infrastructure component that is getting patched. |
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. |
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. |
Remarks
Required
EstimatedComponentPatchingStartTime
Declaration
[JsonProperty(PropertyName = "estimatedComponentPatchingStartTime")]
public DateTime? EstimatedComponentPatchingStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The estimated start time of the next infrastructure component patching operation. |
EstimatedPatchingTime
Declaration
[JsonProperty(PropertyName = "estimatedPatchingTime")]
public int? EstimatedPatchingTime { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The estimated total time required in minutes for all patching operations (compute servers, storage). |
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. |
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 occurs. |
InitialScheduledTime
Declaration
[JsonProperty(PropertyName = "initialScheduledTime")]
public DateTime? InitialScheduledTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the maintenance run was originally scheduled. |
IsCustomActionTimeoutEnabled
Declaration
[JsonProperty(PropertyName = "isCustomActionTimeoutEnabled")]
public bool? IsCustomActionTimeoutEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations. |
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 current state of the maintenance run. |
Remarks
Required
MaintenanceSubtype
Declaration
[JsonProperty(PropertyName = "maintenanceSubtype")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceSubtypeEnum? MaintenanceSubtype { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceSubtypeEnum? | Maintenance run sub-type. |
MaintenanceType
Declaration
[JsonProperty(PropertyName = "maintenanceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceTypeEnum? MaintenanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceTypeEnum? | Maintenance type. |
PatchFailureCount
Declaration
[JsonProperty(PropertyName = "patchFailureCount")]
public int? PatchFailureCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Contain the patch failure count. |
PatchIdentifier
Declaration
[JsonProperty(PropertyName = "patchIdentifier")]
public string PatchIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unique identifier of the patch. The identifier string includes the patch type and the version of the Database Infrastructure. |
PatchingEndTime
Declaration
[JsonProperty(PropertyName = "patchingEndTime")]
public DateTime? PatchingEndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time when the patching operation ended. |
PatchingMode
Declaration
[JsonProperty(PropertyName = "patchingMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PatchingModeEnum? PatchingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| PatchingModeEnum? | Database Infrastructure patching mode, either "ROLLING" or "NONROLLING". Default value is ROLLING. |
PatchingStartTime
Declaration
[JsonProperty(PropertyName = "patchingStartTime")]
public DateTime? PatchingStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time when the patching operation started. |
PatchingStatus
Declaration
[JsonProperty(PropertyName = "patchingStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PatchingStatusEnum? PatchingStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| PatchingStatusEnum? | The status of the patching operation. |
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 occurs. |
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. |
TimeScheduled
Declaration
[Required(ErrorMessage = "TimeScheduled is required.")]
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the maintenance run is scheduled to occur. |
Remarks
Required
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the maintenance run starts. |
TotalTimeTakenInMins
Declaration
[JsonProperty(PropertyName = "totalTimeTakenInMins")]
public int? TotalTimeTakenInMins { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The total time taken by corresponding resource activity in minutes. |