com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values
* are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.
* <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property
* provisionVMAgent must be true.
*/
public final class LinuxPatchAssessmentMode extends ExpandableStringEnum {
/**
* Static value ImageDefault for LinuxPatchAssessmentMode.
*/
public static final LinuxPatchAssessmentMode IMAGE_DEFAULT = fromString("ImageDefault");
/**
* Static value AutomaticByPlatform for LinuxPatchAssessmentMode.
*/
public static final LinuxPatchAssessmentMode AUTOMATIC_BY_PLATFORM = fromString("AutomaticByPlatform");
/**
* Creates a new instance of LinuxPatchAssessmentMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public LinuxPatchAssessmentMode() {
}
/**
* Creates or finds a LinuxPatchAssessmentMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding LinuxPatchAssessmentMode.
*/
public static LinuxPatchAssessmentMode fromString(String name) {
return fromString(name, LinuxPatchAssessmentMode.class);
}
/**
* Gets known LinuxPatchAssessmentMode values.
*
* @return known LinuxPatchAssessmentMode values.
*/
public static Collection values() {
return values(LinuxPatchAssessmentMode.class);
}
}