Dela via


SharedGalleryImageVersion Constructors

Definition

Overloads

SharedGalleryImageVersion()

Initializes a new instance of the SharedGalleryImageVersion class.

SharedGalleryImageVersion(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, SharedGalleryImageVersionStorageProfile)

Initializes a new instance of the SharedGalleryImageVersion class.

SharedGalleryImageVersion()

Initializes a new instance of the SharedGalleryImageVersion class.

public SharedGalleryImageVersion ();
Public Sub New ()

Applies to

SharedGalleryImageVersion(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, SharedGalleryImageVersionStorageProfile)

Initializes a new instance of the SharedGalleryImageVersion class.

public SharedGalleryImageVersion (string name = default, string location = default, string uniqueId = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, bool? excludeFromLatest = default, Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersionStorageProfile storageProfile = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersion : string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersionStorageProfile -> Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersion
Public Sub New (Optional name As String = Nothing, Optional location As String = Nothing, Optional uniqueId As String = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional storageProfile As SharedGalleryImageVersionStorageProfile = Nothing)

Parameters

name
String

Resource name

location
String

Resource location

uniqueId
String

The unique id of this shared gallery.

publishedDate
Nullable<DateTime>

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

endOfLifeDate
Nullable<DateTime>

The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. 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.

storageProfile
SharedGalleryImageVersionStorageProfile

Describes the storage profile of the image version.

Applies to