All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.hybridcompute.models.MachineInstallPatchesResult Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-05.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.hybridcompute.models;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineInstallPatchesResultInner;
import java.time.OffsetDateTime;

/**
 * An immutable client-side representation of MachineInstallPatchesResult.
 */
public interface MachineInstallPatchesResult {
    /**
     * Gets the status property: The overall success or failure status of the operation. It remains "InProgress" until
     * the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or
     * "CompletedWithWarnings.".
     * 
     * @return the status value.
     */
    PatchOperationStatus status();

    /**
     * Gets the installationActivityId property: The activity ID of the operation that produced this result.
     * 
     * @return the installationActivityId value.
     */
    String installationActivityId();

    /**
     * Gets the rebootStatus property: The reboot state of the VM following completion of the operation.
     * 
     * @return the rebootStatus value.
     */
    VMGuestPatchRebootStatus rebootStatus();

    /**
     * Gets the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its
     * intended actions.
     * 
     * @return the maintenanceWindowExceeded value.
     */
    Boolean maintenanceWindowExceeded();

    /**
     * Gets the excludedPatchCount property: The number of patches that were not installed due to the user blocking
     * their installation.
     * 
     * @return the excludedPatchCount value.
     */
    Integer excludedPatchCount();

    /**
     * Gets the notSelectedPatchCount property: The number of patches that were detected as available for install, but
     * did not meet the operation's criteria.
     * 
     * @return the notSelectedPatchCount value.
     */
    Integer notSelectedPatchCount();

    /**
     * Gets the pendingPatchCount property: The number of patches that were identified as meeting the installation
     * criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
     * 
     * @return the pendingPatchCount value.
     */
    Integer pendingPatchCount();

    /**
     * Gets the installedPatchCount property: The number of patches successfully installed.
     * 
     * @return the installedPatchCount value.
     */
    Integer installedPatchCount();

    /**
     * Gets the failedPatchCount property: The number of patches that could not be installed due to some issue. See
     * errors for details.
     * 
     * @return the failedPatchCount value.
     */
    Integer failedPatchCount();

    /**
     * Gets the startDateTime property: The UTC timestamp when the operation began.
     * 
     * @return the startDateTime value.
     */
    OffsetDateTime startDateTime();

    /**
     * Gets the lastModifiedDateTime property: The UTC timestamp when the operation finished.
     * 
     * @return the lastModifiedDateTime value.
     */
    OffsetDateTime lastModifiedDateTime();

    /**
     * Gets the startedBy property: Indicates if operation was triggered by user or by platform.
     * 
     * @return the startedBy value.
     */
    PatchOperationStartedBy startedBy();

    /**
     * Gets the patchServiceUsed property: Specifies the patch service used for the operation.
     * 
     * @return the patchServiceUsed value.
     */
    PatchServiceUsed patchServiceUsed();

    /**
     * Gets the osType property: The operating system type of the machine.
     * 
     * @return the osType value.
     */
    OsType osType();

    /**
     * Gets the errorDetails property: The errors that were encountered during execution of the operation. The details
     * array contains the list of them.
     * 
     * @return the errorDetails value.
     */
    ManagementError errorDetails();

    /**
     * Gets the inner com.azure.resourcemanager.hybridcompute.fluent.models.MachineInstallPatchesResultInner object.
     * 
     * @return the inner object.
     */
    MachineInstallPatchesResultInner innerModel();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy