Compartir a través de


GalleryImageVersionProperties Class

Definition

Describes the properties of a gallery image version.

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

Constructors

GalleryImageVersionProperties()

Creates an new GalleryImageVersionProperties instance.

Properties

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.

ProvisioningState

The provisioning state, which only appears in the response.

PublishingProfileEndOfLifeDate

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

PublishingProfileExcludeFromLatest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

PublishingProfilePublishedDate

The timestamp for when the gallery image version is published.

PublishingProfileReplicaCount

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

PublishingProfileReplicationMode

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

PublishingProfileStorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

PublishingProfileTargetExtendedLocation

The target extended locations where the Image Version is going to be replicated to. This property is updatable.

PublishingProfileTargetRegion

The target regions where the Image Version is going to be replicated to. This property is updatable.

ReplicationStatusAggregatedState

This is the aggregated replication status based on all the regional replication status flags.

ReplicationStatusSummary

This is a summary of replication status for each region.

StorageProfileDataDiskImage

A list of data disk images.

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 GalleryImageVersionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageVersionProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageVersionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to