Compartir a través de


GalleryImageVersionPublishingProfile Class

Definition

The publishing profile of a gallery image Version.

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

Constructors

GalleryImageVersionPublishingProfile()

Creates an new GalleryImageVersionPublishingProfile instance.

Properties

EndOfLifeDate

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

ExcludeFromLatest

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

PublishedDate

The timestamp for when the gallery image version is published.

ReplicaCount

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.

ReplicationMode

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

StorageAccountType

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

TargetExtendedLocation

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

TargetRegion

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryImageVersionPublishingProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageVersionPublishingProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageVersionPublishingProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to