Class UpdateAction

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpdateAction>
com.azure.resourcemanager.network.models.UpdateAction
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UpdateAction extends com.azure.core.util.ExpandableStringEnum<UpdateAction>
Specifies the type of update operation to perform on address locations within the service gateway. - FullUpdate: Replaces all existing address location data with the new list provided in the request. Any previously defined locations not included will be removed. - PartialUpdate: Updates only the specified address locations.
  • Field Details

    • FULL_UPDATE

      public static final UpdateAction FULL_UPDATE
      Static value FullUpdate for UpdateAction.
    • PARTIAL_UPDATE

      public static final UpdateAction PARTIAL_UPDATE
      Static value PartialUpdate for UpdateAction.
  • Constructor Details

    • UpdateAction

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

    • fromString

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

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