CloudServiceConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. CloudServiceConfiguration
- com.
public class CloudServiceConfiguration
The configuration for nodes in a pool based on the Azure Cloud Services platform.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
osFamily()
Get 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). |
String |
osVersion()
Get the default value is * which specifies the latest operating system version for the specified OS family. |
Cloud |
withOsFamily(String osFamily)
Set 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). |
Cloud |
withOsVersion(String osVersion)
Set the default value is * which specifies the latest operating system version for the specified OS family. |
Method Details
osFamily
public String osFamily()
Get 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).
Returns:
osVersion
public String osVersion()
Get the default value is * which specifies the latest operating system version for the specified OS family.
Returns:
withOsFamily
public CloudServiceConfiguration withOsFamily(String osFamily)
Set 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).
Parameters:
Returns:
withOsVersion
public CloudServiceConfiguration withOsVersion(String osVersion)
Set the default value is * which specifies the latest operating system version for the specified OS family.
Parameters:
Returns:
Applies to
Azure SDK for Java