Class ListCostAnomalyEventsRequest
Implements
Inherited Members
Namespace: Oci.BudgetService.Requests
Assembly: OCI.DotNetSDK.Budget.dll
Syntax
public class ListCostAnomalyEventsRequest : IOciRequest
Examples
Click here to see an example of how to use ListCostAnomalyEvents request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The ID of the compartment in which to list resources. |
Remarks
Required
CostAnomalyMonitorId
Declaration
[HttpConverter(TargetEnum.Query, "costAnomalyMonitorId")]
public string CostAnomalyMonitorId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The cost monitor ocid. |
CostImpact
Declaration
[HttpConverter(TargetEnum.Query, "costImpact")]
public double CostImpact { get; set; }
Property Value
| Type | Description |
|---|---|
| double | cost impact (absolute) of the anomaly event. |
CostImpactPercentage
Declaration
[HttpConverter(TargetEnum.Query, "costImpactPercentage")]
public double CostImpactPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| double | cost impact (percentage) of the anomaly event. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The maximum number of items to return. |
Name
Declaration
[HttpConverter(TargetEnum.Query, "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique, non-changeable resource name. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
Region
Declaration
[HttpConverter(TargetEnum.Query, "region", CollectionFormatType.Csv)]
public List<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | region of the anomaly event. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public SortByForCostAnomalyEvent? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| SortByForCostAnomalyEvent? | The field to sort by. If not specified, the default is timeAnomalyEventDate. The default sort order for timeAnomalyEventDate is DESC. The default sort order for costAnomalyName is ASC in alphanumeric order. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| SortOrder? | The sort order to use, either 'asc' or 'desc'. |
TargetTenantId
Declaration
[HttpConverter(TargetEnum.Query, "targetTenantId", CollectionFormatType.Csv)]
public List<string> TargetTenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | The target tenantId ocid filter param. |
TimeAnomalyEventEndDate
Declaration
[HttpConverter(TargetEnum.Query, "timeAnomalyEventEndDate")]
public DateTime? TimeAnomalyEventEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | endDate for anomaly event date. |
TimeAnomalyEventStartDate
Declaration
[HttpConverter(TargetEnum.Query, "timeAnomalyEventStartDate")]
public DateTime? TimeAnomalyEventStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | startDate for anomaly event date. |