Show / Hide Table of Contents

Class ListUsageLimitsRequest

Inheritance
object
ListUsageLimitsRequest
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.UsageService.Requests
Assembly: OCI.DotNetSDK.Usage.dll
Syntax
public class ListUsageLimitsRequest : IOciRequest
Examples

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

Properties

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 root compartment.

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 in the paginated response.

LimitType

Declaration
[HttpConverter(TargetEnum.Query, "limitType")]
public string LimitType { get; set; }
Property Value
Type Description
string

Hard or soft limit. Hard limits lead to breaches, soft to alerts.

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 value of the 'opc-next-page' response header from the previous call.

ResourceType

Declaration
[HttpConverter(TargetEnum.Query, "resourceType")]
public string ResourceType { get; set; }
Property Value
Type Description
string

Resource Name.

ServiceType

Declaration
[HttpConverter(TargetEnum.Query, "serviceType")]
public string ServiceType { get; set; }
Property Value
Type Description
string

Service Name.

SortBy

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

The field to sort by. Supports one sort order.

SortOrder

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

The sort order to use, which can be ascending (ASC) or descending (DESC).

SubscriptionId

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

The subscription ID for which rewards information is requested for.

Remarks

Required

Implements

IOciRequest
In this article
Back to top