Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class MachineImageTargetDetails.
The target details of the machine image resource that will be created by the image import job.
Generated from protobuf message google.cloud.vmmigration.v1.MachineImageTargetDetails
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ os_adaptation_parameters
ImageImportOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
↳ skip_os_adaptation
↳ machine_image_name
string
Required. The name of the machine image to be created.
↳ target_project
string
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
↳ description
string
Optional. An optional description of the machine image.
↳ single_region_storage
bool
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
↳ encryption
Encryption
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
↳ machine_image_parameters_overrides
MachineImageParametersOverrides
Optional. Parameters overriding decisions based on the source machine image configurations.
↳ service_account
ServiceAccount
Optional. The service account to assign to the instance created by the machine image.
↳ additional_licenses
array
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. The labels to apply to the instance created by the machine image.
↳ tags
array
Optional. The tags to apply to the instance created by the machine image.
↳ shielded_instance_config
↳ network_interfaces
array< NetworkInterface
>
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
getOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
hasOsAdaptationParameters
setOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
$this
getSkipOsAdaptation
Optional. Use to skip OS adaptation process.
hasSkipOsAdaptation
setSkipOsAdaptation
Optional. Use to skip OS adaptation process.
$this
getMachineImageName
Required. The name of the machine image to be created.
string
setMachineImageName
Required. The name of the machine image to be created.
var
string
$this
getTargetProject
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string
setTargetProject
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
var
string
$this
getDescription
Optional. An optional description of the machine image.
string
setDescription
Optional. An optional description of the machine image.
var
string
$this
getSingleRegionStorage
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool
setSingleRegionStorage
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
var
bool
$this
getEncryption
Immutable. The encryption to apply to the machine image.
If the Image Import resource has an encryption, this field must be set to the same encryption key.
hasEncryption
clearEncryption
setEncryption
Immutable. The encryption to apply to the machine image.
If the Image Import resource has an encryption, this field must be set to the same encryption key.
$this
getMachineImageParametersOverrides
Optional. Parameters overriding decisions based on the source machine image configurations.
hasMachineImageParametersOverrides
clearMachineImageParametersOverrides
setMachineImageParametersOverrides
Optional. Parameters overriding decisions based on the source machine image configurations.
$this
getServiceAccount
Optional. The service account to assign to the instance created by the machine image.
hasServiceAccount
clearServiceAccount
setServiceAccount
Optional. The service account to assign to the instance created by the machine image.
$this
getAdditionalLicenses
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
setAdditionalLicenses
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
var
string[]
$this
getLabels
Optional. The labels to apply to the instance created by the machine image.
setLabels
Optional. The labels to apply to the instance created by the machine image.
$this
getTags
Optional. The tags to apply to the instance created by the machine image.
setTags
Optional. The tags to apply to the instance created by the machine image.
var
string[]
$this
getShieldedInstanceConfig
Optional. Shielded instance configuration.
hasShieldedInstanceConfig
clearShieldedInstanceConfig
setShieldedInstanceConfig
Optional. Shielded instance configuration.
$this
getNetworkInterfaces
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
setNetworkInterfaces
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
$this
getOsAdaptationConfig
string

