Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SourceInstanceParams (v2.7.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SourceInstanceParams.

A specification of the parameters to use when creating the instance template from a source instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk_configs

def disk_configs() -> ::Array<::Google::Cloud::Compute::V1::DiskInstantiationConfig>
Returns
  • (::Array<::Google::Cloud::Compute::V1::DiskInstantiationConfig>) — Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.

#disk_configs=

def disk_configs=(value) -> ::Array<::Google::Cloud::Compute::V1::DiskInstantiationConfig>
Parameter
  • value (::Array<::Google::Cloud::Compute::V1::DiskInstantiationConfig>) — Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
Returns
  • (::Array<::Google::Cloud::Compute::V1::DiskInstantiationConfig>) — Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.