Codespaces の利用上限について
Note: You must set a spending limit before you can use Codespaces.
By default, your organization or enterprise will have a Codespaces spending limit of $0, which prevents new codespaces from being created or existing codespaces from being opened. To allow your users to create codespaces in your organization, set the limit to a value higher than $0.
Once you've reached your spending limit, your organization or repository will no longer be able to create new codespaces, and won't be able to start existing codespaces. Any existing codespaces that are still running will not be shutdown; if you don't change the spending limit, you will not be charged for the amount that exceeds the limit.
Codespacesの価格に関する詳細な情報については、「Codespacesの支払いについて」を参照してください。
Using your Azure Subscription
If you purchased GitHub Enterprise through a Microsoft Enterprise Agreement, you can connect your Azure Subscription ID to your enterprise account to enable and pay for Codespaces usage. 詳しい情報については、「Azure サブスクリプションを Enterprise に接続する」を参照してください。
Organizationの Codespaces に対する利用上限を管理する
Organization の Codespaces については、Organizationのオーナーと支払いマネージャーが利用上限を管理できます。
- 任意のページの右上で、プロフィール画像をクリックし、続いてSettings(設定)をクリックしてください。
![ユーザバーの [Settings(設定)] アイコン](/post-https-web.archive.org/web/20211023211216im_/https://docs.github.com/assets/images/help/settings/userbar-account-settings.png)
- 設定のサイドバーで、Organizationsをクリックしてください。

- Organizationの隣のSettings(設定)をクリックしてください。

- Organizationのオーナーは、左のサイドバーでBilling & plans(支払とプラン)をクリックしてください。

- ページの上部の"Payment information(支払い情報)"の下で、Manage spending limit(使用限度の管理)をクリックしてください。

- Under "Monthly spending limit", scroll down to "Codespaces" and choose to limit spending or allow unlimited spending.

- 料金を制限するように選択した場合、"Limit spending(料金の制限)"の下で限度額を入力し、Update limit(制限を更新)をクリックしてください。

Enterprise アカウントの Codespaces に対する利用上限を管理する
Enterprise アカウントの Codespaces の利用上限は、Enterprise オーナーと支払いマネージャーが管理できます。
-
GitHubの右上で、自分のプロフィール写真をクリックし、続いてYour enterprises(自分のEnterprise)をクリックしてください。

-
Enterpriseのリストで、表示したいEnterpriseをクリックしてください。

-
Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてください。

-
左のサイドバーでBilling(支払い)をクリックしてください。

-
Above "Codespaces monthly usage", click Spending Limit.

-
"Monthly spending limit(月額の料金上限)"の下で、料金の上限もしくは料金無制限を選択してください。

-
料金を制限するように選択した場合、"Limit spending(料金の制限)"の下で限度額を入力し、Update limit(制限を更新)をクリックしてください。

Exporting changes when you have reached your spending limit
If you hit a spending limit, you will no longer be able to create or resume your codespaces. You can still export any work in progress changes to a new branch.
Managing usage and spending limit email notifications
Email notifications are sent to account owners and billing managers when spending reaches 50%, 75%, and 90% of your account's spending limit.
You can disable these notifications anytime by navigating to the bottom of the Spending Limit page.

