VirtualNetworkConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.imagebuilder.models.VirtualNetworkConfig

public final class VirtualNetworkConfig

Virtual Network configuration.

Constructor Summary

Constructor Description
VirtualNetworkConfig()

Creates an instance of VirtualNetworkConfig class.

Method Summary

Modifier and Type Method and Description
String proxyVmSize()

Get the proxyVmSize property: Size of the proxy virtual machine used to pass traffic to the build VM and validation VM.

String subnetId()

Get the subnetId property: Resource id of a pre-existing subnet.

void validate()

Validates the instance.

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.

VirtualNetworkConfig withSubnetId(String subnetId)

Set the subnetId property: Resource id of a pre-existing 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:

the proxyVmSize value.

subnetId

public String subnetId()

Get the subnetId property: Resource id of a pre-existing subnet.

Returns:

the subnetId value.

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:

proxyVmSize - the proxyVmSize value to set.

Returns:

the VirtualNetworkConfig object itself.

withSubnetId

public VirtualNetworkConfig withSubnetId(String subnetId)

Set the subnetId property: Resource id of a pre-existing subnet.

Parameters:

subnetId - the subnetId value to set.

Returns:

the VirtualNetworkConfig object itself.

Applies to