Share via


GalleryImageVersionStorageProfile Class

Definition

This is the storage profile of a Gallery Image Version.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionStorageProfileTypeConverter))]
public class GalleryImageVersionStorageProfile : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersionStorageProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionStorageProfileTypeConverter))>]
type GalleryImageVersionStorageProfile = class
    interface IGalleryImageVersionStorageProfile
    interface IJsonSerializable
Public Class GalleryImageVersionStorageProfile
Implements IGalleryImageVersionStorageProfile
Inheritance
GalleryImageVersionStorageProfile
Attributes
Implements

Constructors

GalleryImageVersionStorageProfile()

Creates an new GalleryImageVersionStorageProfile instance.

Properties

DataDiskImage

A list of data disk images.

Id

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

OSDiskImageHostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

OSDiskImageSizeInGb

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

OSDiskImageSourceId

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

OSDiskImageSourceUri

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

Uri

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryImageVersionStorageProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageVersionStorageProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersionStorageProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageVersionStorageProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to