public class NetworkConfiguration extends Object
| Constructor and Description |
|---|
NetworkConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
PoolEndpointConfiguration |
endpointConfiguration()
Get pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property.
|
List<String> |
publicIPs()
Get the number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP.
|
String |
subnetId()
Get the virtual network must be in the same region and subscription as the Azure Batch account.
|
NetworkConfiguration |
withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)
Set pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property.
|
NetworkConfiguration |
withPublicIPs(List<String> publicIPs)
Set the number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP.
|
NetworkConfiguration |
withSubnetId(String subnetId)
Set the virtual network must be in the same region and subscription as the Azure Batch account.
|
public String subnetId()
public NetworkConfiguration withSubnetId(String subnetId)
subnetId - the subnetId value to setpublic PoolEndpointConfiguration endpointConfiguration()
public NetworkConfiguration withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)
endpointConfiguration - the endpointConfiguration value to setpublic List<String> publicIPs()
public NetworkConfiguration withPublicIPs(List<String> publicIPs)
publicIPs - the publicIPs value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/