Google Cloud Vm Migration V1 Client - Class ImageImportOsAdaptationParameters (1.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ImageImportOsAdaptationParameters.
Parameters affecting the OS adaptation process.
Generated from protobuf message google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ generalize |
bool
Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID). |
↳ license_type |
int
Optional. Choose which type of license to apply to the imported image. |
↳ boot_conversion |
int
Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion |
↳ adaptation_modifiers |
array<AdaptationModifier>
Optional. Modifiers to be used as configuration of the OS adaptation process. |
getGeneralize
Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
| Returns | |
|---|---|
| Type | Description |
bool |
|
setGeneralize
Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLicenseType
Optional. Choose which type of license to apply to the imported image.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ComputeEngineLicenseType. |
setLicenseType
Optional. Choose which type of license to apply to the imported image.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ComputeEngineLicenseType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBootConversion
Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type BootConversion. |
setBootConversion
Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BootConversion. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdaptationModifiers
Optional. Modifiers to be used as configuration of the OS adaptation process.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAdaptationModifiers
Optional. Modifiers to be used as configuration of the OS adaptation process.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AdaptationModifier>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|