CloudServiceConfiguration Constructors

Definition

Overloads

CloudServiceConfiguration()

Default constructor to support mocking the CloudServiceConfiguration class.

CloudServiceConfiguration(String, String)

Initializes a new instance of the CloudServiceConfiguration class.

CloudServiceConfiguration()

Source:
CloudServiceConfiguration.cs

Default constructor to support mocking the CloudServiceConfiguration class.

protected CloudServiceConfiguration ();
Protected Sub New ()

Applies to

CloudServiceConfiguration(String, String)

Source:
CloudServiceConfiguration.cs

Initializes a new instance of the CloudServiceConfiguration class.

public CloudServiceConfiguration (string osFamily, string osVersion = default);
new Microsoft.Azure.Batch.CloudServiceConfiguration : string * string -> Microsoft.Azure.Batch.CloudServiceConfiguration
Public Sub New (osFamily As String, Optional osVersion As String = Nothing)

Parameters

osFamily
String

The Azure Guest OS family to be installed on the virtual machines in the pool.

osVersion
String

The Azure Guest OS version to be installed on the virtual machines in the pool. If no value is provided, the Batch service will default to "'*", which specifies the latest operating system version for the OSFamily.

Applies to