Show / Hide Table of Contents

Class ListMaintenanceRunHistoryRequest

Inheritance
object
ListMaintenanceRunHistoryRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabaseService.Requests
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ListMaintenanceRunHistoryRequest : IOciRequest
Examples

Click here to see an example of how to use ListMaintenanceRunHistory request.

Properties

AvailabilityDomain

Declaration
[HttpConverter(TargetEnum.Query, "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type Description
string

A filter to return only resources that match the given availability domain exactly.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The compartment OCID.

Remarks

Required

LifecycleState

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public MaintenanceRunSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
MaintenanceRunSummary.LifecycleStateEnum?

The state of the maintenance run history.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of items to return per page.

MaintenanceSubtype

Declaration
[HttpConverter(TargetEnum.Query, "maintenanceSubtype")]
public MaintenanceRunSummary.MaintenanceSubtypeEnum? MaintenanceSubtype { get; set; }
Property Value
Type Description
MaintenanceRunSummary.MaintenanceSubtypeEnum?

The sub-type of the maintenance run.

MaintenanceType

Declaration
[HttpConverter(TargetEnum.Query, "maintenanceType")]
public MaintenanceRunSummary.MaintenanceTypeEnum? MaintenanceType { get; set; }
Property Value
Type Description
MaintenanceRunSummary.MaintenanceTypeEnum?

The maintenance type.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The pagination token to continue listing from.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListMaintenanceRunHistoryRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListMaintenanceRunHistoryRequest.SortByEnum?

The field to sort by. You can provide one sort order (sortOrder). Default order for TIME_SCHEDULED and TIME_ENDED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
Note: If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListMaintenanceRunHistoryRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListMaintenanceRunHistoryRequest.SortOrderEnum?

The sort order to use, either ascending (ASC) or descending (DESC).

TargetResourceId

Declaration
[HttpConverter(TargetEnum.Query, "targetResourceId")]
public string TargetResourceId { get; set; }
Property Value
Type Description
string

The target resource ID.

TargetResourceType

Declaration
[HttpConverter(TargetEnum.Query, "targetResourceType")]
public MaintenanceRunSummary.TargetResourceTypeEnum? TargetResourceType { get; set; }
Property Value
Type Description
MaintenanceRunSummary.TargetResourceTypeEnum?

The type of the target resource.

Implements

IOciRequest
In this article
Back to top