VM Migration v1 API - Class DiskImageTargetDetails (2.7.0)

public sealed class DiskImageTargetDetails : IMessage<DiskImageTargetDetails>, IEquatable<DiskImageTargetDetails>, IDeepCloneable<DiskImageTargetDetails>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class DiskImageTargetDetails.

The target details of the image resource that will be created by the import job.

Inheritance

object > DiskImageTargetDetails

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

DiskImageTargetDetails()

public DiskImageTargetDetails()

DiskImageTargetDetails(DiskImageTargetDetails)

public DiskImageTargetDetails(DiskImageTargetDetails other)
Parameter
Name Description
other DiskImageTargetDetails

Properties

AdditionalLicenses

public RepeatedField<string> AdditionalLicenses { get; }
Property Value
Type Description
RepeatedFieldstring

DataDiskImageImport

public DataDiskImageImport DataDiskImageImport { get; set; }

Optional. Use to skip OS adaptation process.

Property Value
Type Description
DataDiskImageImport

Description

public string Description { get; set; }

Optional. An optional description of the image.

Property Value
Type Description
string

Encryption

public Encryption Encryption { get; set; }

Immutable. The encryption to apply to the image.

Property Value
Type Description
Encryption

FamilyName

public string FamilyName { get; set; }

Optional. The name of the image family to which the new image belongs.

Property Value
Type Description
string

ImageName

public string ImageName { get; set; }

Required. The name of the image to be created.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. A map of labels to associate with the image.

Property Value
Type Description
MapFieldstringstring

OsAdaptationConfigCase

public DiskImageTargetDetails.OsAdaptationConfigOneofCase OsAdaptationConfigCase { get; }
Property Value
Type Description
DiskImageTargetDetailsOsAdaptationConfigOneofCase

OsAdaptationParameters

public ImageImportOsAdaptationParameters OsAdaptationParameters { get; set; }

Optional. Use to set the parameters relevant for the OS adaptation process.

Property Value
Type Description
ImageImportOsAdaptationParameters

SingleRegionStorage

public bool SingleRegionStorage { get; set; }

Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.

Property Value
Type Description
bool

TargetProject

public string TargetProject { get; set; }

Required. Reference to the TargetProject resource that represents the target project in which the imported 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