Class ListInstanceMaintenanceEventsRequest
Implements
Inherited Members
Namespace: Oci.CoreService.Requests
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ListInstanceMaintenanceEventsRequest : IOciRequest
Examples
Click here to see an example of how to use ListInstanceMaintenanceEvents 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. |
Remarks
Required
CorrelationToken
Declaration
[HttpConverter(TargetEnum.Query, "correlationToken")]
public string CorrelationToken { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to only return resources that have a matching correlationToken. |
InstanceAction
Declaration
[HttpConverter(TargetEnum.Query, "instanceAction")]
public string InstanceAction { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to only return resources that match the given instance action. |
InstanceId
Declaration
[HttpConverter(TargetEnum.Query, "instanceId")]
public string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the instance. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public InstanceMaintenanceEvent.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
InstanceMaintenanceEvent.LifecycleStateEnum? | A filter to only return resources that match the given lifecycle state. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | For list pagination. The maximum number of results per page, or items to return in a paginated
"List" call. For important details about how pagination works, see
List Pagination.
|
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | For list pagination. The value of the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListInstanceMaintenanceEventsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListInstanceMaintenanceEventsRequest.SortByEnum? | The field to sort by. You can provide one sort order ( |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListInstanceMaintenanceEventsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListInstanceMaintenanceEventsRequest.SortOrderEnum? | The sort order to use, either ascending ( |
TimeWindowStartGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeWindowStartGreaterThanOrEqualTo")]
public DateTime? TimeWindowStartGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Starting range to return the maintenances which are not completed (date-time is in RFC3339 format). |
TimeWindowStartLessThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeWindowStartLessThanOrEqualTo")]
public DateTime? TimeWindowStartLessThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Ending range to return the maintenances which are not completed (date-time is in RFC3339 format). |