共用方式為


CommunityGalleryImage Class

Definition

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

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

Constructors

CommunityGalleryImage()

Initializes a new instance of the CommunityGalleryImage class.

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

Initializes a new instance of the CommunityGalleryImage 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 PirCommunityGalleryResource)
Name

Gets resource name

(Inherited from PirCommunityGalleryResource)
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
Type

Gets resource type

(Inherited from PirCommunityGalleryResource)
UniqueId

Gets or sets the unique id of this community gallery.

(Inherited from PirCommunityGalleryResource)

Methods

Validate()

Validate the object.

Applies to