Memasang disk regional ke instance VM Compute Engine dalam mode hanya baca
bookmark_borderbookmark
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memasang disk regional ke instance VM Compute Engine dalam mode baca-tulis
Memasang disk regional ke satu mesin virtual yang berjalan di Google Compute Engine. Disk juga harus dipasang oleh sistem operasi sebelum dapat digunakan.
Disk dipasang dalam mode hanya baca. Disk dapat dipasang ke beberapa instance VM secara bersamaan.
Contoh kode
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],[],[[["This code sample demonstrates how to attach a regional disk to a Google Compute Engine virtual machine instance."],["The disk is attached in read-only mode, allowing it to be simultaneously attached to multiple VM instances."],["The provided Go code snippet uses the Compute Engine API to perform the disk attachment operation."],["Authentication is required to use the Compute Engine API, using Application Default Credentials for a local development environment."],["Before the disk can be used it needs to be mounted by the operating system."]]],[]]