Class VirtualNetworkConfig


  • public final class VirtualNetworkConfig
    extends Object
    Virtual Network configuration.
    • Constructor Detail

      • VirtualNetworkConfig

        public VirtualNetworkConfig()
    • Method Detail

      • subnetId

        public String subnetId()
        Get the subnetId property: Resource id of a pre-existing subnet.
        Returns:
        the subnetId value.
      • 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.
      • 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.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.