Class ImportMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ImportMode>
com.azure.resourcemanager.containerregistry.models.ImportMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the
operation before any copying begins.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ImportModeStatic value Force for ImportMode.static final ImportModeStatic value NoForce for ImportMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportModefromString(String name) Creates or finds a ImportMode from its string representation.static Collection<ImportMode> values()Gets known ImportMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NO_FORCE
Static value NoForce for ImportMode. -
FORCE
Static value Force for ImportMode.
-
-
Constructor Details
-
ImportMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of ImportMode value.
-
-
Method Details
-
fromString
Creates or finds a ImportMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ImportMode.
-
values
Gets known ImportMode values.- Returns:
- known ImportMode values.
-
fromString(String)factory method.