VirtualNetworkConfig Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. VirtualNetworkConfig
- com.
public final class VirtualNetworkConfig
Virtual Network configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkConfig() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
proxyVmSize()
Get the proxy |
| String |
subnetId()
Get the subnet |
| void |
validate()
Validates the instance. |
|
Virtual |
withProxyVmSize(String proxyVmSize)
Set the proxy |
|
Virtual |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkConfig
public VirtualNetworkConfig()
Creates an instance of VirtualNetworkConfig class.
Method Details
proxyVmSize
public String proxyVmSize()
Get the proxyVmSize property: Size of the proxy virtual machine used to pass traffic to the build VM and validation VM. Omit or specify empty string to use the default (Standard_A1_v2).
Returns:
subnetId
public String subnetId()
Get the subnetId property: Resource id of a pre-existing subnet.
Returns:
validate
public void validate()
Validates the instance.
withProxyVmSize
public VirtualNetworkConfig withProxyVmSize(String proxyVmSize)
Set the proxyVmSize property: Size of the proxy virtual machine used to pass traffic to the build VM and validation VM. Omit or specify empty string to use the default (Standard_A1_v2).
Parameters:
Returns:
withSubnetId
public VirtualNetworkConfig withSubnetId(String subnetId)
Set the subnetId property: Resource id of a pre-existing subnet.
Parameters:
Returns: