MaccValidateModel Class

Definition

MACC validate model.

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

Constructors

Name Description
MaccValidateModel()

Initializes a new instance of MaccValidateModel.

Properties

Name Description
AutomaticShortfall

Setting this to 'Enable' enables automatic shortfall charging when commitment is not met.

AutomaticShortfallSuppressReason

Optional field to record suppression reason for automatic shortfall.

BillingAccountResourceId

Fully-qualified identifier of the billing account where the MACC is applied. Present only for Enterprise Agreement customers. Format must be Azure Resource ID: /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}.

Commitment

Commitment towards the benefit.

DisplayName

Display name.

EndOn

Must be end of month. Timestamp must be in the ISO date format YYYY-MM-DDT23:59:59Z.

EntityType

Represents type of the object being operated on. Possible values are primary or contributor.

IsAllowContributors

Setting this to true means multi-entity.

Milestones

List of milestones associated with this MACC.

PrimaryBillingAccountResourceId

Fully-qualified billing account resource identifier of the primary MACC. Format must be Azure Resource ID: /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}.

PrimaryResourceId

Fully-qualified resource identifier of the primary MACC. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}.

ProductCode

Represents catalog UPN.

ProvisioningState

Provisioning state of MACC as assigned by RPaaS. This indicates the last operation's status. For all practical purposes, this can be ignored. For current status of MACC resource, refer to MaccStatus.

ResourceId

This is the resource identifier of either the primary MACC or the contributor. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}.

Shortfall

MACC shortfall.

StartOn

Must be start of month. Timestamp must be in the ISO date format YYYY-MM-DDT00:00:00Z.

Status

Represents the current status of the MACC.

SystemId

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

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<BenefitValidateModel>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from BenefitValidateModel)
IJsonModel<BenefitValidateModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from BenefitValidateModel)
IJsonModel<MaccValidateModel>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MaccValidateModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BenefitValidateModel>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from BenefitValidateModel)
IPersistableModel<BenefitValidateModel>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from BenefitValidateModel)
IPersistableModel<BenefitValidateModel>.Write(ModelReaderWriterOptions) (Inherited from BenefitValidateModel)
IPersistableModel<MaccValidateModel>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MaccValidateModel>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MaccValidateModel>.Write(ModelReaderWriterOptions)

Applies to