Class ListStorageWorkRequestsRequest
Implements
Inherited Members
Namespace: Oci.LoganalyticsService.Requests
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class ListStorageWorkRequestsRequest : IOciRequest
Examples
Click here to see an example of how to use ListStorageWorkRequests request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The ID of the compartment in which to list resources. |
Remarks
Required
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The maximum number of items to return. |
NamespaceName
Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[HttpConverter(TargetEnum.Path, "namespaceName")]
public string NamespaceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The Logging Analytics namespace used for the request. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. |
OperationType
Declaration
[HttpConverter(TargetEnum.Query, "operationType")]
public StorageOperationType? OperationType { get; set; }
Property Value
| Type | Description |
|---|---|
| StorageOperationType? | The is the work request type query parameter |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
PolicyId
Declaration
[HttpConverter(TargetEnum.Query, "policyId")]
public string PolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | This is the query parameter of purge policy ID |
PolicyName
Declaration
[HttpConverter(TargetEnum.Query, "policyName")]
public string PolicyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | This is the query parameter of purge policy name |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListStorageWorkRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListStorageWorkRequestsRequest.SortByEnum? | This is the query parameter of which field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListStorageWorkRequestsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| ListStorageWorkRequestsRequest.SortOrderEnum? | The sort order to use, either ascending ( |
Status
Declaration
[HttpConverter(TargetEnum.Query, "status")]
public WorkRequestStatus? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| WorkRequestStatus? | The is the work request status query parameter |
TimeFinished
Declaration
[HttpConverter(TargetEnum.Query, "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The is the query parameter of when the processing of work request was finished |
TimeStarted
Declaration
[HttpConverter(TargetEnum.Query, "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The is the query parameter of when the processing of work request was started |