CloudServiceConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.CloudServiceConfiguration

public class CloudServiceConfiguration

The configuration for nodes in a pool based on the Azure Cloud Services platform.

Constructor Summary

Constructor Description
CloudServiceConfiguration()

Method Summary

Modifier and Type Method and Description
java.lang.String osFamily()

Get possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1.

java.lang.String osVersion()

Get the default value is * which specifies the latest operating system version for the specified OS family.

CloudServiceConfiguration withOsFamily(String osFamily)

Set possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1.

CloudServiceConfiguration withOsVersion(String osVersion)

Set the default value is * which specifies the latest operating system version for the specified OS family.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CloudServiceConfiguration

public CloudServiceConfiguration()

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:

the osFamily value

osVersion

public String osVersion()

Get the default value is * which specifies the latest operating system version for the specified OS family.

Returns:

the osVersion value

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:

osFamily - the osFamily value to set

Returns:

the CloudServiceConfiguration object itself.

withOsVersion

public CloudServiceConfiguration withOsVersion(String osVersion)

Set the default value is * which specifies the latest operating system version for the specified OS family.

Parameters:

osVersion - the osVersion value to set

Returns:

the CloudServiceConfiguration object itself.

Applies to