Show / Hide Table of Contents

Class GetComputedUsageRequest

Inheritance
object
GetComputedUsageRequest
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 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 is used to control what 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.

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