Share via


GalleryImageVersionPublishingProfile Constructors

Definition

Overloads

GalleryImageVersionPublishingProfile()

Initializes a new instance of the GalleryImageVersionPublishingProfile class.

GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType)

Initializes a new instance of the GalleryImageVersionPublishingProfile class.

GalleryImageVersionPublishingProfile()

Initializes a new instance of the GalleryImageVersionPublishingProfile class.

public GalleryImageVersionPublishingProfile ();
Public Sub New ()

Applies to

GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType)

Initializes a new instance of the GalleryImageVersionPublishingProfile class.

public GalleryImageVersionPublishingProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountType storageAccountType = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageVersionPublishingProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountType -> Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageVersionPublishingProfile
Public Sub New (Optional targetRegions As IList(Of TargetRegion) = Nothing, Optional replicaCount As Nullable(Of Integer) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional storageAccountType As StorageAccountType = Nothing)

Parameters

targetRegions
IList<TargetRegion>

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

replicaCount
Nullable<Int32>

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.

excludeFromLatest
Nullable<Boolean>

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

publishedDate
Nullable<DateTime>

The timestamp for when the gallery Image Version is published.

endOfLifeDate
Nullable<DateTime>

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

storageAccountType
StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'

Applies to