このドキュメントでは、予約または将来の予約リクエストを表示する方法について説明します。さまざまなタイプの予約の詳細については、プロビジョニング タイプをご覧ください。
予約または将来の予約リクエストを表示するときに、次の操作を行うことができます。
予約設定を表示します。この確認は、予約の詳細を確認してニーズを満たしていることを確認し、容量を計画するのに役立ちます。
消費可能なインスタンスの数を決定する。このチェックは、予約済み容量を使用できる Compute Engine インスタンスの数を特定するのに役立ちます。
制限事項
共有予約または共有の将来の予約リクエストを表示できるのは、作成したプロジェクトでのみです。
始める前に
-
まだ設定していない場合は、認証を設定します。認証とは、 Google Cloud サービスと API にアクセスするために ID を確認するプロセスです。ローカル開発環境からコードまたはサンプルを実行するには、次のいずれかのオプションを選択して Compute Engine に対する認証を行います。
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
gcloud
-
After installing the Google Cloud CLI, initialize it by running the following command:
gcloud init
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
- Set a default region and zone.
-
Install the Google Cloud CLI.
-
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
Install the Google Cloud CLI.
-
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
Install the Google Cloud CLI.
-
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
Install the Google Cloud CLI.
-
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
予約のリストを表示する: プロジェクトに対する
compute.reservations.list
-
将来の予約リクエストのリストを表示するには: プロジェクトに対する
compute.futureReservations.list
-
予約の詳細を表示する: プロジェクトに対する
compute.reservations.get
-
将来の予約リクエストの詳細を表示するには: プロジェクトに対する
compute.futureReservations.get
プロジェクト内のすべての予約の概要を表示するには、予約のリストを表示します。
単一の予約の詳細を表示するには、予約の詳細を表示します。
Google Cloud コンソールの [予約] ページに移動します。
[オンデマンド予約] タブ(デフォルト)の表に、各予約が表示されます。各表の列はプロパティを表します。
省略可: [オンデマンド予約] 表で、次のいずれかまたは両方を行います。
予約の保証された数を表示するには、 [列表示オプション...] をクリックし、[保証された数] チェックボックスをオンにして、[OK] をクリックします。
予約のリストを絞り込むには、
[フィルタ] フィールドで、予約のフィルタ条件として使用するプロパティを選択します。
予約の詳細を表示するには、[名前] 列で予約の名前をクリックします。予約の詳細が表示されたページが開きます。
予約のリストを表示するには、
gcloud compute reservations list
コマンドを使用します。gcloud compute reservations list
出力は次のようになります。
NAME: r-01 IN_USE_COUNT: 0 COUNT: 5 ZONE: us-central1-a SHARE_TYPE: LOCAL NAME: r-02 IN_USE_COUNT: 3 COUNT: 10 ZONE: us-central1-f SHARE_TYPE: LOCAL
必要に応じて、フィルタ式を使用して予約のリストを絞り込むには、
--filter
フラグを指定します。gcloud compute reservations list \ --filter="FILTER_EXPRESSION"
FILTER_EXPRESSION
は、フィルタ式に置き換えます。予約の詳細を表示するには、
gcloud compute reservations describe
コマンドを使用します。gcloud compute reservations describe RESERVATION_NAME \ --zone=ZONE
次のように置き換えます。
RESERVATION_NAME
: 既存の予約の名前。ZONE
: 予約が存在するゾーン。
出力は次のようになります。
creationTimestamp: '2024-10-11T03:25:23.192-07:00' id: '4488228526648280060' kind: compute#reservation name: r-01 selfLink: https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/reservations/r-01 shareSettings: shareType: LOCAL specificReservation: assuredCount: '50' count: '50' inUseCount: '25' instanceProperties: machineType: n2-standard-2 specificReservationRequired: false status: READY zone: https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a
予約のリストを表示するには、次のコードサンプルを使用します。
予約の詳細を表示するには、次のコードサンプルを使用します。
予約のリストを表示するには、次のコードサンプルを使用します。
予約の詳細を表示するには、次のコードサンプルを使用します。
予約のリストを表示するには、次のコードサンプルを使用します。
予約の詳細を表示するには、次のコードサンプルを使用します。
予約のリストを表示するには、次のコードサンプルを使用します。
予約の詳細を表示するには、次のコードサンプルを使用します。
予約のリストを表示するには、
reservations.list
メソッドにGET
リクエストを送信します。GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/reservations
次のように置き換えます。
PROJECT_ID
: 予約を作成したプロジェクトの ID。ZONE
: 予約が存在するゾーン。
出力は次のようになります。
{ "kind": "compute#reservation", "id": "4100668622331754141", "creationTimestamp": "2019-09-27T08:21:14.707-07:00", "selfLink": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/reservations/reservation-05", "zone": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a", "name": "reservation-05", "specificReservation": { "instanceProperties": { "machineType": "n1-standard-2" }, "count": "100", "inUseCount": "0", "assuredCount": "100" }, "specificReservationRequired": false, "status": "READY", "shareSettings": { "shareType": "LOCAL" } }, { "kind": "compute#reservation", "id": "2533514314332214789", "creationTimestamp": "2019-09-27T08:21:14.707-07:00", "selfLink": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/reservations/reservation-04", "zone": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a", "name": "reservation-04", "specificReservation": { "instanceProperties": { "machineType": "n1-standard-2", "guestAccelerators": [ { "acceleratorType": "nvidia-tesla-t4", "acceleratorCount": 1 } ], "localSsds": [ { "diskSizeGb": "375", "interface": "SCSI" } ] }, "count": "50", "inUseCount": "25", "assuredCount": "50" }, "specificReservationRequired": false, "status": "READY", "shareSettings": { "shareType": "LOCAL" } }
必要に応じて、フィルタ式を使用して予約のリストを絞り込むには、
filter
クエリ パラメータを使用します。GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/reservations?filter=FILTER_EXPRESSION
FILTER_EXPRESSION
は、URL エンコードされた値を使用するフィルタ式に置き換えます。予約の詳細を表示するには、
reservations.get
メソッドにGET
リクエストを送信します。GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/reservations/RESERVATION_NAME
次のように置き換えます。
PROJECT_ID
: 予約を作成したプロジェクトの ID。ZONE
: 予約が存在するゾーン。RESERVATION_NAME
: 既存の予約の名前。
出力は次のようになります。
{ "kind": "compute#reservation", "id": "4488228526648280060", "creationTimestamp": "2024-10-11T03:25:23.192-07:00", "selfLink": "https://www.googleapis.com/compute/v1/projects/davide-experimental/zones/us-central1-a/reservations/r-01", "zone": "https://www.googleapis.com/compute/v1/projects/davide-experimental/zones/us-central1-a", "name": "r-01", "specificReservation": { "instanceProperties": { "machineType": "n2-standard-2" }, "count": "50", "inUseCount": "25", "assuredCount": "50" }, "specificReservationRequired": false, "status": "READY", "shareSettings": { "shareType": "LOCAL" } }
プロジェクト内のすべての将来の予約リクエストの概要を確認するには、リクエストのリストを表示します。
1 つの将来の予約リクエストの詳細をすべて表示するには、リクエストの詳細を表示します。
Google Cloud コンソールの [予約] ページに移動します。
[将来の予約] タブをクリックします。
この表には、将来の予約リクエストがそれぞれ一覧表示されます。表の各列はプロパティを表します。
省略可: リクエストのリストを絞り込むには、[
フィルタ] フィールドで、リクエストをフィルタするプロパティを選択します。リクエストの詳細を表示するには、[名前] 列でリクエストの名前をクリックします。将来の予約リクエストの詳細が表示されたページが開きます。
将来の予約リクエストのリストを表示するには、
gcloud beta compute future-reservations list
コマンドを使用します。gcloud beta compute future-reservations list
出力は次のようになります。
NAME: fr-04 TOTAL_COUNT: 100 START_TIME: 2025-07-20T07:00:00Z END_TIME: 2025-08-05T07:00:00Z PROCUREMENT_STATUS: FULFILLED ZONE: us-east1-a NAME: fr-05 TOTAL_COUNT: 10 START_TIME: 2025-07-20T07:00:00Z END_TIME: 2025-12-01T00:00:00Z PROCUREMENT_STATUS: PENDING_APPROVAL ZONE: us-west1-c
必要に応じて、フィルタ式を使用して将来の予約リクエストのリストを絞り込むには、
--filter
フラグを指定します。gcloud beta compute future-reservations list \ --filter="FILTER_EXPRESSION"
FILTER_EXPRESSION
は、フィルタ式に置き換えます。将来の予約リクエストの詳細を表示するには、
gcloud beta compute future-reservations describe
コマンドを使用します。gcloud beta compute future-reservations describe FUTURE_RESERVATION_NAME \ --zone=ZONE
次のように置き換えます。
FUTURE_RESERVATION_NAME
: 既存の将来の予約リクエストの名前。ZONE
: 将来の予約リクエストが存在するゾーン。
出力は次のようになります。
autoCreatedReservationsDeleteTime: '2025-05-02T01:00:00Z' creationTimestamp: '2025-03-23T10:08:31.613-07:00' id: '5212276518668495076' kind: compute#futureReservation name: fr-01 planningStatus: SUBMITTED selfLink: https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a/futureReservations/fr-01 selfLinkWithId: https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a/futureReservations/5212276518668495076 shareSettings: shareType: LOCAL specificSkuProperties: instanceProperties: machineType: n1-standard-64 totalCount: '800' status: existingMatchingUsageInfo: count: '3' timestamp: '2025-03-30T01:00:00Z' lockTime: '2025-03-30T17:09:59.297799Z' procurementStatus: APPROVED timeWindow: endTime: '2025-05-02T01:00:00Z' startTime: '2025-04-30T17:30:00Z' zone: https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a
将来の予約リクエストのリストを表示するには、ベータ版の
futureReservations.list
メソッドにGET
リクエストを送信します。GET https://compute.googleapis.com/compute/beta/projects/PROJECT_ID/zones/ZONE/futureReservations
次のように置き換えます。
PROJECT_ID
: 将来の予約リクエストを作成したプロジェクトの ID。ZONE
: 将来の予約リクエストが存在するゾーン。
出力は次のようになります。
{ "id": "projects/my-project/zones/us-east1-a/futureReservations", "items": [ { "id": "743865190848184978", "creationTimestamp": "2025-03-23T18:16:45.274-07:00", "selfLink": "https://www.googleapis.com/compute/beta/projects/my-project/zones/us-east1-a/futureReservations/fr-base", "selfLinkWithId": "https://www.googleapis.com/compute/beta/projects/my-project/zones/us-east1-a/futureReservations/743865190848184978", "zone": "https://www.googleapis.com/compute/beta/projects/my-project/zones/us-east1-a", "name": "fr-base", "specificSkuProperties": { "instanceProperties": { "machineType": "n1-standard-1" }, "totalCount": "100" }, "planningStatus": "SUBMITTED", "timeWindow": { "endTime": "2025-05-02T01:00:00Z", "startTime": "2025-04-30T17:30:00Z" }, "status": { "procurementStatus": "FULFILLED", "lockTime": "2025-03-30T07:00:00Z", "existingMatchingUsageInfo": { "count": "3", "timestamp": "2025-03-30T01:00:00Z" } }, "kind": "compute#futureReservation" }, ... ], "selfLink": "https://www.googleapis.com/compute/beta/projects/my-project/zones/us-east1-a/futureReservations", "etag": "AnzKY34l-cvvV-JnniESJ0dtQvQ=/hvc4jaHpxFAZmOt1FVtKNgzZu-M=", "kind": "compute#futureReservationsListResponse" }
必要に応じて、フィルタ式を使用して将来の予約リクエストのリストを絞り込むには、
filter
クエリ パラメータを含めます。GET https://compute.googleapis.com/compute/beta/projects/PROJECT_ID/aggregated/futureReservations?filter=FILTER_EXPRESSION
FILTER_EXPRESSION
は、URL エンコードされた値を使用するフィルタ式に置き換えます。将来の予約リクエストの詳細を表示するには、ベータ版
futureReservations.get
メソッドに対してGET
リクエストを実行します。GET https://compute.googleapis.com/compute/beta/projects/PROJECT_ID/zones/ZONE/futureReservations/FUTURE_RESERVATION_NAME
次のように置き換えます。
PROJECT_ID
: 将来の予約リクエストを作成したプロジェクトの ID。ZONE
: 将来の予約リクエストが存在するゾーン。FUTURE_RESERVATION_NAME
: 既存の将来の予約リクエストの名前。
出力は次のようになります。
{ "autoCreatedReservationsDeleteTime": "2025-05-02T01:00:00Z", "creationTimestamp": "2025-03-23T10:08:31.613-07:00", "id": "5212276518668495076", "kind": "compute#futureReservation", "name": "fr-01", "planningStatus": "SUBMITTED", "selfLink": "https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a/futureReservations/fr-01", "selfLinkWithId": "https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a/futureReservations/5212276518668495076", "shareSettings": { "shareType": "LOCAL" }, "specificSkuProperties": { "instanceProperties": { "machineType": "n1-standard-64" }, "totalCount": "800" }, "status": { "lockTime": "2025-03-30T17:09:59.297799Z", "procurementStatus": "APPROVED", "existingMatchingUsageInfo": { "count": "3", "timestamp": "2025-03-30T01:00:00Z" } }, "timeWindow": { "endTime": "2025-05-02T01:00:00Z", "startTime": "2025-04-30T17:30:00Z" }, "zone": "https://www.googleapis.com/compute/beta/projects/example-project/zones/us-central1-a" }
予約を使用できるインスタンスの最大数を確認するには、予約で使用可能なインスタンスをご覧ください。
Compute Engine が将来の予約リクエストの開始時に予約する予定のインスタンス数を確認するには、将来の予約リクエストで使用可能なインスタンスをご覧ください。
保証された数(
assuredCount
): 予約のゾーン内で物理的に予約されるインスタンスの数。この数には、プロジェクト用に予約されたインスタンスと、共有予約が共有されているプロジェクトのインスタンスが含まれます。合計数(
count
): 予約で指定された予約済みインスタンスの数。この数値は保証された数と一致する必要があります。使用中のマシン(
inUseCount
): 予約を使用しているプロジェクト、または共有予約が共有されているプロジェクトで実行中のインスタンスの数。プロジェクト内、およびリクエストが共有されているプロジェクト内の、リクエスト プロパティと一致する実行中のインスタンスの数と未使用の予約の数を確認します。
一致する実行中のインスタンスの数と未使用の予約の数を、リクエストの合計数から差し引きます。
Google Cloud コンソールの [予約] ページに移動します。
[将来の予約] タブをクリックします。
この表には、将来の予約リクエストがそれぞれ一覧表示されます。表の各列はプロパティを表します。
Compute Engine がリクエストの開始時に予約するインスタンスの数を確認するには、[合計数] 列から [一致数] 列を差し引きます。
[一致数] 列には、次のいずれかの警告が表示されます。
一致数が 0: プロジェクト内、またはリクエストが共有されているプロジェクト内に、一致する実行中のインスタンスまたは未使用の予約はありません。
一致数 = 合計数: Compute Engine は、リクエストの開始時にインスタンスを予約しません。
リクエストを変更するか、リクエストに一致する新しいインスタンスまたは予約を作成すると、Compute Engine によって 30 分以内に [一致数] 列が更新されます。
省略可: リクエストで [一致数] 列が最後に更新された日時を確認するには、次の操作を行います。
[名前] 列で、リクエストの名前をクリックします。将来の予約リクエストの詳細が表示されたページが開きます。
[リソースの詳細] セクションで、[一致する使用量カウントを最後に評価した日時] フィールドを確認します。
将来の予約リクエストの詳細を表示するには、
gcloud beta compute future-reservations describe
コマンドを使用します。gcloud beta compute future-reservations describe FUTURE_RESERVATION_NAME \ --zone=ZONE
次のように置き換えます。
FUTURE_RESERVATION_NAME
: 既存の将来の予約リクエストの名前。ZONE
: 将来の予約リクエストが存在するゾーン。
出力で、
count
フィールドとtotalCount
フィールドを見つけます。... specificSkuProperties: ... totalCount: '100' status: existingMatchingUsageInfo: count: '50' timestamp: '2025-03-30T01:00:00Z' ... procurementStatus: DRAFTING ...
totalCount
からcount
の値を減算します。たとえば、count
が 50 でtotalCount
が 100 の場合、Compute Engine はリクエストの開始時間に 50 個のインスタンスの予約を自動的に作成します。リクエストを変更するか、リクエストに一致する新しいインスタンスまたは予約を作成すると、Compute Engine は 30 分以内に
existingMatchingUsageInfo
フィールドを更新します。このフィールドが最後に更新された日時を確認するには、existingMatchingUsageInfo.timestamp
の値を確認します。将来の予約リクエストのリストを表示するには、ベータ版の
futureReservations.list
メソッドにGET
リクエストを送信します。リクエスト URL にfilter
クエリ パラメータを含め、name
、specificSkuProperties
、status
フィールドのみを表示するように指定します。GET https://compute.googleapis.com/compute/beta/projects/PROJECT_ID/zones/ZONE/futureReservations?fields=items.name,items.specificSkuProperties,items.status
次のように置き換えます。
PROJECT_ID
: 将来の予約リクエストを作成したプロジェクトの ID。ZONE
: 将来の予約リクエストが存在するゾーン。
出力で、各ドラフト、承認待ち、承認済みリクエストの
count
フィールドとtotalCount
フィールドを見つけます。{ "items": [ { "specificSkuProperties": { ... totalCount: "100" }, "name": "fr-01", "status": { "procurementStatus": "APPROVED", ... existingMatchingUsageInfo: { count: "50", "timestamp": "2025-01-22T07:54:26.295Z" } } }, { "specificSkuProperties": { ... totalCount: "20" }, "name": "fr-02", "status": { "procurementStatus": "DRAFTING", ... existingMatchingUsageInfo: { "count": "2", "timestamp": "2025-01-22T07:54:26.295Z" } } } ] }
リクエストごとに、
totalCount
からcount
の値を減算します。たとえば、count
が 50 でtotalCount
が 100 の場合、Compute Engine はリクエストの開始時間に 50 個のインスタンスの予約を自動的に作成します。リクエストを変更するか、リクエストに一致する新しいインスタンスまたは予約を作成すると、Compute Engine は 30 分以内に
existingMatchingUsageInfo
フィールドを更新します。このフィールドが最後に更新された日時を確認するには、existingMatchingUsageInfo.timestamp
の値を確認します。コミットメントに予約を関連付ける方法を学習する。
予約を使用する方法を学習する。
予約を変更する方法を学習する。
予約を削除する方法を学習する。
Go
ローカル開発環境でこのページの Go サンプルを使用するには、gcloud CLI をインストールして初期化し、ユーザー認証情報を使用してアプリケーションのデフォルト認証情報を設定します。
詳細については Set up authentication for a local development environment をご覧ください。
Java
ローカル開発環境でこのページの Java サンプルを使用するには、gcloud CLI をインストールして初期化し、ユーザー認証情報を使用してアプリケーションのデフォルト認証情報を設定します。
詳細については Set up authentication for a local development environment をご覧ください。
Node.js
ローカル開発環境でこのページの Node.js サンプルを使用するには、gcloud CLI をインストールして初期化し、ユーザー認証情報を使用してアプリケーションのデフォルト認証情報を設定します。
詳細については Set up authentication for a local development environment をご覧ください。
Python
ローカル開発環境でこのページの Python サンプルを使用するには、gcloud CLI をインストールして初期化し、ユーザー認証情報を使用してアプリケーションのデフォルト認証情報を設定します。
詳細については Set up authentication for a local development environment をご覧ください。
REST
このページの REST API サンプルをローカル開発環境で使用するには、gcloud CLI に指定した認証情報を使用します。
After installing the Google Cloud CLI, initialize it by running the following command:
gcloud init
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
詳細については、 Google Cloud 認証ドキュメントの REST を使用して認証するをご覧ください。
必要なロール
予約または将来の予約リクエストを表示するために必要な権限を取得するには、プロジェクトに対する Compute 管理者(
roles/compute.admin
)IAM ロールを付与するよう管理者に依頼してください。ロールの付与については、プロジェクト、フォルダ、組織へのアクセス権の管理をご覧ください。この事前定義ロールには、予約または将来の予約リクエストを表示するために必要な権限が含まれています。必要とされる正確な権限については、「必要な権限」セクションを開いてご確認ください。
必要な権限
予約または将来の予約リクエストを表示するには、次の権限が必要です。
カスタムロールや他の事前定義ロールを使用して、これらの権限を取得することもできます。
予約設定を表示する
以降のセクションでは、予約または将来の予約リクエストの設定を表示する方法について説明します。
予約を表示する
1 つ以上の予約の設定を表示するには、このセクションで説明する次のいずれかの方法を使用します。
予約の
deleteAtTime
フィールドとreservationSharingPolicy
フィールド(プレビュー)を表示するには、Google Cloud CLI を使用して予約の詳細を表示するか、REST API を使用して予約を表示します。これらのフィールドが不要な場合は、次のいずれかのオプションを選択して予約を表示します。コンソール
gcloud
Go
Java
Node.js
Python
REST
将来の予約リクエストを表示する
1 つ以上の将来の予約リクエストの設定を表示するには、このセクションで説明する次のいずれかの方法を使用します。
将来の予約リクエストを表示するには、次のいずれかのオプションを選択します。
コンソール
gcloud
REST
消費可能なインスタンスの数を決定する
予約済み容量を使用できるコンピューティング インスタンスの数を確認するには、次のいずれかを行います。
予約内の消費可能なインスタンス
予約の詳細を表示すると、次のフィールドを確認することで、予約を使用しているコンピューティング インスタンスの数と、予約を使用できるインスタンスの数を確認できます。
たとえば、保証された数(
assuredCount
)と合計数(count
)がどちらも 50 で、予約を使用するインスタンスの数(inUseCount
)が 25 の場合、予約が完全に使用される前に、さらに 25 個のインスタンスが予約を使用できます。将来の予約リクエストで使用可能なインスタンス
将来の予約リクエストの開始時に Compute Engine が予約を作成するコンピューティング インスタンスの数を決定できます。ドラフト、承認待ち、承認済みのリクエストの場合、この番号は次の方法で確認できます。
1 つまたは複数のリクエストで使用可能なインスタンスの数を一度に決定できます。複数のリクエストの場合は、Google Cloud コンソールまたは REST API を使用します。単一のリクエストの場合は、次のいずれかのオプションを選択します。
コンソール
gcloud
REST
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-09 UTC。
-