PatchOperationStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. PatchOperationStatus
- com.
- com.
public final class PatchOperationStatus
extends ExpandableStringEnum<PatchOperationStatus>
The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.".
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Patch |
COMPLETED_WITH_WARNINGS
Static value Completed |
static final
Patch |
FAILED
Static value Failed for Patch |
static final
Patch |
IN_PROGRESS
Static value In |
static final
Patch |
SUCCEEDED
Static value Succeeded for Patch |
static final
Patch |
UNKNOWN
Static value Unknown for Patch |
Constructor Summary
Constructor | Description |
---|---|
PatchOperationStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Patch |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Patch |
fromString(String name)
Creates or finds a Patch |
static
Collection<Patch |
values()
Gets known Patch |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COMPLETED_WITH_WARNINGS
public static final PatchOperationStatus COMPLETED_WITH_WARNINGS
Static value CompletedWithWarnings for PatchOperationStatus.
FAILED
public static final PatchOperationStatus FAILED
Static value Failed for PatchOperationStatus.
IN_PROGRESS
public static final PatchOperationStatus IN_PROGRESS
Static value InProgress for PatchOperationStatus.
SUCCEEDED
public static final PatchOperationStatus SUCCEEDED
Static value Succeeded for PatchOperationStatus.
UNKNOWN
public static final PatchOperationStatus UNKNOWN
Static value Unknown for PatchOperationStatus.
Constructor Details
PatchOperationStatus
@Deprecated
public PatchOperationStatus()
Deprecated
Creates a new instance of PatchOperationStatus value.
Method Details
fromString
public static PatchOperationStatus fromString(String name)
Creates or finds a PatchOperationStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PatchOperationStatus values.
Returns:
Applies to
Azure SDK for Java