Class CreateMachineImageDetails
Machine image details required to create an Image artifact.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class CreateMachineImageDetails
Properties
ImageShapeCompatibilityEntries
Declaration
[Required(ErrorMessage = "ImageShapeCompatibilityEntries is required.")]
[JsonProperty(PropertyName = "imageShapeCompatibilityEntries")]
public List<ImageShapeCompatibility> ImageShapeCompatibilityEntries { get; set; }
Property Value
Type | Description |
---|---|
List<ImageShapeCompatibility> | List of shape configurations compatible with the image. |
Remarks
Required
IsSnapshotAllowed
Declaration
[Required(ErrorMessage = "IsSnapshotAllowed is required.")]
[JsonProperty(PropertyName = "isSnapshotAllowed")]
public bool? IsSnapshotAllowed { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the customer is allowed to take a snapshot of running instance created from the machine image. |
Remarks
Required
SourceImageId
Declaration
[Required(ErrorMessage = "SourceImageId is required.")]
[JsonProperty(PropertyName = "sourceImageId")]
public string SourceImageId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of source Machine Image. |
Remarks
Required
Username
Declaration
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string | The username for machine image. |