VirtualMachinePatchStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachinePatchStatus
- com.
Implements
public final class VirtualMachinePatchStatus
implements JsonSerializable<VirtualMachinePatchStatus>
The status of virtual machine patch operations.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachinePatchStatus() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Available |
availablePatchSummary()
Get the available |
List<Instance |
configurationStatuses()
Get the configuration |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Last |
lastPatchInstallationSummary()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withAvailablePatchSummary(AvailablePatchSummary availablePatchSummary)
Set the available |
Virtual |
withLastPatchInstallationSummary(LastPatchInstallationSummary lastPatchInstallationSummary)
Set the last |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachinePatchStatus
public VirtualMachinePatchStatus()
Creates an instance of VirtualMachinePatchStatus class.
Method Details
availablePatchSummary
public AvailablePatchSummary availablePatchSummary()
Get the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.
Returns:
configurationStatuses
public List
Get the configurationStatuses property: The enablement status of the specified patchMode.
Returns:
fromJson
public static VirtualMachinePatchStatus fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachinePatchStatus from the JsonReader.
Parameters:
Returns:
Throws:
lastPatchInstallationSummary
public LastPatchInstallationSummary lastPatchInstallationSummary()
Get the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailablePatchSummary
public VirtualMachinePatchStatus withAvailablePatchSummary(AvailablePatchSummary availablePatchSummary)
Set the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.
Parameters:
Returns:
withLastPatchInstallationSummary
public VirtualMachinePatchStatus withLastPatchInstallationSummary(LastPatchInstallationSummary lastPatchInstallationSummary)
Set the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java