public sealed class MachineImageTargetDetails : IMessage<MachineImageTargetDetails>, IEquatable<MachineImageTargetDetails>, IDeepCloneable<MachineImageTargetDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class MachineImageTargetDetails.
The target details of the machine image resource that will be created by the image import job.
Implements
IMessageMachineImageTargetDetails, IEquatableMachineImageTargetDetails, IDeepCloneableMachineImageTargetDetails, IBufferMessage, IMessageNamespace
Google.Cloud.VMMigration.V1Assembly
Google.Cloud.VMMigration.V1.dll
Constructors
MachineImageTargetDetails()
public MachineImageTargetDetails()
MachineImageTargetDetails(MachineImageTargetDetails)
public MachineImageTargetDetails(MachineImageTargetDetails other)
Parameter | |
---|---|
Name | Description |
other |
MachineImageTargetDetails |
Properties
AdditionalLicenses
public RepeatedField<string> AdditionalLicenses { get; }
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
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Description
public string Description { get; set; }
Optional. An optional description of the machine image.
Property Value | |
---|---|
Type | Description |
string |
Encryption
public Encryption Encryption { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Encryption |
Labels
public MapField<string, string> Labels { get; }
Optional. The labels to apply to the instance created by the machine image.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
MachineImageName
public string MachineImageName { get; set; }
Required. The name of the machine image to be created.
Property Value | |
---|---|
Type | Description |
string |
MachineImageParametersOverrides
public MachineImageParametersOverrides MachineImageParametersOverrides { get; set; }
Optional. Parameters overriding decisions based on the source machine image configurations.
Property Value | |
---|---|
Type | Description |
MachineImageParametersOverrides |
NetworkInterfaces
public RepeatedField<NetworkInterface> NetworkInterfaces { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldNetworkInterface |
OsAdaptationConfigCase
public MachineImageTargetDetails.OsAdaptationConfigOneofCase OsAdaptationConfigCase { get; }
Property Value | |
---|---|
Type | Description |
MachineImageTargetDetailsOsAdaptationConfigOneofCase |
OsAdaptationParameters
public ImageImportOsAdaptationParameters OsAdaptationParameters { get; set; }
Optional. Use to set the parameters relevant for the OS adaptation process.
Property Value | |
---|---|
Type | Description |
ImageImportOsAdaptationParameters |
ServiceAccount
public ServiceAccount ServiceAccount { get; set; }
Optional. The service account to assign to the instance created by the machine image.
Property Value | |
---|---|
Type | Description |
ServiceAccount |
ShieldedInstanceConfig
public ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
Optional. Shielded instance configuration.
Property Value | |
---|---|
Type | Description |
ShieldedInstanceConfig |
SingleRegionStorage
public bool SingleRegionStorage { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
SkipOsAdaptation
public SkipOsAdaptation SkipOsAdaptation { get; set; }
Optional. Use to skip OS adaptation process.
Property Value | |
---|---|
Type | Description |
SkipOsAdaptation |
Tags
public RepeatedField<string> Tags { get; }
Optional. The tags to apply to the instance created by the machine image.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TargetProject
public string TargetProject { get; set; }
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
Property Value | |
---|---|
Type | Description |
string |
TargetProjectAsTargetProjectName
public TargetProjectName TargetProjectAsTargetProjectName { get; set; }
TargetProjectName-typed view over the TargetProject resource name property.
Property Value | |
---|---|
Type | Description |
TargetProjectName |