com.azure.resourcemanager.hybridcompute.implementation.MachineInstallPatchesResultImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
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-07.
// 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.implementation;
import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineInstallPatchesResultInner;
import com.azure.resourcemanager.hybridcompute.models.MachineInstallPatchesResult;
import com.azure.resourcemanager.hybridcompute.models.OsType;
import com.azure.resourcemanager.hybridcompute.models.PatchOperationStartedBy;
import com.azure.resourcemanager.hybridcompute.models.PatchOperationStatus;
import com.azure.resourcemanager.hybridcompute.models.PatchServiceUsed;
import com.azure.resourcemanager.hybridcompute.models.VMGuestPatchRebootStatus;
import java.time.OffsetDateTime;
public final class MachineInstallPatchesResultImpl implements MachineInstallPatchesResult {
private MachineInstallPatchesResultInner innerObject;
private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;
MachineInstallPatchesResultImpl(MachineInstallPatchesResultInner innerObject,
com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public PatchOperationStatus status() {
return this.innerModel().status();
}
public String installationActivityId() {
return this.innerModel().installationActivityId();
}
public VMGuestPatchRebootStatus rebootStatus() {
return this.innerModel().rebootStatus();
}
public Boolean maintenanceWindowExceeded() {
return this.innerModel().maintenanceWindowExceeded();
}
public Integer excludedPatchCount() {
return this.innerModel().excludedPatchCount();
}
public Integer notSelectedPatchCount() {
return this.innerModel().notSelectedPatchCount();
}
public Integer pendingPatchCount() {
return this.innerModel().pendingPatchCount();
}
public Integer installedPatchCount() {
return this.innerModel().installedPatchCount();
}
public Integer failedPatchCount() {
return this.innerModel().failedPatchCount();
}
public OffsetDateTime startDateTime() {
return this.innerModel().startDateTime();
}
public OffsetDateTime lastModifiedDateTime() {
return this.innerModel().lastModifiedDateTime();
}
public PatchOperationStartedBy startedBy() {
return this.innerModel().startedBy();
}
public PatchServiceUsed patchServiceUsed() {
return this.innerModel().patchServiceUsed();
}
public OsType osType() {
return this.innerModel().osType();
}
public ManagementError errorDetails() {
return this.innerModel().errorDetails();
}
public MachineInstallPatchesResultInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.hybridcompute.HybridComputeManager manager() {
return this.serviceManager;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy