ArmComputeModelFactory.CommunityGalleryImageVersionData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Compute.CommunityGalleryImageVersionData CommunityGalleryImageVersionData(string name, Azure.Core.AzureLocation? location, Azure.Core.ResourceType? resourceType, string uniqueId, DateTimeOffset? publishedOn, DateTimeOffset? endOfLifeOn, bool? isExcludedFromLatest, Azure.ResourceManager.Compute.Models.SharedGalleryImageVersionStorageProfile storageProfile, string disclaimer, System.Collections.Generic.IDictionary<string,string> artifactTags, DateTimeOffset? consumptionEndsOn, Azure.ResourceManager.Compute.Models.GalleryImageVersionState? imageState = 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.IDictionary<string, string> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.GalleryImageVersionState> -> Azure.ResourceManager.Compute.CommunityGalleryImageVersionData
Public Shared Function CommunityGalleryImageVersionData (name As String, location As Nullable(Of AzureLocation), resourceType As Nullable(Of ResourceType), uniqueId As String, publishedOn As Nullable(Of DateTimeOffset), endOfLifeOn As Nullable(Of DateTimeOffset), isExcludedFromLatest As Nullable(Of Boolean), storageProfile As SharedGalleryImageVersionStorageProfile, disclaimer As String, artifactTags As IDictionary(Of String, String), consumptionEndsOn As Nullable(Of DateTimeOffset), Optional imageState As Nullable(Of GalleryImageVersionState) = 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.
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
- IDictionary<String,String>
The artifact tags of a community gallery resource.
- consumptionEndsOn
- Nullable<DateTimeOffset>
The timestamp after which a soft-deleted gallery image version is no longer consumable for VM/VMSS creation or VMSS scale out. It is calculated from the soft-deleted time plus the retention period, and is not present for active gallery image versions. In dateTime offset format.
- imageState
- Nullable<GalleryImageVersionState>
The state of the gallery image version, derived from its soft-delete status.
Returns
A new CommunityGalleryImageVersionData instance for mocking.