Share via


SharedGalleryImage Class

Definition

Specifies information about the gallery image definition that you want to create or update.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SharedGalleryImage : Microsoft.Azure.Management.Compute.Models.PirSharedGalleryResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SharedGalleryImage = class
    inherit PirSharedGalleryResource
Public Class SharedGalleryImage
Inherits PirSharedGalleryResource
Inheritance
Attributes

Constructors

SharedGalleryImage()

Initializes a new instance of the SharedGalleryImage class.

SharedGalleryImage(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, String, IList<GalleryImageFeature>, ImagePurchasePlan, String, String, String)

Initializes a new instance of the SharedGalleryImage class.

Properties

Architecture

Gets or sets possible values include: 'x64', 'Arm64'

Disallowed
EndOfLifeDate

Gets or sets the end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

Eula

Gets or sets end-user license agreement for the current community gallery image.

Features

Gets or sets a list of gallery image features.

HyperVGeneration

Gets or sets the hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

Identifier
Location

Gets resource location

(Inherited from PirResource)
Name

Gets resource name

(Inherited from PirResource)
OsState

Gets or sets this property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'

OsType

Gets or sets this property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt; Windows &lt;br&gt;&lt;br&gt; Linux. Possible values include: 'Windows', 'Linux'

PrivacyStatementUri

Gets or sets privacy statement uri for the current community gallery image.

PurchasePlan
Recommended
UniqueId

Gets or sets the unique id of this shared gallery.

(Inherited from PirSharedGalleryResource)

Methods

Validate()

Validate the object.

Applies to