Description | : Lists the billing accounts that a user has access to. |
Reference | : Link ¶ |
⚼ Request
GET:
/providers/Microsoft.Billing/billingAccounts
{
api-version:
string
,
$expand:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
}
{
,
displayName:
string
,
soldTo:
{
,
firstName:
string
,
middleName:
string
,
lastName:
string
,
companyName:
string
,
addressLine1:
string
,
addressLine2:
string
,
addressLine3:
string
,
city:
string
,
district:
string
,
region:
string
,
country:
string
,
postalCode:
string
,
email:
string
,
phoneNumber:
string
,
}
agreementType:
enum
,
accountType:
enum
,
accountStatus:
enum
,
billingProfiles:
{
,
hasMoreResults:
boolean
,
value:
}
[
]
,
{
,
properties:
}
{
,
displayName:
string
,
poNumber:
string
,
billingRelationshipType:
enum
,
billTo:
{
,
firstName:
string
,
middleName:
string
,
lastName:
string
,
companyName:
string
,
addressLine1:
string
,
addressLine2:
string
,
addressLine3:
string
,
city:
string
,
district:
string
,
region:
string
,
country:
string
,
postalCode:
string
,
email:
string
,
phoneNumber:
string
,
}
indirectRelationshipInfo:
{
,
billingAccountName:
string
,
billingProfileName:
string
,
displayName:
string
,
}
invoiceEmailOptIn:
boolean
,
invoiceDay:
integer
,
currency:
string
,
enabledAzurePlans:
[
]
,
{
,
skuId:
string
,
skuDescription:
string
,
}
invoiceSections:
{
,
hasMoreResults:
boolean
,
value:
}
[
]
,
{
,
properties:
}
{
,
displayName:
string
,
labels:
object
,
state:
enum
,
systemId:
string
,
tags:
object
,
targetCloud:
enum
,
}
hasReadAccess:
boolean
,
systemId:
string
,
status:
enum
,
statusReasonCode:
enum
,
spendingLimit:
enum
,
targetClouds:
[
,
string
,
]
tags:
object
,
}
enrollmentDetails:
{
,
startDate:
string
,
endDate:
string
,
currency:
string
,
channel:
string
,
policies:
{
,
accountOwnerViewCharges:
boolean
,
departmentAdminViewCharges:
boolean
,
marketplaceEnabled:
boolean
,
reservedInstancesEnabled:
boolean
,
}
language:
string
,
countryCode:
string
,
status:
string
,
billingCycle:
string
,
}
departments:
[
]
,
{
,
properties:
}
{
,
departmentName:
string
,
costCenter:
string
,
status:
string
,
enrollmentAccounts:
}
[
]
,
{
,
properties:
}
{
,
accountName:
string
,
costCenter:
string
,
accountOwner:
string
,
accountOwnerEmail:
string
,
status:
string
,
startDate:
string
,
endDate:
string
,
department:
string
,
}
enrollmentAccounts:
[
]
,
{
,
properties:
}
{
,
accountName:
string
,
costCenter:
string
,
accountOwner:
string
,
accountOwnerEmail:
string
,
status:
string
,
startDate:
string
,
endDate:
string
,
department:
string
,
}
hasReadAccess:
boolean
,
notificationEmailAddress:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
}
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
}