GalleryImageProperties Class

Definition

Properties under the gallery image resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagePropertiesTypeConverter))]
public class GalleryImageProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagePropertiesTypeConverter))>]
type GalleryImageProperties = class
    interface IGalleryImageProperties
    interface IJsonSerializable
Public Class GalleryImageProperties
Implements IGalleryImageProperties
Inheritance
GalleryImageProperties
Attributes
Implements

Constructors

GalleryImageProperties()

Creates an new GalleryImageProperties instance.

Properties

CloudInitDataSource

Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]

ContainerId

Storage ContainerID of the storage container to be used for gallery image

DownloadStatusDownloadSizeInMb

The downloaded sized of the image in MB

HyperVGeneration

The hypervisor generation of the Virtual Machine [V1, V2]

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.

ImagePath

location of the image the gallery image should be created from

OSDiskImageSizeInMb

This property indicates the size of the VHD to be created.

OSType

Operating system type that the gallery image uses [Windows, Linux]

ProvisioningState

Provisioning state of the gallery image.

ProvisioningStatus

The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]

ProvisioningStatusOperationId

The ID of the operation performed on the gallery image

StatusErrorCode

GalleryImage provisioning error code

StatusErrorMessage

Descriptive error message

StatusProgressPercentage

The progress of the operation in percentage

VersionName

This is the version of the gallery image.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryImageProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageProperties.

FromJsonString(String)

Creates a new instance of GalleryImageProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to