Class CentralServerFullResourceNames
java.lang.Object
com.azure.resourcemanager.workloads.models.CentralServerFullResourceNames
The full resource names object for central server layer resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CentralServerFullResourceNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the availabilitySetName property: The full name for availability set.Get the loadBalancer property: The resource names object for load balancer and related resources.void
validate()
Validates the instance.Get the virtualMachines property: The list of names for all ASCS virtual machines to be deployed.withAvailabilitySetName
(String availabilitySetName) Set the availabilitySetName property: The full name for availability set.withLoadBalancer
(LoadBalancerResourceNames loadBalancer) Set the loadBalancer property: The resource names object for load balancer and related resources.withVirtualMachines
(List<VirtualMachineResourceNames> virtualMachines) Set the virtualMachines property: The list of names for all ASCS virtual machines to be deployed.
-
Constructor Details
-
CentralServerFullResourceNames
public CentralServerFullResourceNames()Creates an instance of CentralServerFullResourceNames class.
-
-
Method Details
-
virtualMachines
Get the virtualMachines property: The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.- Returns:
- the virtualMachines value.
-
withVirtualMachines
public CentralServerFullResourceNames withVirtualMachines(List<VirtualMachineResourceNames> virtualMachines) Set the virtualMachines property: The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.- Parameters:
virtualMachines
- the virtualMachines value to set.- Returns:
- the CentralServerFullResourceNames object itself.
-
availabilitySetName
Get the availabilitySetName property: The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.- Returns:
- the availabilitySetName value.
-
withAvailabilitySetName
Set the availabilitySetName property: The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.- Parameters:
availabilitySetName
- the availabilitySetName value to set.- Returns:
- the CentralServerFullResourceNames object itself.
-
loadBalancer
Get the loadBalancer property: The resource names object for load balancer and related resources.- Returns:
- the loadBalancer value.
-
withLoadBalancer
Set the loadBalancer property: The resource names object for load balancer and related resources.- Parameters:
loadBalancer
- the loadBalancer value to set.- Returns:
- the CentralServerFullResourceNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-