REST API を使用して課金を使用して予算やクエリの使用量を作成する場合は、特定の製品と SKU の識別子を使用する必要があります。 このリファレンスでは、これらの識別子の有効な値を提供します。
製品レベルの識別子
ProductPricing 予算の場合、または製品別の使用状況を照会するには、次のいずれかの値を使用します。
actions- GitHub Actionspackages- GitHub Packagescodespaces- GitHub Codespacescopilot- GitHub Copilotghas- GitHub Advanced Securityghec- GitHub Enterprise Cloudsandbox- GitHub Copilot 向けのクラウドサンドボックスとローカルサンドボックス
SKU レベルの識別子
SkuPricing 予算の場合、または SKU 別の使用状況を照会するには、次のいずれかの値を使用します。
GitHub Actions SKU
actions_cache_storage- アクションキャッシュストレージactions_custom_image_storage- アクションのカスタム イメージ ストレージactions_linux- Actions Linux ランナーactions_linux_16_core- Actions Linux 16 コアactions_linux_16_core_arm- Actions Linux ARM 16-coreactions_linux_2_core_advanced- Actions Linux Advanced 2 コアactions_linux_2_core_arm- Actions Linux ARM 2コアactions_linux_32_core- Actions Linux 32-coreactions_linux_32_core_arm- Actions Linux ARM 32コアactions_linux_4_core- アクションズ リナックス 4コアactions_linux_4_core_arm- Actions Linux ARM 4コアactions_linux_4_core_gpu- Actions Linux GPU 4コアactions_linux_64_core- Actions Linux 64-coreactions_linux_64_core_arm- Actions Linux ARM 64コアactions_linux_8_core- Action Linux 8コアactions_linux_8_core_arm- Actions Linux ARM 8コアactions_linux_96_core- アクションズLinux 96コアactions_linux_arm- アクション Linux ARMactions_linux_slim- Actions Linux スリムactions_macos- Actions macOS ランナーactions_macos_l- Actions macOS 大actions_macos_xl- Actions macOS XLactions_storage- アクション ストレージactions_windows- Actions Windows ランナーactions_windows_16_core- 16 コアWindowsアクションactions_windows_16_core_arm- Actions Windows ARM 16 コアactions_windows_2_core- Windows 2コアアクションactions_windows_2_core_advanced- Actions Windows Advanced 2 コアactions_windows_2_core_arm- Actions Windows ARM 2 コアactions_windows_32_core- 32 コアWindowsアクションactions_windows_32_core_arm- Actions Windows ARM 32 コアactions_windows_4_core- 4 コアWindowsアクションactions_windows_4_core_arm- Actions Windows ARM 4 コアactions_windows_4_core_gpu- アクション Windows GPU 4 コアactions_windows_64_core- 64 コアWindowsアクションactions_windows_64_core_arm- Actions Windows ARM 64 コアactions_windows_8_core- Actions Windows 8-コアactions_windows_8_core_arm- Actions Windows ARM 8 コアactions_windows_96_core- 96 コアWindowsアクションactions_windows_arm- Windows ARMでの操作
GitHub Codespaces SKU
codespaces_compute_d16- Codespaces コンピューティング (16 コア)codespaces_compute_d2- Codespaces コンピューティング (2 コア)codespaces_compute_d32- Codespaces コンピューティング (32 コア)codespaces_compute_d4- Codespaces コンピューティング (4 コア)codespaces_compute_d8- Codespaces コンピューティング (8 コア)codespaces_prebuild_storage- Codespaces の事前ビルドストレージcodespaces_storage- Codespaces ストレージ
GitHub Copilot SKU
coding_agent_ai_credit- Copilot Cloud Agentcopilot_ai_credit
- Copilot AI credits
copilot_enterprise- Copilot Enterprisecopilot_for_business- ビジネス向けコパイロットcopilot_standalone- Copilot スタンドアロン
GitHub Advanced Security SKU
ghas_code_security_licenses- コード セキュリティghas_licenses- 高度なセキュリティghas_secret_protection_licenses- シークレット保護
GitHub Code Quality SKU
code_quality_licenses- コード品質ライセンスcode_quality_ai_credit- コード品質 AI credits
GitHub Copilot SKU のクラウドサンドボックスとローカル サンドボックス
sandbox_linux- GitHub Copilotのサンドボックス: Linuxsandbox_memory- GitHub Copilotのサンドボックス: メモリsandbox_snapshot- GitHub Copilotのサンドボックス: スナップショット
その他の SKU
ghec_licenses
- GitHub Enterprise Cloud ライセンス
git_lfs_bandwidth- Git LFS 帯域幅git_lfs_storage- Git LFS ストレージmodels_inference- モデルの推論packages_bandwidth- パッケージデータ転送packages_storage- ストレージをパッケージするspark_ai_credits-火花 AI credits
メモ
使用できる正確な SKU は、エンタープライズまたは組織の構成と有効な機能によって異なる場合があります。 REST API を使用して予算を作成するときに 404 エラーが発生した場合は、エラー応答を確認して、アカウントの有効な SKU の現在の一覧を確認します。