-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ImageVersionData.cs
56 lines (50 loc) · 2.67 KB
/
ImageVersionData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.DevCenter.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DevCenter
{
/// <summary>
/// A class representing the ImageVersion data model.
/// Represents an image version.
/// </summary>
public partial class ImageVersionData : ResourceData
{
/// <summary> Initializes a new instance of ImageVersionData. </summary>
public ImageVersionData()
{
}
/// <summary> Initializes a new instance of ImageVersionData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="namePropertiesName"> The semantic version string. </param>
/// <param name="publishedOn"> The datetime that the backing image version was published. </param>
/// <param name="isExcludedFromLatest"> If the version should be excluded from being treated as the latest version. </param>
/// <param name="osDiskImageSizeInGB"> The size of the OS disk image, in GB. </param>
/// <param name="provisioningState"> The provisioning state of the resource. </param>
internal ImageVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string namePropertiesName, DateTimeOffset? publishedOn, bool? isExcludedFromLatest, int? osDiskImageSizeInGB, DevCenterProvisioningState? provisioningState) : base(id, name, resourceType, systemData)
{
NamePropertiesName = namePropertiesName;
PublishedOn = publishedOn;
IsExcludedFromLatest = isExcludedFromLatest;
OSDiskImageSizeInGB = osDiskImageSizeInGB;
ProvisioningState = provisioningState;
}
/// <summary> The semantic version string. </summary>
public string NamePropertiesName { get; }
/// <summary> The datetime that the backing image version was published. </summary>
public DateTimeOffset? PublishedOn { get; }
/// <summary> If the version should be excluded from being treated as the latest version. </summary>
public bool? IsExcludedFromLatest { get; }
/// <summary> The size of the OS disk image, in GB. </summary>
public int? OSDiskImageSizeInGB { get; }
/// <summary> The provisioning state of the resource. </summary>
public DevCenterProvisioningState? ProvisioningState { get; }
}
}