You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ResourceCommitmentChangeset appears in type CommitmentChangeRequest.
86
+
// ResourceCommitmentChangeset appears in type [CommitmentChangeRequest].
87
87
// It contains all commitments that are part of a single atomic changeset that belong to a given resource within a specific project and AZ.
88
88
typeResourceCommitmentChangesetstruct {
89
89
// The sum of all commitments in CommitmentStatusConfirmed for the given resource, project and AZ before and after applying the proposed commitment changeset.
// CommitmentStatus is an enum containing the various lifecycle states of type Commitment.
154
+
// CommitmentStatus is an enum containing the various lifecycle states of type [Commitment].
155
155
// The following state transitions are allowed:
156
156
//
157
157
// start = "planned" -> "pending" -> "confirmed" // normal commitment that takes effect after the ConfirmBy date
@@ -196,7 +196,7 @@ func (s CommitmentStatus) IsValid() bool {
196
196
}
197
197
198
198
// RequiresConfirmation describes if this request requires confirmation from the liquid.
199
-
// The RejectionReason in type CommitmentChangeResponse may only be used if this returns true.
199
+
// The RejectionReason in type [CommitmentChangeResponse] may only be used if this returns true.
200
200
//
201
201
// Examples for RequiresConfirmation = true include commitments moving into or spawning in the "guaranteed" or "confirmed" statuses, or conversion of commitments between resources.
202
202
// Examples for RequiresConfirmation = false include commitments being split, moving into the "expired" status or being hard deleted.
// AZRateUsageReport contains usage data for a rate in a single project and AZ.
187
-
// It appears in type RateUsageReport.
187
+
// It appears in type [RateUsageReport].
188
188
typeAZRateUsageReportstruct {
189
189
// The amount of usage for this rate. Must be Some() and non-nil if the rate is declared with HasUsage = true.
190
190
// The value Some(nil) is forbidden.
191
191
//
192
192
// For a given rate, project and AZ, this value must only ever increase monotonically over time.
193
193
// If there is the possibility of counter resets or limited retention in the underlying data source, the liquid must add its own logic to guarantee monotonicity.
194
-
// A common strategy is to remember previous measurements in the SerializedState field of type ServiceUsageReport.
194
+
// A common strategy is to remember previous measurements in the SerializedState field of type [ServiceUsageReport].
195
195
//
196
196
// This field is modeled as a bigint because network rates like "bytes transferred" may easily exceed the range of uint64 over time.
0 commit comments