GalleryImageVersion Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies information about the gallery image version that you want to create or update.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionTypeConverter))]
public class GalleryImageVersion : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryImageVersionTypeConverter))>]
type GalleryImageVersion = class
interface IGalleryImageVersion
interface IJsonSerializable
interface IResource
interface IValidates
Public Class GalleryImageVersion
Implements IGalleryImageVersion, IValidates
- Inheritance
-
GalleryImageVersion
- Attributes
- Implements
Constructors
GalleryImageVersion() |
Creates an new GalleryImageVersion instance. |
Properties
Id |
Resource Id |
Location |
Resource location |
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 GalleryImageVersion. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GalleryImageVersion. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryImageVersion. |
FromJsonString(String) |
Creates a new instance of GalleryImageVersion, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of GalleryImageVersion into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |