Show / Hide Table of Contents

Class ListComputedUsageAggregatedsRequest

Inheritance
object
ListComputedUsageAggregatedsRequest
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.OsubusageService.Requests
Assembly: OCI.DotNetSDK.Osubusage.dll
Syntax
public class ListComputedUsageAggregatedsRequest : IOciRequest
Examples

Click here to see an example of how to use ListComputedUsageAggregateds 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

Grouping

Declaration
[HttpConverter(TargetEnum.Query, "grouping")]
public ListComputedUsageAggregatedsRequest.GroupingEnum? Grouping { get; set; }
Property Value
Type Description
ListComputedUsageAggregatedsRequest.GroupingEnum?

Grouping criteria to use for aggregate the computed Usage, either hourly (HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number aggregatedComputedUsages of items to return within the Subscription "List" call, this counts the overall count across all items Example: 500

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 "List" call.

ParentProduct

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

Product part number for subscribed service line, called parent product.

SubscriptionId

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

Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.

Remarks

Required

TimeFrom

Declaration
[Required(ErrorMessage = "TimeFrom is required.")]
[HttpConverter(TargetEnum.Query, "timeFrom")]
public DateTime? TimeFrom { get; set; }
Property Value
Type Description
DateTime?

Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.

Remarks

Required

TimeTo

Declaration
[Required(ErrorMessage = "TimeTo is required.")]
[HttpConverter(TargetEnum.Query, "timeTo")]
public DateTime? TimeTo { get; set; }
Property Value
Type Description
DateTime?

Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.

Remarks

Required

XOneOriginRegion

Declaration
[HttpConverter(TargetEnum.Header, "x-one-origin-region")]
public string XOneOriginRegion { get; set; }
Property Value
Type Description
string

The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.

Implements

IOciRequest
In this article
Back to top