Show / Hide Table of Contents

Class Budget

Represents a budget for a project.

Inheritance
object
Budget
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK.Sdk
Assembly: QarnotSDK.dll
Syntax
public class Budget

Properties

Alias

The display name of the budget.

Declaration
[JsonProperty("alias")]
public string Alias { get; set; }
Property Value
Type Description
string

BudgetOverrunPolicy

The policy that will act on project's compute if the budget is exceeded.

Declaration
[JsonProperty("budgetOverrunPolicy")]
public BudgetOverrunPolicy BudgetOverrunPolicy { get; set; }
Property Value
Type Description
BudgetOverrunPolicy

ConsumedAmountInCents

The amount of the budget already consumed in cents.

Declaration
[JsonProperty("consumedAmountInCents")]
public long ConsumedAmountInCents { get; set; }
Property Value
Type Description
long

ExpirationDateUtc

The expiration date of the budget in UTC (if any). If ExpirationDateUtc is null, the budget will always be active and consumed until it is archived.

Declaration
[JsonProperty("expirationDateUtc")]
public DateTime? ExpirationDateUtc { get; set; }
Property Value
Type Description
DateTime?

IsArchived

Whether the budget is archived. An archived budget is not active: it is not consumed anymore and cannot trigger the BudgetOverrunPolicy

Declaration
[JsonProperty("isArchived")]
public bool IsArchived { get; set; }
Property Value
Type Description
bool

RemainingAmountInCents

The remaining amount of the budget in cents.

Declaration
[JsonProperty("remainingAmountInCents")]
public long RemainingAmountInCents { get; set; }
Property Value
Type Description
long

StartDateUtc

The start date of the budget in UTC. From this date the budget is consumed and can trigger its BudgetOverrunPolicy.

Declaration
[JsonProperty("startDateUtc")]
public DateTime StartDateUtc { get; set; }
Property Value
Type Description
DateTime

TotalAmountInCents

The total budget in cents.

Declaration
[JsonProperty("totalAmountInCents")]
public long TotalAmountInCents { get; set; }
Property Value
Type Description
long

Uuid

The unique identifier of the budget.

Declaration
[JsonProperty("uuid")]
public Guid Uuid { get; set; }
Property Value
Type Description
Guid

Methods

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()
In this article
Back to top Generated by DocFX