Show / Hide Table of Contents

Class ListCostAlertSubscriptionsRequest

Inheritance
object
ListCostAlertSubscriptionsRequest
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.BudgetService.Requests
Assembly: OCI.DotNetSDK.Budget.dll
Syntax
public class ListCostAlertSubscriptionsRequest : IOciRequest
Examples

Click here to see an example of how to use ListCostAlertSubscriptions 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 CostAlertSubscription.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
CostAlertSubscription.LifecycleStateEnum?

The current state of the cost alert subscription.

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.

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'.

Implements

IOciRequest
In this article
Back to top