Class GetComputedUsageRequest
Implements
Inherited Members
Namespace: Oci.OnesubscriptionService.Requests
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class GetComputedUsageRequest : IOciRequest
Examples
Click here to see an example of how to use GetComputedUsage 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
ComputedUsageId
Declaration
[Required(ErrorMessage = "ComputedUsageId is required.")]
[HttpConverter(TargetEnum.Path, "computedUsageId")]
public string ComputedUsageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The computed usage ID. |
Remarks
Required
Fields
Declaration
[HttpConverter(TargetEnum.Query, "fields", CollectionFormatType.Multi)]
public List<string> Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. This parameter controls which fields to return. |
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. |