スナップショットからイメージを作成する
bookmark_borderbookmark
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このサンプルでは、スナップショットに基づいてイメージを作成します。
コードサンプル
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],[],[[["This code provides examples in Go, Java, and Python for creating a disk image based on an existing snapshot in Google Cloud Compute Engine."],["The code samples demonstrate how to use the Compute Engine API client libraries to create images from snapshots by specifying the project ID, snapshot name, and desired image name."],["The code includes options for setting storage locations and guest OS features when creating the new image, and the location defaults to the multi-region closest to the snapshot if not specified."],["Authentication to Compute Engine is required and can be achieved by setting up Application Default Credentials, as detailed in the documentation links provided."],["The code highlights the use of `ImagesClient` and `SnapshotsClient` (in Java and Python) or `compute.NewImagesRESTClient` and `compute.NewSnapshotsRESTClient` (in Go) to manage and interact with images and snapshots, respectively."]]],[]]