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