Class LabNetworkProfile
java.lang.Object
com.azure.resourcemanager.labservices.models.LabNetworkProfile
Profile for how to handle networking for Labs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the loadBalancerId property: The external load balancer resource id.Get the publicIpId property: The external public IP resource id.subnetId()
Get the subnetId property: The external subnet resource id.void
validate()
Validates the instance.withLoadBalancerId
(String loadBalancerId) Set the loadBalancerId property: The external load balancer resource id.withPublicIpId
(String publicIpId) Set the publicIpId property: The external public IP resource id.withSubnetId
(String subnetId) Set the subnetId property: The external subnet resource id.
-
Constructor Details
-
LabNetworkProfile
public LabNetworkProfile()
-
-
Method Details
-
subnetId
Get the subnetId property: The external subnet resource id.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The external subnet resource id.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the LabNetworkProfile object itself.
-
loadBalancerId
Get the loadBalancerId property: The external load balancer resource id.- Returns:
- the loadBalancerId value.
-
withLoadBalancerId
Set the loadBalancerId property: The external load balancer resource id.- Parameters:
loadBalancerId
- the loadBalancerId value to set.- Returns:
- the LabNetworkProfile object itself.
-
publicIpId
Get the publicIpId property: The external public IP resource id.- Returns:
- the publicIpId value.
-
withPublicIpId
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.
-