ReplicationMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. imagebuilder. models. ReplicationMode
- com.
- com.
public final class ReplicationMode
extends ExpandableStringEnum<ReplicationMode>
Describes replication mode for distribution in Azure Compute Gallery. Omit to use the default (Full).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Replication |
FULL
Full replication mode. |
|
static final
Replication |
SHALLOW
Shallow replication mode. |
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Replication |
fromString(String name)
Creates or finds a Replication |
|
static
Collection<Replication |
values()
Gets known Replication |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FULL
public static final ReplicationMode FULL
Full replication mode.
SHALLOW
public static final ReplicationMode SHALLOW
Shallow replication mode.
Constructor Details
ReplicationMode
@Deprecated
public ReplicationMode()
Deprecated
Creates a new instance of ReplicationMode value.
Method Details
fromString
public static ReplicationMode fromString(String name)
Creates or finds a ReplicationMode from its string representation.
Parameters:
Returns:
values
public static Collection<ReplicationMode> values()
Gets known ReplicationMode values.
Returns: