compute
v1
|
#include <source_instance_params.h>
Public Member Functions | |
SourceInstanceParams (const Json::Value &storage) | |
SourceInstanceParams (Json::Value *storage) | |
virtual | ~SourceInstanceParams () |
const StringPiece | GetTypeName () const |
bool | has_disk_configs () const |
void | clear_disk_configs () |
const client::JsonCppArray< DiskInstantiationConfig > | get_disk_configs () const |
client::JsonCppArray< DiskInstantiationConfig > | mutable_diskConfigs () |
Static Public Member Functions | |
static SourceInstanceParams * | New () |
A specification of the parameters to use when creating the instance template from a source instance.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'diskConfigs
' attribute.
const client::JsonCppArray<DiskInstantiationConfig > google_compute_api::SourceInstanceParams::get_disk_configs | ( | ) | const |
Get a reference to the value of the 'diskConfigs
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'diskConfigs
' attribute was set.
diskConfigs
' attribute was set. client::JsonCppArray<DiskInstantiationConfig > google_compute_api::SourceInstanceParams::mutable_diskConfigs | ( | ) |
Gets a reference to a mutable value of the 'diskConfigs
' property.
Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
|
static |
Creates a new default instance.