Class ListComputedUsagesRequest
Implements
Inherited Members
Namespace: Oci.OsubusageService.Requests
Assembly: OCI.DotNetSDK.Osubusage.dll
Syntax
public class ListComputedUsagesRequest : IOciRequest
Examples
Click here to see an example of how to use ListComputedUsages 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
ComputedProduct
Declaration
[HttpConverter(TargetEnum.Query, "computedProduct")]
public string ComputedProduct { get; set; }
Property Value
Type | Description |
---|---|
string | Product part number for Computed Usage . |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return in a paginated "List" call.
|
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 |
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. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListComputedUsagesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListComputedUsagesRequest.SortByEnum? | The field to sort by. You can provide one sort order ( |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListComputedUsagesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListComputedUsagesRequest.SortOrderEnum? | The sort order to use, either ascending ( |
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. |