Partager via


GalleryImageVersionUpdate Class

Definition

Specifies information about the gallery image version that you want to update.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionUpdateTypeConverter))]
public class GalleryImageVersionUpdate : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersionUpdate, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionUpdateTypeConverter))>]
type GalleryImageVersionUpdate = class
    interface IGalleryImageVersionUpdate
    interface IJsonSerializable
    interface IUpdateResourceDefinition
    interface IValidates
Public Class GalleryImageVersionUpdate
Implements IGalleryImageVersionUpdate, IValidates
Inheritance
GalleryImageVersionUpdate
Attributes
Implements

Constructors

GalleryImageVersionUpdate()

Creates an new GalleryImageVersionUpdate instance.

Properties

Id

Resource Id

Name

Resource name

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.

PropertiesStorageProfileSourceId

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

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.

Tag

Resource tags

Type

Resource type

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageVersionUpdate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageVersionUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to