Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ShieldedInstanceConfig.
Shielded instance configuration.
Generated from protobuf message google.cloud.vmmigration.v1.ShieldedInstanceConfig
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ secure_boot |
int
Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI. |
↳ enable_vtpm |
bool
Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI. |
↳ enable_integrity_monitoring |
bool
Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled. |
getSecureBoot
Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
Returns | |
---|---|
Type | Description |
int |
Enum of type SecureBoot. |
setSecureBoot
Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type SecureBoot. |
Returns | |
---|---|
Type | Description |
$this |
getEnableVtpm
Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
Returns | |
---|---|
Type | Description |
bool |
setEnableVtpm
Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEnableIntegrityMonitoring
Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
Returns | |
---|---|
Type | Description |
bool |
setEnableIntegrityMonitoring
Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |