Show / Hide Table of Contents

Class ListQueriesRequest

Inheritance
object
ListQueriesRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.UsageapiService.Requests
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class ListQueriesRequest : IOciRequest
Examples

Click here to see an example of how to use ListQueries request.

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The compartment ID 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.

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

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListQueriesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListQueriesRequest.SortByEnum?

The field to sort by. If not specified, the default is displayName.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListQueriesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListQueriesRequest.SortOrderEnum?

The sort order to use, whether 'asc' or 'desc'.

Implements

IOciRequest
In this article
Back to top