Microsoft.Billing (preview:2020-09-01)

2025/09/26 • 5 new, 5 deleted methods

Operations_List (new)
Description Lists the available billing REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Activate_Promotion (new)
Description Activate promotion and create promotion resource.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/promotions/{promotionId}
{
promotionId: string ,
api-version: string ,
parameters:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
appliedScopes:
[
string ,
]
,
orderId: string ,
}
,
}
,
}

⚐ Response (202)

{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotion_Get (new)
Description Get the details of the `Promotion`.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/promotions/{promotionId}
{
promotionId: string ,
api-version: string ,
}

⚐ Response (200)

{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotions_List (new)
Description List of all the `Promotion`s that the user has access.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/promotions
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotion_CheckEligibility (new)
Description Checks the eligibility of a subscription for all active promotions.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/promotions/{promotionSkuId}/checkEligibility
{
promotionSkuId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
promotion:
{
id: string ,
name: string ,
eligible: boolean ,
reason: string ,
details: string ,
eligibilitySubscriptionId: string ,
expiryDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists the available billing REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Activate_Promotion (removed)
Description Activate promotion and create promotion resource.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/promotions/{promotionId}
{
promotionId: string ,
api-version: string ,
parameters:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
appliedScopes:
[
string ,
]
,
orderId: string ,
}
,
}
,
}

⚐ Response (202)

{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotion_Get (removed)
Description Get the details of the `Promotion`.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/promotions/{promotionId}
{
promotionId: string ,
api-version: string ,
}

⚐ Response (200)

{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotions_List (removed)
Description List of all the `Promotion`s that the user has access.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/promotions
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: integer ,
id: string ,
name: string ,
properties:
{
displayName: string ,
effectiveDateTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
provisioningState: string ,
appliedScopes:
[
string ,
]
,
}
,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Promotion_CheckEligibility (removed)
Description Checks the eligibility of a subscription for all active promotions.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/promotions/{promotionSkuId}/checkEligibility
{
promotionSkuId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
promotion:
{
id: string ,
name: string ,
eligible: boolean ,
reason: string ,
details: string ,
eligibilitySubscriptionId: string ,
expiryDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}