MaccValidateModel interface
MACC validate model
- Extends
Properties
| allow |
Setting this to true means multi-entity. |
| automatic |
Setting this to 'Enable' enables automatic shortfall charging when commitment is not met. |
| automatic |
Optional field to record suppression reason for automatic shortfall. |
| benefit |
Type of benefit to validate. This is used to determine the model type for validation. |
| billing |
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. |
| display |
Display name |
| end |
Must be end of month. Timestamp must be in the ISO date format YYYY-MM-DDT23:59:59Z. |
| entity |
Represents type of the object being operated on. Possible values are primary or contributor. |
| milestones | List of milestones associated with this MACC. |
| primary |
Fully-qualified billing account resource identifier of the primary MACC. Format must be Azure Resource ID: /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}. |
| primary |
Fully-qualified resource identifier of the primary MACC. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}. |
| product |
Represents catalog UPN. |
| provisioning |
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. |
| resource |
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 |
| start |
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. |
| system |
This is the globally unique identifier of the MACC which will not change for the lifetime of the MACC. |
Property Details
allowContributors
Setting this to true means multi-entity.
allowContributors?: boolean
Property Value
boolean
automaticShortfall
Setting this to 'Enable' enables automatic shortfall charging when commitment is not met.
automaticShortfall?: string
Property Value
string
automaticShortfallSuppressReason
Optional field to record suppression reason for automatic shortfall.
automaticShortfallSuppressReason?: AutomaticShortfallSuppressReason
Property Value
benefitType
Type of benefit to validate. This is used to determine the model type for validation.
benefitType: "MACC"
Property Value
"MACC"
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}
billingAccountResourceId?: string
Property Value
string
commitment
displayName
Display name
displayName?: string
Property Value
string
endAt
Must be end of month. Timestamp must be in the ISO date format YYYY-MM-DDT23:59:59Z.
endAt?: Date
Property Value
Date
entityType
Represents type of the object being operated on. Possible values are primary or contributor.
entityType?: string
Property Value
string
milestones
List of milestones associated with this MACC.
milestones?: MaccMilestone[]
Property Value
primaryBillingAccountResourceId
Fully-qualified billing account resource identifier of the primary MACC. Format must be Azure Resource ID: /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}.
primaryBillingAccountResourceId?: string
Property Value
string
primaryResourceId
Fully-qualified resource identifier of the primary MACC. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}.
primaryResourceId?: string
Property Value
string
productCode
Represents catalog UPN.
productCode?: string
Property Value
string
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.
provisioningState?: string
Property Value
string
resourceId
This is the resource identifier of either the primary MACC or the contributor. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}.
resourceId?: string
Property Value
string
shortfall
startAt
Must be start of month. Timestamp must be in the ISO date format YYYY-MM-DDT00:00:00Z.
startAt?: Date
Property Value
Date
status
Represents the current status of the MACC.
status?: string
Property Value
string
systemId
This is the globally unique identifier of the MACC which will not change for the lifetime of the MACC.
systemId?: string
Property Value
string