Show / Hide Table of Contents

Class ListTopUtilizedResourcesRequest

Inheritance
object
ListTopUtilizedResourcesRequest
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.LicensemanagerService.Requests
Assembly: OCI.DotNetSDK.Licensemanager.dll
Syntax
public class ListTopUtilizedResourcesRequest : IOciRequest
Examples

Click here to see an example of how to use ListTopUtilizedResources 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 OCID used for the license record, product license, and configuration.

Remarks

Required

IsCompartmentIdInSubtree

Declaration
[HttpConverter(TargetEnum.Query, "isCompartmentIdInSubtree")]
public bool? IsCompartmentIdInSubtree { get; set; }
Property Value
Type Description
bool?

Indicates if the given compartment is the root compartment.

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

The 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

A token representing the position at which to start retrieving results. This must come from the opc-next-page header field of a previous response.

ResourceUnitType

Declaration
[HttpConverter(TargetEnum.Query, "resourceUnitType")]
public ResourceUnit? ResourceUnitType { get; set; }
Property Value
Type Description
ResourceUnit?

A filter to return only resources whose unit matches the given resource unit.

SortBy

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

Specifies the attribute with which to sort the rules.
Default: totalUnits

  • totalUnits: Sorts by totalUnits consumed by resource.

SortOrder

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

The sort order to use, whether ASC or DESC.

Implements

IOciRequest
In this article
Back to top