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.
|
PublicIPAddressConfiguration |
publicIPAddressConfiguration()
Get this property is only supported on Pools with the virtualMachineConfiguration property.
|
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 |
withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)
Set this property is only supported on Pools with the virtualMachineConfiguration property.
|
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 PublicIPAddressConfiguration publicIPAddressConfiguration()
public NetworkConfiguration withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)
publicIPAddressConfiguration - the publicIPAddressConfiguration 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.
*/