你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Billing Accounts - List
列出用户有权访问的计费帐户。
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2020-05-01
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2020-05-01&$expand={$expand}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
要与客户端请求一起使用的 API 版本。 当前版本为 2020-05-01。 |
$expand
|
query |
string |
可用于扩展 soldTo、发票科目和计费配置文件。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
没问题。 请求已成功。 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Billing |
Billing |
Billing |
BillingAccountsList
Sample Request
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2020-05-01
Sample Response
{
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account 1",
"agreementType": "MicrosoftCustomerAgreement",
"accountStatus": "Active",
"accountType": "Enterprise",
"hasReadAccess": true
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"name": "10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account 2",
"agreementType": "MicrosoftCustomerAgreement",
"accountStatus": "Active",
"soldTo": null,
"accountType": "Enterprise",
"hasReadAccess": true
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-0000-0000-0000-000000000002_00000000-0000-0000-0000-000000000000",
"name": "20000000-0000-0000-0000-000000000002_00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account 3",
"agreementType": "MicrosoftCustomerAgreement",
"accountStatus": "Active",
"accountType": "Enterprise",
"hasReadAccess": true
}
}
]
}
BillingAccountsListWithExpand
Sample Request
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2020-05-01&$expand=soldTo,billingProfiles,billingProfiles/invoiceSections
Sample Response
{
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account 1",
"agreementType": "MicrosoftCustomerAgreement",
"accountStatus": "Active",
"soldTo": {
"companyName": "Contoso",
"firstName": "Test",
"lastName": "User",
"addressLine1": "Test Address",
"addressLine2": "Test Address",
"addressLine3": "Test Address",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US",
"email": "abc@contoso.com",
"phoneNumber": "000-000-0000"
},
"accountType": "Enterprise",
"billingProfiles": {
"hasMoreResults": true,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000",
"name": "11000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts/billingProfiles",
"properties": {
"displayName": "BillingProfile1",
"billingRelationshipType": "Direct",
"billTo": {
"companyName": "Contoso",
"firstName": "Test",
"lastName": "User",
"addressLine1": "Test Address1",
"addressLine2": "Test Address2",
"addressLine3": "Test Address3",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US",
"email": "abc@contoso.com",
"phoneNumber": "000-000-0000"
},
"currency": "USD",
"enabledAzurePlans": [
{
"skuId": "0001",
"skuDescription": "Microsoft Azure Plan"
},
{
"skuId": "0002",
"skuDescription": "Microsoft Azure Plan for DevTest"
}
],
"invoiceDay": 5,
"invoiceEmailOptIn": true,
"poNumber": "ABC12345",
"hasReadAccess": true,
"systemId": "1XXX-11XX-XX1-XXXX-XXX",
"status": "Warned",
"statusReasonCode": "PastDue",
"spendingLimit": "On",
"invoiceSections": {
"hasMoreResults": false,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId1",
"name": "invoiceSectionId1",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName1",
"labels": {
"pcCode": "A123456",
"costCategory": "Support"
},
"state": "Active",
"systemId": "9XXX-11XX-XX1-XXXX-XXX"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId2",
"name": "invoiceSectionId2",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName2",
"labels": {
"pcCode": "B223456",
"costCategory": "Finance"
},
"state": "Active",
"systemId": "9XXX-22XX-XX1-XXXX-XXX"
}
}
]
}
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000001",
"name": "11000000-0000-0000-0000-000000000001",
"type": "Microsoft.Billing/billingAccounts/billingProfiles",
"properties": {
"displayName": "BillingProfile2",
"billingRelationshipType": "CSPPartner",
"billTo": {
"companyName": "Contoso",
"firstName": "Test",
"lastName": "User",
"addressLine1": "Test Address1",
"addressLine2": "Test Address2",
"addressLine3": "Test Address3",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US",
"email": "abc@contoso.com",
"phoneNumber": "000-000-0000"
},
"currency": "USD",
"enabledAzurePlans": [
{
"skuId": "0001",
"skuDescription": "Microsoft Azure Plan"
},
{
"skuId": "0002",
"skuDescription": "Microsoft Azure Plan for DevTest"
}
],
"invoiceDay": 5,
"invoiceEmailOptIn": true,
"poNumber": "ABC12345",
"hasReadAccess": true,
"systemId": "2XXX-22XX-XX1-XXXX-XXX",
"status": "Active",
"spendingLimit": "Off",
"invoiceSections": {
"hasMoreResults": false,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000001/invoiceSections/invoiceSectionId11",
"name": "invoiceSectionId11",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName11",
"labels": {
"pcCode": "Z223456",
"costCategory": "Marketing"
},
"state": "Active",
"systemId": "9XXX-33XX-XX1-XXXX-XXX"
}
}
]
}
}
}
]
},
"hasReadAccess": true
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"name": "10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account 2",
"agreementType": "MicrosoftCustomerAgreement",
"accountStatus": "Active",
"soldTo": null,
"accountType": "Enterprise",
"billingProfiles": {
"hasMoreResults": true,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004",
"name": "11000000-0000-0000-0000-000000000004",
"type": "Microsoft.Billing/billingAccounts/billingProfiles",
"properties": {
"displayName": "BillingProfile3",
"billTo": {
"companyName": "Contoso Test",
"firstName": "Test",
"lastName": "User",
"addressLine1": "Test Address1",
"addressLine2": "Test Address2",
"addressLine3": "Test Address3",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US",
"email": "abc@contoso.com",
"phoneNumber": "000-000-0000"
},
"billingRelationshipType": "IndirectPartner",
"currency": "USD",
"enabledAzurePlans": [
{
"skuId": "0001",
"skuDescription": "Microsoft Azure Plan"
},
{
"skuId": "0002",
"skuDescription": "Microsoft Azure Plan for DevTest"
}
],
"indirectRelationshipInfo": {
"billingAccountName": "20000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"billingProfileName": "22000000-0000-0000-0000-000000000001",
"displayName": "Customer1"
},
"invoiceDay": 5,
"invoiceEmailOptIn": true,
"poNumber": "ABC12345",
"hasReadAccess": true,
"systemId": "3XXX-33XX-XX1-XXXX-XXX",
"status": "Warned",
"statusReasonCode": "PastDue",
"spendingLimit": "On",
"targetClouds": [
"USNat",
"USSec"
],
"invoiceSections": {
"hasMoreResults": true,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004/invoiceSections/invoiceSectionId3",
"name": "invoiceSectionId3",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName3",
"labels": {
"pcCode": "C123456",
"costCategory": "Support"
},
"state": "Restricted",
"systemId": "9XXX-44XX-XX1-XXXX-XXX",
"targetCloud": "USNat"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004/invoiceSections/invoiceSectionId4",
"name": "invoiceSectionId4",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName4",
"labels": {
"pcCode": "D123456",
"costCategory": "Marketing"
},
"state": "Restricted",
"systemId": "9XXX-55XX-XX1-XXXX-XXX",
"targetCloud": "USSec"
}
}
]
}
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005",
"name": "11000000-0000-0000-0000-000000000005",
"type": "Microsoft.Billing/billingAccounts/billingProfiles",
"properties": {
"displayName": "BillingProfile4",
"billTo": {
"companyName": "Contoso Test",
"firstName": "Test",
"lastName": "User",
"addressLine1": "Test Address1",
"addressLine2": "Test Address2",
"addressLine3": "Test Address3",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US",
"email": "abc@contoso.com",
"phoneNumber": "000-000-0000"
},
"billingRelationshipType": "IndirectCustomer",
"currency": "USD",
"enabledAzurePlans": [
{
"skuId": "0001",
"skuDescription": "Microsoft Azure Plan"
},
{
"skuId": "0002",
"skuDescription": "Microsoft Azure Plan for DevTest"
}
],
"indirectRelationshipInfo": {
"billingAccountName": "30000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000",
"billingProfileName": "33000000-0000-0000-0000-000000000001",
"displayName": "Partner1"
},
"invoiceDay": 5,
"invoiceEmailOptIn": true,
"poNumber": "ABC12345",
"hasReadAccess": true,
"systemId": "4XXX-44XX-XX1-XXXX-XXX",
"status": "Warned",
"statusReasonCode": "PastDue",
"spendingLimit": "On",
"targetClouds": [
"USSec"
],
"invoiceSections": {
"hasMoreResults": true,
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005/invoiceSections/invoiceSectionId5",
"name": "invoiceSectionId5",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName5",
"labels": {
"pcCode": "E123456",
"costCategory": "Finance"
},
"state": "Active",
"systemId": "9XXX-66XX-XX1-XXXX-XXX"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005/invoiceSections/invoiceSectionId6",
"name": "invoiceSectionId6",
"type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
"properties": {
"displayName": "invoiceSectionName6",
"labels": {
"pcCode": "O123456",
"costCategory": "Support"
},
"state": "Restricted",
"systemId": "9XXX-77XX-XX1-XXXX-XXX",
"targetCloud": "USSec"
}
}
]
}
}
}
]
},
"hasReadAccess": true
}
}
]
}
BillingAccountsListWithExpandForEnrollmentDetails
Sample Request
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2020-05-01&$expand=enrollmentDetails,departments,enrollmentAccounts
Sample Response
{
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/7645820",
"name": "7645820",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"agreementType": "EnterpriseAgreement",
"soldTo": {
"addressLine1": "Test Address",
"addressLine2": "Test Address",
"addressLine3": "Test Address",
"city": "City",
"postalCode": "00000",
"region": "WA",
"country": "US"
},
"enrollmentDetails": {
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z",
"currency": "USD",
"channel": "EaDirect",
"language": "en",
"countryCode": "US",
"status": "Active",
"billingCycle": "Monthly",
"policies": {
"accountOwnerViewCharges": true,
"departmentAdminViewCharges": true,
"marketplaceEnabled": true,
"reservedInstancesEnabled": true
}
},
"departments": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1",
"name": "departmentId1",
"type": "Microsoft.Billing/departments",
"properties": {
"departmentName": "departmentName1",
"costCenter": "C1",
"status": "Active"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId2",
"name": "departmentId2",
"type": "Microsoft.Billing/departments",
"properties": {
"departmentName": "departmentName2",
"costCenter": "C4",
"status": "Active"
}
}
],
"enrollmentAccounts": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0",
"name": "accountId0",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"accountName": "AccountName0",
"costCenter": "C0",
"status": "Active",
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1",
"name": "accountId1",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"accountName": "AccountName1",
"costCenter": "C4",
"status": "Active",
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId2",
"name": "accountId2",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"accountName": "AccountName2",
"costCenter": "C4",
"status": "Active",
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
}
}
]
}
}
]
}
定义
名称 | 说明 |
---|---|
Account |
计费帐户的当前状态。 |
Account |
客户的类型。 |
Address |
地址详细信息。 |
Agreement |
协议的类型。 |
Azure |
Azure 计划的详细信息。 |
Billing |
计费帐户。 |
Billing |
计费帐户列表。 |
Billing |
计费配置文件。 |
Billing |
与计费帐户关联的计费配置文件。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
Billing |
计费配置文件的状态。 |
Billing |
标识计费对象信息支付哪些服务和购买。 |
Department |
部门。 |
Enrollment |
注册的属性。 |
Enrollment |
注册帐户。 |
Enrollment |
企业协议注册的策略。 |
Error |
错误的详细信息。 |
Error |
错误响应指示服务无法处理传入请求。 错误消息中提供了原因。 |
Error |
|
Indirect |
间接动作的客户合作伙伴的计费配置文件详细信息。 |
Invoice |
发票科目。 |
Invoice |
与计费对象信息关联的发票科目。 默认情况下,除非在 $expand 中指定,否则不会填充它。 |
Invoice |
标识发票科目的状态。 |
Spending |
计费对象信息支出限制。 |
Status |
指定计费配置文件状态的原因。 |
target |
标识与发票科目关联的云环境。 这是一个系统管理的可选字段,当发票科目与各种云中的帐户关联时会更新。 |
AccountStatus
计费帐户的当前状态。
名称 | 类型 | 说明 |
---|---|---|
Active |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Expired |
string |
|
Extended |
string |
|
Terminated |
string |
|
Transferred |
string |
AccountType
客户的类型。
名称 | 类型 | 说明 |
---|---|---|
Enterprise |
string |
|
Individual |
string |
|
Partner |
string |
AddressDetails
地址详细信息。
名称 | 类型 | 说明 |
---|---|---|
addressLine1 |
string |
地址行 1。 |
addressLine2 |
string |
地址行 2。 |
addressLine3 |
string |
地址行 3。 |
city |
string |
地址城市。 |
companyName |
string |
公司名称。 |
country |
string |
国家/地区代码使用 ISO2,2 位数格式。 |
district |
string |
地址区域。 |
string |
电子邮件地址。 |
|
firstName |
string |
名字。 |
lastName |
string |
姓氏。 |
middleName |
string |
中间名。 |
phoneNumber |
string |
电话号码。 |
postalCode |
string |
邮政编码。 |
region |
string |
地址区域。 |
AgreementType
协议的类型。
名称 | 类型 | 说明 |
---|---|---|
EnterpriseAgreement |
string |
|
MicrosoftCustomerAgreement |
string |
|
MicrosoftOnlineServicesProgram |
string |
|
MicrosoftPartnerAgreement |
string |
AzurePlan
Azure 计划的详细信息。
名称 | 类型 | 说明 |
---|---|---|
skuDescription |
string |
SKU 说明。 |
skuId |
string |
SKU ID。 |
BillingAccount
计费帐户。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.accountStatus |
计费帐户的当前状态。 |
|
properties.accountType |
客户的类型。 |
|
properties.agreementType |
协议的类型。 |
|
properties.billingProfiles |
与计费帐户关联的计费配置文件。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
|
properties.departments |
与注册关联的部门。 |
|
properties.displayName |
string |
计费帐户名称。 |
properties.enrollmentAccounts |
与注册关联的帐户。 |
|
properties.enrollmentDetails |
有关关联的旧注册的详细信息。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
|
properties.hasReadAccess |
boolean |
指示用户是否对计费帐户具有读取访问权限。 |
properties.notificationEmailAddress |
string |
通知电子邮件地址,仅适用于旧帐户 |
properties.soldTo |
负责计费帐户的个人或组织的地址。 |
|
type |
string |
资源类型。 |
BillingAccountListResult
计费帐户列表。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
指向下一页结果的链接 (url) 。 |
value |
计费帐户列表。 |
BillingProfile
计费配置文件。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.billTo |
帐单邮寄地址。 |
|
properties.billingRelationshipType |
标识通过计费对象信息支付哪些服务和购买。 |
|
properties.currency |
string |
计费对象信息费用的货币。 |
properties.displayName |
string |
计费对象信息的名称。 |
properties.enabledAzurePlans |
有关已启用的 Azure 计划的信息。 |
|
properties.hasReadAccess |
boolean |
指示用户是否具有对计费配置文件的读取访问权限。 |
properties.indirectRelationshipInfo |
标识在间接购买动作中链接到另一个计费配置文件的计费配置文件。 |
|
properties.invoiceDay |
integer |
生成计费对象信息的发票的月份日期。 |
properties.invoiceEmailOptIn |
boolean |
用于控制是否通过电子邮件发送计费对象信息的发票的标志。 |
properties.invoiceSections |
与计费对象信息关联的发票科目。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
|
properties.poNumber |
string |
将为计费对象信息生成的发票上显示的采购订单名称。 |
properties.spendingLimit |
计费对象信息支出限制。 |
|
properties.status |
计费配置文件的状态。 |
|
properties.statusReasonCode |
指定计费配置文件状态的原因。 |
|
properties.systemId |
string |
系统为计费配置文件生成了唯一标识符。 |
properties.tags |
object |
计费配置文件的标记。 |
properties.targetClouds |
标识与计费配置文件关联的云环境。 这是一个系统管理的可选字段,当计费配置文件与各种云中的帐户关联时会更新。 |
|
type |
string |
资源类型。 |
BillingProfilesOnExpand
与计费帐户关联的计费配置文件。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。
名称 | 类型 | 说明 |
---|---|---|
hasMoreResults |
boolean |
指示计费配置文件是否多于此集合中列出的配置文件。 集合最多列出 50 个计费配置文件。 若要获取所有计费配置文件,请使用列表计费配置文件 API。 |
value |
与计费帐户关联的计费配置文件。 |
BillingProfileStatus
计费配置文件的状态。
名称 | 类型 | 说明 |
---|---|---|
Active |
string |
|
Disabled |
string |
|
Warned |
string |
BillingRelationshipType
标识计费对象信息支付哪些服务和购买。
名称 | 类型 | 说明 |
---|---|---|
CSPPartner |
string |
|
Direct |
string |
|
IndirectCustomer |
string |
|
IndirectPartner |
string |
Department
部门。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.costCenter |
string |
与部门关联的成本中心。 |
properties.departmentName |
string |
部门的名称。 |
properties.enrollmentAccounts |
关联的注册帐户。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
|
properties.status |
string |
部门的状态。 |
type |
string |
资源类型。 |
Enrollment
注册的属性。
名称 | 类型 | 说明 |
---|---|---|
billingCycle |
string |
注册计费周期。 |
channel |
string |
注册的通道类型。 |
countryCode |
string |
注册的国家/地区代码。 |
currency |
string |
注册的计费货币。 |
endDate |
string |
注册的结束日期。 |
language |
string |
注册的语言。 |
policies |
企业协议注册的策略。 |
|
startDate |
string |
注册的开始日期。 |
status |
string |
注册的当前状态。 |
EnrollmentAccount
注册帐户。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.accountName |
string |
注册帐户的名称。 |
properties.accountOwner |
string |
注册帐户的所有者。 |
properties.accountOwnerEmail |
string |
注册帐户所有者电子邮件地址。 |
properties.costCenter |
string |
与注册帐户关联的成本中心。 |
properties.department |
关联的部门。 默认情况下,除非在 $expand 中指定,否则不会填充此字段。 |
|
properties.endDate |
string |
注册帐户的结束日期。 |
properties.startDate |
string |
注册帐户的开始日期。 |
properties.status |
string |
注册帐户的状态。 |
type |
string |
资源类型。 |
EnrollmentPolicies
企业协议注册的策略。
名称 | 类型 | 说明 |
---|---|---|
accountOwnerViewCharges |
boolean |
控制帐户所有者是否可以查看费用的策略。 |
departmentAdminViewCharges |
boolean |
控制部门管理员是否可以查看费用的策略。 |
marketplaceEnabled |
boolean |
控制是否允许在注册中购买 Azure 市场的策略。 |
reservedInstancesEnabled |
boolean |
控制是否允许在注册中购买 Azure 预留的策略。 |
ErrorDetails
错误的详细信息。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
details |
错误的子详细信息。 |
|
message |
string |
指示操作失败原因的错误消息。 |
target |
string |
特定错误的目标。 |
ErrorResponse
错误响应指示服务无法处理传入请求。 错误消息中提供了原因。
名称 | 类型 | 说明 |
---|---|---|
error |
错误的详细信息。 |
ErrorSubDetails
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
指示操作失败原因的错误消息。 |
target |
string |
特定错误的目标。 |
IndirectRelationshipInfo
间接动作的客户合作伙伴的计费配置文件详细信息。
名称 | 类型 | 说明 |
---|---|---|
billingAccountName |
string |
间接移动的合作伙伴或客户的计费帐户名称。 |
billingProfileName |
string |
间接移动的合作伙伴或客户的计费配置文件名称。 |
displayName |
string |
间接动作的合作伙伴或客户的显示名称。 |
InvoiceSection
发票科目。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.displayName |
string |
发票科目的名称。 |
properties.labels |
object |
与发票科目关联的元数据字典。 |
properties.state |
标识发票科目的状态。 |
|
properties.systemId |
string |
系统为发票科目生成了唯一标识符。 |
properties.tags |
object |
与发票科目关联的元数据字典。 支持的最大键/值长度为 256 个字符。 键/值不应为空值,也不应为 null。 键不能包含 <> % & \ ? / |
properties.targetCloud |
标识与发票科目关联的云环境。 这是一个系统管理的可选字段,当发票科目与各种云中的帐户关联时会更新。 |
|
type |
string |
资源类型。 |
InvoiceSectionsOnExpand
与计费对象信息关联的发票科目。 默认情况下,除非在 $expand 中指定,否则不会填充它。
名称 | 类型 | 说明 |
---|---|---|
hasMoreResults |
boolean |
指示发票科目是否多于此集合中列出的科目。 集合最多列出 50 个发票科目。 若要获取所有发票科目,请使用列出发票科目 API。 |
value |
与计费对象信息关联的发票科目。 |
InvoiceSectionState
标识发票科目的状态。
名称 | 类型 | 说明 |
---|---|---|
Active |
string |
|
Restricted |
string |
SpendingLimit
计费对象信息支出限制。
名称 | 类型 | 说明 |
---|---|---|
Off |
string |
|
On |
string |
StatusReasonCode
指定计费配置文件状态的原因。
名称 | 类型 | 说明 |
---|---|---|
PastDue |
string |
|
SpendingLimitExpired |
string |
|
SpendingLimitReached |
string |
targetCloud
标识与发票科目关联的云环境。 这是一个系统管理的可选字段,当发票科目与各种云中的帐户关联时会更新。
名称 | 类型 | 说明 |
---|---|---|
USGov |
string |
|
USNat |
string |
|
USSec |
string |