次の方法で共有


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 パラメーター

名前 / 必須 説明
billingAccountName
path True

string

課金アカウントを一意に識別する ID。

正規表現パターン: ^([0-9]+|([Pp][Cc][Nn]\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$

billingProfileName
path True

string

課金プロファイルを一意に識別する ID。

正規表現パターン: ^[a-zA-Z\d-_]{1,128}$

api-version
query True

string

クライアント要求で使用する API のバージョン。 現在のバージョンは 2024-04-01 です。

応答

名前 説明
200 OK

AvailableBalance

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

Other Status Codes

ErrorResponse

操作が失敗した理由を説明するエラー応答。

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

金額。

AvailableBalance

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

AvailableBalanceProperties

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

createdByType

リソースを作成した ID の種類。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

PaymentMethodFamily

アカウントの種類に対する支払い。

PaymentOnAccount

アカウントでの支払い。

systemData

リソースの作成と最後の変更に関連するメタデータ。

TotalPaymentsOnAccount

アカウントに対する支払いの合計金額。

Amount

金額。

名前 説明
currency

string

金額値の通貨。

value

number

金額の値。 たとえば、通貨が USD の場合、値 600 は $600.00 になります。

AvailableBalance

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

名前 説明
id

string

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

リソースの名前

properties

AvailableBalanceProperties

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

systemData

systemData

createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソースに関連付けられているメタデータのディクショナリ。 リソースの種類によっては設定されない場合があります。 キー/値の最大長は 256 文字でサポートされます。 キー/値は、値を空にしたり、null にしたりしないでください。 キーは <> % &\ を含むできませんか? /

type

string

リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

AvailableBalanceProperties

利用可能なクレジットまたは口座残高の支払い。 クレジット残高は、支払期日または期限を過ぎた請求書の決済に使用できます。

名前 説明
amount

Amount

即時支払いのクレジット金額。

paymentsOnAccount

PaymentOnAccount[]

アカウントの支払いの一覧。

totalPaymentsOnAccount

TotalPaymentsOnAccount

アカウントに対する支払いの合計金額。

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

PaymentMethodFamily

アカウントの種類に対する支払い。

名前 説明
CheckWire

string

CreditCard

string

Credits

string

DirectDebit

string

EWallet

string

None

string

Other

string

TaskOrder

string

PaymentOnAccount

アカウントでの支払い。

名前 説明
amount

Amount

アカウントの金額に対する支払い。

billingProfileDisplayName

string

アカウントの支払いの課金プロファイルの名前。

billingProfileId

string

アカウントでの支払いの課金プロファイルの ID。

date

string

アカウントでの支払いの日付。

invoiceId

string

アカウントの支払いが生成された請求書の ID。

invoiceName

string

アカウントの支払いの請求書の名前。

paymentMethodType

PaymentMethodFamily

アカウントの種類に対する支払い。

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。

TotalPaymentsOnAccount

アカウントに対する支払いの合計金額。

名前 説明
currency

string

金額値の通貨。

value

number

金額の値。 たとえば、通貨が USD の場合、値 600 は $600.00 になります。