JobNetworkConfiguration Constructors

Definition

Overloads

JobNetworkConfiguration()

Default constructor to support mocking the JobNetworkConfiguration class.

JobNetworkConfiguration(String, Nullable<Boolean>)

Initializes a new instance of the JobNetworkConfiguration class.

JobNetworkConfiguration()

Source:
JobNetworkConfiguration.cs

Default constructor to support mocking the JobNetworkConfiguration class.

protected JobNetworkConfiguration ();
Protected Sub New ()

Applies to

JobNetworkConfiguration(String, Nullable<Boolean>)

Source:
JobNetworkConfiguration.cs

Initializes a new instance of the JobNetworkConfiguration class.

public JobNetworkConfiguration (string subnetId, bool? skipWithdrawFromVNet = default);
new Microsoft.Azure.Batch.JobNetworkConfiguration : string * Nullable<bool> -> Microsoft.Azure.Batch.JobNetworkConfiguration
Public Sub New (subnetId As String, Optional skipWithdrawFromVNet As Nullable(Of Boolean) = Nothing)

Parameters

subnetId
String

The ARM resource identifier of the virtual network subnet which nodes running tasks from the job will join for the duration of the task.

skipWithdrawFromVNet
Nullable<Boolean>

Gets or sets whether to withdraw Compute Nodes from the virtual network to DNC when the job is terminated or deleted.

Applies to