ArmComputeModelFactory.SharedGalleryImageVersionData Method

Definition

Initializes a new instance of SharedGalleryImageVersionData.

public static Azure.ResourceManager.Compute.SharedGalleryImageVersionData SharedGalleryImageVersionData (string name = default, Azure.Core.AzureLocation? location = default, string uniqueId = default, DateTimeOffset? publishedOn = default, DateTimeOffset? endOfLifeOn = default, bool? isExcludedFromLatest = default, Azure.ResourceManager.Compute.Models.SharedGalleryImageVersionStorageProfile storageProfile = default, System.Collections.Generic.IReadOnlyDictionary<string,string> artifactTags = default);
static member SharedGalleryImageVersionData : string * Nullable<Azure.Core.AzureLocation> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Azure.ResourceManager.Compute.Models.SharedGalleryImageVersionStorageProfile * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Compute.SharedGalleryImageVersionData
Public Shared Function SharedGalleryImageVersionData (Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional uniqueId As String = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOfLifeOn As Nullable(Of DateTimeOffset) = Nothing, Optional isExcludedFromLatest As Nullable(Of Boolean) = Nothing, Optional storageProfile As SharedGalleryImageVersionStorageProfile = Nothing, Optional artifactTags As IReadOnlyDictionary(Of String, String) = Nothing) As SharedGalleryImageVersionData

Parameters

name
String

Resource name.

location
Nullable<AzureLocation>

Resource location.

uniqueId
String

The unique id of this shared gallery.

publishedOn
Nullable<DateTimeOffset>

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

endOfLifeOn
Nullable<DateTimeOffset>

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

isExcludedFromLatest
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.

artifactTags
IReadOnlyDictionary<String,String>

The artifact tags of a shared gallery resource.

Returns

A new SharedGalleryImageVersionData instance for mocking.

Applies to