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>

public final class DeleteOptions extends com.azure.core.util.ExpandableStringEnum<DeleteOptions>
Specify what happens to the public IP address when the VM using it is deleted.
  • Field Details

    • DELETE

      public static final DeleteOptions DELETE
      Static value Delete for DeleteOptions.
    • DETACH

      public static final DeleteOptions DETACH
      Static value Detach for DeleteOptions.
  • Constructor Details

    • DeleteOptions

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

    • fromString

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

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