Class NetworkInterfaceResourceNames
java.lang.Object
com.azure.resourcemanager.workloads.models.NetworkInterfaceResourceNames
The resource names object for network interface and related resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkInterfaceResourceNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the networkInterfaceName property: The full name for network interface.void
validate()
Validates the instance.withNetworkInterfaceName
(String networkInterfaceName) Set the networkInterfaceName property: The full name for network interface.
-
Constructor Details
-
NetworkInterfaceResourceNames
public NetworkInterfaceResourceNames()Creates an instance of NetworkInterfaceResourceNames class.
-
-
Method Details
-
networkInterfaceName
Get the networkInterfaceName property: The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.- Returns:
- the networkInterfaceName value.
-
withNetworkInterfaceName
Set the networkInterfaceName property: The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.- Parameters:
networkInterfaceName
- the networkInterfaceName value to set.- Returns:
- the NetworkInterfaceResourceNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-