Share via


GalleryImages Class

Definition

The gallery images resource definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagesTypeConverter))]
public class GalleryImages : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagesTypeConverter))>]
type GalleryImages = class
    interface IGalleryImages
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class GalleryImages
Implements IGalleryImages, IValidates
Inheritance
GalleryImages
Attributes
Implements

Constructors

GalleryImages()

Creates an new GalleryImages 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

ExtendedLocationName

The name of the extended location.

ExtendedLocationType

The type of the extended location.

HyperVGeneration

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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

Location

The geo-location where the resource lives

Name

The name of the resource

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

ResourceGroupName

Gets the resource group name

StatusErrorCode

GalleryImage provisioning error code

StatusErrorMessage

Descriptive error message

StatusProgressPercentage

The progress of the operation in percentage

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VersionName

This is the version of the gallery image.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryImages.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImages.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImages into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to