Class NetworkInterfaceResourceNames

java.lang.Object
com.azure.resourcemanager.workloads.models.NetworkInterfaceResourceNames

public final class NetworkInterfaceResourceNames extends Object
The resource names object for network interface and related resources.
  • Constructor Details

    • NetworkInterfaceResourceNames

      public NetworkInterfaceResourceNames()
      Creates an instance of NetworkInterfaceResourceNames class.
  • Method Details

    • networkInterfaceName

      public String 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

      public NetworkInterfaceResourceNames withNetworkInterfaceName(String networkInterfaceName)
      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.