Class AddressUpdateAction
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AddressUpdateAction>
com.azure.resourcemanager.network.models.AddressUpdateAction
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AddressUpdateAction
extends com.azure.core.util.ExpandableStringEnum<AddressUpdateAction>
Specifies the type of update operation to perform on addresses within the address location of service gateway.
- FullUpdate: Replaces all existing address data with the new list provided in the request. Any previously defined
addresses not included will be removed.
- PartialUpdate: Updates only the specified addresses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AddressUpdateActionStatic value FullUpdate for AddressUpdateAction.static final AddressUpdateActionStatic value PartialUpdate for AddressUpdateAction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressUpdateActionfromString(String name) Creates or finds a AddressUpdateAction from its string representation.static Collection<AddressUpdateAction> values()Gets known AddressUpdateAction values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
FULL_UPDATE
Static value FullUpdate for AddressUpdateAction. -
PARTIAL_UPDATE
Static value PartialUpdate for AddressUpdateAction.
-
-
Constructor Details
-
AddressUpdateAction
Deprecated.Use thefromString(String)factory method.Creates a new instance of AddressUpdateAction value.
-
-
Method Details
-
fromString
Creates or finds a AddressUpdateAction from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AddressUpdateAction.
-
values
Gets known AddressUpdateAction values.- Returns:
- known AddressUpdateAction values.
-
fromString(String)factory method.