Class LabNetworkProfile

java.lang.Object
com.azure.resourcemanager.labservices.models.LabNetworkProfile

public final class LabNetworkProfile extends Object
Profile for how to handle networking for Labs.
  • Constructor Details

    • LabNetworkProfile

      public LabNetworkProfile()
  • Method Details

    • subnetId

      public String subnetId()
      Get the subnetId property: The external subnet resource id.
      Returns:
      the subnetId value.
    • withSubnetId

      public LabNetworkProfile withSubnetId(String subnetId)
      Set the subnetId property: The external subnet resource id.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the LabNetworkProfile object itself.
    • loadBalancerId

      public String loadBalancerId()
      Get the loadBalancerId property: The external load balancer resource id.
      Returns:
      the loadBalancerId value.
    • withLoadBalancerId

      public LabNetworkProfile withLoadBalancerId(String loadBalancerId)
      Set the loadBalancerId property: The external load balancer resource id.
      Parameters:
      loadBalancerId - the loadBalancerId value to set.
      Returns:
      the LabNetworkProfile object itself.
    • publicIpId

      public String publicIpId()
      Get the publicIpId property: The external public IP resource id.
      Returns:
      the publicIpId value.
    • withPublicIpId

      public LabNetworkProfile withPublicIpId(String publicIpId)
      Set the publicIpId property: The external public IP resource id.
      Parameters:
      publicIpId - the publicIpId value to set.
      Returns:
      the LabNetworkProfile object itself.
    • validate

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