Reference documentation and code samples for the Compute V1 Client class SourceInstanceParams.
A specification of the parameters to use when creating the instance template from a source instance.
Generated from protobuf message google.cloud.compute.v1.SourceInstanceParams
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disk_configs |
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. |
getDiskConfigs
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDiskConfigs
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.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\DiskInstantiationConfig>
|
Returns | |
---|---|
Type | Description |
$this |