Class ListCostAnomalyMonitorsRequest
Implements
Inherited Members
Namespace: Oci.BudgetService.Requests
Assembly: OCI.DotNetSDK.Budget.dll
Syntax
public class ListCostAnomalyMonitorsRequest : IOciRequest
Examples
Click here to see an example of how to use ListCostAnomalyMonitors 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
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public CostAnomalyMonitor.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| CostAnomalyMonitor.LifecycleStateEnum? | The current state of the cost monitor. |
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> | Cost Anomaly Monitor target resource filter region. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public SortByForCostAd? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| SortByForCostAd? | The field to sort by. If not specified, the default is timeCreated. The default sort order for timeCreated is DESC. The default sort order for displayName 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. |