Dela via


CommunityGalleryImageVersion Constructors

Definition

Overloads

CommunityGalleryImageVersion()

Initializes a new instance of the CommunityGalleryImageVersion class.

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

Initializes a new instance of the CommunityGalleryImageVersion class.

CommunityGalleryImageVersion()

Initializes a new instance of the CommunityGalleryImageVersion class.

public CommunityGalleryImageVersion ();
Public Sub New ()

Applies to

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

Initializes a new instance of the CommunityGalleryImageVersion class.

public CommunityGalleryImageVersion (string name = default, string location = default, string type = 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.CommunityGalleryImageVersion : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersionStorageProfile -> Microsoft.Azure.Management.Compute.Models.CommunityGalleryImageVersion
Public Sub New (Optional name As String = Nothing, Optional location As String = Nothing, Optional type 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

type
String

Resource type

uniqueId
String

The unique id of this community 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