Microsoft.Billing (preview:2024-08-01)

2025/01/16 • 3 new methods

Migration_Get (new)
Description Gets migration mapping details.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/migrations/default
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
destinationBillingScope: string ,
status: enum ,
locale: string ,
transferId: string ,
products:
[
{
productType: string ,
productId: string ,
name: string ,
skuDescription: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Migration_Put (new)
Description Migrates from source to destination billing scope
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/migrations/default
{
billingAccountName: string ,
api-version: string ,
parameters:
{
destinationBillingScope: string ,
status: enum ,
locale: string ,
transferId: string ,
products:
[
{
productType: string ,
productId: string ,
name: string ,
skuDescription: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
destinationBillingScope: string ,
status: enum ,
locale: string ,
transferId: string ,
products:
[
{
productType: string ,
productId: string ,
name: string ,
skuDescription: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description List of operations supported by provider.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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