Class ListWorkRequestsRequest
Implements
Inherited Members
Namespace: Oci.ContainerengineService.Requests
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class ListWorkRequestsRequest : IOciRequest
Examples
Click here to see an example of how to use ListWorkRequests request.
Properties
ClusterId
Declaration
[HttpConverter(TargetEnum.Query, "clusterId")]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the cluster. |
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
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. 1 is the minimum, 1000 is the maximum. 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. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | For list pagination. The value of the |
ResourceId
Declaration
[HttpConverter(TargetEnum.Query, "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource associated with a work request |
ResourceType
Declaration
[HttpConverter(TargetEnum.Query, "resourceType")]
public ListWorkRequestsRequest.ResourceTypeEnum? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
ListWorkRequestsRequest.ResourceTypeEnum? | Type of the resource associated with a work request |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListWorkRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListWorkRequestsRequest.SortByEnum? | The optional field to sort the results by. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder? | The optional order in which to sort the results. |
Status
Declaration
[HttpConverter(TargetEnum.Query, "status", CollectionFormatType.Multi)]
public List<string> Status { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A work request status to filter on. Can have multiple parameters of this name. |