Class ListMaintenanceRunsRequest
Implements
Inherited Members
Namespace: Oci.DatabaseService.Requests
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ListMaintenanceRunsRequest : IOciRequest
Examples
Click here to see an example of how to use ListMaintenanceRuns 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? | 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 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 ListMaintenanceRunsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListMaintenanceRunsRequest.SortByEnum? | The field to sort by. You can provide one sort order ( |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListMaintenanceRunsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListMaintenanceRunsRequest.SortOrderEnum? | The sort order to use, either ascending ( |
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. |