このページでは、Infrastructure Manager を有効または無効にする手順について説明します。
Infra Manager の料金については、料金をご覧ください。
サービスの有効化
- Google Cloud アカウントにログインします。 Google Cloudを初めて使用する場合は、 アカウントを作成して、実際のシナリオでの Google プロダクトのパフォーマンスを評価してください。新規のお客様には、ワークロードの実行、テスト、デプロイができる無料クレジット $300 分を差し上げます。
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
- Google Cloud CLI がまだインストールされていない場合は、インストールして初期化します。既存のインストール環境の場合は、
gcloud components updateコマンドを使用して Google Cloud CLI のコンポーネントを更新します。gcloud CLI のバージョンを確認するには、次のコマンドを実行します。
gcloud version
- Google Cloud コンソールから、または次の
gcloudコマンドを使用して、API を有効にします。gcloud services enable config.googleapis.com
- 省略可: Infra Manager で割り当ての検証を使用するには、Google Cloud コンソールから、または次の
gcloudコマンドを使用して API を有効にします。gcloud services enable cloudquotas.googleapis.com
サービスの無効化
Infra Manager API を無効にしても、関連するリソースはプロジェクトに引き続き存在します。無効にすると、このサービスを使用してプロジェクトのデプロイとリソースを変更することはできません。
API を再度有効にすると、API を最初に有効にしたときと同じ方法でサービスを引き続き使用できます。
Google Cloud コンソールから API を無効にするには:
Console
- Infra Manager の API の概要ページに移動します。
- API を有効にするプロジェクトを選択します。
- [管理] をクリックします。
- [API を無効にする] をクリックします。
gcloud
次のコマンドを実行して、現在のプロジェクトの API を無効にします。
gcloud services disable config.googleapis.com