Class MaintenanceRun
Details of a maintenance run.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.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
CurrentCustomActionTimeoutInMins
Declaration
[JsonProperty(PropertyName = "currentCustomActionTimeoutInMins")]
public int? CurrentCustomActionTimeoutInMins { get; set; }
Property Value
Type | Description |
---|---|
int? | Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes. |
CurrentPatchingComponent
Declaration
[JsonProperty(PropertyName = "currentPatchingComponent")]
public string CurrentPatchingComponent { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the current infrastruture 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 database server patching operation. Specify a number of minutes, from 15 to 120. |
DatabaseSoftwareImageId
Declaration
[JsonProperty(PropertyName = "databaseSoftwareImageId")]
public string DatabaseSoftwareImageId { get; set; }
Property Value
Type | Description |
---|---|
string | The Autonomous Database Software Image OCID |
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 infrastruture component patching operation. |
EstimatedPatchingTime
Declaration
[JsonProperty(PropertyName = "estimatedPatchingTime")]
public EstimatedPatchingTime EstimatedPatchingTime { get; set; }
Property Value
Type | Description |
---|---|
EstimatedPatchingTime |
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
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 database servers patching operations. |
IsDstFileUpdateEnabled
Declaration
[JsonProperty(PropertyName = "isDstFileUpdateEnabled")]
public bool? IsDstFileUpdateEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner. |
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 MaintenanceRun.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.LifecycleStateEnum? | The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED. |
Remarks
Required
MaintenanceSubtype
Declaration
[JsonProperty(PropertyName = "maintenanceSubtype")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceRun.MaintenanceSubtypeEnum? MaintenanceSubtype { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.MaintenanceSubtypeEnum? | Maintenance sub-type. |
MaintenanceType
Declaration
[JsonProperty(PropertyName = "maintenanceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceRun.MaintenanceTypeEnum? MaintenanceType { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.MaintenanceTypeEnum? | Maintenance type. |
PatchFailureCount
Declaration
[JsonProperty(PropertyName = "patchFailureCount")]
public int? PatchFailureCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Contain the patch failure count. |
PatchId
Declaration
[JsonProperty(PropertyName = "patchId")]
public string PatchId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier |
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 MaintenanceRun.PatchingModeEnum? PatchingMode { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.PatchingModeEnum? | Cloud Exadata infrastructure node patching method, 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 MaintenanceRun.PatchingStatusEnum? PatchingStatus { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.PatchingStatusEnum? | The status of the patching operation. |
PeerMaintenanceRunId
Declaration
[JsonProperty(PropertyName = "peerMaintenanceRunId")]
public string PeerMaintenanceRunId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the maintenance run for the Autonomous Data Guard association's peer container database. |
TargetDbServerVersion
Declaration
[JsonProperty(PropertyName = "targetDbServerVersion")]
public string TargetDbServerVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The target software version for the database server patching operation. |
TargetResourceId
Declaration
[JsonProperty(PropertyName = "targetResourceId")]
public string TargetResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the target resource on which the maintenance run occurs. |
TargetResourceType
Declaration
[JsonProperty(PropertyName = "targetResourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceRun.TargetResourceTypeEnum? TargetResourceType { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceRun.TargetResourceTypeEnum? | The type of the target resource on which the maintenance run occurs. |
TargetStorageServerVersion
Declaration
[JsonProperty(PropertyName = "targetStorageServerVersion")]
public string TargetStorageServerVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The target Cell version that is to be patched to. |
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. |