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 Summary
FieldsModifier and TypeFieldDescriptionstatic final NicTypeInRequestStatic value PrivateNic for NicTypeInRequest.static final NicTypeInRequestStatic value PublicNic for NicTypeInRequest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NicTypeInRequestfromString(String name) Creates or finds a NicTypeInRequest from its string representation.static Collection<NicTypeInRequest>values()Gets known NicTypeInRequest values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PUBLIC_NIC
Static value PublicNic for NicTypeInRequest. -
PRIVATE_NIC
Static value PrivateNic for NicTypeInRequest.
-
-
Constructor Details
-
NicTypeInRequest
Deprecated.Use thefromString(String)factory method.Creates a new instance of NicTypeInRequest value.
-
-
Method Details
-
fromString
Creates or finds a NicTypeInRequest from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding NicTypeInRequest.
-
values
Gets known NicTypeInRequest values.- Returns:
- known NicTypeInRequest values.
-
fromString(String)factory method.