你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies information about the gallery image definition that you want to create or update.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageTypeConverter))]
public class GalleryImage : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImage, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageTypeConverter))>]
type GalleryImage = class
interface IGalleryImage
interface IJsonSerializable
interface IResource
interface IValidates
Public Class GalleryImage
Implements IGalleryImage, IValidates
- Inheritance
-
GalleryImage
- Attributes
- Implements
Constructors
GalleryImage() |
Creates an new GalleryImage instance. |
Properties
Architecture |
The architecture of the image. Applicable to OS disks only. |
Description |
The description of this gallery image definition resource. This property is updatable. |
DisallowedDiskType |
A list of disk types. |
EndOfLifeDate |
The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable. |
Eula |
The Eula agreement for the gallery image definition. |
Feature |
A list of gallery image features. |
HyperVGeneration |
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. |
Id |
Resource Id |
IdentifierOffer |
The name of the gallery image definition offer. |
IdentifierPublisher |
The name of the gallery image definition publisher. |
IdentifierSku |
The name of the gallery image definition SKU. |
Location |
Resource location |
MemoryMax |
The maximum number of the resource. |
MemoryMin |
The minimum number of the resource. |
Name |
Resource name |
OSState |
This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. |
OSType | |
PrivacyStatementUri |
The privacy statement uri. |
ProvisioningState |
The provisioning state, which only appears in the response. |
PurchasePlanName |
The plan ID. |
PurchasePlanProduct |
The product ID. |
PurchasePlanPublisher |
The publisher ID. |
ReleaseNoteUri |
The release note uri. |
Tag |
Resource tags |
Type |
Resource type |
VCpUsMax |
The maximum number of the resource. |
VCpUsMin |
The minimum number of the resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of GalleryImage. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GalleryImage. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImage. |
FromJsonString(String) |
Creates a new instance of GalleryImage, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of GalleryImage into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |