ArmComputeModelFactory.CommunityGalleryImageVersionData Method

Definition

Initializes a new instance of CommunityGalleryImageVersionData.

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

Parameters

name
String

Resource name.

location
Nullable<AzureLocation>

Resource location.

resourceType
Nullable<ResourceType>

Resource type.

uniqueId
String

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

disclaimer
String

The disclaimer for a community gallery resource.

artifactTags
IReadOnlyDictionary<String,String>

The artifact tags of a community gallery resource.

Returns

A new CommunityGalleryImageVersionData instance for mocking.

Applies to