PatchingMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appcontainers. models. PatchingMode
- com.
- com.
public final class PatchingMode
extends ExpandableStringEnum<PatchingMode>
Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Patching |
AUTOMATIC
Static value Automatic for Patching |
|
static final
Patching |
DISABLED
Static value Disabled for Patching |
|
static final
Patching |
MANUAL
Static value Manual for Patching |
Constructor Summary
| Constructor | Description |
|---|---|
| PatchingMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Patching |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Patching |
fromString(String name)
Creates or finds a Patching |
|
static
Collection<Patching |
values()
Gets known Patching |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC
public static final PatchingMode AUTOMATIC
Static value Automatic for PatchingMode.
DISABLED
public static final PatchingMode DISABLED
Static value Disabled for PatchingMode.
MANUAL
public static final PatchingMode MANUAL
Static value Manual for PatchingMode.
Constructor Details
PatchingMode
@Deprecated
public PatchingMode()
Deprecated
Creates a new instance of PatchingMode value.
Method Details
fromString
public static PatchingMode fromString(String name)
Creates or finds a PatchingMode from its string representation.
Parameters:
Returns:
values
public static Collection<PatchingMode> values()
Gets known PatchingMode values.
Returns: