Class ListWorkRequestsRequest
Implements
Inherited Members
Namespace: Oci.OsmanagementhubService.Requests
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ListWorkRequestsRequest : IOciRequest
Examples
Click here to see an example of how to use ListWorkRequests request.
Properties
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. |
DisplayNameContains
Declaration
[HttpConverter(TargetEnum.Query, "displayNameContains")]
public string DisplayNameContains { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return resources that may partially match the given display name. |
InitiatorId
Declaration
[HttpConverter(TargetEnum.Query, "initiatorId")]
public string InitiatorId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the schedule job that initiated the work request. |
IsManagedByAutonomousLinux
Declaration
[HttpConverter(TargetEnum.Query, "isManagedByAutonomousLinux")]
public bool? IsManagedByAutonomousLinux { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether to list only resources managed by the Autonomous Linux service. |
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 Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
OperationType
Declaration
[HttpConverter(TargetEnum.Query, "operationType", CollectionFormatType.Multi)]
public List<WorkRequestOperationType> OperationType { get; set; }
Property Value
Type | Description |
---|---|
List<WorkRequestOperationType> | The asynchronous operation tracked by this work request. The filter returns only resources that match the given OperationType. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | For list pagination. The value of the |
ParentId
Declaration
[HttpConverter(TargetEnum.Query, "parentId")]
public string ParentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the parent work request. |
ParentResourcesNotEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "parentResourcesNotEqualTo", CollectionFormatType.Multi)]
public List<string> ParentResourcesNotEqualTo { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A filter to return the resources whose parent resources are not the same as the given resource OCIDs. |
ResourceId
Declaration
[HttpConverter(TargetEnum.Query, "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. This filter returns resources associated with the specified resource. |
RetryOfId
Declaration
[HttpConverter(TargetEnum.Query, "retryOfId")]
public string RetryOfId { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return the work requests that are a retry of the given work request OCIDs. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListWorkRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListWorkRequestsRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder? | The sort order to use, either 'ASC' or 'DESC'. |
Status
Declaration
[HttpConverter(TargetEnum.Query, "status", CollectionFormatType.Multi)]
public List<OperationStatus> Status { get; set; }
Property Value
Type | Description |
---|---|
List<OperationStatus> | A filter to return work requests that match the given status. |
TimeCreatedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter to return work requests that were created on or after the date provided (in RFC 3339 format). Example: '2023-08-25T21:10:29.600Z' |
TimeCreatedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter to return work requests that were created before the date provided (in RFC 3339 format). Example: '2023-08-25T21:10:29.600Z' |
WorkRequestId
Declaration
[HttpConverter(TargetEnum.Query, "workRequestId")]
public string WorkRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the work request. |