Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::MachineImageTargetDetails.
The target details of the machine image resource that will be created by the image import job.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#additional_licenses
def additional_licenses() -> ::Array<::String>
- (::Array<::String>) — 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
#additional_licenses=
def additional_licenses=(value) -> ::Array<::String>
- value (::Array<::String>) — 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
- (::Array<::String>) — 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
#description
def description() -> ::String
- (::String) — Optional. An optional description of the machine image.
#description=
def description=(value) -> ::String
- value (::String) — Optional. An optional description of the machine image.
- (::String) — Optional. An optional description of the machine image.
#encryption
def encryption() -> ::Google::Cloud::VMMigration::V1::Encryption
- (::Google::Cloud::VMMigration::V1::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.
#encryption=
def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption
- value (::Google::Cloud::VMMigration::V1::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.
- (::Google::Cloud::VMMigration::V1::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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.
#machine_image_name
def machine_image_name() -> ::String
- (::String) — Required. The name of the machine image to be created.
#machine_image_name=
def machine_image_name=(value) -> ::String
- value (::String) — Required. The name of the machine image to be created.
- (::String) — Required. The name of the machine image to be created.
#machine_image_parameters_overrides
def machine_image_parameters_overrides() -> ::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides
- (::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides) — Optional. Parameters overriding decisions based on the source machine image configurations.
#machine_image_parameters_overrides=
def machine_image_parameters_overrides=(value) -> ::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides
- value (::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides) — Optional. Parameters overriding decisions based on the source machine image configurations.
- (::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides) — Optional. Parameters overriding decisions based on the source machine image configurations.
#network_interfaces
def network_interfaces() -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
- (::Array<::Google::Cloud::VMMigration::V1::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.
#network_interfaces=
def network_interfaces=(value) -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
- value (::Array<::Google::Cloud::VMMigration::V1::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.
- (::Array<::Google::Cloud::VMMigration::V1::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.
#os_adaptation_parameters
def os_adaptation_parameters() -> ::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters
-
(::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation
process.
Note: The following fields are mutually exclusive:
os_adaptation_parameters
,skip_os_adaptation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#os_adaptation_parameters=
def os_adaptation_parameters=(value) -> ::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters
-
value (::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation
process.
Note: The following fields are mutually exclusive:
os_adaptation_parameters
,skip_os_adaptation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation
process.
Note: The following fields are mutually exclusive:
os_adaptation_parameters
,skip_os_adaptation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#service_account
def service_account() -> ::Google::Cloud::VMMigration::V1::ServiceAccount
- (::Google::Cloud::VMMigration::V1::ServiceAccount) — Optional. The service account to assign to the instance created by the machine image.
#service_account=
def service_account=(value) -> ::Google::Cloud::VMMigration::V1::ServiceAccount
- value (::Google::Cloud::VMMigration::V1::ServiceAccount) — Optional. The service account to assign to the instance created by the machine image.
- (::Google::Cloud::VMMigration::V1::ServiceAccount) — Optional. The service account to assign to the instance created by the machine image.
#shielded_instance_config
def shielded_instance_config() -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig
- (::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig) — Optional. Shielded instance configuration.
#shielded_instance_config=
def shielded_instance_config=(value) -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig
- value (::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig) — Optional. Shielded instance configuration.
- (::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig) — Optional. Shielded instance configuration.
#single_region_storage
def single_region_storage() -> ::Boolean
- (::Boolean) — 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.
#single_region_storage=
def single_region_storage=(value) -> ::Boolean
- value (::Boolean) — 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.
- (::Boolean) — 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.
#skip_os_adaptation
def skip_os_adaptation() -> ::Google::Cloud::VMMigration::V1::SkipOsAdaptation
-
(::Google::Cloud::VMMigration::V1::SkipOsAdaptation) — Optional. Use to skip OS adaptation process.
Note: The following fields are mutually exclusive:
skip_os_adaptation
,os_adaptation_parameters
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#skip_os_adaptation=
def skip_os_adaptation=(value) -> ::Google::Cloud::VMMigration::V1::SkipOsAdaptation
-
value (::Google::Cloud::VMMigration::V1::SkipOsAdaptation) — Optional. Use to skip OS adaptation process.
Note: The following fields are mutually exclusive:
skip_os_adaptation
,os_adaptation_parameters
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VMMigration::V1::SkipOsAdaptation) — Optional. Use to skip OS adaptation process.
Note: The following fields are mutually exclusive:
skip_os_adaptation
,os_adaptation_parameters
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tags
def tags() -> ::Array<::String>
- (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.
#tags=
def tags=(value) -> ::Array<::String>
- value (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.
- (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.
#target_project
def target_project() -> ::String
- (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
#target_project=
def target_project=(value) -> ::String
- value (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
- (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.