Condividi tramite


GalleryImage Class

Definition

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

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

Constructors

GalleryImage()

Initializes a new instance of the GalleryImage class.

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

Initializes a new instance of the GalleryImage class.

Properties

Architecture

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

Description

Gets or sets the description of this gallery image definition resource. This property is updatable.

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 the Eula agreement for the gallery image definition.

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'

Id

Gets resource Id

(Inherited from Resource)
Identifier
Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
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 the privacy statement uri.

ProvisioningState

Gets possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

PurchasePlan
Recommended
ReleaseNoteUri

Gets or sets the release note uri.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to