-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BatchCloudServiceConfiguration.cs
40 lines (33 loc) · 2.83 KB
/
BatchCloudServiceConfiguration.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Batch.Models
{
/// <summary> The configuration for nodes in a pool based on the Azure Cloud Services platform. </summary>
public partial class BatchCloudServiceConfiguration
{
/// <summary> Initializes a new instance of <see cref="BatchCloudServiceConfiguration"/>. </summary>
/// <param name="osFamily"> Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). </param>
/// <exception cref="ArgumentNullException"> <paramref name="osFamily"/> is null. </exception>
public BatchCloudServiceConfiguration(string osFamily)
{
Argument.AssertNotNull(osFamily, nameof(osFamily));
OSFamily = osFamily;
}
/// <summary> Initializes a new instance of <see cref="BatchCloudServiceConfiguration"/>. </summary>
/// <param name="osFamily"> Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). </param>
/// <param name="osVersion"> The default value is * which specifies the latest operating system version for the specified OS family. </param>
internal BatchCloudServiceConfiguration(string osFamily, string osVersion)
{
OSFamily = osFamily;
OSVersion = osVersion;
}
/// <summary> Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). </summary>
public string OSFamily { get; set; }
/// <summary> The default value is * which specifies the latest operating system version for the specified OS family. </summary>
public string OSVersion { get; set; }
}
}