Show / Hide Table of Contents

Class ListMaintenanceExecutionsRequest

Inheritance
object
ListMaintenanceExecutionsRequest
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.DataccService.Requests
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class ListMaintenanceExecutionsRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).

Remarks

Required

DisplayName

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

A filter to return resources that match the entire display name given. The match is case sensitive.

InfrastructureId

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

The Database Infrastructure ID.

LifecycleState

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

A filter to return only resources that match the given lifecycle state exactly.

Limit

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

The maximum number of items to return in a page.

MaintenanceRunId

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

The maintenance run OCID.

MaintenanceSubtype

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

The sub-type of the maintenance run.

MaintenanceType

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

The maintenance type.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request identifier.

Page

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

The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.

SortBy

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

The field by which you want to sort. You can provide only one type of sort order. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified, then timeCreated is the default. When listing software images within the same version, using sortBy=buildIdentifier is recommended. buildIdentifier is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.

SortOrder

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

The sort order that you want to use, which is either ASC or DESC.

TargetResourceType

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

The type of the target resource.

TimeAcceptedGreaterThanOrEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "timeAcceptedGreaterThanOrEqualTo")]
public DateTime? TimeAcceptedGreaterThanOrEqualTo { get; set; }
Property Value
Type Description
DateTime?

Filter maintenance run for after given time.

TimeAcceptedLessThanOrEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "timeAcceptedLessThanOrEqualTo")]
public DateTime? TimeAcceptedLessThanOrEqualTo { get; set; }
Property Value
Type Description
DateTime?

Filter maintenance run for before given time.

Type

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

The maintenance execution type.

Implements

IOciRequest
In this article
Back to top