BatchCloudServiceConfiguration(String) Constructor
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.
Initializes a new instance of BatchCloudServiceConfiguration.
public BatchCloudServiceConfiguration (string osFamily);
new Azure.ResourceManager.Batch.Models.BatchCloudServiceConfiguration : string -> Azure.ResourceManager.Batch.Models.BatchCloudServiceConfiguration
Public Sub New (osFamily As String)
Parameters
- osFamily
- String
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).
Exceptions
osFamily
is null.
Applies to
Azure SDK for .NET