Class ApplicationServerFullResourceNames
java.lang.Object
com.azure.resourcemanager.workloads.models.ApplicationServerFullResourceNames
The full resource names object for application layer resources. The number of entries in this list should be equal to
the number VMs to be created for application layer.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApplicationServerFullResourceNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the availabilitySetName property: The full name for availability set.void
validate()
Validates the instance.Get the virtualMachines property: The list of virtual machine naming details.withAvailabilitySetName
(String availabilitySetName) Set the availabilitySetName property: The full name for availability set.withVirtualMachines
(List<VirtualMachineResourceNames> virtualMachines) Set the virtualMachines property: The list of virtual machine naming details.
-
Constructor Details
-
ApplicationServerFullResourceNames
public ApplicationServerFullResourceNames()Creates an instance of ApplicationServerFullResourceNames class.
-
-
Method Details
-
virtualMachines
Get the virtualMachines property: The list of virtual machine naming details.- Returns:
- the virtualMachines value.
-
withVirtualMachines
public ApplicationServerFullResourceNames withVirtualMachines(List<VirtualMachineResourceNames> virtualMachines) Set the virtualMachines property: The list of virtual machine naming details.- Parameters:
virtualMachines
- the virtualMachines value to set.- Returns:
- the ApplicationServerFullResourceNames 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}-App-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}-App-AvSet.- Parameters:
availabilitySetName
- the availabilitySetName value to set.- Returns:
- the ApplicationServerFullResourceNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-