JobNetworkConfiguration Constructors
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.
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.
Gets or sets whether to withdraw Compute Nodes from the virtual network to DNC when the job is terminated or deleted.
Applies to
Azure SDK for .NET