Award Class

Definition

Award details for milestone completion.

public class Award : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BillingBenefits.Models.Award>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BillingBenefits.Models.Award>
type Award = class
    interface IJsonModel<Award>
    interface IPersistableModel<Award>
Public Class Award
Implements IJsonModel(Of Award), IPersistableModel(Of Award)
Inheritance
Award
Implements

Constructors

Name Description
Award()

Initializes a new instance of Award.

Properties

Name Description
BalanceVersion

Points to BalanceVersion document that indicates the remaining commitment balance when the credit was created.

Credit

Credit amount to be awarded.

Duration

Duration for which the benefit is active. Will be in format P{int}M or P{int}Y. Any values representing up to 12 years are valid. Upper limit examples: P144M, P12Y.

EndOn

End date when the credit expires.

ResourceId

Resource ID for the awarded credit.

StartOn

Start date when the credit becomes effective.

SystemId

This is the globally unique identifier of the credit which will not change for its lifetime.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<Award>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<Award>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<Award>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<Award>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<Award>.Write(ModelReaderWriterOptions)

Applies to