Class DeleteOptions
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DeleteOptions>
com.azure.resourcemanager.network.models.DeleteOptions
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Specify what happens to the public IP address when the VM using it is deleted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeleteOptionsStatic value Delete for DeleteOptions.static final DeleteOptionsStatic value Detach for DeleteOptions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteOptionsfromString(String name) Creates or finds a DeleteOptions from its string representation.static Collection<DeleteOptions> values()Gets known DeleteOptions values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DELETE
Static value Delete for DeleteOptions. -
DETACH
Static value Detach for DeleteOptions.
-
-
Constructor Details
-
DeleteOptions
Deprecated.Use thefromString(String)factory method.Creates a new instance of DeleteOptions value.
-
-
Method Details
-
fromString
Creates or finds a DeleteOptions from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DeleteOptions.
-
values
Gets known DeleteOptions values.- Returns:
- known DeleteOptions values.
-
fromString(String)factory method.