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 virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
        Returns:
        the proxyVmSize value.
      • withProxyVmSize

        public VirtualNetworkConfig withProxyVmSize​(String proxyVmSize)
        Set the proxyVmSize property: Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
        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.