Available Balances - Get By Billing Profile
課金プロファイルのアカウント残高の利用可能なクレジットまたは支払い。 クレジット残高は、期限切れまたは期限切れ請求書の決済に使用でき、契約の種類が Microsoft 顧客契約の請求先アカウントでサポートされます。 アカウント残高の支払いは、契約の種類が Microsoft 顧客契約の請求先アカウントでサポートされています。
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default?api-version=2024-04-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
billing
|
path | True |
string |
課金アカウントを一意に識別する ID。 正規表現パターン: |
billing
|
path | True |
string |
課金プロファイルを一意に識別する ID。 正規表現パターン: |
api-version
|
query | True |
string |
クライアント要求で使用する API のバージョン。 現在のバージョンは 2024-04-01 です。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。 |
|
Other Status Codes |
操作が失敗した理由を説明するエラー応答。 |
例
AvailableBalanceGetByBillingProfile
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/xxxx-xxxx-xxx-xxx/availableBalance/default?api-version=2024-04-01
応答のサンプル
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/xxxx-xxxx-xxx-xxx/availableBalance/default",
"name": "default",
"properties": {
"amount": {
"currency": "USD",
"value": 500
},
"paymentsOnAccount": [
{
"amount": {
"currency": "USD",
"value": 50
},
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/xxxx-xxxx-xxx-xxx",
"billingProfileDisplayName": "Contoso Finance",
"invoiceId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/invoices/G123456789",
"invoiceName": "G123456789",
"date": "2024-04-01T00:00:00.0000000Z",
"paymentMethodType": "CheckWire"
}
],
"totalPaymentsOnAccount": {
"currency": "USD",
"value": 200
}
},
"type": "Microsoft.Billing/billingAccounts/billingProfiles/availableBalance"
}
定義
名前 | 説明 |
---|---|
Amount |
金額。 |
Available |
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。 |
Available |
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。 |
created |
リソースを作成した ID の種類。 |
Error |
リソース管理エラーの追加情報。 |
Error |
エラーの詳細。 |
Error |
エラー応答 |
Payment |
アカウントの種類に対する支払い。 |
Payment |
アカウントでの支払い。 |
system |
リソースの作成と最後の変更に関連するメタデータ。 |
Total |
アカウントに対する支払いの合計金額。 |
Amount
金額。
名前 | 型 | 説明 |
---|---|---|
currency |
string |
金額値の通貨。 |
value |
number |
金額の値。 たとえば、通貨が USD の場合、値 600 は $600.00 になります。 |
AvailableBalance
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name |
string |
リソースの名前 |
properties |
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。 |
|
systemData |
createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
|
tags |
object |
リソースに関連付けられているメタデータのディクショナリ。 リソースの種類によっては設定されない場合があります。 キー/値の最大長は 256 文字でサポートされます。 キー/値は、値を空にしたり、null にしたりしないでください。 キーは <> % &\ を含むできませんか? / |
type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
AvailableBalanceProperties
利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。
名前 | 型 | 説明 |
---|---|---|
amount |
即時支払いのクレジット金額。 |
|
paymentsOnAccount |
アカウントの支払いの一覧。 |
|
totalPaymentsOnAccount |
アカウントに対する支払いの合計金額。 |
createdByType
リソースを作成した ID の種類。
名前 | 型 | 説明 |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
エラー オブジェクト。 |
PaymentMethodFamily
アカウントの種類に対する支払い。
名前 | 型 | 説明 |
---|---|---|
CheckWire |
string |
|
CreditCard |
string |
|
Credits |
string |
|
DirectDebit |
string |
|
EWallet |
string |
|
None |
string |
|
Other |
string |
|
TaskOrder |
string |
PaymentOnAccount
アカウントでの支払い。
名前 | 型 | 説明 |
---|---|---|
amount |
アカウントの金額に対する支払い。 |
|
billingProfileDisplayName |
string |
アカウントの支払いの課金プロファイルの名前。 |
billingProfileId |
string |
アカウントでの支払いの課金プロファイルの ID。 |
date |
string |
アカウントでの支払いの日付。 |
invoiceId |
string |
アカウントの支払いが生成された請求書の ID。 |
invoiceName |
string |
アカウントの支払いの請求書の名前。 |
paymentMethodType |
アカウントの種類に対する支払い。 |
systemData
リソースの作成と最後の変更に関連するメタデータ。
名前 | 型 | 説明 |
---|---|---|
createdAt |
string |
リソース作成のタイムスタンプ (UTC)。 |
createdBy |
string |
リソースを作成した ID。 |
createdByType |
リソースを作成した ID の種類。 |
|
lastModifiedAt |
string |
リソースの最終変更のタイムスタンプ (UTC) |
lastModifiedBy |
string |
リソースを最後に変更した ID。 |
lastModifiedByType |
リソースを最後に変更した ID の種類。 |
TotalPaymentsOnAccount
アカウントに対する支払いの合計金額。
名前 | 型 | 説明 |
---|---|---|
currency |
string |
金額値の通貨。 |
value |
number |
金額の値。 たとえば、通貨が USD の場合、値 600 は $600.00 になります。 |