Class NicTypeInRequest

java.lang.Object
com.azure.core.util.ExpandableStringEnum<NicTypeInRequest>
com.azure.resourcemanager.network.models.NicTypeInRequest

public final class NicTypeInRequest extends com.azure.core.util.ExpandableStringEnum<NicTypeInRequest>
NIC type. This should be either PublicNic or PrivateNic.
  • Field Details

    • PUBLIC_NIC

      public static final NicTypeInRequest PUBLIC_NIC
      Static value PublicNic for NicTypeInRequest.
    • PRIVATE_NIC

      public static final NicTypeInRequest PRIVATE_NIC
      Static value PrivateNic for NicTypeInRequest.
  • Constructor Details

    • NicTypeInRequest

      @Deprecated public NicTypeInRequest()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of NicTypeInRequest value.
  • Method Details

    • fromString

      public static NicTypeInRequest fromString(String name)
      Creates or finds a NicTypeInRequest from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding NicTypeInRequest.
    • values

      public static Collection<NicTypeInRequest> values()
      Gets known NicTypeInRequest values.
      Returns:
      known NicTypeInRequest values.