Microsoft.BillingBenefits (preview:2025-05-01)

2025/11/14 • 60 new methods

Operations_List (new)
Description List all the operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrderAlias_Create (new)
Description Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.BillingBenefits/savingsPlanOrderAliases/{savingsPlanOrderAliasName}
{
savingsPlanOrderAliasName: string ,
api-version: string ,
body:
{
sku:
{
name: string ,
}
,
kind: string ,
properties:
{
displayName: string ,
savingsPlanOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
kind: string ,
properties:
{
displayName: string ,
savingsPlanOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
sku:
{
name: string ,
}
,
kind: string ,
properties:
{
displayName: string ,
savingsPlanOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrderAlias_Get (new)
Description Get a savings plan.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlanOrderAliases/{savingsPlanOrderAliasName}
{
savingsPlanOrderAliasName: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
kind: string ,
properties:
{
displayName: string ,
savingsPlanOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrder_Get (new)
Description Get a savings plan order.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}
{
savingsPlanOrderId: string ,
api-version: string ,
$expand: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
expiryDateTime: string ,
benefitStartTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
billingAccount: string ,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrder_Elevate (new)
Description Elevate as owner on savings plan order based on billing permissions.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/elevate
{
savingsPlanOrderId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
properties:
{
principalId: string ,
roleDefinitionId: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrder_List (new)
Description List all Savings plan orders.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlanOrders
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
expiryDateTime: string ,
benefitStartTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
billingAccount: string ,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlan_List (new)
Description List savings plans in an order.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans
{
savingsPlanOrderId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
userFriendlyAppliedScopeType: string ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
benefitStartTime: string ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
renew: boolean ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlan_ListAll (new)
Description List savings plans.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlans
{
api-version: string ,
$filter: string ,
$orderby: string ,
refreshSummary: string ,
$skiptoken: number ,
selectedState: string ,
take: number ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
userFriendlyAppliedScopeType: string ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
benefitStartTime: string ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
renew: boolean ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
additionalProperties:
[
{
name: string ,
value:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
processingCount: number ,
noBenefitCount: number ,
warningCount: number ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlan_Get (new)
Description Get savings plan.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
$expand: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
userFriendlyAppliedScopeType: string ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
benefitStartTime: string ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
renew: boolean ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlan_Update (new)
Description Update savings plan.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
userFriendlyAppliedScopeType: string ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
benefitStartTime: string ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
}
,
renew: boolean ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlan_ValidateUpdate (new)
Description Validate savings plan patch.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/validate
{
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
benefits:
[
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
benefits:
[
{
valid: boolean ,
reasonCode: string ,
reason: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Benefit_Validate (new)
Description Validate any benefit.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.BillingBenefits/validate
{
api-version: string ,
body:
{
benefits:
[
{
benefitType: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
benefits:
[
{
valid: boolean ,
reasonCode: string ,
reason: string ,
resourceId: string ,
systemId: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrderAlias_Create (new)
Description Create a reservation order alias.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.BillingBenefits/reservationOrderAliases/{reservationOrderAliasName}
{
reservationOrderAliasName: string ,
api-version: string ,
body:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
quantity: integer ,
renew: boolean ,
reservedResourceType: enum ,
reviewDateTime: string ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
displayName: string ,
reservationOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
quantity: integer ,
renew: boolean ,
reservedResourceType: enum ,
reviewDateTime: string ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
displayName: string ,
reservationOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
quantity: integer ,
renew: boolean ,
reservedResourceType: enum ,
reviewDateTime: string ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrderAlias_Get (new)
Description Get a reservation order alias.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.BillingBenefits/reservationOrderAliases/{reservationOrderAliasName}
{
reservationOrderAliasName: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
displayName: string ,
reservationOrderId: string ,
provisioningState: enum ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
quantity: integer ,
renew: boolean ,
reservedResourceType: enum ,
reviewDateTime: string ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_Create (new)
Description Create discount.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}
{
subscriptionId: string ,
resourceGroupName: string ,
discountName: string ,
api-version: string ,
body:
{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_Delete (new)
Description Delete discount. Clears the metadata from the user's view.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}
{
subscriptionId: string ,
resourceGroupName: string ,
discountName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discount_Get (new)
Description Get discount at resource group level
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}
{
subscriptionId: string ,
resourceGroupName: string ,
discountName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discount_Update (new)
Description Update discounts
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}
{
subscriptionId: string ,
resourceGroupName: string ,
discountName: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_ResourceGroupList (new)
Description List discounts at resource group level
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_SubscriptionList (new)
Description List discounts at subscription level
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.BillingBenefits/discounts
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_Cancel (new)
Description Cancel discount. Stops applying the benefit.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
discountName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Discounts_ScopeList (new)
Description List discounts that are applicable for a given scope. Currently supported scopes: billing accounts
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.BillingBenefits/applicableDiscounts
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
productCode: string ,
startAt: string ,
systemId: string ,
provisioningState: enum ,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
customerResourceId: string ,
displayName: string ,
status: enum ,
benefitResourceId: string ,
appliedScopeType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_Create (new)
Description Create MACC.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
body:
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_Get (new)
Description Get a MACC.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_Update (new)
Description Update MACC.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
body:
{
properties:
{
commitment:
{
grain: enum ,
}
,
endAt: string ,
allowContributors: boolean ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
displayName: string ,
status: enum ,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_Delete (new)
Description Delete MACC.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_ListByResourceGroup (new)
Description List MACCs under a resource group for primary service admin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_ListBySubscription (new)
Description List MACCs under a subscription from primary service tenant.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.BillingBenefits/maccs
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_Cancel (new)
Description Represents an operation to cancel MACC contract. This operation does not indicate deletion of the MACC, but rather stops applying the benefit to the account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_WriteOff (new)
Description Operation to waive a customer's pending MACC balance (Shortfall) from their account, ensuring they are not charged for the outstanding amount.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/writeOff
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Contributors_GetFromPrimary (new)
Description Get a contributor for primary service admin
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/contributors/{contributorName}
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
contributorName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Contributors_ListFromPrimary (new)
Description List contributors under a MACC for primary service admin
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/contributors
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maccs_ChargeShortfall (new)
Description Operation to charge shortfall to a customer's account, ensuring they are charged for the outstanding amount of MACC credit.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/chargeShortfall
{
subscriptionId: string ,
resourceGroupName: string ,
maccName: string ,
api-version: string ,
body:
{
properties:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SellerResource_List (new)
Description List maccs by billing account
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.BillingBenefits/listSellerResources
{
api-version: string ,
body:
{
properties:
{
billingAccountResourceId: string ,
$filter: string ,
contributors: boolean ,
milestones: boolean ,
primaryResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ApplicableMaccs_List (new)
Description List maccs that are applicable for a given billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.BillingBenefits/applicableMaccs
{
billingAccountId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Contributors_ListFromApplicableMacc (new)
Description List contributors under applicable MACCs for a given billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.BillingBenefits/applicableMaccs/{systemId}/providers/Microsoft.BillingBenefits/applicableContributors
{
billingAccountId: string ,
systemId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
status: enum ,
entityType: enum ,
displayName: string ,
productCode: string ,
billingAccountResourceId: string ,
commitment:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
systemId: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
milestones:
[
{
milestoneId: string ,
commitment:
{
currencyCode: string ,
amount: number ,
}
,
endAt: string ,
automaticShortfall: enum ,
automaticShortfallSuppressReason:
{
code: string ,
message: string ,
}
,
status: enum ,
shortfall:
{
productCode: string ,
charge:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
balanceVersion: number ,
systemId: string ,
}
,
}
,
]
,
resourceId: string ,
allowContributors: boolean ,
primaryResourceId: string ,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Credits_Create (new)
Description Create a credit.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
body:
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
Credits_Get (new)
Description Get a credit.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Credits_Update (new)
Description Update a credit.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
body:
{
tags: object ,
properties:
{
credit:
{
grain: enum ,
}
,
endAt: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
Credits_Delete (new)
Description Delete a credit.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (204)

{
azure-asyncoperation: string ,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
Credits_ListByResourceGroup (new)
Description List Credits under a resource group from primary service admin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Credits_ListBySubscription (new)
Description List credits under a subscription from primary service tenant.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.BillingBenefits/credits
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Credits_Cancel (new)
Description Cancels a credit.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
Sources_Create (new)
Description Create a credit source.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources/{sourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
sourceName: string ,
api-version: string ,
body:
{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Sources_Get (new)
Description Get a credit source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources/{sourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
sourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Sources_Update (new)
Description Update a credit source.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources/{sourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
sourceName: string ,
api-version: string ,
body:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Sources_Delete (new)
Description Delete a credit source.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources/{sourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
sourceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Sources_ListByCredit (new)
Description List credit sources for a credit under a resource group from primary service admin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources
{
subscriptionId: string ,
resourceGroupName: string ,
creditName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
sourceResourceId: string ,
impactedBillingPeriod: string ,
credit:
{
grain: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Credits_ListApplicable (new)
Description List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.BillingBenefits/applicableCredits
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
productCode: string ,
reason:
{
code: number ,
description: string ,
}
,
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
policies:
{
redemption: enum ,
expiration: enum ,
}
,
billingAccountResourceId: string ,
billingProfileResourceId: string ,
breakdown:
[
{
allocation:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
dimensions:
[
{
key: string ,
value: string ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
systemId: string ,
customerId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCredits_CreateOrUpdate (new)
Description Create or update a conditional credit.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
body:
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
ConditionalCredits_Get (new)
Description Get a conditional credit.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCredits_Update (new)
Description Update a conditional credit.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
endAt: string ,
allowContributors: enum ,
milestones:
[
{
award:
{
credit:
{
grain: enum ,
}
,
startAt: string ,
endAt: string ,
resourceId: string ,
systemId: string ,
balanceVersion: number ,
duration: string ,
}
,
}
,
]
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
ConditionalCredits_Delete (new)
Description Delete a conditional credit.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (204)

{
azure-asyncoperation: string ,
}

⚐ Response (default)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
ConditionalCredits_ListByResourceGroup (new)
Description List conditional credits by resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCredits_ListBySubscription (new)
Description List conditional credits by subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.BillingBenefits/conditionalCredits
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCredits_Cancel (new)
Description Cancel conditional credit. Stops applying the benefit.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
retry-after: integer ,
}

⚐ Response (200)

{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCreditContributors_GetFromPrimary (new)
Description Get a conditional credit contributor for primary service admin
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}/contributors/{contributorName}
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
contributorName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
primaryResourceId: string ,
systemId: string ,
productCode: string ,
startAt: string ,
milestones:
[
object ,
]
,
primaryBillingAccountResourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCreditContributors_ListFromPrimary (new)
Description List contributors under a primary conditional credit for primary service admin
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/conditionalCredits/{conditionalCreditName}/contributors
{
subscriptionId: string ,
resourceGroupName: string ,
conditionalCreditName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
primaryResourceId: string ,
systemId: string ,
productCode: string ,
startAt: string ,
milestones:
[
object ,
]
,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCredits_ScopeList (new)
Description List conditional credits that are applicable for a given scope. Currently supported scopes: billing accounts
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.BillingBenefits/applicableConditionalCredits
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityType: enum ,
displayName: string ,
billingAccountResourceId: string ,
provisioningState: enum ,
status: enum ,
startAt: string ,
endAt: string ,
productCode: string ,
benefitResourceId: string ,
resourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConditionalCreditContributors_ListFromApplicableConditionalCredit (new)
Description List contributors under applicable conditional credits for a given billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.BillingBenefits/applicableConditionalCredits/{systemId}/providers/Microsoft.BillingBenefits/applicableContributors
{
billingAccountId: string ,
systemId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
primaryResourceId: string ,
systemId: string ,
productCode: string ,
startAt: string ,
milestones:
[
object ,
]
,
primaryBillingAccountResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}