Class ListAggregatedComputedUsagesRequest
Implements
Inherited Members
Namespace: Oci.OnesubscriptionService.Requests
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class ListAggregatedComputedUsagesRequest : IOciRequest
Examples
Click here to see an example of how to use ListAggregatedComputedUsages 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 ListAggregatedComputedUsagesRequest.GroupingEnum? Grouping { get; set; }
Property Value
Type | Description |
---|---|
ListAggregatedComputedUsagesRequest.GroupingEnum? | Grouping criteria to use for aggregate the computed Usage, either hourly ( |
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