跳至主要内容

GitHub 产品和 SKU 名称

了解计费平台和 REST API 中使用的产品和 SKU 标识符。

本文内容

在通过 REST API 进行计费以创建预算或查询使用情况时,您需要使用特定的产品和 SKU 标识符。本参考提供了这些标识符的有效取值。

产品级标识符

对于 ProductPricing 预算或按产品查询使用情况,请使用以下值之一

  • actions - GitHub Actions
  • packages - GitHub Packages
  • codespaces - GitHub Codespaces
  • copilot - GitHub Copilot
  • ghas - GitHub Advanced Security
  • ghec - GitHub Enterprise Cloud

SKU 级标识符

对于 SkuPricing 预算或按 SKU 查询使用情况,请使用以下值之一

GitHub Actions SKU

  • actions_beta_classroom_repository - Actions Beta 教室仓库
  • actions_beta_custom_runner_azure - Actions Beta 自定义运行器(Azure)
  • actions_beta_macos_xl_runner - Actions Beta macOS XL 运行器
  • actions_beta_public_repository - Actions Beta 公共仓库
  • actions_beta_self_hosted_runner - Actions Beta 自托管运行器
  • actions_cache_storage - Actions 缓存存储
  • actions_custom_image_storage - Actions 自定义镜像存储
  • actions_linux - Actions Linux 运行器
  • actions_linux_16_core_perf - Actions Linux 16 核心性能
  • actions_linux_20_core_mem - Actions Linux 20 核心内存
  • actions_linux_2_core_advanced - Actions Linux 2 核心高级版
  • actions_linux_2_core_arm - Actions Linux 2 核心 ARM
  • actions_linux_32_core - Actions Linux 32 核心
  • actions_linux_32_core_arm - Actions Linux 32 核心 ARM
  • actions_linux_32_core_stor - Actions Linux 32 核心存储
  • actions_linux_4_core - Actions Linux 4 核心
  • actions_linux_4_core_advanced - Actions Linux 4 核心高级版
  • actions_linux_4_core_gpu - Actions Linux 4 核心 GPU
  • actions_linux_64_core - Actions Linux 64 核心
  • actions_linux_64_core_arm - Actions Linux 64 核心 ARM
  • actions_linux_8_core - Actions Linux 8 核心
  • actions_linux_8_core_arm - Actions Linux 8 核心 ARM
  • actions_linux_8_core_stor - Actions Linux 8 核心存储
  • actions_linux_96_core - Actions Linux 96 核心
  • actions_linux_a100_24_core_gpu - Actions Linux A100 24 核心 GPU
  • actions_linux_a10_36_core_gpu - Actions Linux A10 36 核心 GPU
  • actions_linux_arm - Actions Linux ARM
  • actions_linux_slim - Actions Linux 精简版
  • actions_macos - Actions macOS 运行器
  • actions_macos_12_core - Actions macOS 12 核心
  • actions_macos_8_core - Actions macOS 8 核心
  • actions_macos_l - Actions macOS 大型
  • actions_macos_xl - Actions macOS XL
  • actions_self_hosted_linux - Actions 自托管 Linux
  • actions_self_hosted_macos - Actions 自托管 macOS
  • actions_self_hosted_unknown - Actions 自托管(未知)
  • actions_self_hosted_windows - Actions 自托管 Windows
  • actions_storage - Actions 存储
  • actions_unknown - Actions 未知
  • actions_windows - Actions Windows 运行器
  • actions_windows_16_core - Actions Windows 16 核心
  • actions_windows_176_core_perf - Actions Windows 176 核心性能
  • actions_windows_2_core - Actions Windows 2 核心
  • actions_windows_2_core_advanced - Actions Windows 2 核心高级版
  • actions_windows_2_core_arm - Actions Windows 2 核心 ARM
  • actions_windows_32_core - Actions Windows 32 核心
  • actions_windows_32_core_arm - Actions Windows 32 核心 ARM
  • actions_windows_32_core_stor - Actions Windows 32 核心存储
  • actions_windows_4_core - Actions Windows 4 核心
  • actions_windows_4_core_gpu - Actions Windows 4 核心 GPU
  • actions_windows_64_core - Actions Windows 64 核心
  • actions_windows_64_core_arm - Actions Windows 64 核心 ARM
  • actions_windows_8_core - Actions Windows 8 核心
  • actions_windows_8_core_arm - Actions Windows 8 核心 ARM
  • actions_windows_8_core_mem - Actions Windows 8 核心内存
  • actions_windows_8_core_stor - Actions Windows 8 核心存储
  • actions_windows_a100_24_core_gpu - Actions Windows A100 24 核心 GPU
  • actions_windows_a10_36_core_gpu - Actions Windows A10 36 核心 GPU
  • actions_windows_arm - Actions 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

  • copilot_agent_premium_request - Copilot 代理高级请求
  • copilot_enterprise - Copilot Enterprise
  • copilot_for_business - Copilot for Business
  • copilot_premium_request - Copilot 高级请求
  • copilot_standalone - Copilot 独立版

GitHub Advanced Security SKU

  • ghas_code_security_licenses - GHAS 代码安全许可证
  • ghas_licenses - GHAS 许可证
  • ghas_secret_protection_licenses - GHAS 机密保护许可证

其他 SKU

  • ghec_licenses - GitHub Enterprise Cloud 许可证
  • git_lfs_bandwidth - Git LFS 带宽
  • git_lfs_storage - Git LFS 存储
  • models_inference - 模型推理
  • packages_bandwidth - Packages 带宽
  • packages_storage - Packages 存储
  • spark_premium_request - Spark 高级请求

注意

可用的 SKU 可能会因企业或组织的配置以及已启用的功能而有所不同。如果在通过 REST API 创建预算时收到 404 错误,请查看错误响应以获取您账户当前可用的有效 SKU 列表。

© . This site is unofficial and not affiliated with GitHub, Inc.